Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
IDE Raid Issues
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
jseifert
n00b
n00b


Joined: 30 Jul 2005
Posts: 6

PostPosted: Sat Sep 10, 2005 3:46 pm    Post subject: IDE Raid Issues Reply with quote

I'm trying to install Gentoo on a four hard drives connected to a Promise IDE RAID (FastTrak TX4000).

It seems like the Gentoo installation CD correctly detects the card, and sees all four channels - but for some reason it detects the first two channels as SATA when they are actually PATA. Because of this, it is not seeing the hard drives connected to the first two channels.

From the dmesg:
---
libata version 1.11 loaded.
sata_promise version 1.01
ACPI: PCI Interrupt Link [APC1] enabled at IRQ 16
ACPI: PCI Interrupt 0000:02:06.0[A] -> Link [APC1] -> GSI 16 (level, low) -> IRQ
16
ata1: SATA max UDMA/133 cmd 0xFFFFC2000003C200 ctl 0xFFFFC2000003C238 bmdma 0x0
irq 16
ata2: SATA max UDMA/133 cmd 0xFFFFC2000003C280 ctl 0xFFFFC2000003C2B8 bmdma 0x0
irq 16
ata3: PATA max UDMA/133 cmd 0xFFFFC2000003C300 ctl 0xFFFFC2000003C338 bmdma 0x0
irq 16
ata4: PATA max UDMA/133 cmd 0xFFFFC2000003C380 ctl 0xFFFFC2000003C3B8 bmdma 0x0
irq 16
ata1: no device found (phy stat 00000000)
scsi0 : sata_promise
ata2: no device found (phy stat 00000000)
scsi1 : sata_promise
ata3: dev 0 ATA, max UDMA/100, 312581808 sectors: lba48
ata3: dev 0 configured for UDMA/100
scsi2 : sata_promise
ata4: dev 0 cfg 49:2f00 82:346b 83:7f61 84:4003 85:3469 86:3e41 87:4003 88:203f
ata4: dev 0 ATA, max UDMA/100, 312581808 sectors: lba48
ata4: dev 0 configured for UDMA/100
scsi3 : sata_promise
Vendor: ATA Model: ST3160023A Rev: 8.01
Type: Direct-Access ANSI SCSI revision: 05
SCSI device sda: 312581808 512-byte hdwr sectors (160042 MB)
SCSI device sda: drive cache: write back
SCSI device sda: 312581808 512-byte hdwr sectors (160042 MB)
SCSI device sda: drive cache: write back
sda: unknown partition table
Attached scsi disk sda at scsi2, channel 0, id 0, lun 0
Vendor: ATA Model: WDC WD1600JB-55G Rev: 08.0
Type: Direct-Access ANSI SCSI revision: 05
SCSI device sdb: 312581808 512-byte hdwr sectors (160042 MB)
SCSI device sdb: drive cache: write back
SCSI device sdb: 312581808 512-byte hdwr sectors (160042 MB)
SCSI device sdb: drive cache: write back
sdb: unknown partition table
Attached scsi disk sdb at scsi3, channel 0, id 0, lun 0
---

lspci info
---
0000:02:06.0 RAID bus controller: Promise Technology, Inc. PDC20619 (FastTrak TX4000) (rev 02)
---

Any way to force it to use PATA for all four controllers?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54304
Location: 56N 3W

PostPosted: Sat Sep 10, 2005 3:59 pm    Post subject: Reply with quote

jseifert,

I suspect that the SATA being reported is the SATA from the motherboard, then its seing onlt the first 2 channels on the plug in controller a,d not even looking for the second two channels.

If you unplug the card are the first two SATA reports still present in dmesg ?

I suspect the choices are turn off SATA on the motherboard or make the kernel scan more IDE buses.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
jseifert
n00b
n00b


Joined: 30 Jul 2005
Posts: 6

PostPosted: Sat Sep 10, 2005 5:40 pm    Post subject: Reply with quote

Neddy,

Thanks for the reply... I tried disabling SATA in the BIOS, and still had the same effect. If I pull the RAID card, I get no SATA devices at all...

However, I do think I fixed the problem.

It looks like the sata_promise driver that comes with the Gentoo Install CD *forces* the first two devices on the card to be SATA. This can be seen at this portion of the code:
---
probe_ent->port_flags[0] = ATA_FLAG_SATA;
probe_ent->port_flags[1] = ATA_FLAG_SATA;
---

I commented out the above two lines, recompiled this module on another gentoo system I have, and then copied it over to the system I am tryign to install... This module successfully detected all four drives and gave them all drive names.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum