Date: Thu, 10 Oct 2002 05:10:36 +1000 (EST) From: Bruce Evans <bde@zeta.org.au> To: "David O'Brien" <obrien@FreeBSD.ORG> Cc: Poul-Henning Kamp <phk@critter.freebsd.dk>, <freebsd-current@FreeBSD.ORG> Subject: Re: My problems with GEOM Message-ID: <20021010045131.T6361-100000@gamplex.bde.org> In-Reply-To: <20021009151926.GA19223@dragon.nuxi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 9 Oct 2002, David O'Brien wrote: > Also SCSI CDROM's are now only mountable as /dev/cd0, not /dev/cd0a as > before. I wonder how many others got hit by that. Apparently not as many as got hit by the block number scaling bug. I guess most users only have atapi cdroms. This is a good change, but needs time for conversion. The SCSI CDROM driver has some very nice new bugs apart from broken label contents. I have noticed the following so far: - b_pblkno seems to be unitialized. I think it is always 0, This affects mainly disksort^Wbioq_disksort(). The driver used to use b_pblkno internally and the scaling bug was introduced by replacing this by b_blkno and fixed by scaling b_blkno to the value that b_pblkno should be set to. - block sizes and offsets that are not a multiple of the sector size are now accepted, but don't work. E.g., dd with a block size of 1 byte doesn't fail, but produces garbage. - offsets beyond EOF are now accepted in software and are only rejected in hardware. This spams the console with error messages and gives wrong error handling (EIO; should be EOF (no error)). Bruce 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?20021010045131.T6361-100000>