From owner-freebsd-current Mon Nov 4 1:34:22 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E69637B401 for ; Mon, 4 Nov 2002 01:34:21 -0800 (PST) Received: from zibbi.icomtek.csir.co.za (zibbi.icomtek.csir.co.za [146.64.24.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id A8F8543E75 for ; Mon, 4 Nov 2002 01:34:14 -0800 (PST) (envelope-from jhay@zibbi.icomtek.csir.co.za) Received: from zibbi.icomtek.csir.co.za (localhost [IPv6:::1]) by zibbi.icomtek.csir.co.za (8.12.6/8.12.6) with ESMTP id gA49XVD8096679; Mon, 4 Nov 2002 11:33:31 +0200 (SAT) (envelope-from jhay@zibbi.icomtek.csir.co.za) Received: (from jhay@localhost) by zibbi.icomtek.csir.co.za (8.12.6/8.12.6/Submit) id gA49XVe8096676; Mon, 4 Nov 2002 11:33:31 +0200 (SAT) (envelope-from jhay) From: John Hay Message-Id: <200211040933.gA49XVe8096676@zibbi.icomtek.csir.co.za> Subject: Re: umass CF geometry problems, was Re: fdisk -BI ob clean disk broken In-Reply-To: <20021104094319.K17734-100000@uitsmijter.van-laarhoven.org> from Nick Hibma at "Nov 4, 2002 09:45:30 am" To: n_hibma@van-laarhoven.org (Nick Hibma) Date: Mon, 4 Nov 2002 11:33:31 +0200 (SAT) Cc: current@FreeBSD.ORG, phk@critter.freebsd.dk, imp@bsdimp.com X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > Well the short version of the problem is that "fdisk -BI " works > > on -stable to get a FreeBSD partition on the Compact Flash. This does > > not work on -current anymore. I have traced that back to the commit > > in umass.c rev 1.61 that removed the fake geometry setting and just > > leave the cylinders, heads and sectors_per_track zero. This cause > > fdisk to coredump with a floating point error. > > Hm, strange. I would think that a compact flasg is an ATAPI over CBI > device (see attach message in your dmesg). If that is the case, the > 'fake setting' was not done in STABLE either and I would expect the > problem to be somewhere else. But that would contradict your research. Maybe the short version was too short. :-) The CF is behind a SanDisk ImageMate (I have two different ones), which emulates SCSI according to dmesg. I don't know if they use BBB or CBI. I don't know what the difference is either. :-) ######## umass0: SanDisk ImageMate CF-SD, rev 1.10/0.12, addr 2 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-0 device da0: 1.000MB/s transfers da0: 61MB (125440 512 byte sectors: 0H 0S/T 0C) umass0: at uhub0 port 1 (addr 2) disconnected (da0:umass-sim0:0:0:0): lost device (da0:umass-sim0:0:0:0): removing device entry umass0: detached umass0: SanDisk Corporation ImageMate CompactFlash USB, rev 1.10/0.09, addr 2 umass0: Get Max Lun not supported (STALLED) da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-2 device da0: 1.000MB/s transfers da0: 61MB (125441 512 byte sectors: 0H 0S/T 0C) ######### John -- John Hay -- John.Hay@icomtek.csir.co.za / jhay@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message