Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#12553 - Can't get any network/internet connection with Arch linux 2008.06 and fully updated Arch
Attached to Project:
Arch Linux
Opened by André Fettouhi (A.Fettouhi) - Tuesday, 23 December 2008, 18:09 GMT
Last edited by James Rayner (iphitus) - Saturday, 17 January 2009, 22:22 GMT
Opened by André Fettouhi (A.Fettouhi) - Tuesday, 23 December 2008, 18:09 GMT
Last edited by James Rayner (iphitus) - Saturday, 17 January 2009, 22:22 GMT
|
DetailsDescription:
Since October/November I haven't been able to get a network/internet connection on my Arch Linux box. Sometimes I can do get a connection and the everything works until I restart or turn off the machine though on a few occation the network has disappeared after 20 minutes of use (sometime also in idling). Then if I want to use it again I have to restart it many times, unplug the network cable etc. and then maybe if I'm lucky I get my network back. Best solution so far has been turning off the machine completely, at the motherboard for 30 minutes or so. The last almost 2 months I've switched from static IP to DHCP, bought a new switch, new network cables and a new network card in the hope of finding the problem but still I have this issue. Then I went out and bought brand new pc (DELL Studio desktop). Installed a fresh copy of Arch on it using the 2008.06 core CD and straight after the installation, I still didn't have network. This was the very core installation (no alsa, no xorg, gnome etc.) only the standard packages plus dmraid, fuse and ntfs-3g. In order to finish the installation completely (getting GNOME on it) I had to do exactly the same as with the old one, turn it off completely for 30 minutes. I tried to change my network settings and let wicd do the job (used rc.conf,resolv.conf etc. before) but still no effect. I also tried to set full duplex, turning autoneg off and also turning off IPv6 but none of them have had ANY effect! In my network I have 2 Windows machines (Vista and XP), 3 consoles (Wii, PS3 and Xbox 360) and finally a server running Windows 2003 (exchange and DNS server). None of these machines have any problems connecting to the network and getting internet. Some of them run static IP (wired) and others run DHCP (wireless with WPA2 encryption). It is only my now 2 Arch machines that can't get any network connections. I can't ping the gateway or the DNS server or the DNS servers from my ISP. My new machine even has a wireless card and that can't see my wireless network (no wireless connections in wicd present). As mentioned earlier when I finally do get a connection my wireless card does see the wireless network and I can connect to it (so this problem goes beyond the network cards). In my frustration I downloaded to the latest Ubuntu (8.10) Live-CD, ran the Live-CD and immediately I had internet/network via DHCP. I then changed to static IP during the live session and 'viola' I still had network/internet (I couldn't do that in Arch anymore the network would come back up again). So something is very messed up with the network in Arch even on the core CD 2008.06 with the 2.6.25 kernel. I really need suggestions on how to fix this because I do not want to go back to Ubuntu or Windows. Additional info: * package version(s) * config and/or log files etc. Don't exactly know what packages that cause this error other than it has to do with the network. Steps to reproduce: Turn on the machines, let them boot, log in and start firefox. |
This task depends upon
In addition to the files RedShift asked for, are you using the "network" daemon, or "netcfg" ?
[af@andre ~]$ lspci
00:00.0 Host bridge: Intel Corporation 4 Series Chipset DRAM Controller (rev 03)
00:01.0 PCI bridge: Intel Corporation 4 Series Chipset PCI Express Root Port (rev 03)
00:1a.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #4
00:1a.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #5
00:1a.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #6
00:1a.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #2
00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller
00:1c.0 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Port 1
00:1c.2 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Port 3
00:1c.5 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Port 6
00:1d.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #1
00:1d.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #2
00:1d.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #3
00:1d.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #1
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 90)
00:1f.0 ISA bridge: Intel Corporation 82801JIR (ICH10R) LPC Interface Controller
00:1f.2 RAID bus controller: Intel Corporation 82801 SATA RAID Controller
00:1f.3 SMBus: Intel Corporation 82801JI (ICH10 Family) SMBus Controller
01:00.0 VGA compatible controller: nVidia Corporation Device 0605 (rev a2)
02:00.0 Network controller: Broadcom Corporation BCM4328 802.11a/b/g/n (rev 03)
03:00.0 FireWire (IEEE 1394): JMicron Technologies, Inc. IEEE 1394 Host Controller
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
and lsmod
[af@andre ~]$ lsmod
Module Size Used by
ipv6 260132 18
psmouse 38288 0
i2c_i801 10768 0
serio_raw 7172 0
pcspkr 4352 0
sg 28852 0
nvidia 7220856 36
intel_agp 27068 0
i2c_core 22420 2 i2c_i801,nvidia
agpgart 30804 2 nvidia,intel_agp
dcdbas 8736 0
thermal 17052 0
processor 34732 5 thermal
evdev 11296 6
fan 6148 0
button 7824 0
battery 12036 0
ac 6020 0
vboxdrv 66200 0
fuse 52892 2
snd_hda_intel 370736 1
snd_seq_oss 31872 0
snd_seq_midi_event 8192 1 snd_seq_oss
snd_seq 49968 4 snd_seq_oss,snd_seq_midi_event
snd_seq_device 8332 2 snd_seq_oss,snd_seq
snd_hwdep 8964 1 snd_hda_intel
snd_pcm_oss 40192 0
snd_pcm 69636 2 snd_hda_intel,snd_pcm_oss
snd_timer 21384 2 snd_seq,snd_pcm
snd_page_alloc 9224 2 snd_hda_intel,snd_pcm
snd_mixer_oss 16512 1 snd_pcm_oss
snd 50724 11 snd_hda_intel,snd_seq_oss,snd_seq,snd_seq_device,snd_hwdep,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
soundcore 8160 1 snd
rtc_cmos 11424 0
rtc_core 17564 1 rtc_cmos
rtc_lib 4480 1 rtc_core
usb_storage 96704 0
ext3 126344 2
jbd 46484 1 ext3
mbcache 8708 1 ext3
usbhid 46016 0
hid 41856 1 usbhid
ff_memless 6664 1 usbhid
dm_crypt 14724 0
crypto_blkcipher 17540 1 dm_crypt
sr_mod 16708 0
sd_mod 27160 2
wl 1073796 0
ohci1394 30256 0
cdrom 35360 1 sr_mod
ieee80211_crypt 6532 1 wl
ieee1394 80452 1 ohci1394
r8169 28804 0
mii 6528 1 r8169
ehci_hcd 36236 0
uhci_hcd 24080 0
usbcore 134384 5 usb_storage,usbhid,ehci_hcd,uhci_hcd
dm_mod 53704 11 dm_crypt
sata_sil 9480 0
ahci 30348 2
libata 153888 2 sata_sil,ahci
dock 9616 1 libata
scsi_mod 96460 5 sg,usb_storage,sr_mod,sd_mod,libata
I am using wicd now but I've been using the network daemon since I started using Arch (since March 2008) and the troubles with the network started back in October/November. No change to machine or the other parts of the network had been performed at the time. I've only been updating my Arch machine regulary.
Regards
André
PS. I'm not running the testing repo on my machine.
Can you try this with the normal Arch network scripts? If those work fine, we know this is a wicd error and can assign the bug to the proper maintainer
Regards
André
dmesg | tail -n30
or so and post it here?
I have a feeling this is a driver issue, and something that Ubuntu and others have patched.
Actually, I recall having problems with RealTek gigabit ethernet myself on Arch a long long time ago.
dmesg | tail -n30
[af@andre ~]$ dmesg | tail -n30
sda: rw=0, want=1953536123, limit=976773168
attempt to access beyond end of device
sda: rw=0, want=1953536124, limit=976773168
attempt to access beyond end of device
sda: rw=0, want=1953536125, limit=976773168
attempt to access beyond end of device
sda: rw=0, want=1953536126, limit=976773168
attempt to access beyond end of device
sda: rw=0, want=1953536127, limit=976773168
attempt to access beyond end of device
sda: rw=0, want=1953536128, limit=976773168
attempt to access beyond end of device
sda: rw=0, want=1953536129, limit=976773168
attempt to access beyond end of device
sda: rw=0, want=1953536130, limit=976773168
attempt to access beyond end of device
sda: rw=0, want=1953536124, limit=976773168
attempt to access beyond end of device
sda: rw=0, want=1953536125, limit=976773168
attempt to access beyond end of device
sda: rw=0, want=1953536126, limit=976773168
attempt to access beyond end of device
sda: rw=0, want=1953536127, limit=976773168
attempt to access beyond end of device
sda: rw=0, want=1953536128, limit=976773168
attempt to access beyond end of device
sda: rw=0, want=1953536129, limit=976773168
attempt to access beyond end of device
sda: rw=0, want=1953536130, limit=976773168
warning: `avahi-daemon' uses 32-bit capabilities (legacy support in use)
and below is the output when I get network again (had to restart 4 times before it came back up)
[af@andre ~]$ dmesg | tail -n30
attempt to access beyond end of device
sda: rw=0, want=1953536127, limit=976773168
attempt to access beyond end of device
sda: rw=0, want=1953536128, limit=976773168
attempt to access beyond end of device
sda: rw=0, want=1953536129, limit=976773168
attempt to access beyond end of device
sda: rw=0, want=1953536130, limit=976773168
attempt to access beyond end of device
sda: rw=0, want=1953536124, limit=976773168
attempt to access beyond end of device
sda: rw=0, want=1953536125, limit=976773168
attempt to access beyond end of device
sda: rw=0, want=1953536126, limit=976773168
attempt to access beyond end of device
sda: rw=0, want=1953536127, limit=976773168
attempt to access beyond end of device
sda: rw=0, want=1953536128, limit=976773168
attempt to access beyond end of device
sda: rw=0, want=1953536129, limit=976773168
attempt to access beyond end of device
sda: rw=0, want=1953536130, limit=976773168
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
warning: `avahi-daemon' uses 32-bit capabilities (legacy support in use)
r8169: eth0: link up
r8169: eth0: link up
r8169: eth0: link up
eth1: no IPv6 routers present
eth0: no IPv6 routers present
ifconfig -a
route -n
ethtool eth0
ping <YOURGATEWAYHERE>
ping <ANINTERNETADDRESSHERE>
and if possible supply us a packet trace as well in a .pcap file (wireshark can make these).
[root@andre ~]# /etc/rc.d/network start
:: Starting Network [DONE]
[root@andre ~]# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:23:4E:7E:F8:FD
inet6 addr: fe80::223:4eff:fe7e:f8fd/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:16 Base address:0xc000
eth1 Link encap:Ethernet HWaddr 00:21:70:4E:A8:6B
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:218 Base address:0x6000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:47 errors:0 dropped:0 overruns:0 frame:0
TX packets:47 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:8925 (8.7 Kb) TX bytes:8925 (8.7 Kb)
[root@andre ~]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
[root@andre ~]# ethtool eth0
Settings for eth0:
No data available
[root@andre ~]# ethtool eth1
Settings for eth1:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Advertised auto-negotiation: Yes
Speed: 1000Mb/s
Duplex: Full
Port: MII
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: pumbg
Wake-on: g
Current message level: 0x00000033 (51)
Link detected: yes
[root@andre ~]# ping 192.168.1.1
connect: Network is unreachable
[root@andre ~]# ping www.google.com
ping: unknown host www.google.com
as you can see I don't a network connection and I tried like 10 time with restarting and etc. but I never got it up. But the funny thing is that ethtool reports back on eth1 on and eth0 but eth0 is my wired connection and is plugged in. So something messed up with the naming conventions of Arch and the network adapters. it seems like it can't remember them after boot. After 20 tries or so in all (I switched back to wicd and then network and wicd again) I finally did get internet again and here is the new output
[root@andre ~]# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:21:70:4E:A8:6B
inet addr:192.168.1.3 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::221:70ff:fe4e:a86b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:317 errors:0 dropped:0 overruns:0 frame:0
TX packets:324 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:273837 (267.4 Kb) TX bytes:35519 (34.6 Kb)
Interrupt:218 Base address:0x2000
eth1 Link encap:Ethernet HWaddr 00:23:4E:7E:F8:FD
inet6 addr: fe80::223:4eff:fe7e:f8fd/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:1 dropped:0 overruns:0 frame:1009
TX packets:0 errors:6 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:16 Base address:0xc000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:44 errors:0 dropped:0 overruns:0 frame:0
TX packets:44 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:8769 (8.5 Kb) TX bytes:8769 (8.5 Kb)
[root@andre ~]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
[root@andre ~]# ethtool eth0
Settings for eth0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Advertised auto-negotiation: Yes
Speed: 1000Mb/s
Duplex: Full
Port: MII
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: pumbg
Wake-on: g
Current message level: 0x00000033 (51)
Link detected: yes
[root@andre ~]# ethtool eth1
Settings for eth1:
No data available
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=0.643 ms
PING www.l.google.com (74.125.79.99) 56(84) bytes of data.
64 bytes from ey-in-f99.google.com (74.125.79.99): icmp_seq=1 ttl=241 time=63.1 ms
SEE!!! Now eth0 and eth1 have been switched back (look at the MAC addresses) and now I have internet. Very strange... On my old machine I only had one network adapter (onboard) when this problem started so it just can't be that Arch is messing up with naming of the network adapters it has to go deeper than that IMHO.
Regards
André
SUBSYSTEM=="net", ATTRS{address}=="aa:bb:cc:dd:ee:ff", NAME="eth0"
SUBSYSTEM=="net", ATTRS{address}=="ff:ee:dd:cc:bb:aa", NAME="eth1"
Replace the physical addresses to the ones you want.
Regards
André
Kind Regards
André
ifconfig -a
said that eth0 and eth1 still were switched around, e.g. eth0 was eth1 and eth1 was eth0 (looking at the MAC addresses).
Regards
André
Regards
André
Regards
André
That will ensure your devices are always in the same order
40-alsa.rules 60-persistent-input.rules
40-ia64.rules 60-persistent-storage-tape.rules
40-isdn.rules 60-persistent-storage.rules
40-pilot-links.rules 60-persistent-v4l.rules
40-ppc.rules 61-persistent-storage-edd.rules
40-s390.rules 64-device-mapper.rules
40-zaptel.rules 64-md-raid.rules
50-udev-default.rules 79-fstab_import.rules
50-udev-default.rules.orig 80-drivers.rules
60-cdrom_id.rules 95-udev-late.rules
which ones do you mean I need to edit?
Regards
André
[af@andre rules.d]$ ls
40-alsa.rules 60-persistent-input.rules
40-ia64.rules 60-persistent-storage-tape.rules
40-isdn.rules 60-persistent-storage.rules
40-pilot-links.rules 60-persistent-v4l.rules
40-ppc.rules 61-persistent-storage-edd.rules
40-s390.rules 64-device-mapper.rules
40-zaptel.rules 64-md-raid.rules
50-udev-default.rules 79-fstab_import.rules
50-udev-default.rules.orig 80-drivers.rules
60-cdrom_id.rules 95-udev-late.rules
the rest
[af@andre rules.d]$ ls
60-persistent-input.rules
60-persistent-storage-tape.rules
60-persistent-storage.rules
60-persistent-v4l.rules
61-persistent-storage-edd.rules
64-device-mapper.rules
64-md-raid.rules
79-fstab_import.rules
80-drivers.rules
95-udev-late.rules
Those rules should mostly be moved to /lib/udev/ not /etc/udev
I'm talking about this file:
$ pacman -Qo /etc/udev/rules.d/75-persistent-net-generator.rules.optional
/etc/udev/rules.d/75-persistent-net-generator.rules.optional is owned by udev 132-1
[af@andre ~]$ cd /etc/udev/rules.d
[af@andre rules.d]$ ls -l
totalt 268
-rw-r--r-- 1 root root 1499 2 aug 06:29 45-libnjb.rules
-rw-r--r-- 1 root root 93643 7 mar 2008 53-sane.rules
-rw-r--r-- 1 root root 70012 21 okt 21:57 54-gphoto.rules
-rw-r--r-- 1 root root 8507 6 dec 03:50 55-hpmud.rules
-rw-r--r-- 1 root root 1071 24 sep 16:13 60-pcmcia.rules
-rw-r--r-- 1 root root 79 12 nov 06:22 60-virtualbox.rules
-rw-r--r-- 1 root root 41338 21 dec 09:30 65-libmtp.rules
-rw-r--r-- 1 root root 390 8 okt 09:37 75-cd-aliases-generator.rules.optional
-rw-r--r-- 1 root root 2403 8 okt 09:37 75-persistent-net-generator.rules.optional
-rw-r--r-- 1 root root 7010 8 okt 09:37 81-arch.rules
-rw-r--r-- 1 root root 82 14 sep 12:48 90-hal.rules
-rw-r--r-- 1 root root 28 19 okt 16:19 99-fuse.rules
-rw-r--r-- 1 root root 201 15 nov 03:45 device-mapper.rules
I'll try to enable it and see if that helps.
Regards
André
Regards
Regards
Andre
pacman -S netcfg, modify the default /etc/iftab, and add net-rename to your DAEMONS=() before network.
I name my wireless ipw2100 ipw0, and my hardware ethernet rl0, but you can rename them whatever you like.
netcfg isn't required, but it's convenient as the netcfg package contains the rc.d/ daemon and the example config.
Regards
André
Buffer I/O error on device sda3, logical block 1745542400
Buffer I/O error on device sda3, logical block 1745542401
Buffer I/O error on device sda3, logical block 1745542402
Buffer I/O error on device sda3, logical block 1745542403
Buffer I/O error on device sda3, logical block 1745542404
RTNL: assertion failed at net/core/fub_rules.c (625)
RTNL: assertion failed at net/ipv4/devinet.c (1045)
RTNL: assertion failed at net/ipv4/imgp.c (1348)
RTNL: assertion failed at net/ipv4/imgp.c (1199)
usb2-2: device not accepting address at 2, error -71 (doesn't appear always)
mknod: File exists
What do these errors mean and where do they come from? Is it the hardware of some
thing software?
Regards
André
Regards
André
smartctl -t long /dev/sda
and then looked at the error log file
[root@andre ~]# smartctl -l error /dev/sda
smartctl version 5.38 [i686-pc-linux-gnu] Copyright (C) 2002-8 Bruce Allen
Home page is http://smartmontools.sourceforge.net/
=== START OF READ SMART DATA SECTION ===
SMART Error Log Version: 1
No Errors Logged
Regards
André
sda: rw=0, want=1953536123, limit=976773168
attempt to access beyond end of device
Regards
André
Regards
André
Buffer I/O error on device sda3, logical block 1745542400
Buffer I/O error on device sda3, logical block 1745542401
Buffer I/O error on device sda3, logical block 1745542402
Buffer I/O error on device sda3, logical block 1745542403
Buffer I/O error on device sda3, logical block 1745542404
RTNL: assertion failed at net/core/fub_rules.c (625)
RTNL: assertion failed at net/ipv4/devinet.c (1045)
RTNL: assertion failed at net/ipv4/imgp.c (1348)
RTNL: assertion failed at net/ipv4/imgp.c (1199)
usb2-2: device not accepting address at 2, error -71 (doesn't appear always)
are gone :-D.
Regards
André
Closing this as not a bug.