From owner-freebsd-current Wed Oct 9 12:27:14 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 E009437B401; Wed, 9 Oct 2002 12:27:12 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1AE6343E65; Wed, 9 Oct 2002 12:27:12 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id g99JQupS027359; Wed, 9 Oct 2002 21:27:02 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Bruce Evans Cc: "David O'Brien" , freebsd-current@FreeBSD.ORG Subject: Re: My problems with GEOM In-Reply-To: Your message of "Thu, 10 Oct 2002 05:10:36 +1000." <20021010045131.T6361-100000@gamplex.bde.org> Date: Wed, 09 Oct 2002 21:26:56 +0200 Message-ID: <27358.1034191616@critter.freebsd.dk> From: Poul-Henning Kamp 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 In message <20021010045131.T6361-100000@gamplex.bde.org>, Bruce Evans writes: >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)). Yeah, I have a patch sitting in my tree which I couldn't get to work, probably because the blocksize issue obscured it, I'll get to it one of these days. -- 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