You are not logged in.

#1 2006-11-18 19:44:21

osigen
Member
From: cynic tub
Registered: 2005-06-18
Posts: 36
Website

RAID5 system boots only with ... [SOLVED]

RAID5 system boots only with fallback kernel and always the LVM2 has complaints!

Following installation from the latest 0.7.2 tpowa iso (using the 2.6.18 kernel, Nov. 4 2006 iso), I'm having problems getting my LVM volumes being recognised on booting.

Booting with default kernel always hang up with the following:

Kinit : Cannot open root device md0(9,0)
Kinit: Init not found!
Kernel panic - not syncing: Attempted to kill init! 

menu.1st has similar entries for default and fallback (sure initrd is different for fallback)
The USELVM="yes" option is set in /etc/rc.conf, and /etc/fstab is OK.
mkinitcpio has RAID hook.

Booting with fallback kernel always reports the following:

The error message on boot following the Activating LVM2 Groups" message is:
"/proc/misc: No entry for device-mapper found. Is device-mapper missing from the kernel?".

Ironically, logging on to the system then allows the partitions to be recognised and mounted by manually running:

modprobe dm-mod
vgchange -ay array
mount -a

or adding dm_mod to rc.conf's modules array.

I don't understand why it works at this stage but not on boot.
I post in Kernel section but I consider it as a bug.

Any help would be appreciated as this has taken up much time and obviously the system is still not properly functional.


"What we cannot speak about we must pass over in silence" L. Wittgenstein

Offline

#2 2006-11-18 20:34:31

chrismortimore
Member
From: Edinburgh, UK
Registered: 2006-07-15
Posts: 655

Re: RAID5 system boots only with ... [SOLVED]

Do you have "lvm2" in your mkinitcpio hooks?


Desktop: AMD Athlon64 3800+ Venice Core, 2GB PC3200, 2x160GB Maxtor DiamondMax 10, 2x320GB WD Caviar RE, Nvidia 6600GT 256MB
Laptop: Intel Pentium M, 512MB PC2700, 60GB IBM TravelStar, Nvidia 5200Go 64MB

Offline

#3 2006-11-18 21:04:42

osigen
Member
From: cynic tub
Registered: 2005-06-18
Posts: 36
Website

Re: RAID5 system boots only with ... [SOLVED]

chrismortimore wrote:

Do you have "lvm2" in your mkinitcpio hooks?

I have tried mkinitcpio with LVM2 hook and/or without LVM2 :-)
Nothing corrected


"What we cannot speak about we must pass over in silence" L. Wittgenstein

Offline

#4 2006-11-18 21:27:18

chrismortimore
Member
From: Edinburgh, UK
Registered: 2006-07-15
Posts: 655

Re: RAID5 system boots only with ... [SOLVED]

Can you post the output of

cat /etc/mkinitcpio.conf | grep -e '^[^#]'

Your /etc/fstab would be handy as well.


Desktop: AMD Athlon64 3800+ Venice Core, 2GB PC3200, 2x160GB Maxtor DiamondMax 10, 2x320GB WD Caviar RE, Nvidia 6600GT 256MB
Laptop: Intel Pentium M, 512MB PC2700, 60GB IBM TravelStar, Nvidia 5200Go 64MB

Offline

#5 2006-11-18 22:04:30

osigen
Member
From: cynic tub
Registered: 2005-06-18
Posts: 36
Website

Re: RAID5 system boots only with ... [SOLVED]

cat /etc/mkinitcpio.conf | grep -e '^[^#]'

MODULES=""
BINARIES=""
FILES=""
HOOKS="base udev autodetect ide scsi sata raid filesystems lvm2"

cat /etc/fstab

#
# /etc/fstab: static file system information
#
# <file>        <dir>         <type>    <options>          <dump> <pass>
none                   /dev/pts      devpts    defaults            0      0
none                   /dev/shm      tmpfs     defaults            0      0
/dev/cdrom             /mnt/cd   iso9660   ro,user,noauto,unhide   0      0
/dev/dvd               /mnt/dvd  udf       ro,user,noauto,unhide   0      0
# /dev/fd0               /mnt/fl   vfat      user,noauto             0      0
/dev/md0               /         reiserfs  defaults                0      0
/dev/md1               /boot     reiserfs  defaults                0      0
/dev/md2               swap      swap      defaults                0      0
/dev/array/home           /home     reiserfs  defaults                0      0
/dev/array/dbdata         /dbdata   reiserfs  defaults                0      0
/dev/array/video          /video    reiserfs  defaults                0      0
/dev/array/backup         /backup   reiserfs  defaults                0      0
/dev/array/iso            /iso      reiserfs  defaults                0      0


"What we cannot speak about we must pass over in silence" L. Wittgenstein

Offline

#6 2006-11-18 22:14:53

chrismortimore
Member
From: Edinburgh, UK
Registered: 2006-07-15
Posts: 655

Re: RAID5 system boots only with ... [SOLVED]

Try HOOKS="base udev autodetect ide scsi sata lvm2 raid filesystems"


Desktop: AMD Athlon64 3800+ Venice Core, 2GB PC3200, 2x160GB Maxtor DiamondMax 10, 2x320GB WD Caviar RE, Nvidia 6600GT 256MB
Laptop: Intel Pentium M, 512MB PC2700, 60GB IBM TravelStar, Nvidia 5200Go 64MB

Offline

#7 2006-11-18 22:38:42

osigen
Member
From: cynic tub
Registered: 2005-06-18
Posts: 36
Website

Re: RAID5 system boots only with ... [SOLVED]

NO progress :-(


"What we cannot speak about we must pass over in silence" L. Wittgenstein

Offline

#8 2006-11-19 10:12:59

osigen
Member
From: cynic tub
Registered: 2005-06-18
Posts: 36
Website

Re: RAID5 system boots only with ... [SOLVED]

SOLVED
I add RAID1 and RAID456 in mkinitcpio.conf modules
and the new kernel26 boots!


"What we cannot speak about we must pass over in silence" L. Wittgenstein

Offline

#9 2006-12-29 22:24:04

WiLLiE
Member
From: Sweden
Registered: 2005-02-27
Posts: 133

Re: RAID5 system boots only with ... [SOLVED]

Thank you!
That solved my problem as well.

The wiki should probably be updated so the next person saves a few hours of trial and error.

Offline

Board footer

Powered by FluxBB