You are not logged in.

#1 2015-08-06 17:20:06

MightyPork
Member
From: Prague, Czech Republic
Registered: 2014-06-16
Posts: 93
Website

[SOLVED] ASRock N68-GS4: No ethernet & broken ACPI w/ forcedeth driver

I'm trying to install Arch using my "Arch on a stick" installation. I can boot from it on my laptop, and it connects to ethernet, wifi, everything.

But when I use it in the new box, dhcpcd fails 100%.

I've updated the system with Syyu so all should be good (that update apparently destroyed my X server, but I can work in terminal).

Here's some outputs:

lspci - so you know the netwokr device and stuff. It's a brand new motherboard.

00:00.0 RAM memory: NVIDIA Corporation MCP61 Host Bridge (rev a1)
00:01.0 ISA bridge: NVIDIA Corporation MCP61 LPC Bridge (rev a2)
00:01.1 SMBus: NVIDIA Corporation MCP61 SMBus (rev a2)
00:01.2 RAM memory: NVIDIA Corporation MCP61 Memory Controller (rev a2)
00:02.0 USB controller: NVIDIA Corporation MCP61 USB 1.1 Controller (rev a3)
00:02.1 USB controller: NVIDIA Corporation MCP61 USB 2.0 Controller (rev a3)
00:04.0 PCI bridge: NVIDIA Corporation MCP61 PCI bridge (rev a1)
00:05.0 Audio device: NVIDIA Corporation MCP61 High Definition Audio (rev a2)
00:07.0 Bridge: NVIDIA Corporation MCP61 Ethernet (rev a2)
00:08.0 IDE interface: NVIDIA Corporation MCP61 SATA Controller (rev a2)
00:08.1 IDE interface: NVIDIA Corporation MCP61 SATA Controller (rev a2)
00:09.0 PCI bridge: NVIDIA Corporation MCP61 PCI Express bridge (rev a2)
00:0b.0 PCI bridge: NVIDIA Corporation MCP61 PCI Express bridge (rev a2)
00:0c.0 PCI bridge: NVIDIA Corporation MCP61 PCI Express bridge (rev a2)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 5
02:00.0 VGA compatible controller: NVIDIA Corporation GF108 [GeForce GT 430] (rev a1)
02:00.1 Audio device: NVIDIA Corporation GF108 High Definition Audio Controller (rev a1)
04:00.0 USB controller: Etron Technology, Inc. EJ188/EJ198 USB 3.0 Host Controller

sudo dhcpcd enp0s7

if_addaddress6: Permission denied
timed out
enp0s7: adding address fe80::a3eb:9f23:5315:4d26
DUID 00:01:00:01:1c:81:a2:47:f0:7b:cb:a3:77:24
enp0s7: IAID 99:53:c6:17
enp0s7: soliciting an IPv6 router
enp0s7: soliciting a DHCP lease
dhcpcd exited

sudo dhcpcd -d enp0s7

dhcpcd-6.9.1 starting
enp0s7: adding address fe80::a3eb:9f23:5315:4d26
enp0s7: pltime infinity, vltime infinity
if_addaddress6: Permission denied
enp0s7: executing `/usr/lib/dhcpcd/dhcpcd-run-hooks' PREINIT
enp0s7: executing `/usr/lib/dhcpcd/dhcpcd-run-hooks' CARRIER
DUID 00:01:00:01:1c:81:a2:47:f0:7b:cb:a3:77:24
enp0s7: IAID 99:53:c6:17
enp0s7: delaying IPv6 router solicitation for 0.8 seconds
enp0s7: delaying IPv4 for 0.6 seconds
enp0s7: soliciting a DHCP lease
enp0s7: sending DISCOVER (xid 0x52c4d5dd), next in 3.6 seconds
enp0s7: soliciting an IPv6 router
enp0s7: delaying Router Solicitation for LL address
enp0s7: sending DISCOVER (xid 0x52c4d5dd), next in 7.8 seconds
enp0s7: sending DISCOVER (xid 0x52c4d5dd), next in 16.4 seconds
enp0s7: sending DISCOVER (xid 0x52c4d5dd), next in 32.3 seconds
timed out
dhcpcd exited

