Re: Fw: 2.6.14: aic7xxx broken with blktool

James Bottomley
2005-10-28T15:21:57Z

On Fri, 2005-10-28 at 04:02 -0700, Andrew Morton wrote:
> I'm using blktool to find info about installed disks. With Debian's
> 2.6.8, "blktool /dev/sda id" worked fine. With 2.6.14 it's broken (see
> below). Adaptec 2940UW with a 4.5G Quantum Viking II disk.
>
> It outputs random data from memory as a response to the scsi command,
> different recent strings different times.
>
> Otherwise the disk works OK.

This is a bug in blktool, so please refile appropriately.

The change is that we now believe hdr->cmd_len if it's set and block
tool is setting it wrongly. aic7xxx detects the mismatch between the
actual command length and the set length in its sequencer and barfs.

James