about compile environment
chenggh
chenggh04 at st.lzu.edu.cn
Wed Aug 15 13:05:54 CEST 2007
On Wednesday 15 August 2007 02:19, sunshine007 wrote:
> Thanks adam,
>
> but now i have problem with booting the L4linux by remote serial console.
> i follow the pdf kickstart.
> but, i still got error like this (after i reboot the machine):
> Using IPI shortcut mode
> List of all partitions
> No file system could not mount root, tried :
> kernel panic - not syncing
> VFS : unable to mount root fs on unknown block (0,0)
These information shows that your Fiasco has no problem and it could drag the
booting of L4Linux. But the L4Linux can't find or mount the root file system.
If VFS can't mount root fs with unknown blocks. First you should check your
l4linux configuration with the filesystem type as ext2, ext3, etc. Basically
you should compile the ext2 or ext3 into the linux kernel not compile as
modules.
> my menu.lst :
> #L4linux
> title L4Linux-2.6/Fiasco+dope
> root (hd0,2)
> kernel /boot/L4linux/bootstrap
> 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/events
> module /boot/L4linux/names --events
> module /boot/L4linux/log --events
> module /boot/L4linux/dm_phys --isa=0x00800000 -v --events
> module /boot/L4linux/simple_ts -t 300 --events
> module /boot/L4linux/rtc --events
> module /boot/L4linux/l4io --noirq --events module
> module /boot/L4linux/loader --fprov=BMODFS linux26.cfg
> module /boot/L4linux/bmodfs
> module /boot/L4linux/vmlinuz
> module /boot/L4linux/linux26.cfg
> module /boot/L4linux/libloader.s.so
> module /boot/L4linux/libld-l4.s.so
> #end l4linux
Here, your root partition is located in /dev/hda3
> #linux26.cfg
> modpath "(hd0,2)/boot/L4linux"
> task "vmlinuz" "earlyprintk=yes console=ttyS1,115200 init=1 mem=256M
> root=/dev/sda3"
> all_sects_writable
>
Here, your l4linux kernel image is located in /dev/hda3 but root partitition
is located in /dev/sda3.
> # fdisk -l
>
> Disk /dev/sda: 250.0 GB, 250000000000 bytes
> 255 heads, 63 sectors/track, 30394 cylinders Units = cylinders of 16065 *
> 512 = 8225280 bytes
>
> Device Boot Start End Blocks Id System
> /dev/sda1 1 5 40131 de Dell Utility
> /dev/sda2 * 6 2616 20972857+ 7 HPFS/NTFS
> /dev/sda3 2617 26931 195310237+ 83 Linux
> /dev/sda4 26932 30394 27816547+ 82 Linux swap
>
> It is i wrongly typed the root partition?
>
But there is no devive named /dev/hda3. So may you should replace /dev/sda3
with /dev/hda3. You can try.
Best regards.
Cheng Guanghui
More information about the l4-hackers
mailing list