James Harper
2010-May-27 23:48 UTC
[Xen-devel] oops starting domain on 4.0.0 + 2.6.32.13-gf6fe658
When I try and create a domain I get an oops which looks like it comes from netback (see below) Xen is 4.0.0, domU is 2.6.32.13-gf6fe658. The domain I''m creating is HVM. I compile a lot of the xen stuff as modules... could that cause anything? # CONFIG_SYSFS_DEPRECATED_V2 is not set (if that matters) The system is Debian testing (squeeze). udev is 154 (Debian version 154-1) Any suggestions? Thanks James [ 72.603294] BUG: unable to handle kernel NULL pointer dereference at 0000000000000008 [ 72.603515] IP: [<ffffffffa01e6354>] netback_uevent+0x28/0xaf [xen_netback] [ 72.603662] PGD 1ead4067 PUD 2236067 PMD 0 [ 72.603887] Oops: 0000 [#1] SMP [ 72.604063] last sysfs file: /sys/devices/vif-1-0/uevent [ 72.604154] CPU 0 [ 72.604280] Modules linked in: ipv6 bridge softdog 8021q garp stp llc blktap xen_netback xen_blkback blkback_pagemap xen_gntdev xen_evtchn loop snd_pcm snd_timer snd soundcore snd_page_alloc evdev pcspkr tpm_tis i2c_i801 tpm tpm_bios i2c_core button xfs exportfs dm_mod raid1 md_mod sg sr_mod cdrom sd_mod usbhid hid usb_storage ata_generic ata_piix thermal ide_pci_generic tg3 ahci libphy ide_core ehci_hcd libata scsi_mod [last unloaded: scsi_wait_scan] [ 72.607018] Pid: 876, comm: udevd Not tainted 2.6.32.13-gf6fe658 #1 ProLiant ML110 G6 [ 72.607144] RIP: e030:[<ffffffffa01e6354>] [<ffffffffa01e6354>] netback_uevent+0x28/0xaf [xen_netback] [ 72.607324] RSP: e02b:ffff88000239fdf8 EFLAGS: 00010246 [ 72.607416] RAX: 0000000000000000 RBX: ffff88001cd20200 RCX: 0000000000000000 [ 72.607513] RDX: ffffffffa01e770b RSI: ffff88001cd203b0 RDI: 0000000000000000 [ 72.607611] RBP: ffff88001ed71000 R08: 0000000000000002 R09: 0000000000000073 [ 72.607709] R10: 0000000000000367 R11: ffff88001fda5960 R12: ffff88001cd20250 [ 72.607806] R13: ffff88000221b000 R14: ffff88001ed71000 R15: ffffffff8144ea70 [ 72.607907] FS: 00007f2cb49c4790(0000) GS:ffff880002c93000(0000) knlGS:0000000000000000 [ 72.608035] CS: e033 DS: 0000 ES: 0000 CR0: 000000008005003b [ 72.608128] CR2: 0000000000000008 CR3: 000000001e9e7000 CR4: 0000000000002660 [ 72.608226] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 72.608323] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 [ 72.608421] Process udevd (pid: 876, threadinfo ffff88000239e000, task ffff88001f48c200) [ 72.608549] Stack: [ 72.608629] 0000000000000001 ffff88001cd20240 ffff88001ed71000 ffff88001cd20250 [ 72.608865] <0> ffff88000221b000 ffffffff811f1cee ffffffff8144ea40 ffff88001fda56c0 [ 72.609220] <0> ffff88001cd20250 ffff88001ed71000 0000000000000000 ffffffff811f1e79 [ 72.609648] Call Trace: [ 72.609733] [<ffffffff811f1cee>] ? dev_uevent+0xff/0x141 [ 72.609826] [<ffffffff811f1e79>] ? show_uevent+0xcd/0x122 [ 72.609919] [<ffffffff811f19d4>] ? dev_attr_show+0x1e/0x44 [ 72.610014] [<ffffffff810af837>] ? __get_free_pages+0x9/0x47 [ 72.610109] [<ffffffff8112e6aa>] ? sysfs_read_file+0xab/0x131 [ 72.610204] [<ffffffff810dfbc5>] ? vfs_read+0xa5/0x168 [ 72.610297] [<ffffffff810bcc9f>] ? sys_mmap_pgoff+0x106/0x1a6 [ 72.610392] [<ffffffff810dfd3e>] ? sys_read+0x45/0x6e [ 72.610485] [<ffffffff81011a42>] ? system_call_fastpath+0x16/0x1b [ 72.610579] Code: ff ff 90 41 55 41 54 55 48 89 f5 53 48 89 fb 48 8d 7f 40 48 83 ec 08 e8 e8 df 00 e1 48 8b 73 08 31 c9 31 ff 48 c7 c2 0b 77 1e a0 <4c> 8b 60 08 e8 4d 21 fe e0 48 3d 00 f0 ff ff 49 89 c5 76 17 89 [ 72.613755] RIP [<ffffffffa01e6354>] netback_uevent+0x28/0xaf [xen_netback] [ 72.613900] RSP <ffff88000239fdf8> [ 72.613984] CR2: 0000000000000008 [ 72.614070] ---[ end trace d90165fd2f4b570b ]--- [ 72.922777] tun: Universal TUN/TAP device driver, 1.6 [ 72.922887] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com> [ 83.432230] tap1.0: no IPv6 routers present _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Sergey Kononenko
2010-May-28 10:35 UTC
Re: [Xen-devel] oops starting domain on 4.0.0 + 2.6.32.13-gf6fe658
> The system is Debian testing (squeeze). udev is 154 (Debian version > 154-1)The problem not in kernel itself, but in udev too. I tried many kernels: debian 2.6.32-5-xen-amd64, last xen/stable-2.6.32.x, 2.6.27 from XCP, built for x86-32 and for x86-64, under hyperviosrs 3.4.3-rc and 4.0.0. There is same kernel oops with all combinations of kernel/hypervisor/architecture. But there is no kernel oops with udev 0.125 from lenny and 151-1 which was in testing few weeks ago. With best regards, Sergey Kononenko. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Pasi Kärkkäinen
2010-May-28 10:47 UTC
Re: [Xen-devel] oops starting domain on 4.0.0 + 2.6.32.13-gf6fe658
On Fri, May 28, 2010 at 01:35:15PM +0300, Sergey Kononenko wrote:> > The system is Debian testing (squeeze). udev is 154 (Debian version > > 154-1) > The problem not in kernel itself, but in udev too. I tried many > kernels: debian 2.6.32-5-xen-amd64, last xen/stable-2.6.32.x, 2.6.27 > from XCP, built for x86-32 and for x86-64, under hyperviosrs 3.4.3-rc > and 4.0.0. There is same kernel oops with all combinations of > kernel/hypervisor/architecture. But there is no kernel oops with udev > 0.125 from lenny and 151-1 which was in testing few weeks ago. >So udev version 151 works, but udev version 154 causes kernel OOPS. Can you post the full OOPS? (serial console capture). http://wiki.xensource.com/xenwiki/XenSerialConsole -- Pasi _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
James Harper
2010-May-28 11:08 UTC
RE: [Xen-devel] oops starting domain on 4.0.0 + 2.6.32.13-gf6fe658
> > So udev version 151 works, but udev version 154 causes kernel OOPS. > Can you post the full OOPS? (serial console capture). > > http://wiki.xensource.com/xenwiki/XenSerialConsole >The OOPS I was seeing wasn''t terminal (see previous posting today). A simple ''dmesg'' is all that''s required to get it. James _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Sergey Kononenko
2010-May-28 11:10 UTC
Re: [Xen-devel] oops starting domain on 4.0.0 + 2.6.32.13-gf6fe658
> So udev version 151 works, but udev version 154 causes kernel OOPS.Yes, at least udev from debian packages.> Can you post the full OOPS? (serial console capture).I can''t connect serial console to this server, but is the oops dumped to serial console differ from the dump via dmesg (and tty1 console)? And looks like this bug already reported to Xen bugzilla: http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1612 With best regards, Sergey Kononenko. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Pasi Kärkkäinen
2010-May-28 11:40 UTC
Re: [Xen-devel] oops starting domain on 4.0.0 + 2.6.32.13-gf6fe658
On Fri, May 28, 2010 at 02:10:33PM +0300, Sergey Kononenko wrote:> > So udev version 151 works, but udev version 154 causes kernel OOPS. > Yes, at least udev from debian packages. > > > Can you post the full OOPS? (serial console capture). > I can''t connect serial console to this server, but is the oops dumped > to serial console differ from the dump via dmesg (and tty1 console)? >The messages are the same on both.> And looks like this bug already reported to Xen bugzilla: > http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1612 >Ok. -- Pasi _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel