about l4linux on fiasco-UX
kashin Lin
kashin08 at gmail.com
Sat Jul 21 11:06:22 CEST 2007
2007/7/21, Adam Lackorzynski <adam at os.inf.tu-dresden.de>:
>
>
> 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.
Here are the results after adding "earlyprintk=keep" :
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 (8 args): mem=44M earlyprintk=keep root=1:0
load_
l4lx : ramdisk=1 ramdisk_size=16384 l4env_rd=../../../test_lx/rd1
panicblink
l4lx : =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: 3, 3305472 Bytes
l4lx | sec-w-init: 1: Phys: 0x0054e000 to 0x0073d000, Size: 2027520
l4lx | sec-w-init: 2: Phys: 0x0e843000 to 0x0e961000, Size: 1171456
l4lx | sec-w-init: 3: Phys: 0x00fe9000 to 0x01003000, Size: 106496
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/rd1
l4lx | Loading: ../../../test_lx/rd1
fuxfprov| open "../../../test_lx/rd1" by F.04
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 7167
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
l4lx | INITRD: Size of RAMdisk is 16384KiB
l4lx | RAMdisk from 03400000 to 04400000 [16384KiB]
[ 0.000000] Linux version 2.6.21-l4 (kashin08 at kashin08-desktop) (gcc
version 4.1.2 (Ubuntu 4.1.2-0ubuntu4)) #1 Fri Jul 20 12:14:47 CST 2007
[ 0.000000] CPU: Vendor unknown, using generic init.
[ 0.000000] CPU: Your system may be unstable.
[ 0.000000] dm_phys: 0000000000800000 - 0000000003400000 (usable)
[ 0.000000] 44MB memory available.
[ 0.000000] INITRD: 03400000 - 04400000
[ 0.000000] Zone PFN ranges:
[ 0.000000] DMA 0 -> 512
[ 0.000000] Normal 512 -> 13312
[ 0.000000] early_node_map[1] active PFN ranges
[ 0.000000] 0: 0 -> 13312
[ 0.000000] Allocating PCI resources starting at 10000000 (gap:
03400000:fcc00000)
[ 0.000000] Built 1 zonelists. Total pages: 13208
[ 0.000000] Kernel command line: mem=44M earlyprintk=keep root=1:0
load_ramdisk=1 ramdisk_size=16384 l4env_rd=../../../test_lx/rd1 panicblink=0
lang=us
[ 0.000000] Initializing CPU#0
[ 0.000000] PID hash table entries: 256 (order: 8, 1024 bytes)
[ 0.000000] Detected 2010.311 MHz processor.
[ 1236.204905] keeping early console
l4lx | panic: going to sleep forever, bye
> ==================================================================
> >
> > 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.
when i compile dmon, it says:
l4/term_server/vt100.h:no such file or directory
did i loss other packages? how to get them?
why are those packages not downloaded together when i download l4-env from
svn?
>
> >
> >
> > 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/
>
> _______________________________________________
> l4-hackers mailing list
> l4-hackers at os.inf.tu-dresden.de
> http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://os.inf.tu-dresden.de/pipermail/l4-hackers/attachments/20070721/50151796/attachment.htm>
More information about the l4-hackers
mailing list