Subject: UFSDIRHASH related panic
To: None <>
From: Denis Lagno <>
List: current-users
Date: 06/19/2005 14:45:40
I started moving some dir from one FS to another.
Both filesystems are FFS, mounted with softdeps.  kernel is built with option UFSDIRHASH.
Machine is laptop with disk write cache enabled.
Then I forgot about batteries and power lost.  After that all filesystems were successfully fsck'ed.

Then I tried to rsync half-copied directories.
And kernel panics:

panic: ufsdirhash_findslot: 'opr00PMS.jpg' not found
Stopped in pid 447.1 (rsync) at netbsd: cpu_Debugger+0x1: ret

db> bt
uvm_fault(0xca5e8e00, 0, 0, 1) -> 0xe
kernel: page fault trap, code=0
Faulted in DDB: continuing

The panic is reproducible on this disk.