Re: Kernel Panic on 5.2 running on KVM
On Friday, February 22, 2013, Stuart Henderson wrote: On 2013-02-22, Peter Farmer pfarmer...@gmail.com javascript:; wrote: Unfortunately now getting em0: watchdog timeout -- resetting on my VMs (on 5.3-beta) , which also locks the terminal for me, so can't bring the network up :( with -current you might want to try switching the network interface type to virtio, using the vio(4) driver Unfortunately I'm restricted to the e1000 NIC by my provider.
Re: Kernel Panic on 5.2 running on KVM
Building a 5.3-beta template now, will let you know. On 22 February 2013 15:26, Chris Cappuccio ch...@nmedia.net wrote: before you go much further, try openbsd 5.3-beta first ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/amd64/ Peter Farmer [pfarmer...@gmail.com] wrote: Hi, I have a pair of OpenBSD 5.2 VMs running on KVM, they have a carp interface and are running relayd to load balancer http traffic into two webservers (also VMs). While benchmarking the setup with ab, I noticed that the OpenBSD VMs panic'd, I can easily reproduce the panics. Here is a typical stack trace: uvm_fault(0xfe807d0c62a8, 0x0, 0, 1) - e kernel: page fault trap, code=0 Stopped at somove+0x22:movq0x78(%rdi),%r14 ddb somove() at somove+0x22 sowwakeup() at sowwakeup+0x26 tcp_input() at tcp_input+0x2a37 ipv4_input() at ipv4_input+0x584 ipintr() at ipintr+0x7f netintr() at netintr+0xd5 softintr_dispatch() at softintr_dispatch+0x5d Xsoftnet() at Xsoftnet+0x28 --- interrupt --- (null)() at 0x800021454e30 end of kernel end trace frame: 0x4043c748, count: -9 ddbPID PPID PGRPUID S FLAGS WAIT COMMAND 13819 1 13819 0 30x80 selectsendmail 15713 1 15713 0 30x80 ttyin getty 3077 1 3077 0 30x80 ttyin getty 1982 1 1982 0 30x80 ttyin getty 12235 1 12235 0 30x80 ttyin getty 17057 1 17057 0 30x80 ttyin getty 23271 1 23271 0 30x80 selectcron 4619 1 4619 0 30x80 selectruby18 13722 1 13722 99 30x80 poll sndiod 22844 18069 18069 89 30x80 kqreadrelayd 19323 18069 18069 89 30x80 kqreadrelayd 1643 18069 18069 89 30x80 kqreadrelayd *26499 18069 18069 89 7 0relayd 18069 9864 18069 89 30x80 kqreadrelayd 10272 9864 10272 89 30x80 kqreadrelayd 13354 9864 13354 89 30x80 kqreadrelayd 9864 1 9864 0 30x80 kqreadrelayd 22085 1 22085 0 30x80 selectsshd 18165 18463 19253 83 30x80 poll ntpd 18463 19253 19253 83 30x80 poll ntpd 19253 1 19253 0 30x80 poll ntpd 26963 18156 18156 74 30x80 bpf pflogd 18156 1 18156 0 30x80 netio pflogd 30594 10090 10090 73 20x80syslogd 10090 1 10090 0 30x80 netio syslogd 3510 1 3510 77 30x80 poll dhclient 20348 1 22482 0 30x80 poll dhclient 25124 1 25124 77 30x80 poll dhclient 12672 1 22482 0 30x80 poll dhclient 13 0 0 0 30x100200 aiodoned aiodoned 12 0 0 0 30x100200 syncerupdate 11 0 0 0 30x100200 cleaner cleaner 10 0 0 0 30x100200 reaperreaper 9 0 0 0 30x100200 pgdaemon pagedaemon 8 0 0 0 30x100200 bored crypto 7 0 0 0 30x100200 pftm pfpurge 6 0 0 0 30x100200 usbtskusbtask 5 0 0 0 30x100200 usbatsk usbatsk 4 0 0 0 30x100200 acpi0 acpi0 3 0 0 0 30x100200 bored syswq 2 0 0 0 3 0x40100200idle0 1 0 1 0 30x80 wait init 0 -1 0 0 3 0x200 scheduler swapper ddb rebooting... dmesg from same machine: OpenBSD 5.2 (GENERIC) #309: Wed Aug 1 09:58:55 MDT 2012 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC real mem = 2146369536 (2046MB) avail mem = 2066952192 (1971MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xfbc4f (10 entries) bios0: vendor QEMU version QEMU date 01/01/2007 acpi0 at bios0: rev 0 acpi0: sleep states S3 S4 S5 acpi0: tables DSDT FACP SSDT APIC acpi0: wakeup devices acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat acpiprt0 at acpi0: bus 0 (PCI0) acpicpu0 at acpi0 mpbios at bios0 not configured vmt0 at mainbus0 vmware: open failed, eax=564d5868, ecx=001e, edx=5658 vmt0: failed to open backdoor RPC channel (TCLO protocol) cpu0 at mainbus0: (uniprocessor) cpu0: QEMU Virtual CPU version 0.10.50, 2200.26 MHz cpu0:
Re: Kernel Panic on 5.2 running on KVM
Unfortunately now getting em0: watchdog timeout -- resetting on my VMs (on 5.3-beta) , which also locks the terminal for me, so can't bring the network up :( On 22 February 2013 15:49, Peter Farmer pfarmer...@gmail.com wrote: Building a 5.3-beta template now, will let you know. On 22 February 2013 15:26, Chris Cappuccio ch...@nmedia.net wrote: before you go much further, try openbsd 5.3-beta first ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/amd64/ Peter Farmer [pfarmer...@gmail.com] wrote: Hi, I have a pair of OpenBSD 5.2 VMs running on KVM, they have a carp interface and are running relayd to load balancer http traffic into two webservers (also VMs). While benchmarking the setup with ab, I noticed that the OpenBSD VMs panic'd, I can easily reproduce the panics. Here is a typical stack trace: uvm_fault(0xfe807d0c62a8, 0x0, 0, 1) - e kernel: page fault trap, code=0 Stopped at somove+0x22:movq0x78(%rdi),%r14 ddb somove() at somove+0x22 sowwakeup() at sowwakeup+0x26 tcp_input() at tcp_input+0x2a37 ipv4_input() at ipv4_input+0x584 ipintr() at ipintr+0x7f netintr() at netintr+0xd5 softintr_dispatch() at softintr_dispatch+0x5d Xsoftnet() at Xsoftnet+0x28 --- interrupt --- (null)() at 0x800021454e30 end of kernel end trace frame: 0x4043c748, count: -9 ddbPID PPID PGRPUID S FLAGS WAIT COMMAND 13819 1 13819 0 30x80 selectsendmail 15713 1 15713 0 30x80 ttyin getty 3077 1 3077 0 30x80 ttyin getty 1982 1 1982 0 30x80 ttyin getty 12235 1 12235 0 30x80 ttyin getty 17057 1 17057 0 30x80 ttyin getty 23271 1 23271 0 30x80 selectcron 4619 1 4619 0 30x80 selectruby18 13722 1 13722 99 30x80 poll sndiod 22844 18069 18069 89 30x80 kqreadrelayd 19323 18069 18069 89 30x80 kqreadrelayd 1643 18069 18069 89 30x80 kqreadrelayd *26499 18069 18069 89 7 0relayd 18069 9864 18069 89 30x80 kqreadrelayd 10272 9864 10272 89 30x80 kqreadrelayd 13354 9864 13354 89 30x80 kqreadrelayd 9864 1 9864 0 30x80 kqreadrelayd 22085 1 22085 0 30x80 selectsshd 18165 18463 19253 83 30x80 poll ntpd 18463 19253 19253 83 30x80 poll ntpd 19253 1 19253 0 30x80 poll ntpd 26963 18156 18156 74 30x80 bpf pflogd 18156 1 18156 0 30x80 netio pflogd 30594 10090 10090 73 20x80syslogd 10090 1 10090 0 30x80 netio syslogd 3510 1 3510 77 30x80 poll dhclient 20348 1 22482 0 30x80 poll dhclient 25124 1 25124 77 30x80 poll dhclient 12672 1 22482 0 30x80 poll dhclient 13 0 0 0 30x100200 aiodoned aiodoned 12 0 0 0 30x100200 syncerupdate 11 0 0 0 30x100200 cleaner cleaner 10 0 0 0 30x100200 reaperreaper 9 0 0 0 30x100200 pgdaemon pagedaemon 8 0 0 0 30x100200 bored crypto 7 0 0 0 30x100200 pftm pfpurge 6 0 0 0 30x100200 usbtskusbtask 5 0 0 0 30x100200 usbatsk usbatsk 4 0 0 0 30x100200 acpi0 acpi0 3 0 0 0 30x100200 bored syswq 2 0 0 0 3 0x40100200idle0 1 0 1 0 30x80 wait init 0 -1 0 0 3 0x200 scheduler swapper ddb rebooting... dmesg from same machine: OpenBSD 5.2 (GENERIC) #309: Wed Aug 1 09:58:55 MDT 2012 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC real mem = 2146369536 (2046MB) avail mem = 2066952192 (1971MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xfbc4f (10 entries) bios0: vendor QEMU version QEMU date 01/01/2007 acpi0 at bios0: rev 0 acpi0: sleep states S3 S4 S5 acpi0: tables DSDT FACP SSDT APIC acpi0: wakeup devices acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat acpiprt0 at acpi0: bus 0 (PCI0) acpicpu0 at acpi0 mpbios at bios0 not configured vmt0 at
Re: Kernel Panic on 5.2 running on KVM
That's a little tricky from a VNC console, so this is the best I can do: http://habanero.projectchilli.com/~pfarmer/screens/ On 22 February 2013 17:26, Chris Cappuccio ch...@nmedia.net wrote: dmesg? Peter Farmer [pfarmer...@gmail.com] wrote: Unfortunately now getting em0: watchdog timeout -- resetting on my VMs (on 5.3-beta) , which also locks the terminal for me, so can't bring the network up :( On 22 February 2013 15:49, Peter Farmer pfarmer...@gmail.com wrote: Building a 5.3-beta template now, will let you know. On 22 February 2013 15:26, Chris Cappuccio ch...@nmedia.net wrote: before you go much further, try openbsd 5.3-beta first ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/amd64/ Peter Farmer [pfarmer...@gmail.com] wrote: Hi, I have a pair of OpenBSD 5.2 VMs running on KVM, they have a carp interface and are running relayd to load balancer http traffic into two webservers (also VMs). While benchmarking the setup with ab, I noticed that the OpenBSD VMs panic'd, I can easily reproduce the panics. Here is a typical stack trace: uvm_fault(0xfe807d0c62a8, 0x0, 0, 1) - e kernel: page fault trap, code=0 Stopped at somove+0x22:movq0x78(%rdi),%r14 ddb somove() at somove+0x22 sowwakeup() at sowwakeup+0x26 tcp_input() at tcp_input+0x2a37 ipv4_input() at ipv4_input+0x584 ipintr() at ipintr+0x7f netintr() at netintr+0xd5 softintr_dispatch() at softintr_dispatch+0x5d Xsoftnet() at Xsoftnet+0x28 --- interrupt --- (null)() at 0x800021454e30 end of kernel end trace frame: 0x4043c748, count: -9 ddbPID PPID PGRPUID S FLAGS WAIT COMMAND 13819 1 13819 0 30x80 selectsendmail 15713 1 15713 0 30x80 ttyin getty 3077 1 3077 0 30x80 ttyin getty 1982 1 1982 0 30x80 ttyin getty 12235 1 12235 0 30x80 ttyin getty 17057 1 17057 0 30x80 ttyin getty 23271 1 23271 0 30x80 selectcron 4619 1 4619 0 30x80 selectruby18 13722 1 13722 99 30x80 poll sndiod 22844 18069 18069 89 30x80 kqreadrelayd 19323 18069 18069 89 30x80 kqreadrelayd 1643 18069 18069 89 30x80 kqreadrelayd *26499 18069 18069 89 7 0relayd 18069 9864 18069 89 30x80 kqreadrelayd 10272 9864 10272 89 30x80 kqreadrelayd 13354 9864 13354 89 30x80 kqreadrelayd 9864 1 9864 0 30x80 kqreadrelayd 22085 1 22085 0 30x80 selectsshd 18165 18463 19253 83 30x80 poll ntpd 18463 19253 19253 83 30x80 poll ntpd 19253 1 19253 0 30x80 poll ntpd 26963 18156 18156 74 30x80 bpf pflogd 18156 1 18156 0 30x80 netio pflogd 30594 10090 10090 73 20x80syslogd 10090 1 10090 0 30x80 netio syslogd 3510 1 3510 77 30x80 poll dhclient 20348 1 22482 0 30x80 poll dhclient 25124 1 25124 77 30x80 poll dhclient 12672 1 22482 0 30x80 poll dhclient 13 0 0 0 30x100200 aiodoned aiodoned 12 0 0 0 30x100200 syncerupdate 11 0 0 0 30x100200 cleaner cleaner 10 0 0 0 30x100200 reaperreaper 9 0 0 0 30x100200 pgdaemon pagedaemon 8 0 0 0 30x100200 bored crypto 7 0 0 0 30x100200 pftm pfpurge 6 0 0 0 30x100200 usbtskusbtask 5 0 0 0 30x100200 usbatsk usbatsk 4 0 0 0 30x100200 acpi0 acpi0 3 0 0 0 30x100200 bored syswq 2 0 0 0 3 0x40100200idle0 1 0 1 0 30x80 wait init 0 -1 0 0 3 0x200 scheduler swapper ddb rebooting... dmesg from same machine: OpenBSD 5.2 (GENERIC) #309: Wed Aug 1 09:58:55 MDT 2012 dera...@amd64.openbsd.org: /usr/src/sys/arch/amd64/compile/GENERIC real mem = 2146369536 (2046MB) avail mem = 2066952192 (1971MB)
Re: Kernel Panic on 5.2 running on KVM
On 2013-02-22, Peter Farmer pfarmer...@gmail.com wrote: Unfortunately now getting em0: watchdog timeout -- resetting on my VMs (on 5.3-beta) , which also locks the terminal for me, so can't bring the network up :( with -current you might want to try switching the network interface type to virtio, using the vio(4) driver