You are not logged in.

#1 2007-06-13 08:13:11

steve_v
Member
Registered: 2006-02-11
Posts: 80

ata_hpt37x and the case of the missing partition...

Hi all, I have just tried out the new libata drivers and have some weirdness going on with my Highpoint 370a based PCI IDE controller.
Here is the situation.
3 drives on onboard controller.
4 drives on Highpoint PCI controller.

Old IDE driver: Card detected as a 366, configured for udma 66. I KNOW this card has a 370A chipset. but all works well.
New PATA driver: Card detected as a 370, configured for udma 100. But the partition on the secondary master drive (sde1) doesn't show up in /dev or /proc/partitions.
cfdisk can see it and dmesg shows 'sde: sde1' so I assume the driver can see it too.
If I re-write the partition table with fdisk it spontaneously shows up in /dev and /proc/partitions and can be accessed normally, but after a reboot it is gone again.

Does this sound like a hardware or software issue?

cat /proc/partitions:

   8     0   78150744 sda
   8     1      40131 sda1
   8     2     996030 sda2
   8     3    8000370 sda3
   8     4   69111630 sda4
   8    16    8257032 sdb
   8    17    8256496 sdb1
   8    32   78125000 sdc
   8    33   78124504 sdc1
   8    48   19551168 sdd
   8    49   19543041 sdd1
   8    64   78149687 sde
   8    80   19551168 sdf
   8    81   19551073 sdf1

Relevant Dmesg excerpt:

