Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Mar 2008 17:33:23 -0400
From:      David Schultz <das@FreeBSD.ORG>
To:        remko@FreeBSD.ORG
Cc:        Adam Pordzik <tektonaut@fuckner.net>, freebsd-bugs@FreeBSD.ORG, sos@FreeBSD.ORG
Subject:   Re: kern/121686: [ata]: bogus CHS to LBA mapping in (at least) ata
Message-ID:  <20080324213323.GA87260@zim.MIT.EDU>
In-Reply-To: <200803140710.m2E7A0IM079653@freefall.freebsd.org>
References:  <200803140710.m2E7A0IM079653@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a problem with some CD-ROMs, too, except in the case of
CD-ROMs, the problem is more fundamental: the official standard
allows the drive to overestimate the disc's capacity by a few
sectors. GEOM just exacerbates the problem by having a dozen
different providers each try to read the last sector. The latter
issue has been discussed and the general reaction is that it's
undesirable to force GEOM providers to cope with misbehaving
devices.

The fact that these errors result in a timeout in FreeBSD but not
under (at least) Solaris makes me wonder whether there isn't a
better way for the ata driver to notice the error than a timeout.
Then again, I'm not an expert on ata.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080324213323.GA87260>