FastTrack 100 'Lite' problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

When I connect IDE drives to 'usual' (not raid) chanels of motherboard
and try to boot linux kernel I have 2 problems:

1. Kernel detects ataraid (I think it shouldn't on this chanel):

  ataraid/d0: ataraid/d0p1 ataraid/d0p2 ataraid/d0p3
Drive 0 is 19623 Mb (34 / 0) 
Drive 1 is 19623 Mb (34 / 64) 
Raid0 array consists of 2 drives. 

2. It also detects ataraid/d1 with the same parameters and then
   crashes during md raid autodetect !

  ataraid/d1: ataraid/d1p1 ataraid/d1p2 ataraid/d1p3
Drive 0 is 19623 Mb (34 / 0) 
Drive 1 is 19623 Mb (34 / 64) 
Raid1 array consists of 2 drives. 

I've fixed problem No 2. here is the patch:

--- /usr/src/kernel-2.4.17-test/drivers/ide/pdcraid.c.orig      Fri Jan 25 17:30:07 2002
+++ /usr/src/kernel-2.4.17-test/drivers/ide/pdcraid.c   Tue Jan 29 16:57:23 2002
@@ -472,6 +472,8 @@
        static unsigned char block[4096];
        struct block_device *bdev;
 
+        memset(block, 0, sizeof(block));
+
        if (devlist[devindex].device!=-1) /* already assigned to another array */
                return;
 

Question: How can I fix problem No 1 ? 
In other words how can I get right information about connected ide
devices and their characteristics.

Show me the way to find difference between ide devices connected to 'non-raid'
channels and to 'raid' channels  and I can fix that problem too, I think.

Can anybody help me ?

My configuration:

MSI motherboard
On-board Fasttrack 100 "Lite" (PDC20265)
2 IBM IDE drives on IDE1 channel
Linux kernel 2.4.17 with linux-2.4.8-ac7-pdcraid.patch applied

-- /usr/src/kernel-2.4.17-test/.config ----------
CONFIG_BLK_DEV_PDC202X=y
CONFIG_PDC202XX_FORCE=y
# CONFIG_PDC202XX_BURST is not set
CONFIG_BLK_DEV_HPT366=y
CONFIG_BLK_DEV_ATARAID=y
CONFIG_BLK_DEV_ATARAID_PDC=y
CONFIG_BLK_DEV_ATARAID_HPT=y
-------------------------------------------------

-- 
Best regards,
Ed V. Bartosh





[Index of Archives]     [Linux RAID]     [Linux Device Mapper]     [Linux IDE]     [Linux SCSI]     [Kernel]     [Linux Books]     [Linux Admin]     [GFS]     [RPM]     [Yosemite Campgrounds]     [AMD 64]

  Powered by Linux