View previous topic :: View next topic |
Author |
Message |
inha n00b

Joined: 05 Sep 2004 Posts: 35
|
Posted: Sun Sep 05, 2004 7:29 pm Post subject: need help detecting my second hd. |
|
|
It's connected to a promise tx2 ultra100 ultra ata/100 controller card. I originally forgot to add support for it when I configured my kernel which I managed to fix on my own. now the system seems to detect the card but it still doesn't detect the hd.
lspci gives me this:
0000:02:01.0 Unknown mass storage controller: Promise Technology, Inc. PDC20268 (Ultra100 TX2) (rev 02)
there's only hda(the hd) and hdc(dvd drive) in /dev. also there is only host0 in /dev/ide and there's supposed to be a second host in there.
any ideas? all help is appreciated. I tried searching the forums (read fora if you're a spelling nazi) but couldn't find an answer that would help my particular problem. |
|
Back to top |
|
 |
SerfurJ l33t

Joined: 10 Apr 2004 Posts: 824 Location: Texas
|
Posted: Mon Sep 06, 2004 12:02 am Post subject: |
|
|
how are the cables connected? |
|
Back to top |
|
 |
Major Apprentice


Joined: 27 Feb 2004 Posts: 198 Location: Sherbrooke, Qc, Canada
|
Posted: Mon Sep 06, 2004 1:04 am Post subject: |
|
|
When your PC is booting ( should be one of the first messages )
Check what has been detected as IDE stuff. If the BIOS does not detect your hardware linux wont !?!
But Im not sure if this applyies for an Card that you plug into your motherbord. Im not used to this. If that is the case !
And check your cables and jumpers on your hard drives ! _________________ Major over and out |
|
Back to top |
|
 |
inha n00b

Joined: 05 Sep 2004 Posts: 35
|
Posted: Mon Sep 06, 2004 7:42 am Post subject: |
|
|
maybe I should have been more specific. I have fedora core 2 on my second hd and it detects the card and the hd and I can mount my gentoo partitions on fedora but it doesn't work the other way around. |
|
Back to top |
|
 |
dsd Developer

Joined: 30 Mar 2003 Posts: 2162 Location: nr London
|
Posted: Mon Sep 06, 2004 12:15 pm Post subject: |
|
|
have you compiled any specific drivers into your kernel to support the promise card? you probably need to.
also, it doesnt matter if the bios detects your drives or not - linux does its own probing for disks. _________________ http://dev.gentoo.org/~dsd |
|
Back to top |
|
 |
inha n00b

Joined: 05 Sep 2004 Posts: 35
|
Posted: Mon Sep 06, 2004 12:27 pm Post subject: |
|
|
I did compile the drivers into the kernel.
lspci gives me this: 0000:02:01.0 Unknown mass storage controller: Promise Technology, Inc. PDC20268 (Ultra100 TX2) (rev 02)
but it doesn't come up on dmesg | grep pci, for which I can't think of an explanation. |
|
Back to top |
|
 |
dsd Developer

Joined: 30 Mar 2003 Posts: 2162 Location: nr London
|
Posted: Mon Sep 06, 2004 12:59 pm Post subject: |
|
|
please post the "0000:02:01.0" line of "lspci -n", and say which driver you included into the kernel to try and support this. _________________ http://dev.gentoo.org/~dsd |
|
Back to top |
|
 |
inha n00b

Joined: 05 Sep 2004 Posts: 35
|
Posted: Mon Sep 06, 2004 1:10 pm Post subject: |
|
|
here's the line: 0000:02:01.0 Class 0180: 105a:4d68 (rev 02)
and this is the driver: PROMISE PDC202{46|62|65|67} support
one more thing: could this be becuse linux searches for the drives before it searches for the pci devices? in the startup the harddrive checks seem to be before pci hotplugging support is enabled. or am I just talking out of my ass? |
|
Back to top |
|
 |
SerfurJ l33t

Joined: 10 Apr 2004 Posts: 824 Location: Texas
|
Posted: Mon Sep 06, 2004 1:22 pm Post subject: |
|
|
is CONFIG_BLK_DEV_OFFBOARD enabled?
under drivers, ATA/ATAPI/MFM/RLL support, make sure this is checked:
[*] Boot off-board chipsets first support |
|
Back to top |
|
 |
inha n00b

Joined: 05 Sep 2004 Posts: 35
|
Posted: Mon Sep 06, 2004 1:31 pm Post subject: |
|
|
SerfurJ wrote: | is CONFIG_BLK_DEV_OFFBOARD enabled?
under drivers, ATA/ATAPI/MFM/RLL support, make sure this is checked:
[*] Boot off-board chipsets first support |
I had missed that. Thanks. I'll recompile and install the kernel and see if the card and drive start working. |
|
Back to top |
|
 |
inha n00b

Joined: 05 Sep 2004 Posts: 35
|
Posted: Mon Sep 06, 2004 2:22 pm Post subject: |
|
|
I compiled the kernel again and installed it the same way as in the handbook but my system is still not detecting the hd. |
|
Back to top |
|
 |
SerfurJ l33t

Joined: 10 Apr 2004 Posts: 824 Location: Texas
|
Posted: Mon Sep 06, 2004 2:49 pm Post subject: |
|
|
boot up fedora, see what modules are loaded, then build those modules and load then in gentoo. |
|
Back to top |
|
 |
inha n00b

Joined: 05 Sep 2004 Posts: 35
|
Posted: Mon Sep 06, 2004 3:11 pm Post subject: |
|
|
none of the modules modprobe -l found seem to be in any way related to ide drives or the promise card. the kernel settings seem to be identical on the relevant parts.
I think I'm going install gentoo again some day soon. Maybe I'll pick up where I went wrong then and I have a better understanding of use flags and the process in general now so maybe I could get a better system done anyway. |
|
Back to top |
|
 |
dsd Developer

Joined: 30 Mar 2003 Posts: 2162 Location: nr London
|
Posted: Mon Sep 06, 2004 6:18 pm Post subject: |
|
|
just from looking at the naming i can tell you are using the wrong driver
Quote: | 0000:02:01.0 Unknown mass storage controller: Promise Technology, Inc. PDC20268 (Ultra100 TX2) (rev 02) |
Quote: | and this is the driver: PROMISE PDC202{46|62|65|67} support |
whereas the entry directly below in menuconfig is:
Quote: | PROMISE PDC202{68|69|70|71|75|76|77} support |
so, enable the right driver (CONFIG_BLK_DEV_PDC202XX_NEW) and i think it should work
hope this helps _________________ http://dev.gentoo.org/~dsd |
|
Back to top |
|
 |
inha n00b

Joined: 05 Sep 2004 Posts: 35
|
Posted: Tue Sep 07, 2004 8:46 am Post subject: |
|
|
I can't believe I didn't notice that. Thanks. I'll give it a shot once more. |
|
Back to top |
|
 |
|