From owner-freebsd-stable@FreeBSD.ORG Wed Mar 7 13:09:41 2007 Return-Path: X-Original-To: freebsd-stable@FreeBSD.ORG Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0994016A403 for ; Wed, 7 Mar 2007 13:09:41 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [83.120.8.8]) by mx1.freebsd.org (Postfix) with ESMTP id 6D13E13C441 for ; Wed, 7 Mar 2007 13:09:40 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (ozohwn@localhost [127.0.0.1]) by lurza.secnetix.de (8.13.4/8.13.4) with ESMTP id l27D9SjF016320; Wed, 7 Mar 2007 14:09:33 +0100 (CET) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.13.4/8.13.1/Submit) id l27D9RpK016319; Wed, 7 Mar 2007 14:09:27 +0100 (CET) (envelope-from olli) Date: Wed, 7 Mar 2007 14:09:27 +0100 (CET) Message-Id: <200703071309.l27D9RpK016319@lurza.secnetix.de> From: Oliver Fromme To: freebsd-stable@FreeBSD.ORG, ivoras@fer.hr In-Reply-To: X-Newsgroups: list.freebsd-stable User-Agent: tin/1.8.2-20060425 ("Shillay") (UNIX) (FreeBSD/4.11-STABLE (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Wed, 07 Mar 2007 14:09:33 +0100 (CET) Cc: Subject: Re: USB problem - how to disable an umass device? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-stable@FreeBSD.ORG, ivoras@fer.hr List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2007 13:09:41 -0000 Ivan Voras wrote: > I'm trying to install 6.2-release on an IBM blade center blade (AMD > Opteron), but the boot process hangs while accessing an embedded USB > storage device umass1. Since I don't think I'll ever need it, and I need > the blade, is there any way to disable probing or usage of umass1? I > think the problems arrive when FreeBSD tries to attach "da" device to it. I'm afraid the only way is to compile a custom kernel that does not have "device umass". You might also have to make sure there's no umass.ko in /boot/kernel (I'm not sure, but it's possible that some mechanism like devd tries to load umass.ko automatically). 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. > 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. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd (On the statement print "42 monkeys" + "1 snake":) By the way, both perl and Python get this wrong. Perl gives 43 and Python gives "42 monkeys1 snake", when the answer is clearly "41 monkeys and 1 fat snake". -- Jim Fulton