External usb HDD disconnects, system gets messed up

Hans Petter Selasky hselasky at c2i.net
Thu Nov 25 08:39:38 UTC 2010


On Thursday 25 November 2010 03:55:26 Nezmer wrote:
> Hi,
> 
> FreeBSD 8.1-STABLE r215402M GENERIC  amd64
> 
> I'm having a weird issue. I have a 300GB external usb HDD with one ext2
> partition. I use ZFS for my internal HDD.
> 
> Almost daily, The usb HDD disconnects(according to dmesg) and the system
> gets messed up. Running processes keep responding but they would not
> exit. And no new processes would start running. I eventually would have
> to hard reset and run fsck.ext2 on the next run.
> 
> Any idea what's going on?
> Do you need any specific information?

Hi,

When this hang happens you can try to turn on umass debugging:

sysctl hw.usb.umass.debug=-1

You need this option in your kernel config or when building the umass module 
to enable the sysctl above:

options USB_DEBUG

--HPS


More information about the freebsd-usb mailing list