(The ipaddress6 thing is probably because I disallowed ipv6 in boot settings (It was giving different kind of errors)

ifconfig

enp0s7: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        ether d0:50:99:53:c6:17  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 26  bytes 10244 (10.0 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        loop  txqueuelen 0  (Local Loopback)
        RX packets 6  bytes 300 (300.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 6  bytes 300 (300.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ethtool enp0s7

Settings for enp0s7:
	Supported ports: [ MII ]
	Supported link modes:   10baseT/Half 10baseT/Full 
	                        100baseT/Half 100baseT/Full 
	                        1000baseT/Full 
	Supported pause frame use: No
	Supports auto-negotiation: Yes
	Advertised link modes:  10baseT/Half 10baseT/Full 
	                        100baseT/Half 100baseT/Full 
	                        1000baseT/Full 
	Advertised pause frame use: No
	Advertised auto-negotiation: Yes
	Speed: 1000Mb/s
	Duplex: Full
	Port: MII
	PHYAD: 1
	Transceiver: external
	Auto-negotiation: on
	Supports Wake-on: g
	Wake-on: d
	Link detected: yes

ip link

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp0s7: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
    link/ether d0:50:99:53:c6:17 brd ff:ff:ff:ff:ff:ff

When I try "ping google.com", I get "unknown host".
When I try "ping 192.168.1.1", which is my modem's config page, I get "Network is unreachable".

I tried "ip link set dev enp0s7 up" - that gives no error but also has no effect.


Any ideas what is wrong? I've found multiple people with similar symptoms on google, but there's no workable answer.

Is there some special driver I have to install or something?

Last edited by MightyPork (2015-08-06 19:00:10)


If it ain't broke, pacman -Syyu and it will be

Offline

#2 2015-08-06 18:58:31

MightyPork
Member
From: Prague, Czech Republic
Registered: 2014-06-16
Posts: 93
Website

Re: [SOLVED] ASRock N68-GS4: No ethernet & broken ACPI w/ forcedeth driver

I have a working workaround so for reference I'll post it here.

It's a motherboard ASRock N68-GS4/USB3. I'll avoid this brand next time, it had cost me all afternoon just to get online.

To the issue: the forcedeth driver is causing many issues:

  • System does not shutdown properly

  • System does not reboot (hangs)

  • ACPI is not working right (can't see temperatures etc)

  • Ethernet does not work

The solution, according to this thread: https://bugs.launchpad.net/ubuntu/+sour … ug/1003297

You have to pass options "msi=0 msix=0" to the forcedeth driver.
However, you can't use "rmmod" and "modprobe" while it's running, because that freezes the entire system.

*** Solution ***

Create a file /etc/modprobe.d/forcedeth.conf

options forcedeth msi=0 msix=0

Now, important, you have add it to "mkinitcpio.conf" (modify the FILES line)

FILES = "/etc/modprobe.d/forcedeth.conf"

(if you have multiple files there, I think you can separate them by spaces)

Run mkinitcpio

sudo mkinitcpio -p linux

Then reboot and hopefully next boot it'll be all right.

Last edited by MightyPork (2015-08-06 19:03:34)


If it ain't broke, pacman -Syyu and it will be

Offline

#3 2015-08-11 04:22:58

teeemcee
Member
Registered: 2015-08-11
Posts: 1

Re: [SOLVED] ASRock N68-GS4: No ethernet & broken ACPI w/ forcedeth driver

Hi, I had the same problem with the same solution and thought I might as well throw in a few additional points of info so that people searching for it are more likely to find this thread.

I've had this problem for many years and many different kernels and only finally found this workaround today. A number of people have reported it. I'm running Slackware and have the similar ASRock N68C-GS FX motherboard. This motherboard supports both AM2+ and AM3+ CPUs, the problem only occurs with an AM3+ CPU (or possibly AM3?).
Also, for me the problem only occurs when a PCI ethernet card is inserted into the machine - the card and its separate driver works fine, but forcedeth goes haywire.

In addition to the symptoms listed by MightyPork I saw:

  • System often freezes for 30 seconds at startup then spews "udevd[###]: worker [###] terminated by signal 9" messages or kernel stacktraces, preceded by a line including the PCI device for the onboard ethernet controller

  • Lots of messages like "forcedeth 0000:00:07.0 eth1: Got tx_timeout. irq status: 00000032"

  • Attempting to rmmod forcedeth freezes the system

  • ifconfig shows various packet errors but no successful transmitted/received packets on the forcedeth interface

The fix:
-If you are using a distro like Slackware that doesn't use an init ramdisk, you only need to create /etc/modprobe.d/forcedeth.conf as above

I'll avoid this brand next time

Not sure I agree. ASRock are the ones who investigated and produced this workaround, and they say a fix via the BIOS isn't possible. I'm not surprised that the unusual AM2+/AM3+ compatibility causes drivers to break, but can't bring myself to blame ASRock instead of forcedeth for that.

Offline

#4 2015-11-24 22:46:15

Taffod
Member
Registered: 2015-11-24
Posts: 1

Re: [SOLVED] ASRock N68-GS4: No ethernet & broken ACPI w/ forcedeth driver

Thsi problem persists in UBUNTU 14.04.

I have the ASRock N68-GS4/USB3 and the same sysmptoms.

I tried to implement the solutions above  at (2)  (2015-08-06 18:58:31) entry. But that fails because my system doesn't have a "mkinitcpio.conf" or even a "mkinitcpio.conf".

I followed your link to;

https://bugs.launchpad.net/ubuntu/+sour … ug/1003297

The emergency measure solution "1)" works as an emergency measure but only works once-only and a lot of the graphics drivers are not running optimally.

So I tried his "replacement" work-around, but that failed because my system doesn’t have a file at "/etc/init/module-init-tools.conf"

Any ideas please?

Offline

#5 2015-11-24 23:30:10

Slithery
Forum Moderator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 3,489

Re: [SOLVED] ASRock N68-GS4: No ethernet & broken ACPI w/ forcedeth driver

Ask on the Ubuntu forums. These forums are for Arch linux support only.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#6 2015-11-25 03:59:15

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 16,850

Re: [SOLVED] ASRock N68-GS4: No ethernet & broken ACPI w/ forcedeth driver

Closing


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB