Dear all: I have succeeded in building L4Linux, and then I tried to boot Fiasco and run L4Linux on VMware.When I tried to download your version of GRUB bootloader on SVN, it said "At revision 422", not downloaded something. So where can I download the source code of your version of GRUB bootloader? And is there some documentation of running L4Linux on Fiasco? Thanks!
Best Regards. Adam Chang
Hi,
On Fri Dec 12, 2008 at 02:21:15 +0800, Adam Chang wrote:
I have succeeded in building L4Linux, and then I tried to boot Fiasco and run L4Linux on VMware.When I tried to download your version of GRUB bootloader on SVN, it said "At revision 422", not downloaded something. So where can I download the source code of your version of GRUB bootloader?
It's available as a patch with a bit of docu at http://os.inf.tu-dresden.de/~adam/grub/ Latest version is this one: http://os.inf.tu-dresden.de/~adam/grub/0.97/grub-0.97-os.7.diff.gz
And is there some documentation of running L4Linux on Fiasco?
Like this? http://os.inf.tu-dresden.de/L4/LinuxOnL4/use-2.6.shtml
Adam
Dear all: I still have some problem on running L4Linux. I have succeeded install your version of GRUB in my VMware virtual disk. And the following is my menu.lst
============== default=0 timeout=0 splashimage=/boot/grub/splash.xpm.gz hiddenmenu title L4Linux-2.6 kernel /common/bootstrap modaddr 0x02000000 module /common/fiasco -nokdb -serial_esc module /common/sigma0 module /common/roottask task modname "bmodfs" attached 5 modules module /common/names module /common/log module /common/dm_phys --isa=0x00800000 module /common/simple_ts -t 300 module /common/rtc module /common/l4io module /common/bmodfs module /common/cfg/l4linux26.cfg module /common/libloader.s.so module /common/libld-l4.s.so module /common/vmlinuz module /common/drops.rd module /common/loader --fprov=BMODFS l4linux26.cfg ============== When I boot the virtual machine, first the machine start fiasco, sigma0 , roottask roottask loaded 13 modules,and finally I see these message while I failed running L4Linux ============== loader | vmlinuz: Starting application using libld-l4.s.so loader | vmlinuz,#d: Loading binary loader | vmlinuz,#d: Loading ldso loader | vmlinuz,#d: Starting libld-l4.s.so at 000138e0 via 0000cf40 l4lx | ======> L4Linux 2.6 starting... <======== l4lx | Linux version 2.6.27-l4-svn131 (bread@Bread) ( l4lx | Linux version 2.6.27-l4-svn131 (bread@Bread) (gcc version 4.3.2 20081 l4lx : 105 (Red Hat 4.3.2-7) (GCC) ) #1 Sat Dec 13 14:15:36 CST 2008 l4lx | Binary name: vmlinuz l4lx | Linux kernel command line (5 args): mem=64M load_ramdisk=1 ramdisk_size l4lx : =16384 root=/dev/ram0 l4env_rd=drops.rd l4lx | The running microkernel does not have the l4lx | segments l4lx | feature enabled!
--Microkernel feature missing!---------------------------IP: 00636869 [l4lx.main] (d.02) jdb: ============== And I jumped to the jdb console.
all the step I built L4env and L4linux just followed the document, and so did my GRUB menu,lst. And I don't know what's wrong. So can someone give me advice how to solve this problem? Thanks!
Best Regards. Adam Chang
On Fri, Dec 12, 2008 at 5:44 AM, Adam Lackorzynski adam@os.inf.tu-dresden.de wrote:
Hi,
On Fri Dec 12, 2008 at 02:21:15 +0800, Adam Chang wrote:
I have succeeded in building L4Linux, and then I tried to boot Fiasco and run L4Linux on VMware.When I tried to download your version of GRUB bootloader on SVN, it said "At revision 422", not downloaded something. So where can I download the source code of your version of GRUB bootloader?
It's available as a patch with a bit of docu at http://os.inf.tu-dresden.de/~adam/grub/ Latest version is this one: http://os.inf.tu-dresden.de/~adam/grub/0.97/grub-0.97-os.7.diff.gz
And is there some documentation of running L4Linux on Fiasco?
Like this? http://os.inf.tu-dresden.de/L4/LinuxOnL4/use-2.6.shtml
Adam
Adam adam@os.inf.tu-dresden.de Lackorzynski http://os.inf.tu-dresden.de/~adam/
l4-hackers mailing list l4-hackers@os.inf.tu-dresden.de http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers
On Wed, 24 Dec 2008 17:28:12 +0800, Adam Chang wrote:
Dear all: I still have some problem on running L4Linux. I have succeeded install your version of GRUB in my VMware virtual disk. And the following is my menu.lst When I boot the virtual machine, first the machine start fiasco, sigma0 , roottask roottask loaded 13 modules$B!$(Band finally I see these message while I failed running L4Linux
============== loader | vmlinuz: Starting application using libld-l4.s.so loader | vmlinuz,#d: Loading binary loader | vmlinuz,#d: Loading ldso loader | vmlinuz,#d: Starting libld-l4.s.so at 000138e0 via 0000cf40 l4lx | ======> L4Linux 2.6 starting... <======== l4lx | Linux version 2.6.27-l4-svn131 (bread@Bread) ( l4lx | Linux version 2.6.27-l4-svn131 (bread@Bread) (gcc version 4.3.2 20081 l4lx : 105 (Red Hat 4.3.2-7) (GCC) ) #1 Sat Dec 13 14:15:36 CST 2008 l4lx | Binary name: vmlinuz l4lx | Linux kernel command line (5 args): mem=64M load_ramdisk=1 ramdisk_size l4lx : =16384 root=/dev/ram0 l4env_rd=drops.rd l4lx | The running microkernel does not have the l4lx | segments l4lx | feature enabled!
--Microkernel feature missing!---------------------------IP: 00636869 [l4lx.main] (d.02) jdb: ============== And I jumped to the jdb console.
Try compiling Fiasco microkernel with configuration option set: "Handle and preserve segments". This option is needed at least for L4Linux. It is needed for manipulating segment registers on IA32 architecture.
WBR, valery
Dear all: After I set "Handle and preserve segments" , It still has some problem there: The following is my error message: ==============
l4lx | ======> L4Linux 2.6 starting... <======== l4lx | Linux version 2.6.27-l4-svn131 (bread@Bread) ( l4lx | Linux version 2.6.27-l4-svn131 (bread@Bread) (gcc version 4.3.2 20081 l4lx : 105 (Red Hat 4.3.2-7) (GCC) ) #1 Sat Dec 13 14:15:36 CST 2008 l4lx | Binary name: vmlinuz l4lx | Linux kernel command line (5 args): mem=64M load_ramdisk=1 ramdisk_size l4lx : =16384 root=/dev/ram0 l4env_rd=drops.rd l4lx | Image: 00400000 - 007cf000 [3900 KiB]. l4lx | Areas: Text: 00400000 - 006dc000 [2928kB] (a bit longer) l4lx | Data: 006dc000 - 006fd698 [133kB] l4lx | Initdata: 00700000 - 0073e000 [248kB] l4lx | BSS: 00740000 - 007cefd0 [571kB] l4lx | l4lx_thread_create: Created thread 0d.03 (tamer0) l4lx | Tamer0 is 0d.03 l4lx | Using tamed mode. ROOT: Task #0c is not allowed to execute cli/sti loader | vmlinuz,#d: WARNING: Can't map I/O space, ROOT denies page loader | (result=00004000) loader | vmlinuz,#d: Not allowed to perform any I/O l4lx | Got 0 out of 65536 I/O ports l4lx | Connecting to l4io server. l4lx | l4env_linux_startup thread 4. l4lx | l4lx_thread_create: Created thread 0d.04 (cpu0) l4lx | main thread will be 0d.04 l4lx | l4env_register_pointer_section: addr=006dc000 size = 405504 l4lx | sec-w-init: virt: 0x006dc000 to 0x0073efff [396 KiB] l4lx | sec-w-init: Number of physical regions: 1, 405504 Bytes l4lx | sec-w-init: 1: Phys: 0x0139c000 to 0x013ff000, Size: 405504 l4lx | main thread: received startup message. l4lx | memory_setup: mem=64M load_ramdisk=1 ramdisk_size=16384 root=/dev/ram l4lx | l4env_rd=drops.rd l4lx | setup_l4env_memory: Forcing superpages for main memory l4lx | Main thread running, waiting... l4lx | Main memory size: 64MB l4lx | Got 2048kB of ISA DMA memory l4lx | ISA DMA memory: virt: 0x00800000 to 0x009fffff [2048KiB] l4lx | ISA DMA memory: Number of physical regions: 1, 2097152 Bytes l4lx | ISA DMA memory: 1: Phys: 0x0043a000 to 0x0063a000, Size: 2097152 l4lx | Main memory: virt: 0x00c00000 to 0x04bffff [65536KiB] l4lx | Main memory: Number of physical regions: 1, 67108864 Bytes l4lx | Main memory: 1: Phys: 0x19400000 to 0x1d400000, Size: 67108864 l4lx | Filling lower ptabs... l4lx | mainmem = c00000 l4lx | Done (1517 entries) l4lx | l4env_register_pointer_section: addr = 00740000 size = 585728 l4lx | end: virt: 0x00740000 to 0x007cefff [572 KiB] l4lx | end: Number of physical regions: 1, 585728 Bytes l4lx | end: 1: Phys: 0x00a47000 to 0x00ad6000, Size: 585728 l4lx | memory_setup done l4lx | l4env_rd_path: drops.rd l4lx | Loading: drops.rd l4lx | INITRD: Size of RAMdisk is 16384KiB l4lx | RAMdisk from 04c00000 to 05c00000 [16384KiB] l4lx | l4lx_thread_create: Created thread 0d.05 (timer.i0) l4lx | Jumping over 4x 'hit' at 0x70970f l4lx | panic: going to sleep forever, bye
============== It looks like to be kernel panic, I don't know how to solve it.Can someone give me advice how to solve this problem? Thanks! Best Regards. Adam Chang
On Fri, Dec 26, 2008 at 4:23 PM, Valery V. Sedletski _valerius@mail.ru wrote:
On Wed, 24 Dec 2008 17:28:12 +0800, Adam Chang wrote:
Dear all: I still have some problem on running L4Linux. I have succeeded install your version of GRUB in my VMware virtual disk. And the following is my menu.lst When I boot the virtual machine, first the machine start fiasco, sigma0 , roottask roottask loaded 13 modules $B!$ (Band finally I see these message while I failed running L4Linux
============== loader | vmlinuz: Starting application using libld-l4.s.so loader | vmlinuz,#d: Loading binary loader | vmlinuz,#d: Loading ldso loader | vmlinuz,#d: Starting libld-l4.s.so at 000138e0 via 0000cf40 l4lx | ======> L4Linux 2.6 starting... <======== l4lx | Linux version 2.6.27-l4-svn131 (bread@Bread) ( l4lx | Linux version 2.6.27-l4-svn131 (bread@Bread) (gcc version 4.3.2 20081 l4lx : 105 (Red Hat 4.3.2-7) (GCC) ) #1 Sat Dec 13 14:15:36 CST 2008 l4lx | Binary name: vmlinuz l4lx | Linux kernel command line (5 args): mem=64M load_ramdisk=1 ramdisk_size l4lx : =16384 root=/dev/ram0 l4env_rd=drops.rd l4lx | The running microkernel does not have the l4lx | segments l4lx | feature enabled!
--Microkernel feature missing!---------------------------IP: 00636869 [l4lx.main] (d.02) jdb: ============== And I jumped to the jdb console.
Try compiling Fiasco microkernel with configuration option set: "Handle and preserve segments". This option is needed at least for L4Linux. It is needed for manipulating segment registers on IA32 architecture.
WBR, valery
On Mon, 29 Dec 2008 02:32:58 +0800, Adam Chang wrote:
Dear all: After I set "Handle and preserve segments" , It still has some problem there: The following is my error message: ==============
l4lx | ======> L4Linux 2.6 starting... <======== l4lx | Linux version 2.6.27-l4-svn131 (bread@Bread) ( l4lx | Linux version 2.6.27-l4-svn131 (bread@Bread) (gcc version 4.3.2 20081 l4lx : 105 (Red Hat 4.3.2-7) (GCC) ) #1 Sat Dec 13 14:15:36 CST 2008 l4lx | Binary name: vmlinuz l4lx | Linux kernel command line (5 args): mem=64M load_ramdisk=1 ramdisk_size l4lx : =16384 root=/dev/ram0 l4env_rd=drops.rd l4lx | Image: 00400000 - 007cf000 [3900 KiB]. l4lx | Areas: Text: 00400000 - 006dc000 [2928kB] (a bit longer) l4lx | Data: 006dc000 - 006fd698 [133kB] l4lx | Initdata: 00700000 - 0073e000 [248kB] l4lx | BSS: 00740000 - 007cefd0 [571kB] l4lx | l4lx_thread_create: Created thread 0d.03 (tamer0) l4lx | Tamer0 is 0d.03 l4lx | Using tamed mode. ROOT: Task #0c is not allowed to execute cli/sti loader | vmlinuz,#d: WARNING: Can't map I/O space, ROOT denies page loader | (result=00004000) loader | vmlinuz,#d: Not allowed to perform any I/O
This means that Loader server can't give Linux server required I/O pages and ROOT server can't give these pages to a Loader. For that, allow_cli parameter must be specified in ROOT server command line for loader, like this:
module $(L4)/roottask -symbols -lines task modname "loader" boot_priority 0xA0 allow_cli task modname "bmodfs" attached 7 modules
And, for Loader server, for L4linux these I/O pages to be given, you must specify allow_cli in the loader script for L4linux:
-----------cut l4linux.cfg:---------------- #l4linux cfg
verbose 0
modpath "(hd0,4)/boot/pns"
task "vmlinuz26" "mem=1800M video=l4fb:refreshsleep:200 l4fb.nograb=1 load_ramdisk=1 ramdisk_size=8192 root=/dev/sda9 l4env_rd=(hd0,4)/boot/lx/initrd.img panicblink=0 earlyprintk=1" allow_cli priority 0xA0 ---------------------------------------------------
l4lx | Got 0 out of 65536 I/O ports l4lx | Connecting to l4io server. l4lx | l4env_linux_startup thread 4. l4lx | l4lx_thread_create: Created thread 0d.04 (cpu0) l4lx | main thread will be 0d.04 l4lx | l4env_register_pointer_section: addr=006dc000 size = 405504 l4lx | sec-w-init: virt: 0x006dc000 to 0x0073efff [396 KiB] l4lx | sec-w-init: Number of physical regions: 1, 405504 Bytes l4lx | sec-w-init: 1: Phys: 0x0139c000 to 0x013ff000, Size: 405504 l4lx | main thread: received startup message. l4lx | memory_setup: mem=64M load_ramdisk=1 ramdisk_size=16384 root=/dev/ram l4lx | l4env_rd=drops.rd l4lx | setup_l4env_memory: Forcing superpages for main memory l4lx | Main thread running, waiting... l4lx | Main memory size: 64MB l4lx | Got 2048kB of ISA DMA memory l4lx | ISA DMA memory: virt: 0x00800000 to 0x009fffff [2048KiB] l4lx | ISA DMA memory: Number of physical regions: 1, 2097152 Bytes l4lx | ISA DMA memory: 1: Phys: 0x0043a000 to 0x0063a000, Size: 2097152 l4lx | Main memory: virt: 0x00c00000 to 0x04bffff [65536KiB] l4lx | Main memory: Number of physical regions: 1, 67108864 Bytes l4lx | Main memory: 1: Phys: 0x19400000 to 0x1d400000, Size: 67108864 l4lx | Filling lower ptabs... l4lx | mainmem = c00000 l4lx | Done (1517 entries) l4lx | l4env_register_pointer_section: addr = 00740000 size = 585728 l4lx | end: virt: 0x00740000 to 0x007cefff [572 KiB] l4lx | end: Number of physical regions: 1, 585728 Bytes l4lx | end: 1: Phys: 0x00a47000 to 0x00ad6000, Size: 585728 l4lx | memory_setup done l4lx | l4env_rd_path: drops.rd l4lx | Loading: drops.rd l4lx | INITRD: Size of RAMdisk is 16384KiB l4lx | RAMdisk from 04c00000 to 05c00000 [16384KiB] l4lx | l4lx_thread_create: Created thread 0d.05 (timer.i0) l4lx | Jumping over 4x 'hit' at 0x70970f l4lx | panic: going to sleep forever, bye
============== It looks like to be kernel panic$B!$(B I don't know how to solve it.Can someone give me advice how to solve this problem? Thanks! Best Regards. Adam Chang
On Fri, Dec 26, 2008 at 4:23 PM, Valery V. Sedletski _valerius@mail.ru wrote:
On Wed, 24 Dec 2008 17:28:12 +0800, Adam Chang wrote:
Dear all: I still have some problem on running L4Linux. I have succeeded install your version of GRUB in my VMware virtual disk. And the following is my menu.lst When I boot the virtual machine, first the machine start fiasco, sigma0 , roottask roottask loaded 13 modules $B!$ (Band finally I see these message while I failed running L4Linux
============== loader | vmlinuz: Starting application using libld-l4.s.so loader | vmlinuz,#d: Loading binary loader | vmlinuz,#d: Loading ldso loader | vmlinuz,#d: Starting libld-l4.s.so at 000138e0 via 0000cf40 l4lx | ======> L4Linux 2.6 starting... <======== l4lx | Linux version 2.6.27-l4-svn131 (bread@Bread) ( l4lx | Linux version 2.6.27-l4-svn131 (bread@Bread) (gcc version 4.3.2 20081 l4lx : 105 (Red Hat 4.3.2-7) (GCC) ) #1 Sat Dec 13 14:15:36 CST 2008 l4lx | Binary name: vmlinuz l4lx | Linux kernel command line (5 args): mem=64M load_ramdisk=1 ramdisk_size l4lx : =16384 root=/dev/ram0 l4env_rd=drops.rd l4lx | The running microkernel does not have the l4lx | segments l4lx | feature enabled!
--Microkernel feature missing!---------------------------IP: 00636869 [l4lx.main] (d.02) jdb: ============== And I jumped to the jdb console.
Try compiling Fiasco microkernel with configuration option set: "Handle and preserve segments". This option is needed at least for L4Linux. It is needed for manipulating segment registers on IA32 architecture.
Dear all: Thanks for Valery's help , but it has some trouble for roottask loading module.
the following is the command for roottask in my menu.lst ============== module /common/roottask -symbols -lines task modname "loader" boot_priority 0xA0 allow_cli task modname "bmodfs" attached 5 modules ============== and this is the command for bmodfs ============== module /common/bmodfs module /common/cfg/l4linux26.cfg module /common/libloader.s.so module /common/libld-l4.s.so module /common/vmlinuz module /common/drops.rd ============== the following is the loader script for L4linux ======l4linux26.cfg======== #l4linux cfg
verbose 0 sleep 1 task "vmlinuz" "mem=64M load_ramdisk=1 ramdisk_size=16384 root=/dev/ram l4env_rd=drops.rd" allow_cli priority 0xA0 all_sects_writable allow_vga ======l4linux26.cfg========
And this is the error message ============== Roottask: Loading 11 modules. #05: loading "/common/dm_phys --isa=0x00800000" from [021ae000-02248cd8] to [01500000-01513cb7][01514000-0151e000] entry at 0005f07c via trampoline page code symbol at [1d58b000-1d590000] (20kB), line at [1d57d000-1d58b000] (56kB) #06: loading "/common/simple_ts -t 300" from [02249000-022963c8] to [01400000-01408dea][01409000-014185e8] entry at 00060074 via trampoline page code symbol at [1d57b000-1d57d000] (8kB), line at [1d573000-1d57b000] (32kB) #07: loading "/common/rtc" from [02297000-022c69c8] to [01080000-010845e0][01085000-0108a000] entry at 00061064 via trampoline page code symbol at [1d571000-1d573000] (8kB), line at [1d56c000-1d571000] (20kB) #08: loading "/common/l4io" from [022c7000-02506c35] to [00c20000-00c44ccd][00c45000-00cb3000] entry at 00062068 via trampoline page code symbol at [1d516000-1d56c000] (344kB), line at [1d4fc000-1d516000] (104kB) #09: loading "/common/bmodfs" from [02507000-025ae54b] to [01220000-01238089][01239000-01250000] passing module /common/cfg/l4linux26.cfg [025af000-025af0c7] passing module /common/libloader.s.so [025b0000-0264dea3] passing module /common/libld-l4.s.so [0264e000-026c7801] passing module /common/vmlinuz [026c8000-02a5b353] passing module /common/drops.rd [02a5c000-03a5c000] entry at 00063128 via trampoline page code symbol at [1d4f7000-1d4fc000] (20kB), line at [1d4e4000-1d4f7000] (76kB) #0a: loading "/common/loader --fprov=BMODFS l4linux26.cfg" from [03a5c000-03b3b10e] to [01300000-013287e9][01329000-01348000] entry at 00064984 via trampoline page code symbol at [1d4dd000-1d4e4000] (28kB), line at [1d4c3000-1d4dd000] (104kB)
ROOT: Sending ports 0070-0070 to task #07 ROOT: Sending ports 0080-0080 to task #07 ROOT: Sending ports 0071-0071 to task #07 *simplets| Configured for 300 tasks. *simplets| failed to register simple_ts! *simplets| *simplets| Exiting with -1 *rtc | Date:29.12.2008 Time 16:13:52 *DMphys | [5.0] dm_phys/server/src/main.c:447:main(): *DMphys | DMphys: can't register at nameserver ============== When I followed the step that adding "allow cli" this feature, it has trouble for registering some module to nameserver. Can someone give me some advice how to solve this problem? Thanks!!
Best Regards. Adam Chang
On Mon, Dec 29, 2008 at 1:49 PM, Valery V. Sedletski _valerius@mail.ru wrote:
On Mon, 29 Dec 2008 02:32:58 +0800, Adam Chang wrote:
Dear all: After I set "Handle and preserve segments" , It still has some problem there: The following is my error message: ==============
l4lx | ======> L4Linux 2.6 starting... <======== l4lx | Linux version 2.6.27-l4-svn131 (bread@Bread) ( l4lx | Linux version 2.6.27-l4-svn131 (bread@Bread) (gcc version 4.3.2 20081 l4lx : 105 (Red Hat 4.3.2-7) (GCC) ) #1 Sat Dec 13 14:15:36 CST 2008 l4lx | Binary name: vmlinuz l4lx | Linux kernel command line (5 args): mem=64M load_ramdisk=1 ramdisk_size l4lx : =16384 root=/dev/ram0 l4env_rd=drops.rd l4lx | Image: 00400000 - 007cf000 [3900 KiB]. l4lx | Areas: Text: 00400000 - 006dc000 [2928kB] (a bit longer) l4lx | Data: 006dc000 - 006fd698 [133kB] l4lx | Initdata: 00700000 - 0073e000 [248kB] l4lx | BSS: 00740000 - 007cefd0 [571kB] l4lx | l4lx_thread_create: Created thread 0d.03 (tamer0) l4lx | Tamer0 is 0d.03 l4lx | Using tamed mode. ROOT: Task #0c is not allowed to execute cli/sti loader | vmlinuz,#d: WARNING: Can't map I/O space, ROOT denies page loader | (result=00004000) loader | vmlinuz,#d: Not allowed to perform any I/O
This means that Loader server can't give Linux server required I/O pages and ROOT server can't give these pages to a Loader. For that, allow_cli parameter must be specified in ROOT server command line for loader, like this:
module $(L4)/roottask -symbols -lines task modname "loader" boot_priority 0xA0 allow_cli task modname "bmodfs" attached 7 modules
And, for Loader server, for L4linux these I/O pages to be given, you must specify allow_cli in the loader script for L4linux:
-----------cut l4linux.cfg:---------------- #l4linux cfg
verbose 0
modpath "(hd0,4)/boot/pns"
task "vmlinuz26" "mem=1800M video=l4fb:refreshsleep:200 l4fb.nograb=1 load_ramdisk=1 ramdisk_size=8192 root=/dev/sda9 l4env_rd=(hd0,4)/boot/lx/initrd.img panicblink=0 earlyprintk=1" allow_cli priority 0xA0
l4lx | Got 0 out of 65536 I/O ports l4lx | Connecting to l4io server. l4lx | l4env_linux_startup thread 4. l4lx | l4lx_thread_create: Created thread 0d.04 (cpu0) l4lx | main thread will be 0d.04 l4lx | l4env_register_pointer_section: addr=006dc000 size = 405504 l4lx | sec-w-init: virt: 0x006dc000 to 0x0073efff [396 KiB] l4lx | sec-w-init: Number of physical regions: 1, 405504 Bytes l4lx | sec-w-init: 1: Phys: 0x0139c000 to 0x013ff000, Size: 405504 l4lx | main thread: received startup message. l4lx | memory_setup: mem=64M load_ramdisk=1 ramdisk_size=16384 root=/dev/ram l4lx | l4env_rd=drops.rd l4lx | setup_l4env_memory: Forcing superpages for main memory l4lx | Main thread running, waiting... l4lx | Main memory size: 64MB l4lx | Got 2048kB of ISA DMA memory l4lx | ISA DMA memory: virt: 0x00800000 to 0x009fffff [2048KiB] l4lx | ISA DMA memory: Number of physical regions: 1, 2097152 Bytes l4lx | ISA DMA memory: 1: Phys: 0x0043a000 to 0x0063a000, Size: 2097152 l4lx | Main memory: virt: 0x00c00000 to 0x04bffff [65536KiB] l4lx | Main memory: Number of physical regions: 1, 67108864 Bytes l4lx | Main memory: 1: Phys: 0x19400000 to 0x1d400000, Size: 67108864 l4lx | Filling lower ptabs... l4lx | mainmem = c00000 l4lx | Done (1517 entries) l4lx | l4env_register_pointer_section: addr = 00740000 size = 585728 l4lx | end: virt: 0x00740000 to 0x007cefff [572 KiB] l4lx | end: Number of physical regions: 1, 585728 Bytes l4lx | end: 1: Phys: 0x00a47000 to 0x00ad6000, Size: 585728 l4lx | memory_setup done l4lx | l4env_rd_path: drops.rd l4lx | Loading: drops.rd l4lx | INITRD: Size of RAMdisk is 16384KiB l4lx | RAMdisk from 04c00000 to 05c00000 [16384KiB] l4lx | l4lx_thread_create: Created thread 0d.05 (timer.i0) l4lx | Jumping over 4x 'hit' at 0x70970f l4lx | panic: going to sleep forever, bye
============== It looks like to be kernel panic $B!$ (B I don't know how to solve it.Can someone give me advice how to solve this problem? Thanks! Best Regards. Adam Chang
On Fri, Dec 26, 2008 at 4:23 PM, Valery V. Sedletski _valerius@mail.ru wrote:
On Wed, 24 Dec 2008 17:28:12 +0800, Adam Chang wrote:
Dear all: I still have some problem on running L4Linux. I have succeeded install your version of GRUB in my VMware virtual disk. And the following is my menu.lst When I boot the virtual machine, first the machine start fiasco, sigma0 , roottask roottask loaded 13 modules $B!$ (Band finally I see these message while I failed running L4Linux
============== loader | vmlinuz: Starting application using libld-l4.s.so loader | vmlinuz,#d: Loading binary loader | vmlinuz,#d: Loading ldso loader | vmlinuz,#d: Starting libld-l4.s.so at 000138e0 via 0000cf40 l4lx | ======> L4Linux 2.6 starting... <======== l4lx | Linux version 2.6.27-l4-svn131 (bread@Bread) ( l4lx | Linux version 2.6.27-l4-svn131 (bread@Bread) (gcc version 4.3.2 20081 l4lx : 105 (Red Hat 4.3.2-7) (GCC) ) #1 Sat Dec 13 14:15:36 CST 2008 l4lx | Binary name: vmlinuz l4lx | Linux kernel command line (5 args): mem=64M load_ramdisk=1 ramdisk_size l4lx : =16384 root=/dev/ram0 l4env_rd=drops.rd l4lx | The running microkernel does not have the l4lx | segments l4lx | feature enabled!
--Microkernel feature missing!---------------------------IP: 00636869 [l4lx.main] (d.02) jdb: ============== And I jumped to the jdb console.
Try compiling Fiasco microkernel with configuration option set: "Handle and preserve segments". This option is needed at least for L4Linux. It is needed for manipulating segment registers on IA32 architecture.
On Mon, 29 Dec 2008 17:20:13 +0800, Adam Chang wrote:
Dear all: Thanks for Valery's help , but it has some trouble for roottask loading module.
And this is the error message
Roottask: Loading 11 modules. #05: loading "/common/dm_phys --isa=0x00800000" from [021ae000-02248cd8] to [01500000-01513cb7][01514000-0151e000] entry at 0005f07c via trampoline page code symbol at [1d58b000-1d590000] (20kB), line at [1d57d000-1d58b000] (56kB) #06: loading "/common/simple_ts -t 300" from [02249000-022963c8] to [01400000-01408dea][01409000-014185e8] entry at 00060074 via trampoline page code symbol at [1d57b000-1d57d000] (8kB), line at [1d573000-1d57b000] (32kB) #07: loading "/common/rtc" from [02297000-022c69c8] to [01080000-010845e0][01085000-0108a000] entry at 00061064 via trampoline page code symbol at [1d571000-1d573000] (8kB), line at [1d56c000-1d571000] (20kB) #08: loading "/common/l4io" from [022c7000-02506c35] to [00c20000-00c44ccd][00c45000-00cb3000] entry at 00062068 via trampoline page code symbol at [1d516000-1d56c000] (344kB), line at [1d4fc000-1d516000] (104kB) #09: loading "/common/bmodfs" from [02507000-025ae54b] to [01220000-01238089][01239000-01250000] passing module /common/cfg/l4linux26.cfg [025af000-025af0c7] passing module /common/libloader.s.so [025b0000-0264dea3] passing module /common/libld-l4.s.so [0264e000-026c7801] passing module /common/vmlinuz [026c8000-02a5b353] passing module /common/drops.rd [02a5c000-03a5c000] entry at 00063128 via trampoline page code symbol at [1d4f7000-1d4fc000] (20kB), line at [1d4e4000-1d4f7000] (76kB) #0a: loading "/common/loader --fprov=BMODFS l4linux26.cfg" from [03a5c000-03b3b10e] to [01300000-013287e9][01329000-01348000] entry at 00064984 via trampoline page code symbol at [1d4dd000-1d4e4000] (28kB), line at [1d4c3000-1d4dd000] (104kB)
ROOT: Sending ports 0070-0070 to task #07 ROOT: Sending ports 0080-0080 to task #07 ROOT: Sending ports 0071-0071 to task #07 *simplets| Configured for 300 tasks. *simplets| failed to register simple_ts! *simplets| *simplets| Exiting with -1 *rtc | Date:29.12.2008 Time 16:13:52 *DMphys | [5.0] dm_phys/server/src/main.c:447:main():
*DMphys | DMphys: can't register at nameserver
When I followed the step that adding "allow cli" this feature, it has trouble for registering some module to nameserver. Can someone give me some advice how to solve this problem? Thanks!!
Best Regards. Adam Chang
You specified the following roottask command line:
============== module /common/roottask -symbols -lines task modname "loader" boot_priority 0xA0 allow_cli task modname "bmodfs" attached 5 modules ==============
But, as I suspect, you specified -symbols and -lines parameters but not gave fiasco_symbols and fiasco_lines files (fiasco debug info) right after roottask as modules. And, because of that, names and log servers, which were right after roottask, were treated as Fiasco lines and symbols. So, log and names were not loaded by roottask, and hence, many errors occured because servers can't find names to register at.
So, I can advice you to remove -symbols and -lines parameters for roottask, or add fiasco_symbols and fiasco_lines files (they are in fiasco build directory and are called Lines and Symbols)
WBR, valery
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi,
Roottask: Loading 11 modules. #05: loading "/common/dm_phys --isa=0x00800000" from [021ae000-02248cd8] to [01500000-01513cb7][01514000-0151e000] entry at 0005f07c via trampoline page code symbol at [1d58b000-1d590000] (20kB), line at [1d57d000-1d58b000] (56kB) #06: loading "/common/simple_ts -t 300" from [02249000-022963c8] to [01400000-01408dea][01409000-014185e8] entry at 00060074 via trampoline page code symbol at [1d57b000-1d57d000] (8kB), line at [1d573000-1d57b000] (32kB) #07: loading "/common/rtc" from [02297000-022c69c8] to [01080000-010845e0][01085000-0108a000] entry at 00061064 via trampoline page code symbol at [1d571000-1d573000] (8kB), line at [1d56c000-1d571000] (20kB) #08: loading "/common/l4io" from [022c7000-02506c35] to [00c20000-00c44ccd][00c45000-00cb3000] entry at 00062068 via trampoline page code symbol at [1d516000-1d56c000] (344kB), line at [1d4fc000-1d516000] (104kB) #09: loading "/common/bmodfs" from [02507000-025ae54b] to [01220000-01238089][01239000-01250000] passing module /common/cfg/l4linux26.cfg [025af000-025af0c7] passing module /common/libloader.s.so [025b0000-0264dea3] passing module /common/libld-l4.s.so [0264e000-026c7801] passing module /common/vmlinuz [026c8000-02a5b353] passing module /common/drops.rd [02a5c000-03a5c000] entry at 00063128 via trampoline page code symbol at [1d4f7000-1d4fc000] (20kB), line at [1d4e4000-1d4f7000] (76kB) #0a: loading "/common/loader --fprov=BMODFS l4linux26.cfg" from [03a5c000-03b3b10e] to [01300000-013287e9][01329000-01348000] entry at 00064984 via trampoline page code symbol at [1d4dd000-1d4e4000] (28kB), line at [1d4c3000-1d4dd000] (104kB)
Could you show us the complete menu.lst entry you used for booting? I seem to be missing the names name service here.
Bjoern
Dear all: Thanks for Valery and Björn, the following is the memu.lst I used for booting:
=====Begin of menu.lst========= default=0 timeout=0 splashimage=/boot/grub/splash.xpm.gz hiddenmenu title L4Linux-2.6 kernel /common/bootstrap modaddr 0x02000000 module /common/fiasco -nokdb -serial_esc module /common/sigma0 module /common/roottask -symbols -lines task modname "loader" boot_priority 0xA0 allow_cli task modname "bmodfs" attached 5 modules module /common/Lines module /common/Symbols module /common/names module /common/log module /common/dm_phys --isa=0x00800000 module /common/simple_ts -t 300 module /common/rtc module /common/l4io module /common/bmodfs module /common/cfg/l4linux26.cfg module /common/libloader.s.so module /common/libld-l4.s.so module /common/vmlinuz module /common/drops.rd module /common/loader --fprov=BMODFS l4linux26.cfg =====End of menu.lst=========
And the following is the loader script for L4linux
=====Begin of l4linux26.cfg========= #l4linux cfg
verbose 0 sleep 1 task "vmlinuz" "mem=64M load_ramdisk=1 ramdisk_size=16384 root=/dev/ram l4env_rd=drops.rd" allow_cli priority 0xA0 all_sects_writable allow_vga =====End of l4linux26.cfg=========
When I boot Vmware,Something is strange,the following is booting message
============== l4lx | memory_setup done l4lx | l4env_rd_path: drops.rd l4lx | Loading: drops.rd l4lx | INITRD: Size of RAMdisk is 16384KiB l4lx | RAMdisk from 04c0000 to 05c00000 [16384KiB] l4lx | l4lx_thread_create: Created thread 0d.05 (timer.i0) l4lx | Jumping over 4x 'hit' at 0x70970f l4lx | idler0: utcb=0xbff00400 0d.04 l4lx | l4lx_thread_create: Created thread 0d.06 (idler0) l4lx | Starting L4FB via DOpE l4lx | DOpE is not registerd at names! l4lx | DOpE no available! l4lx | Starting L4FB via CON l4lx | CON not availble! l4lx | l4lx_irq_dev_startup_hw: Starting IRQ thread for IRQ 14 l4lx | l4lx_thread_create: Created thread 0d.07(IRQ14) l4lx | l4lx_irq_dev_startup_hw: Starting IRQ thread for IRQ 15 l4lx | l4lx_thread_create: Created thread 0d.08(IRQ15) l4lx | l4lx_irq_dev_startup_hw: Starting IRQ thread for IRQ 16 l4lx | l4lx_thread_create: Created thread 0d.09(IRQ16) ============== And that it just stop here and didn't run any more. I saw the message knowing that L4FB needs CON and DOpE So I modified menu.lst and l4linux26.cfg for using l4con and DOpE
=====Begin of menu.lst========= default=0 timeout=0 splashimage=/boot/grub/splash.xpm.gz hiddenmenu title L4Linux-2.6 kernel /common/bootstrap modaddr 0x02000000 module /common/fiasco -nokdb -serial_esc module /common/sigma0 module /common/roottask -symbols -lines task modname "loader" boot_priority 0xA0 allow_cli task modname "bmodfs" attached 7 modules module /common/Lines module /common/Symbols module /common/names module /common/log module /common/dm_phys --isa=0x00800000 module /common/simple_ts -t 300 module /common/rtc module /common/l4io module /common/con module /common/l4dope module /common/bmodfs module /common/cfg/l4linux26.cfg module /common/libloader.s.so module /common/libld-l4.s.so module /common/vmlinuz module /common/drops.rd module /common/proxygon module /common/run module /common/loader --fprov=BMODFS proxygon run l4linux26.cfg vbeset 0x117
=====End of menu.lst=========
And the following is the new loader script for L4linux
=====Begin of l4linux26.cfg========= #l4linux cfg
verbose 0 sleep 1 task "vmlinuz" "mem=64M video=l4fb:refreshsleep:200 l4fb.nograb=1 load_ramdisk=1 ramdisk_size=16384 root=/dev/ram l4env_rd=drops.rd" allow_cli priority 0xA0 all_sects_writable allow_vga =====End of l4linux26.cfg=========
When I boot VMware, I just saw full black screen after loading modules. And it didn't show anything, just full black screen. So the above is my current circumstance,can someone give me some advice how to solve this problem? Thanks!!
Best Regards. Adam Chang
On Tue, Dec 30, 2008 at 7:47 PM, Björn Döbel doebel@os.inf.tu-dresden.de wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi,
Could you show us the complete menu.lst entry you used for booting? I seem to be missing the names name service here.
Bjoern -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAklaClUACgkQP5ijxgQLUNmDYACghq1ptzzIB0nQg/TJCjOvBqI4 pNAAnAh5dFjtpIHYc77hMlikouRV/dkt =WQj6 -----END PGP SIGNATURE-----
On Wed Dec 31, 2008 at 02:02:32 +0800, Adam Chang wrote:
============== l4lx | memory_setup done l4lx | l4env_rd_path: drops.rd l4lx | Loading: drops.rd l4lx | INITRD: Size of RAMdisk is 16384KiB l4lx | RAMdisk from 04c0000 to 05c00000 [16384KiB] l4lx | l4lx_thread_create: Created thread 0d.05 (timer.i0) l4lx | Jumping over 4x 'hit' at 0x70970f l4lx | idler0: utcb=0xbff00400 0d.04 l4lx | l4lx_thread_create: Created thread 0d.06 (idler0) l4lx | Starting L4FB via DOpE l4lx | DOpE is not registerd at names! l4lx | DOpE no available! l4lx | Starting L4FB via CON l4lx | CON not availble! l4lx | l4lx_irq_dev_startup_hw: Starting IRQ thread for IRQ 14 l4lx | l4lx_thread_create: Created thread 0d.07(IRQ14) l4lx | l4lx_irq_dev_startup_hw: Starting IRQ thread for IRQ 15 l4lx | l4lx_thread_create: Created thread 0d.08(IRQ15) l4lx | l4lx_irq_dev_startup_hw: Starting IRQ thread for IRQ 16 l4lx | l4lx_thread_create: Created thread 0d.09(IRQ16) ============== And that it just stop here and didn't run any more. I saw the message knowing that L4FB needs CON and DOpE So I modified menu.lst and l4linux26.cfg for using l4con and DOpE
=====Begin of menu.lst========= default=0 timeout=0 splashimage=/boot/grub/splash.xpm.gz hiddenmenu title L4Linux-2.6 kernel /common/bootstrap modaddr 0x02000000 module /common/fiasco -nokdb -serial_esc module /common/sigma0 module /common/roottask -symbols -lines task modname "loader" boot_priority 0xA0 allow_cli task modname "bmodfs" attached 7 modules module /common/Lines module /common/Symbols module /common/names module /common/log module /common/dm_phys --isa=0x00800000 module /common/simple_ts -t 300 module /common/rtc module /common/l4io module /common/con module /common/l4dope module /common/bmodfs module /common/cfg/l4linux26.cfg module /common/libloader.s.so module /common/libld-l4.s.so module /common/vmlinuz module /common/drops.rd module /common/proxygon module /common/run module /common/loader --fprov=BMODFS proxygon run l4linux26.cfg vbeset 0x117
=====End of menu.lst=========
And the following is the new loader script for L4linux
=====Begin of l4linux26.cfg========= #l4linux cfg
verbose 0 sleep 1 task "vmlinuz" "mem=64M video=l4fb:refreshsleep:200 l4fb.nograb=1 load_ramdisk=1 ramdisk_size=16384 root=/dev/ram l4env_rd=drops.rd" allow_cli priority 0xA0 all_sects_writable allow_vga =====End of l4linux26.cfg=========
When I boot VMware, I just saw full black screen after loading modules. And it didn't show anything, just full black screen. So the above is my current circumstance,can someone give me some advice how to solve this problem?
Just need l4con or Dope, not both (xor!). So the screen goes black because GRUB is doing the vbeset and thus switching the video mode, which initially is black. And probably because dope and l4con step on each others feet while trying to get access to the video memory it will stop on boot-up. Just use one, either dope or con. BTW, it is good to have a (virtual) serial console to see the debug messages when using graphics because otherwise you don't really see anything if things go wrong.
Adam
Dear all: Thanks for Adam's advice. but there still has some problem. the following is my new menu.lst
=====Begin of menu.lst========= default=0 timeout=0 splashimage=/boot/grub/splash.xpm.gz hiddenmenu title L4Linux-2.6 kernel /common/bootstrap modaddr 0x02000000 module /common/fiasco -nokdb -serial_esc module /common/sigma0 module /common/roottask -symbols -lines task modname "loader" boot_priority 0xA0 allow_cli task modname "bmodfs" attached 7 modules module /common/Lines module /common/Symbols module /common/names module /common/log module /common/dm_phys --isa=0x00800000 module /common/simple_ts -t 300 module /common/rtc module /common/l4io module /common/l4dope module /common/bmodfs module /common/cfg/l4linux26.cfg module /common/libloader.s.so module /common/libld-l4.s.so module /common/vmlinuz module /common/drops.rd module /common/proxygon module /common/run module /common/loader --fprov=BMODFS proxygon run l4linux26.cfg vbeset 0x117 =====End of menu.lst=========
And the following is the loader script for L4linux
=====Begin of l4linux26.cfg========= #l4linux cfg
verbose 0 sleep 1 task "vmlinuz" "mem=64M video=l4fb:refreshsleep:200 load_ramdisk=1 ramdisk_size=16384 root=/dev/ram l4env_rd=drops.rd" allow_cli priority 0xA0 all_sects_writable allow_vga
=====End of l4linux26.cfg=========
It still black screen forever for using l4con. And for using Dope I can see the graphic environment and the console titled "proxygon", but when I clicked the windows and press L key, then the Vmware machine rebooted. sometimes the cursor can't be moved through my mouse. sometimes I saw only the background without console.It confused me. So the above is my current circumstance,can someone give me some advice how to solve this problem? Thanks!!
Best Regards. Adam Chang
On Wed, Dec 31, 2008 at 7:23 PM, Adam Lackorzynski adam@os.inf.tu-dresden.de wrote:
On Wed Dec 31, 2008 at 02:02:32 +0800, Adam Chang wrote:
============== l4lx | memory_setup done l4lx | l4env_rd_path: drops.rd l4lx | Loading: drops.rd l4lx | INITRD: Size of RAMdisk is 16384KiB l4lx | RAMdisk from 04c0000 to 05c00000 [16384KiB] l4lx | l4lx_thread_create: Created thread 0d.05 (timer.i0) l4lx | Jumping over 4x 'hit' at 0x70970f l4lx | idler0: utcb=0xbff00400 0d.04 l4lx | l4lx_thread_create: Created thread 0d.06 (idler0) l4lx | Starting L4FB via DOpE l4lx | DOpE is not registerd at names! l4lx | DOpE no available! l4lx | Starting L4FB via CON l4lx | CON not availble! l4lx | l4lx_irq_dev_startup_hw: Starting IRQ thread for IRQ 14 l4lx | l4lx_thread_create: Created thread 0d.07(IRQ14) l4lx | l4lx_irq_dev_startup_hw: Starting IRQ thread for IRQ 15 l4lx | l4lx_thread_create: Created thread 0d.08(IRQ15) l4lx | l4lx_irq_dev_startup_hw: Starting IRQ thread for IRQ 16 l4lx | l4lx_thread_create: Created thread 0d.09(IRQ16) ============== And that it just stop here and didn't run any more. I saw the message knowing that L4FB needs CON and DOpE So I modified menu.lst and l4linux26.cfg for using l4con and DOpE
=====Begin of menu.lst========= default=0 timeout=0 splashimage=/boot/grub/splash.xpm.gz hiddenmenu title L4Linux-2.6 kernel /common/bootstrap modaddr 0x02000000 module /common/fiasco -nokdb -serial_esc module /common/sigma0 module /common/roottask -symbols -lines task modname "loader" boot_priority 0xA0 allow_cli task modname "bmodfs" attached 7 modules module /common/Lines module /common/Symbols module /common/names module /common/log module /common/dm_phys --isa=0x00800000 module /common/simple_ts -t 300 module /common/rtc module /common/l4io module /common/con module /common/l4dope module /common/bmodfs module /common/cfg/l4linux26.cfg module /common/libloader.s.so module /common/libld-l4.s.so module /common/vmlinuz module /common/drops.rd module /common/proxygon module /common/run module /common/loader --fprov=BMODFS proxygon run l4linux26.cfg vbeset 0x117
=====End of menu.lst=========
And the following is the new loader script for L4linux
=====Begin of l4linux26.cfg========= #l4linux cfg
verbose 0 sleep 1 task "vmlinuz" "mem=64M video=l4fb:refreshsleep:200 l4fb.nograb=1 load_ramdisk=1 ramdisk_size=16384 root=/dev/ram l4env_rd=drops.rd" allow_cli priority 0xA0 all_sects_writable allow_vga =====End of l4linux26.cfg=========
When I boot VMware, I just saw full black screen after loading modules. And it didn't show anything, just full black screen. So the above is my current circumstance,can someone give me some advice how to solve this problem?
Just need l4con or Dope, not both (xor!). So the screen goes black because GRUB is doing the vbeset and thus switching the video mode, which initially is black. And probably because dope and l4con step on each others feet while trying to get access to the video memory it will stop on boot-up. Just use one, either dope or con. BTW, it is good to have a (virtual) serial console to see the debug messages when using graphics because otherwise you don't really see anything if things go wrong.
Adam
Adam adam@os.inf.tu-dresden.de Lackorzynski http://os.inf.tu-dresden.de/~adam/
l4-hackers mailing list l4-hackers@os.inf.tu-dresden.de http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers
On Mon Jan 05, 2009 at 12:21:38 +0800, Adam Chang wrote:
module /common/roottask -symbols -lines task modname "loader" boot_priority 0xA0 allow_cli task modname "bmodfs" attached 7 modules module /common/Lines module /common/Symbols
Those need to be in the same order as the options as the on the roottask command line, i.e. Lines and Symbols need to be the other way around.
module /common/names module /common/log module /common/dm_phys --isa=0x00800000 module /common/simple_ts -t 300 module /common/rtc module /common/l4io module /common/l4dope module /common/bmodfs module /common/cfg/l4linux26.cfg module /common/libloader.s.so module /common/libld-l4.s.so module /common/vmlinuz module /common/drops.rd module /common/proxygon module /common/run module /common/loader --fprov=BMODFS proxygon run l4linux26.cfg vbeset 0x117 =====End of menu.lst=========
And the following is the loader script for L4linux
=====Begin of l4linux26.cfg========= #l4linux cfg
verbose 0 sleep 1 task "vmlinuz" "mem=64M video=l4fb:refreshsleep:200 load_ramdisk=1 ramdisk_size=16384 root=/dev/ram l4env_rd=drops.rd" allow_cli priority 0xA0 all_sects_writable allow_vga
=====End of l4linux26.cfg=========
It still black screen forever for using l4con. And for using Dope I can see the graphic environment and the console titled "proxygon", but when I clicked the windows and press L key, then the Vmware machine rebooted. sometimes the cursor can't be moved through my
Ok, strange.
mouse. sometimes I saw only the background without console.It confused me. So the above is my current circumstance$B!$(Bcan someone give me some advice how to solve this problem?
You need to get the serial line out of the Vmware to see what's going on. Long back when I tried this this worked by switching the guest first serial to some named socket on the host. E.g. minicom can attach to this when using unix#/file/to/socket as a device name. Maybe qemu is a better choice here, since it's easy with 'qemu -serial stdio'.
Adam
Dear all: Now I add the serial port to VMware machine and connected the serial port to output file The following is the serial output while booting L4Linux ======Beginning of Serial Output===== Welcome to Fiasco(ia32)! DD-L4(v2)/ia32 microkernel (C) 1998-2008 TU Dresden Rev: r422 compiled with gcc 4.3.2 for Intel Pentium Pro []
Found VMware: Using (normal) fully nested PIC mode Using the PIT (i8254) on IRQ 0 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: GenuineIntel (6:F:B:0) Model: Core 2 (Merom) at 2194 MHz
128 Entry I TLB (4K pages) 272 Entry D TLB (4K pages) 48 Entry D TLB (4M pages) 32 KB L1 I Cache (8-way associative, 64 bytes per line) 32 KB L1 D Cache (8-way associative, 64 bytes per line) 4096 KB L2 U Cache (16-way associative, 64 bytes per line)
Freeing init code/data: 20480 bytes (5 pages)
Calibrating timer loop... done.
SIGMA0: Hello! KIP @ 1000 Found Fiasco: KIP syscalls: yes allocated 4KB for maintenance structures
Roottask.
Command line found: "/common/roottask -symbols -lines task modname "loader" \ boot_priority 0xA0 allow_cli task modname "bmodfs" attached 7 modules"
522814kB ( 510MB) total RAM (reported by bootloader) 473864kB ( 463MB) received RAM from Sigma0 31572kB ( 31MB) 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 10 11 ]
Roottask: Parsing command line config. configured task 0x00 (loader): vm_offs:0 irq:3ffff lmcp:ffff allow_cli:1 mcp:ff prio:a0 small:ff mods:0 configured task 0x00 (bmodfs): vm_offs:0 irq:3ffff lmcp:ffff allow_cli:0 mcp:ff prio:10 small:ff mods:7
Roottask: Loading 16 modules.
#05: loading "/common/names" from [02171000-021b2b5e] to [002d0000-002d6a57][002d7000-002e2000] entry at 00058368 via trampoline page code symbols at [1d5c3000-1d5c5000] (8kB), lines at [1d5bd000-1d5c3000] (24kB) #06: loading "/common/log" from [021b3000-021f0dbb] to [00400000-00406eea][00407000-00439808] entry at 00059364 via trampoline page code symbols at [1d5bb000-1d5bd000] (8kB), lines at [1d5b5000-1d5bb000] (24kB) #07: loading "/common/dm_phys --isa=0x00800000" from [021f1000-0228bcd8] to [01500000-01513cb7][01514000-0151e000] entry at 0005a37c via trampoline page code symbols at [1d5b0000-1d5b5000] (20kB), lines at [1d5a2000-1d5b0000] (56kB) #08: loading "/common/simple_ts -t 300" from [0228c000-022d93c8] to [01400000-01408dea][01409000-014185e8] entry at 0005b374 via trampoline page code symbols at [1d5a0000-1d5a2000] (8kB), lines at [1d598000-1d5a0000] (32kB) #09: loading "/common/rtc" from [022da000-023099c8] to [01080000-010845e0][01085000-0108a000] entry at 0005c364 via trampoline page code symbols at [1d596000-1d598000] (8kB), lines at [1d591000-1d596000] (20kB) #0a: loading "/common/l4io" from [0230a000-02549c35] to [00c20000-00c44ccd][00c45000-00cb3000] entry at 0005e368 via trampoline page code symbols at [1d53b000-1d591000] (344kB), lines at [1d521000-1d53b000] (104kB) #0b: loading "/common/l4dope" from [0254a000-026c06fa] to [01b00000-01b45859][01b46000-01b8b000] entry at 0005f368 via trampoline page code symbols at [1d513000-1d521000] (56kB), lines at [1d4e5000-1d513000] (184kB) #0c: loading "/common/bmodfs" from [026c1000-0276854b] to [01220000-01238089][01239000-01250000] passing module /common/cfg/l4linux26.cfg [ 02769000-027690e3 ] passing module /common/libloader.s.so [ 0276a000-02807ea3 ] passing module /common/libld-l4.s.so [ 02808000-02881801 ] passing module /common/vmlinuz [ 02882000-02c15353 ] passing module /common/drops.rd [ 02c16000-03c16000 ] passing module /common/proxygon [ 03c16000-03ce372f ] passing module /common/run [ 03ce4000-03d31588 ] entry at 00060468 via trampoline page code symbols at [1d4e0000-1d4e5000] (20kB), lines at [1d4cd000-1d4e0000] (76kB) #0d: loading "/common/loader --fprov=BMODFS proxygon run l4linux26.cfg" from [03d32000-03e1110e] to [01300000-013287e9][01329000-01348000] entry at 00061394 via trampoline page code symbols at [1d4c6000-1d4cd000] (28kB), lines at [1d4ac000-1d4c6000] (104kB) ROOT: Sending ports 0070-0070 to task #09 ROOT: Sending ports 0080-0080 to task #09 ROOT: Sending ports 0071-0071 to task #09 simplets| Configured for 300 tasks. rtc | Date:13.01.2009 Time:14:12:32 loader | Can't map tbuf status page io | Using platform configuration 'x86' ROOT: Sending ports 0cfb-0cfb to task #0a ROOT: Sending ports 0cf8-0cfb to task #0a ROOT: Sending ports 0cfe-0cff to task #0a io | PCI: Using configuration type 1 io | PCI: Probing PCI hardware io | PCI: Probing PCI hardware (bus 00) ROOT: Sending ports 0cfc-0cff to task #0a io | Transparent bridge - PCI device 15ad:0790 (VMware Inc) io | Limiting direct PCI/PCI transfers. io | 00000000-ffffffff : PCI mem io | d0000000-d7ffffff : VMware Inc [VMware SVGA II] PCI Display Adapter io | d8000000-d87fffff : VMware Inc [VMware SVGA II] PCI Display Adapter io | d8800000-d880001f : BusLogic BT-946C (BA80C30) [MultiMaster 10] io | d9300000-d93fffff : PCI Bus #03 io | d9400000-d94fffff : PCI Bus #0b io | d9500000-d95fffff : PCI Bus #13 io | d9600000-d96fffff : PCI Bus #1b io | d9700000-d97fffff : PCI Bus #04 io | d9800000-d98fffff : PCI Bus #0c io | d9900000-d99fffff : PCI Bus #14 io | d9a00000-d9afffff : PCI Bus #1c io | d9b00000-d9bfffff : PCI Bus #05 io | d9c00000-d9cfffff : PCI Bus #0d io | d9d00000-d9dfffff : PCI Bus #15 io | d9e00000-d9efffff : PCI Bus #1d io | d9f00000-d9ffffff : PCI Bus #06 io | da000000-da0fffff : PCI Bus #0e io | da100000-da1fffff : PCI Bus #16 io | da200000-da2fffff : PCI Bus #1e io | da300000-da3fffff : PCI Bus #07 io | da400000-da4fffff : PCI Bus #0f io | da500000-da5fffff : PCI Bus #17 io | da600000-da6fffff : PCI Bus #1f io | da700000-da7fffff : PCI Bus #08 io | da800000-da8fffff : PCI Bus #10 io | da900000-da9fffff : PCI Bus #18 io | daa000000-ffff : PCI IO io | 0cf8-0cff : PCI conf1 io | 1000-103f : Intel Corporation 82371AB/EB/MB PIIX4 ACPI io | 1040-105f : Intel Corporation 82371AB/EB/MB PIIX4 ACPI io | 1080-10bf : PCI device 15ad:0740 (VMware Inc) io | 10c0-10df : BusLogic BT-946C (BA80C30) [MultiMaster 10] io | 10e0-10ef : Intel Corporation 82371AB/EB/MB PIIX4 IDE io | 10f0-10ff : VMware Inc [VMware SVGA II] PCI Display Adapter io | 2000-207f : Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE] io | 2080-20bf : Ensoniq ES1371 [AudioPCI-97] io | 4000-4fff : PCI Bus #03 io | 5000-5fff : PCI Bus #0b io | 6000-6fff : PCI Bus #13 io | 7000-7fff : PCI Bus #1b io | 8000-8fff : PCI Bus #04 io | 9000-9fff : PCI Bus #0c io | a000-afff : PCI Bus #14 io | b000-bfff : PCI Bus #1c io | c000-cfff : PCI Bus #05 io | d000-dfff : PCI Bus #0d io | e000-efff : PCI Bus #15 io | f000-ffff : PCI Bus #1d bmodfs | Passed the following modules: bmodfs | module "/common/cfg/l4linux26.cfg" (1kB) bmodfs | module "/common/libloader.s.so" (632kB) bmodfs | module "/common/libld-l4.s.so" (487kB) bmodfs | module "/common/vmlinuz" (3661kB) bmodfs | module "/common/drops.rd" (16384kB) bmodfs | module "/common/proxygon" (822kB) bmodfs | module "/common/run" (310kB) io | Available IRQs=[ <!0> 1 <!2> 3 <!4> 5 6 7 8 9 a b c d e f 10 11 ] l4dope | L4INPUT native mode activated l4dope | L4INPUT: !!! W A R N I N G !!! l4dope | L4INPUT: Please, do not use Fiasco's "-esc" with L4INPUT. l4dope | L4INPUT: !!! W A R N I N G !!! ROOT: Sending ports 0060-006f to task #0a loader | "proxygon" is a valid binary image loader | proxygon: Starting sigma0-style application loader | proxygon: Loading binary loader | proxygon,#e: Entry at 00009c88 => 00b00000 loader | proxygon,#e: Started loader | "run" needs libld-l4.s.so loader | run: Starting application using libld-l4.s.so loader | run,#f: Loading binary loader | run,#f: Loading ldso loader | run,#f: Starting libld-l4.s.so at 000138e0 via 0000cc8c loader | sleeping for 1000 ms l4dope | serio: i8042 AUX port at 0x60,0x64 irq 12 l4dope | serio: i8042 KBD port at 0x60,0x64 irq 1 l4dope | input: ImPS/2 Generic Wheel Mouse on isa0060/serio1 l4dope | input: AT Translated Set 2 keyboard on isa0060/serio0 l4dope | input: PC Speaker l4dope | input: L4 input event injector l4dope | L4 input event injector: IRQ handler up l4dope | connect "ImPS/2 Generic Wheel Mouse", isa0060/serio1/input0 l4dope | connect "AT Translated Set 2 keyboard", isa0060/serio0/input0 l4dope | connect "PC Speaker", isa0061/input0 l4dope | connect "L4 input event injector", l4/sys l4dope | SharedMem(alloc): hl.raw=e0000, id=70, size=800 l4dope | SharedMem(get_adr): address = 0x6000 l4dope | SharedMem(alloc): hl.raw=e0000, id=71, size=800 l4dope | SharedMem(get_adr): address = 0x7000 l4dope | SharedMem(alloc): hl.raw=e0000, id=72, size=800 l4dope | SharedMem(get_adr): address = 0xd000 l4dope | SharedMem(alloc): hl.raw=e0000, id=73, size=800 l4dope | SharedMem(get_adr): address = 0xe000 l4dope | SharedMem(alloc): hl.raw=e0000, id=74, size=800 l4dope | SharedMem(get_adr): address = 0xf000 l4dope | SharedMem(alloc): hl.raw=e0000, id=75, size=800 l4dope | SharedMem(get_adr): address = 0x15000 l4dope | SharedMem(alloc): hl.raw=e0000, id=76, size=800 l4dope | SharedMem(get_adr): address = 0x16000 l4dope | SharedMem(alloc): hl.raw=e0000, id=7b, size=484 l4dope | SharedMem(get_adr): address = 0x20000 l4dope | dope: paddr=d0000000 size=131072KiB l4dope | Mapped video memory at d0000000 to 08000000+000000 [131072kB] via L4I l4dope : O l4dope | mapping: vaddr=0x8000000 size=134217728(0x8000000) offset=0(0x0) l4dope | Frame buffer base: 0x8000000 l4dope | Resolution: 1024x768x16 l4dope | Bytes per scanline: 2048 l4dope | Current video mode is 1024x768 red=11:5 green=5:6 blue=0:5 res=0:0 proxygon| calling dm_mem_allocate_named(4096, vc1 sbuf) l4dope | SharedMem(alloc): hl.raw=e0000, id=85, size=96000 l4dope | SharedMem(get_adr): address = 0x400000 run | contxt_init(): 640x480, cols:80, lines:40, sb_lines:1040 loader | vmlinuz: Starting application using libld-l4.s.so loader | vmlinuz,#10: Loading binary loader | vmlinuz,#10: Loading ldso loader | vmlinuz,#10: Starting libld-l4.s.so at 000138e0 via 0000cc24
DOUBLE FAULT! EAX=c01407d0 ESI=c0140000 DS=0023 EBX=c0400000 EDI=00000000 ES=0023 ECX=1fca0000 EBP=c01406e8 GS=0043 EDX=00000000 ESP=c04007cc SS=0010 ESP0=c0140800 EFL=00010087 EIP=f002ad96 CS=0008 Return reboots, "k" tries to enter the L4 kernel debugger... Rebooting... ======Ending of Serial Output===== The above is my current circumstance,can someone give me some advice how to solve this problem? Thanks!!
Best Regards. Adam Chang
On Tue Jan 13, 2009 at 15:30:54 +0800, Adam Chang wrote:
Now I add the serial port to VMware machine and connected the serial port to output file
Good.
The following is the serial output while booting L4Linux loader | vmlinuz,#10: Starting libld-l4.s.so at 000138e0 via 0000cc24
DOUBLE FAULT! EAX=c01407d0 ESI=c0140000 DS=0023 EBX=c0400000 EDI=00000000 ES=0023 ECX=1fca0000 EBP=c01406e8 GS=0043 EDX=00000000 ESP=c04007cc SS=0010 ESP0=c0140800 EFL=00010087 EIP=f002ad96 CS=0008 Return reboots, "k" tries to enter the L4 kernel debugger... Rebooting... ======Ending of Serial Output===== The above is my current circumstance$B!$(Bcan someone give me some advice how to solve this problem?
Whoops. This is a fault by the kernel itself. I guess it must have something to do with using VMware. Could you try some other VM solution, like QEmu, to see if things change?
Adam
Dear all: Now I use QEMU to boot Fiasco and L4linux , the configuration is as same as before, but there still has some problem. The following is the serial output while booting L4Linux ======Beginning of Serial Output===== Welcome to Fiasco(ia32)! DD-L4(v2)/ia32 microkernel (C) 1998-2008 TU Dresden Rev: r422 compiled with gcc 4.3.2 for Intel Pentium Pro []
Enabling special fully nested mode for PIC Using the PIT (i8254) on IRQ 0 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: GenuineIntel (6:3:3:0) Model: Pentium II (Klamath) at 2195 MHz
32 KB L1 I Cache (8-way associative, 64 bytes per line) 32 KB L1 D Cache (8-way associative, 64 bytes per line) 2048 KB L2 U Cache (8-way associative, 64 bytes per line)
Freeing init code/data: 20480 bytes (5 pages)
Calibrating timer loop... done. SIGMA0: Hello! KIP @ 1000 Found Fiasco: KIP syscalls: yes allocated 4KB for maintenance structures
Roottask. Command line found: "/common/roottask -symbols -lines task modname "loader" boot_priority 0xA0 allow_cli task modname "bmodfs" attached 7 modules"
130623kB ( 127MB) total RAM (reported by bootloader) 113340kB ( 111MB) received RAM from Sigma0 31276kB ( 31MB) 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 10 11 ]
Roottask: Parsing command line config. configured task 0x00 (loader): vm_offs:0 irq:3ffff lmcp:ffff allow_cli:1 mcp:ff prio:a0 small:ff mods:0 configured task 0x00 (bmodfs): vm_offs:0 irq:3ffff lmcp:ffff allow_cli:0 mcp:ff prio:10 small:ff mods:7
Roottask: Loading 16 modules. #05: loading "/common/names" from [02171000-021b2b5e] to [002d0000-002d6a57][002d7000-002e2000] entry at 00058368 via trampoline page code symbols at [07566000-07568000] (8kB), lines at [07560000-07566000] (24kB) #06: loading "/common/log" from [021b3000-021f0dbb] to [00400000-00406eea][00407000-00439808] entry at 00059364 via trampoline page code symbols at [0755e000-07560000] (8kB), lines at [07558000-0755e000] (24kB) #07: loading "/common/dm_phys --isa=0x00800000" from [021f1000-0228bcd8] to [01500000-01513cb7][01514000-0151e000] entry at 0005a37c via trampoline page code symbols at [07553000-07558000] (20kB), lines at [07545000-07553000] (56kB) #08: loading "/common/simple_ts -t 300" from [0228c000-022d93c8] to [01400000-01408dea][01409000-014185e8] entry at 0005b374 via trampoline page code symbols at [07543000-07545000] (8kB), lines at [0753b000-07543000] (32kB) #09: loading "/common/rtc" from [022da000-023099c8] to [01080000-010845e0][01085000-0108a000] entry at 0005c364 via trampoline page code symbols at [07539000-0753b000] (8kB), lines at [07534000-07539000] (20kB) #0a: loading "/common/l4io" from [0230a000-02549c35] to [00c20000-00c44ccd][00c45000-00cb3000] entry at 0005e368 via trampoline page code symbols at [074de000-07534000] (344kB), lines at [074c4000-074de000] (104kB) #0b: loading "/common/l4dope" from [0254a000-026c06fa] to [01b00000-01b45859][01b46000-01b8b000] entry at 0005f368 via trampoline page code symbols at [074b6000-074c4000] (56kB), lines at [07488000-074b6000] (184kB) #0c: loading "/common/bmodfs" from [026c1000-0276854b] to [01220000-01238089][01239000-01250000] passing module /common/cfg/l4linux26.cfg [ 02769000-027690e3 ] passing module /common/libloader.s.so [ 0276a000-02807ea3 ] passing module /common/libld-l4.s.so [ 02808000-02881801 ] passing module /common/vmlinuz [ 02882000-02bcb3e0 ] passing module /common/drops.rd [ 02bcc000-03bcc000 ] passing module /common/proxygon [ 03bcc000-03c9972f ] passing module /common/run [ 03c9a000-03ce7588 ] entry at 00060468 via trampoline page code symbols at [07483000-07488000] (20kB), lines at [07470000-07483000] (76kB) #0d: loading "/common/loader --fprov=BMODFS proxygon run l4linux26.cfg" from [03ce8000-03dc710e] to [01300000-013287e9][01329000-01348000] entry at 00061394 via trampoline page code symbols at [07469000-07470000] (28kB), lines at [0744f000-07469000] (104kB)
ROOT: Sending ports 0070-0070 to task #09 ROOT: Sending ports 0080-0080 to task #09 ROOT: Sending ports 0071-0071 to task #09 simplets| Configured for 300 tasks. rtc | Date:04.02.2009 Time:06:29:43 bmodfs | Passed the following modules: bmodfs | module "/common/cfg/l4linux26.cfg" (1kB) bmodfs | module "/common/libloader.s.so" (632kB) bmodfs | module "/common/libld-l4.s.so" (487kB) bmodfs | module "/common/vmlinuz" (3365kB) bmodfs | module "/common/drops.rd" (16384kB) bmodfs | module "/common/proxygon" (822kB) bmodfs | module "/common/run" (310kB) io | Using platform configuration 'x86' ROOT: Sending ports 0cfb-0cfb to task #0a ROOT: Sending ports 0cf8-0cfb to task #0a ROOT: Sending ports 0cfe-0cff to task #0a io | PCI: Using configuration type 1 io | PCI: Probing PCI hardware io | PCI: Probing PCI hardware (bus 00) ROOT: Sending ports 0cfc-0cff to task #0a io | PCI: PIIX3: Enabling Passive Release on 00:01.0 io | Limiting direct PCI/PCI transfers. io | Activating ISA DMA hang workarounds. io | 00000000-ffffffff : PCI mem io | f0000000-f1ffffff : Cirrus Logic GD 5446 io | f2000000-f2000fff : Cirrus Logic GD 5446 io | 0000-ffff : PCI IO io | 0cf8-0cff : PCI conf1 io | b000-b03f : Intel Corporation 82371AB/EB/MB PIIX4 ACPI io | b100-b11f : Intel Corporation 82371AB/EB/MB PIIX4 ACPI io | c000-c00f : Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II] io | c100-c1ff : Realtek Semiconductor Co., Ltd. RTL-8029(AS) io | Available IRQs=[ <!0> 1 <!2> 3 <!4> 5 6 7 8 9 a b c d e f 10 11 ] loader | Can't map tbuf status page loader | "proxygon" is a valid binary image loader | proxygon: Starting sigma0-style application loader | proxygon: Loading binary loader | proxygon,#e: Entry at 00009c88 => 00b00000 loader | proxygon,#e: Started loader | "run" needs libld-l4.s.so loader | run: Starting application using libld-l4.s.so loader | run,#f: Loading binary loader | run,#f: Loading ldso loader | run,#f: Starting libld-l4.s.so at 000138e0 via 0000cc8c loader | sleeping for 1000 ms l4dope | L4INPUT native mode activated l4dope | L4INPUT: !!! W A R N I N G !!! l4dope | L4INPUT: Please, do not use Fiasco's "-esc" with L4INPUT. l4dope | L4INPUT: !!! W A R N I N G !!! ROOT: Sending ports 0060-006f to task #0a l4dope | Failed to disable AUX port, but continuing anyway... Is this a SiS? l4dope | If AUX port is really absent please use the 'i8042.noaux' option. l4dope | serio: i8042 KBD port at 0x60,0x64 irq 1 l4dope | input: AT Raw Set 2 keyboard on isa0060/serio0 l4dope | input: PC Speaker l4dope | input: L4 input event injector l4dope | L4 input event injector: IRQ handler up l4dope | connect "AT Raw Set 2 keyboard", isa0060/serio0/input0 l4dope | connect "PC Speaker", isa0061/input0 l4dope | connect "L4 input event injector", l4/sys l4dope | SharedMem(alloc): hl.raw=e0000, id=58, size=800 l4dope | SharedMem(get_adr): address = 0x5000 l4dope | SharedMem(alloc): hl.raw=e0000, id=59, size=800 l4dope | SharedMem(get_adr): address = 0x6000 l4dope | SharedMem(alloc): hl.raw=e0000, id=5a, size=800 l4dope | SharedMem(get_adr): address = 0x7000 l4dope | SharedMem(alloc): hl.raw=e0000, id=5b, size=800 l4dope | SharedMem(get_adr): address = 0xd000 l4dope | SharedMem(alloc): hl.raw=e0000, id=5c, size=800 l4dope | SharedMem(get_adr): address = 0xe000 l4dope | SharedMem(alloc): hl.raw=e0000, id=5d, size=800 l4dope | SharedMem(get_adr): address = 0xf000 l4dope | SharedMem(alloc): hl.raw=e0000, id=5f, size=800 l4dope | SharedMem(get_adr): address = 0x16000 l4dope | SharedMem(alloc): hl.raw=e0000, id=64, size=484 l4dope | SharedMem(get_adr): address = 0x20000 l4dope | dope: paddr=f0000000 size=4096KiB l4dope | Mapped video memory at f0000000 to 00400000+000000 [4096kB] via L4IO l4dope | mapping: vaddr=0x400000 size=4194304(0x400000) offset=0(0x0) l4dope | Frame buffer base: 0x400000 l4dope | Resolution: 1024x768x16 l4dope | Bytes per scanline: 2048 l4dope | Current video mode is 1024x768 red=11:5 green=5:6 blue=0:5 res=0:0 loader | Invalid interpreter found: /usr/lib/libc.so.1 loader | vmlinuz: Starting sigma0-style application loader | vmlinuz: Loading binary loader | vmlinuz,#10: Entry at 00009c24 => 003ff000 loader | vmlinuz,#10: Started loader | vmlinuz,#10: Double PF (r) at 00008000 eip 0040d715 (10.00)
--Double PF, 'g' for kill--------------------------------IP: 01304395 [loader.pager] (d.03) jdb:
======Ending of Serial Output=====
The above is my current circumstance,can someone give me some advice how to solve this problem? Thanks!!
Best Regards. Adam Chang
On Fri Feb 06, 2009 at 10:16:51 +0800, Adam Chang wrote:
loader | vmlinuz,#10: Entry at 00009c24 => 003ff000 loader | vmlinuz,#10: Started loader | vmlinuz,#10: Double PF (r) at 00008000 eip 0040d715 (10.00)
--Double PF, 'g' for kill--------------------------------IP: 01304395 [loader.pager] (d.03) jdb:
======Ending of Serial Output=====
The above is my current circumstance$B!$(Bcan someone give me some advice how to solve this problem?
I'd like to know what's at 0x0040d715 in the vmlinux binary (objdump -ld). Otherwise it's hard to tell.
Adam
Hi Adam,
Adam Chang wrote:
Dear all: Now I add the serial port to VMware machine and connected the serial port to output file The following is the serial output while booting L4Linux ======Beginning of Serial Output===== Welcome to Fiasco(ia32)! DD-L4(v2)/ia32 microkernel (C) 1998-2008 TU Dresden Rev: r422 compiled with gcc 4.3.2 for Intel Pentium Pro []
... ... ...
run | contxt_init(): 640x480, cols:80, lines:40, sb_lines:1040 loader | vmlinuz: Starting application using libld-l4.s.so loader | vmlinuz,#10: Loading binary loader | vmlinuz,#10: Loading ldso loader | vmlinuz,#10: Starting libld-l4.s.so at 000138e0 via 0000cc24
DOUBLE FAULT!
I'm not L4 hacker, but recently I've built and ran L4Linux on raw hardware (586) with dope. When I saw your message I tried to run the same binaries on VMWare and It works! Try to use my GRUB config (don't forget to fix the paths) and L4linux config file. They are given below.
Here is some of my info:
VMware version: 6.5 Host OS: other 2.6.x Linux
GCC version: 4.1.2
L4Env config: default build command: make oldconfig O=/path-to-buildu-dir && make O=/path-to-buildu-dir
Fiasco config: default + 'Handle and preserve segments' option was enabled CPU type: Intel Pentium / AMD k5 build command: cd kernel/fiasco && make BUILDDIR=/path-to-buildk-dir cd /path-to-buildk-dir && make menuconfig make
L4Linux config: x86-native_defconfig + L4 build directory was set to '/path-to-buildu-dir' build command: cd l4linux-2.6 && make x86-native_defconfig && make menuconfig make
GRUB: I used my 0.97 GRUB, the only thing that i did - I overwrote /boot/stage2 file with the patched one
GRUB config: title L4Linux-2.6 kernel /boot/L4Linux/bootstrap modaddr 0x02000000 module /boot/L4Linux/main -nokdb -serial_esc -comspeed 115200 -comport 1 module /boot/L4Linux/sigma0 module /boot/L4Linux/roottask task modname "loader" allow_cli task modname "bmodfs" attached 5 modules module /boot/L4Linux/names module /boot/L4Linux/log module /boot/L4Linux/dm_phys --isa=0x00800000 module /boot/L4Linux/simple_ts -t 300 module /boot/L4Linux/rtc module /boot/L4Linux/l4io module /boot/L4Linux/l4dope module /boot/L4Linux/bmodfs module /boot/L4Linux/l4linux26.cfg module /boot/L4Linux/libloader.s.so module /boot/L4Linux/libld-l4.s.so module /boot/L4Linux/vmlinuz module /boot/L4Linux/drops.rd module /boot/L4Linux/loader --fprov=BMODFS l4linux26.cfg vbeset 0x117
l4 config: task "vmlinuz" "mem=64M load_ramdisk=1 ramdisk_size=16384 root=/dev/ram l4env_rd=drops.rd" all_sects_writable allow_vga allow_cli
Hope it will help. Best regards, Alexander Valitov
l4-hackers@os.inf.tu-dresden.de