You are not logged in.

#1 2018-07-19 18:54:09

diederick76
Member
Registered: 2010-02-14
Posts: 157

Cannot power on onboard and pci ethernet devices

I bought an Asus Crosshair Hero VI motherboard, but I can't get its network device to work. None of the lights are on, despite the cable being good and plugged in. I also bought an extra extra pci ethernet device that I plugged in to see if that would help, but it has the same issue.

dmesg reveals both are recognised:

[    4.300481] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[    4.300503] r8169 0000:28:00.0: enabling device (0000 -> 0003)
[    4.301008] r8169 0000:28:00.0 eth0: RTL8168e/8111e at 0x        (ptrval), 7c:8b:ca:02:27:65, XID 0c200000 IRQ 45
[    4.301010] r8169 0000:28:00.0 eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko]
[    4.302384] ipmi message handler version 39.2
[    4.304571] ccp 0000:2a:00.2: enabling device (0000 -> 0002)
[    4.304734] r8169 0000:28:00.0 enp40s0: renamed from eth0

[    4.533430] igb 0000:23:00.0: added PHC on eth0
[    4.533432] igb 0000:23:00.0: Intel(R) Gigabit Ethernet Network Connection
[    4.533434] igb 0000:23:00.0: eth0: (PCIe:2.5Gb/s:Width x1) 60:45:cb:a0:92:80
[    4.533435] igb 0000:23:00.0: eth0: PBA No: FFFFFF-0FF
[    4.533437] igb 0000:23:00.0: Using MSI-X interrupts. 2 rx queue(s), 2 tx queue(s)
[    4.534917] igb 0000:23:00.0 enp35s0: renamed from eth0

I get two non-virtual devices:

$ ls /sys/class/net/
enp35s0@ enp40s0@ lo@

enp35s0 is the on-board device, enp40s0@ the plugged-in one.

So I adapted the file /etc/netctl/static-enp40s0-102 that worked with my previous motherboard:

Description='A basic static ethernet connection'
Interface=enp40s0
Connection=ethernet
IP=static
Address=('192.168.1.102/24')
Routes=('192.168.0.0/24 via 192.168.1.2')
Gateway='192.168.1.1'
DNS=('192.168.1.1')

With that:

$ sudo netctl start static-enp40s0-102

After a few seconds, it says:

A dependency job for netctl@ethernet\x2ddhcp.service failed. See 'journalctl -xe' for details

journal -f while the netctl attempts to start the device:

jul 19 22:19:23 zaphod systemd[1]: Starting Networking for netctl profile static-enp40s0-102...
jul 19 22:19:23 zaphod network[3759]: Starting network profile 'static-enp40s0-102'...
jul 19 22:19:23 zaphod kernel: r8169 0000:28:00.0 enp40s0: link down
jul 19 22:19:23 zaphod kernel: r8169 0000:28:00.0 enp40s0: link down
jul 19 22:19:23 zaphod kernel: IPv6: ADDRCONF(NETDEV_UP): enp40s0: link is not ready
jul 19 22:19:28 zaphod network[3759]: No connection found on interface 'enp40s0' (timeout)
jul 19 22:19:28 zaphod network[3759]: Failed to bring the network up for profile 'static-enp40s0-102'
jul 19 22:19:28 zaphod systemd[1]: netctl@static\x2denp40s0\x2d102.service: Main process exited, code=exited, status=1/FAILURE
jul 19 22:19:28 zaphod systemd[1]: netctl@static\x2denp40s0\x2d102.service: Failed with result 'exit-code'.
jul 19 22:19:28 zaphod systemd[1]: Failed to start Networking for netctl profile static-enp40s0-102.

When booting into windows, once logged in, I can go to the device's Controller Properties and dis-"allow the computer to turn off this device to save power". Then the device is turned on and a connection is made and stays up. The setting is persistent across logins, but doesn't seem to have an effect under Linux or in the BIOS settings.

I found this bug on debian wheezy which sounds like it is related:

https://unix.stackexchange.com/question … eezy#98965

but I don't know how to translate the solution to arch, and simply adding acpi=off on the kernel line results in an immediate kernel panic.

Is there a way to power these devices? Thanks for any help!

Last edited by diederick76 (2018-07-20 05:08:39)

Offline

#2 2018-07-20 07:10:58

seth
Member
Registered: 2012-09-03
Posts: 49,981

Re: Cannot power on onboard and pci ethernet devices

First things first:

When booting into windows

https://www.tenforums.com/tutorials/418 … -10-a.html

Offline

#3 2018-07-20 08:01:43

diederick76
Member
Registered: 2010-02-14
Posts: 157

Re: Cannot power on onboard and pci ethernet devices

seth wrote:

First things first:

When booting into windows

https://www.tenforums.com/tutorials/418 … -10-a.html

Thanks for the response. Fast startup is turned off.

Last edited by diederick76 (2018-07-20 08:02:13)

Offline

#4 2018-07-20 10:59:08

seth
Member
Registered: 2012-09-03
Posts: 49,981

Re: Cannot power on onboard and pci ethernet devices

Thing is, you've two completely different NICs and both have issues detecting a carrier?

What's the output of

ip addr

when both are supposed to be wired to a switch/router?

Do you have any power savong tools (tlp, laptop-mode-tools, powertop on autotune, etc...) installed?
Please post a complete dmesg.

Offline

#5 2018-07-20 16:06:45

diederick76
Member
Registered: 2010-02-14
Posts: 157

Re: Cannot power on onboard and pci ethernet devices

@seth Thanks for your kind held, but the motherboard had more problems, so I returned it and I bought another one. Thanks again!

Offline

Board footer

Powered by FluxBB