Date: Mon, 04 Nov 2002 08:12:38 +0100 From: Poul-Henning Kamp <phk@critter.freebsd.dk> To: John Hay <jhay@icomtek.csir.co.za> Cc: imp@bsdimp.com (M. Warner Losh), current@FreeBSD.ORG, n_hibma@FreeBSD.ORG Subject: Re: umass CF geometry problems, was Re: fdisk -BI ob clean disk broken Message-ID: <84292.1036393958@critter.freebsd.dk> In-Reply-To: Your message of "Sat, 04 Nov 2002 08:36:34 %2B0200." <200211040636.gA46aYDA089784@zibbi.icomtek.csir.co.za>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <200211040636.gA46aYDA089784@zibbi.icomtek.csir.co.za>, John Hay wri tes: >> : Hmmm. I just noticed that the disks probe with zero values for the >> : heads, sectors/track and cylinders. I have tried two different USB >> : CF readers and both do it. On 4.x it probes with the correct values >> : on the same machine and the same devices. So why do they probe >> : wrong? >> >> Don't know. I've had problems with CF readers returning the wrong >> geometry values in 4.3, but never 0's > >Ok, I found it. It is part of the rev 1.61 change to umass.c. It was >made in June. :-/ The relevant piece is this: >So the question now is do we just leave umass like this, which means we >can't do low level disk stuff on umass devices, or do we add something >like this back or is there another way? Is there a way to get the real >geometry of the device? We should obviously fix it. I have no idea what is possible in USB devices in this respect. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?84292.1036393958>