From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Gora Subject: Re: Re: Panic on boot on Sun Blade 6270 Date: Fri, 12 Mar 2010 14:37:09 -0300 Message-ID: <4779de451003120937i15b1c55ajdaaf2a45b3b1dbf8@mail.gmail.com> References: <4779de451003112001k4edfce39ra28a668230c7a0a6@mail.gmail.com> <4779de451003120537h1be078f5h151bbb4845083a37@mail.gmail.com> <4779de451003120543i4fe0d920s8c8da2037cadeedf@mail.gmail.com> <20100312164430.GJ1878@reaktio.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20100312164430.GJ1878@reaktio.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: =?ISO-8859-1?Q?Pasi_K=E4rkk=E4inen?= Cc: "xen-devel@lists.xensource.com" , "Jiang, Yunhong" , Keir Fraser List-Id: xen-devel@lists.xenproject.org On Fri, Mar 12, 2010 at 1:44 PM, Pasi K=E4rkk=E4inen wrote: >> Also, is it expected that >> the default .hg tree xen will *just work* on a SLES distro by running >> install.sh or do you need a bunch of SuSE specific patches? >> > > The default hg tree should work. Thanks for the tips Pasi.. I guess I did pretty much that, but I just did a 'make dist' and built everything including the 2.6.18 kernel, I moved everything to the test machine and ran 'sh ./install.sh' and added a grub line to boot the new xen: title Xen-3.4.3-rc1.dan -- SUSE Linux Enterprise Server 11 - 2.6.27.19-5 (xen).dan root (hd0,0) kernel /xen-3.4.3-rc4-pre.gz crashkernel=3D128M@16M iommu=3D1 loglvl=3Dall guest_loglvl=3Dall console=3Dvga,com1 com1=3Dauto module /vmlinuz-2.6.27.19-5-xen.dan root=3D/dev/dm-5 resume=3D/dev/dm-2 splash=3Dsilent showopts console=3DttyS0,115200 quiet module /initrd-2.6.27.19-5-xen.dan so it should use the new hypervisor (xen-3.4.3-rc4-pre.gz) but the original SLES 11 kernel /vmlinuz-2.6.27.19-5-xen.dan ( the stock kernel with a couple of printks thrown in). This boots to the kernel, but then it locks up the machine when it tries to bring the networking up: Mounting local file systems... /proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) debugfs on /sys/kernel/debug type debugfs (rw) udev on /dev type tmpfs (rw) devpts on /dev/pts type devpts (rw,mode=3D0620,gid=3D5) /dev/mapper/ddf1_disk1_part1 on /boot type ext2 (rw,acl,user_xattr) /dev/mapper/ddf1_disk1_part3 on /temp type ext3 (rw,acl,user_xattr) done Setting current sysctl status from /etc/sysctl.conf done Enabling syn flood protection done Disabling IP forwarding done done Loading fuse module done Mounting fuse control filesystem done Activating remaining swap-devices in /etc/fstab... done Creating /var/log/boot.msg done Setting up linker cache (/etc/ld.so.cache) using ldconfig done ATTENTION: You have modified /etc/resolv.conf. Leaving it untouched... You can find my version in /etc/resolv.conf.netconfig ... ATTENTION: You have modified /etc/yp.conf. Leaving it untouched... You can find my version in /etc/yp.conf.netconfig ... Setting up hostname 'sunblade1' done Setting up NIS domainname 'adax.co.uk' done Setting up loopback interface lo lo IP address: 127.0.0.1/8 IP address: 127.0.0.2/8 Bridge firewalling registered After about 5 minutes of sitting there it crashed: BUG: unable to handle kernel NULL pointer dereference at 0000000000000008 IP: [] profile_pc+0x30/0x3d PGD 0 Oops: 0000 [1] SMP last sysfs file: /sys/devices/pci0000:00/0000:00:1e.0/0000:20:05.0/class CPU 0 Modules linked in: bridge(N) stp(N) fuse(N) ext2(N) loop(N) rtc_cmos(N) i2c= _i80) Supported: No Pid: 92, comm: kswapd0 Tainted: G 2.6.27.19-5-xen.dan #5 RIP: e030:[] [] profile_pc+0x30/0x3d RSP: e02b:ffffffff80783db8 EFLAGS: 00010002 RAX: 0000000000000000 RBX: ffffffff8049077c RCX: ffffffff8067e320 RDX: ffff880081fa5000 RSI: 0000000000000400 RDI: ffffffff8049077c RBP: ffffffff80783dc8 R08: 0000000000000c31 R09: ffff8803d8608878 R10: ffffffff80783d38 R11: 000000000000000c R12: ffff8803d860b838 R13: ffffffff80774020 R14: 00000000006187a6 R15: ffff880002719000 FS: 00007fde48ab66f0(0000) GS:ffffffff80785080(0000) knlGS:000000000000000= 0 CS: e033 DS: 0000 ES: 0000 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Process kswapd0 (pid: 92, threadinfo ffff8803d860a000, task ffff8803d860884= 0) Stack: ffff8803d860b838 0000000000000001 ffffffff80783de8 ffffffff8024da1a 0000000000000000 0000000000000020 ffffffff80783e98 ffffffff8020e987 ffffffff80490942 ffffffff806b7108 ffffffff807e9700 ffffffff80774000 Call Trace: [] profile_tick+0x5f/0x7d [] timer_interrupt+0x436/0x44a [] handle_IRQ_event+0x50/0x9c [] handle_percpu_irq+0x45/0x73 [] do_IRQ+0x4a/0x92 [] evtchn_do_upcall+0x1a9/0x275 [] do_hypervisor_callback+0x1e/0x30 [] _read_unlock_irqrestore+0x58/0x59 DWARF2 unwinder stuck at _read_unlock_irqrestore+0x58/0x59 Leftover inexact backtrace: [] ? dm_get_table+0x35/0x3d [dm_mod] [] ? __split_bio+0x1e/0x47f [dm_mod] [] ? __set_page_dirty_nobuffers+0x12/0x18d [] ? __mem_cgroup_uncharge_common+0x10/0x163 [] ? __dec_zone_state+0x9/0x77 [] ? _spin_lock_irq+0xc/0x71 [] ? __down_read+0x1a/0x120 [] ? mempool_alloc_slab+0x16/0x18 [] ? dm_request+0x13d/0x15f [dm_mod] [] ? generic_make_request+0x39c/0x3df [] ? bvec_alloc_bs+0x86/0xad [] ? bio_init+0xd/0x31 [] ? bio_alloc_bioset+0x50/0x97 [] ? _spin_lock_irqsave+0x12/0x96 [] ? submit_bio+0xcb/0xd4 [] ? swap_writepage+0xf6/0x103 [] ? shrink_page_list+0x37b/0x5f3 [] ? ptep_clear_flush_young+0x7c/0x8b [] ? __isolate_lru_page+0x9/0x62 [] ? isolate_lru_pages+0x166/0x210 [] ? shrink_inactive_list+0x1d0/0x51d [] ? shrink_zone+0x10b/0x12e [] ? kswapd+0x3f3/0x583 [] ? isolate_pages_global+0x0/0x39 [] ? autoremove_wake_function+0x0/0x3d [] ? kswapd+0x0/0x583 [] ? kthread+0x4e/0x7b [] ? child_rip+0xa/0x11 [] ? kthread+0x0/0x7b [] ? child_rip+0x0/0x11 Code: 54 53 e8 89 ca ff ff f6 87 88 00 00 00 03 48 8b 9f 80 00 00 00 49 89 = fc 7 RIP [] profile_pc+0x30/0x3d RSP CR2: 0000000000000008 ---[ end trace a2b3d37002a3cae5 ]--- Kernel panic - not syncing: Aiee, killing interrupt handler! ------------[ cut here ]------------ WARNING: at kernel/smp.c:331 smp_call_function_mask+0x5a/0x1e1() Modules linked in: bridge(N) stp(N) fuse(N) ext2(N) loop(N) rtc_cmos(N) i2c= _i80) Is there some difference in the network configuration or something that could cause this? thanks dan