Hi everyone,
This weekend I tried to upgrade my Lenovo x250 Turmvilla system to Genode 16.05 using Norman’s turmvilla-16.05 topic branch. I built the turmvilla.run script as is, without modifications. In contrary to the turmvilla-16.02 branch, I do encounter some problems with turmvilla-16.05.
During bootup the system stalls displaying the “Copying xxx bytes” messages.
The log is inserted below. I see a lot of similarities with parfito’s HP logs for the Heeselicht scenario (https://github.com/genodelabs/genode/issues/2018), but in my case the new acpica component reports "AcpiOsMapMemory:271 called - dead”. At fist sight this function seem implemented (in acpica/iomem.cc).
Based on the log below, can anyone hint me at what might be the problem?
Met vriendelijke groet / kind regards,
Martijn Verschoor
Cyber Security Labs B.V. | Gooimeer 6-31 | 1411 DD Naarden | The Netherlands +31 35 631 3253 (office) | +31 616 014 087 (mobile)
Bender: Hello World. Need 05156000 bytes to relocate modules. Relocating to 7aeaa000: Copying 2351636 bytes... Copying 1384500 bytes... Copying 1180356 bytes... Copying 1049284 bytes... Copying 679436 bytes... Copying 677296 bytes... Copying 454608 bytes... Copying 506512 bytes... Copying 954224 bytes... Copying 456904 bytes... Copying 51200 bytes... Copying 155200 bytes... Copying 879773 bytes... Copying 582 bytes... Copying 19768 bytes... Copying 90776 bytes... Copying 171112 bytes... Copying 448424 bytes... Copying 88464 bytes... Copying 1587768 bytes... Copying 433200 bytes... Copying 461040 bytes... Copying 465592 bytes... Copying 450648 bytes... Copying 65456 bytes... Copying 1710600 bytes... Copying 451072 bytes... Copying 210128 bytes... Copying 452544 bytes... Copying 1965712 bytes... Copying 33824 bytes... Copying 442336 bytes... Copying 676760 bytes... Copying 65456 bytes... Copying 412312 bytes... Copying 79528 bytes... Copying 440472 bytes... Copying 358192 bytes... Copying 563200 bytes... Copying 1290240 bytes... Copying 706560 bytes... Copying 20008960 bytes... Copying 8581120 bytes... Copying 2887680 bytes... Copying 339216 bytes... Copying 99584 bytes... Copying 454800 bytes... Copying 534840 bytes... Copying 445032 bytes... Copying 479168 bytes... Copying 529472 bytes... Copying 504488 bytes... Copying 443312 bytes... Copying 461600 bytes... Copying 460888 bytes... Copying 579456 bytes... Copying 583848 bytes... Copying 432184 bytes... Copying 425832 bytes... Copying 402904 bytes... Copying 568120 bytes... Copying 434104 bytes... Copying 1285616 bytes... Copying 470480 bytes... Copying 147944 bytes... Copying 8348432 bytes... Copying 126408 bytes... Copying 1228152 bytes... Copying 1882160 bytes... Copying 912112 bytes... Copying 946664 bytes... Copying 66000 bytes... Copying 28904 bytes... Copying 35384 bytes... Copying 165360 bytes... Copying 1130200 bytes... Copying 703080 bytes... Copying 542000 bytes... Copying 452408 bytes... Copying 421632 bytes... Copying 483280 bytes... Copying 31915 bytes... Copying 997480 bytes... Copying 139096 bytes...
NOVA Microhypervisor v7-a1dc2f7 (x86_64): Jul 1 2016 16:19:09 [gcc 4.9.2]
[ 0] CORE:0:0:0 6:3d:4:6 [21] Intel(R) Core(TM) i5-5300U CPU @ 2.30GHz [ 1] CORE:0:0:1 6:3d:4:6 [21] Intel(R) Core(TM) i5-5300U CPU @ 2.30GHz [ 3] CORE:0:1:1 6:3d:4:6 [21] Intel(R) Core(TM) i5-5300U CPU @ 2.30GHz [ 2] CORE:0:1:0 6:3d:4:6 [21] Intel(R) Core(TM) i5-5300U CPU @ 2.30GHz [ 0] disabling super pages for DMAR core config init timer part_blk ahci_drv ld.lib.so libc.lib.so libm.lib.so pthread.lib.so libc_pipe.lib.so libc_terminal.lib.so libiconv.lib.so stdcxx.lib.so rump.lib.so rump_fs.lib.so rump_fs virtualbox qemu-usb.lib.so ps2_drv usb_drv acpi_drv platform_drv device_pd rtc_drv input_merger nic_drv nitpicker vbox_pointer nit_fb report_rom wm decorator floating_window_layouter noux terminal ram_fs libc_noux.lib.so ncurses.lib.so bash.tar coreutils.tar vim.tar grep.tar findutils.tar diffutils.tar cli_monitor pointer file_terminal terminal_log wifi_drv audio_drv fs_rom vfs_jitterentropy.lib.so libcrypto.lib.so libssl.lib.so wpa_driver_nl80211.lib.so wpa_supplicant.lib.so wifi.lib.so wifi_drv trace_subject_reporter cpu_load_display xray_trigger rom_filter intel_fb_drv backdrop mixer libpng.lib.so zlib.lib.so genode_logo.png grid.png sticks_blue.png themed_decorator plain_decorator_theme.tar usb_report_filter acpica nic_bridge iwlwifi-6000-4.ucode iwlwifi-6000g2a-6.ucode iwlwifi-6000g2b-6.ucode iwlwifi-7260-16.ucode iwlwifi-7265-16.ucode iwlwifi-7265D-16.ucode iwlwifi-8000C-16.ucode Genode 16.05 int main(): --- create local services --- int main(): --- start init --- int main(): transferred 7790 MB to init Quota exceeded! amount=135168, size=4096, consumed=135168 Quota exceeded! amount=151552, size=8192, consumed=151552 [init] upgrading quota donation for Env::PD (8192 bytes) Quota exceeded! amount=159744, size=4096, consumed=159744 Quota exceeded! amount=176128, size=4096, consumed=176128 Quota exceeded! amount=192512, size=4096, consumed=192512 Quota exceeded! amount=208896, size=4096, consumed=208896 Quota exceeded! amount=225280, size=4096, consumed=225280 Quota exceeded! amount=241664, size=4096, consumed=241664 [init -> acpica] wait for platform drv [init -> acpi_drv] void Acpi_table::_parse_tables(T*, Genode::uint32_t) [with T = long long unsigned int; Genode::uint32_t = unsigned int]: Found MADT [init -> acpi_drv] MADT IRQ 0 -> GSI 2 flags: 0 [init -> acpi_drv] MADT IRQ 9 -> GSI 9 flags: d [init -> acpi_drv] void Acpi_table::_parse_tables(T*, Genode::uint32_t) [with T = long long unsigned int; Genode::uint32_t = unsigned int]: Found MCFG [init -> acpi_drv] MCFG BASE 0xf8000000 seg 00 bus 00-3f [init -> acpi_drv] void Acpi_table::_parse_tables(T*, Genode::uint32_t) [with T = long long unsigned int; Genode::uint32_t = unsigned int]: Found DMAR [init -> acpi_drv] 39 bit DMA physical addressable , IRQ remapping supported [init -> acpi_drv] DMA remapping structure type=0 [init -> acpi_drv] DMA remapping structure type=0 [init -> acpi_drv] DMA remapping structure type=1 [init -> acpi_drv] DMA remapping structure type=1 [init -> ahci_drv] --- Starting AHCI driver -> done right .-) -- [init -> audio_drv] --- probe drivers --- [init -> wm_report_rom] parsing legacy <rom> policies [init -> wm_report_rom] parsing legacy <rom> policies [init -> wm_report_rom] parsing legacy <rom> policies [init -> wm_report_rom] parsing legacy <rom> policies [init -> wm_report_rom] parsing legacy <rom> policies [init -> wm_report_rom] parsing legacy <rom> policies [init -> log_file_terminal] --- file terminal started --- [init -> config_rom] connection for file 'fb_drv.config' requested [init -> intel_fb_drv] --- intel framebuffer driver --- [init -> intel_fb_drv] INFO: i2c-core: driver [dummy] registered [init -> config_rom] connection for file 'system' requested [init -> platform_drv] 'acpica' - device '00:00.0' is part of more than one policy [init -> acpica] wait for platform drv - done [init -> acpica] detected - ec [init -> acpica] AcpiOsMapMemory:271 called - dead [init -> config_rom] connection for file 'usb_drv.config' requested [init -> usb_drv] Services::Services(): Could not read screen resolution in config node [init -> usb_drv] Services::Services(): No <storage> config node found - not starting the USB Storage (Block) service [init -> config_rom] connection for file 'trace_subject_reporter.config' requested [init -> trace_subject_reporter] period_ms=1000, report_activity=1, report_affinity=1 [init -> config_rom] connection for file 'decorator.config' requested [init -> decorator_config] top-level node <xray> missing in input ROM xray [init -> decorator_config] could not obtain input value for input xray_enabled [init -> config_rom] connection for file 'nitpicker.config' requested [init -> nitpicker_config] top-level node <xray> missing in input ROM xray [init -> config_rom] connection for file 'usb_report_filter.config' requested [init -> cli_terminal] int main(int, char**): --- terminal service started --- [init -> usb_drv] Services::Services(): No <nic> config node found - not starting the USB Nic (Network) service [init -> usb_drv] Enabled UHCI (USB 1.0/1.1) support [init -> usb_drv] Enabled EHCI (USB 2.0) support [init -> usb_drv] Enabled XHCI (USB 3.0) support [init -> nitpicker_config] could not obtain input value for input xray_enabled [init -> nitpicker_config] top-level node <xray> missing in input ROM xray [init -> nitpicker_config] could not obtain input value for input xray_enabled [init -> rump_fs] a0000000 .. afffffff: stack area [init -> rump_fs] 30000 .. 118fff: ld.lib.so [init -> rump_fs] 101f000 .. 11e7fff: rump.lib.so [init -> rump_fs] 11e8000 .. 1310fff: rump_fs.lib.so [init -> rump_fs] Using ext2fs as file system [init -> rump_fs] int rumpuser_init(int, const rumpuser_hyperup*): RUMP ver: 17 [init -> rump_fs] int rumpuser_getparam(const char*, void*, size_t): RUMP_THREADS [init -> rump_fs] int rumpuser_getparam(const char*, void*, size_t): RUMP_VERBOSE [init -> rump_fs] int rumpuser_getparam(const char*, void*, size_t): _RUMPUSER_NCPU [init -> rump_fs] int rumpuser_getparam(const char*, void*, size_t): RUMP_MEMLIMIT [init -> rump_fs] Asserting rump kernel 27680 KB of RAM [init -> config_rom] connection for file 'wlan_configuration' requested [init -> rump_fs] 101f000 .. 11e7fff: rump.lib.so [init -> rump_fs] 11e8000 .. 1310fff: rump_fs.lib.so [init -> rump_fs] 11e8000 .. 1310fff: rump_fs.lib.so [init -> rump_fs] 101f000 .. 11e7fff: rump.lib.so [init -> rump_fs] 11e8000 .. 1310fff: rump_fs.lib.so [init -> rump_fs] BOOTSTRAP [init -> rump_fs] int rumpuser_getparam(const char*, void*, size_t): RUMP_NVNODES [init -> rump_fs] int rumpuser_getparam(const char*, void*, size_t): RUMP_BLKFAIL [init -> rump_fs] int rumpuser_getparam(const char*, void*, size_t): RUMP_BLKSECTSHIFT [init -> rump_fs] int rumpuser_getparam(const char*, void*, size_t): RUMP_MODULEBASE [init -> rump_fs] int rumpuser_getparam(const char*, void*, size_t): _RUMPUSER_HOSTNAME int main(): --- init created, waiting for exit condition --- [ 0] sys_sc_ctrl: Bad SC CAP (0x151a) long long unsigned int Genode::Platform_thread::execution_time() const: sc_ctrl failed res=4 [ 0] sys_sc_ctrl: Bad SC CAP (0x151a) long long unsigned int Genode::Platform_thread::execution_time() const: sc_ctrl failed res=4 [ 0] sys_sc_ctrl: Bad SC CAP (0x151a) long long unsigned int Genode::Platform_thread::execution_time() const: sc_ctrl failed res=4 [ 0] sys_sc_ctrl: Bad SC CAP (0x151a) long long unsigned int Genode::Platform_thread::execution_time() const: sc_ctrl failed res=4 [ 0] sys_sc_ctrl: Bad SC CAP (0x151a) long long unsigned int Genode::Platform_thread::execution_time() const: sc_ctrl failed res=4 [ 0] sys_sc_ctrl: Bad SC CAP (0x151a) long long unsigned int Genode::Platform_thread::execution_time() const: sc_ctrl failed res=4 [ 0] sys_sc_ctrl: Bad SC CAP (0x151a) long long unsigned int Genode::Platform_thread::execution_time() const: sc_ctrl failed res=4 [ 0] sys_sc_ctrl: Bad SC CAP (0x151a) long long unsigned int Genode::Platform_thread::execution_time() const: sc_ctrl failed res=4 [ 0] sys_sc_ctrl: Bad SC CAP (0x151a) long long unsigned int Genode::Platform_thread::execution_time() const: sc_ctrl failed res=4 [ 0] sys_sc_ctrl: Bad SC CAP (0x151a)
Hi,
On 04.07.2016 12:11, Martijn Verschoor wrote:
This weekend I tried to upgrade my Lenovo x250 Turmvilla system to Genode 16.05 using Norman’s turmvilla-16.05 topic branch. I built the turmvilla.run script as is, without modifications. In contrary to the turmvilla-16.02 branch, I do encounter some problems with turmvilla-16.05.
During bootup the system stalls displaying the “Copying xxx bytes” messages.
The log is inserted below. I see a lot of similarities with parfito’s HP logs for the Heeselicht scenario (https://github.com/genodelabs/genode/issues/2018), but in my case the new acpica component reports "AcpiOsMapMemory:271 called - dead”. At fist sight this function seem implemented (in acpica/iomem.cc).
Based on the log below, can anyone hint me at what might be the problem?
try to increase Acpica::Io_mem::_ios array to 32 Elements in acpica/iomem.cc.
Cheers,
Alex.
Hi,
Thanks Alex, your magic fix helps me a bit further. Now the Turmvilla scenario boots and I can start noux. In noux however, ls and other tools cannot be found. See the log attached. An illustration of this is:
bash-4.1# ls bash: /bin/ls: No such file or directory bash-4.1 # cd bin bash-4.1 # ls bash: /bin/ls: Argument list too long
I’ll need some more time to investigate this. Of course suggestions are welcome.
Met vriendelijke groet / kind regards,
Martijn Verschoor
Cyber Security Labs B.V. | Gooimeer 6-31 | 1411 DD Naarden | The Netherlands +31 35 631 3253 (office) | +31 616 014 087 (mobile)
On 04 Jul 2016, at 12:51, Alexander Boettcher <alexander.boettcher@...1...> wrote:
Hi,
On 04.07.2016 12:11, Martijn Verschoor wrote:
This weekend I tried to upgrade my Lenovo x250 Turmvilla system to Genode 16.05 using Norman’s turmvilla-16.05 topic branch. I built the turmvilla.run script as is, without modifications. In contrary to the turmvilla-16.02 branch, I do encounter some problems with turmvilla-16.05.
During bootup the system stalls displaying the “Copying xxx bytes” messages.
The log is inserted below. I see a lot of similarities with parfito’s HP logs for the Heeselicht scenario (https://github.com/genodelabs/genode/issues/2018), but in my case the new acpica component reports "AcpiOsMapMemory:271 called - dead”. At fist sight this function seem implemented (in acpica/iomem.cc).
Based on the log below, can anyone hint me at what might be the problem?
try to increase Acpica::Io_mem::_ios array to 32 Elements in acpica/iomem.cc.
Cheers,
Alex.
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San Francisco, CA to explore cutting-edge tech and listen to tech luminaries present their vision of the future. This family event has something for everyone, including kids. Get more information and register today. http://sdm.link/attshape _______________________________________________ genode-main mailing list genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main
On 04.07.2016 14:48, Martijn Verschoor wrote:
Hi,
Thanks Alex, your magic fix helps me a bit further.
Not magic - more or less careless to use a fixed sized allocator instead of a dynamic allocator ... you may open a github issue for that ;-)
Now the Turmvilla scenario boots and I can start noux. In noux however, ls and other tools cannot be found. See the log attached. An illustration of this is:
bash-4.1# ls bash: /bin/ls: No such file or directory bash-4.1 # cd bin bash-4.1 # ls bash: /bin/ls: Argument list too long
I’ll need some more time to investigate this. Of course suggestions are welcome.
Route your log messages of noux to core instead to the terminal_log - to see the actually error messages via serial output. Could it be that you maybe did not rebuild the noux packages ?
Cheers,
Alex
Hi Martijn,
Thanks Alex, your magic fix helps me a bit further. Now the Turmvilla scenario boots and I can start noux. In noux however, ls and other tools cannot be found. See the log attached. An illustration of this is:
bash-4.1# ls bash: /bin/ls: No such file or directory bash-4.1 # cd bin bash-4.1 # ls bash: /bin/ls: Argument list too long
I’ll need some more time to investigate this. Of course suggestions are welcome.
have you started over with a fresh build directory for the update? I am asking because the turmvilla run script creates the tar archives for the noux packages only of they do not exist yet. So there is the risk that you may boot stale versions of those tar archives. Just to be sure, please delete the <builddir>/bin/*.tar files prior executing the run script so that fresh archives will be created.
Cheers Norman
Hi guys,
Norman's Turmvilla-16.05 branch runs on my Lenovo x250. The only required patch to Norman’s topic branch is Alex’ suggestion to extend the Acpica::Io_mem::_ios array to 32 Elements in acpica/iomem.cc.
Regarding noux packages failing to execute:
have you started over with a fresh build directory for the update? I am asking because the turmvilla run script creates the tar archives for the noux packages only of they do not exist yet. So there is the risk that you may boot stale versions of those tar archives. Just to be sure, please delete the <builddir>/bin/*.tar files prior executing the run script so that fresh archives will be created.
I noticed this yesterday when I investigated this a bit after Alex’ remark, but it didn’t fix my problem (at least not by itself), but it’s good to know though.
In the end deleting the contents of the contrib directory, and re-preparing all required ports did the trick. I suspect some of these ports were prepared using the old toolchain (15.05).
Alex and Norman, thanks for helping out!
Met vriendelijke groet / kind regards,
Martijn Verschoor
Cyber Security Labs B.V. | Gooimeer 6-31 | 1411 DD Naarden | The Netherlands +31 35 631 3253 (office) | +31 616 014 087 (mobile)