Bug 145513

Summary: [usb8] New USB stack: no new devices after forced usb flash detach
Product: Base System Reporter: Krutov Mikle <nekoexmachina>
Component: usbAssignee: freebsd-usb (Nobody) <usb>
Status: Closed Overcome By Events    
Severity: Affects Only Me CC: grahamperrin, lme, tomek
Priority: Normal    
Version: 8.0-STABLE   
Hardware: Any   
OS: Any   

Description Krutov Mikle 2010-04-08 12:00:15 UTC
After detaching the mounted usb-flash device, no new usb-devices are detected.
USB controller is     "device     = 'SB700 USB OHCI1 Controller"

How-To-Repeat: 1) attach (vfat-formated, did not test with other fs) flash device, mount it
2) detach without umounting
3) try to attach another usb-device
4) see no new devices, no dmesg messages, nothing
Comment 1 Hans Petter Selasky 2010-04-08 12:52:50 UTC
Hi,

That's because the UMASS detach is hanging, most likely.

Try to break into the kernel and get a backtrace.

--HPS
Comment 2 Krutov Mikle 2010-04-08 18:14:03 UTC
Hi,
I unfortunately could not find any info about how do i do this. Could
you provide me some link?  

-- 
Wbr,
Krutov Mikle
Comment 3 Hans Petter Selasky 2010-04-08 18:29:43 UTC
Add:

options         KDB                     # Enable kernel debugger support.
options         DDB                     # Support DDB.
options         GDB                     # Support remote GDB.

When it hangs, enter this from the console:

sysctl debug.kdb.panic=1

Type

alltrace

bt

bt all

or something similar.

Type "continue" when you are finished.

You can also use CTRL+ALT+ESC key combination.

--HPS
Comment 4 Krutov Mikle 2010-04-11 00:03:09 UTC
Sorry for no-response for such a long time, that was because after the
kernel-update (i've fetched the latest sources before rebuilding with
debug support) i could not reproduce that bug. Before kernel-update it
has happened not every time, so i wanted to see what happens for a
couple of days.

-- 
Wbr,
Krutov Mikle
Comment 5 Mark Linimon freebsd_committer freebsd_triage 2010-05-17 05:01:42 UTC
State Changed
From-To: open->feedback

To submitter: does your last email mean that this problem report can 
be closed?
Comment 6 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:00:53 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped
Comment 7 Graham Perrin freebsd_committer freebsd_triage 2021-11-05 01:15:50 UTC
No response; close?
Comment 8 Lars Engels freebsd_committer freebsd_triage 2021-11-06 17:28:08 UTC
No feedback in 11 years. Please close it.
Comment 9 Tomasz "CeDeROM" CEDRO 2021-11-06 18:27:50 UTC
Wow, what a time travel! :-) I has similar problems but that was before HPS introduced amazing USB stack, since then I switched to FreeBSD for good, thank you HPS! I think the problem is loooong gone :-)