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

Re: RAID trouble with SMP kernels



Is it at all possible this could be a kernel compiler issue?  I built the kernel with
the latest gcc, which is 2.95.2-3.

If no answer by Friday I'll go to to the vger kernel list.

Adam C Powell wrote:

> Greetings,
>
> About two months ago, I built 2.2.12 with SMP and RAID 5 for my
> dual-Celeron (Abit BP6) system with four IDE drives.  I booted, and it
> fsck'd the arrays just fine, and mounted all the non-RAID partitions,
> but when it went to mount the RAID partitions, it froze.
>
> I heard some reports about a race in 2.2.12 IDE, so I waited for 2.2.13,
> which I finally built yesterday, same result!
>
> How can it fsck the array successfully, and then fail to mount it??
>
> So now I once again have to go back to kernel-image-2.2.10, and ckraid
> --fix, which takes seven hours on my two partitions.  Very annoying, and
> discouraging of future attempts to try another SMP kernel...
>
> What on earth could be wrong?
>
> Here's the RAID info as printed during ckraid --fix:
>
> checking raid level 5 set /dev/md0
> MD ID:                   a92b4efc
> Conforms to MD version:  0.36.4
> Raid set ID:             b7ad977a
> Creation time:           Tue Sep 7 18:01:58 1999
> Update time:             Sat Nov 27 20:56:07 1999
> State:                   0
> Raid level:              5
> Individual disk size:    5120 MB (5243008 kB)
> Chunk size:              32 kB
> Parity algorithm:        2 (left-symmetric)
> Total number of disks:   4
> Number of raid disks:    4
> Number of active disks:  4
> Number of working disks: 4
> Number of failed disks:  0
> Number of spare disks:   0
>
> Disk 0: raid_disk 0, state: 6 (operational, active, sync)
> Disk 1: raid_disk 1, state: 6 (operational, active, sync)
> Disk 2: raid_disk 2, state: 6 (operational, active, sync)
> Disk 3: raid_disk 3, state: 6 (operational, active, sync)
> array size: 1572902kB=0xC0060000
>
> It's running now for ~2:15 to clean up this partition, then will go
> another 5 or so hours for a 30 GB partition on /dev/md1
>
> Unfortunately, I don't have my kernel config now- it's trapped in the
> sick machine. :-(  I built Raid 5 as a module, and modconf has it in its
> list.  But that should be installing properly, since it is fscking,
> right?
>
> If I get help here, I'll try once more tomorrow, twice if I can start
> early.  Otherwise, that second processor- and the nice dual-Celeron MB-
> will be a total waste. :-(

             Adam Powell                    http://lyre.mit.edu/~powell/
             Thomas B. King Assistant Professor of Materials Engineering
             77 Massachusetts Ave. Rm. 4-117        Phone (617) 452-2086
             Cambridge, MA 02139 USA                  Fax (617) 253-5418


Reply to: