From owner-freebsd-stable@FreeBSD.ORG Thu Sep 11 15:49:58 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F10601065672 for ; Thu, 11 Sep 2008 15:49:58 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from out3.smtp.messagingengine.com (out3.smtp.messagingengine.com [66.111.4.27]) by mx1.freebsd.org (Postfix) with ESMTP id B73348FC15 for ; Thu, 11 Sep 2008 15:49:58 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id 243741605ED; Thu, 11 Sep 2008 11:49:58 -0400 (EDT) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute1.internal (MEProxy); Thu, 11 Sep 2008 11:49:58 -0400 X-Sasl-enc: 3We72neTk6R74qov60qQJWPqF1sG+SLkqWfu9u8pIcwP 1221148197 Received: from empiric.lon.incunabulum.net (82-35-112-254.cable.ubr07.dals.blueyonder.co.uk [82.35.112.254]) by mail.messagingengine.com (Postfix) with ESMTPSA id 5B0602495F; Thu, 11 Sep 2008 11:49:57 -0400 (EDT) Message-ID: <48C93E24.8020507@incunabulum.net> Date: Thu, 11 Sep 2008 16:49:56 +0100 From: Bruce M Simpson User-Agent: Thunderbird 2.0.0.14 (X11/20080514) MIME-Version: 1.0 To: Douglas Berry References: <200809111536.m8BFaTqU014459@monk.cnd.dundas.on.ca> In-Reply-To: <200809111536.m8BFaTqU014459@monk.cnd.dundas.on.ca> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD stable Subject: Re: Long delays for USB realbtx boot X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Sep 2008 15:49:59 -0000 [Ccing to list to track up thread] Douglas Berry wrote: > Perhaps this doesn't help... I do RELENG_7 based images > for USB keys/CDROM using the FreesBIE toolkit, and haven't > noticed such delays. I do fill the stick 'tho. Here's > fdisk output... > > ******* Working on device /dev/md4 ******* > parameters extracted from in-core disklabel are: > cylinders=62 heads=255 sectors/track=63 (16065 blks/cyl) > Interesting, that's classic USB-HDD geometry (255H, 63S). Can you tell me what make, model of stick this is? It could be that the cylinder change is what's confusing the BIOS. I will need to do some tweak to make sure the cylinder calculation is right for the stick's capacity. The A/Open MX3S has no USB-HDD mode. It appears to have the same delay issue, however, it didn't see any difference between the USB-HDD geometry image and the USB-ZIP geometry image. %%% empiric:~/shelf/chipdocs/aopen % camcontrol inquiry da0 pass1: Removable Direct Access SCSI-0 device pass1: Serial Number 40.000MB/s transfers empiric:~/shelf/chipdocs/aopen % camcontrol readcap da0 Last Block: 1953791, Block Length: 512 bytes %%% That device uses USB-ZIP style geometry (64H, 32S), and based on the "last block", 1953792 / 2048 is 954 cylinders exactly, which is how it came factory formatted. So I should probably give it a shot based on this. To get something up and running I've been using generic methods in the NanoBSD patch, I haven't sized the MBR geometry specifically to the device. By my reckoning your stick is just under 512MiB, based on the geometry you provided: > parameters to be used for BIOS calculations are: > cylinders=62 heads=255 sectors/track=63 (16065 blks/cyl) > > Media sector size is 512 > Warning: BIOS sector numbering starts with sector 1 > Information from DOS bootblock is: > The data for partition 1 is: > sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) > start 32, size 1001440 (488 Meg), flag 80 (active) > beg: cyl 0/ head 1/ sector 1; > end: cyl 488/ head 63/ sector 32 > The data for partition 2 is: > > The data for partition 3 is: > > The data for partition 4 is: > > cheers BMS