[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#625738: >2TB SCSI disk size not recognized correctly



On Thu, 2011-05-05 at 11:03 -0400, Greg Wooledge wrote:
> Package: linux-image-2.6.32-5-686
> Version: 2.6.32-31
> 
> I upgraded a machine from Lenny to Squeeze, and it failed to mount one
> of the disks.  Here is a large swath of dmesg from the failing kernel:
[...]
> [    8.343674] sd 4:0:0:0: [sdb] 4294967296 512-byte logical blocks: (2.19 TB/2.00 TiB)

So we initially see exactly 2 TiB (2^32 blocks)...

> [    8.344551] usbcore: registered new interface driver hiddev
> [    8.344741] sd 4:0:0:0: [sdb] Write Protect is off
> [    8.344745] sd 4:0:0:0: [sdb] Mode Sense: bf 00 00 08
> [    8.345180] sd 4:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
> [    8.345421]  sda1 sda2
> [    8.345672] sd 2:0:0:0: [sda] Attached SCSI disk
> [    8.345973] sd 4:0:0:0: [sdb] 13651132416 512-byte logical blocks: (6.98 TB/6.35 TiB)
> [    8.347305] sdb: detected capacity change from 2199023255552 to 6989379796992

but then we find it's really 6.35 TiB (is that the correct value?)...

> [    8.347310]  sdb:
> [    8.348685] Errataon LSI53C1030 occurred.sc->req_bufflen=0x1000,xfer_cnt=0x00
> [    8.348837] Errataon LSI53C1030 occurred.sc->req_bufflen=0x1000,xfer_cnt=0x00
> [    8.348986] Errataon LSI53C1030 occurred.sc->req_bufflen=0x1000,xfer_cnt=0x00
> [    8.349135] Errataon LSI53C1030 occurred.sc->req_bufflen=0x1000,xfer_cnt=0x00
> [    8.349286] Errataon LSI53C1030 occurred.sc->req_bufflen=0x1000,xfer_cnt=0x00
> [    8.349435] Errataon LSI53C1030 occurred.sc->req_bufflen=0x1000,xfer_cnt=0x00
> [    8.349442] sd 4:0:0:0: [sdb] Unhandled error code
> [    8.349444] sd 4:0:0:0: [sdb] Result: hostbyte=DID_SOFT_ERROR driverbyte=DRIVER_OK
> [    8.349449] sd 4:0:0:0: [sdb] CDB: Read(16): 88 00 00 00 00 03 2d ab bf f8 00 00 00 08 00 00
> [    8.349461] end_request: I/O error, dev sdb, sector 13651132408
> [    8.349520] Buffer I/O error on device sdb, logical block 1706391551

but we can't read the last logical block (4 KiB).

> [    8.349732] Errataon LSI53C1030 occurred.sc->req_bufflen=0x1000,xfer_cnt=0x00
> [    8.349886] Errataon LSI53C1030 occurred.sc->req_bufflen=0x1000,xfer_cnt=0x00
> [    8.350046] Errataon LSI53C1030 occurred.sc->req_bufflen=0x1000,xfer_cnt=0x00
> [    8.350196] Errataon LSI53C1030 occurred.sc->req_bufflen=0x1000,xfer_cnt=0x00
> [    8.350347] Errataon LSI53C1030 occurred.sc->req_bufflen=0x1000,xfer_cnt=0x00
> [    8.350497] Errataon LSI53C1030 occurred.sc->req_bufflen=0x1000,xfer_cnt=0x00
> [    8.350503] sd 4:0:0:0: [sdb] Unhandled error code
> [    8.350505] sd 4:0:0:0: [sdb] Result: hostbyte=DID_SOFT_ERROR driverbyte=DRIVER_OK
> [    8.350509] sd 4:0:0:0: [sdb] CDB: Read(16): 88 00 00 00 00 03 2d ab bf f8 00 00 00 08 00 00
> [    8.350520] end_request: I/O error, dev sdb, sector 13651132408
> [    8.350576] Buffer I/O error on device sdb, logical block 1706391551

Same error on retry.

[...]
> The device in question is a hardware RAID (multiple SATA disks presented
> as one SCSI device).  I can attempt to get model numbers and so on if
> those are relevant.

Please send a full kernel boot log, and the output of 'lspci -vnn'.

Ben.

-- 
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: