Subject: ffs corruption
To: None <port-sparc64@netbsd.org>
From: Grant Beattie <grant@grunta.com>
List: port-sparc64
Date: 10/17/2001 11:32:11
Just attempted to boot my U10 after not using it for a few weeks..

root on wd1a dumps on wd1b     
WARNING: clock gained 15 days -- CHECK AND RESET THE DATE!
root file system type: ffs
<hang>

I couldn't even break to the PROM. Next boot:

root on wd1a dumps on wd1b     
WARNING: clock gained 15 days -- CHECK AND RESET THE DATE!
root file system type: ffs                                
/: bad dir ino 2 at offset 12: mangled entry
panic: bad dir                              
kdb breakpoint at 131cd70
Stopped in pid 1 (init) at      cpu_Debugger+0x4:       nop
db> trace      
ufs_dirbad(8ffa000, c, 13a26e8, c, 2, 183fc00) at ufs_dirbad+0x40
ufs_lookup(0, 0, 2, 13a26e8, 200, 18124f0) at ufs_lookup+0x304   
VOP_LOOKUP(8ff8400, 8fe3c80, 8fe3ca8, 900c005, 1, 187aa70) at VOP_LOOKUP+0x30
lookup(14, 0, 8ff8400, 8fe3c90, 0, 900c000) at lookup+0x330                  
namei(0, 8008, 8fe6000, 187b328, 0, 4e68000) at namei+0x2f0
check_console(8fe4000, 1898800, 138a588, 0, 0, 187aa30) at check_console+0x38
start_init(8fe4000, 0, 8fe3de0, 8fe3df0, 8fe3dd1, 0) at start_init+0x94      
proc_trampoline(0, 0, 0, 0, 0, 0) at proc_trampoline+0x4               

And then:

root on wd1a dumps on wd1b     
WARNING: clock gained 15 days -- CHECK AND RESET THE DATE!
root file system type: ffs                                
Oct 17 11:09:58 init: can't exec /bin/sh for /etc/rc: Exec format error
<hang>

I'm pretty sure that file system is hosed now, but I'll have to
netboot and make sure.

:(

g.