sandisk usb freeze

Craig Rodrigues rodrigc at crodrigues.org
Sat Apr 23 04:48:02 PDT 2005


On Wed, Apr 20, 2005 at 04:45:51PM -1000, Randy Bush wrote:
> any pointers on how to best debug?

Debugging USB stuff can be a bit ugly.
One technique is to have USB_DEBUG set in your kernel config file,
and then after rebooting, play with setting values of the
following sysctls: hw.usb.umass.debug and hw.usb.debug .

The other technique is to have two machines set up for
kernel debugging, set a breakpoint somewhere in the USB
code that would be accessed during an fdisk,
and single step through the debugger until you hit
the point where things reboot.  It's not pretty....


-- 
Craig Rodrigues        
rodrigc at crodrigues.org


More information about the freebsd-usb mailing list