Red Hat Bugzilla – Bug 52927
megaraid doesn't unload properly when no megaraid card is present
Last modified: 2007-04-18 12:36:45 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)
Description of problem:
If you have a machine with no megaraid card in it, and you attempt to load
the megaraid driver, the driver load will abort as it should stating there
is no such device. However, after this process is done, /proc/devices will
have a bogus entry in it(for 7.1 kernel, the new kernels just segmentation
fault on a read of that file). Also, when you init 6 the box, it will
panic at the end stating bad EIP value.
We have to load this manually for our kickstart proceedure, since qla2x00
is autodetected prior to the aacraid or megaraid drivers, which would
cause the OS to be installed on the external data disks, very bad esp. if
they are shared disk.
Tried latest 2.4.7-2.18smp kernel
Happened in 7.1 as well.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Boot machine with no megaraid card
2. modprobe megariad
3. cat /proc/devices
4. init 6
Actual Results: the cat /proc/devices will segmentation fault, and the
init 6 will cause a panic at the end of the shutdown.