[8365] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

Re: 2.3.51, CD-ROM, and REQUEST_SENSE

daemon@ATHENA.MIT.EDU (Jens Axboe)
Tue Mar 14 15:34:34 2000

Date:   Tue, 14 Mar 2000 14:31:01 +0100
From: Jens Axboe <axboe@suse.de>
To: Matthew Dharm <mdharm-scsi@one-eyed-alien.net>
Cc: The Linux SCSI list <linux-scsi@vger.rutgers.edu>
Message-ID: <20000314143101.A7386@suse.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <Pine.LNX.4.10.10003131556560.31882-100000@ziggy.one-eyed-alien.net>; from mdharm-scsi@one-eyed-alien.net on Mon, Mar 13, 2000 at 04:01:13PM -0800

On Mon, Mar 13 2000, Matthew Dharm wrote:
> I just discovered that the SCSI layer passes a 512 byte buffer when it
> sends a READ_CAPACITY command.  Considering this command can only return 8
> bytes, and that for Direct-Access devices we only request 8 bytes, I think
> this is a bug somewhere.

Probably a relic from when the buffer was allocated with scsi_malloc().
Pretty harmless, though.

-- 
*  Jens Axboe <axboe@suse.de>
*  Linux CD-ROM Maintainer
*  http://www.kernel.dk

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu

home help back first fref pref prev next nref lref last post