NetBSD-Users archive

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

Re: Panic during shutdown on netbsd 9 i386



Den Tue, 6 Jul 2021 13:01:36 -0000 (UTC)
skrev mlelstv%serpens.de@localhost (Michael van Elst):

> eivinde%terraplane.org@localhost (Eivind Nicolay Evensen) writes:
> 
> >Hello.  
> 
> >On an i386 which otherwise is functioning fine, I see this panic
> >during shutdown.  
> 
> >--- trap (number 6) ---
> >bus_space_write_2(c199a800,c,c199a800,c199a980,cb8efe4c,c089f082,c199a800,c199a800,c,1)
> >at bus_space_write_2+0xc
> >config_detach(c199a800,c,808,808,0,cb8efe8c,c011ae72,808,0,0) at
> >config_detach+0x62  
> 
> We need to find out what device c1999a800 is. It probably has a
> broken detach routine. ddb and crash have a 'show devices' command
> that should help to identify that pointer.

It is this one, and your below suspiction was right:
uhci0                  dull    0           c199a800           c199f000



> >[     1,000003] uhci0: autoconfiguration error: can't map i/o space  
> 
> >I could not spot what the error referenced in
> >[     4,842750] WARNING: 1 error while detecting hardware; check
> >system log.  
> 
> That is the uhci error above. uhci is also a likely candidate for the
> crash.

Indeed it's this one, complete list is here in case it's of use:

crash> show devices
NAME                  CLASS UNIT           DEVICE_T            PRIVATE
mainbus0               dull    0           c18991c0           c18726c0
cpu0                   dull    0           c1899340           c188b450
pci0                   dull    0           c18994c0           c19e2000
pchb0                  dull    0           c1899640           c197a730
agp0                   dull    0           c18997c0           c1891520
ppb0                   dull    0           c1899940           c18abc80
pci1                   dull    1           c1899ac0           c1a42000
vga0             displaydev    0           c1899c40           c18ad340
wsdisplay0             dull    0           c1899dc0           c18ad400
pcib0                  dull    0           c199a200           c188b560
piixide0               dull    0           c199a380           c1a00000
atabus0                dull    0           c199a500           c188b5f0
atabus1                dull    1           c199a680           c188b650
uhci0                  dull    0           c199a800           c199f000
piixpm0                dull    0           c199a980           c199e200
iic0                   dull    0           c199ab00           c1a02000
eap0                   dull    0           c199ac80           c197a810
audio0             audiodev    0           c199ae00           c199b380
midi0                  dull    0           c19a60c0           c19a5000
ahc1                   dull    1           c19a6240           c19a4400
scsibus0               dull    0           c19a63c0           c188b7e0
rtk0                  ifnet    0           c19a6540           c19a9000
rlphy0                 dull    0           c19a66c0           c189cf00
isa0                   dull    0           c19a6840           c18922c0
lpt0                   dull    0           c19a69c0           c199dec0
com0                    tty    0           c19a6b40           c199c200
com1                    tty    1           c19a6cc0           c199c600
pckbc0                 dull    0           c19a6e40           c1872918
pckbd0                 dull    0           c19b0100           c1872930
wskbd0                 dull    0           c19b0280           c1981900
attimer0               dull    0           c19b0400           c1872948
pcppi0                 dull    0           c19b0580           c199de60
midi1                  dull    1           c19b0700           c1ac3000
sysbeep0               dull    0           c19b0880                  0
isapnp0                dull    0           c19b0a00           c18a85c0
fdc0                   dull    0           c19b0b80           c197aab0
fd0                    disk    0           c19b0d00           c199cc00
wd0                    disk    0           c19b0e80           c1ad6000
atapibus0              dull    0           c1af1040           c188c140
cd0                    disk    0           c1af1340           c1af11c0
sd0                    disk    0           c1af14c0           c19ae9c0
swcrypto0              dull    0           c1af1640                  0
crash> quit



-- 
Eivind Nicolay Evensen


Home | Main Index | Thread Index | Old Index