The ultimate HOW-TO

Adam Lackorzynski adam at os.inf.tu-dresden.de
Mon Sep 10 00:39:31 CEST 2007


On Thu Sep 06, 2007 at 10:39:39 -0700, ComputerScienceStudent wrote:
> 
> 
> Adam Lackorzynski wrote:
> > 
> > 
> > On Wed Sep 05, 2007 at 08:12:43 -0700, ComputerScienceStudent wrote:
> >> title L4Linux -Linux on L4- 
> >> root (hd0,4) 
> >> kernel /L4Linux_binary/build/l4/bin/x86_586/bootstrap -serial
> >> root=/dev/sda5 -modaddr 0x06000000 
> >> module /L4Linux_binary/build/fiasco_ia32/main -nokdb -serial_esc 
> >> module /L4Linux_binary/build/l4/bin/x86_586/l4v2/sigma0 
> >> module /L4Linux_binary/build/l4/bin/x86_586/l4v2/roottask task modname
> >> "bmodfs" attached 4 modules 
> >> module /L4Linux_binary/build/l4/bin/x86_586/l4v2/events 
> >> module /L4Linux_binary/build/l4/bin/x86_586/l4v2/names --events 
> >> module /L4Linux_binary/build/l4/bin/x86_586/l4v2/log --events 
> >> module /L4Linux_binary/build/l4/bin/x86_586/l4v2/dm_phys --isa=0x00800000
> >> -v --events 
> >> module /L4Linux_binary/build/l4/bin/x86_586/l4v2/simple_ts -t 300
> >> --events 
> >> module /L4Linux_binary/build/l4/bin/x86_586/l4v2/rtc --events 
> >> module /L4Linux_binary/build/l4/bin/x86_586/l4v2/l4io --events 
> >> module /L4Linux_binary/build/l4/bin/x86_586/l4v2/loader --fprov=BMODFS
> >> linux26.cfg 
> >> module /L4Linux_binary/build/l4/bin/x86_586/l4v2/bmodfs 
> >> module /L4Linux_binary/build/l4/bin/x86_586/l4v2/linux26.cfg 
> >> module /L4Linux_binary/build/linux/vmlinuz26 
> >> module /L4Linux_binary/build/l4/bin/x86_586/l4v2/libloader.s.so 
> >> module /L4Linux_binary/build/l4/bin/x86_586/l4v2/libld-l4.s.so 
> >> vbeset 0x117
> >> 
> > 
> 
> Ok, so I've dropped the line, and tried booting with the correct linux26.cfg
> because the last one 
> that I've used was wrong about the root, hda7, when the correct one is
> sda5..
> 
> The output, befor the error is:
> 
> .
> .
> .
> l4lx | =====> L4Linux 2.6 starting... <=====
> l4lx | Linux version 2.6.21-l4 (cw at Braxis) (gcc version 4.1.2 (Ubuntu
> 4.1.2-0ubuntu4)) #1 Thu Jul 12 13:57:59 CEST 2007
> l4lx | Binary name: vmlinuz26
> l4lx | Kernel command line (4 args): earlyprintk=yes mem=256M video=l4fb
> root=/dev/sda5
> l4lx | Image: 00400000 - 00681000 [2564 KiB]
> l4lx | Areas: Text:      00400000 - 005e8000 [1952 kB] (a bit longer)
> l4lx |           Data:     005e8000 - 005fd2cc [84 kB]
> l4lx |           Initdata: 00600000 - 006240a0 [144 kB]
> l4lx |           BSS:      00626000 - 0067e900 [354 kB]
> l4lx | l4lx_thread_create: Created thread 0e.03 (tamer)
> l4lx | Using tamed mode
> ROOT: Task #0c is not allowed to execute cli/sti
> loader| vmlinuz26, #e: Can't map I/O space, ROOT denies page
> (result=00004000)
>     -- app_pager ------------------------------------------ IP : 01304207
> [loader.pager] (c.03) jdb:
> 
> Ehm.. what have I to do?? 

I thank you need to add the following configuration to roottask:
task modname "loader" allow_cli boot_priority 0xA0

The allow_cli is important here. Either add this at the command line of
roottask or in a roottask configuration file.



Adam
-- 
Adam                 adam at os.inf.tu-dresden.de
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/




More information about the l4-hackers mailing list