Subject: File system panic - problem?
To: None <port-macppc@netbsd.org>
From: Donald Lee <MacPPC@caution.icompute.com>
List: port-macppc
Date: 07/09/2003 08:42:52
I got a file system panic on one of my machines yesterday.

This is the machine I hope to get into prooduction to replace
my PowerCenter 132 that has been crunching away faithfully for
about 30 months with nary a hiccup.

This machine is a Beige G3 with 2 Seagate Cuda's (80Gb) in it.  One
on the internal IDE bus, and the other is on a Sonnett ATA/133
card.

Relevant snippet from syslog:

Jul  4 00:17:46 grace /netbsd: wsmux1: connecting to wsdisplay0
Jul  4 00:17:46 grace /netbsd: scsibus0: waiting 2 seconds for devices to settle...
Jul  4 00:17:46 grace /netbsd: boot device: wd1
Jul  4 00:17:46 grace /netbsd: root on wd1a dumps on wd1b
Jul  4 00:17:46 grace /netbsd: root file system type: ffs
Jul  4 00:17:46 grace savecore: no core dump
Jul  4 00:17:46 grace named[100]: starting (/etc/named.conf).  named 8.3.4-REL-NOESW Tue Apr  8 14:44:20 UTC 2003       autobuild@tgm.daemon.org:/autobuild/netbsd-1-6/macppc/OBJ/autobuild/netbsd-1-6/src/usr.sbin/bind/named
Jul  4 00:17:46 grace named[100]: can't open '/etc/named.conf'
Jul  4 00:17:47 grace /netbsd: Accounting started
Jul  4 00:17:46 grace named[100]: can't open '/etc/named.conf'
Jul  4 00:17:48 grace ntpd[161]: ntpd 4.0.99i Tue Apr  8 14:48:33 UTC 2003 (1)
Jul  4 00:17:49 grace ntpd[161]: precision = 139 usec
Jul  4 00:17:49 grace ntpd[161]: frequency initialized -177.149 from /var/db/ntp.drift
Jul  4 00:20:00 grace /netbsd: wd0: transfer error, downgrading to Ultra-DMA mode 2
Jul  4 00:20:00 grace /netbsd: wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
Jul  4 00:20:00 grace /netbsd: wd0c: error reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
Jul  4 00:20:00 grace /netbsd: wd0: (aborted command, interface CRC error)
Jul  4 00:20:01 grace /netbsd: wd0: soft error (corrected)
Jul  4 00:22:24 grace ntpd[161]: time reset -0.856970 s
Jul  4 08:00:00 grace syslogd: restart
Jul  8 08:07:29 grace syslogd: restart
Jul  8 08:07:29 grace /netbsd: /: bad dir ino 17856 at offset 0: mangled entry
Jul  8 08:07:29 grace /netbsd: panic: bad dir
Jul  8 08:07:29 grace /netbsd: tlp0: receive ring overrun
Jul  8 08:07:29 grace /netbsd: syncing disks... rebooting
Jul  8 08:07:29 grace /netbsd:
Jul  8 08:07:29 grace /netbsd: NetBSD 1.6.1 (GENERIC) #0: Tue Apr  8 15:07:52 UTC 2003
Jul  8 08:07:29 grace /netbsd:     autobuild@tgm.daemon.org:/autobuild/netbsd-1-6/macppc/OBJ/autobuild/netbsd-1-6/src/sys/arch/macppc/compile/GENERIC
Jul  8 08:07:29 grace /netbsd: total memory = 288 MB
Jul  8 08:07:29 grace /netbsd: avail memory = 255 MB

inum 17856 is /usr/games - It is interesting that I accidentally
blew away /usr/bin, /usr/games, and much of /usr/include
with a rogue rdist.  I recovered them with a "cp -Rp" from
a backup FS.

Questions:

- Does this look familiar to anyone?

- Could the errors on wd0 be related to the FS panic?

Thanks for any help or suggestions.

-dgl-