From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 28 May 2001 04:52:13 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 28 May 2001 04:52:03 -0400 Received: from twilight.cs.hut.fi ([130.233.40.5]:31822 "EHLO twilight.cs.hut.fi") by vger.kernel.org with ESMTP id ; Mon, 28 May 2001 04:51:43 -0400 Date: Mon, 28 May 2001 11:51:26 +0300 From: Ville Herva To: linux-kernel@vger.kernel.org Cc: alan@lxorguk.ukuu.org.uk Subject: Re: initrd oops; still happens with 2.4.5ac2 Message-ID: <20010528115125.O11981@niksula.cs.hut.fi> In-Reply-To: <20010526225825.A31713@lightning.swansea.linux.org.uk> <20010527192650.H11981@niksula.cs.hut.fi> <20010528001220.M11981@niksula.cs.hut.fi> <20010528102551.N11981@niksula.cs.hut.fi> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010528102551.N11981@niksula.cs.hut.fi>; from vherva@niksula.hut.fi on Mon, May 28, 2001 at 10:25:51AM +0300 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 28, 2001 at 10:25:51AM +0300, [Ville Herva] claimed: > On Mon, May 28, 2001 at 12:12:20AM +0300, [Ville Herva] claimed: > > On Sun, May 27, 2001 at 07:26:50PM +0300, [Ville Herva] claimed: > > > > > > I have a reproducible oops on 2.4.4ac17 at initrd unmount (see > > > http://marc.theaimsgroup.com/?l=linux-kernel&m=99079948404775&w=2 for > > > details) that seems to be related: > > > > Ok, some more info: > > > > 2.4.2-2 (redhat) BOOTS OK > > 2.4.4ac17 OOPS > > 2.4.4ac17+av OOPS > > 2.4.5 OOPS > > 2.4.5ac1+av OOPS > > 2.4.4 BOOTS OK > > 2.4.4ac9 BOOTS OK > > 2.4.4ac10 BOOTS OK > > 2.4.4ac11 BOOTS OK > > 2.4.4ac12 fails to mount root ("Checking root filesystem. > > /dev/sdb is mounted.") > > 2.4.4ac14 fails to mount root > > 2.4.4ac15 OOPS > > 2.4.5ac2 OOPS Here is the ksymoops output for the 2.4.5ac2 initrd umount OOPS: ---------------------------------------------------------------------------- ksymoops 2.4.1 on i686 2.4.4-ac11. Options used -v vmlinux (specified) -K (specified) -l /proc/modules (default) -O (specified) -m ./System.map (specified) No ksyms, skipping lsmod Trying to unmount old root ... <1>Unable to handle kernel NULL pointer dereference at virtual address 0000001e c0199a96 *pde = 00000000 Oops: 0000 CPU: 0 EIP: 0010:[] Using defaults from ksymoops -t elf32-i386 -a i386 EFLAGS: 00010202 eax: 0000000e ebx: 00001261 ecx: 00000000 edx: cfff5d64 esi: 00000000 edi: c15dc4a0 ebp: c15d5160 esp: cfff5d44 ds: 0018 es: 0018 ss: 0018 Process swapper (pid: 1, stackpage=cfff5000) Stack: cfff4000 ffffffff c15dc4a0 c0136427 cfff5d64 00000000 00001261 00000000 c15edc00 00000000 00000046 c1462000 c01be02a c1462000 00000046 00000246 c0267b20 c1467f60 c15edc00 c01ae171 c15edc00 00000246 00000100 c15edc00 Call Trace: [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] Code: 8b 40 10 83 f8 02 7e 62 b8 f0 ff ff ff eb 74 85 c9 b8 ea ff >>EIP; c0199a96 <===== Trace; c0136427 Trace; c01be02a Trace; c01ae171 Trace; c01b488c Trace; c0112600 Trace; c011b230 Trace; c011b543 Trace; c011b0e6 Trace; c011b2f4 Trace; c011867c Trace; c0118586 Trace; c011848b Trace; c0133106 Trace; c0122d15 Trace; c014170b Trace; c0142bb1 Trace; c0136621 Trace; c01347ec Trace; c0105000 Trace; c01177d6 Trace; c0105000 Trace; c01051da Trace; c010520e Trace; c0105000 Trace; c01056a6 Trace; c0105200 Code; c0199a96 00000000 <_EIP>: Code; c0199a96 <===== 0: 8b 40 10 mov 0x10(%eax),%eax <===== Code; c0199a99 3: 83 f8 02 cmp $0x2,%eax Code; c0199a9c 6: 7e 62 jle 6a <_EIP+0x6a> c0199b00 Code; c0199a9e 8: b8 f0 ff ff ff mov $0xfffffff0,%eax Code; c0199aa3 d: eb 74 jmp 83 <_EIP+0x83> c0199b19 Code; c0199aa5 f: 85 c9 test %ecx,%ecx Code; c0199aa7 11: b8 ea ff 00 00 mov $0xffea,%eax <0>Kernel panic: Attempted to kill init! ---------------------------------------------------------------------------- And here is another ksymoopsed OOPS with the same kernel, but booting from /dev/sdc (on megaraid) with grub: ---------------------------------------------------------------------------- ksymoops 2.4.1 on i686 2.4.4-ac11. Options used -v vmlinux (specified) -K (specified) -l /proc/modules (default) -O (specified) -m ./System.map (specified) No ksyms, skipping lsmod Unable to handle kernel NULL pointer dereference at virtual address 0000001f c014259a *pde = 00000000 Oops: 0000 CPU: 0 EIP: 0010:[] Using defaults from ksymoops -t elf32-i386 -a i386 EFLAGS: 00010202 eax: 00000000 ebx: ffffffff ecx: 0000ffff edx: 00000000 esi: ffffffff edi: 00000001 ebp: f7fbec80 esp: c026ff10 ds: 0018 es: 0018 ss: 0018 Process swapper (pid: 0, stackpage=c026f000) Stack: c025b3c0 f7fbec80 00000001 c1eef000 c0142995 c1eef000 00000001 f7fbec80 00000000 00000000 00000005 c1eef000 c012a492 00000007 c025b3c0 00000001 00000000 c025b300 c0145c60 c1eef000 00000001 00000000 00000000 c1eef000 Call Trace: [] [] [] [] [] [] [] [] Code: 39 7e 20 75 f1 8b 44 24 14 39 86 90 00 00 00 75 e5 8b 54 24 >>EIP; c014259a <===== Trace; c0142995 Trace; c012a492 <__alloc_pages+62/230> Trace; c0145c60 Trace; c0145d4c Trace; c01343e2 Trace; c01348ff Trace; c0105000 Trace; c0100197 Code; c014259a 00000000 <_EIP>: Code; c014259a <===== 0: 39 7e 20 cmp %edi,0x20(%esi) <===== Code; c014259d 3: 75 f1 jne fffffff6 <_EIP+0xfffffff6> c0142590 Code; c014259f 5: 8b 44 24 14 mov 0x14(%esp,1),%eax Code; c01425a3 9: 39 86 90 00 00 00 cmp %eax,0x90(%esi) Code; c01425a9 f: 75 e5 jne fffffff6 <_EIP+0xfffffff6> c0142590 Code; c01425ab 11: 8b 54 24 00 mov 0x0(%esp,1),%edx <0>Kernel panic: Attempted to kill the idle task! ---------------------------------------------------------------------------- The bootlog for initrd umount case is at http://v.iki.fi/~vherva/tmp/bootlog.initrd the corresponding ksymoops: http://v.iki.fi/~vherva/tmp/ksymoops-initrd and the same for the grub: http://v.iki.fi/~vherva/tmp/bootlog.grub http://v.iki.fi/~vherva/tmp/ksymoops-grub and the .config for both: http://v.iki.fi/~vherva/tmp/.config Note that 2.4.4 and 2.4.2-2 boot ok in both cases. -- v -- v@iki.fi