Hello
I am trying to compile Fiasco.OC and L4Re on amd64, but the kernel fails to boot for some reason.
Steps taken: 1) Checked out source from SVN 2) Compiled fiasco, make config, set amd64, make 3) Compiled L4Re (and set to amd64) 4) Created hello.iso with make grub1iso E=hello MODULE_SEARCH_PATH=bin/amd64_K8:~/l4r4/fiasco-build 5) Try to boot it with qemu-system-x86_64 -cdrom images/hello.iso -no-reboot -no-shutdown -cpu phenom 6) Fiasco crashes with http://aoi.yi.org/~taruti/crash.png
Here is info on the repository:
hydra:fiasco$ svn info Path: . URL: http://svn.tudos.org/repos/oc/tudos/trunk/kernel/fiasco Repository Root: http://svn.tudos.org/repos/oc/tudos Repository UUID: d050ee49-bd90-4346-b210-929a50b99cfc Revision: 11 Node Kind: directory Schedule: normal Depth: empty Last Changed Author: l4check Last Changed Rev: 11 Last Changed Date: 2010-07-07 12:49:37 +0300 (Wed, 07 Jul 2010)
How do I debug this further?
- Taru Karttunen
Hi,
On Sun Aug 01, 2010 at 18:01:55 +0300, Taru Karttunen wrote:
I am trying to compile Fiasco.OC and L4Re on amd64, but the kernel fails to boot for some reason.
Steps taken:
- Checked out source from SVN
- Compiled fiasco, make config, set amd64, make
- Compiled L4Re (and set to amd64)
- Created hello.iso with make grub1iso E=hello MODULE_SEARCH_PATH=bin/amd64_K8:~/l4r4/fiasco-build
- Try to boot it with qemu-system-x86_64 -cdrom images/hello.iso -no-reboot -no-shutdown -cpu phenom
- Fiasco crashes with http://aoi.yi.org/~taruti/crash.png
How do I debug this further?
This error means that an exception is happening in the boot-up of Fiasco. Which distribution/compiler are you using? Did you chose any specific CPU variant in the Fiasco configuration? Adding -d int,in_asm to Qemu should also show where it happens and help to understand what's happening.
Adam
On Sun, 1 Aug 2010 22:05:09 +0200, Adam Lackorzynski adam@os.inf.tu-dresden.de wrote:
This error means that an exception is happening in the boot-up of Fiasco. Which distribution/compiler are you using? Did you chose any specific CPU variant in the Fiasco configuration? Adding -d int,in_asm to Qemu should also show where it happens and help to understand what's happening.
Arch linux, GCC/G++ 4.5.0 with multilib support.
There is only one cpu variant possible with AMD64.
Fiasco config: http://aoi.yi.org/~taruti/fiascoconfig.txt Qemu log: http://aoi.yi.org/~taruti/qemu.log.bz2
- Taru Karttunen
Hi,
On Sun Aug 01, 2010 at 23:30:21 +0300, Taru Karttunen wrote:
On Sun, 1 Aug 2010 22:05:09 +0200, Adam Lackorzynski adam@os.inf.tu-dresden.de wrote:
This error means that an exception is happening in the boot-up of Fiasco. Which distribution/compiler are you using? Did you chose any specific CPU variant in the Fiasco configuration? Adding -d int,in_asm to Qemu should also show where it happens and help to understand what's happening.
Arch linux, GCC/G++ 4.5.0 with multilib support.
GCC 4.5 is doing something concerning inlining different, which in combination with the linker had some unfortunate results. It's fixed now.
Adam
l4-hackers@os.inf.tu-dresden.de