Subject: pnozz panic fix, please!
To: None <port-sparc@netbsd.org>
From: Markus W Kilbinger <kilbi@rad.rwth-aachen.de>
List: port-sparc
Date: 10/27/2001 13:57:20
Hi!

Could somebody fix this bug

  http://www.NetBSD.org/cgi-bin/query-pr-single.pl?number=14213

please! It seems to be similar to the one with le device after the
pmap changes. The latter is already fixed.

In addition to my bug report I (only) can present a more detailed
panic message:

[...]
iommu0 at mainbus0 addr 0x10000000: version 0x4/0x0, page-size 4096, range 64MB
sbus0 at iommu0: clock = 21.250 MHz
pnozz0 at sbus0 slot 0 offset 0x8000000 level 2data fault: pc=0xf018016c addr=0x4 sfsr=126<PERR=0,LVL=1,AT=1,FT=1,FAV,OW>
panic: kernel fault
Stopped in pid 0 (swapper) at   cpu_Debugger+0x4:       jmpl            [%o7 + 0x8], %g0
db> t
mem_access_fault4m(0x9, 0x126, 0x4, 0xf0210d40, 0x0, 0x2) at mem_access_fault4m+0x324
memfault_sun4m(0xf0412000, 0x4, 0x0, 0x38002000, 0x2000, 0x2) at memfault_sun4m+0x14c
p9100_sbus_attach(0xf03f0a80, 0xf0412000, 0xf0210f40, 0xf017fa34, 0xf03ebbec, 0xf03ebbf0) at p9100_sbus_attach+0x244
config_attach(0xf0412000, 0xf02127c8, 0xf0210f40, 0x0, 0xf03f0a80, 0xf0212c00) at config_attach+0x364
config_found_sm(0xf03f0a80, 0xf0210f40, 0xf01804e8, 0x0, 0xf0210f40, 0x0) at config_found_sm+0x24
sbus_attach_common(0xf03f0a80, 0xf01ec4e8, 0x0, 0x0, 0xf0219400, 0x2) at sbus_attach_common+0x204
sbus_attach_iommu(0xf03f0b00, 0xf03f0a80, 0xf0211138, 0xf01806ac, 0xf03ebc1c, 0xconfig_attach(0xf03f0a80, 0xf02127c8, 0xf0211138, 0x0, 0xf03f0b00, 0xf0212c00) at config_attach+0x364
config_found_sm(0xf03f0b00, 0xf0211138, 0xf017547c, 0x0, 0xf0211148, 0xf021ec00) at config_found_sm+0x24
iommu_attach(0xf01ea400, 0xf03f0b00, 0xf0211308, 0xf01754c4, 0xf03ebc3c, 0xf03ebc50) at iommu_attach+0x424
config_attach(0xf03f0b00, 0xf02127c8, 0xf0211308, 0x0, 0xf0409fc0, 0xf0212c00) at config_attach+0x364
config_found_sm(0xf0409fc0, 0xf0211308, 0xf01998e8, 0x0, 0xdeadbeef, 0x0) at config_found_sm+0x24
mainbus_attach(0xf0199800, 0xf0409fc0, 0xf0219750, 0xf01f2c00, 0xf0219788, 0xf0219400) at mainbus_attach+0x49c
config_attach(0xf0409fc0, 0xf02127c8, 0x0, 0x0, 0x0, 0xf0212c00) at config_attach+0x364    
config_rootfound(0xf01f2c70, 0x0, 0xf0214d78, 0x0, 0xf03ea30c, 0xf03ea4c4) at config_rootfound+0x40
cpu_configure(0xf023e800, 0xf023ebd0, 0xffffffff, 0xffffffff, 0x0, 0xf01d31d8) at cpu_configure+0x38
configure(0x30a, 0x891, 0x891, 0x5d40, 0xffffffff, 0x76c0) at configure+0x30
main(0xf0212400, 0xf023e800, 0xf01cdc00, 0xf023c000, 0xf023f400, 0xf021e000) at main+0x3f0  
startmap_done(0xa, 0x396400, 0x389cf0, 0x2, 0xffffffff, 0x10) at startmap_done+0x12c       
f03ebc30) at sbus_attach_iommu+0x100

Thanks, Markus.