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

Joined: 09 Aug 2003 Posts: 67
|
Posted: Wed Mar 02, 2005 5:34 am Post subject: CMD Technology Inc PCI0649 (rev 2) Gives Me The Creeps |
|
|
CMD Technology Inc PCI0649 (rev 2)
Well, thats what an lspci returns for my ATA MegaRaid PCI Controller. Yea I know, ancient and not supported well, but Im a sucker for Ebay.
Regardless, does anyone know how to install Gentoo on the damn thing? Ideally I would like to install Gentoo to the raid from Knoppix. I could boot from the Live CD, but I am not sure I could get the Kernel to use the raid. I have been very unsuccessful at finding a module to load. I have heard of, and seen, a megaide.o in reference to Red Hat and SUSE, but it was all kernel 2.4.
Does anyone know if it is possible to get this working under the 2.6.9 kernel in Knoppix 3.7 so I could install Gentoo to the raid. If not, and I use the Live CD, does anyone know if this hardware is supported right off the CD?
Since this machine is completely empty, I am waiting to do a complete install until 2005.0 is released. I know this is going to be using the 2.6 by default. And I would like to use the 2.6. I guess even if I can get it manually configured in the kernel for the installed Gentoo, I still need to get the raid seen initially so I can install to it.
I know of the doataraid boot option, but it doesnt seem to support megaraid/ide (whatever it is). Any ideas would be really helpful. Thanks again!
Hippie Joe
PS. I know this could be under the installation forum, but I think it is more kernel related. Sorry if I assumed incorrectly. |
|
Back to top |
|
 |
steveb Advocate


Joined: 18 Sep 2002 Posts: 4564
|
Posted: Wed Mar 02, 2005 6:58 am Post subject: |
|
|
i have that raid controller in two of my compaq servers: Code: | ns2 / # lspci
0000:00:00.0 Host bridge: ServerWorks CNB20LE Host Bridge (rev 05)
0000:00:00.1 Host bridge: ServerWorks CNB20LE Host Bridge (rev 05)
0000:00:01.0 PCI bridge: Digital Equipment Corporation DECchip 21152 (rev 03)
0000:00:02.0 PCI bridge: Intel Corporation 80960RP [i960 RP Microprocessor/Bridge] (rev 05)
0000:00:02.1 Memory controller: Intel Corporation 80960RP [i960RP Microprocessor] (rev 05)
0000:00:0f.0 ISA bridge: ServerWorks OSB4 South Bridge (rev 51)
0000:00:0f.1 IDE interface: ServerWorks OSB4 IDE Controller
0000:00:0f.2 USB Controller: ServerWorks OSB4/CSB5 OHCI USB Controller (rev 04)
0000:01:05.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro 100] (rev 08)
0000:01:07.0 System peripheral: Compaq Computer Corporation Advanced System Management Controller
0000:01:08.0 IDE interface: Silicon Image, Inc. (formerly CMD Technology Inc) SiI 0649 Ultra ATA/100 PCI to ATA Host Controller (rev 02)
0000:02:00.0 VGA compatible controller: ATI Technologies Inc 3D Rage IIC 215IIC [Mach64 GT IIC] (rev 7a)
ns2 / # |
if i look in the kernel config, then i see this: Code: | Linux Kernel v2.6.11-rc5 Configuration
──────────────────────────────────────────────────────────────────────────────────────────────────
┌────────────────────────────── CMD64{3|6|8|9} chipset support ───────────────────────────────┐
│ CONFIG_BLK_DEV_CMD64X: │
│ │
│ Say Y here if you have an IDE controller which uses any of these │
│ chipsets: CMD643, CMD646, or CMD648. │
│ │
│ Symbol: BLK_DEV_CMD64X [=y] │
│ Prompt: CMD64{3|6|8|9} chipset support │
│ Defined at drivers/ide/Kconfig:504 │
│ Depends on: IDE && BLK_DEV_IDE && BLK_DEV_IDEDMA_PCI │
│ Location: │
│ -> Device Drivers │
│ -> ATA/ATAPI/MFM/RLL support │
│ -> ATA/ATAPI/MFM/RLL support (IDE [=y]) │
│ -> Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support (BLK_DEV_IDE [=y]) │
│ -> PCI IDE chipset support (BLK_DEV_IDEPCI [=y]) │
│ -> Generic PCI bus-master DMA support (BLK_DEV_IDEDMA_PCI [=y]) │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
├─────────────────────────────────────────────────────────────────────────────────────(100%)──┤
│ < Exit > │
└─────────────────────────────────────────────────────────────────────────────────────────────┘ |
searching for it in the kernel sources results in: Code: | ns2 linux-2.6.11-rc5 # find . -iname "cmd64*" -type f
./drivers/ide/pci/cmd640.c
./drivers/ide/pci/cmd64x.c
./drivers/ide/pci/cmd64x.o
./include/config/blk/dev/cmd640.h
./include/config/blk/dev/cmd64x.h
ns2 linux-2.6.11-rc5 # |
for me this means the module is called "cmd64x"
cheers
SteveB |
|
Back to top |
|
 |
