Public bug reported:

-- The context --

I am using Linux 3.2.0-24-generic-pae on Ubuntu Precise Pangolin,
32-bit, installed on 2012-04-29. The computer I am currently using is an
Acer Aspire AM3450-ES10P, whose network card is identified in 'lspci'
output as follows:

  05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)

Until 2012-05-20 or so, the network interface worked fine in Precise (
unlike in Lucid where it would constantly go up and down every 5 to 20
minutes, starting from boot ).

-- The problem --

On or around 2012-05-20, the network interface started to go down and up
at random times, which I initially thought of as the Internet access on
my downstream router going out, but I started to see NetworkManager
(GNOME) notifications as well:

  [ Wired connection 1 - Disconnected, you are now offline ]

The dmesg log gets filled with "link is now down" and "link is now up"
at random times, the period between which is random and can be anything
from 5 minutes to 2 hours. 'dhclient' gets killed and restarted, and no
crash is reported on dhclient.

The computer that is affected was bought during the month of 2012-02.
>From it, the path to the Internet is as follows:

* The NIC, which is on a chip on the motherboard, and supports 100BaseT and 
1000BaseT;
* A plug on the computer, with 2 status lights, one on either side of the plug. 
The status light closest to the top of the computer (i.e. the power supply 
unit) flashes when the network is accessed, and the status light closest to the 
bottom is constantly on;
* An Ethernet cable bought during the month of 2011-12, with connectors that 
rest securely in the Ethernet plug, known good due to it working flawlessly on 
the previous computer;
* A D-Link router, whose status light for the affected computer does absolutely 
nothing when this bug occurs, staying on throughout the subsequent reconnection;
* An Ethernet cable between the router and the modem, also bought during the 
month of 2011-12 and known good;
* A SpeedTouch modem for ADSL service, whose status light for "Internet" does 
absolutely nothing when this bug occurs, staying on throughout the 
disconnection and subsequent reconnection;
* A phone wire.

IPv4 addresses are not in conflict on the network. The D-Link router is
set up as a DHCP server and hands out fixed addresses by MAC. There are
no IPv6 addresses on the network.

NetworkManager is set up via GNOME to seek DHCP addresses but have
custom DNS nameservers at 127.0.0.1 (bind9, for the local network) and
192.168.0.1, the D-Link router, which forwards DNS requests to the ISP's
nameservers. There is also a custom DNS suffix for the local network,
which is not '.local'.

-- The workarounds attempted --

I installed the "connman" package around 2012-05-05 and uninstalled it
right away, restoring network-manager (because connman was flaky), and
only today (2012-05-31) uninstalled its configuration files. Even after
deleting its configuration files and rebooting, the bug persists.

I attempted a workaround based on something I found at [1]: add "ethtool
-s eth0 autoneg off" to /etc/network/if-pre-up.d/ethtool. Even after
rebooting, the bug persists.

I had seen during the first week of installation (2012-04-29 to
2012-05-04) that avahi-daemon crashed and caused one or two
disconnections during that week, after which dhclient ran and
reconnected to the LAN. Apport prompted me to send a problem report, but
I don't know if it ever reached Launchpad due to the problem being
network-related.

I uninstalled avahi-daemon and avahi-autoipd today. Even after
rebooting, the bug persists.

-- Other possibly pertinent information --

I installed the zram-config package, which is apparently marked as
staging. If I should uninstall it first due to the staging mark, then I
shall.

I can attach Apport-collect information to this bug report on request,
but the transfer of information may cut off in the middle...

[1] http://forums.fedoraforum.org/showthread.php?t=250807

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: linux-image-3.2.0-24-generic-pae 3.2.0-24.39
ProcVersionSignature: Ubuntu 3.2.0-24.39-generic-pae 3.2.16
Uname: Linux 3.2.0-24-generic-pae i686
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 2.0.1-0ubuntu8
Architecture: i386
AudioDevicesInUse:
 USER        PID ACCESS COMMAND
 /dev/snd/controlC1:  cynthia    2239 F.... pulseaudio
 /dev/snd/controlC0:  cynthia    2239 F.... pulseaudio
 /dev/snd/seq:        timidity   1818 F.... timidity
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not 
found.
Card0.Amixer.info:
 Card hw:0 'SB'/'HDA ATI SB at 0xfeb00000 irq 16'
   Mixer name   : 'Realtek ALC662 rev1'
   Components   : 'HDA:10ec0662,10258100,00100101'
   Controls      : 36
   Simple ctrls  : 20
Card1.Amixer.info:
 Card hw:1 'HDMI'/'HDA ATI HDMI at 0xfe910000 irq 19'
   Mixer name   : 'ATI RS690/780 HDMI'
   Components   : 'HDA:1002791a,00791a00,00100000'
   Controls      : 4
   Simple ctrls  : 1
Card1.Amixer.values:
 Simple mixer control 'IEC958',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
Date: Thu May 31 21:05:17 2012
HibernationDevice: RESUME=UUID=beb517d6-0687-4ecb-a4a6-0d21aedb9ec2
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423)
IwConfig:
 lo        no wireless extensions.
 
 eth0      no wireless extensions.
MachineType: Acer Aspire M3450
ProcEnviron:
 LANGUAGE=en_CA:en
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_CA.UTF-8
 SHELL=/bin/bash
ProcFB: 0 radeondrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.2.0-24-generic-pae 
root=UUID=7716c476-e7b8-43c6-ae32-14e77e12de69 ro vt.handoff=7
PulseList:
 Error: command ['pacmd', 'list'] failed with exit code 1: Home directory 
/home/cynthia not ours.
 No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-3.2.0-24-generic-pae N/A
 linux-backports-modules-3.2.0-24-generic-pae  N/A
 linux-firmware                                1.79
RfKill:
 
SourcePackage: linux
StagingDrivers: zram
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 09/30/2011
dmi.bios.vendor: AMI
dmi.bios.version: P01-A2
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: Aspire M3450
dmi.board.vendor: Acer
dmi.board.version: To be filled by O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: Acer
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: 
dmi:bvnAMI:bvrP01-A2:bd09/30/2011:svnAcer:pnAspireM3450:pvrTobefilledbyO.E.M.:rvnAcer:rnAspireM3450:rvrTobefilledbyO.E.M.:cvnAcer:ct3:cvrToBeFilledByO.E.M.:
dmi.product.name: Aspire M3450
dmi.product.version: To be filled by O.E.M.
dmi.sys.vendor: Acer

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 precise staging

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1007236

Title:
  Realtek RTL8111/8168B wired network interface goes up and down at
  random

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1007236/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to