[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:01 UTC 2014


Not really;

an-c05n01:~# dmesg |grep -i kvm
kvm: VM_EXIT_LOAD_IA32_PERF_GLOBAL_CTRL does not work properly. Using 
workaround

an-c05n01:~# /shared/provision/vm05-sco5.sh
   Logical volume "vm05-sco5_0" created
WARNING  KVM acceleration not available, using 'qemu'

Starting install...
Creating domain... 
                |    0 B     00:00
Domain installation still in progress. Waiting for installation to complete.
Domain has shutdown. Continuing.
Domain installation does not appear to have been successful.
If it was, you can restart your domain by running:
   virsh --connect qemu:///system start vm05-sco5
otherwise, please restart your installation.

an-c05n01:~# virsh list --all
  Id    Name                           State
----------------------------------------------------
  -     vm05-sco5                      shut off

an-c05n01:~# dmesg |grep -i kvm
kvm: VM_EXIT_LOAD_IA32_PERF_GLOBAL_CTRL does not work properly. Using 
workaround
qemu-kvm[5880]: segfault at 0 ip 00007f96b0d38aa8 sp 00007fff1fd8df30 
error 4 in qemu-kvm[7f96b0bd8000+2d7000]

The new 'qemu-kvm' line matches the same entry in /var/log/messages:

Oct 15 11:53:47 an-c05n01 kernel: device vnet0 entered promiscuous mode
Oct 15 11:53:47 an-c05n01 kernel: vbr2: port 2(vnet0) entering 
forwarding state
Oct 15 11:53:47 an-c05n01 kernel: qemu-kvm[5880]: segfault at 0 ip 
00007f96b0d38aa8 sp 00007fff1fd8df30 error 4 in 
qemu-kvm[7f96b0bd8000+2d7000]
Oct 15 11:53:50 an-c05n01 ntpd[2554]: Listen normally on 11 vnet0 
fe80::fc54:ff:fee2:da72 UDP 123
Oct 15 11:53:50 an-c05n01 ntpd[2554]: peers refreshed
Oct 15 11:53:55 an-c05n01 abrtd: Directory 
'ccpp-2014-10-15-11:53:47-5880' creation detected
Oct 15 11:53:55 an-c05n01 abrt[5919]: Saved core dump of pid 5880 
(/usr/libexec/qemu-kvm) to /var/spool/abrt/ccpp-2014-10-15-11:53:47-5880 
(6038298624 bytes)
Oct 15 11:53:55 an-c05n01 abrt[5919]: /var/spool/abrt is 12078360365 
bytes (more than 1279MiB), deleting 'ccpp-2014-10-15-01:48:13-18855'
Oct 15 11:53:55 an-c05n01 kernel: vbr2: port 2(vnet0) entering disabled 
state
Oct 15 11:53:55 an-c05n01 kernel: device vnet0 left promiscuous mode
Oct 15 11:53:55 an-c05n01 kernel: vbr2: port 2(vnet0) entering disabled 
state
Oct 15 11:53:56 an-c05n01 ntpd[2554]: Deleting interface #11 vnet0, 
fe80::fc54:ff:fee2:da72#123, interface stats: received=0, sent=0, 
dropped=0, active_time=6 secs
Oct 15 11:53:56 an-c05n01 ntpd[2554]: peers refreshed
Oct 15 11:54:37 an-c05n01 abrtd: New problem directory 
/var/spool/abrt/ccpp-2014-10-15-11:53:47-5880, processing
Oct 15 11:54:37 an-c05n01 abrtd: Sending an email...
Oct 15 11:54:37 an-c05n01 abrtd: Email was sent to: root at localhost

If you're interested, here is the dump:

https://alteeve.ca/files/SCO_ccpp-abrt.tar.bz2

Thanks for any help you can provide!

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