Hi.
I am fairly new to Linux, so my question might be easy, I hope... I apologize for the long post, but I think that all the info is relevant. I am having trouble setting up RAID1 (mirror) on the 2.4.21-pre7 kernel (that is the latest, I believe) Here is my hardware configuration: Motherboard: Gigabyte VIA KT400 with onboard Fasttrack Promise 20276 controller CPU: Duron 800Mhz IDE0: 20GB HDD (/dev/hda) and a CD-ROM (/dev/hdb) RAID Controller: 2 120GB HDDs (/dev/hde and /dev/hdg) I have set up a RAID1 (mirror) in the Fasttrack bios. I have installed working kernel on /dev/hda. I have compiled a new kernel with these options: CONFIG_IDE=y CONFIG_BLK_DEV_IDE=y
CONFIG_BLK_DEV_IDEDISK=y CONFIG_BLK_DEV_IDECD=y CONFIG_BLK_DEV_IDEPCI=y CONFIG_IDEPCI_SHARE_IRQ=y CONFIG_BLK_DEV_IDEDMA_PCI=y CONFIG_IDEDMA_PCI_AUTO=y CONFIG_BLK_DEV_IDEDMA=y CONFIG_BLK_DEV_NS87415 is not set CONFIG_BLK_DEV_PDC202XX_NEW=y CONFIG_PDC202XX_FORCE=y CONFIG_BLK_DEV_VIA82CXXX=y CONFIG_IDE_CHIPSETS=y CONFIG_IDEDMA_AUTO=y CONFIG_BLK_DEV_PDC202XX=y CONFIG_BLK_DEV_IDE_MODES=y CONFIG_BLK_DEV_ATARAID=m CONFIG_BLK_DEV_ATARAID_PDC=m I installed the new kernel and rebooted. Here are
the related parts of
startup messages /var/log/syslog:
Apr 10 22:50:24 datahost kernel: hda: ST320011A, ATA DISK drive Apr 10 22:50:24 datahost kernel: hdb: CRD-8400C, ATAPI CD/DVD-ROM drive Apr 10 22:50:24 datahost kernel: blk: queue c0348780, I/O limit 4095Mb (mask 0xffffffff) Apr 10 22:50:24 datahost kernel: hde: WDC WD1200JB-00DUA1, ATA DISK drive Apr 10 22:50:24 datahost kernel: blk: queue c0349020, I/O limit 4095Mb (mask 0xffffffff) Apr 10 22:50:24 datahost kernel: hdg: WDC WD1200JB-00DUA1, ATA DISK drive Apr 10 22:50:24 datahost kernel: blk: queue c0349470, I/O limit 4095Mb (mask 0xffffffff) Apr 10 22:50:24 datahost kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 Apr 10 22:50:24 datahost kernel: ide2 at 0xc400-0xc407,0xc802 on irq 11 Apr 10 22:50:24 datahost kernel: ide3 at 0xcc00-0xcc07,0xd002 on irq 11 Apr 10 22:50:24 datahost kernel: hda: attached ide-disk driver. Apr 10 22:50:24 datahost kernel: hda: host protected area => 1 Apr 10 22:50:24 datahost kernel: hde: attached ide-disk driver. Apr 10 22:50:24 datahost kernel: hde: host protected area => 1 Apr 10 22:50:24 datahost kernel: hdg: attached ide-disk driver. Apr 10 22:50:24 datahost kernel: hdg: host protected area => 1 Apr 10 22:50:24 datahost kernel: hdb: attached ide-cdrom driver. Apr 10 22:50:24 datahost kernel: 8regs : 1234.000 MB/sec Apr 10 22:50:24 datahost kernel: 32regs : 876.800 MB/sec Apr 10 22:50:24 datahost kernel: pII_mmx : 1892.800 MB/sec Apr 10 22:50:24 datahost kernel: p5_mmx : 2428.000 MB/sec Apr 10 22:50:24 datahost kernel: raid5: using function: p5_mmx (2428.000 MB/sec) /var/log/messages:
Apr 10 22:50:24 datahost kernel: Uniform Multi-Platform E-IDE driver Revision: 7.00beta-2.4 Apr 10 22:50:24 datahost kernel: ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx Apr 10 22:50:24 datahost kernel: PDC20276: IDE controller at PCI slot 00:0f.0 Apr 10 22:50:24 datahost kernel: PDC20276: chipset revision 1 Apr 10 22:50:24 datahost kernel: PDC20276: not 100%% native mode: will probe irqs later Apr 10 22:50:24 datahost kernel: ide2: BM-DMA at 0xd400-0xd407, BIOS settings: hde:pio, hdf:pio Apr 10 22:50:24 datahost kernel: ide3: BM-DMA at 0xd408-0xd40f, BIOS settings: hdg:pio, hdh:pio Apr 10 22:50:24 datahost kernel: VP_IDE: IDE controller at PCI slot 00:11.1 Apr 10 22:50:24 datahost kernel: VP_IDE: chipset revision 6 Apr 10 22:50:24 datahost kernel: VP_IDE: not 100%% native mode: will probe irqs later Apr 10 22:50:24 datahost kernel: VP_IDE: VIA vt8235 (rev 00) IDE UDMA133 controller on pci00:11.1 Apr 10 22:50:24 datahost kernel: ide0: BM-DMA at 0xe400-0xe407, BIOS settings: hda:DMA, hdb:DMA Apr 10 22:50:24 datahost kernel: hda: 39102336 sectors (20020 MB) w/2048KiB Cache, CHS=38792/16/63, UDMA(100) Apr 10 22:50:24 datahost kernel: hde: 234375000 sectors (120000 MB) w/8192KiB Cache, CHS=14589/255/63, UDMA(100) Apr 10 22:50:24 datahost kernel: hdg: 234375000 sectors (120000 MB) w/8192KiB Cache, CHS=14589/255/63, UDMA(100) Apr 10 22:50:24 datahost kernel: hdb: ATAPI 40X CD-ROM drive, 128kB Cache, DMA Apr 10 22:50:24 datahost kernel: Uniform CD-ROM driver Revision: 3.12 Apr 10 22:50:24 datahost kernel: Partition check: Apr 10 22:50:24 datahost kernel: hda: hda1 hda2 Apr 10 22:50:24 datahost kernel: hde: hde1 hde2 hde3 hde4 < hde5 hde6 > Apr 10 22:50:24 datahost kernel: hdg: hdg1 hdg2 hdg3 hdg4 < hdg5 hdg6 > Apr 10 22:50:24 datahost kernel: md: linear personality registered as nr 1 Apr 10 22:50:24 datahost kernel: md: raid0 personality registered as nr 2 Apr 10 22:50:24 datahost kernel: md: raid1 personality registered as nr 3 Apr 10 22:50:24 datahost kernel: md: raid5 personality registered as nr 4 Apr 10 22:50:24 datahost kernel: raid5: measuring checksumming speed Apr 10 22:50:24 datahost kernel: md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27 Apr 10 22:50:24 datahost kernel: md: Autodetecting RAID arrays. Apr 10 22:50:24 datahost kernel: md: autorun ... Apr 10 22:50:24 datahost kernel: md: ... autorun DONE. cat /proc/interrupts: CPU0 0: 244568 XT-PIC timer 1: 2 XT-PIC keyboard 2: 0 XT-PIC cascade 8: 1 XT-PIC rtc 11: 20 XT-PIC ide2, ide3 14: 16942 XT-PIC ide0 15: 7602 XT-PIC eth0 NMI: 0 ERR: 0 lspci: 00:00.0 Host bridge: VIA Technologies, Inc. VT8377 [KT400 AGP] Host Bridge 00:01.0 PCI bridge: VIA Technologies, Inc. VT8235 PCI Bridge 00:09.0 VGA compatible controller: ATI Technologies Inc 3D Rage Pro 215GP (rev 5c) 00:0f.0 RAID bus controller: Promise Technology, Inc. PDC20276 IDE (rev 01) 00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge 00:11.1 IDE interface: VIA Technologies, Inc. VT82C586/B/686A/B PIPC Bus Master IDE (rev 06) 00:13.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10) I compiled the pdcraid driver as a module on
purpose for easier troubleshooting.
When I try to do: "modprobe pdcraid", I get this on the screen: /lib/modules/2.4.20/kernel/drivers/ide/pdcraid.o: init_module: No such device /lib/modules/2.4.20/kernel/drivers/ide/pdcraid.o: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters. You may find more information in syslog or the output from dmesg /lib/modules/2.4.20/kernel/drivers/ide/pdcraid.o: insmod /lib/modules/2.4.20/kernel/drivers/ide/pdcraid.o failed /lib/modules/2.4.20/kernel/drivers/ide/pdcraid.o: insmod pdcraid failed If I type dmesg, I get this:
Promise Fasttrak(tm) Softwareraid driver 0.03beta: No raid array found Does anyone have an idea on what I can try to get this working? What is involved in finding the array? (i.e. exactly what does it look for?) Does anyone have a similar setup working? Thanks in advance. Val |