Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

MD subsystem is not loaded

1,476 views
Skip to first unread message

Hugo Vanwoerkom

unread,
May 14, 2010, 10:10:02 AM5/14/10
to
Hi,


When I install a kernel I get "MD subsystem is not loaded" as a warning:

...
/usr/srcThu May 13-13:50:50SDB6# dpkg -i linux-image-2.6.33.4-hvw_1_i386.deb
Selecting previously deselected package linux-image-2.6.33.4-hvw.
(Reading database ... 133008 files and directories currently installed.)
Unpacking linux-image-2.6.33.4-hvw (from
linux-image-2.6.33.4-hvw_1_i386.deb) ...
Examining /etc/kernel/preinst.d/Done.
Setting up linux-image-2.6.33.4-hvw (1) ...
Running depmod.
Examining /etc/kernel/postinst.d.run-parts: executing
/etc/kernel/postinst.d/initramfs
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
W: mkconf: MD subsystem is not loaded, thus I cannot scan for arrays.
W: mdadm: failed to auto-generate temporary mdadm.conf file.
W: mdadm: no configuration file available.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools
run-parts: executing /etc/kernel/postinst.d/pm-utils
Running postinst hook script update-grub.
Searching for GRUB installation directory ...
found: /boot/grubSearching for default file ...
found: /boot/grub/defaultTesting for an existing GRUB menu.lst file ...
found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-2.6.33.4-hvw
Found kernel: /boot/vmlinuz-2.6.33.3-hvw
Found kernel: /boot/vmlinuz-2.6.32-3-686
Updating /boot/grub/menu.lst ... done
...


Googling that I get zip, more or less.

How does one load the MD subsystem?

I have mdadm:
hugo@debian:~$ dpkg -l mdadm
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-======================-======================-============================================================
ii mdadm 3.1.1-1 tool to administer
Linux MD arrays (software RAID)

Hugo


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/hsjl89$ciq$1...@dough.gmane.org

Hugo Vanwoerkom

unread,
May 14, 2010, 3:10:02 PM5/14/10
to
Hugo Vanwoerkom wrote:
> Hi,
>
>
> When I install a kernel I get "MD subsystem is not loaded" as a warning:
>
> ...

<snip>

See that is exactly the trouble with rolling ur own kernel. I never set
RAID options. Which? Good question. So I made an "educated guess"
(what?) and set:

hugo@debian:/hda10/backup.files$ diff .config.2.6.33.4-nodebian
.config.2.6.33.4-RAID-nodebian
3,4c3,4
< # Linux kernel version: 2.6.33.4-hvw
< # Thu May 13 13:24:07 2010
---
> # Linux kernel version: 2.6.33.4
> # Fri May 14 13:32:21 2010
920c920
< # CONFIG_RAID_ATTRS is not set
---
> CONFIG_RAID_ATTRS=m
1095c1095,1117
< # CONFIG_MD is not set
---
> CONFIG_MD=y
> CONFIG_BLK_DEV_MD=m
> CONFIG_MD_LINEAR=m
> CONFIG_MD_RAID0=m
> CONFIG_MD_RAID1=m
> CONFIG_MD_RAID10=m
> CONFIG_MD_RAID456=m
> CONFIG_MD_RAID6_PQ=m
> # CONFIG_ASYNC_RAID6_TEST is not set
> CONFIG_MD_MULTIPATH=m
> CONFIG_MD_FAULTY=m
> CONFIG_BLK_DEV_DM=m
> # CONFIG_DM_DEBUG is not set
> CONFIG_DM_CRYPT=m
> CONFIG_DM_SNAPSHOT=m
> CONFIG_DM_MIRROR=m
> CONFIG_DM_LOG_USERSPACE=m
> CONFIG_DM_ZERO=m
> CONFIG_DM_MULTIPATH=m
> CONFIG_DM_MULTIPATH_QL=m
> CONFIG_DM_MULTIPATH_ST=m
> CONFIG_DM_DELAY=m
> CONFIG_DM_UEVENT=y
2413a2436,2441
> CONFIG_XOR_BLOCKS=m
> CONFIG_ASYNC_CORE=m
> CONFIG_ASYNC_MEMCPY=m
> CONFIG_ASYNC_XOR=m
> CONFIG_ASYNC_PQ=m
> CONFIG_ASYNC_RAID6_RECOV=m
hugo@debian:/hda10/backup.files$


We'll see if the "MD subsystem" gets loaded.
And why are there no google hits for this? Who knows.

Hugo


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Archive: http://lists.debian.org/hsk747$kia$1...@dough.gmane.org

martin f krafft

unread,
May 15, 2010, 4:10:01 AM5/15/10
to
also sprach Hugo Vanwoerkom <hvw5...@care2.com> [2010.05.14.1603 +0200]:

> How does one load the MD subsystem?

You use it. Unless you use it, you don't need mdadm installed.

--
.''`. martin f. krafft <madduck@d.o> Related projects:
: :' : proud Debian developer http://debiansystem.info
`. `'` http://people.debian.org/~madduck http://vcs-pkg.org
`- Debian - when you have better things to do than fixing systems

"we did rate the microsoft security researcher as less-bad than the
people who prepare the carcasses for dissection in biology
laboratories."
-- michael moyer, executive editor of _popular science_

digital_signature_gpg.asc

Hugo Vanwoerkom

unread,
May 15, 2010, 11:00:01 AM5/15/10
to

After changing my kernel with the above, the "MD subsystem" loads
because now I get:

Assembling MD arrays...done (no arrays found in config file or
automatically).

So it depends on one or more of those kernel configs, at least in 2.6.33.4.

Trouble is that years ago when I started compiling my own kernel, I did
not start a file with 3 columns: date - function - reason for adding, so
now I have a kernel that keeps getting bigger and I don't know
specifically why the entries are there, other than in general, like the
ones above.

Hugo


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Archive: http://lists.debian.org/hsmcb2$e4q$1...@dough.gmane.org

Stan Hoeppner

unread,
May 15, 2010, 11:20:02 PM5/15/10
to
Hugo Vanwoerkom put forth on 5/15/2010 9:50 AM:

> Trouble is that years ago when I started compiling my own kernel, I did
> not start a file with 3 columns: date - function - reason for adding, so
> now I have a kernel that keeps getting bigger and I don't know
> specifically why the entries are there, other than in general, like the
> ones above.

This is one of the reasons I still use menuconfig. Most options have a help
description available that can remind you why you are or aren't using a
given kernel option.

--
Stan


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Archive: http://lists.debian.org/4BEF644B...@hardwarefreak.com

Hugo Vanwoerkom

unread,
May 18, 2010, 12:20:03 PM5/18/10
to
Stan Hoeppner wrote:
> Hugo Vanwoerkom put forth on 5/15/2010 9:50 AM:
>
>> Trouble is that years ago when I started compiling my own kernel, I did
>> not start a file with 3 columns: date - function - reason for adding, so
>> now I have a kernel that keeps getting bigger and I don't know
>> specifically why the entries are there, other than in general, like the
>> ones above.
>
> This is one of the reasons I still use menuconfig. Most options have a help
> description available that can remind you why you are or aren't using a
> given kernel option.
>

I also use (only) menuconfig, but in this case it was not that helpful:
the 'help' items were minimal and not very 'help'ful ;-)

Hugo


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Archive: http://lists.debian.org/hsuehm$7ij$1...@dough.gmane.org

0 new messages