Received: by oss.sgi.com id ; Thu, 30 Nov 2000 16:55:13 -0800 Received: from deliverator.sgi.com ([204.94.214.10]:44079 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Thu, 30 Nov 2000 16:54:51 -0800 Received: from zeus-fddi.americas.sgi.com (zeus-fddi.americas.sgi.com [128.162.8.103]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id QAA17803 for ; Thu, 30 Nov 2000 16:54:50 -0800 (PST) mail_from (cattelan@thebarn.com) Received: from daisy-e185.americas.sgi.com (daisy.americas.sgi.com [128.162.185.214]) by zeus-fddi.americas.sgi.com (8.9.3/americas-smart-nospam1.1) with ESMTP id SAA7728723; Thu, 30 Nov 2000 18:52:18 -0600 (CST) Received: from gibble.americas.sgi.com (gibble.americas.sgi.com [128.162.195.80]) by daisy-e185.americas.sgi.com (SGI-8.9.3/SGI-server-1.7) with ESMTP id SAA14969; Thu, 30 Nov 2000 18:52:18 -0600 (CST) Received: from thebarn.com (localhost [127.0.0.1]) by gibble.americas.sgi.com (8.11.0/8.10.1) with ESMTP id eB10qHj28517; Thu, 30 Nov 2000 18:52:17 -0600 Message-ID: <3A26F641.45226EF7@thebarn.com> Date: Thu, 30 Nov 2000 18:52:17 -0600 From: Russell Cattelan X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.4.0-whipme11 i686) X-Accept-Language: en MIME-Version: 1.0 To: utz lehmann CC: linux-xfs@oss.sgi.com Subject: Re: kernelcrash during root filesystem recovery References: <20001130202247.A24118@s2y4n2c.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-linux-xfs@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-xfs-outgoing utz lehmann wrote: Hmm not good. We are going to need a bit more go to on. Can you get a backtrace from kdb? If you could hook up to a serial console that would help in capturing the output. > hi > > i found a bug in yesterdays (2000-11-29) kernel (the test11 one). > > i had powered off my computer without a clean shutdown. i do this very > often, no problems since month with xfs. > > the kernel traped into kdb while recovering the xfs root filesystem. i write > the messages down from the screen, maybe there are typos: > > XFS: WARNING: recovery required on readonly filesystem. > > XFS: write access will be enabled recovery. > > Staring XFS recovery on filesystem: ide0 (3,6) (dev:3/6) > Unable to handle kernel NULL pointer dereference at virtual address 00000008 > printing eip: > c016482b > *pde = 00000000 > > Entering kdb (currect=0xc125c000, pid1) Panic: Oops > due to panic @ 0xc016482b > eax = 0x00000000 ebx = 0xc12c3460 ecx = 0xc12c3460 edx = 0x00000000 > esi = 0xc12c0e60 edi = 0x00000000 esp = 0xc125d940 eip = 0xc016482b > ebp = 0x00000000 xss = 0x00000018 xcs = 0x00000010 eflags = 0x00010246 > xds = 0x00000018 xes = 0x00000018 origeax = 0xffffffff ®s = 0xc125d90c > > i rebooted the machine with the same result. > rebooting with a kernel from 2000-11-14 works with no problems. > > i made some tests with the buggy kernel: > > clean shutdown works. > hardreset after "sync" works. > hardreset after booting without sync works. > hardreset during booting works. > hardreset during writing (cp -av /usr/src/linux /tmp) triggers the bug. > 4 times it traped into kdb, 1 time the kernel hangs. > > booting with the older kernel always works. > > my system: > K6-500, 128MB > xfs root filesystem on a ide disk. > > hope that helps. > > utz