You are not logged in.

#1 2011-08-13 08:48:24

shaurz
Member
Registered: 2004-02-02
Posts: 358

No network connection in Linux 3.0 (P5Q Deluxe)

After upgrading to Linux 3.0 I can't get any kind of network connection. I am using the on-board network adaptor on Asus P5Q Deluxe motherboard. There are two NICs using the skge and sky2 modules.

I have gone back to 2.6.39 until I can fix the problem.

In previous kernel versions these drivers could be a bit unreliable. Sometimes after boot they didn't work, but a reboot usually solved it. I tried rebooting many times but it didn't work on the 3.0 kernel.

Last edited by shaurz (2011-08-13 08:52:32)

Offline

#2 2011-08-13 09:12:13

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: No network connection in Linux 3.0 (P5Q Deluxe)

check to see if the needed modules are blacklisted.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#3 2011-08-13 09:58:01

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: No network connection in Linux 3.0 (P5Q Deluxe)

Inxsible wrote:

check to see if the needed modules are blacklisted.

+1
Post the output of

ls -1 /etc/modprobe.d/

If you find your sound and net modules blacklisted, read https://bbs.archlinux.org/viewtopic.php … 74#p968474

Offline

#4 2011-08-14 13:44:27

shaurz
Member
Registered: 2004-02-02
Posts: 358

Re: No network connection in Linux 3.0 (P5Q Deluxe)

$ ls -1 /etc/modprobe.d/
modprobe.conf
sound.conf
usb-load-ehci-first.conf

Offline

#5 2011-08-14 13:52:23

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: No network connection in Linux 3.0 (P5Q Deluxe)

shaurz wrote:
$ ls -1 /etc/modprobe.d/
modprobe.conf
sound.conf
usb-load-ehci-first.conf

Looks fine. Can you modprobe the needed modules by hand? What's the output of 'ip addr'?

Offline

#6 2011-08-14 14:27:01

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: No network connection in Linux 3.0 (P5Q Deluxe)

Let us see the output of 'lspci -nnv'.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#7 2011-08-18 00:16:42

shaurz
Member
Registered: 2004-02-02
Posts: 358

Re: No network connection in Linux 3.0 (P5Q Deluxe)

OK, if I boot up and reconfigure the network adaptor on eth1, it works. When I reboot again configured on eth1 it doesn't work, but if I reconfigure it on eth0 it works again. Very strange.

The modules seem to always be loaded, that doesn't seem to be the problem.

Output of lspci -nnv:

00:00.0 Host bridge [0600]: Intel Corporation 4 Series Chipset DRAM Controller [8086:2e20] (rev 03)
	Subsystem: ASUSTeK Computer Inc. Device [1043:82d3]
	Flags: bus master, fast devsel, latency 0
	Capabilities: [e0] Vendor Specific Information: Len=0c <?>
	Kernel modules: intel-agp

00:01.0 PCI bridge [0604]: Intel Corporation 4 Series Chipset PCI Express Root Port [8086:2e21] (rev 03) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	I/O behind bridge: 0000c000-0000cfff
	Memory behind bridge: fe900000-fe9fffff
	Prefetchable memory behind bridge: 00000000d0000000-00000000dfffffff
	Capabilities: [88] Subsystem: ASUSTeK Computer Inc. Device [1043:82d3]
	Capabilities: [80] Power Management version 3
	Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
	Capabilities: [a0] Express Root Port (Slot+), MSI 00
	Capabilities: [100] Virtual Channel
	Capabilities: [140] Root Complex Link
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:1a.0 USB Controller [0c03]: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #4 [8086:3a37] (prog-if 00 [UHCI])
	Subsystem: ASUSTeK Computer Inc. Device [1043:82d4]
	Flags: bus master, medium devsel, latency 0, IRQ 16
	I/O ports at b800 [size=32]
	Capabilities: [50] Vendor Specific Information: Len=06 <?>
	Kernel driver in use: uhci_hcd
	Kernel modules: uhci-hcd

00:1a.1 USB Controller [0c03]: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #5 [8086:3a38] (prog-if 00 [UHCI])
	Subsystem: ASUSTeK Computer Inc. Device [1043:82d4]
	Flags: bus master, medium devsel, latency 0, IRQ 21
	I/O ports at b880 [size=32]
	Capabilities: [50] Vendor Specific Information: Len=06 <?>
	Kernel driver in use: uhci_hcd
	Kernel modules: uhci-hcd

