Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 May 1995 13:50:02 -0700
From:      Heikki Suonsivu <hsu@clinet.fi>
To:        freebsd-bugs
Subject:   kern/374: Panic dump (this one is repeating 1-2 times a day, more pointers)
Message-ID:  <199505012050.NAA05390@freefall.cdrom.com>
In-Reply-To: Your message of Mon, 1 May 1995 23:44:08 %2B0300 <199505012044.XAA04090@katiska.clinet.fi>

next in thread | previous in thread | raw e-mail | index | archive | help

>Number:         374
>Category:       kern
>Synopsis:       panic: bad dir
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs (FreeBSD bugs mailing list)
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon May  1 13:50:01 1995
>Originator:     Heikki Suonsivu
>Organization:
Helsinki University of Technology, Finland
>Release:        FreeBSD 2.1.0-Development i386
>Environment:

	P60 as an nntp server in addition to normal work:

/m/katiska/news: bad dir ino 264166 at offset 4080: mangled entry
panic: bad dir
 
syncing disks... 36 35 32 23 10 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 giving up
 
dumping to dev 401, offset 344064
dump 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 
6 5 4 3 2 1 katiska/news: file system full

The file system was full at the time but I have seen the same panic with space available on disk.

This dump is from kernel a few days back.  Userland is older.

