View previous topic :: View next topic |
Author |
Message |
peter4 Guru
Joined: 19 Jul 2005 Posts: 359 Location: Wroclaw, Poland
|
Posted: Tue Oct 14, 2014 9:50 pm Post subject: [fixe]I updated to kernel 3.17 and lost my network interface |
|
|
After updating the kernel to 3.17 I no longer have any network interface. I have a Realtek device and use the r8169 driver. According to lspci the device is dected by the driver:
Code: |
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 02)
Subsystem: Gigabyte Technology Co., Ltd Motherboard
Flags: bus master, fast devsel, latency 0, IRQ 29
I/O ports at ce00 [size=256]
Memory at fdcff000 (64-bit, prefetchable) [size=4K]
Memory at fdce0000 (64-bit, prefetchable) [size=64K]
[virtual] Expansion ROM at fdd00000 [disabled] [size=64K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable+ Count=1/2 Maskable- 64bit+
Capabilities: [70] Express Endpoint, MSI 01
Capabilities: [b0] MSI-X: Enable- Count=2 Masked-
Capabilities: [d0] Vital Product Data
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Virtual Channel
Capabilities: [160] Device Serial Number 12-34-56-78-12-34-56-78
Kernel driver in use: r8169
# dmesg|grep 8169
[ 0.299211] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[ 0.299356] r8169 0000:04:00.0: can't disable ASPM; OS doesn't have ASPM control
[ 0.299643] r8169 0000:04:00.0: irq 29 for MSI/MSI-X
[ 0.299738] r8169 0000:04:00.0 eth0: RTL8168c/8111c at 0xffffc9000002c000, 00:1f:d0:d4:3e:0b, XID 1c4000c0 IRQ 29
[ 0.299879] r8169 0000:04:00.0 eth0: jumbo features [frames: 6128 bytes, tx checksumming: ko]
|
but ifconfig shows only the lo interface. Perhaps there's some new setting that I need to enable?
Here's my kernel config: http://pastebin.com/Cc5PAuZA
Last edited by peter4 on Wed Oct 15, 2014 5:29 am; edited 1 time in total |
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Tue Oct 14, 2014 10:03 pm Post subject: |
|
|
Does "ip link show" display it? |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
peter4 Guru
Joined: 19 Jul 2005 Posts: 359 Location: Wroclaw, Poland
|
Posted: Tue Oct 14, 2014 11:27 pm Post subject: |
|
|
I booted the old 3.16 kernel and I still didn't have the interface. Now I don't know what to think. I know the device works since I doual-boot with Windows.
The thing worked on 3.16 without a hitch, then I installed 3.17, rebooted and it stopped working. Now it doesn't even work on 3.16. I feel like I'm either stupid or going crazy.
Ant P.: where do I find this utility? I don't have it installed. |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
depontius Advocate
Joined: 05 May 2004 Posts: 3526
|
Posted: Wed Oct 15, 2014 1:42 am Post subject: |
|
|
The box I'm using now has a Realtek r8169 and was installed with and is currently running 3.16.3, using the in-kernel drivers.
I've got the source for 3.17.0 loaded, but haven't built it yet.
I think I'll wait just a bit. _________________ .sigs waste space and bandwidth |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 23066
|
Posted: Wed Oct 15, 2014 1:49 am Post subject: |
|
|
peter4 wrote: | Ant P.: where do I find this utility? I don't have it installed. | emerge --ask --noreplace sys-apps/iproute2 && /bin/ip link show |
|
Back to top |
|
|
peter4 Guru
Joined: 19 Jul 2005 Posts: 359 Location: Wroclaw, Poland
|
Posted: Wed Oct 15, 2014 5:28 am Post subject: |
|
|
Ok, I figured it out, it was caused by updating networkmanager from 0.9.10.0 to 0.9.10.0-r1 (which I updated at the same time as the kernel). It crashes with
Code: |
Oct 15 07:10:47 localhost NetworkManager[24686]: <error> [1413349847.969161] [main.c:613] main(): failed to initialize settings storage: Could not load plugin 'ifnet': /usr/lib64/NetworkManager/libnm-settings-plugin-ifnet.so: nie można otworzyć pliku obiektu dzielonego: Nie ma takiego pliku ani katalogu
|
(it says "no such file or directory")
I assumed it was a kernel problem because I thought a network interface would always show up in ifconfig. Apparently this is not true. (it did show up in ifconfig -a). |
|
Back to top |
|
|
|