Hi, I wanted to try out the ipxe networking (I'm not entirely sure if my NIC is even supported) and I ran the run/noux_net_openssh_interactive configuration on my device and got an error.
I got a lot of these messages: [init -> nic_drv] --- get MAC address 00:22:68:14:68:b2 [ 0] DMAR:0xffffffff810210e8 FRR:0 FR:0x2 BDF:0:19:0 FI:0x02c00000 [ 1] Killed EC:0xffffffff83387280 SC:0x0 V:0xe CS:0x8 EIP:0xffffffff81008918 CR2:0x7400061a8 ERR:0x0 (#PF (kernel)) [ 0] Killed EC:0xffffffff83387040 SC:0x0 V:0xe CS:0x8 EIP:0xffffffff81008918 CR2:0x7400061a8 ERR:0x0 (#PF (kernel)) [ 1] Killed EC:0xffffffff83387280 SC:0x0 V:0xe CS:0x8 EIP:0xffffffff81008918 CR2:0x7400061a8 ERR:0x0 (#PF (kernel))
The full serial output can be seen at http://pastebin.com/haT63pCv
The NIC itself is: Ethernet controller [0200]: Intel Corporation 82567LM Gigabit Network Connection [8086:10f5] (rev 03)
Is this due to hardware incompatibility or something else?
Hi,
On 09.01.2015 02:37, Tim Newsham wrote:
Hi, I wanted to try out the ipxe networking (I'm not entirely sure if my NIC is even supported) and I ran the run/noux_net_openssh_interactive configuration on my device and got an error.
I got a lot of these messages: [init -> nic_drv] --- get MAC address 00:22:68:14:68:b2 [ 0] DMAR:0xffffffff810210e8 FRR:0 FR:0x2 BDF:0:19:0 FI:0x02c00000
A DMA operation to the physical address 0x2c00000 is stopped by a IOMMU and the kernel reports that. On Genode/Nova this typically means that one forgot to load/use the device_pd [0]. Looking at the run script there indeed the acpi driver and the device_pd application is missing.
The attached patch adds the missing pieces to the run script. Probably there are some more run scripts out there missing the acpi driver and device_pd for Genode/Nova.
[0] http://genode.org/documentation/release-notes/13.02
[ 1] Killed EC:0xffffffff83387280 SC:0x0 V:0xe CS:0x8 EIP:0xffffffff81008918 CR2:0x7400061a8 ERR:0x0 (#PF (kernel)) [ 0] Killed EC:0xffffffff83387040 SC:0x0 V:0xe CS:0x8 EIP:0xffffffff81008918 CR2:0x7400061a8 ERR:0x0 (#PF (kernel)) [ 1] Killed EC:0xffffffff83387280 SC:0x0 V:0xe CS:0x8 EIP:0xffffffff81008918 CR2:0x7400061a8 ERR:0x0 (#PF (kernel))
This looks not good. I can't reproduce it here. Do you use the 14.11 Genode release with the nova kernel revision 2b4f2803218cf92e2982b47a370d60b18bb78a15 (r7) in repos/base-nova/ports/nova.port ?
Cheers,
Alex.
The full serial output can be seen at http://pastebin.com/haT63pCv
The NIC itself is: Ethernet controller [0200]: Intel Corporation 82567LM Gigabit Network Connection [8086:10f5] (rev 03)
Is this due to hardware incompatibility or something else?
I am using 14.11 with its version of nova REV(nova) := 2b4f2803218cf92e2982b47a370d60b18bb78a15
applying your patch fixes the boot time problems. Now it boots to bash. When I tried to run an ssh command "ssh -p 1234 1.2.3.4 uptime" though, I got a fault:
[init -> noux] replay: missing ds_info for dataspace at addr 0x2000 unmapping of managed dataspaces not yet supported unmapping of managed dataspaces not yet supported no RM attachment (READ pf_addr=0 pf_ip=10f36b1 from a44fefc6 /bin/ssh) virtual void Genode::Signal_session_component::submit(Genode::Signal_context_capability, unsigned int): invalid signal-context capability static void Genode::Pager_object::_page_fault_handler(): unhandled page fault, 'pager:/bin/ssh' address=0x0 ip=0x10f36b1
The noux-pkg/openssh/install/bin/ssh binary doesnt have any segments in the 0x10f36b1 range.
On Thu, Jan 8, 2015 at 11:25 PM, Alexander Boettcher <alexander.boettcher@...1...> wrote:
Hi,
On 09.01.2015 02:37, Tim Newsham wrote:
Hi, I wanted to try out the ipxe networking (I'm not entirely sure if my NIC is even supported) and I ran the run/noux_net_openssh_interactive configuration on my device and got an error.
I got a lot of these messages: [init -> nic_drv] --- get MAC address 00:22:68:14:68:b2 [ 0] DMAR:0xffffffff810210e8 FRR:0 FR:0x2 BDF:0:19:0 FI:0x02c00000
A DMA operation to the physical address 0x2c00000 is stopped by a IOMMU and the kernel reports that. On Genode/Nova this typically means that one forgot to load/use the device_pd [0]. Looking at the run script there indeed the acpi driver and the device_pd application is missing.
The attached patch adds the missing pieces to the run script. Probably there are some more run scripts out there missing the acpi driver and device_pd for Genode/Nova.
[0] http://genode.org/documentation/release-notes/13.02
[ 1] Killed EC:0xffffffff83387280 SC:0x0 V:0xe CS:0x8 EIP:0xffffffff81008918 CR2:0x7400061a8 ERR:0x0 (#PF (kernel)) [ 0] Killed EC:0xffffffff83387040 SC:0x0 V:0xe CS:0x8 EIP:0xffffffff81008918 CR2:0x7400061a8 ERR:0x0 (#PF (kernel)) [ 1] Killed EC:0xffffffff83387280 SC:0x0 V:0xe CS:0x8 EIP:0xffffffff81008918 CR2:0x7400061a8 ERR:0x0 (#PF (kernel))
This looks not good. I can't reproduce it here. Do you use the 14.11 Genode release with the nova kernel revision 2b4f2803218cf92e2982b47a370d60b18bb78a15 (r7) in repos/base-nova/ports/nova.port ?
Cheers,
Alex.
The full serial output can be seen at http://pastebin.com/haT63pCv
The NIC itself is: Ethernet controller [0200]: Intel Corporation 82567LM Gigabit Network Connection [8086:10f5] (rev 03)
Is this due to hardware incompatibility or something else?
Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net _______________________________________________ genode-main mailing list genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main
Hello Tim,
* Tim Newsham <tim.newsham@...9...> [2015-01-09 07:50:06 -1000]:
I am using 14.11 with its version of nova REV(nova) := 2b4f2803218cf92e2982b47a370d60b18bb78a15
applying your patch fixes the boot time problems. Now it boots to bash. When I tried to run an ssh command "ssh -p 1234 1.2.3.4 uptime" though, I got a fault:
[init -> noux] replay: missing ds_info for dataspace at addr 0x2000 unmapping of managed dataspaces not yet supported unmapping of managed dataspaces not yet supported no RM attachment (READ pf_addr=0 pf_ip=10f36b1 from a44fefc6 /bin/ssh) virtual void Genode::Signal_session_component::submit(Genode::Signal_context_capability, unsigned int): invalid signal-context capability static void Genode::Pager_object::_page_fault_handler(): unhandled page fault, 'pager:/bin/ssh' address=0x0 ip=0x10f36b1
The noux-pkg/openssh/install/bin/ssh binary doesnt have any segments in the 0x10f36b1 range.
Our new ldso does not provides the '__progname' symbol that is used by OpenSSH implicitly. There is a fix [1] but it is not yet on staging because I want to update OpenSSH anyway. For now you can cherry-pick the commit and rebuild the noux-pkg.
Cheers Josef
[1] https://github.com/cnuke/genode/commit/89c49110bdbda0b39e15a2274fc9f09962319...