about l4linux on fiasco-UX
Adam Lackorzynski
adam at os.inf.tu-dresden.de
Sat Jul 21 00:29:09 CEST 2007
On Fri Jul 20, 2007 at 15:54:06 +0800, kashin Lin wrote:
> when i runed l4linux on fiasco-UX by "./lx con", it stoped
> after following messages:
>
> loader | vmlinuz26.ux,#f: Loading binary
> fuxfprov| open "../../../build/bin/x86_586/l4v2/libld-l4.s.so" by D.02
> loader | vmlinuz26.ux,#f: Loading ldso
> loader | vmlinuz26.ux,#f: Starting libld-l4.s.so at 00013800 via 0000cc20
> fuxfprov| open "./libloader.s.so" by F.00
> fuxfprov| Can't open "./libloader.s.so": -2
> fuxfprov| open "../../../build/bin/x86_586/l4v2/./libloader.s.so" by F.00
> fuxfprov| open "vmlinuz26.ux" by F.00
> fuxfprov| Can't open "vmlinuz26.ux": -2
> fuxfprov| open "../../../build/bin/x86_586/l4v2/vmlinuz26.ux" by F.00
> fuxfprov| Can't open "../../../build/bin/x86_586/l4v2/vmlinuz26.ux": -2
> l4lx | ======> L4Linux 2.6 starting... <========
> l4lx | Linux version 2.6.21-l4 (kashin08 at kashin08-desktop) (gcc version 4.1.
> l4lx : 2 (Ubuntu 4.1.2-0ubuntu4)) #1 Fri Jul 20 12:14:47 CST 2007
> l4lx | Binary name: vmlinuz26.ux
> l4lx | Kernel command line (7 args): mem=44M root=1:0 load_ramdisk=1 ramdisk
> l4lx : _size=16384 l4env_rd=../../../test_lx/rd panicblink=0 lang=us
> l4lx | Image: 00400000 - 00727000 [3228 KiB].
> l4lx | Areas: Text: 00400000 - 00644000 [2320kB] (a bit longer)
> l4lx | Data: 00644000 - 0065d2b4 [100kB]
> l4lx | Initdata: 00660000 - 0069a100 [232kB]
> l4lx | BSS: 0069c000 - 00724860 [546kB]
> l4lx | l4lx_thread_create: Created thread 0f.03 (tamer)
> l4lx | Using tamed mode.
> l4lx | l4lx_thread_create: Created thread 0f.04 (server)
> l4lx | main thread will be 0f.04
> l4lx | l4env_register_pointer_section: addr = 00400000 size = 3305472
> l4lx | sec-w-init: virt: 0x00400000 to 0x00726fff [3228 KiB]
> l4lx | Noncontiguous region for sec-w-init
> l4lx | sec-w-init: Number of physical regions: 2, 3305472 Bytes
> l4lx | sec-w-init: 1: Phys: 0x0054e000 to 0x00728000, Size: 1941504
> l4lx | sec-w-init: 2: Phys: 0x0e3c4000 to 0x0e511000, Size: 1363968
> l4lx | l4env_linux_startup thread 4.
> l4lx | main thread: received startup message.
> l4lx | Main thread running, waiting...
> l4lx | setup_l4env_memory: Forcing superpages for main memory
> l4lx | Main memory size: 44MB
> l4lx | Main memory: virt: 0x00800000 to 0x033fffff [45056 KiB]
> l4lx | Main memory: Number of physical regions: 1, 46137344 Bytes
> l4lx | Main memory: 1: Phys: 0x01800000 to 0x04400000, Size: 46137344
> l4lx | Filling lower ptabs...
> l4lx | Done (1205 entries).
> l4lx | l4env_rd_path: ../../../test_lx/rd
> l4lx | Loading: ../../../test_lx/rd
> fuxfprov| open "../../../test_lx/rd" by F.04
> io | Available IRQs=[ <!0> 1 2 3 4 5 6 7 8 9 a b c d e f <!10> <!11> ]
> l4lx | INITRD: Size of RAMdisk is 16384KiB
> l4lx | RAMdisk from 03400000 to 04400000 [16384KiB]
> l4lx | panic: going to sleep forever, bye
> con | Character size is 8x14, font has 256 characters
> con | VESA reports 640x480 at 16 1280bpl (0000) [4096kB]
> con | Color mapping: red=11:5 green=5:6 blue=0:5 res=0:0
> con | Found Fiasco-UX
> con | Found VHW descriptor, provider is 24945
> con | Mapped I/O UX video mem c0000000 => 00400000 [4096kB] via l4io
> con | Using MMXEXT for colorspace transform
> con | L4INPUT Fiasco-UX mode activated
> con | Input memory page mapped to 0x00c00000
> con | Running as C.02. Video mode is 640x480 at 16.
> con | vc_loop(): vc[1] running as C.05
> con | vc[1] 640x480 at 16, bpl:1280, gmode:0x15, evprt:E.03 save:0
> run | contxt_init(): 640x462, cols:80, lines:33, sb_lines:1033
>
> what's the problem?
We need to find out by adding earlyprintk=keep to the L4Linux kernel
command line. Then there should be more text.
> ==================================================================
>
> when i runed l4linux on fiasco-UX by "./lx dope", it stoped
> after following messages:
>
> Fiasco-UX on Linux 2.6.20-16-generic (i686)
> Native Syscall Map: 0xc00
> Mapped 256 MB Memory + 4096 KB Framebuffer + 4 MB Input Area on FD 3
>
> Loading Module 0x00090000-0x00099380
> [../../../build/bin/x86_586/l4v2/sigma0]
> Loading Module 0x00120000-0x002bcad4
> [../../../build/bin/x86_586/l4v2/roottask]
> Copying Module 0x0ea5b000-0x0ea842f0 [../../../kernel/fiasco/build/Symbols]
> Copying Module 0x0ea23000-0x0ea5abeb [../../../kernel/fiasco/build/Lines]
> Copying Module 0x0e9e8000-0x0ea22992 [../../../build/bin/x86_586/l4v2/names]
> Failed to open file: ../../../build/bin/x86_586/l4v2/dmon
>
> but i don't have a file named "dmon", how to fix it?
Check out l4/pkg/dmon from svn and compile.
>
>
>
> 2007/7/15, Adam Lackorzynski <adam at os.inf.tu-dresden.de>:
> >
> >
> >On Sun Jul 15, 2007 at 19:18:19 +0800, kashin Lin wrote:
> >> thanks for answerning.
> >>
> >> so you means if the multimedia application (a normal user
> >> application) can run in host linux,
> >> it can also run in l4linux on fiasco-UX?
> >
> >Basically yes, leaving out the practical issues really getting this to
> >work.
> >
> >> 2007/7/15, Adam Lackorzynski <adam at os.inf.tu-dresden.de>:
> >> >
> >> >
> >> >On Sun Jul 15, 2007 at 15:26:54 +0800, kashin Lin wrote:
> >> >> Hi~
> >> >>
> >> >> according to http://os.inf.tu-dresden.de/fiasco/ux/status.shtml,
> >> >> it says one of the differences between native fiasco and fiasco-UX is
> >:
> >> >> Port I/O and I/O flexpages.
> >> >>
> >> >> so is it possible to run a multimedia application in l4linux on
> >> >fiasco-UX?
> >> >> (ex: jpeg, mp3 ... etc)
> >> >>
> >> >> this kind of application seems that it could access hardware
> >directly(
> >> >ex:
> >> >> speaker or monitor )?
> >> >
> >> >Fiasco-UX and all the L4 programs that are run in Fiasco-UX are normal
> >> >Linux user applications and thus have not more rights than any other
> >> >Linux program you are running. Directly accessing hardware is not
> >> >possible with Fiasco-UX, in the same way it's not possible to access
> >> >hardware directly as a Linux program. I hope this clarifies the
> >> >question.
> >> >
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