PDA

View Full Version : Question about HD-Controller



Poochie
12-30-2004, 09:02 PM
Hello everyone,

I'm still rather new with Linux.

My computer has 2 IDE connectors on the mainboard.
On IDE1, there is
/dev/hda used for gentoo
/dev/hdb used for data

On IDE2, two DVD-(-R) ROM drives are connected.
These drives are all recognized and are working so far.

However, I also use an IDE-controller card and a 160GB HD connected to it, with a Win2000 partition and several data partitions.
The controller is a HighPoint Rocket 133SB with a Bios onthe card.

Knoppix is recognising these partitions under /dev/hdg without any problems.

When I try other Linux distributions however, they won't recognize that HD. I would like to enable that drive in gentoo.

So while in Knoppix, I tried" lsmod" and this is what I received:




Module Size Used by Not tainted
ppp_deflate 2936 0 (autoclean)
zlib_deflate 17336 0 (autoclean) [ppp_deflate]
bsd_comp 3992 0 (autoclean)
ppp_async 7232 1 (autoclean)
ppp_generic 22816 3 (autoclean) [ppp_deflate bsd_comp ppp_async]
slhc 4560 0 (autoclean) [ppp_generic]
reiserfs 169616 1 (autoclean)
ntfs 50944 1 (autoclean)
autofs4 8756 1 (autoclean)
af_packet 13544 2 (autoclean)
nls_iso8859-1 2844 3 (autoclean)
nls_cp437 4348 2 (autoclean)
agpgart 42660 0 (unused)
emu10k1 61064 1
sound 55276 0 [emu10k1]
ac97_codec 11916 0 [emu10k1]
soundcore 3428 7 [emu10k1 sound]
dmfe 11905 1
crc32 2816 0 [dmfe]
emu10k1-gp 1224 0 (unused)
gameport 1388 0 [emu10k1-gp]
parport_pc 24840 0
parport 22496 0 [parport_pc]
serial 52100 0 (autoclean)
pcmcia_core 39840 0
apm 9768 2
rtc 7036 0 (autoclean)
cloop 8740 2
ieee1394 183076 0
usb-storage 61696 0 (unused)
usb-ohci 17896 0 (unused)
usb-uhci 21644 0 (unused)
usbcore 57600 1 [usb-storage usb-ohci usb-uhci]
ataraid 6180 0
ide-cd 28512 0
ide-scsi 8816 1


My guess that "ide-scsi" is the thing I'm looking for. How do I find out more about this, so that I can enable it in other distributions?

I know that this isn't the gentoo message board, but I thought that maybe you could help me, because Knoppix works with the drive.

Poochie
12-30-2004, 09:19 PM
Here's the gentoo-version of lsmod:



Module Size Used by
fglrx 226556 -
bash-2.05b$ lsmod
Module Size Used by
fglrx 226556 -
snd_pcm_oss 48008 -
snd_mixer_oss 17256 -
snd_seq_midi 6176 -
snd_emu10k1_synth 6632 -
snd_emux_synth 34728 -
snd_seq_virmidi 5448 -
snd_seq_midi_emul 6600 -
snd_seq_oss 31424 -
snd_seq_midi_event 5992 -
snd_seq 49968 -
snd_emu10k1 91400 -
snd_rawmidi 19844 -
snd_pcm 84164 -
snd_timer 20620 -
snd_seq_device 6160 -
snd_ac97_codec 68272 -
snd_page_alloc 7216 -
snd_util_mem 3112 -
snd_hwdep 6884 -
snd 46308 -
soundcore 6880 -


I'd really appreciate any suggestions.

Have a happy New Year!

UnderScore
12-30-2004, 10:38 PM
According to the HighPoint website, the Rocket 133SB uses the HPT302 chipset http://www.highpoint-tech.com/USA/r133sb.htm. I searched the kernel source tree and found the appropriate driver for you.

james@0[k]# grep -R -i -n HPT302 linux-2.6.10/drivers/ide/pci/*
linux-2.6.10/drivers/ide/pci/hpt366.c:125: case PCI_DEVICE_ID_TTI_HPT302:
linux-2.6.10/drivers/ide/pci/hpt366.c:126: class_rev = PCI_DEVICE_ID_TTI_HPT302; break;
linux-2.6.10/drivers/ide/pci/hpt366.c:153: } else if (hpt_minimum_revision(dev, 6)) { /* HPT302 */
linux-2.6.10/drivers/ide/pci/hpt366.c:154: mode = (HPT302_ALLOW_ATA133_6) ? 4 : 3;
linux-2.6.10/drivers/ide/pci/hpt366.c:377: hpt302_tune_chipset(drive, speed);
linux-2.6.10/drivers/ide/pci/hpt366.c:1297: { PCI_VENDOR_ID_TTI, PCI_DEVICE_ID_TTI_HPT302, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 2},
linux-2.6.10/drivers/ide/pci/hpt366.h:405:#define HPT302_ALLOW_ATA133_6 0linux-2.6.10/drivers/ide/pci/hpt366.h:445: .name = "HPT302",

james@0[k]# grep -R -i -n HPT302 linux-2.4.28/drivers/ide/pci/*
linux-2.4.28/drivers/ide/pci/hpt366.c:197: case PCI_DEVICE_ID_TTI_HPT302:
linux-2.4.28/drivers/ide/pci/hpt366.c:198: class_rev = PCI_DEVICE_ID_TTI_HPT302; break;
linux-2.4.28/drivers/ide/pci/hpt366.c:225: } else if (hpt_minimum_revision(dev, 6)) { /* HPT302 */
linux-2.4.28/drivers/ide/pci/hpt366.c:226: mode = (HPT302_ALLOW_ATA133_6) ? 4 : 3;
linux-2.4.28/drivers/ide/pci/hpt366.c:452: hpt302_tune_chipset(drive, speed);
linux-2.4.28/drivers/ide/pci/hpt366.c:1446: { PCI_VENDOR_ID_TTI, PCI_DEVICE_ID_TTI_HPT302, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 2},
linux-2.4.28/drivers/ide/pci/hpt366.h:407:#define HPT302_ALLOW_ATA133_6 0
linux-2.4.28/drivers/ide/pci/hpt366.h:475: .device = PCI_DEVICE_ID_TTI_HPT302,
linux-2.4.28/drivers/ide/pci/hpt366.h:476: .name = "HPT302",
This means that the hpt366 driver will work in both the 2.4 & the 2.6 kernels. You should probably compile the hpt366 driver not as a loadable module but instead into the kernel itself.
I hope this helps.
James

Poochie
12-31-2004, 09:49 AM
Thanks!

I will try that out ASAP!