From owner-cvs-src@FreeBSD.ORG Sat Mar 26 10:30:09 2005 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 713F016A4CE; Sat, 26 Mar 2005 10:30:09 +0000 (GMT) Received: from www.portaone.com (support.portaone.com [195.70.151.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9040443D1F; Sat, 26 Mar 2005 10:30:08 +0000 (GMT) (envelope-from sobomax@portaone.com) Received: from [192.168.0.254] ([192.168.2.2]) (authenticated bits=0) by www.portaone.com (8.12.11/8.12.11) with ESMTP id j2QA6a4h047153 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 26 Mar 2005 11:06:37 +0100 (CET) (envelope-from sobomax@portaone.com) Message-ID: <4245342B.70503@portaone.com> Date: Sat, 26 Mar 2005 12:06:35 +0200 From: Maxim Sobolev Organization: Porta Software Ltd User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ian Dowse References: <200503252051.aa57514@salmon.maths.tcd.ie> In-Reply-To: <200503252051.aa57514@salmon.maths.tcd.ie> Content-Type: text/plain; charset=KOI8-U; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.83, clamav-milter version 0.83 on www.portaone.com X-Virus-Status: Clean cc: cvs-src@FreeBSD.ORG cc: src-committers@FreeBSD.ORG cc: cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/dev/usb usb.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Mar 2005 10:30:09 -0000 Ian Dowse wrote: > In message <424473BB.4010607@portaone.com>, Maxim Sobolev writes: > >>This is still suboptimal, since even after this change when ehci is >>enabled some (if not most) USB devices are detected after system goes >>into milti-user mode. Obviously, this makes it impossible to mount root >>fs off the USB HDD/FDD/CD. The simplest way to solve this problem is to >>add some sufficiently long and configurable delay before mounting root >>fs (similar to one used by the SCSI) when ehci is enabled to let those >>devices to be detected and attached. > > > Could you send me an example dmesg that shows this? As far as I > know, doing the explore when cold == 1 should attach all USB devices > before even interrupts are enabled. > > This should be the case with PCI USB host controllers that are > compiled into the kernel or pre-loaded by the loader - if you load > the module later and I think also with cardbus USB controllers, > then the USB host controller won't get attached with cold == 1 so > none of the early exploration code runs. I don't use any modules - usb controllers and specific drivers are compiled statically into the kernel. You can find dmesg here: http://www.portaone.com/~sobomax/dmesg -Maxim