Re: 2.6.30-rc4 Weird messages with ext4

From: James Bottomley
Date: Sun May 03 2009 - 16:46:27 EST


On Sun, 2009-05-03 at 14:39 -0600, Robert Hancock wrote:
> Panagiotis Papadakos wrote:
> > Hi.
> >
> > When I connect my ext4 formatted Seagate 1.5 TB USB box,
> > I get the messages of the style:
> >
> > [sdb] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
> > [sdb] Sense Key : Illegal Request [current]
> > [sdb] Add. Sense: Logical block address out of range
> >
> > By the way I am not getting such messages with 2.6.29.
> >
> > Anyone knows what might be wrong?
>
> Sounds like something's messing up with the disk size detection, as it
> gets detected as a 2TB drive. CCing linux-usb and linux-scsi.

There was a screw up in the READ CAPACITY 16 rewrite. The fix is here:

commit 8f76d151b010980d137bfdc736d1d8f64b489165
Author: Dave Hansen <dave@xxxxxxxxxxxxxxxxxx>
Date: Tue Apr 21 16:43:27 2009 -0700

[SCSI] fix sign extension with 1.5TB usb-storage LBD=y

It's just gone upstream.

James


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/