You are not logged in.

#1 2016-12-01 13:06:38

mieLouk
Member
Registered: 2012-12-16
Posts: 44

r8168: Failed to map TX/RX DMA! [SOLVED] sorry

While trying to connect to my new pfsense-box and using my neglected realtek card, I got this and yesterday even a full system crash because of this. Every ping I send results in a warning to have failed to map either TX or RX DMA, with the same amount of "Failed to map Short Packet Buffer DMA!"

Dez 01 13:43:02 xfarch network[1757]: Starting network profile 'realtek'...
Dez 01 13:43:02 xfarch kernel: enp4s0: 0xffffc900018e6000, 94:de:80:c6:18:89, IRQ 58
Dez 01 13:43:03 xfarch network[1757]: Started network profile 'realtek'
Dez 01 13:43:03 xfarch systemd[1]: Started Networking for netctl profile realtek.
Dez 01 13:43:03 xfarch sudo[1751]: pam_unix(sudo:session): session closed for user root
Dez 01 13:43:41 xfarch kernel: r8168: enp4s0: link up
Dez 01 13:43:43 xfarch ntpd[721]: Listen normally on 7 enp4s0 192.168.1.10:123
Dez 01 13:43:43 xfarch ntpd[721]: new interface(s) found: waking up resolver
Dez 01 13:45:15 xfarch kernel: r8168: enp4s0: link down
Dez 01 13:45:17 xfarch ntpd[721]: Deleting interface #7 enp4s0, 192.168.1.10#123, interface stats: received=0, sent=0, dropped=0, active_time=94 secs
Dez 01 13:45:18 xfarch kernel: r8168: enp4s0: link up
Dez 01 13:45:20 xfarch ntpd[721]: Listen normally on 8 enp4s0 192.168.1.10:123
Dez 01 13:45:20 xfarch ntpd[721]: new interface(s) found: waking up resolver
Dez 01 13:45:33 xfarch kernel: r8168: enp4s0: link down
Dez 01 13:45:35 xfarch ntpd[721]: Deleting interface #8 enp4s0, 192.168.1.10#123, interface stats: received=0, sent=0, dropped=0, active_time=15 secs
Dez 01 13:45:41 xfarch kernel: r8168: enp4s0: link up
Dez 01 13:45:42 xfarch kernel: r8168 0000:04:00.0 enp4s0: Failed to map RX DMA!
Dez 01 13:45:43 xfarch ntpd[721]: Listen normally on 9 enp4s0 192.168.1.10:123
Dez 01 13:45:43 xfarch ntpd[721]: new interface(s) found: waking up resolver
Dez 01 13:46:03 xfarch kernel: r8168 0000:04:00.0 enp4s0: Failed to map Short Packet Buffer DMA!
Dez 01 13:46:03 xfarch kernel: r8168 0000:04:00.0 enp4s0: Failed to map RX DMA!
Dez 01 13:46:04 xfarch kernel: r8168 0000:04:00.0 enp4s0: Failed to map TX DMA!
Dez 01 13:46:05 xfarch kernel: r8168 0000:04:00.0 enp4s0: Failed to map TX DMA!
Dez 01 13:46:06 xfarch kernel: r8168 0000:04:00.0 enp4s0: Failed to map TX DMA!
Dez 01 13:46:08 xfarch kernel: r8168 0000:04:00.0 enp4s0: Failed to map Short Packet Buffer DMA!
Dez 01 13:46:09 xfarch kernel: r8168 0000:04:00.0 enp4s0: Failed to map Short Packet Buffer DMA!
Dez 01 13:46:10 xfarch kernel: r8168 0000:04:00.0 enp4s0: Failed to map Short Packet Buffer DMA!

Here the dmesg output from starting the connection till an connection was (not) established.

[  111.963004] enp4s0: 0xffffc900018e6000, 94:de:80:c6:18:89, IRQ 58
[  150.748544] r8168: enp4s0: link up
[  245.044777] r8168: enp4s0: link down
[  248.126933] r8168: enp4s0: link up
[  262.330114] r8168: enp4s0: link down
[  270.482859] r8168: enp4s0: link up
[  271.942513] r8168 0000:04:00.0 enp4s0: Failed to map RX DMA!
[  292.754307] r8168 0000:04:00.0 enp4s0: Failed to map Short Packet Buffer DMA!
[  292.754318] r8168 0000:04:00.0 enp4s0: Failed to map RX DMA!
[  293.775346] r8168 0000:04:00.0 enp4s0: Failed to map TX DMA!
[  294.788784] r8168 0000:04:00.0 enp4s0: Failed to map TX DMA!
[  295.802170] r8168 0000:04:00.0 enp4s0: Failed to map TX DMA!
[  297.885634] r8168 0000:04:00.0 enp4s0: Failed to map Short Packet Buffer DMA!
[  298.895331] r8168 0000:04:00.0 enp4s0: Failed to map Short Packet Buffer DMA!
[  299.908634] r8168 0000:04:00.0 enp4s0: Failed to map Short Packet Buffer DMA!

I've found this likely corresponding bug from openSUSE:

openSUSE Bugtracker

The NIC has worked earlier, but I had a problem during first use after acquiring the motherboard, some years ago. I tried connecting the NIC to differenct devices but no success. Somewhere I read to add

noapic

as a boot parameter, which didn't help. I'm somewhat at a loss here and would appreciate any input.

Last edited by mieLouk (2016-12-01 13:17:53)

Offline

#2 2016-12-01 13:20:22

mieLouk
Member
Registered: 2012-12-16
Posts: 44

Re: r8168: Failed to map TX/RX DMA! [SOLVED] sorry

I'd used another disk as bootmanager and forgot the iommu=soft kernel parameter as described here:

https://wiki.archlinux.org/index.php/Ne … 168.2F8411

Sorry for the inconvenience.

Offline

Board footer

Powered by FluxBB