Re: [CentOS] Re: Weird crash with CentOS 5.1

2008-01-06 Thread Jean-Yves Avenard
Hi

On Jan 6, 2008 12:03 AM, Johnny Hughes [EMAIL PROTECTED] wrote:
 I am sure it is a raid driver issue.

 Have you considered running one of the OSes (linux or windows) in a VM.

 That way, you can share files and have both available at the same time,
 unlike dual boot, where you need to reboot to get the other OS.



I think I know what is happening and what happened.

After repairing the partition from the Fedora 8 DVD, I restarted
booting from the disk with CentOS

I then compiled the latest kernel from kernel.org and rebooted.
It failed to see the RAID array and mounted the disk individually
(from /dev/sda2).

When I rebooted again using the CentOS kernel, again I got a kernel panic.

I think this is what happened earlier on.
The EXT2/3 drivers I used in Windows wasn't using the RAID array but
writing directly on the physical disk, as such damaging the RAID
mirror. When CentOS booted, it got confused with the data it was
reading and did a kernel panic.

Same thing happened using my compiled kernel, it wrote data on the
first disk only rather than on the mirror.

For some reasons, the CentOS kernel RAID driver doesn't handle that
error properly and will kernel panic.

The Fedora 8 kernel, does handle it properly and is able to access the disk.

Now I have no idea on how to compile a newer kernel and make it
recognise the RAID array. There aren't much tool available to manage
the RAID mirror.
It looks like one kernel see the RAID disk name as something and the
centos kernel as another.

Jean-Yves
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: Weird crash with CentOS 5.1

2008-01-05 Thread Johnny Hughes
Jean-Yves Avenard wrote:
 Hi
 
 On Jan 5, 2008 2:46 AM, Scott Silva [EMAIL PROTECTED] wrote:
 AFAIR that is fakeraid anyway. Maybe one of the drives is having a problem.
 Could be that the dmraid driver isn't as robust as software raid with drive
 problems. You could eliminate the hardware (except the drives) by swapping
 drives from one of the known working machines into this one and see what
 happens. IF it borks, bad hardware, if not, bad drives or bad install.
 
 It may be fakeraid,, but it's the only RAID solution that will work in
 both Windows and Linux and allow to transfer files between both
 system.
 If I were to use linux software raid, I wouldn't be able to access the
 linux partition under windows.
 
 I doubt it's a hardware issue for the following reasons:
 1-Windows works fine with intensive disk activity
 2-Fedora 8 works fine too.
 3-It's only Centos kernel that crashes when using those drives.

I am sure it is a raid driver issue.

Have you considered running one of the OSes (linux or windows) in a VM.

That way, you can share files and have both available at the same time,
unlike dual boot, where you need to reboot to get the other OS.

In that scenario you do not need to use fraid as one OS can be a virtual
file system inside the other.

CentOS does not do the latest and greatest drivers very well ...
though they may bring bugfixes back from newer kernels, I would not
count on that happening.



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: Weird crash with CentOS 5.1

2008-01-04 Thread Jean-Yves Avenard
Hi

On Jan 5, 2008 2:46 AM, Scott Silva [EMAIL PROTECTED] wrote:
 AFAIR that is fakeraid anyway. Maybe one of the drives is having a problem.
 Could be that the dmraid driver isn't as robust as software raid with drive
 problems. You could eliminate the hardware (except the drives) by swapping
 drives from one of the known working machines into this one and see what
 happens. IF it borks, bad hardware, if not, bad drives or bad install.

It may be fakeraid,, but it's the only RAID solution that will work in
both Windows and Linux and allow to transfer files between both
system.
If I were to use linux software raid, I wouldn't be able to access the
linux partition under windows.

I doubt it's a hardware issue for the following reasons:
1-Windows works fine with intensive disk activity
2-Fedora 8 works fine too.
3-It's only Centos kernel that crashes when using those drives.

Jean-Yves
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: Weird crash with CentOS 5.1

2008-01-03 Thread Jean-Yves Avenard
Hi

On Jan 4, 2008 10:33 AM, Scott Silva [EMAIL PROTECTED] wrote:
 Try fixing that, you could dos2unix that file, or restore from another 
 machine.

I used ultraedit to edit that file, it preserves unix end of line.
You actually think that deleting /etc/sudoers will suddenly prevent a
kernel panic during boot ? Or even the install DVD to crash when
searching for existing CentOS installation?

Jean-Yves
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: Weird crash with CentOS 5.1

2008-01-03 Thread Jean-Yves Avenard
Hi again

On Jan 4, 2008 4:56 PM, Jean-Yves Avenard [EMAIL PROTECTED] wrote:
 Sound like a bug too me.


I have tried booting the rescue DVD of Fedora 7, and it crashed just
the same when trying to mount the linux partition on the RAID1 array.

However, Fedora 8 manages to boot well, I was able to mount the
partition without any problems.

Currently compiling a kernel 2.6.26.12 , will see if it works with this kernel.

If anyone has a solution on why the stock CentOS kernel crashes when
mounting a Linux Intel Bios RAID1 array, I'm all ears !

Jean-Yves
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos