not enough modules for loading L4Linux-2.6 on the Fiasco

chenggh chenggh04 at st.lzu.edu.cn
Wed Jun 14 15:58:42 CEST 2006


On Tuesday 13 June 2006 15:17, Bjoern Doebel wrote:
> Hi,
>
> > Grub:
> > 	title fiasco_L4Linux-2.6
> >   	kernel (hd0,1)/boot/fiasco_L4/bootstrap
> >   	modaddr 0x06000000
> >   	module (hd0,1)/boot/fiasco_L4/main -nowait -nokdb -serial_esc
> > -comspeed 115200 -comport 1
> >   	module (hd0,1)/boot/fiasco_L4/sigma0
> >   	module (hd0,1)/boot/fiasco_L4/roottask task modname "bmodfs" module
> > module module module module module
>
> Try
>
> module (hd0,1)/boot/fiasco_L4/roottask task modname "bmodfs" attached 1
> modules
>
> here.
    I modify the roottask line as this:
    module (hd0,1)/boot/fiasco_L4/roottask task modname "bmodfs" module
	
  So the grub is like this:
   # L4Linux bootable over Fiasco
  title fiasco_L4Linux-2.6
  kernel (hd0,1)/boot/fiasco_L4/bootstrap
  modaddr 0x06000000
  module (hd0,1)/boot/fiasco_L4/main -nowait -nokdb -serial_esc -comspeed 
115200 -comport 1
  module (hd0,1)/boot/fiasco_L4/sigma0
  module (hd0,1)/boot/fiasco_L4/roottask task modname "bmodfs" module  
  module (hd0,1)/boot/fiasco_L4/events
  module (hd0,1)/boot/fiasco_L4/names -events
  module (hd0,1)/boot/fiasco_L4/log
  module (hd0,1)/boot/fiasco_L4/dm_phys -isa=0x00800000 -v --events
  module (hd0,1)/boot/fiasco_L4/simple_ts -t 300 --events
  module (hd0,1)/boot/fiasco_L4/rtc --events
  module (hd0,1)/boot/fiasco_L4/l4io -noirq --events
  module (hd0,1)/boot/fiasco_L4/l4exec --events
# module (hd0,1)/boot/faisco_L4/con -l4io -cpuload --events
# module (hd0,1)/boot/fiasco_L4/tftp -i
  module (hd0,1)/boot/fiasco_L4/bmodfs --events
     module (hd0,1)/boot/fiasco_L4/vmlinuz26
     module (hd0,1)/boot/fiasco_L4/libloader.s.so
  module (hd0,1)/boot/fiasco_L4/loader --fprov=BMODFS  vmlinuz26

 The minicom log is like this:
Welcome to Fiasco(ia32)!
DD-L4(v2)/x86 microkernel (C) 1998-2006 TU Dresden
Rev: Thu Jun  1 13:35:11 2006 compiled with gcc 3.3.6 for AMD Athlon
Performance-critical config option(s) detected:
  CONFIG_SCHED_RTC is on
  CONFIG_ASSEMBLER_IPC_SHORTCUT is off
  CONFIG_NDEBUG is off
  CONFIG_NO_FRAME_PTR is off
  CONFIG_LIST_ALLOC_SANITY is on
  CONFIG_BEFORE_IRET_SANITY is on
  CONFIG_JDB_ACCOUNTING is on

Enabling special fully nested mode for PIC
Using the RTC on IRQ 8 (1kHz) for scheduling
SERIAL ESC: allocated IRQ 4 for serial uart
SERIAL ESC: allocated IRQ 4 for serial uart
Not using serial hack in slow timer handler.
Absolute KIP Syscalls using: Sysenter
CPU: AuthenticAMD (6:8:1:0) Model: Athlon (Thoroughbred) at 2002 MHz

  16/256 Entry I TLB (4K pages)      8 Entry I TLB (4M pages)
  32/256 Entry D TLB (4K pages)      8 Entry D TLB (4M pages)
  64 KB L1 I Cache (2-way associative, 64 bytes per line)
  64 KB L1 D Cache (2-way associative, 64 bytes per line)
 256 KB L2 U Cache (8-way associative, 64 bytes per line)