00:1a.2 USB Controller [0c03]: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #6 [8086:3a39] (prog-if 00 [UHCI])
	Subsystem: ASUSTeK Computer Inc. Device [1043:82d4]
	Flags: bus master, medium devsel, latency 0, IRQ 18
	I/O ports at bc00 [size=32]
	Capabilities: [50] Vendor Specific Information: Len=06 <?>
	Kernel driver in use: uhci_hcd
	Kernel modules: uhci-hcd

00:1a.7 USB Controller [0c03]: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #2 [8086:3a3c] (prog-if 20 [EHCI])
	Subsystem: ASUSTeK Computer Inc. Device [1043:82d4]
	Flags: bus master, medium devsel, latency 0, IRQ 18
	Memory at fe8ffc00 (32-bit, non-prefetchable) [size=1K]
	Capabilities: [50] Power Management version 2
	Capabilities: [58] Debug port: BAR=1 offset=00a0
	Capabilities: [98] Vendor Specific Information: Len=06 <?>
	Kernel driver in use: ehci_hcd
	Kernel modules: ehci-hcd

00:1b.0 Audio device [0403]: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller [8086:3a3e]
	Subsystem: ASUSTeK Computer Inc. Device [1043:8311]
	Flags: bus master, fast devsel, latency 0, IRQ 46
	Memory at fe8f8000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: [50] Power Management version 2
	Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
	Capabilities: [100] Virtual Channel
	Capabilities: [130] Root Complex Link
	Kernel driver in use: HDA Intel
	Kernel modules: snd-hda-intel

