is (rscsi_disks[i].sector_size != 512) ok ?

From: sara@procsys.com
Date: Wed Apr 12 2000 - 09:43:34 EST


We have a custom storage controller. It has configurable sector_size.
When configured to 1K, fdisk goes through ok. Buf mkfs gives errors shown
below.

Does Linux kernel support non 512 sector_size. Does tools
mkfs/fsck and filesystems run properly on such storage devices?

---

driver insmod, kernel messages:

scsi : 0 hosts. Name: Release_1_0_0_2 scsi0 : XXXXX scsi : 1 host. scsi: unknown type 12 Vendor: XXXXXXX Model: XXXXXXXXX Rev: BETA Type: Unknown ANSI SCSI revision: 02 Detected scsi generic sga at scsi0, channel 0, id 0, lun 0 Vendor: Model: Rev: Type: Direct-Access ANSI SCSI revision: 02 Detected scsi disk sda at scsi0, channel 0, id 9, lun 0 resize_dma_pool: unknown device type 12 SCSI device sda: hdwr sector= 1024 bytes. Sectors= 17783230 [17366 MB] [17.4 GB] sda: sda1

mkfs output, kernel messages:

SCSI disk error : host 0 channel 0 id 9 lun 0 return code = 8000002 Info fld=0x10f59dc, Current sd08:01: sense key Illegal Request Additional sense indicates Logical block address out of range scsidisk I/O error: dev 08:01, sector 936 SCSI disk error : host 0 channel 0 id 9 lun 0 return code = 8000002 Info fld=0x10f5a1c, Current sd08:01: sense key Illegal Request Additional sense indicates Logical block address out of range scsidisk I/O error: dev 08:01, sector 1064 SCSI disk error : host 0 channel 0 id 9 lun 0 return code = 8000002 Info fld=0x10f5a5c, Current sd08:01: sense key Illegal Request Additional sense indicates Logical block address out of range scsidisk I/O error: dev 08:01, sector 1192 SCSI disk error : host 0 channel 0 id 9 lun 0 return code = 8000002 Info fld=0x10f5a9c, Current sd08:01: sense key Illegal Request . . .

-Saravanan

p.s. Please post a copy to me. I am not on the mailing list.

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



This archive was generated by hypermail 2b29 : Sat Apr 15 2000 - 21:00:18 EST