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?
>
diff --git a/repos/ports/run/noux_net_openssh_interactive.run b/repos/ports/run/noux_net_openssh_interactive.run
index cb25406..8263fea 100644
--- a/repos/ports/run/noux_net_openssh_interactive.run
+++ b/repos/ports/run/noux_net_openssh_interactive.run
@@ -23,6 +23,8 @@ set build_components {
test/libports/zlib
}
+lappend_if [have_spec acpi] build_components drivers/acpi
+
#
# Build Noux packages only once
#
@@ -78,12 +80,27 @@ append_if [have_spec sdl] config {
</provides>
</start>}
-append_if [have_spec pci] config {
- <start name="pci_drv">
- <resource name="RAM" quantum="1M"/>
- <provides><service name="PCI"/></provides>
+append_if [have_spec acpi] config {
+ <start name="acpi">
+ <resource name="RAM" quantum="8M"/>
+ <binary name="acpi_drv"/>
+ <provides>
+ <service name="PCI"/>
+ <service name="IRQ" />
+ </provides>
+ <route>
+ <service name="PCI"> <any-child /> </service>
+ <any-service> <parent/> <any-child /> </any-service>
+ </route>
</start>}
+append_if [expr ![have_spec acpi] && [have_spec pci]] config {
+ <start name="pci_drv">
+ <resource name="RAM" quantum="2M"/>
+ <provides> <service name="PCI"/> </provides>
+ </start>
+}
+
append_if [have_spec framebuffer] config {
<start name="fb_drv">
<resource name="RAM" quantum="4M"/>
@@ -183,6 +200,8 @@ lappend_if [have_spec linux] boot_modules fb_sdl
lappend_if [have_spec pci] boot_modules pci_drv
lappend_if [have_spec framebuffer] boot_modules fb_drv
lappend_if [have_spec ps2] boot_modules ps2_drv
+lappend_if [have_spec acpi] boot_modules acpi_drv
+lappend_if [have_spec nova] boot_modules pci_device_pd
build_boot_image $boot_modules
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/genode-main