NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/41442: kernel panic ufsdirhash_lookup: bad offset in hash array

>Number:         41442
>Category:       kern
>Synopsis:       kernel panic ufsdirhash_lookup: bad offset in hash array
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat May 16 12:15:01 +0000 2009
>Originator:     Onno van der Linden
>Release:        5.99.11
NetBSD sheep 5.99.11 NetBSD 5.99.11 (GENERIC) #0: Wed May  6 15:59:23 MEST 2009 
 onno@sheep:/usr/src/sys/arch/i386/compile/GENERIC i386
Kernel crash at 3:16AM. Just after /etc/daily gets started from root's crontab 
and with one
(completed) torrent still serving client connections. 

# crash -M netbsd.0.core
Crash version 5.99.11, image version 5.99.11.
System panicked: ufsdirhash_lookup: bad offset in hash array
Backtrace from time of crash is available.
_KERNEL_OPT_NAPMBIOS(0,104,c04737b6,104,1,cb83a388,c05863d8,104,0,c09413c0) at 0

 at 0xcb83a434
panic(c091a2d4,0,cb83a434,c05babc3,e3,cc367008,6,a,40000040,15e3) at 0xc05863d8
trap() at 0xc05ba399
--- trap (number 6) ---
db_read_bytes(25dc,4,cb83a4a4,c011d4df,83a4b8,0,0,cb83a994,cb83a994,0) at 0xc024
db_get_value(25dc,4,0,0,1934e00,0,ce2b994c,14e04d3,c0941408,c09413c0) at 0xc023d
0,cb8ade54,2) at 0xc0243c78
ffffffff) at 0xc05863aa
8addb4) at 0xc0af413d
ac18,cb83ab2c) at 0xc0af71bc
VOP_LOOKUP(cd4a1734,cb83ac04,cb83ac18,cb83abf0,20,0,0,0,cb83ac18,cc49d320) at 0x
lookup(cb83abf0,20002,400,cb83ac0c,1,f17aeb9a,cb83ac0c,c04e04d3,0,cc74f000) at 0
namei(cb83abf0,0,cb83ac3c,c0647af9,0,0,cc1643b0,bb90e2b4,0,0) at 0xc0640b49
1000) at 0xc0647b08
bfbfebb4,bfbfec48) at 0xc0647b9f
syscall(cb83ad48,b3,ab,1f,1f,3,1,bfbfec48,bb90e2b4,bb90e2b4) at 0xc0599999

Crash dump and kernel available for examination

This is on
cpu0 at mainbus0 apid 0: Intel 686-class, 2289MHz, id 0xf24
ioapic0 at mainbus0 apid 2: pa 0xfec00000, version 20, 24 pins
acpi0 at mainbus0: Intel ACPICA 20080321
acpi0: X/RSDT: OemId <ASUS  ,P4B533  ,42302e31>, AslId <MSFT,31313031>
with wm(4) and wd(4) for network and disk I/O.

I've seen *exactly* the same crash with the same kernel on a very old
compaq DL-360 (2 CPU, 800MHz) which also had high network and
disk activity at the same time. This machine used ld(4) and fxp(4) for
network and disk I/O

Combination of high network I/O in combination with high disk activity
seems to do the trick.
No fix known. Maybe related to kern/33630 ? pool code corrupting other kernel 
structures ?

Home | Main Index | Thread Index | Old Index