Freeing init code/data: 24576 bytes (6 pages)

SIGMA0: Hello!
  Found Fiasco: KIP syscalls: yes.
  Allocated 188kB for maintenance structures.


Roottask.

  491071kB ( 479MB) total RAM (reported by bootloader)
  427936kB ( 418MB) received RAM from Sigma0
   23232kB (  23MB) reserved RAM for RMGR
  Received I/O ports 0000-ffff
  Attached irqs = [ <!0> 1 <!2> 3 <!4> 5 6 7 <!8> 9 A B C D E F ]

Roottask: Parsing command line config.
  configured task 0x00 (bmodfs):
    vm_offs:0 irq:ffff lmcp:ffff allow_cli:0 mcp:ff prio:10 small:ff mods:1
Symbols at [1b956000-1b95b000] (20kB), lines at [1b944000-1b956000] (72kB)

Roottask: Loading 12 modules.
#05: loading "(hd0,1)/boot/fiasco_L4/events"
     from [0612b000-06174e2f] to [01540000-0154ab9d][0154b000-0154d954]
     entry at 00061078 via trampoline page code
     symbols at [1b942000-1b944000] (8kB), lines at [1b93a000-1b942000] (32kB)
#06: loading "(hd0,1)/boot/fiasco_L4/names -events"
     from [06175000-061b9ca6] to [002d0000-002d784a][002d8000-002e4000]
     entry at 00062080 via trampoline page code
     symbols at [1b938000-1b93a000] (8kB), lines at [1b931000-1b938000] (28kB)
#07: loading "(hd0,1)/boot/fiasco_L4/log"
     from [061ba000-061fd64c] to [00400000-004080aa][00409000-0043b8b0]
     entry at 00063074 via trampoline page code
     symbols at [1b92f000-1b931000] (8kB), lines at [1b928000-1b92f000] (28kB)
#08: loading "(hd0,1)/boot/fiasco_L4/dm_phys -isa=0x00800000 -v --events"
     from [061fe000-0627ab68] to [01500000-01513aea][01514000-0151e000]
     entry at 00064094 via trampoline page code
     symbols at [1b924000-1b928000] (16kB), lines at [1b916000-1b924000] 
(56kB)
#09: loading "(hd0,1)/boot/fiasco_L4/simple_ts -t 300 --events"
     from [0627b000-062c5fd2] to [01400000-0140910a][0140a000-01415bf0]
     entry at 0006508c via trampoline page code
     symbols at [1b913000-1b916000] (12kB), lines at [1b90b000-1b913000] 
(32kB)
#0a: loading "(hd0,1)/boot/fiasco_L4/rtc --events"
     from [062c6000-062fbfd8] to [01080000-01085960][01086000-0108b000]
     entry at 0006607c via trampoline page code
     symbols at [1b909000-1b90b000] (8kB), lines at [1b903000-1b909000] (24kB)
#0b: loading "(hd0,1)/boot/fiasco_L4/l4io -noirq --events"
     from [062fc000-064e5299] to [00b80000-00ba436a][00ba5000-00bf1000]
     entry at 00067084 via trampoline page code
     symbols at [1b8cb000-1b903000] (224kB), lines at [1b8b1000-1b8cb000] 
(104kB)
#0c: loading "(hd0,1)/boot/fiasco_L4/l4exec --events"
     from [064e6000-0660ffd9] to [01100000-0112bb8a][0112c000-0114e000]
     entry at 00068080 via trampoline page code
     symbols at [1b8a9000-1b8b1000] (32kB), lines at [1b88c000-1b8a9000] 
(116kB)
#0d: loading "(hd0,1)/boot/fiasco_L4/bmodfs --events"
     from [06610000-066b110a] to [01220000-0123706a][01238000-01258000]
     passing module (hd0,1)/boot/fiasco_L4/vmlinuz26      
[ 066b2000-074ac99d ]
     entry at 000690b4 via trampoline page code
     symbols at [1b887000-1b88c000] (20kB), lines at [1b875000-1b887000] 
(72kB)
#0e: loading "(hd0,1)/boot/fiasco_L4/libloader.s.so"
     from [074ad000-07550661] to [00000000-00021e1d]
Roottask: cannot load binary because address at 00000000 not free
  loaded module:   [074ad000-07550661) (hd0,1)/boot/fiasco_L4/libloader.s.so
  overlaps with:   [00000000-00001000) BIOS area

Roottask boot panic: can't allocate page at 0x00000000: owned by #01
 [Esc] reboot, [k] kdebug, [m] memory map, [r] region map
 Rebooting...

   it is unlucky.  Later I used the five module again in the grub it is like 
this:
  Grub:
title fiasco_L4Linux-2.6
  kernel (hd0,1)/boot/fiasco_L4/bootstrap
  modaddr 0x06000000
  module (hd0,1)/boot/fiasco_L4/main -nowait -nokdb -serial_esc -comspeed 
115200 -comport 1
  module (hd0,1)/boot/fiasco_L4/sigma0
  module (hd0,1)/boot/fiasco_L4/roottask task modname "bmodfs" module  module 
module module module
  module (hd0,1)/boot/fiasco_L4/events
  module (hd0,1)/boot/fiasco_L4/names -events
  module (hd0,1)/boot/fiasco_L4/log
  module (hd0,1)/boot/fiasco_L4/dm_phys -isa=0x00800000 -v --events
  module (hd0,1)/boot/fiasco_L4/simple_ts -t 300 --events
  module (hd0,1)/boot/fiasco_L4/rtc --events
  module (hd0,1)/boot/fiasco_L4/l4io -noirq --events
  module (hd0,1)/boot/fiasco_L4/l4exec --events
# module (hd0,1)/boot/faisco_L4/con -l4io -cpuload --events
# module (hd0,1)/boot/fiasco_L4/tftp -i
  module (hd0,1)/boot/fiasco_L4/bmodfs --events
     module (hd0,1)/boot/fiasco_L4/vmlinuz26
     module (hd0,1)/boot/fiasco_L4/libloader.s.so
  module (hd0,1)/boot/fiasco_L4/loader --fprov=BMODFS  vmlinuz26

  The minicom log is like this:
Welcome to Fiasco(ia32)!
DD-L4(v2)/x86 microkernel (C) 1998-2006 TU Dresden
Rev: Thu Jun  1 13:35:11 2006 compiled with gcc 3.3.6 for AMD Athlon
Performance-critical config option(s) detected:
  CONFIG_SCHED_RTC is on
  CONFIG_ASSEMBLER_IPC_SHORTCUT is off
  CONFIG_NDEBUG is off
  CONFIG_NO_FRAME_PTR is off
  CONFIG_LIST_ALLOC_SANITY is on
  CONFIG_BEFORE_IRET_SANITY is on
  CONFIG_JDB_ACCOUNTING is on

Enabling special fully nested mode for PIC
Using the RTC on IRQ 8 (1kHz) for scheduling
SERIAL ESC: allocated IRQ 4 for serial uart
SERIAL ESC: allocated IRQ 4 for serial uart
Not using serial hack in slow timer handler.
Absolute KIP Syscalls using: Sysenter
CPU: AuthenticAMD (6:8:1:0) Model: Athlon (Thoroughbred) at 2002 MHz

  16/256 Entry I TLB (4K pages)      8 Entry I TLB (4M pages)
  32/256 Entry D TLB (4K pages)      8 Entry D TLB (4M pages)
  64 KB L1 I Cache (2-way associative, 64 bytes per line)
  64 KB L1 D Cache (2-way associative, 64 bytes per line)
 256 KB L2 U Cache (8-way associative, 64 bytes per line)

