USB locks up system -- WAS Re: shutdown or acpi problem
Sulev-Madis Silber (ketas)
madis555 at hot.ee
Mon Nov 17 08:40:13 UTC 2014
On 2014-11-17 08:58, Dag-Erling Smørgrav wrote:
> Dag-Erling Smørgrav <des at des.no> writes:
>> Steve Kargl <sgk at troutmask.apl.washington.edu> writes:
>>> I'll try that tomorrow. But, I now know that this is related to using
>>> hal from ports. If I comment out both enable_dbus and enable_hal in
>>> /etc/rc.conf, the system works as I would expect (ie., usb now works
>>> for unplugging devices!). I further suspect that the problems lies in
>>> hal_probe_storage, but haven't got too much further.
>> HAL: the gift that keeps on giving. It also has this wonderful feature
>> where it prevents you from unmounting anything you've ever mounted,
>> because it watches for new mountpoints in the system, opens them, and
>> keeps the file descriptors open indefinitely.
>>
>> I know this isn't really germane, but I just couldn't pass up a chance
>> to complain about HAL.
>
> Hold on. It *is* germane: hal_probe_storage auto-mounted your USB stick
> and is holding on to it. If this also happens with mice and keyboards
> etc., you're probably looking at two different issues.
>
> DES
>
I cursed at HAL a lot because it made uC inside r0ket to crap itself
partially... this thing can be USB device but apparently didn't like
black magic that HAL did. Maybe it tried to read from the beginning or
something. It took lot of time to figure out why it doesn't work. Now I
have set of ignore files to prevent grabbing for every single device in
system.
More information about the freebsd-current
mailing list