[Bug 776936] Re: Running KVM guest causes kernel panic on host
Good news! kernel from proposed repositories works. It didn't crash overnight in bridge mode. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu. https://bugs.launchpad.net/bugs/776936 Title: Running KVM guest causes kernel panic on host -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 776936] Re: Running KVM guest causes kernel panic on host
Today I noticed that although I removed the membaloon it didn't stick (possibly due to panic not syncing the file). I removed once again membaloon and started the guest with little bit better results. The system does not freeze immediately, but it leaves a lot of oopses in the syslog/dmesg. I am attaching these oopses. The highlight of the oopses is BUG: unable to handle kernel paging request at. I am going to try kvm in NAT mode (btw how do I do that?) and see if this is happening still. ** Attachment added: messages https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/776936/+attachment/2124149/+files/messages -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu. https://bugs.launchpad.net/bugs/776936 Title: Running KVM guest causes kernel panic on host -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 776936] Re: Running KVM guest causes kernel panic on host
In nat mode it does not panic. Having virtual machine in nat mode is piss poor, especially when the network performance in nat mode is very unreliable (perhaps issue with MTU? apt-get install gets stuck on 0% [Waiting for headers], wget google.com also hangs, while I can ping everything fine), another issue is I have to port forward and deal will all associated nightmare. I am seriously considering moving to physical box, or ditch ubuntu, install debian and go with xen... I need this box in bridge mode (it is a virtual server after all). -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu. https://bugs.launchpad.net/bugs/776936 Title: Running KVM guest causes kernel panic on host -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 776936] Re: Running KVM guest causes kernel panic on host
Yes, membalooning is enabled right now: domain type='kvm' namedeluge/name uuidde900b25-6dc3-cfd6-4fb1-55c6f9755b00/uuid memory524288/memory currentMemory524288/currentMemory vcpu1/vcpu os type arch='i686' machine='pc-0.14'hvm/type boot dev='hd'/ /os features acpi/ /features clock offset='utc'/ on_poweroffdestroy/on_poweroff on_rebootrestart/on_reboot on_crashdestroy/on_crash devices emulator/usr/bin/kvm/emulator disk type='file' device='disk' driver name='qemu' type='qcow2'/ source file='/var/lib/libvirt/images/deluge.qcow2'/ target dev='hda' bus='ide'/ address type='drive' controller='0' bus='0' unit='0'/ /disk controller type='ide' index='0' address type='pci' domain='0x' bus='0x00' slot='0x01' function='0x1'/ /controller interface type='network' mac address='52:54:00:3b:08:03'/ source network='default'/ address type='pci' domain='0x' bus='0x00' slot='0x05' 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' listen='127.0.0.1'/ video model type='cirrus' vram='9216' heads='1'/ address type='pci' domain='0x' bus='0x00' slot='0x02' function='0x0'/ /video memballoon model='virtio' address type='pci' domain='0x' bus='0x00' slot='0x04' function='0x0'/ /memballoon /devices /domain and network: network namedefault/name uuid19ff9987-5265-ac1c-4ae2-eda8e280afa4/uuid forward mode='nat'/ bridge name='virbr0' stp='on'
[Bug 776936] Re: Running KVM guest causes kernel panic on host
This problem looks very similar to this: http://www.spinics.net/lists /linux-net/msg17690.html -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu. https://bugs.launchpad.net/bugs/776936 Title: Running KVM guest causes kernel panic on host -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
Re: [Bug 776936] Re: Running KVM guest causes kernel panic on host
Hi, here is the iptables-save output: *filter :INPUT DROP [992:148145] :FORWARD ACCEPT [24:1496] :OUTPUT ACCEPT [215528:64537610] -A INPUT -i lo -j ACCEPT -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT -A INPUT -s 192.168.1.0/24 -j ACCEPT -A INPUT -p tcp -m tcp --dport 22 -m state --state NEW -m limit --limit 1/min -j ACCEPT -A INPUT -p tcp -m tcp --dport 22 -m state --state NEW -m limit --limit 1/min -j LOG --log-prefix rate-limited SSH: -A INPUT -p tcp -m tcp --dport 22 -m state --state NEW -j REJECT --reject-with icmp-port-unreachable -A INPUT ! -s 192.168.1.0/24 -p udp -m udp --dport 53 -j DROP -A FORWARD -i eth1 -o tun0 -j ACCEPT -A FORWARD -i br0 -o tun0 -j ACCEPT -A FORWARD -i eth1 -s 192.168.1.0/24 -m conntrack --ctstate NEW -j ACCEPT -A FORWARD -i br0 -s 192.168.1.0/24 -m conntrack --ctstate NEW -j ACCEPT -A FORWARD -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT COMMIT *nat :PREROUTING ACCEPT [1920:290675] :POSTROUTING ACCEPT [16622:1247968] :OUTPUT ACCEPT [16618:1247716] -A POSTROUTING -j MASQUERADE COMMIT *mangle :PREROUTING ACCEPT [171074:67106601] :INPUT ACCEPT [169741:66910030] :FORWARD ACCEPT [24:1496] :OUTPUT ACCEPT [215528:64537610] :POSTROUTING ACCEPT [215565:64541384] COMMIT On 11 May 2011 10:29, Serge Hallyn 776...@bugs.launchpad.net wrote: Can you append whatever script you use to set up the iptables rules, so I can as closely as possible emulate? -- You received this bug notification because you are a direct subscriber of the bug. https://bugs.launchpad.net/bugs/776936 Title: Running KVM guest causes kernel panic on host Status in “linux” package in Ubuntu: New Status in “qemu-kvm” package in Ubuntu: New Bug description: Binary package hint: qemu-kvm as per http://ubuntuforums.org/showthread.php?p=10766552#post10766552 Host machine Ubuntu Natty server 2.6.38-8-generic i686 Guest machine Ubuntu Natty server 2.6.38-8-generic i686 Panic occurs in range of minutes to hours of uptime. It is load independent. To unsubscribe from this bug, go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/776936/+subscribe -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu. https://bugs.launchpad.net/bugs/776936 Title: Running KVM guest causes kernel panic on host -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 776936] Re: Running KVM guest causes kernel panic on host
One thing I noticed that kernel panic comes much faster if there is network activity on the guest. Although I might be wrong... Anything else I could do? I will try to run guest without any network activity and see if it is panics. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu. https://bugs.launchpad.net/bugs/776936 Title: Running KVM guest causes kernel panic on host -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 776936] Re: Running KVM guest causes kernel panic on host
** Attachment added: apport report https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/776936/+attachment/2113781/+files/apport.qemu-kvm.GeDpUE.apport -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu. https://bugs.launchpad.net/bugs/776936 Title: Running KVM guest causes kernel panic on host -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 776936] Re: Running KVM guest causes kernel panic on host
I ran it while I was watch 'dmesg | tail' and caught glimpse of this: [91476.783713] [c142fdd0] ? __netif_receive_skb+0x180/0x4e0 [91476.785510] [c14301c2] ? process_backlog+0x92/0x160 [91476.787300] [c14319bd] ? net_rx_action+0x10d/0x200 [91476.789093] [c1056622] ? __do_softirq+0x82/0x170 [91476.790892] [c10565a0] ? __do_softirq+0x0/0x170 [91476.792808] IRQ [c1431d38] ? netif_rx_ni+0x28/0x30 [91476.794925] [c13987fd] ? tun_chr_aio_write+0x23d/0x4b0 [91476.797021] [c13985c0] ? tun_chr_aio_write+0x0/0x4b0 [91476.799036] [c1127676] ? do_sync_readv_writev+0xa6/0xe0 [91476.800995] [c11278a0] ? do_readv_writev+0xa0/0x190 It still panics after I deleted membaloon (and redefined the config) and disabled the KSM. I can only afford to experiment once a day, as I don't want for it to panic during resync for obvious reasons. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu. https://bugs.launchpad.net/bugs/776936 Title: Running KVM guest causes kernel panic on host -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 776936] Re: Running KVM guest causes kernel panic on host
Highlights of this panic is: Kernel panic - not syncing: Fatal exception in interrupt ** Attachment added: another panic https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/776936/+attachment/2113916/+files/kvm_panic_002.jpg -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu. https://bugs.launchpad.net/bugs/776936 Title: Running KVM guest causes kernel panic on host -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 776936] Re: Running KVM guest causes kernel panic on host
brctl show bridge name bridge id STP enabled interfaces br0 8000.00270e160ec4 no eth1 ip link 1: lo: LOOPBACK,UP,LOWER_UP mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: eth1: BROADCAST,MULTICAST,UP,LOWER_UP mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 00:27:0e:16:0e:c4 brd ff:ff:ff:ff:ff:ff 3: br0: BROADCAST,MULTICAST,UP,LOWER_UP mtu 1500 qdisc noqueue state UNKNOWN link/ether 00:27:0e:16:0e:c4 brd ff:ff:ff:ff:ff:ff 6: tap0: BROADCAST,MULTICAST,UP,LOWER_UP mtu 1000 qdisc pfifo_fast state UNKNOWN qlen 100 link/ether 06:fc:dc:4a:a4:cb brd ff:ff:ff:ff:ff:ff ufw status Status: inactive iptables -L Chain INPUT (policy DROP) target prot opt source destination ACCEPT all -- anywhere anywhere ACCEPT all -- anywhere anywherestate RELATED,ESTABLISHED ACCEPT all -- 192.168.1.0/24 anywhere ACCEPT tcp -- anywhere anywheretcp dpt:ssh state NEW limit: avg 1/min burst 5 LOGtcp -- anywhere anywheretcp dpt:ssh state NEW limit: avg 1/min burst 5 LOG level warning prefix `rate-limited SSH: ' REJECT tcp -- anywhere anywheretcp dpt:ssh state NEW reject-with icmp-port-unreachable DROP udp -- !192.168.1.0/24 anywhereudp dpt:domain Chain FORWARD (policy ACCEPT) target prot opt source destination ACCEPT all -- anywhere anywhere ACCEPT all -- anywhere anywhere ACCEPT all -- 192.168.1.0/24 anywherectstate NEW ACCEPT all -- 192.168.1.0/24 anywherectstate NEW ACCEPT all -- anywhere anywherectstate RELATED,ESTABLISHED Chain OUTPUT (policy ACCEPT) target prot opt source destination iptables -t nat -L Chain PREROUTING (policy ACCEPT) target prot opt source destination Chain INPUT (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination Chain POSTROUTING (policy ACCEPT) target prot opt source destination MASQUERADE all -- anywhere anywhere -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu. https://bugs.launchpad.net/bugs/776936 Title: Running KVM guest causes kernel panic on host -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 776936] [NEW] Running KVM guest causes kernel panic on host
Public bug reported: Binary package hint: qemu-kvm as per http://ubuntuforums.org/showthread.php?p=10766552#post10766552 Host machine Ubuntu Natty server 2.6.38-8-generic i686 Guest machine Ubuntu Natty server 2.6.38-8-generic i686 Panic occurs in range of minutes to hours of uptime. It is load independent. ** Affects: qemu-kvm (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu. https://bugs.launchpad.net/bugs/776936 Title: Running KVM guest causes kernel panic on host -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 776936] Re: Running KVM guest causes kernel panic on host
** Attachment added: dmesg (host) https://bugs.launchpad.net/bugs/776936/+attachment/2111282/+files/dmesg.host.txt -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu. https://bugs.launchpad.net/bugs/776936 Title: Running KVM guest causes kernel panic on host -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 776936] Re: Running KVM guest causes kernel panic on host
** Attachment added: panic screen https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/776936/+attachment/2111283/+files/kvm_panic.jpg -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu. https://bugs.launchpad.net/bugs/776936 Title: Running KVM guest causes kernel panic on host -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 776936] Re: Running KVM guest causes kernel panic on host
I am trying to apport-collect 776936 and I get the text mode browser in terminal, I login and allow access, then what? Little bit confusing, and I could not find the non-disruptive way to exit the apport-collect except ctrl+z and kill. I am not sure if it even did anything. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu. https://bugs.launchpad.net/bugs/776936 Title: Running KVM guest causes kernel panic on host -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs