Genode (x86_64) reboots on Thinkpad T420

Valery V. Sedletski _valerius at mail.ru
Thu Mar 7 23:10:30 CET 2019


Hi, Genodians!

Some days ago, I ordered a Thinkpad T420, which is listed in Genode 
unofficial HCL by cnuke. I set up Genode booting remotely via PXE+Intel 
AMT. It boots the  system image (x86_32 arch) just fine on real 
hardware. But if I try booting an x86_64 image, it reboots on most 
kernels, or traps on Fiasco.OC. Last messages in the log I see are from 
"bender" [1]. This is when booting using NOVA kernel. If I try Fiasco.OC 
as a kernel ([2]), It goes until "bootstrap", and last I see in the log 
are "bootstrap" messages, until it attempts to start the kernel. And at 
the same time, I see the following trap screen from bootstrap: [3]. All 
registers are zeroes, except a few ones. So, with "foc" kernel, I see a 
Trap #0 (division by zero). In case of "NOVA" and "base-hw" kernel, it 
does not trap, but just reboots. I tried to remove the "novga" parameter 
from NOVA kernel, but I still see a blank screen.

BIOS memory map is here: [4], [5]

Looking at the memory map, I don't see any memory holes at the same 
place where modules were loaded.

Any ideas?

[1] Boot log with NOVA kernel: sculpt64-nova.log (attached)
[2] Boot log with Fiasco.OC kernel: sculpt64-foc.log (attached)
[3] A trap screen from bootstrap, Fiasco.OC kernel: 
ftp://osfree.org/upload/img/20190307_004.jpg
[4] BIOS memory map (part 1): ftp://osfree.org/upload/img/20190307_001.jpg
[5] BIOS memory map (part 2): ftp://osfree.org/upload/img/20190307_002.jpg

WBR,
valery
-------------- next part --------------
including /mnt/os2l/src/l4/genode/tool/run/power_on/amt
including /mnt/os2l/src/l4/genode/tool/run/load/tftp
including /mnt/os2l/src/l4/genode/tool/run/log/amt
including /mnt/os2l/src/l4/genode/tool/run/boot_dir/nova
including /mnt/os2l/src/l4/genode/repos/gems/run/sculpt_test.run
checking configuration syntax
  CHECK init
using 'core-nova.o' as 'core.o'
wait 20 seconds for power on
Test for working AMT SOL redirection service ...
spawn /bin/sh -c amtterm -u admin -v 172.30.0.140
amtterm: NONE -> CONNECT (connection to host)
ipv4 172.30.0.140 [172.30.0.140] 16994 open
amtterm: CONNECT -> INIT (redirection initialization)
amtterm: INIT -> AUTH (session authentication)
amtterm: AUTH -> INIT_SOL (serial-over-lan initialization)
amtterm: INIT_SOL -> RUN_SOL (serial-over-lan active)
serial-over-lan redirection ok
connected now, use ^] to escape
Bender: Hello World.

Need 03a02000 bytes to relocate modules.

Relocating to 7c5fe000: 

Copying 60658416 bytes...

Copying 162784 bytes...



The system is powered off.
The system is powered on.
-------------- next part --------------
including /mnt/os2l/src/l4/genode/tool/run/power_on/amt
including /mnt/os2l/src/l4/genode/tool/run/load/tftp
including /mnt/os2l/src/l4/genode/tool/run/log/amt
including /mnt/os2l/src/l4/genode/tool/run/boot_dir/foc
including /mnt/os2l/src/l4/genode/repos/gems/run/sculpt_test.run
checking configuration syntax
  CHECK init
using 'core-foc.o' as 'core.o'
wait 20 seconds for power on
Test for working AMT SOL redirection service ...
spawn /bin/sh -c amtterm -u admin -v 172.30.0.140
amtterm: NONE -> CONNECT (connection to host)
ipv4 172.30.0.140 [172.30.0.140] 16994 open
amtterm: CONNECT -> INIT (redirection initialization)
amtterm: INIT -> AUTH (session authentication)
amtterm: AUTH -> INIT_SOL (serial-over-lan initialization)
amtterm: INIT_SOL -> RUN_SOL (serial-over-lan active)
serial-over-lan redirection ok
connected now, use ^] to escape
Bender: Hello World.

