2004-11-03 21:56:50

by Daniel Drake

[permalink] [raw]
Subject: [PATCH] Permit READ_BUFFER_CAPACITY in SG_IO command table

Hi,

While burning CD's on 2.6.9 with cdrdao, I noticed it complaining repeatedly:
ERROR: Read buffer capacity failed.

It tries to read the buffer capacity (MMC command 0x5c) in order to produce a
percentage reading of how full the buffer is.

This patch permits the READ_BUFFER_CAPACITY command again. Please apply.

Signed-off-by: Daniel Drake <[email protected]>


Attachments:
(No filename) (366.00 B)
scsi_ioctl-permit-read-buffer-capacity.patch (1.12 kB)
Download all attachments

2004-11-04 09:23:14

by Jens Axboe

[permalink] [raw]
Subject: Re: [PATCH] Permit READ_BUFFER_CAPACITY in SG_IO command table

On Thu, Nov 04 2004, Daniel Drake wrote:
> Hi,
>
> While burning CD's on 2.6.9 with cdrdao, I noticed it complaining repeatedly:
> ERROR: Read buffer capacity failed.
>
> It tries to read the buffer capacity (MMC command 0x5c) in order to produce a
> percentage reading of how full the buffer is.
>
> This patch permits the READ_BUFFER_CAPACITY command again. Please apply.
>
> Signed-off-by: Daniel Drake <[email protected]>

Looks fine, thanks!

--
Jens Axboe