Skip to contentSkip to conversation

raid1 sata_promise initialization order problem

DISCUSSION Deyan Chepishev 1 participant 1 message Jul 29, 2006 libata

lore
Share & tools
lore
#0 lore raw

Hi,

Sorry if I am writing to the wrong people, but I took them from the sources.

Here Is the problem I experience:

I have server HP Proliant ML 150 G2 equipped with SATA Promise TX4 SATA300 controller.
Linux root partition is on software raid1 Linux is CentOS 4.3

I downloaded kernel 2.6.17.7
When I compile in the kernel both drivers sata_promise and raid1, create appropriate initrd and reboot. The system is unable to boot and kernel panics with last messages something like:
switching root
unable to mount root
and so on.

If I compile raid1 as module and create the corresponding initrd the system is booting just fine.

This leads me to the conclusion that when compiled in raid1 driver is initialized before the sata_promise driver and is unable to see the mirror devices simply because they dont exist yet.

When I use kernel 2.6.14.6 the whole thing is working just fine with both drivers compiled in the kernel.

Do you think there is some way to tell the kernel which driver to initialize first ?

Thanks in advance and sorry for bugging you with my problems

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com