the attach of the last email is the movie of booting l4linux through serial +hardisk and I put an attach which is the picture of the error. any one can help me? thank you.
2009/12/24 fang zhengshu fangzhsh07@gmail.com
hi all, I download the newest l4linux by using svn and use the x86-native_defconfig to configure the l4linux then modify some place: process and the keyboard,vga
then I can boot l4linux with the given drops-rd.rd through serial. but when I use the same l4linux kernel to boot it on the national hardisk throug serial. I came across the following problem:
Please append a correct "root=" boot option. Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
I have enable the sata disk support!
I have following someone's step as the google:
http://www.linuxquestions.org/questions/linux-kernel-70/kernel-panic-not-syn... ... but the error still exist!
I do the things in vmware. the menu.lst is:
title l4linux26+serial #my hardisk is /dev/sda1 root (hd0,0) kernel /boot/l4linux/bootstrap -serial -modaddr 0x02000000 module /boot/l4linux/fiasco -nowait -nokdb -serial_esc \ -comspeed 115200 -comport 1 module /boot/l4linux/sigma0 module /boot/l4linux/roottask task modname "bmodfs" attached 4 modules module /boot/l4linux/names module /boot/l4linux/log module /boot/l4linux/dm_phys --isa=0x00800000 module /boot/l4linux/simple_ts -t 300 module /boot/l4linux/rtc module /boot/l4linux/l4io module /boot/l4linux/bmodfs module /boot/l4linux/libld-l4.s.so module /boot/l4linux/libloader.s.so module /boot/l4linux/vmlinuzserial module /boot/l4linux/l4linuxserial.cfg module /boot/l4linux/loader --fprov=BMODFS l4linuxserial.cfg
the l4linuxserial.cfg is:
modpath "(hd0,0)/boot/L4Linux" task "vmlinuz" "earlyprintk=yes console=ttyLv0 init=/bin/sh mem=256M l4ser.vkey_enable=1 root=/dev/sda1 ide_generic.probe_mask=0x3f" all_sects_writable allow_vga
thank you!
fang,
2009/12/24 fang zhengshu fangzhsh07@gmail.com
the attach of the last email is the movie of booting l4linux through serial +hardisk and I put an attach which is the picture of the error.
sorry not for put the attach!
any one can help me? thank you.
2009/12/24 fang zhengshu fangzhsh07@gmail.com
hi all,
I download the newest l4linux by using svn and use the x86-native_defconfig to configure the l4linux then modify some place: process and the keyboard,vga
then I can boot l4linux with the given drops-rd.rd through serial. but when I use the same l4linux kernel to boot it on the national hardisk throug serial. I came across the following problem:
Please append a correct "root=" boot option. Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
I have enable the sata disk support!
I have following someone's step as the google:
http://www.linuxquestions.org/questions/linux-kernel-70/kernel-panic-not-syn... ... but the error still exist!
I do the things in vmware. the menu.lst is:
title l4linux26+serial #my hardisk is /dev/sda1 root (hd0,0) kernel /boot/l4linux/bootstrap -serial -modaddr 0x02000000 module /boot/l4linux/fiasco -nowait -nokdb -serial_esc \ -comspeed 115200 -comport 1 module /boot/l4linux/sigma0 module /boot/l4linux/roottask task modname "bmodfs" attached 4 modules module /boot/l4linux/names module /boot/l4linux/log module /boot/l4linux/dm_phys --isa=0x00800000 module /boot/l4linux/simple_ts -t 300 module /boot/l4linux/rtc module /boot/l4linux/l4io module /boot/l4linux/bmodfs module /boot/l4linux/libld-l4.s.so module /boot/l4linux/libloader.s.so module /boot/l4linux/vmlinuzserial module /boot/l4linux/l4linuxserial.cfg module /boot/l4linux/loader --fprov=BMODFS l4linuxserial.cfg
the l4linuxserial.cfg is:
modpath "(hd0,0)/boot/L4Linux" task "vmlinuz" "earlyprintk=yes console=ttyLv0 init=/bin/sh mem=256M l4ser.vkey_enable=1 root=/dev/sda1 ide_generic.probe_mask=0x3f" all_sects_writable allow_vga
thank you!
fang,
-- fang,
On Thu Dec 24, 2009 at 17:04:11 +0800, fang zhengshu wrote:
the attach of the last email is the movie of booting l4linux through serial +hardisk and I put an attach which is the picture of the error.
Two things: - in the video it has 3 kernel command line parameters, one being root=/dev/sda (without a '1'), check your config file - the Linux booted only finds a VMware Virtual CDROM as hda, so there's no sda device found, I'm not currently sure wheter VMware supports SATA or not but you should make sure that VMware supplies a disk to the guest, the Linux driver for that is compiled in and that the root= option corresponds to that.
Adam
l4-hackers@os.inf.tu-dresden.de