[Bug 670250] New: domU kernel panic on boot in xennet (kernel-xen-2.6.37-20 on openSUSE 11.4 M6)
https://bugzilla.novell.com/show_bug.cgi?id=670250
https://bugzilla.novell.com/show_bug.cgi?id=670250#c0
Summary: domU kernel panic on boot in xennet
(kernel-xen-2.6.37-20 on openSUSE 11.4 M6)
Classification: openSUSE
Product: openSUSE 11.4
Version: Factory
Platform: i586
OS/Version: Linux
Status: NEW
Severity: Critical
Priority: P5 - None
Component: Kernel
AssignedTo: kernel-maintainers@forge.provo.novell.com
ReportedBy: tserong@novell.com
QAContact: qa@suse.de
Found By: ---
Blocker: ---
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13)
Gecko/20101203 SUSE/3.6.13-0.2.1 Firefox/3.6.13
SLES 11 SP1 dom0, on old x86 (32 bit, no VT) hardware. dom0 kernel is
2.6.32.12-0.7-xen. Boot an openSUSE 11.4 M6 domU, and we get a kernel panic
due to a null pointer dereference in xennet.
Reproducible: Always
Steps to Reproduce:
# virsh create factory-0.xml --console
Domain factory-0 created from factory-0.xml
Connected to domain factory-0
Escape character is ^]
[ 0.000000] Reserving virtual address space above 0xf5800000
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 2.6.37-20-xen (geeko@buildhost) (gcc version 4.5.1
20101208 [gcc-4_5-branch revision 167585] (SUSE Linux) ) #1 SMP 2011-01-22
00:41:44 +0100
[ 0.000000] Xen-provided physical RAM map:
[ 0.000000] Xen: 0000000000000000 - 0000000020800000 (usable)
[ 0.000000] Notice: NX (Execute Disable) protection missing in CPU or
disabled in BIOS!
[ 0.000000] last_pfn = 0x20800 max_arch_pfn = 0x10000000
[ 0.000000] init_memory_mapping: 0000000000000000-0000000020800000
[ 0.000000] RAMDISK: 00834000 - 0109b000
[ 0.000000] ACPI in unprivileged domain disabled
[ 0.000000] 0MB HIGHMEM available.
[ 0.000000] 520MB LOWMEM available.
[ 0.000000] mapped low ram: 0 - 20800000
[ 0.000000] low ram: 0 - 20800000
[ 0.000000] Zone PFN ranges:
[ 0.000000] DMA 0x00000000 -> 0x00001000
[ 0.000000] Normal 0x00001000 -> 0x00020800
[ 0.000000] HighMem empty
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] early_node_map[2] active PFN ranges
[ 0.000000] 0: 0x00000000 -> 0x00010000
[ 0.000000] 0: 0x00020800 -> 0x00020800
[ 0.000000] setup_percpu: NR_CPUS:32 nr_cpumask_bits:32 nr_cpu_ids:1
nr_node_ids:1
[ 0.000000] PERCPU: Embedded 9 pages/cpu @cfb5e000 s16320 r0 d20544 u36864
[ 0.000000] Swapping MFNs for PFN 75f and fb5f (MFN 6a190 and 4c4a0)
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total
pages: 64496
[ 0.000000] Kernel command line: root=/dev/xvda1 root=/dev/xvda1
splash=silent showopts vga=0x314
[ 0.000000] bootsplash: silent mode.
[ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Initializing CPU#0
[ 0.000000] allocated 2662400 bytes of page_cgroup
[ 0.000000] please try 'cgroup_disable=memory' option if you don't want
memory cgroups
[ 0.000000] Software IO TLB disabled
[ 0.000000] Initializing HighMem for node 0 (00000000:00000000)
[ 0.000000] Memory: 236676k/532480k available (4170k kernel code, 25468k
reserved, 3036k data, 344k init, 0k highmem)
[ 0.000000] virtual kernel memory layout:
[ 0.000000] fixmap : 0xf5476000 - 0xf57ff000 (3620 kB)
[ 0.000000] pkmap : 0xf5000000 - 0xf5200000 (2048 kB)
[ 0.000000] vmalloc : 0xe1000000 - 0xf4ffe000 ( 319 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xe0800000 ( 520 MB)
[ 0.000000] .init : 0xc070c000 - 0xc0762000 ( 344 kB)
[ 0.000000] .data : 0xc0414b4e - 0xc070bda8 (3036 kB)
[ 0.000000] .text : 0xc0002000 - 0xc0414b4e (4170 kB)
[ 0.000000] Checking if this processor honours the WP bit even in supervisor
mode...Ok.
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] RCU dyntick-idle grace-period acceleration is enabled.
[ 0.000000] RCU-based detection of stalled CPUs is disabled.
[ 0.000000] NR_IRQS:2624 nr_irqs:600 16
[ 0.000000] Xen reported: 3014.628 MHz processor.
[ 0.000000] Console: colour dummy device 80x25
[ 0.000000] console [tty0] enabled
[ 0.000000] console [xvc-1] enabled
[ 0.080023] Calibrating delay using timer specific routine.. 6103.54
BogoMIPS (lpj=12207088)
[ 0.080065] pid_max: default: 32768 minimum: 301
[ 0.080167] Security Framework initialized
[ 0.080202] AppArmor: AppArmor initialized
[ 0.080248] Mount-cache hash table entries: 512
[ 0.080465] Initializing cgroup subsys ns
[ 0.080481] ns_cgroup deprecated: consider using the 'clone_children' flag
without the ns_cgroup.
[ 0.080502] Initializing cgroup subsys cpuacct
[ 0.080520] Initializing cgroup subsys memory
[ 0.080545] Initializing cgroup subsys devices
[ 0.080560] Initializing cgroup subsys freezer
[ 0.080574] Initializing cgroup subsys net_cls
[ 0.080590] Initializing cgroup subsys blkio
[ 0.081706] SMP alternatives: switching to UP code
[ 0.136225] Freeing SMP alternatives: 24k freed
[ 0.140320] Brought up 1 CPUs
[ 0.140635] devtmpfs: initialized
[ 0.141352] regulator: core version 0.5
[ 0.141455] regulator: dummy:
[ 0.161686] Time: 165:165:165 Date: 165/165/65
[ 0.161925] NET: Registered protocol family 16
[ 0.168204] Brought up 1 CPUs
[ 0.169162] PCI: Fatal: No config space access function found
[ 0.169187] PCI: setting up Xen PCI frontend stub
[ 0.172706] bio: create slab <bio-0> at 0
[ 0.172892] ACPI: Interpreter disabled.
[ 0.173091] suspend: event channel 6
[ 0.173091] xen_mem: Initialising balloon driver.
[ 0.188392] SCSI subsystem initialized
[ 0.188651] vgaarb: loaded
[ 0.188873] PCI: System does not support PCI
[ 0.188889] PCI: System does not support PCI
[ 0.189077] NetLabel: Initializing
[ 0.189091] NetLabel: domain hash size = 128
[ 0.189104] NetLabel: protocols = UNLABELED CIPSOv4
[ 0.189134] NetLabel: unlabeled traffic allowed by default
[ 0.189153] Switching to clocksource xen
[ 0.191531] AppArmor: AppArmor Filesystem Enabled
[ 0.191559] pnp: PnP ACPI: disabled
[ 0.195091] NET: Registered protocol family 2
[ 0.195248] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.195698] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.195763] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.195823] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.195838] TCP reno registered
[ 0.195849] UDP hash table entries: 128 (order: 0, 4096 bytes)
[ 0.195871] UDP-Lite hash table entries: 128 (order: 0, 4096 bytes)
[ 0.196106] NET: Registered protocol family 1
[ 0.196228] Unpacking initramfs...
[ 0.215174] Freeing initrd memory: 8604k freed
[ 0.222566] platform rtc_cmos: registered platform RTC device (no PNP device
found)
[ 0.222848] audit: initializing netlink socket (disabled)
[ 0.222884] type=2000 audit(1297161996.266:1): initialized
[ 0.275185] VFS: Disk quotas dquot_6.5.2
[ 0.275263] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.275459] msgmni has been set to 132
[ 0.275939] Block layer SCSI generic (bsg) driver version 0.4 loaded (major
253)
[ 0.275963] io scheduler noop registered
[ 0.275975] io scheduler deadline registered
[ 0.276059] io scheduler cfq registered (default)
[ 0.276255] pci-stub: invalid id string ""
[ 0.276666] Non-volatile memory driver v1.3
[ 0.276682] Linux agpgart interface v0.103
[ 0.277030] Xen virtual console successfully installed as xvc0
[ 0.284579] Console: switching to colour frame buffer device 100x37
[ 0.299499] console [tty0] enabled
[ 0.300797] input: Xen Virtual Keyboard as /devices/virtual/input/input0
[ 0.300985] input: Xen Virtual Pointer as /devices/virtual/input/input1
[ 0.325534] Fixed MDIO Bus: probed
[ 0.325665] PNP: No PS/2 controller found. Probing ports directly.
[ 0.326619] i8042.c: No controller found.
[ 0.326915] mice: PS/2 mouse device common for all mice
[ 0.327396] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0
[ 0.327564] rtc_cmos: probe of rtc_cmos failed with error -38
[ 0.328314] TCP cubic registered
[ 0.328430] NET: Registered protocol family 10
[ 0.329235] lo: Disabled Privacy Extensions
[ 0.331653] Registering the dns_resolver key type
[ 0.335224] libceph: loaded (mon/osd proto 15/24, osdmap 5/5 5/5)
[ 0.337407] registered taskstats version 1
[ 0.339192] Magic number: 1:252:3141
[ 0.440127] XENBUS: Device with no driver: device/vbd/51712
[ 0.441863] XENBUS: Device with no driver: device/vbd/51728
[ 0.443564] XENBUS: Device with no driver: device/vif/0
[ 0.445347]
/usr/src/packages/BUILD/kernel-xen-2.6.37/linux-2.6.37/drivers/rtc/hctosys.c:
unable to open rtc device (rtc0)
[ 0.448952] Freeing unused kernel memory: 344k freed
[ 0.454677] Write protecting the kernel text: 4172k
[ 0.458888] Write protecting the kernel read-only data: 2808k
[ 0.595103] netfront: Initialising virtual ethernet driver.
[ 1.249825] xen-vbd: registered block device major 202
[ 1.251574] blkfront: xvda: barriers enabled
[ 1.273145] xvda: xvda1
[ 1.361817] blkfront: xvdb: barriers enabled
[ 1.464599] udev[66]: starting version 165
[ 2.380484] kjournald starting. Commit interval 15 seconds
[ 2.383096] EXT3-fs (xvda1): using internal journal
[ 2.384892] EXT3-fs (xvda1): mounted filesystem with ordered data mode
[ 4.004478] udev[208]: starting version 165
[ 7.813948] device-mapper: uevent: version 1.0.3
[ 7.815689] device-mapper: ioctl: 4.18.0-ioctl (2010-06-29) initialised:
dm-devel@redhat.com
[ 8.177677] blkfront: xvda: empty write barrier op failed
[ 8.179465] blkfront: xvda: barriers disabled
[ 10.816230] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[ 10.816243] EDD information not available.
[ 13.180548] BUG: unable to handle kernel NULL pointer dereference at
(null)
[ 13.180574] IP: [<e12dd20e>] netif_poll+0x73e/0x860 [xennet]
[ 13.180598] *pdpt = 000000004d215001 *pde = 0000000000000000
[ 13.180614] Oops: 0000 [#1] SMP
[ 13.180628] last sysfs file: /sys/devices/xen/vif-0/net/eth0/type
[ 13.180642] Modules linked in: dm_mod joydev xenblk cdrom xennet reiserfs
[ 13.180668]
[ 13.180679] Pid: 926, comm: ip Not tainted 2.6.37-20-xen #1 /
[ 13.180690] EIP: 0061:[<e12dd20e>] EFLAGS: 00010246 CPU: 0
[ 13.180705] EIP is at netif_poll+0x73e/0x860 [xennet]
[ 13.180717] EAX: 00000008 EBX: cf464e80 ECX: 00000800 EDX: ce4f9850
[ 13.180729] ESI: 00000000 EDI: ce548440 EBP: cf464e98 ESP: cf40bef0
[ 13.180741] DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0069
[ 13.180753] Process ip (pid: 926, ti=cf40a000 task=ce6bb2b0
task.ti=cf540000)
[ 13.180765] Stack:
[ 13.180772] cf40bf4c cf40bf80 cf40bf6c cf40bf5c cf40bf4c 00000000 0000002d
00000001
[ 13.180802] 00000040 ce548000 ce4ab140 00000019 00000040 0000002e ce548474
0000002c
[ 13.180833] 00400007 00000000 00000000 00000000 00000000 00000000 00000000
cf40bf4c
[ 13.180864] Call Trace:
[ 13.180897] [<c032d6fa>] net_rx_action+0x13a/0x250
[ 13.180920] [<c00427b6>] __do_softirq+0xb6/0x1d0
[ 13.180940] [<c00079e9>] do_softirq+0x69/0xf0
[ 13.180958] [<0000000f>] 0xf
[ 13.180967] Code: ff 8d 74 26 00 89 d8 e8 e1 fc 04 df e9 fc fd ff ff 8d 74
26 00 66 83 f8 08 0f 85 8a fe ff ff 8b b3 9c 00 00 00 8b 93 a4 00 00 00 <0f> b6
06 83 e0 0f 8d 04 86 39 d0 0f 83 6d fe ff ff 89 c1 66 2b
[ 13.181118] EIP: [<e12dd20e>] netif_poll+0x73e/0x860 [xennet] SS:ESP
0069:cf40bef0
[ 13.181141] CR2: 0000000000000000
[ 13.181160] ---[ end trace 110ebd979901cae4 ]---
[ 13.181177] Kernel panic - not syncing: Fatal exception in interrupt
[ 13.181193] Pid: 926, comm: ip Tainted: G D 2.6.37-20-xen #1
[ 13.181208] Call Trace:
[ 13.181231] [<c00098f3>] try_stack_unwind+0x173/0x190
[ 13.181251] [<c0007b3f>] dump_trace+0x3f/0xe0
[ 13.181273] [<c000995b>] show_trace_log_lvl+0x4b/0x60
[ 13.181299] [<c0009988>] show_trace+0x18/0x20
[ 13.181327] [<c040a44a>] dump_stack+0x6d/0x72
[ 13.181353] [<c040a4a6>] panic+0x57/0x168
[ 13.181379] [<c040e4ea>] oops_end+0x10a/0x110
[ 13.181406] [<c0018bcf>] bad_area_nosemaphore+0xf/0x20
[ 13.181426] [<c04108a6>] do_page_fault+0x3e6/0x490
[ 13.181455] [<c040d988>] error_code+0x30/0x38
[ 13.181482] [<e12dd20e>] netif_poll+0x73e/0x860 [xennet]
[ 13.181516] [<c032d6fa>] net_rx_action+0x13a/0x250
[ 13.181538] [<c00427b6>] __do_softirq+0xb6/0x1d0
[ 13.181564] [<c00079e9>] do_softirq+0x69/0xf0
[ 13.181588] [<0000000f>] 0xf
Actual Results:
kernel panic
Expected Results:
no kernel panic
domU config is:
<domain type='xen'>
<name>factory-0</name>
<description>"None"</description>
<uuid>8852b6c0-27b9-8a2b-f773-0bd427df7298</uuid>
<memory>524288</memory>
<currentMemory>262144</currentMemory>
<vcpu>1</vcpu>
https://bugzilla.novell.com/show_bug.cgi?id=670250
https://bugzilla.novell.com/show_bug.cgi?id=670250#c
Jeff Mahoney
https://bugzilla.novell.com/show_bug.cgi?id=670250
https://bugzilla.novell.com/show_bug.cgi?id=670250#c1
Jan Beulich
participants (1)
-
bugzilla_noreply@novell.com