Alan Cox <[EMAIL PROTECTED]> wrote:
> They do. You need to tell them to use that block size sometimes. Eg fdisk
> needs to be told to use 1K block scaling
> > SCSI disk error : host 0 channel 0 id 9 lun 0 return code = 8000002
> > Info fld=0x10f5a9c, Current sd08:01: sense key Illegal Request
> or you run off the end of the disk 8)
Question: there is really nothing which prevents bad SCSI commands
to be sent out ? I was thinking that as READ_CAPACITY is used to
initialize the /dev/sda size, sub-partitions of /dev/sda might never
be bigger than the whole.
Shouldn't it be a test in the ll_rw_blk() or otherwise that
would cause the *kernel* to error, and not a SCSI command with
illegal blocks to be send out ?
Something the user could try is to see if the problem also appears
with mke2fs /dev/sda (ie no partition). If it does, fdisk can't
be blamed.
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]