[virt-tools-list] Getting a segfault when trying to install SCO V on EL6.5 (worked before)

Digimer lists at alteeve.ca
Wed Oct 15 16:00:44 UTC 2014


Oh, this might be important:

an-c05n01:~# cat /shared/provision/vm05-sco5.sh
lvcreate -L 50GiB -n vm05-sco5_0 an-c05n01_vg0
virt-install --connect qemu:///system \
   --name vm05-sco5 \
   --virt-type qemu \
   --ram 4096 \
   --arch i686 \
   --vcpus 2 \
   --cdrom '/shared/files/Base_OS_Installation.iso' \
   --os-variant generic \
   --video vga \
   --network bridge=vbr2,model=pcnet \
   --disk path=/dev/an-c05n01_vg0/vm05-sco5_0,bus=ide \
   --graphics vnc,listen=0.0.0.0 --noautoconsole --wait -1

digimer

On 15/10/14 03:42 AM, Cole Robinson wrote:
> Very likely has to do with the 'kvm not available' bit, but of course it
> shouldn't segfault in that case.
>
> Anything interesting in 'dmesg | grep -i kvm' ?
>
> - Cole
>
> On 10/15/2014 07:49 AM, Digimer wrote:
>> Side note;
>>
>> I upgraded to RHEL 6.6 today and got the same segfault.
>>
>> digimer
>>
>> On 14/10/14 04:39 PM, Digimer wrote:
>>> Hi all,
>>>
>>>     I've installed SCO V a few times before on EL6.5 (both CentOS and
>>> RHEL proper). Today though, on CentOS 6.5, I've getting a segfault
>>> error. I was hoping someone here might have some insight. It's worth
>>> nothing that I successfully installed a CentOS 6.5 VM immediately after
>>> without issue. I also tried installing SCO on both nodes of a 2-node
>>> cluster, identically configured, and got a segfault on both machines.
>>>
>>>     I'm wondering if this is related:
>>>
>>> ====
>>> Tue, 14 Oct 2014 16:29:58 WARNING  KVM acceleration not available, using
>>> 'qemu'
>>> ====
>>>
>>>     As the virtualization extensions are enabled in the BIOS (emphasis
>>> mine):
>>>
>>> ====
>>> # egrep '(vmx|svm)' /proc/cpuinfo
>>> flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
>>> cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall
>>> nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good
>>> xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl
>>> **vmx** smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic
>>> popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm ida arat epb
>>> xsaveopt pln pts dts tpr_shadow vnmi flexpriority ept vpid fsgsbase smep
>>> erms
>>> ====
>>>
>>> Provision call:
>>>
>>> ====
>>> virt-install --connect qemu:///system \
>>>     --name vm01-sco5 \
>>>     --virt-type qemu \
>>>     --ram 4096 \
>>>     --arch i686 \
>>>     --vcpus 2 \
>>>     --cdrom '/shared/files/Base_OS_Installation.iso' \
>>>     --os-variant generic \
>>>     --video vga \
>>>     --network bridge=vbr2,model=pcnet \
>>>     --disk path=/dev/fea-c01n01_vg0/vm01-sco5_0,bus=ide \
>>>     --graphics vnc --debug
>>> ====
>>>
>>> Shell output:
>>>
>>> ====
>>> Tue, 14 Oct 2014 16:29:58 DEBUG    Launched with command line:
>>> /usr/sbin/virt-install --connect qemu:///system --name vm01-sco5
>>> --virt-type qemu --ram 4096 --arch i686 --vcpus 2 --cdrom
>>> /shared/files/Base_OS_Installation.iso --os-variant generic --video vga
>>> --network bridge=vbr2,model=pcnet --disk
>>> path=/dev/fea-c01n01_vg0/vm01-sco5_0,bus=ide --graphics vnc --debug
>>> Tue, 14 Oct 2014 16:29:58 DEBUG    Requesting libvirt URI qemu:///system
>>> Tue, 14 Oct 2014 16:29:58 DEBUG    Received libvirt URI qemu:///system
>>> Tue, 14 Oct 2014 16:29:58 DEBUG    Requesting virt method 'default', hv
>>> type 'qemu'.
>>> Tue, 14 Oct 2014 16:29:58 WARNING  KVM acceleration not available, using
>>> 'qemu'
>>> Tue, 14 Oct 2014 16:29:58 DEBUG    Received virt method 'hvm'
>>> Tue, 14 Oct 2014 16:29:58 DEBUG    Hypervisor name is 'qemu'
>>> Tue, 14 Oct 2014 16:29:58 DEBUG    Setting os type to 'other' for
>>> variant 'generic'
>>> Tue, 14 Oct 2014 16:29:58 DEBUG    DistroInstaller location is a local
>>> file/path: /shared/files/Base_OS_Installation.iso
>>> Tue, 14 Oct 2014 16:29:58 DEBUG    Guest.has_install_phase: True
>>>
>>> Starting install...
>>> Tue, 14 Oct 2014 16:29:58 DEBUG    Generated install XML:
>>> <domain type='qemu'>
>>>     <name>vm01-sco5</name>
>>>     <uuid>97eab5ff-5631-f733-93c5-975673b42b34</uuid>
>>>     <memory>4194304</memory>
>>>     <currentMemory>4194304</currentMemory>
>>>     <vcpu>2</vcpu>
>>>     <os>
>>>       <type arch='i686'>hvm</type>
>>>       <boot dev='cdrom'/>
>>>       <boot dev='hd'/>
>>>     </os>
>>>     <features>
>>>       <acpi/><apic/><pae/>
>>>     </features>
>>>     <clock offset="utc"/>
>>>     <on_poweroff>destroy</on_poweroff>
>>>     <on_reboot>destroy</on_reboot>
>>>     <on_crash>destroy</on_crash>
>>>     <devices>
>>>       <emulator>/usr/libexec/qemu-kvm</emulator>
>>>       <disk type='block' device='disk'>
>>>         <driver name='qemu' cache='none' io='native'/>
>>>         <source dev='/dev/fea-c01n01_vg0/vm01-sco5_0'/>
>>>         <target dev='hda' bus='ide'/>
>>>       </disk>
>>>       <disk type='file' device='cdrom'>
>>>         <driver name='qemu'/>
>>>         <source file='/shared/files/Base_OS_Installation.iso'/>
>>>         <target dev='hdc' bus='ide'/>
>>>         <readonly/>
>>>       </disk>
>>>       <interface type='bridge'>
>>>         <source bridge='vbr2'/>
>>>         <mac address='52:54:00:dc:39:71'/>
>>>         <model type='pcnet'/>
>>>       </interface>
>>>       <input type='mouse' bus='ps2'/>
>>>       <graphics type='vnc' port='-1'/>
>>>       <console type='pty'/>
>>>       <video>
>>>         <model type='vga'/>
>>>       </video>
>>>     </devices>
>>> </domain>
>>>
>>> Tue, 14 Oct 2014 16:29:58 DEBUG    Generated boot XML:
>>> <domain type='qemu'>
>>>     <name>vm01-sco5</name>
>>>     <uuid>97eab5ff-5631-f733-93c5-975673b42b34</uuid>
>>>     <memory>4194304</memory>
>>>     <currentMemory>4194304</currentMemory>
>>>     <vcpu>2</vcpu>
>>>     <os>
>>>       <type arch='i686'>hvm</type>
>>>       <boot dev='hd'/>
>>>     </os>
>>>     <features>
>>>       <acpi/><apic/><pae/>
>>>     </features>
>>>     <clock offset="utc"/>
>>>     <on_poweroff>destroy</on_poweroff>
>>>     <on_reboot>restart</on_reboot>
>>>     <on_crash>restart</on_crash>
>>>     <devices>
>>>       <emulator>/usr/libexec/qemu-kvm</emulator>
>>>       <disk type='block' device='disk'>
>>>         <driver name='qemu' cache='none' io='native'/>
>>>         <source dev='/dev/fea-c01n01_vg0/vm01-sco5_0'/>
>>>         <target dev='hda' bus='ide'/>
>>>       </disk>
>>>       <disk type='block' device='cdrom'>
>>>         <target dev='hdc' bus='ide'/>
>>>         <readonly/>
>>>       </disk>
>>>       <interface type='bridge'>
>>>         <source bridge='vbr2'/>
>>>         <mac address='52:54:00:dc:39:71'/>
>>>         <model type='pcnet'/>
>>>       </interface>
>>>       <input type='mouse' bus='ps2'/>
>>>       <graphics type='vnc' port='-1'/>
>>>       <console type='pty'/>
>>>       <video>
>>>         <model type='vga'/>
>>>       </video>
>>>     </devices>
>>> </domain>
>>>
>>> Creating domain...                |    0 B     00:00
>>> Tue, 14 Oct 2014 16:29:59 DEBUG    Started guest, connecting to console
>>> if requested
>>> Tue, 14 Oct 2014 16:29:59 DEBUG    Launching virt-viewer for graphics
>>> type 'vnc'
>>> Tue, 14 Oct 2014 16:29:59 DEBUG    Running: /usr/bin/virt-viewer
>>> --connect qemu:///system --wait 2
>>> Cannot open display:
>>> Run 'virt-viewer --help' to see a full list of available command line
>>> options
>>> Tue, 14 Oct 2014 16:29:59 DEBUG    XML fetched from libvirt object:
>>> <domain type='qemu'>
>>>     <name>vm01-sco5</name>
>>>     <uuid>97eab5ff-5631-f733-93c5-975673b42b34</uuid>
>>>     <memory unit='KiB'>4194304</memory>
>>>     <currentMemory unit='KiB'>4194304</currentMemory>
>>>     <vcpu placement='static'>2</vcpu>
>>>     <os>
>>>       <type arch='i686' machine='rhel6.5.0'>hvm</type>
>>>       <boot dev='hd'/>
>>>     </os>
>>>     <features>
>>>       <acpi/>
>>>       <apic/>
>>>       <pae/>
>>>     </features>
>>>     <clock offset='utc'/>
>>>     <on_poweroff>destroy</on_poweroff>
>>>     <on_reboot>restart</on_reboot>
>>>     <on_crash>restart</on_crash>
>>>     <devices>
>>>       <emulator>/usr/libexec/qemu-kvm</emulator>
>>>       <disk type='block' device='disk'>
>>>         <driver name='qemu' type='raw' cache='none' io='native'/>
>>>         <source dev='/dev/fea-c01n01_vg0/vm01-sco5_0'/>
>>>         <target dev='hda' bus='ide'/>
>>>         <address type='drive' controller='0' bus='0' target='0' unit='0'/>
>>>       </disk>
>>>       <disk type='block' device='cdrom'>
>>>         <driver name='qemu' type='raw'/>
>>>         <target dev='hdc' bus='ide'/>
>>>         <readonly/>
>>>         <address type='drive' controller='0' bus='1' target='0' unit='0'/>
>>>       </disk>
>>>       <controller type='usb' index='0'>
>>>         <address type='pci' domain='0x0000' bus='0x00' slot='0x01'
>>> function='0x2'/>
>>>       </controller>
>>>       <controller type='ide' index='0'>
>>>         <address type='pci' domain='0x0000' bus='0x00' slot='0x01'
>>> function='0x1'/>
>>>       </controller>
>>>       <interface type='bridge'>
>>>         <mac address='52:54:00:dc:39:71'/>
>>>         <source bridge='vbr2'/>
>>>         <model type='pcnet'/>
>>>         <address type='pci' domain='0x0000' bus='0x00' slot='0x03'
>>> function='0x0'/>
>>>       </interface>
>>>       <serial type='pty'>
>>>         <target port='0'/>
>>>       </serial>
>>>       <console type='pty'>
>>>         <target type='serial' port='0'/>
>>>       </console>
>>>       <input type='mouse' bus='ps2'/>
>>>       <graphics type='vnc' port='-1' autoport='yes'/>
>>>       <video>
>>>         <model type='vga' vram='9216' heads='1'/>
>>>         <address type='pci' domain='0x0000' bus='0x00' slot='0x02'
>>> function='0x0'/>
>>>       </video>
>>>       <memballoon model='virtio'>
>>>         <address type='pci' domain='0x0000' bus='0x00' slot='0x04'
>>> function='0x0'/>
>>>       </memballoon>
>>>     </devices>
>>> </domain>
>>>
>>> Tue, 14 Oct 2014 16:30:00 DEBUG    Domain installation does not appear
>>> to have been successful.
>>> If it was, you can restart your domain by running:
>>>     virsh --connect qemu:///system start vm01-sco5
>>> otherwise, please restart your installation.
>>> Domain installation does not appear to have been successful.
>>> If it was, you can restart your domain by running:
>>>     virsh --connect qemu:///system start vm01-sco5
>>> otherwise, please restart your installation.
>>> ====
>>>
>>> Syslog:
>>>
>>> ====
>>> Oct 14 16:29:58 fea-c01n01 kernel: device vnet0 entered promiscuous mode
>>> Oct 14 16:29:58 fea-c01n01 kernel: vbr2: port 2(vnet0) entering
>>> forwarding state
>>> Oct 14 16:29:59 fea-c01n01 kernel: qemu-kvm[11592]: segfault at 0 ip
>>> 00007f6ebd5d7648 sp 00007fff40f690b0 error 4 in
>>> qemu-kvm[7f6ebd485000+2c2000]
>>> Oct 14 16:29:59 fea-c01n01 abrt[11616]: Can't read /proc/11592/exe link
>>> Oct 14 16:29:59 fea-c01n01 kernel: vbr2: port 2(vnet0) entering disabled
>>> state
>>> Oct 14 16:29:59 fea-c01n01 kernel: device vnet0 left promiscuous mode
>>> Oct 14 16:29:59 fea-c01n01 kernel: vbr2: port 2(vnet0) entering disabled
>>> state
>>> ====
>>>
>>> Versions:
>>>
>>> ====
>>> # uname -r
>>> 2.6.32-431.29.2.el6.x86_64
>>>
>>> gpxe-roms-qemu.noarch        0.9.7-6.10.el6              @base
>>> libvirt.x86_64               0.10.2-29.el6_5.12          @updates
>>> libvirt-client.x86_64        0.10.2-29.el6_5.12          @updates
>>> libvirt-python.x86_64        0.10.2-29.el6_5.12          @updates
>>> python-virtinst.noarch       0.600.0-18.el6              @base
>>> qemu-img.x86_64              2:0.12.1.2-2.415.el6_5.14   @updates
>>> qemu-kvm.x86_64              2:0.12.1.2-2.415.el6_5.14   @updates
>>> qemu-kvm-tools.x86_64        2:0.12.1.2-2.415.el6_5.14   @updates
>>> virt-viewer.x86_64           0.5.6-8.el6_5.3             @updates
>>> virt-what.x86_64             1.11-1.2.el6                @CentOS 6/6.5
>>> ====
>>>
>>> Thanks for any help or insights!
>>>
>>
>>
>


-- 
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without 
access to education?




More information about the virt-tools-list mailing list