Just wondering what is a 53-MHz Pentium 510?  The motherboard is made
by MSI, CPU was swapped a week ago to bugfree version (but it didn't
affect this problem).

 > May  1 22:15:34 katiska /kernel: FreeBSD BUILT-19950428 #0: Fri Apr 28 18:58:31 
 > EET DST 1995
 > May  1 22:15:35 katiska /kernel:     hsu@katiska.clinet.fi:/usr/current/src/sys/
 > compile/CLINETSERVER
 > May  1 22:15:35 katiska /kernel: CPU: 53-MHz Pentium 510\60 or 567\66 (Pentium-c
 > lass CPU)
 > May  1 22:15:35 katiska /kernel:   Origin = "GenuineIntel"  Id = 0x517  Stepping
 > =7
 > May  1 22:15:35 katiska /kernel:   Features=0x1bf<FPU,VME,PSE,MCE,CX8,APIC>
 > May  1 22:15:35 katiska /kernel: real memory  = 33161216 (8096 pages)
 > May  1 22:15:35 katiska /kernel: avail memory = 30236672 (7382 pages)
 > May  1 22:15:35 katiska /kernel: Probing for devices on the ISA bus:
 > May  1 22:15:35 katiska /kernel: sc0 at 0x60-0x6f irq 1 on motherboard
 > May  1 22:15:35 katiska /kernel: sc0: VGA color <16 virtual consoles, flags=0x0>
 > May  1 22:15:35 katiska /kernel: ed0 at 0x280-0x29f irq 5 on isa
 > May  1 22:15:35 katiska /kernel: ed0: address 00:4f:56:00:93:c4, type NE2000 (16
 >  bit) 
 > May  1 22:15:35 katiska /kernel: bpf: ed0 attached
 > May  1 22:15:35 katiska /kernel: lpt0 not found at 0x3bc
 > May  1 22:15:35 katiska /kernel: sio0 at 0x3f8-0x3ff irq 4 on isa
 > May  1 22:15:36 katiska /kernel: sio0: type 16450
 > May  1 22:15:36 katiska /kernel: sio1 not found at 0x2f8
 > May  1 22:15:36 katiska /kernel: sio2 not found at 0x3e8
 > May  1 22:15:36 katiska /kernel: sio3 not found at 0x2e8
 > May  1 22:15:36 katiska /kernel: pca0 on isa
 > May  1 22:15:36 katiska /kernel: pca0: PC speaker audio driver
 > May  1 22:15:36 katiska /kernel: bt0: Bt946C/ 0-PCI/EISA/VLB(32bit) bus
 > May  1 22:15:36 katiska /kernel: bt0: reading board settings, busmastering, int=
 > 11
 > May  1 22:15:36 katiska /kernel: bt0: version 4.23, sync, parity, 32 mbxs, 32 cc
 > bs
 > May  1 22:15:36 katiska /kernel: bt0: targ 0 sync rate=10.00MB/s(100ns), offset=
 > 15
 > May  1 22:15:36 katiska /kernel: bt0: targ 1 sync rate=10.00MB/s(100ns), offset=
 > 15
 > May  1 22:15:36 katiska /kernel: bt0: targ 3 sync rate=10.00MB/s(100ns), offset=
 > 15
 > May  1 22:15:36 katiska /kernel: bt0: Enabling Round robin scheme
 > May  1 22:15:36 katiska /kernel: bt0 at 0x330 irq 11 on isa
 > May  1 22:15:36 katiska /kernel: bt0 waiting for scsi devices to settle
 > May  1 22:15:36 katiska /kernel: (bt0:0:0): "IBM 0662S12       !O 2 23" type 0 f
 > ixed SCSI 2
 > May  1 22:15:36 katiska /kernel: sd0(bt0:0:0): Direct-Access 1003MB (2055035 512
 >  byte sectors)
 > May  1 22:15:37 katiska /kernel: (bt0:1:0): "SEAGATE ST32550N 0012" type 0 fixed
 >  SCSI 2
 > May  1 22:15:37 katiska /kernel: sd1(bt0:1:0): Direct-Access 2047MB (4194058 512
 >  byte sectors)
 > May  1 22:15:37 katiska /kernel: (bt0:3:0): "SEAGATE ST31200N 9348" type 0 fixed
 >  SCSI 2
 > May  1 22:15:37 katiska /kernel: sd3(bt0:3:0): Direct-Access 1011MB (2072435 512
 >  byte sectors)
 > May  1 22:15:37 katiska /kernel: aha0 not probed due to I/O address conflict wit
 > h bt0 at 0x330
 > May  1 22:15:37 katiska /kernel: wdc0 not found at 0x1f0
 > May  1 22:15:37 katiska /kernel: wdc1 not found at 0x170
 > May  1 22:15:37 katiska /kernel: fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
 > May  1 22:15:37 katiska /kernel: fdc0: NEC 765
 > May  1 22:15:37 katiska /kernel: fd0: 1.44MB 3.5in
 > May  1 22:15:37 katiska /kernel: mcd0: timeout getting status
 > May  1 22:15:37 katiska /kernel: mcd0 not found at 0x300
 > May  1 22:15:37 katiska /kernel: le0: no board found at 0x300
 > May  1 22:15:37 katiska /kernel: le0 not found at 0x300
 > May  1 22:15:37 katiska /kernel: npx0 on motherboard
 > May  1 22:15:38 katiska /kernel: npx0: INT 16 interface
 > May  1 22:15:38 katiska /kernel: matcd0 not found at 0xffffffff
 > May  1 22:15:38 katiska /kernel: matcd1 not found at 0xffffffff
 > May  1 22:15:38 katiska /kernel: matcd2 not found at 0xffffffff
 > May  1 22:15:38 katiska /kernel: matcd3 not found at 0xffffffff
 > May  1 22:15:38 katiska /kernel: bio_imask c0000840 tty_imask c0030032 net_imask
 >  c0030032
 > May  1 22:15:38 katiska /kernel: Probing for devices on the pci0 bus:
 > May  1 22:15:38 katiska /kernel:        configuration mode 2 allows 16 devices.
 > May  1 22:15:38 katiska /kernel: pci0:0: vendor=0x10b9, device=0x1451, class=bri
 > dge [not supported]
 > May  1 22:15:38 katiska /kernel: pci0:2: vendor=0x10b9, device=0x1449, class=old
 >  [not supported]
 > May  1 22:15:38 katiska /kernel: pci0:3: vendor=0x104b, device=0x1040, class=sto
 > rage [not supported]
 > May  1 22:15:38 katiska /kernel:        map(10): io(ffe4)
 > May  1 22:15:38 katiska /kernel: changing root device to sd0a
 > May  1 22:15:38 katiska /kernel: sd0s1: type 0xa5, start 0, end = 2055034, size 
 > 2055035 : OK
 > May  1 22:15:38 katiska /kernel: sd1s1: type 0xa5, start 0, end = 4194057, size 
 > 4194058 : OK
 > May  1 22:15:38 katiska /kernel: sd3s1: type 0xa5, start 0, end = 2072434, size 
 > 2072435 : OK
 > May  1 22:15:39 katiska /kernel: sd0s1: type 0xa5, start 0, end = 2055034, size 
 > 2055035 : OK
 > May  1 22:15:39 katiska /kernel: bpf: ds0 attached
 > May  1 22:15:39 katiska /kernel: bpf: lo0 attached
 > May  1 22:15:39 katiska /kernel: bpf: ppp0 attached
 > May  1 22:15:39 katiska /kernel: bpf: ppp1 attached
 > May  1 22:15:39 katiska /kernel: bpf: ppp2 attached
 > May  1 22:15:39 katiska /kernel: bpf: ppp3 attached
 > May  1 22:15:39 katiska /kernel: bpf: ppp4 attached
 > May  1 22:15:39 katiska /kernel: bpf: ppp5 attached
 > May  1 22:15:39 katiska /kernel: bpf: ppp6 attached
 > May  1 22:15:39 katiska /kernel: bpf: ppp7 attached
 > May  1 22:15:39 katiska /kernel: bpf: ppp8 attached
 > May  1 22:15:39 katiska /kernel: bpf: ppp9 attached
 > May  1 22:15:39 katiska /kernel: bpf: ppp10 attached
 > May  1 22:15:39 katiska /kernel: bpf: ppp11 attached
 > May  1 22:15:39 katiska /kernel: bpf: ppp12 attached
 > May  1 22:15:39 katiska /kernel: bpf: ppp13 attached
 > May  1 22:15:40 katiska /kernel: bpf: ppp14 attached
 > May  1 22:15:40 katiska /kernel: bpf: ppp15 attached
 > May  1 22:15:40 katiska /kernel: bpf: ppp16 attached
 > May  1 22:15:40 katiska /kernel: bpf: ppp17 attached
 > May  1 22:15:40 katiska /kernel: bpf: ppp18 attached
 > May  1 22:15:40 katiska /kernel: bpf: ppp19 attached
 > May  1 22:15:40 katiska /kernel: bpf: ppp20 attached
 > May  1 22:15:40 katiska /kernel: bpf: ppp21 attached
 > May  1 22:15:40 katiska /kernel: bpf: ppp22 attached
 > May  1 22:15:40 katiska /kernel: bpf: ppp23 attached
 > May  1 22:15:40 katiska /kernel: bpf: ppp24 attached
 > May  1 22:15:40 katiska /kernel: bpf: ppp25 attached
 > May  1 22:15:40 katiska /kernel: bpf: ppp26 attached
 > May  1 22:15:40 katiska /kernel: bpf: ppp27 attached
 > May  1 22:15:40 katiska /kernel: bpf: ppp28 attached
 > May  1 22:15:40 katiska /kernel: bpf: ppp29 attached
 > May  1 22:15:40 katiska /kernel: bpf: ppp30 attached
 > May  1 22:15:41 katiska /kernel: bpf: ppp31 attached
 > May  1 22:15:41 katiska /kernel: bpf: sl0 attached
 > May  1 22:15:41 katiska /kernel: bpf: sl1 attached
 > May  1 22:15:41 katiska /kernel: bpf: sl2 attached
 > May  1 22:15:41 katiska /kernel: bpf: sl3 attached
 > May  1 22:15:41 katiska /kernel: bpf: sl4 attached
 > May  1 22:15:41 katiska /kernel: bpf: sl5 attached
 > May  1 22:15:41 katiska /kernel: bpf: sl6 attached
 > May  1 22:15:41 katiska /kernel: bpf: sl7 attached
 > May  1 22:15:41 katiska /kernel: bpf: sl8 attached
 > May  1 22:15:41 katiska /kernel: bpf: sl9 attached
 > May  1 22:15:41 katiska /kernel: bpf: sl10 attached
 > May  1 22:15:41 katiska /kernel: bpf: sl11 attached
 > May  1 22:15:41 katiska /kernel: bpf: sl12 attached
 > May  1 22:15:41 katiska /kernel: bpf: sl13 attached
 > May  1 22:15:41 katiska /kernel: bpf: sl14 attached
 > May  1 22:15:41 katiska /kernel: bpf: sl15 attached
 > May  1 22:15:42 katiska /kernel: bpf: tun0 attached
 > May  1 22:15:42 katiska /kernel: sd0s1: type 0xa5, start 0, end = 2055034, size 
 > 2055035 : OK
 > May  1 22:15:42 katiska /kernel: WARNING: / was not properly dismounted
 > May  1 22:15:42 katiska /kernel: sd3s1: type 0xa5, start 0, end = 2072434, size 
 > 2072435 : OK
 > May  1 22:15:42 katiska /kernel: sd1s1: type 0xa5, start 0, end = 4194057, size 
 > 4194058 : OK
 > May  1 22:15:42 katiska /kernel: sd1s1: type 0xa5, start 0, end = 4194057, size 
 > 4194058 : OK
 > May  1 22:15:43 katiska savecore: reboot after panic: bad dir
 > May  1 22:15:44 katiska savecore: writing core to /var/crash/vmcore.12
 > May  1 22:16:26 katiska savecore: writing kernel to /var/crash/kernel.12