Freeing init code/data: 24576 bytes (6 pages)

SIGMA0: Hello!
  Found Fiasco: KIP syscalls: yes.
  Allocated 188kB for maintenance structures.


Roottask.

  491071kB ( 479MB) total RAM (reported by bootloader)
  427936kB ( 418MB) received RAM from Sigma0
   23232kB (  23MB) reserved RAM for RMGR
  Received I/O ports 0000-ffff
  Attached irqs = [ <!0> 1 <!2> 3 <!4> 5 6 7 <!8> 9 A B C D E F ]

Roottask: Parsing command line config.
  configured task 0x00 (bmodfs):
    vm_offs:0 irq:ffff lmcp:ffff allow_cli:0 mcp:ff prio:10 small:ff mods:4
Symbols at [1b956000-1b95b000] (20kB), lines at [1b944000-1b956000] (72kB)

Roottask: Loading 12 modules.
#05: loading "(hd0,1)/boot/fiasco_L4/events"
     from [0612b000-06174e2f] to [01540000-0154ab9d][0154b000-0154d954]
     entry at 00061078 via trampoline page code
     symbols at [1b942000-1b944000] (8kB), lines at [1b93a000-1b942000] (32kB)
#06: loading "(hd0,1)/boot/fiasco_L4/names -events"
     from [06175000-061b9ca6] to [002d0000-002d784a][002d8000-002e4000]
     entry at 00062080 via trampoline page code
     symbols at [1b938000-1b93a000] (8kB), lines at [1b931000-1b938000] (28kB)
#07: loading "(hd0,1)/boot/fiasco_L4/log"
     from [061ba000-061fd64c] to [00400000-004080aa][00409000-0043b8b0]
     entry at 00063074 via trampoline page code
     symbols at [1b92f000-1b931000] (8kB), lines at [1b928000-1b92f000] (28kB)
#08: loading "(hd0,1)/boot/fiasco_L4/dm_phys -isa=0x00800000 -v --events"
     from [061fe000-0627ab68] to [01500000-01513aea][01514000-0151e000]
     entry at 00064094 via trampoline page code
     symbols at [1b924000-1b928000] (16kB), lines at [1b916000-1b924000] 
(56kB)
#09: loading "(hd0,1)/boot/fiasco_L4/simple_ts -t 300 --events"
     from [0627b000-062c5fd2] to [01400000-0140910a][0140a000-01415bf0]
     entry at 0006508c via trampoline page code
     symbols at [1b913000-1b916000] (12kB), lines at [1b90b000-1b913000] 
(32kB)
#0a: loading "(hd0,1)/boot/fiasco_L4/rtc --events"
     from [062c6000-062fbfd8] to [01080000-01085960][01086000-0108b000]
     entry at 0006607c via trampoline page code
     symbols at [1b909000-1b90b000] (8kB), lines at [1b903000-1b909000] (24kB)
#0b: loading "(hd0,1)/boot/fiasco_L4/l4io -noirq --events"
     from [062fc000-064e5299] to [00b80000-00ba436a][00ba5000-00bf1000]
     entry at 00067084 via trampoline page code
     symbols at [1b8cb000-1b903000] (224kB), lines at [1b8b1000-1b8cb000] 
(104kB)
#0c: loading "(hd0,1)/boot/fiasco_L4/l4exec --events"
     from [064e6000-0660ffd9] to [01100000-0112bb8a][0112c000-0114e000]
     entry at 00068080 via trampoline page code
     symbols at [1b8a9000-1b8b1000] (32kB), lines at [1b88c000-1b8a9000] 
(116kB)
#0d: loading "(hd0,1)/boot/fiasco_L4/bmodfs --events"
     from [06610000-066b110a] to [01220000-0123706a][01238000-01258000]
     passing module (hd0,1)/boot/fiasco_L4/vmlinuz26      
