Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Mar 2007 15:34:54 +0100
From:      Ivan Voras <ivoras@fer.hr>
To:        freebsd-stable@freebsd.org
Subject:   Re: USB problem - how to disable an umass device?
Message-ID:  <esmiic$u4s$1@sea.gmane.org>
In-Reply-To: <200703071309.l27D9RpK016319@lurza.secnetix.de>
References:  <esm7qv$nnv$1@sea.gmane.org> <200703071309.l27D9RpK016319@lurza.secnetix.de>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Oliver Fromme wrote:

> Of course, a better way to solve the problem would be to
> find out _why_ it is hanging in the first place.  :-)
> The first step would be to enter the kernel debugger and
> take a stack trace, in order to find out where it is stuck.
> 
> It might be a good idea to take this issue to the freebsd-
> usb mailing list.

Actually, it resolved to be a very large timeout, on the order of 5
minutes per step, before something gives up and the boot process continues.

>  > I tried using loader hint hint.usb.2.disabled="1" but it doesn't work.
> 
> Unfortunately, hints cannot be used to disable devices in
> general (which would be a desirable feature).  That only
> works for legacy devices (i.e. ISA) and some others.

I'd argue that this is actually a bad thing - I'm sure there are
situations where it would be useful to disable (almost) arbitrary nodes
in the device tree, even down to specific pci busses.


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (FreeBSD)
Comment: Using GnuPG with Thunderbird/FreeBSD - http://enigmail.mozdev.org

iD8DBQFF7s2OldnAQVacBcgRArS7AKCLR9y1H03+vWDIAMl65wO9a1plHQCgqIgo
7WKBEPH50MZQaOLZmJP7UmI=
=3yt5
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?esmiic$u4s$1>