NetBSD-Users archive

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

Re: Shutdown Issues on NetBSD 10.0/amd64 with USB Boot Device



On Sat, Jun 15, 2024 at 04:48:13PM +0200, Matthias Petermann wrote:
> [     1.343819] uhub5 at usb5: NetBSD (0x0000) EHCI root hub (0x0000), class
> 9/0, rev 2.00/1.00, addr 1
[..]
> [     2.413838] umass0 at uhub5 port 3 configuration 1 interface 0
> [     2.413838] umass0: SanDisk (0x0781) Cruzer Blade (0x5567), rev
> 2.00/1.00, addr 2
> [     2.413838] umass0: using SCSI over Bulk-Only
> [     2.413838] scsibus0 at umass0: 2 targets, 1 lun per target
> [     2.423838] sd0 at scsibus0 target 0 lun 0: <SanDisk, Cruzer Blade,
> 1.00> disk removable

OK, can you add "options EHCI_DEBUG" to your kernel config, boot a new
kernel and then do something like:

 break into ddb
 db> w ehci_debug=10
 db> c
 and the shutdown 

When you see the HBA error, break into ddb again and

 show kernhist uvmhist

If you can capture console output it is best to set $lines to 0 before doing
that (the history printed will be looongish).

(this is from memory, not sure if the names and syntax are exactly correct)

Martin


Home | Main Index | Thread Index | Old Index