[ 066b2000-074ac99d ]
     passing module (hd0,1)/boot/fiasco_L4/libloader.s.so 
[ 074ad000-07550661 ]
     passing module (hd0,1)/boot/fiasco_L4/loader         
[ 07551000-076356f5 ]

Roottask boot warning: task configured to use modules, but there are not 
enough modules for loading --> not passing

 [Return] continue, [Esc] reboot, [k] kdebug, [m] memory map, [r] region map

     entry at 00069144 via trampoline page code
     symbols at [1b887000-1b88c000] (20kB), lines at [1b875000-1b887000] 
(72kB)

names   | Starting thread listening for `exit' events
simplets| Configured for 300 tasks.
DMphys  | [8.0] dm_phys/server/src/main.c:115:__get_num():
DMphys  |  Error: DMphys: invalid number: 'sa=0x00800000'!
DMphys  | [8.0] dm_phys/server/src/main.c:153:__pool_config():
DMphys  |  Error: DMphys: invalid size for pool 7: sa=0x00800000!
rtc     | Date:14.06.2006 Time:21:15:57
DMphys  | DMphys memory map:
DMphys  |   phys. memory 0x00000000-0x1dff0000 (from L4 kernel info page)
DMphys  |   using 0x00100000-0x1dff0000
DMphys  |        Memory area      Pool  PS  Flags
DMphys  |   0x00000000-0x00100000  --   --  RESERVED 
DMphys  |   0x00100000-0x0013a000   0   12  MAPPED 
DMphys  |   0x0013a000-0x001d2000  --   --  DENIED
DMphys  |   0x001d2000-0x002d0000   0   12  MAPPED 
DMphys  |   0x002d0000-0x002e4000  --   --  DENIED
DMphys  |   0x002e4000-0x00400000   0   12  MAPPED 
DMphys  |   0x00400000-0x0043c000  --   --  DENIED
DMphys  |   0x0043c000-0x00b80000   0   12  MAPPED 
DMphys  |   0x00b80000-0x00bf1000  --   --  DENIED
DMphys  |   0x00bf1000-0x00c00000   0   12  MAPPED 
DMphys  |   0x00c00000-0x01000000   0   22  MAPPED 
DMphys  |   0x01000000-0x01080000   0   12  MAPPED 
DMphys  |   0x01080000-0x0108b000  --   --  DENIED
DMphys  |   0x0108b000-0x01100000   0   12  MAPPED 
DMphys  |   0x01100000-0x0114e000  --   --  DENIED
DMphys  |   0x0114e000-0x01220000   0   12  MAPPED 
DMphys  |   0x01220000-0x01258000  --   --  DENIED
DMphys  |   0x01258000-0x01400000   0   12  MAPPED 
DMphys  |   0x01400000-0x01416000  --   --  DENIED
DMphys  |   0x01416000-0x01500000   0   12  MAPPED 
DMphys  |   0x01500000-0x0151d000  --   --  RESERVED 
DMphys  |   0x0151d000-0x01540000   0   12  MAPPED 
DMphys  |   0x01540000-0x0154e000  --   --  DENIED
DMphys  |   0x0154e000-0x01800000   0   12  MAPPED 
DMphys  |   0x01800000-0x06400000   0   22  MAPPED 
DMphys  |   0x06400000-0x066b2000   0   12  MAPPED 
DMphys  |   0x066b2000-0x07636000  --   --  DENIED
DMphys  |   0x07636000-0x07800000   0   12  MAPPED 
DMphys  |   0x07800000-0x1b800000   0   22  MAPPED 
DMphys  |   0x1b800000-0x1b875000   0   12  MAPPED 
DMphys  |   0x1b875000-0x1dff0000  --   --  DENIED
DMphys  | 
DMphys  | DMphys memory pools:
DMphys  |   pool 0 (Default memory pool):
DMphys  |   size: 431896KB total, 431896KB free,  32KB reserved
DMphys  |     0x00100000-0x0013a000 (   232KB,    0MB)
DMphys  |     0x001d2000-0x002d0000 (  1016KB,    1MB)
DMphys  |     0x002e4000-0x00400000 (  1136KB,    1MB)
DMphys  |     0x0043c000-0x00b80000 (  7440KB,    7MB)
DMphys  |     0x00bf1000-0x01080000 (  4668KB,    5MB)
DMphys  |     0x0108b000-0x01100000 (   468KB,    0MB)
DMphys  |     0x0114e000-0x01220000 (   840KB,    1MB)
DMphys  |     0x01258000-0x01400000 (  1696KB,    2MB)
DMphys  |     0x01416000-0x01500000 (   936KB,    1MB)
DMphys  |     0x0151d000-0x01540000 (   140KB,    0MB)
DMphys  |     0x0154e000-0x066b2000 ( 83344KB,   81MB)
DMphys  |     0x07636000-0x1b875000 (329980KB,  322MB)
bmodfs  | Passed the following modules:
bmodfs  |   module "(hd0,1)/boot/fiasco_L4/vmlinuz26" (14315kB)
bmodfs  |   module "(hd0,1)/boot/fiasco_L4/libloader.s.so" (654kB)
bmodfs  |   module "(hd0,1)/boot/fiasco_L4/loader --fprov=BMODFS  
vmlinuz26" (9
bmodfs  : 14kB)
io      | do_args(): Disabling internal IRQ handling.
io      | do_args(): Enabling events support.
io      | PCI: Using configuration type 1
io      | PCI: Probing PCI hardware
io      | PCI: Probing PCI hardware (bus 00)
io      | PCI: Via IRQ fixup
io      | 00000000-ffffffff : PCI mem
io      |   e0000000-e7ffffff : PCI Bus #01
io      |     e0000000-e7ffffff : S3 Inc. VT8375 [ProSavage8 KM266/KL266]
io      |   e8000000-ebffffff : VIA Technologies, Inc. VT8375 [KM266/KL266] 
Hos
io      : t Bridge
io      |   ec000000-ec0fffff : PCI Bus #01
io      |     ec000000-ec07ffff : S3 Inc. VT8375 [ProSavage8 KM266/KL266]
io      |   ec100000-ec11ffff : Intel Corp. 82544GC Gigabit Ethernet 
Controller
io      :  (Copper)
io      |   ec120000-ec13ffff : Intel Corp. 82544GC Gigabit Ethernet 
Controller
io      :  (Copper)
io      |   ec160000-ec1600ff : Realtek Semiconductor Co., Ltd. 
RTL-8139/8139C/
io      : 8139C+
io      |   ec161000-ec1617ff : VIA Technologies, Inc. IEEE 1394 Host 
Controlle
io      : r
io      |   ec162000-ec1620ff : VIA Technologies, Inc. USB 2.0
io      | 0000-ffff : PCI IO
io      |   0cf8-0cff : PCI conf1
io      |   d000-d01f : Intel Corp. 82544GC Gigabit Ethernet Controller 
(Copper
io      : )
io      |   d400-d4ff : Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+
io      |   d800-d87f : VIA Technologies, Inc. IEEE 1394 Host Controller
io      |   dc00-dc1f : VIA Technologies, Inc. USB
io      |   e000-e01f : VIA Technologies, Inc. USB (#2)
io      |   e400-e41f : VIA Technologies, Inc. USB (#3)
io      |   e800-e80f : VIA Technologies, Inc. 
VT82C586A/B/VT82C686/A/B/VT823x/
io      : A/C PIPC Bus Master IDE
io      |   ec00-ecff : VIA Technologies, Inc. VT8233/A/8235 AC97 Audio 
Control
io      : ler
   
          Please help me!
                                               Chenggh




More information about the l4-hackers mailing list