> >   sda:sd.cBad block number/count requestedscsidisk I/O error: dev 08:00, sector 0 
> >   unable to read partition table
> > 
> > It happens in kernel versions 2.2.12 and 2.2.14
> > 
> > What should be done to make it working for 4096 size sectors?
> 
> Try and find out what partition format broke the code
> 

This is reproducible from scsi_debug.c too

--- scsi_debug.c        2000/04/18 15:02:21     1.1
+++ scsi_debug.c        2000/04/18 15:02:40
@@ -285,7 +285,7 @@
        buff[1] = (CAPACITY >> 16) & 0xff;
        buff[2] = (CAPACITY >> 8) & 0xff;
        buff[3] = CAPACITY & 0xff;
-       buff[6] = 2; /* 512 byte sectors */
+       buff[6] = 2*8; /* 4096 byte sectors */
        scsi_debug_errsts = 0;
        break;
     case READ_10:


With this change if you do insmod scsi_debug.o you'll get the same
message.

-Saravanan.


-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]

Reply via email to