MOD 1024 sector size doubles partition size

Tried Kernel versions 2.2.12-32 (RedHat 6.1) and new 2.2.16-6.
Look at the following weird output:

[root@joe linux]# cat /proc/scsi/scsi   
Attached devices: 
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: DEC      Model: RZ26N    (C) DEC Rev: 1104
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 01 Lun: 00
  Vendor: DEC      Model: RZ26N    (C) DEC Rev: 1104
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 02 Lun: 00
  Vendor: SEAGATE  Model: ST43400N         Rev: 1028
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi0 Channel: 01 Id: 03 Lun: 00
  Vendor: HP       Model: C1716T           Rev: 3406
  Type:   Optical Device                   ANSI SCSI revision: 02
[root@joe linux]# cat /proc/scsi/aic7xxx/0  
Adaptec AIC7xxx driver version: 5.1.20/3.2.4
Compile Options:
  TCQ Enabled By Default : Disabled
  AIC7XXX_PROC_STATS     : Enabled
  AIC7XXX_RESET_DELAY    : 5

Adapter Configuration:
           SCSI Adapter: Adaptec AIC-7770 SCSI host adapter
                           Narrow Controller Channel A
    Programmed I/O Base: bc00
    BIOS Memory Address: 0x000cc000
 Adapter SEEPROM Config: SEEPROM not found, using defaults.
      Adaptec SCSI BIOS: Disabled
                    IRQ: 14
                   SCBs: Active 0, Max Active 3,
                         Allocated 15, HW 4, Page 255
             Interrupts: 6553 (Level Sensitive)
      BIOS Control Word: 0x0000
   Adapter Control Word: 0x6767
   Extended Translation: Disabled
Disconnect Enable Flags: 0xffff
 Tag Queue Enable Flags: 0x0000
Ordered Queue Tag Flags: 0x0000
Default Tag Queue Depth: 8
    Tagged Queue By Device array for aic7xxx host instance 0:
      {255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255}
    Actual queue depth per device for aic7xxx host instance 0:
      {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}

(scsi0:1:3:0)
  Device using Narrow/Sync transfers at 5.0 MByte/sec, offset 8
  Transinfo settings: current(50/8/0/0), goal(25/15/0/0), user(25/15/0/0)
  Total transfers 3 (3 reads and 0 writes)
             < 2K      2K+     4K+     8K+    16K+    32K+    64K+   128K+
   Reads:       3       0       0       0       0       0       0       0
  Writes:       0       0       0       0       0       0       0       0


[root@joe linux]# fdisk -l /dev/sdd

Disk /dev/sdd: 64 heads, 32 sectors, 307 cylinders
Units = cylinders of 2048 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sdd1             1         4      4080   83  Linux
[root@joe linux]# cat /proc/partitions    
major minor  #blocks  name

   8    48     314569 sdd       <<<<<< This is right!
   8    49       8160 sdd1      <<<<<< This is wrong -> doubled

When I set up a filesystem and use get ext2 panics.
Filesystem is double the size of the partition.
Must be a bug in "sd.c".

Please Help. Cannot use MOD Drive.

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

Reply via email to