LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   unable to load MDADM module BUT mdadm works?!?!?! (https://www.linuxquestions.org/questions/linux-software-2/unable-to-load-mdadm-module-but-mdadm-works-668494/)

alirezan1 09-08-2008 06:33 PM

unable to load MDADM module BUT mdadm works?!?!?!
 
Hi all,

I am running Kernel 2.6.21. When I enter the command:
Code:

root / Server 1# modprobe md
FATAL: Module md not found.

but I can easily run MDADM:

Code:

root / Server 1# cat /proc/mdstat
Personalities : [linear] [raid0] [raid1] [raid10] [multipath] [faulty]
md0 : active raid1 sdb8[1] sdb7[0]
      18563008 blocks [2/2] [UU]

unused devices: <none>

Why is that? I looked in folder: /lib/modules/2.6.21.7-hrt1-WR2.0bl_standard/kernel/drivers/ but there's no module named "md"...

modprobe shows only md4.ko module is loaded. Is this the correct module? Why can't I find module md anymore?


Code:

root / Server 1# modprobe -l | grep md
/lib/modules/2.6.21.7-hrt1-WR2.0bl_standard/kernel/crypto/md4.ko


Thanks

pinniped 09-08-2008 06:45 PM

'md' is probably built into the kernel rather than as a module:

fgrep CONFIG_MD /boot/config-$(uname -r)

alirezan1 09-08-2008 07:58 PM

Quote:

Originally Posted by pinniped (Post 3273876)
'md' is probably built into the kernel rather than as a module:

fgrep CONFIG_MD /boot/config-$(uname -r)

Thanks for the reply. That's probably right.

I can't see anything in my /boot though. I'm running as root:

Code:

root / Server 1# fgrep CONFIG_MD /boot/config-$(uname -r)
fgrep: /boot/config-2.6.21.7-hrt1-WR2.0bl_standard: No such file or directory



All times are GMT -5. The time now is 12:51 PM.