You are not logged in.
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
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
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
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
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
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
NO progress :-(
"What we cannot speak about we must pass over in silence" L. Wittgenstein
Offline
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
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