kvm[14289]: segfault at 7fffced77688 ip 000000000041b264 sp 00007fffce552100 error 6

softlion

Active Member
Dec 10, 2009
63
0
26
On one server, when accessing my vm using RealVNC vncviewer, the vm stops abruptely.
The vm is a Windows 2008 R2 server.
Another vm on the same server has the same bug.

kvm[14289]: segfault at 7fffced77688 ip 000000000041b264 sp 00007fffce552100 error 6 in kvm[400000+28a000]

Any fix for this ?
Any component i can upgrade ?

# pveversion -v
pve-manager: 1.7-10 (pve-manager/1.7/5323)
running kernel: 2.6.35-1-pve
proxmox-ve-2.6.35: 1.7-9
pve-kernel-2.6.32-3-pve: 2.6.32-18
pve-kernel-2.6.32-4-pve: 2.6.32-30
pve-kernel-2.6.35-1-pve: 2.6.35-9
qemu-server: 1.1-28
pve-firmware: 1.0-10
libpve-storage-perl: 1.0-16
vncterm: 0.9-2
vzctl: 3.0.24-1pve4
vzdump: 1.2-10
vzprocps: 2.0.11-1dso2
vzquota: 3.0.11-1dso1
pve-qemu-kvm: 0.13.0-3
ksm-control-daemon: 1.0-4


# cat /etc/qemu-server/205.conf
name: ddosql200
ide2: local:iso/xxxx,media=cdrom
bootdisk: virtio0
ostype: w2k8
memory: 5120
onboot: 1
sockets: 1
vlan10: virtio=xx:xx:xx:xx:xx:xx
cores: 3
virtio0: local:205/vm-205-disk-1.qcow2
boot: cd
freeze: 0
cpuunits: 1000
acpi: 1
kvm: 1
 
Re: kvm[14289]: segfault at 7fffced77688 ip 000000000041b264 sp 00007fffce552100 erro

Hi,

use e1000 as nic and update with the latest intel e1000-drivers. It will be fixed.
 
Re: kvm[14289]: segfault at 7fffced77688 ip 000000000041b264 sp 00007fffce552100 erro

Thanks for the tip.
 
Re: kvm[14289]: segfault at 7fffced77688 ip 000000000041b264 sp 00007fffce552100 erro

When trying to install latest e1000 drivers I have the error:

"Cannot install drivers. No Intel(R) Adapters are present in this computer.".

Device manager shows "Intel Pro/1000 MT Network connection"

...
 
Re: kvm[14289]: segfault at 7fffced77688 ip 000000000041b264 sp 00007fffce552100 erro

Of course, you have to recreate the nick of e1000 type, not virtio, from proxmox web interface. If you want you can take note of the mac address and recreate it with the same. You could also add a e1000 nic as second nic, leaving virtion one (again from web interface), and from win2008 deactivate virtio and activare/use the new e1000 one. Is fundamental that you download and use latest drivers from intel site, not the ones that come with win2008.
I've got the habbit of install Win VM with 3 different nics, e1000, virtio and basic realtek, and use only e1000. This way I can change nic in case I have to experiment without risk of triggering the "genuine advantage" ri-registration trap/hell.
Unfortunately many people, me included, have many/strange issue with virtio, don't know if they have some bug or is a matter of change default parameter settings.
 
Re: kvm[14289]: segfault at 7fffced77688 ip 000000000041b264 sp 00007fffce552100 erro

Of course it is what i have done i am no noob :p
=> e1000 with same mac.
The intel drivers refuse to install with the above message.
It seems Intel protected their drivers.
Or i am missing something.

With the original windows 2008 intel drivers the same symptom appeared. As soon as a vnc connection is made the VM crashes.
 
Re: kvm[14289]: segfault at 7fffced77688 ip 000000000041b264 sp 00007fffce552100 erro

AFAIK Intel does not provide e1000 drivers for win2008r2 - the integrated drivers are known to work with KVM.

I will try to reproduce your issue here, can you guide me in order to got the same setup in our lab?
 
Re: kvm[14289]: segfault at 7fffced77688 ip 000000000041b264 sp 00007fffce552100 erro

>I will try to reproduce your issue here, can you guide me in order to got the same setup in our lab?

Yep.
What do you need ?

vnc client: realVnc free version
vm: 2008R2 standard (x2) + 2008R2 web (x2)
network: 2 network cards per vm (virtio or e1000 same bug), one on vmbr0, one on vmbr10 (vmbr10 is a self created bridge on the same model as vmbr1).

side note: if i add a 3rd network card on vmbr0 with a new public ip the vm looses access to all networks and is only reachable by vnc.

side note 2: if i activate balloon driver in xxx.conf for a VM and this vm has 3 virtual hard drives, the 3rd hard drive diseappears from inside the vm.

I'll pm you my email address.
 
Re: kvm[14289]: segfault at 7fffced77688 ip 000000000041b264 sp 00007fffce552100 erro

if you connect via VNC, you also need a VNC server. which one? please give simple and complete instructions.
 
Re: kvm[14289]: segfault at 7fffced77688 ip 000000000041b264 sp 00007fffce552100 erro

VNC server is included in QEMU.
Just configure inetd on the host to reach it:

cat /etc/inetd.conf
...
8000 stream tcp nowait root /usr/sbin/qm qm vncproxy 100 yourVncPassword


where 100 is the vm id and 8000 is the port to use.
The vnc address is host:8000 and password yourVncPassword.
 
Re: kvm[14289]: segfault at 7fffced77688 ip 000000000041b264 sp 00007fffce552100 erro

any issues if you use the Proxmox VE console? (the browser based java viewer)
 
Re: kvm[14289]: segfault at 7fffced77688 ip 000000000041b264 sp 00007fffce552100 erro

With the java based console i don't know how to "see" the screen so i don't use it.
There is only a command line based interface which seems to work ok.
 
Re: kvm[14289]: segfault at 7fffced77688 ip 000000000041b264 sp 00007fffce552100 erro

take a look on the video how to launch the VNC console - http://pve.proxmox.com/wiki/Windows_2003_Server_on_KVM_(Video)

you just need to make sure that you have the sun-java browser plugin. On windows, just visit java.com, on Linux desktop install the sun-java6-plugin for your browser to make it work (and remove icedtea6-plugin)
 
Re: kvm[14289]: segfault at 7fffced77688 ip 000000000041b264 sp 00007fffce552100 erro

The java vnc console is working ok.
Seems faster than realVnc. But there are annoying scroll bars (using Chrome).
 
Re: kvm[14289]: segfault at 7fffced77688 ip 000000000041b264 sp 00007fffce552100 erro

For the moment, firefox and IE are the best browsers for Proxmox VE, the upcoming versions will work also with Chrome (and others)
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!