00:1c.0 PCI bridge [0604]: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 1 [8086:3a40] (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
	I/O behind bridge: 00002000-00002fff
	Memory behind bridge: f0600000-f09fffff
	Prefetchable memory behind bridge: 00000000fde00000-00000000fdefffff
	Capabilities: [40] Express Root Port (Slot+), MSI 00
	Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
	Capabilities: [90] Subsystem: ASUSTeK Computer Inc. Device [1043:82d4]
	Capabilities: [a0] Power Management version 2
	Capabilities: [100] Virtual Channel
	Capabilities: [180] Root Complex Link
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:1c.2 PCI bridge [0604]: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 3 [8086:3a44] (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
	I/O behind bridge: 00001000-00001fff
	Memory behind bridge: f0200000-f05fffff
	Prefetchable memory behind bridge: 00000000fdd00000-00000000fddfffff
	Capabilities: [40] Express Root Port (Slot+), MSI 00
	Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
	Capabilities: [90] Subsystem: ASUSTeK Computer Inc. Device [1043:82d4]
	Capabilities: [a0] Power Management version 2
	Capabilities: [100] Virtual Channel
	Capabilities: [180] Root Complex Link
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:1c.5 PCI bridge [0604]: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 6 [8086:3a4a] (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
	I/O behind bridge: 0000d000-0000dfff
	Memory behind bridge: fea00000-feafffff
	Prefetchable memory behind bridge: 00000000f0000000-00000000f01fffff
	Capabilities: [40] Express Root Port (Slot+), MSI 00
	Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
	Capabilities: [90] Subsystem: ASUSTeK Computer Inc. Device [1043:82d4]
	Capabilities: [a0] Power Management version 2
	Capabilities: [100] Virtual Channel
	Capabilities: [180] Root Complex Link
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:1d.0 USB Controller [0c03]: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #1 [8086:3a34] (prog-if 00 [UHCI])
	Subsystem: ASUSTeK Computer Inc. Device [1043:82d4]
	Flags: bus master, medium devsel, latency 0, IRQ 23
	I/O ports at b080 [size=32]
	Capabilities: [50] Vendor Specific Information: Len=06 <?>
	Kernel driver in use: uhci_hcd
	Kernel modules: uhci-hcd

00:1d.1 USB Controller [0c03]: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #2 [8086:3a35] (prog-if 00 [UHCI])
	Subsystem: ASUSTeK Computer Inc. Device [1043:82d4]
	Flags: bus master, medium devsel, latency 0, IRQ 19
	I/O ports at b400 [size=32]
	Capabilities: [50] Vendor Specific Information: Len=06 <?>
	Kernel driver in use: uhci_hcd
	Kernel modules: uhci-hcd

00:1d.2 USB Controller [0c03]: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #3 [8086:3a36] (prog-if 00 [UHCI])
	Subsystem: ASUSTeK Computer Inc. Device [1043:82d4]
	Flags: bus master, medium devsel, latency 0, IRQ 18
	I/O ports at b480 [size=32]
	Capabilities: [50] Vendor Specific Information: Len=06 <?>
	Kernel driver in use: uhci_hcd
	Kernel modules: uhci-hcd

00:1d.7 USB Controller [0c03]: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #1 [8086:3a3a] (prog-if 20 [EHCI])
	Subsystem: ASUSTeK Computer Inc. Device [1043:82d4]
	Flags: bus master, medium devsel, latency 0, IRQ 23
	Memory at fe8ff800 (32-bit, non-prefetchable) [size=1K]
	Capabilities: [50] Power Management version 2
	Capabilities: [58] Debug port: BAR=1 offset=00a0
	Capabilities: [98] Vendor Specific Information: Len=06 <?>
	Kernel driver in use: ehci_hcd
	Kernel modules: ehci-hcd

00:1e.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev 90) (prog-if 01 [Subtractive decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=05, subordinate=05, sec-latency=32
	I/O behind bridge: 0000e000-0000efff
	Memory behind bridge: feb00000-febfffff
	Prefetchable memory behind bridge: 00000000fdf00000-00000000fdffffff
	Capabilities: [50] Subsystem: ASUSTeK Computer Inc. Device [1043:82d4]

00:1f.0 ISA bridge [0601]: Intel Corporation 82801JIR (ICH10R) LPC Interface Controller [8086:3a16]
	Subsystem: ASUSTeK Computer Inc. Device [1043:82d4]
	Flags: bus master, medium devsel, latency 0
	Capabilities: [e0] Vendor Specific Information: Len=0c <?>
	Kernel modules: iTCO_wdt

00:1f.2 SATA controller [0106]: Intel Corporation 82801JI (ICH10 Family) SATA AHCI Controller [8086:3a22] (prog-if 01 [AHCI 1.0])
	Subsystem: ASUSTeK Computer Inc. P5Q Deluxe Motherboard [1043:82d4]
	Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 44
	I/O ports at ac00 [size=8]
	I/O ports at a880 [size=4]
	I/O ports at a800 [size=8]
	I/O ports at a480 [size=4]
	I/O ports at a400 [size=32]
	Memory at fe8fe800 (32-bit, non-prefetchable) [size=2K]
	Capabilities: [80] MSI: Enable+ Count=1/16 Maskable- 64bit-
	Capabilities: [70] Power Management version 3
	Capabilities: [a8] SATA HBA v1.0
	Capabilities: [b0] Vendor Specific Information: Len=06 <?>
	Kernel driver in use: ahci
	Kernel modules: ahci

00:1f.3 SMBus [0c05]: Intel Corporation 82801JI (ICH10 Family) SMBus Controller [8086:3a30]
	Subsystem: ASUSTeK Computer Inc. Device [1043:82d4]
	Flags: medium devsel, IRQ 18
	Memory at fe8ff400 (64-bit, non-prefetchable) [size=256]
	I/O ports at 0400 [size=32]
	Kernel driver in use: i801_smbus
	Kernel modules: i2c-i801

01:00.0 VGA compatible controller [0300]: ATI Technologies Inc Cayman PRO [AMD Radeon 6900 Series] [1002:6719] (prog-if 00 [VGA controller])
	Subsystem: XFX Pine Group Inc. Device [1682:3122]
	Flags: bus master, fast devsel, latency 0, IRQ 48
	Memory at d0000000 (64-bit, prefetchable) [size=256M]
	Memory at fe9c0000 (64-bit, non-prefetchable) [size=128K]
	I/O ports at c000 [size=256]
	Expansion ROM at fe9a0000 [disabled] [size=128K]
	Capabilities: [50] Power Management version 3
	Capabilities: [58] Express Legacy Endpoint, MSI 00
	Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Capabilities: [150] Advanced Error Reporting
	Kernel driver in use: fglrx_pci
	Kernel modules: fglrx, radeon

01:00.1 Audio device [0403]: ATI Technologies Inc Device [1002:aa80]
	Subsystem: XFX Pine Group Inc. Device [1682:aa80]
	Flags: bus master, fast devsel, latency 0, IRQ 47
	Memory at fe9fc000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: [50] Power Management version 3
	Capabilities: [58] Express Legacy Endpoint, MSI 00
	Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Capabilities: [150] Advanced Error Reporting
	Kernel driver in use: HDA Intel
	Kernel modules: snd-hda-intel

02:00.0 Ethernet controller [0200]: Marvell Technology Group Ltd. 88E8056 PCI-E Gigabit Ethernet Controller [11ab:4364] (rev 12)
	Subsystem: ASUSTeK Computer Inc. Device [1043:81f8]
	Flags: bus master, fast devsel, latency 0, IRQ 45
	Memory at feafc000 (64-bit, non-prefetchable) [size=16K]
	I/O ports at d800 [size=256]
	Expansion ROM at feac0000 [disabled] [size=128K]
	Capabilities: [48] Power Management version 3
	Capabilities: [50] Vital Product Data
	Capabilities: [5c] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [e0] Express Legacy Endpoint, MSI 00
	Capabilities: [100] Advanced Error Reporting
	Kernel driver in use: sky2
	Kernel modules: sky2

03:00.0 Multimedia video controller [0400]: Device [1a0a:6200] (rev 01)
	Subsystem: Avermedia Technologies Inc Device [1461:6201]
	Flags: bus master, fast devsel, latency 0, IRQ 11
	Memory at fddf8000 (64-bit, prefetchable) [size=32K]
	Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
	Capabilities: [78] Power Management version 3
	Capabilities: [80] Express Endpoint, MSI 00
	Capabilities: [100] Virtual Channel

05:00.0 Multimedia video controller [0400]: Brooktree Corporation Bt878 Video Capture [109e:036e] (rev 11)
	Flags: bus master, medium devsel, latency 64, IRQ 16
	Memory at fdffe000 (32-bit, prefetchable) [size=4K]
	Capabilities: [44] Vital Product Data
	Capabilities: [4c] Power Management version 2
	Kernel driver in use: bttv
	Kernel modules: bttv

05:00.1 Multimedia controller [0480]: Brooktree Corporation Bt878 Audio Capture [109e:0878] (rev 11)
	Flags: bus master, medium devsel, latency 64, IRQ 10
	Memory at fdfff000 (32-bit, prefetchable) [size=4K]
	Capabilities: [44] Vital Product Data
	Capabilities: [4c] Power Management version 2

05:02.0 Ethernet controller [0200]: Marvell Technology Group Ltd. 88E8001 Gigabit Ethernet Controller [11ab:4320] (rev 14)
	Subsystem: ASUSTeK Computer Inc. Marvell 88E8001 Gigabit Ethernet Controller (Asus) [1043:811a]
	Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 18
	Memory at febfc000 (32-bit, non-prefetchable) [size=16K]
	I/O ports at e800 [size=256]
	Expansion ROM at febc0000 [disabled] [size=128K]
	Capabilities: [48] Power Management version 2
	Capabilities: [50] Vital Product Data
	Kernel driver in use: skge
	Kernel modules: skge

05:03.0 FireWire (IEEE 1394) [0c00]: Agere Systems FW322/323 [11c1:5811] (rev 70) (prog-if 10 [OHCI])
	Subsystem: ASUSTeK Computer Inc. IEEE 1394a Firewire Controller [1043:8294]
	Flags: bus master, medium devsel, latency 64, IRQ 19
	Memory at febfb000 (32-bit, non-prefetchable) [size=4K]
	Capabilities: [44] Power Management version 2
	Kernel driver in use: firewire_ohci
	Kernel modules: firewire-ohci

Last edited by shaurz (2011-08-18 00:19:31)

Offline

#8 2011-08-18 01:21:55

Gusar
Member
Registered: 2009-08-25
Posts: 3,606

Re: No network connection in Linux 3.0 (P5Q Deluxe)

The problem is, whatever driver gets loaded first will get eth0 and the other eth1. But the loading order can be different on each reboot. You'll need to use udev rules to give the two network cards persistent naming. Create a /etc/udev/rules.d/70-network.rules:

SUBSYSTEM=="net", ATTR{address}=="aa:bb:cc:dd:ee:ff", NAME="eth0"
SUBSYSTEM=="net", ATTR{address}=="ff:ee:dd:cc:bb:aa", NAME="eth1"

Replace those addresses with the actual mac addresses of your two networks cards, of course.

Last edited by Gusar (2011-08-18 01:27:57)

Offline

#9 2011-08-18 18:22:26

shaurz
Member
Registered: 2004-02-02
Posts: 358

Re: No network connection in Linux 3.0 (P5Q Deluxe)

Thanks a lot, that worked. Strange that the order of interfaces swaps around every time. Maybe that's why it was sometimes failing on 2.6.x, hopefully this solved it for good.

On a side note, I tried to get bonding to work by following the wiki, but with no success.

Offline

Board footer

Powered by FluxBB