HippieJoe n00b

Joined: 09 Aug 2003 Posts: 67
|
Posted: Wed Mar 02, 2005 1:03 pm Post subject: |
|
|
Well, we are getting closer. I ran a search for the modules as well, came up with the same results, however it was all for the 2.4 Kernel under Knoppix 3.7. Maybe I could install Gentoo 2005.0 from Knoppix running the 2.4 kernel??? I haven't tried yet, just hoping. Thanks for your help, I will let you know if it works.
HippieJoe |
|
Back to top |
|
 |
steveb Advocate


Joined: 18 Sep 2002 Posts: 4564
|
Posted: Wed Mar 02, 2005 7:13 pm Post subject: |
|
|
HippieJoe wrote: | Well, we are getting closer. I ran a search for the modules as well, came up with the same results, however it was all for the 2.4 Kernel under Knoppix 3.7. Maybe I could install Gentoo 2005.0 from Knoppix running the 2.4 kernel??? I haven't tried yet, just hoping. Thanks for your help, I will let you know if it works.
HippieJoe | you can start knoppix 3.7 with kernel 2.6 by using: knoppix26 2
this starts knoppix with kernel 2.6 in console mode
cheers
SteveB |
|
Back to top |
|
 |
HippieJoe n00b

Joined: 09 Aug 2003 Posts: 67
|
Posted: Wed Mar 02, 2005 9:03 pm Post subject: |
|
|
Yes...I was starting Knoppix 3.7 with:
knoppix26 doataraid
It booted the 2.6, but I am not even sure if the ataraid is a cheat code anymore or not. However, the raid still didn't come up. So, following the Steveb's reply, I attempted to load the cmd64x.o module:
insmod cmd64x.o
Course, this module is only built for the 2.4 Kernel, so I wasted my time with the initial boot options anyways, I should have just hit enter. So that is what I will do when I get home from work. Hopefully the raid will, "come right up" as a device.
I still have a lot of learning to do for Raids, especially installing on them and booting them, but I figure one fence at a time, so first thing is first and I gotta get something to see it. Thanks again for all your replies! Any other advice, tips, or tricks always appreciated.
Hippie Joe |
|
Back to top |
|
 |
HippieJoe n00b

Joined: 09 Aug 2003 Posts: 67
|
Posted: Thu Mar 03, 2005 2:29 am Post subject: |
|
|
Alright, I think I may be getting somewhere. I am not sure though if it worked or not. Would I beable to fdisk -l the device to see the geometry of the ataraid? The reason I think it may have worked is, I have in /dev ataraid, also I have /dev/initrd. What does a raid device look like, is it an hd*? What else do I have to do other then boot with, doataraid. I have been reading, but nothing is really clear. Does anyone know of a nice up to date how to for ata hardware raid with the 2.6 kernel? Thanks
Hippie Joe
[edit]
by the way, in /proc/ide i have cmd64x. when I cat it, I can see the drives hooked to the controller. |
|
Back to top |
|
 |
steveb Advocate


Joined: 18 Sep 2002 Posts: 4564
|
Posted: Thu Mar 03, 2005 2:57 am Post subject: |
|
|
HippieJoe wrote: | Alright, I think I may be getting somewhere. I am not sure though if it worked or not. Would I beable to fdisk -l the device to see the geometry of the ataraid? The reason I think it may have worked is, I have in /dev ataraid, also I have /dev/initrd. What does a raid device look like, is it an hd*? What else do I have to do other then boot with, doataraid. I have been reading, but nothing is really clear. Does anyone know of a nice up to date how to for ata hardware raid with the 2.6 kernel? Thanks
Hippie Joe
[edit]
by the way, in /proc/ide i have cmd64x. when I cat it, I can see the drives hooked to the controller. |
when you do a hardware raid, then the os normaly does not know anything about that and handles the disk as if they would be normal disks. on my compaq proliant servers where i have some smart array controllers, the driver it self makes other device nodes then the normal one. but from the viewpoint of gentoo linux the disks are normal disks. gentoo does not know that i have raid on them and gentoo does not know what type of raid i run on the disks.
cheers
SteveB
btw: for raid under linux (not only hw raid): http://www.faqs.org/contrib/linux-raid/
btw2: maybe you want to look into lvm2 for dynamicly handling the disk system |
|
Back to top |
|
 |
davidblewett Apprentice


Joined: 15 Feb 2004 Posts: 274 Location: Indiana
|
Posted: Fri Mar 04, 2005 1:38 pm Post subject: |
|
|
I would suggest using the hardware RAID card as just additional IDE ports and using the kernel's software RAID. It's very good, and there are alot more tools available for that. _________________ No guilt in life, no fear in death
this is the power of Christ in me
From lifes first cry to final breath
Jesus commands my destiny
-- Newsboys, "In Christ Alone", "Adoration: The Worship Album" |
|
Back to top |
|
 |
|
|
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
|
|