hsu#katiska.clinet.fi Mon 17: mount
/dev/sd0a on / (local)
/dev/sd0g on /usr (NFS exported, local)
procfs on /proc (local)
/dev/sd1g on /m/katiska/news (asynchronous, NFS exported, local)
/dev/sd3a on /tmp (local)
/dev/sd3f on /m/katiska/newvar (local)
/dev/sd3g on /m/katiska/local (NFS exported, local)
zetor.clinet.fi:/usr on /m/zetor/usr
zetor.clinet.fi:/m/zetor/local on /m/zetor/local
zetor.clinet.fi:/m/zetor/scratch on /m/zetor/scratch
zetor.clinet.fi:/m/zetor/contrib on /m/zetor/contrib
zetor.clinet.fi:/m/zetor/customer on /m/zetor/customer
clinet.fi:/m/clinet/local on /m/clinet/local
clinet.fi:/m/clinet/bc on /m/clinet/bc
clinet.fi:/var on /m/clinet/var

Notice that the news spool disk on which bad dir panic always happens is mounted with -o async.

>Description:

	About twice a day on average the system panics with bad dir
panic.  This is quite repeatable, as it generates the panics every
day.  This has been continuing for all kernels I have supped and
configured for the last month, so it seems that this has something to
do with my environment, either running NNTP server (INN) or mounting
news spool with -o async.

fsck doesn't find anything wrong with the file system when it boots.

I keep a couple of latest dumps always on-line.  I can make them
available by ftp if there is interest.

>How-To-Repeat:

	

>Fix:
	
	Don't know, but it seems to be repeatable enough that it could
be easier to catch (I think I have filed one pr about this already).

Anyone tried lfs, is it stable yet?  Anyone working on ext2fs?

>Audit-Trail:
>Unformatted:





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199505012050.NAA05390>