libata version 2.20 loaded.
ata_piix 0000:00:1f.1: version 2.10ac1
PCI: Enabling device 0000:00:1f.1 (0005 -> 0007)
ACPI: PCI Interrupt 0000:00:1f.1[A] -> GSI 18 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:00:1f.1 to 64
ata1: PATA max UDMA/133 cmd 0x000101f0 ctl 0x000103f6 bmdma 0x0001fc00 irq 14
ata2: PATA max UDMA/133 cmd 0x00010170 ctl 0x00010376 bmdma 0x0001fc08 irq 15
scsi0 : ata_piix
ata1.00: ATA-6: ST380011A, 8.01, max UDMA/100
ata1.00: 156301488 sectors, multi 16: LBA48
ata1.01: ATA-4: Maxtor 90845D4, GAS54112, max UDMA/33
ata1.01: 16514064 sectors, multi 16: LBA
ata1.00: configured for UDMA/100
ata1.01: configured for UDMA/33
scsi1 : ata_piix
ata2.00: ATAPI, max UDMA/66
ata2.00: configured for UDMA/66
scsi 0:0:0:0: Direct-Access     ATA      ST380011A        8.01 PQ: 0 ANSI: 5
scsi 0:0:1:0: Direct-Access     ATA      Maxtor 90845D4   GAS5 PQ: 0 ANSI: 5
scsi 1:0:0:0: CD-ROM            PIODATA  DVD-RW DVR-108DX 1.18 PQ: 0 ANSI: 5
pata_hpt37x: BIOS has not set timing clocks.
hpt37x: HPT370A: Bus clock 33MHz.
ACPI: PCI Interrupt 0000:02:0d.0[A] -> GSI 21 (level, low) -> IRQ 17
ata3: PATA max UDMA/100 cmd 0x0001dff0 ctl 0x0001dfe6 bmdma 0x0001d800 irq 17
ata4: PATA max UDMA/100 cmd 0x0001dfa8 ctl 0x0001dfe2 bmdma 0x0001d808 irq 17
scsi2 : pata_hpt37x
ata3.00: ATA-6: WDC WD800BB-75JHA0, 05.01C05, max UDMA/100
ata3.00: 156250000 sectors, multi 16: LBA
ata3.01: ATA-6: ST320410A, 3.34, max UDMA/100
ata3.01: 39102336 sectors, multi 16: LBA
ata3.00: configured for UDMA/100
ata3.01: configured for UDMA/100
scsi3 : pata_hpt37x
ata4.00: ATA-5: WDC WD800BB-00CAA0, 16.06V16, max UDMA/100
ata4.00: 156299375 sectors, multi 16: LBA
ata4.01: ATA-6: ST320410A, 3.60, max UDMA/100
ata4.01: 39102336 sectors, multi 16: LBA
ata4.00: configured for UDMA/100
ata4.01: configured for UDMA/100
scsi 2:0:0:0: Direct-Access     ATA      WDC WD800BB-75JH 05.0 PQ: 0 ANSI: 5
scsi 2:0:1:0: Direct-Access     ATA      ST320410A        3.34 PQ: 0 ANSI: 5
scsi 3:0:0:0: Direct-Access     ATA      WDC WD800BB-00CA 16.0 PQ: 0 ANSI: 5
scsi 3:0:1:0: Direct-Access     ATA      ST320410A        3.60 PQ: 0 ANSI: 5
SCSI device sda: 156301488 512-byte hdwr sectors (80026 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: write cache: enabled, read cache: enabled, doesn't support DPO or FUA
SCSI device sda: 156301488 512-byte hdwr sectors (80026 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sda: sda1 sda2 sda3 sda4
sd 0:0:0:0: Attached scsi disk sda
SCSI device sdb: 16514064 512-byte hdwr sectors (8455 MB)
sr0: scsi3-mmc drive: 62x/62x writer cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.20
sr 1:0:0:0: Attached scsi CD-ROM sr0
sdb: Write Protect is off
sdb: Mode Sense: 00 3a 00 00
SCSI device sdb: write cache: enabled, read cache: enabled, doesn't support DPO or FUA
SCSI device sdb: 16514064 512-byte hdwr sectors (8455 MB)
sdb: Write Protect is off
sdb: Mode Sense: 00 3a 00 00
SCSI device sdb: write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sdb: sdb1
sd 0:0:1:0: Attached scsi disk sdb
SCSI device sdc: 156250000 512-byte hdwr sectors (80000 MB)
sdc: Write Protect is off
sdc: Mode Sense: 00 3a 00 00
SCSI device sdc: write cache: enabled, read cache: enabled, doesn't support DPO or FUA
SCSI device sdc: 156250000 512-byte hdwr sectors (80000 MB)
sdc: Write Protect is off
sdc: Mode Sense: 00 3a 00 00
SCSI device sdc: write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sdc: sdc1
sd 2:0:0:0: Attached scsi disk sdc
SCSI device sdd: 39102336 512-byte hdwr sectors (20020 MB)
sdd: Write Protect is off
sdd: Mode Sense: 00 3a 00 00
SCSI device sdd: write cache: enabled, read cache: enabled, doesn't support DPO or FUA
SCSI device sdd: 39102336 512-byte hdwr sectors (20020 MB)
sdd: Write Protect is off
sdd: Mode Sense: 00 3a 00 00
SCSI device sdd: write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sdd: sdd1
sd 2:0:1:0: Attached scsi disk sdd
SCSI device sde: 156299375 512-byte hdwr sectors (80025 MB)
sde: Write Protect is off
sde: Mode Sense: 00 3a 00 00
SCSI device sde: write cache: enabled, read cache: enabled, doesn't support DPO or FUA
SCSI device sde: 156299375 512-byte hdwr sectors (80025 MB)
sde: Write Protect is off
sde: Mode Sense: 00 3a 00 00
SCSI device sde: write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sde: sde1
sd 3:0:0:0: Attached scsi disk sde
SCSI device sdf: 39102336 512-byte hdwr sectors (20020 MB)
sdf: Write Protect is off
sdf: Mode Sense: 00 3a 00 00
SCSI device sdf: write cache: enabled, read cache: enabled, doesn't support DPO or FUA
SCSI device sdf: 39102336 512-byte hdwr sectors (20020 MB)
sdf: Write Protect is off
sdf: Mode Sense: 00 3a 00 00
SCSI device sdf: write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sdf: sdf1
sd 3:0:1:0: Attached scsi disk sdf

Edit: This appears to be an intermittent issue, as all drives came up fine yesterday, but back to the missing partition trick today.

Edit: Removing and reloading the pata_hpt37x module seems to do the trick also.

Any ideas on how I can narrow this down?

Why would the driver say "sde: sde1" and not show it in /proc/partitions?

Cheers,

Steve.

Last edited by steve_v (2007-06-14 06:02:21)

Offline

#2 2007-06-14 13:27:26

once
Member
From: Taiwan
Registered: 2006-09-12
Posts: 266

Re: ata_hpt37x and the case of the missing partition...

try update kernel to 21.5

Offline

#3 2007-06-15 06:09:49

steve_v
Member
Registered: 2006-02-11
Posts: 80

Re: ata_hpt37x and the case of the missing partition...

Tried that today.

However putting pata_hpt37x in the MODULES array in mkinitcpio _seems_ to fix the issue, 3 boots in a row with all partitions recognised.
Something to do with driver loading order?

Cheers,

Steve.

Offline

Board footer

Powered by FluxBB