From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Luck Subject: Re: linux-next: powerpc boot failure Date: Thu, 8 Apr 2010 11:55:34 -0700 Message-ID: References: <20100408165848.38f75f40.sfr@canb.auug.org.au> <4BBD81B3.3030500@iki.fi> <20100408172316.e6ee451d.sfr@canb.auug.org.au> <4BBD85ED.4090209@iki.fi> <20100408174549.2f45ceea.sfr@canb.auug.org.au> <4BBD966D.8020404@iki.fi> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Stephen Rothwell , David Miller , netdev@vger.kernel.org, linux-next@vger.kernel.org, LKML To: =?ISO-8859-1?Q?Timo_Ter=E4s?= Return-path: In-Reply-To: <4BBD966D.8020404@iki.fi> Sender: linux-next-owner@vger.kernel.org List-Id: netdev.vger.kernel.org I'm seeing an oops in the same routine on ia64 built from next-20100408 My setup is a SLES11 installation. next-20100407 booted with no proble= ms. I'm also clueless about xfrm_policy. Here's an abbreviated copy of the first (of several) oops. The code dereferences a bad pointer: Unable to handle kernel paging request at virtual address 480cb78f00000= 024 mount.nfs[7289]: Oops 8821862825984 [1] Modules linked in: nfs lockd auth_rpcgss sunrpc binfmt_misc loop dm_mod sr_mod usb_storage sg button container usbhid uhci_hcd ehci_hcd usbcore fan processor thermal thermal_sys Pid: 7289, CPU 16, comm: mount.nfs psr : 0000101008526030 ifs : 8000000000000e22 ip : [] Not tainted (2.6.34-rc3-generic-smp-next-20100408) ip is at __xfrm_lookup+0x650/0x760 Call Trace: [] show_stack+0x50/0xa0 [] show_regs+0x820/0x860 [] die+0x1a0/0x300 [] ia64_do_page_fault+0x8c0/0x9e0 [] ia64_native_leave_kernel+0x0/0x270 [] __xfrm_lookup+0x650/0x760 [] ip_route_output_flow+0xf0/0x480 [] ip4_datagram_connect+0x330/0x5e0 [] inet_dgram_connect+0x140/0x180 [] sys_connect+0xf0/0x1a0 [] ia64_ret_from_syscall+0x0/0x20 [] __kernel_syscall_via_break+0x0/0x20 I tried the patch you just posted. Compiling with it gave this warning= : net/xfrm/xfrm_policy.c: In function =91__xfrm_lookup=92: net/xfrm/xfrm_policy.c:1735: warning: =91num_xfrms=92 may be used uninitialized in this function but the patched kernel booted ok. -Tony