Re: MD subsystem is not loaded

2010-05-18 Thread Hugo Vanwoerkom

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-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

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



Re: MD subsystem is not loaded

2010-05-15 Thread martin f krafft
also sprach Hugo Vanwoerkom hvw59...@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 madd...@d.o  Related projects:
: :'  :  proud Debian developer   http://debiansystem.info
`. `'`   http://people.debian.org/~madduckhttp://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
Description: Digital signature (see http://martin-krafft.net/gpg/)


Re: MD subsystem is not loaded

2010-05-15 Thread Hugo Vanwoerkom

Hugo Vanwoerkom wrote:

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:


h...@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
h...@debian:/hda10/backup.files$


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



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-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

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



Re: MD subsystem is not loaded

2010-05-15 Thread Stan Hoeppner
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-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4bef644b.4030...@hardwarefreak.com



MD subsystem is not loaded

2010-05-14 Thread Hugo Vanwoerkom

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:
h...@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   VersionDescription
+++-==-==-
ii  mdadm  3.1.1-1tool to administer 
Linux MD arrays (software RAID)


Hugo


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/hsjl89$ci...@dough.gmane.org



Re: MD subsystem is not loaded

2010-05-14 Thread Hugo Vanwoerkom

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:


h...@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
h...@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-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

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