Need 03b7a000 bytes to relocate modules.

Relocating to 7c486000: 

Copying 60302128 bytes...

Copying 1053256 bytes...

Copying 821624 bytes...

Copying 178064 bytes...





L4 Bootstrapper

  Build: #1 Mon Mar  4 20:30:50 MSK 2019, x86-64, 6.3.0

  RAM: 0000000000000000 - 000000000009d7ff: 630kB

  RAM: 0000000000100000 - 000000001fffffff: 523264kB

  RAM: 0000000020200000 - 000000003fffffff: 522240kB

  RAM: 0000000040200000 - 00000000d3d9ffff: 2420352kB

  RAM: 0000000100000000 - 000000041e5fffff: 13080576kB

  Total RAM: 16159MB

  Scanning /boot/kernel -serial_esc

  Scanning /boot/sigma0

  Scanning /boot/image.elf

  need 216 bytes to copy MBI

  reserved 216 bytes at 0x2000

  Moving up to 3 modules behind 0

  moving module 00 { 7c4b2000-7c57a977 } -> { 4b66000-4c2e977 } [821624]

  moving module 01 { 7c57b000-7c67c247 } -> { 4c2f000-4d30247 } [1053256]

  moving module 02 { 7c67d000-7ffff32f } -> { 4d31000-86b332f } [60302128]

  Loading /boot/kernel

  Loading /boot/sigma0

  Loading /boot/image.elf

  find kernel info page...

  found kernel info page (via ELF) at 400000

Regions of list 'regions'

    [        0,       fff] {     1000} Arch   BIOS

    [     1000,      1fff] {     1000} Kern   /boot/kernel

    [     2000,      20d7] {       d8} Root   mbi_rt

    [    9d800,     9ffff] {     2800} Arch   BIOS

    [    e0000,     fffff] {    20000} Arch   BIOS

    [   100000,    1102ff] {    10300} Sigma0 /boot/sigma0

    [   2d0400,    2e10b7] {    10cb8} Boot   bootstrap

    [   300000,    34afff] {    4b000} Kern   /boot/kernel

    [   400000,    4d2fff] {    d3000} Kern   /boot/kernel

    [  1012000,   1017fff] {     6000} Boot   bootstrap-ptab64

    [  1100000,   4b65fff] {  3a66000} Root   /boot/image.elf

    [ 20000000,  201fffff] {   200000} Arch   BIOS

    [ 40000000,  401fffff] {   200000} Arch   BIOS

    [ d3da0000,  dae9efff] {  70ff000} Arch   BIOS

    [ dae9f000,  daf9efff] {   100000} Arch   BIOS

    [ daf9f000,  daffefff] {    60000} Arch   BIOS

    [ dafff000,  df9fffff] {  4a01000} Arch   BIOS

    [ f8000000,  fbffffff] {  4000000} Arch   BIOS

    [ fec00000,  fec00fff] {     1000} Arch   BIOS

    [ fed08000,  fed08fff] {     1000} Arch   BIOS

    [ fed10000,  fed19fff] {     a000} Arch   BIOS

    [ fed1c000,  fed1ffff] {     4000} Arch   BIOS

    [ fee00000,  fee00fff] {     1000} Arch   BIOS

    [ ffd20000,  ffffffff] {   2e0000} Arch   BIOS

    [41e600000, 41effffff] {   a00000} Arch   BIOS

  found kernel options (via ELF) at 401000

  Sigma0 config    ip:0000000000100460 sp:0000000000000000

  Roottask config  ip:0000000001100018 sp:0000000000000000

  Starting kernel /boot/kernel at 0000000000300970

Expect: 'interact' received 'strg+c' and was cancelled


More information about the users mailing list