Bug 12296 - RTL8111 network connection is not working
RTL8111 network connection is not working
Status: RESOLVED OBSOLETE
Product: Drivers
Classification: Unclassified
Component: Network
All Linux
: P1 blocking
Assigned To: Francois Romieu
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-12-25 15:22 UTC by Adam
Modified: 2013-12-10 16:20 UTC (History)
6 users (show)

See Also:
Kernel Version: 3.4-rc5
Tree: Mainline
Regression: No


Attachments
Dmesg (61.84 KB, text/plain)
2010-12-09 12:08 UTC, Pietro Battiston
Details
r8169.c (105.99 KB, text/x-csrc)
2010-12-09 12:14 UTC, Pietro Battiston
Details
Patch (1.99 KB, patch)
2010-12-09 12:26 UTC, Pietro Battiston
Details | Diff
Another Debian patch (3.88 KB, patch)
2010-12-09 12:28 UTC, Pietro Battiston
Details | Diff
dmesg - git kernel (65.66 KB, text/x-log)
2011-02-22 22:12 UTC, Pietro Battiston
Details

Description Adam 2008-12-25 15:22:09 UTC
Latest working kernel version:

Earliest failing kernel version:

Distribution: Ubuntu 8.10

Hardware Environment: ASRock G41M-LE motherboard
                     (Realtek RTL8111DL gigabit ethernet)

Software Environment: Ubuntu 8.10

Problem Description:
Neither dhcp nor static IP assignment works.
After ifconfig eth0 192.168.1.222, I can ping the interface (e.g. 192.168.1.222)
The interface will show UP BROADCAST MULTICAST, but not RUNNING.
If configured for DHCP, dhclient etho times out with no DHCPOFFER received.
mii-tool -v shows: SIOCGMIIPHY on 'eth0' failed: Operation not supported

One strange thing is lspci -vv shows the Realtek ethernet device, but the kernel module listed at the bottom is r8169. I think this should be the r8168 module?

Steps to reproduce: Install Ubuntu on machine with an integrated RTL8111.
Comment 1 Francois Romieu 2008-12-26 11:42:41 UTC
Adam :
[...]
> One strange thing is lspci -vv shows the Realtek ethernet device, but the
> kernel module listed at the bottom is r8169. I think this should be the r8168
> module?

There is no in-kernel r8168 module: the r8169 kernel module handles 8169 as
well as 8168 and 810[1/2]. Realtek choose to split the in-kernel module to
derive their family of drivers.

Returning to your problem, a complete 'dmesg' of your kernel (including the
early boot) would help figure the specific revision of your chipset.

'lspci -vv' would be welcome too.

Thanks in advance.

-- 
Ueimor
Comment 2 Pietro Battiston 2010-01-08 21:54:47 UTC
Hello. I have the same problem, and it's still there in 2.6.31 (Ubuntu Karmic's 2.6.31-17-generic x86_64, but it's there at least since Jaunty).

However, I think that the reporter overlooked a fact (at least, that's true in my case, and I also have a RTL8111/8168B): at the boot, the card does work fine, it starts misbehaving after the first standby/resume.

The bug is hence quite similar to #10130, though the reported symptoms are not identical: I do see that after standby/resume the 1000 Mbps is no more advertized, but I was not able to solve the problem with "sudo ethtool -s eth0 speed 1000". And then, my problem is not just the speed, but the fact that, as reported, dhcp doesn't work.

The problem is solved if I "rmmod r8169" before suspending and I modprobe it after resume. Moreover, what is funny is that if I
- boot
- rmmod
- suspend
- resume
- modprobe

then, the other times I suspend/resume, the module will work fine even if I don't rmmod/modprobe every time. Vice-versa, if I
- boot
- suspend
- resume

then, the other times the module won't work at all: rmmod/modprobing won't help.

The output of "sudo lspci -vv" and of "dmesg" follows, please let me know if there is anything else I can do.

Pietro


09:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
	Subsystem: Hewlett-Packard Company Device 30f1
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 27
	Region 0: I/O ports at 2000 [size=256]
	Region 2: Memory at d1110000 (64-bit, prefetchable) [size=4K]
	Region 4: Memory at d1100000 (64-bit, prefetchable) [size=64K]
	Expansion ROM at d1120000 [disabled] [size=64K]
	Capabilities: [40] Power Management version 3
		Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [50] Message Signalled Interrupts: Mask- 64bit+ Queue=0/1 Enable+
		Address: 00000000fee0300c  Data: 4189
	Capabilities: [70] Express (v1) Endpoint, MSI 01
		DevCap:	MaxPayload 256 bytes, PhantFunc 0, Latency L0s <512ns, L1 <8us
			ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
		DevCtl:	Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
			RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop-
			MaxPayload 128 bytes, MaxReadReq 4096 bytes
		DevSta:	CorrErr+ UncorrErr- FatalErr- UnsuppReq+ AuxPwr+ TransPend-
		LnkCap:	Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency L0 <512ns, L1 <64us
			ClockPM+ Suprise- LLActRep- BwNot-
		LnkCtl:	ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+
			ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
		LnkSta:	Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
	Capabilities: [b0] MSI-X: Enable- Mask- TabSize=2
		Vector table: BAR=4 offset=00000000
		PBA: BAR=4 offset=00000800
	Capabilities: [d0] Vital Product Data <?>
	Capabilities: [100] Advanced Error Reporting <?>
	Capabilities: [140] Virtual Channel <?>
	Capabilities: [160] Device Serial Number 00-00-00-00-00-00-00-00
	Kernel driver in use: r8169
	Kernel modules: r8169




[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 2.6.31-17-generic (buildd@crested) (gcc version 4.4.1 (Ubuntu 4.4.1-4ubuntu8) ) #54-Ubuntu SMP Thu Dec 10 17:01:44 UTC 2009 (Ubuntu 2.6.31-17.54-generic)
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-2.6.31-17-generic root=UUID=f2a4db62-eca3-4a91-9d0f-163b4c1613f6 ro quiet splash i8042.reset hpet=disable
[    0.000000] KERNEL supported cpus:
[    0.000000]   Intel GenuineIntel
[    0.000000]   AMD AuthenticAMD
[    0.000000]   Centaur CentaurHauls
[    0.000000] BIOS-provided physical RAM map:
[    0.000000]  BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
[    0.000000]  BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
[    0.000000]  BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
[    0.000000]  BIOS-e820: 0000000000100000 - 00000000afb8f000 (usable)
[    0.000000]  BIOS-e820: 00000000afb8f000 - 00000000afc3c000 (ACPI NVS)
[    0.000000]  BIOS-e820: 00000000afc3c000 - 00000000afd70000 (usable)
[    0.000000]  BIOS-e820: 00000000afd70000 - 00000000afdbf000 (reserved)
[    0.000000]  BIOS-e820: 00000000afdbf000 - 00000000afe58000 (usable)
[    0.000000]  BIOS-e820: 00000000afe58000 - 00000000afebf000 (ACPI NVS)
[    0.000000]  BIOS-e820: 00000000afebf000 - 00000000afeed000 (usable)
[    0.000000]  BIOS-e820: 00000000afeed000 - 00000000afeff000 (ACPI data)
[    0.000000]  BIOS-e820: 00000000afeff000 - 00000000aff00000 (usable)
[    0.000000]  BIOS-e820: 00000000e0000000 - 00000000e4000000 (reserved)
[    0.000000]  BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
[    0.000000]  BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
[    0.000000]  BIOS-e820: 00000000fff00000 - 0000000100000000 (reserved)
[    0.000000] DMI 2.4 present.
[    0.000000] last_pfn = 0xaff00 max_arch_pfn = 0x400000000
[    0.000000] MTRR default type: uncachable
[    0.000000] MTRR fixed ranges enabled:
[    0.000000]   00000-9FFFF write-back
[    0.000000]   A0000-BFFFF uncachable
[    0.000000]   C0000-FFFFF write-through
[    0.000000] MTRR variable ranges enabled:
[    0.000000]   0 base 00FFF00000 mask FFFFF00000 write-protect
[    0.000000]   1 base 0000000000 mask FF80000000 write-back
[    0.000000]   2 base 0080000000 mask FFE0000000 write-back
[    0.000000]   3 base 00A0000000 mask FFF0000000 write-back
[    0.000000]   4 disabled
[    0.000000]   5 disabled
[    0.000000]   6 disabled
[    0.000000]   7 disabled
[    0.000000] x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
[    0.000000] e820 update range: 0000000000001000 - 0000000000006000 (usable) ==> (reserved)
[    0.000000] Scanning 1 areas for low memory corruption
[    0.000000] modified physical RAM map:
[    0.000000]  modified: 0000000000000000 - 0000000000001000 (usable)
[    0.000000]  modified: 0000000000001000 - 0000000000006000 (reserved)
[    0.000000]  modified: 0000000000006000 - 000000000009fc00 (usable)
[    0.000000]  modified: 000000000009fc00 - 00000000000a0000 (reserved)
[    0.000000]  modified: 00000000000e0000 - 0000000000100000 (reserved)
[    0.000000]  modified: 0000000000100000 - 00000000afb8f000 (usable)
[    0.000000]  modified: 00000000afb8f000 - 00000000afc3c000 (ACPI NVS)
[    0.000000]  modified: 00000000afc3c000 - 00000000afd70000 (usable)
[    0.000000]  modified: 00000000afd70000 - 00000000afdbf000 (reserved)
[    0.000000]  modified: 00000000afdbf000 - 00000000afe58000 (usable)
[    0.000000]  modified: 00000000afe58000 - 00000000afebf000 (ACPI NVS)
[    0.000000]  modified: 00000000afebf000 - 00000000afeed000 (usable)
[    0.000000]  modified: 00000000afeed000 - 00000000afeff000 (ACPI data)
[    0.000000]  modified: 00000000afeff000 - 00000000aff00000 (usable)
[    0.000000]  modified: 00000000e0000000 - 00000000e4000000 (reserved)
[    0.000000]  modified: 00000000fec00000 - 00000000fec01000 (reserved)
[    0.000000]  modified: 00000000fee00000 - 00000000fee01000 (reserved)
[    0.000000]  modified: 00000000fff00000 - 0000000100000000 (reserved)
[    0.000000] initial memory mapped : 0 - 20000000
[    0.000000] init_memory_mapping: 0000000000000000-00000000aff00000
[    0.000000] NX (Execute Disable) protection: active
[    0.000000]  0000000000 - 00afe00000 page 2M
[    0.000000]  00afe00000 - 00aff00000 page 4k
[    0.000000] kernel direct mapping tables up to aff00000 @ 8000-d000
[    0.000000] RAMDISK: 3782f000 - 37fef000
[    0.000000] ACPI: RSDP 00000000000fe020 00024 (v02 HP    )
[    0.000000] ACPI: XSDT 00000000afefe120 0005C (v01 HPQOEM SLIC-MPC 00000003      01000013)
[    0.000000] ACPI: FACP 00000000afefd000 000F4 (v04 HP     30F1     00000003 MSFT 0100000D)
[    0.000000] ACPI: DSDT 00000000afef0000 092A1 (v01 HP     30F1     F0000000 INTL 20051117)
[    0.000000] ACPI: FACS 00000000afe61000 00040
[    0.000000] ACPI: HPET 00000000afefc000 00038 (v01 HP     30F1     00000001 MSFT 000F4240)
[    0.000000] ACPI: APIC 00000000afefb000 00084 (v02 HP     30F1     00000001 TFSM 000F4240)
[    0.000000] ACPI: MCFG 00000000afefa000 0003C (v01 HP     30F1     00000001 TFSM 000F4240)
[    0.000000] ACPI: BOOT 00000000afeef000 00028 (v01 HP     30F1     00000001     00000001)
[    0.000000] ACPI: SLIC 00000000afeee000 00176 (v01 HPQOEM SLIC-MPC 06040000  LTP 00000001)
[    0.000000] ACPI: SSDT 00000000afeed000 00386 (v01 AMD    PowerNow 00000001 AMD  00000001)
[    0.000000] ACPI: Local APIC address 0xfee00000
[    0.000000] Scanning NUMA topology in Northbridge 24
[    0.000000] No NUMA configuration found
[    0.000000] Faking a node at 0000000000000000-00000000aff00000
[    0.000000] Bootmem setup node 0 0000000000000000-00000000aff00000
[    0.000000]   NODE_DATA [000000000000b000 - 000000000000ffff]
[    0.000000]   bootmap [0000000000010000 -  0000000000025fdf] pages 16
[    0.000000] (7 early reservations) ==> bootmem [0000000000 - 00aff00000]
[    0.000000]   #0 [0000000000 - 0000001000]   BIOS data page ==> [0000000000 - 0000001000]
[    0.000000]   #1 [0000006000 - 0000008000]       TRAMPOLINE ==> [0000006000 - 0000008000]
[    0.000000]   #2 [0001000000 - 00019e4ccc]    TEXT DATA BSS ==> [0001000000 - 00019e4ccc]
[    0.000000]   #3 [003782f000 - 0037fef000]          RAMDISK ==> [003782f000 - 0037fef000]
[    0.000000]   #4 [000009fc00 - 0000100000]    BIOS reserved ==> [000009fc00 - 0000100000]
[    0.000000]   #5 [00019e5000 - 00019e51f0]              BRK ==> [00019e5000 - 00019e51f0]
[    0.000000]   #6 [0000008000 - 000000b000]          PGTABLE ==> [0000008000 - 000000b000]
[    0.000000]  [ffffea0000000000-ffffea00027fffff] PMD -> [ffff880001e00000-ffff8800045fffff] on node 0
[    0.000000] Zone PFN ranges:
[    0.000000]   DMA      0x00000000 -> 0x00001000
[    0.000000]   DMA32    0x00001000 -> 0x00100000
[    0.000000]   Normal   0x00100000 -> 0x00100000
[    0.000000] Movable zone start PFN for each node
[    0.000000] early_node_map[7] active PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00000001
[    0.000000]     0: 0x00000006 -> 0x0000009f
[    0.000000]     0: 0x00000100 -> 0x000afb8f
[    0.000000]     0: 0x000afc3c -> 0x000afd70
[    0.000000]     0: 0x000afdbf -> 0x000afe58
[    0.000000]     0: 0x000afebf -> 0x000afeed
[    0.000000]     0: 0x000afeff -> 0x000aff00
[    0.000000] On node 0 totalpages: 720165
[    0.000000]   DMA zone: 56 pages used for memmap
[    0.000000]   DMA zone: 102 pages reserved
[    0.000000]   DMA zone: 3836 pages, LIFO batch:0
[    0.000000]   DMA32 zone: 9797 pages used for memmap
[    0.000000]   DMA32 zone: 706374 pages, LIFO batch:31
[    0.000000] ACPI: PM-Timer IO Port: 0x408
[    0.000000] ACPI: Local APIC address 0xfee00000
[    0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x02] lapic_id[0x00] disabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x03] lapic_id[0x00] disabled)
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0x02] high edge lint[0x1])
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0x03] high edge lint[0x1])
[    0.000000] ACPI: IOAPIC (id[0x04] address[0xfec00000] gsi_base[0])
[    0.000000] IOAPIC[0]: apic_id 4, version 33, address 0xfec00000, GSI 0-23
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level)
[    0.000000] ACPI: IRQ0 used by override.
[    0.000000] ACPI: IRQ2 used by override.
[    0.000000] ACPI: IRQ9 used by override.
[    0.000000] Using ACPI (MADT) for SMP configuration information
[    0.000000] ACPI: HPET id: 0x1002a201 base: 0xfed00000
[    0.000000] SMP: Allowing 4 CPUs, 2 hotplug CPUs
[    0.000000] nr_irqs_gsi: 24
[    0.000000] PM: Registered nosave memory: 0000000000001000 - 0000000000006000
[    0.000000] PM: Registered nosave memory: 000000000009f000 - 00000000000a0000
[    0.000000] PM: Registered nosave memory: 00000000000a0000 - 00000000000e0000
[    0.000000] PM: Registered nosave memory: 00000000000e0000 - 0000000000100000
[    0.000000] PM: Registered nosave memory: 00000000afb8f000 - 00000000afc3c000
[    0.000000] PM: Registered nosave memory: 00000000afd70000 - 00000000afdbf000
[    0.000000] PM: Registered nosave memory: 00000000afe58000 - 00000000afebf000
[    0.000000] PM: Registered nosave memory: 00000000afeed000 - 00000000afeff000
[    0.000000] Allocating PCI resources starting at aff00000 (gap: aff00000:30100000)
[    0.000000] NR_CPUS:64 nr_cpumask_bits:64 nr_cpu_ids:4 nr_node_ids:1
[    0.000000] PERCPU: Embedded 30 pages at ffff880001a02000, static data 90720 bytes
[    0.000000] Built 1 zonelists in Node order, mobility grouping on.  Total pages: 710210
[    0.000000] Policy zone: DMA32
[    0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.31-17-generic root=UUID=f2a4db62-eca3-4a91-9d0f-163b4c1613f6 ro quiet splash i8042.reset hpet=disable
[    0.000000] PID hash table entries: 4096 (order: 12, 32768 bytes)
[    0.000000] Initializing CPU#0
[    0.000000] Checking aperture...
[    0.000000] No AGP bridge found
[    0.000000] Calgary: detecting Calgary via BIOS EBDA area
[    0.000000] Calgary: Unable to locate Rio Grande table in EBDA - bailing!
[    0.000000] Memory: 2820928k/2882560k available (5315k kernel code, 1900k absent, 59732k reserved, 3017k data, 660k init)
[    0.000000] SLUB: Genslabs=14, HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] NR_IRQS:4352 nr_irqs:440
[    0.000000] Fast TSC calibration using PIT
[    0.000000] Detected 1049.404 MHz processor.
[    0.000094] spurious 8259A interrupt: IRQ7.
[    0.001796] Console: colour VGA+ 80x25
[    0.001807] console [tty0] enabled
[    0.010000] allocated 28835840 bytes of page_cgroup
[    0.010000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[    0.010025] Calibrating delay loop (skipped), value calculated using timer frequency.. 4197.60 BogoMIPS (lpj=20988010)
[    0.010134] Security Framework initialized
[    0.010208] AppArmor: AppArmor initialized
[    0.011765] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
[    0.020000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.020000] Mount-cache hash table entries: 256
[    0.020000] Initializing cgroup subsys ns
[    0.020000] Initializing cgroup subsys cpuacct
[    0.020000] Initializing cgroup subsys memory
[    0.020000] Initializing cgroup subsys freezer
[    0.020000] Initializing cgroup subsys net_cls
[    0.020000] CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
[    0.020000] CPU: L2 Cache: 1024K (64 bytes/line)
[    0.020000] CPU 0/0x0 -> Node 0
[    0.020000] tseg: 00aff00000
[    0.020000] CPU: Physical Processor ID: 0
[    0.020000] CPU: Processor Core ID: 0
[    0.020000] mce: CPU supports 5 MCE banks
[    0.020000] using C1E aware idle routine
[    0.020000] Performance Counters: AMD PMU driver.
[    0.020000] ... version:                 0
[    0.020000] ... bit width:               48
[    0.020000] ... generic counters:        4
[    0.020000] ... value mask:              0000ffffffffffff
[    0.020000] ... max period:              00007fffffffffff
[    0.020000] ... fixed-purpose counters:  0
[    0.020000] ... counter mask:            000000000000000f
[    0.020072] ACPI: Core revision 20090521
[    0.040341] Setting APIC routing to flat
[    0.041172] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[    0.142724] CPU0: AMD Turion(tm) X2 Ultra Dual-Core Mobile ZM-80 stepping 01
[    0.150000] Booting processor 1 APIC 0x1 ip 0x6000
[    0.010000] Initializing CPU#1
[    0.010000] Calibrating delay using timer specific routine.. 4198.84 BogoMIPS (lpj=20994240)
[    0.010000] CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
[    0.010000] CPU: L2 Cache: 1024K (64 bytes/line)
[    0.010000] CPU 1/0x1 -> Node 0
[    0.010000] CPU: Physical Processor ID: 0
[    0.010000] CPU: Processor Core ID: 1
[    0.010000] mce: CPU supports 5 MCE banks
[    0.010000] x86 PAT enabled: cpu 1, old 0x7040600070406, new 0x7010600070106
[    0.301354] CPU1: AMD Turion(tm) X2 Ultra Dual-Core Mobile ZM-80 stepping 01
[    0.301435] checking TSC synchronization [CPU#0 -> CPU#1]:
[    0.310000] Measured 207542147 cycles TSC warp between CPUs, turning off TSC clock.
[    0.310000] Marking TSC unstable due to check_tsc_sync_source failed
[    0.310036] Brought up 2 CPUs
[    0.310046] Total of 2 processors activated (8396.45 BogoMIPS).
[    0.310175] CPU0 attaching sched-domain:
[    0.310186]  domain 0: span 0-1 level MC
[    0.310197]   groups: 0 1
[    0.310216] CPU1 attaching sched-domain:
[    0.310224]  domain 0: span 0-1 level MC
[    0.310233]   groups: 1 0
[    0.310489] Booting paravirtualized kernel on bare hardware
[    0.310851] regulator: core version 0.5
[    0.310851] Time: 22:25:09  Date: 01/08/10
[    0.310851] NET: Registered protocol family 16
[    0.310851] TOM: 00000000c0000000 aka 3072M
[    0.310851] Fam 10h mmconf [e0000000, e0ffffff]
[    0.310875] ACPI: bus type pci registered
[    0.311209] PCI: MCFG configuration 0: base e0000000 segment 0 buses 0 - 63
[    0.311220] PCI: MCFG area at e0000000 reserved in E820
[    0.320000] PCI: Using MMCONFIG at e0000000 - e3ffffff
[    0.320000] PCI: Using configuration type 1 for base access
[    0.320000] mtrr: your CPUs had inconsistent fixed MTRR settings
[    0.320000] mtrr: probably your BIOS does not setup all CPUs.
[    0.320000] mtrr: corrected configuration.
[    0.320000] bio: create slab <bio-0> at 0
[    0.322395] ACPI: EC: Enabling special treatment for EC from MSI.
[    0.322405] ACPI: EC: Look up EC in DSDT
[    0.330230] ACPI: BIOS _OSI(Linux) query ignored
[    0.330031] ACPI: EC: non-query interrupt received, switching to interrupt mode
[    0.340140] ACPI: Interpreter enabled
[    0.340150] ACPI: (supports S0 S3 S4 S5)
[    0.340218] ACPI: Using IOAPIC for interrupt routing
[    0.352484] ACPI: EC: GPE = 0x3, I/O: command/status = 0x66, data = 0x62
[    0.352489] ACPI: EC: driver started in interrupt mode
[    0.353088] ACPI: No dock devices found.
[    0.355228] _OSC request failed
[    0.355234] ACPI: PCI Root Bridge [PCI0] (0000:00)
[    0.355664] pci 0000:00:04.0: PME# supported from D0 D3hot D3cold
[    0.355672] pci 0000:00:04.0: PME# disabled
[    0.355763] pci 0000:00:05.0: PME# supported from D0 D3hot D3cold
[    0.355770] pci 0000:00:05.0: PME# disabled
[    0.355861] pci 0000:00:06.0: PME# supported from D0 D3hot D3cold
[    0.355868] pci 0000:00:06.0: PME# disabled
[    0.356003] pci 0000:00:11.0: reg 10 io port: [0x6038-0x603f]
[    0.356019] pci 0000:00:11.0: reg 14 io port: [0x604c-0x604f]
[    0.356036] pci 0000:00:11.0: reg 18 io port: [0x6030-0x6037]
[    0.356051] pci 0000:00:11.0: reg 1c io port: [0x6048-0x604b]
[    0.356067] pci 0000:00:11.0: reg 20 io port: [0x6010-0x601f]
[    0.356084] pci 0000:00:11.0: reg 24 32bit mmio: [0xd2509000-0xd25093ff]
[    0.356211] pci 0000:00:12.0: reg 10 32bit mmio: [0xd2508000-0xd2508fff]
[    0.356340] pci 0000:00:12.1: reg 10 32bit mmio: [0xd2507000-0xd2507fff]
[    0.356509] pci 0000:00:12.2: reg 10 32bit mmio: [0xd2509500-0xd25095ff]
[    0.356631] pci 0000:00:12.2: supports D1 D2
[    0.356636] pci 0000:00:12.2: PME# supported from D0 D1 D2 D3hot
[    0.356645] pci 0000:00:12.2: PME# disabled
[    0.356720] pci 0000:00:13.0: reg 10 32bit mmio: [0xd2506000-0xd2506fff]
[    0.356849] pci 0000:00:13.1: reg 10 32bit mmio: [0xd2505000-0xd2505fff]
[    0.357018] pci 0000:00:13.2: reg 10 32bit mmio: [0xd2509400-0xd25094ff]
[    0.357140] pci 0000:00:13.2: supports D1 D2
[    0.357144] pci 0000:00:13.2: PME# supported from D0 D1 D2 D3hot
[    0.357154] pci 0000:00:13.2: PME# disabled
[    0.357429] pci 0000:00:14.1: reg 10 io port: [0x00-0x07]
[    0.357444] pci 0000:00:14.1: reg 14 io port: [0x00-0x03]
[    0.357460] pci 0000:00:14.1: reg 18 io port: [0x00-0x07]
[    0.357475] pci 0000:00:14.1: reg 1c io port: [0x00-0x03]
[    0.357491] pci 0000:00:14.1: reg 20 io port: [0x6000-0x600f]
[    0.357646] pci 0000:00:14.2: reg 10 64bit mmio: [0xd2500000-0xd2503fff]
[    0.357746] pci 0000:00:14.2: PME# supported from D0 D3hot D3cold
[    0.357756] pci 0000:00:14.2: PME# disabled
[    0.358001] pci 0000:00:14.5: reg 10 32bit mmio: [0xd2504000-0xd2504fff]
[    0.358520] pci 0000:01:05.0: reg 10 32bit mmio: [0xc0000000-0xcfffffff]
[    0.358530] pci 0000:01:05.0: reg 14 io port: [0x5000-0x50ff]
[    0.358540] pci 0000:01:05.0: reg 18 32bit mmio: [0xd2400000-0xd240ffff]
[    0.358561] pci 0000:01:05.0: reg 24 32bit mmio: [0xd2300000-0xd23fffff]
[    0.358595] pci 0000:01:05.0: supports D1 D2
[    0.358769] pci 0000:00:01.0: bridge io port: [0x5000-0x5fff]
[    0.358776] pci 0000:00:01.0: bridge 32bit mmio: [0xd2300000-0xd24fffff]
[    0.358787] pci 0000:00:01.0: bridge 64bit mmio pref: [0xc0000000-0xcfffffff]
[    0.358902] pci 0000:00:04.0: bridge io port: [0x3000-0x4fff]
[    0.358909] pci 0000:00:04.0: bridge 32bit mmio: [0xd1300000-0xd22fffff]
[    0.358919] pci 0000:00:04.0: bridge 64bit mmio pref: [0xd0000000-0xd0ffffff]
[    0.359024] pci 0000:08:00.0: reg 10 64bit mmio: [0xd1200000-0xd1203fff]
[    0.359050] pci 0000:08:00.0: reg 18 64bit mmio: [0xd1000000-0xd10fffff]
[    0.359153] pci 0000:08:00.0: supports D1 D2
[    0.359302] pci 0000:00:05.0: bridge 32bit mmio: [0xd1200000-0xd12fffff]
[    0.359313] pci 0000:00:05.0: bridge 64bit mmio pref: [0xd1000000-0xd10fffff]
[    0.359395] pci 0000:09:00.0: reg 10 io port: [0x2000-0x20ff]
[    0.359431] pci 0000:09:00.0: reg 18 64bit mmio: [0xd1110000-0xd1110fff]
[    0.359456] pci 0000:09:00.0: reg 20 64bit mmio: [0xd1100000-0xd110ffff]
[    0.359472] pci 0000:09:00.0: reg 30 32bit mmio: [0xffff0000-0xffffffff]
[    0.359551] pci 0000:09:00.0: supports D1 D2
[    0.359556] pci 0000:09:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    0.359565] pci 0000:09:00.0: PME# disabled
[    0.359763] pci 0000:00:06.0: bridge io port: [0x2000-0x2fff]
[    0.359775] pci 0000:00:06.0: bridge 64bit mmio pref: [0xd1100000-0xd11fffff]
[    0.359913] pci 0000:00:14.4: transparent bridge
[    0.359923] pci 0000:00:14.4: bridge io port: [0x1000-0x1fff]
[    0.359985] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
[    0.360342] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.AGP_._PRT]
[    0.360513] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PB4_._PRT]
[    0.360692] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PB5_._PRT]
[    0.360852] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PB6_._PRT]
[    0.361082] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P2P_._PRT]
[    0.361451] _OSC request failed
[    0.374965] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 7 10 11 12 14 15) *0, disabled.
[    0.375282] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 7 10 11 12 14 15) *0, disabled.
[    0.375595] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 7 10 11 12 14 15) *0, disabled.
[    0.375915] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 7 10 11 12 14 15) *0, disabled.
[    0.376228] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 7 10 11 12 14 15) *0, disabled.
[    0.376512] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 7 10 11 12 14 15) *0, disabled.
[    0.376781] ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 7 10 11 12 14 15) *0, disabled.
[    0.377167] ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 7 10 11 12 14 15) *0, disabled.
[    0.377622] SCSI subsystem initialized
[    0.377652] libata version 3.00 loaded.
[    0.377652] usbcore: registered new interface driver usbfs
[    0.377652] usbcore: registered new interface driver hub
[    0.377652] usbcore: registered new device driver usb
[    0.377652] ACPI: WMI: Mapper loaded
[    0.377652] PCI: Using ACPI for IRQ routing
[    0.400013] Bluetooth: Core ver 2.15
[    0.400038] NET: Registered protocol family 31
[    0.400038] Bluetooth: HCI device and connection manager initialized
[    0.400041] Bluetooth: HCI socket layer initialized
[    0.400046] NetLabel: Initializing
[    0.400050] NetLabel:  domain hash size = 128
[    0.400053] NetLabel:  protocols = UNLABELED CIPSOv4
[    0.400083] NetLabel:  unlabeled traffic allowed by default
[    0.430027] pnp: PnP ACPI init
[    0.430063] ACPI: bus type pnp registered
[    0.436381] pnp: PnP ACPI: found 12 devices
[    0.436381] ACPI: ACPI bus type pnp unregistered
[    0.436381] system 00:01: iomem range 0xfec00000-0xfec00fff could not be reserved
[    0.436381] system 00:01: iomem range 0xfee00000-0xfee00fff has been reserved
[    0.436381] system 00:09: ioport range 0x400-0x4cf has been reserved
[    0.436381] system 00:09: ioport range 0x4d0-0x4d1 has been reserved
[    0.436381] system 00:09: ioport range 0x4d6-0x4d6 has been reserved
[    0.436381] system 00:09: ioport range 0x680-0x6ff has been reserved
[    0.436381] system 00:09: ioport range 0x77a-0x77a has been reserved
[    0.436381] system 00:09: ioport range 0xc00-0xc01 has been reserved
[    0.436381] system 00:09: ioport range 0xc14-0xc14 has been reserved
[    0.436381] system 00:09: ioport range 0xc50-0xc52 has been reserved
[    0.436381] system 00:09: ioport range 0xc6c-0xc6c has been reserved
[    0.436381] system 00:09: ioport range 0xc6f-0xc6f has been reserved
[    0.436381] system 00:09: ioport range 0xcd0-0xcdb has been reserved
[    0.436381] system 00:0a: iomem range 0xe0000-0xfffff could not be reserved
[    0.436381] system 00:0a: iomem range 0xfff00000-0xffffffff has been reserved
[    0.440647] AppArmor: AppArmor Filesystem Enabled
[    0.440683] pci 0000:09:00.0: BAR 6: no parent found for of device [0xffff0000-0xffffffff]
[    0.440822] pci 0000:00:01.0: PCI bridge, secondary bus 0000:01
[    0.440829] pci 0000:00:01.0:   IO window: 0x5000-0x5fff
[    0.440838] pci 0000:00:01.0:   MEM window: 0xd2300000-0xd24fffff
[    0.440846] pci 0000:00:01.0:   PREFETCH window: 0x000000c0000000-0x000000cfffffff
[    0.440858] pci 0000:00:04.0: PCI bridge, secondary bus 0000:02
[    0.440864] pci 0000:00:04.0:   IO window: 0x3000-0x4fff
[    0.440873] pci 0000:00:04.0:   MEM window: 0xd1300000-0xd22fffff
[    0.440880] pci 0000:00:04.0:   PREFETCH window: 0x000000d0000000-0x000000d0ffffff
[    0.440891] pci 0000:00:05.0: PCI bridge, secondary bus 0000:08
[    0.440895] pci 0000:00:05.0:   IO window: disabled
[    0.440903] pci 0000:00:05.0:   MEM window: 0xd1200000-0xd12fffff
[    0.440910] pci 0000:00:05.0:   PREFETCH window: 0x000000d1000000-0x000000d10fffff
[    0.440923] pci 0000:00:06.0: PCI bridge, secondary bus 0000:09
[    0.440929] pci 0000:00:06.0:   IO window: 0x2000-0x2fff
[    0.440937] pci 0000:00:06.0:   MEM window: 0xb0000000-0xb00fffff
[    0.440945] pci 0000:00:06.0:   PREFETCH window: 0x000000d1100000-0x000000d11fffff
[    0.440956] pci 0000:00:14.4: PCI bridge, secondary bus 0000:80
[    0.441030] pci 0000:00:14.4:   IO window: 0x1000-0x1fff
[    0.441042] pci 0000:00:14.4:   MEM window: disabled
[    0.441051] pci 0000:00:14.4:   PREFETCH window: disabled
[    0.441073] pci 0000:00:01.0: setting latency timer to 64
[    0.441091]   alloc irq_desc for 16 on node -1
[    0.441095]   alloc kstat_irqs on node -1
[    0.441106] pci 0000:00:04.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[    0.441114] pci 0000:00:04.0: setting latency timer to 64
[    0.441124]   alloc irq_desc for 17 on node -1
[    0.441128]   alloc kstat_irqs on node -1
[    0.441135] pci 0000:00:05.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[    0.441142] pci 0000:00:05.0: setting latency timer to 64
[    0.441153]   alloc irq_desc for 18 on node -1
[    0.441156]   alloc kstat_irqs on node -1
[    0.441163] pci 0000:00:06.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[    0.441170] pci 0000:00:06.0: setting latency timer to 64
[    0.441188] pci_bus 0000:00: resource 0 io:  [0x00-0xffff]
[    0.441193] pci_bus 0000:00: resource 1 mem: [0x000000-0xffffffffffffffff]
[    0.441199] pci_bus 0000:01: resource 0 io:  [0x5000-0x5fff]
[    0.441204] pci_bus 0000:01: resource 1 mem: [0xd2300000-0xd24fffff]
[    0.441209] pci_bus 0000:01: resource 2 pref mem [0xc0000000-0xcfffffff]
[    0.441215] pci_bus 0000:02: resource 0 io:  [0x3000-0x4fff]
[    0.441220] pci_bus 0000:02: resource 1 mem: [0xd1300000-0xd22fffff]
[    0.441225] pci_bus 0000:02: resource 2 pref mem [0xd0000000-0xd0ffffff]
[    0.441230] pci_bus 0000:08: resource 1 mem: [0xd1200000-0xd12fffff]
[    0.441236] pci_bus 0000:08: resource 2 pref mem [0xd1000000-0xd10fffff]
[    0.441241] pci_bus 0000:09: resource 0 io:  [0x2000-0x2fff]
[    0.441246] pci_bus 0000:09: resource 1 mem: [0xb0000000-0xb00fffff]
[    0.441251] pci_bus 0000:09: resource 2 pref mem [0xd1100000-0xd11fffff]
[    0.441257] pci_bus 0000:80: resource 0 io:  [0x1000-0x1fff]
[    0.441262] pci_bus 0000:80: resource 3 io:  [0x00-0xffff]
[    0.441267] pci_bus 0000:80: resource 4 mem: [0x000000-0xffffffffffffffff]
[    0.441346] NET: Registered protocol family 2
[    0.441712] IP route cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.444972] TCP established hash table entries: 524288 (order: 11, 8388608 bytes)
[    0.450000] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
[    0.450000] TCP: Hash tables configured (established 524288 bind 65536)
[    0.450000] TCP reno registered
[    0.450000] NET: Registered protocol family 1
[    0.450000] Trying to unpack rootfs image as initramfs...
[    0.450040] Switched to high resolution mode on CPU 0
[    0.450796] Switched to high resolution mode on CPU 1
[    0.646089] Freeing initrd memory: 7936k freed
[    0.651283] Simple Boot Flag at 0x44 set to 0x1
[    0.651283] Scanning for low memory corruption every 60 seconds
[    0.651283] audit: initializing netlink socket (disabled)
[    0.651283] type=2000 audit(1262989508.641:1): initialized
[    0.661265] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    0.661265] VFS: Disk quotas dquot_6.5.2
[    0.661265] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.661265] fuse init (API version 7.12)
[    0.661265] msgmni has been set to 5525
[    0.661265] alg: No test for stdrng (krng)
[    0.661265] io scheduler noop registered
[    0.661265] io scheduler anticipatory registered
[    0.661265] io scheduler deadline registered
[    0.661265] io scheduler cfq registered (default)
[    0.890133] pci 0000:01:05.0: Boot video device
[    0.890469]   alloc irq_desc for 24 on node -1
[    0.890474]   alloc kstat_irqs on node -1
[    0.890494] pcieport-driver 0000:00:04.0: irq 24 for MSI/MSI-X
[    0.890510] pcieport-driver 0000:00:04.0: setting latency timer to 64
[    0.890748]   alloc irq_desc for 25 on node -1
[    0.890752]   alloc kstat_irqs on node -1
[    0.890764] pcieport-driver 0000:00:05.0: irq 25 for MSI/MSI-X
[    0.890776] pcieport-driver 0000:00:05.0: setting latency timer to 64
[    0.890964]   alloc irq_desc for 26 on node -1
[    0.890968]   alloc kstat_irqs on node -1
[    0.890979] pcieport-driver 0000:00:06.0: irq 26 for MSI/MSI-X
[    0.890991] pcieport-driver 0000:00:06.0: setting latency timer to 64
[    0.891133] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[    0.891409] _OSC request failed
[    0.891628] _OSC request failed
[    0.891665] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
[    0.894071] ACPI: AC Adapter [ACAD] (on-line)
[    0.894190] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
[    0.894198] ACPI: Power Button [PWRF]
[    0.894365] input: Power Button as /devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input1
[    0.894370] ACPI: Power Button [PWRB]
[    0.894446] input: Sleep Button as /devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input2
[    0.894451] ACPI: Sleep Button [SLPB]
[    0.894572] input: Lid Switch as /devices/LNXSYSTM:00/device:00/PNP0C0D:00/input/input3
[    0.896944] ACPI: Lid Switch [LID]
[    0.897503] processor LNXCPU:00: registered as cooling_device0
[    0.897505] ACPI: Processor [CPU0] (supports 8 throttling states)
[    0.897715] processor LNXCPU:01: registered as cooling_device1
[    0.907307] ACPI Exception: AE_OK, No or invalid critical threshold 20090521 thermal-384
[    0.909883] hpet_acpi_add: no address or irqs in _CRS
[    0.909920] Linux agpgart interface v0.103
[    0.909939] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.912221] brd: module loaded
[    0.913085] loop: module loaded
[    0.913221] input: Macintosh mouse button emulation as /devices/virtual/input/input4
[    0.913365] ahci 0000:00:11.0: version 3.0
[    0.913465]   alloc irq_desc for 22 on node -1
[    0.913469]   alloc kstat_irqs on node -1
[    0.913484] ahci 0000:00:11.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
[    0.913657] ahci 0000:00:11.0: AHCI 0001.0100 32 slots 2 ports 3 Gbps 0x3 impl SATA mode
[    0.913664] ahci 0000:00:11.0: flags: 64bit ncq sntf ilck led clo pmp pio 
[    0.914243] scsi0 : ahci
[    0.914243] scsi1 : ahci
[    0.914243] ata1: SATA max UDMA/133 abar m1024@0xd2509000 port 0xd2509100 irq 22
[    0.914243] ata2: SATA max UDMA/133 abar m1024@0xd2509000 port 0xd2509180 irq 22
[    0.914243] pata_atiixp 0000:00:14.1: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[    0.914243] pata_atiixp 0000:00:14.1: setting latency timer to 64
[    0.914243] scsi2 : pata_atiixp
[    0.914243] scsi3 : pata_atiixp
[    0.914243] ata3: DUMMY
[    0.914243] ata4: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0x6008 irq 15
[    0.915179] Fixed MDIO Bus: probed
[    0.915247] PPP generic driver version 2.4.2
[    0.915431] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.915536] ehci_hcd 0000:00:12.2: PCI INT B -> GSI 17 (level, low) -> IRQ 17
[    0.915566] ehci_hcd 0000:00:12.2: setting latency timer to 64
[    0.915574] ehci_hcd 0000:00:12.2: EHCI Host Controller
[    0.915685] ehci_hcd 0000:00:12.2: new USB bus registered, assigned bus number 1
[    0.915811] ehci_hcd 0000:00:12.2: applying AMD SB600/SB700 USB freeze workaround
[    0.915852] ehci_hcd 0000:00:12.2: debug port 1
[    0.915891] ehci_hcd 0000:00:12.2: irq 17, io mem 0xd2509500
[    0.931801] ehci_hcd 0000:00:12.2: USB 2.0 started, EHCI 1.00
[    0.931801] usb usb1: configuration #1 chosen from 1 choice
[    0.931801] hub 1-0:1.0: USB hub found
[    0.931801] hub 1-0:1.0: 6 ports detected
[    0.931801]   alloc irq_desc for 19 on node -1
[    0.931801]   alloc kstat_irqs on node -1
[    0.931801] ehci_hcd 0000:00:13.2: PCI INT B -> GSI 19 (level, low) -> IRQ 19
[    0.931801] ehci_hcd 0000:00:13.2: setting latency timer to 64
[    0.931801] ehci_hcd 0000:00:13.2: EHCI Host Controller
[    0.931850] ehci_hcd 0000:00:13.2: new USB bus registered, assigned bus number 2
[    0.931900] ehci_hcd 0000:00:13.2: applying AMD SB600/SB700 USB freeze workaround
[    0.931938] ehci_hcd 0000:00:13.2: debug port 1
[    0.931971] ehci_hcd 0000:00:13.2: irq 19, io mem 0xd2509400
[    0.952362] ehci_hcd 0000:00:13.2: USB 2.0 started, EHCI 1.00
[    0.952485] usb usb2: configuration #1 chosen from 1 choice
[    0.952540] hub 2-0:1.0: USB hub found
[    0.952554] hub 2-0:1.0: 6 ports detected
[    0.952741] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.952837] ohci_hcd 0000:00:12.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[    0.952859] ohci_hcd 0000:00:12.0: setting latency timer to 64
[    0.952866] ohci_hcd 0000:00:12.0: OHCI Host Controller
[    0.952951] ohci_hcd 0000:00:12.0: new USB bus registered, assigned bus number 3
[    0.953072] ohci_hcd 0000:00:12.0: irq 16, io mem 0xd2508000
[    0.980228] ACPI: Battery Slot [BAT0] (battery present)
[    1.016962] usb usb3: configuration #1 chosen from 1 choice
[    1.017011] hub 3-0:1.0: USB hub found
[    1.017098] hub 3-0:1.0: 3 ports detected
[    1.017208] ohci_hcd 0000:00:12.1: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[    1.017229] ohci_hcd 0000:00:12.1: setting latency timer to 64
[    1.017237] ohci_hcd 0000:00:12.1: OHCI Host Controller
[    1.017295] ohci_hcd 0000:00:12.1: new USB bus registered, assigned bus number 4
[    1.017327] ohci_hcd 0000:00:12.1: irq 16, io mem 0xd2507000
[    1.076887] usb usb4: configuration #1 chosen from 1 choice
[    1.076933] hub 4-0:1.0: USB hub found
[    1.077018] hub 4-0:1.0: 3 ports detected
[    1.077109] ohci_hcd 0000:00:13.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[    1.077130] ohci_hcd 0000:00:13.0: setting latency timer to 64
[    1.077137] ohci_hcd 0000:00:13.0: OHCI Host Controller
[    1.077207] ohci_hcd 0000:00:13.0: new USB bus registered, assigned bus number 5
[    1.077252] ohci_hcd 0000:00:13.0: irq 18, io mem 0xd2506000
[    1.136961] usb usb5: configuration #1 chosen from 1 choice
[    1.137013] hub 5-0:1.0: USB hub found
[    1.137098] hub 5-0:1.0: 3 ports detected
[    1.137192] ohci_hcd 0000:00:13.1: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[    1.137217] ohci_hcd 0000:00:13.1: setting latency timer to 64
[    1.137224] ohci_hcd 0000:00:13.1: OHCI Host Controller
[    1.137280] ohci_hcd 0000:00:13.1: new USB bus registered, assigned bus number 6
[    1.137323] ohci_hcd 0000:00:13.1: irq 18, io mem 0xd2505000
[    1.199429] usb usb6: configuration #1 chosen from 1 choice
[    1.199481] hub 6-0:1.0: USB hub found
[    1.199566] hub 6-0:1.0: 3 ports detected
[    1.199661] ohci_hcd 0000:00:14.5: PCI INT C -> GSI 18 (level, low) -> IRQ 18
[    1.199684] ohci_hcd 0000:00:14.5: setting latency timer to 64
[    1.199691] ohci_hcd 0000:00:14.5: OHCI Host Controller
[    1.199748] ohci_hcd 0000:00:14.5: new USB bus registered, assigned bus number 7
[    1.199779] ohci_hcd 0000:00:14.5: irq 18, io mem 0xd2504000
[    1.250089] usb 1-4: new high speed USB device using ehci_hcd and address 2
[    1.259403] usb usb7: configuration #1 chosen from 1 choice
[    1.259450] hub 7-0:1.0: USB hub found
[    1.259538] hub 7-0:1.0: 2 ports detected
[    1.259634] uhci_hcd: USB Universal Host Controller Interface driver
[    1.259858] PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
[    1.282733] serio: i8042 KBD port at 0x60,0x64 irq 1
[    1.282733] serio: i8042 AUX port at 0x60,0x64 irq 12
[    1.282733] mice: PS/2 mouse device common for all mice
[    1.282733] rtc_cmos 00:05: RTC can wake from S4
[    1.282733] rtc_cmos 00:05: rtc core: registered rtc_cmos as rtc0
[    1.282733] rtc0: alarms up to one day, 114 bytes nvram
[    1.282733] device-mapper: uevent: version 1.0.3
[    1.282733] device-mapper: ioctl: 4.15.0-ioctl (2009-04-01) initialised: dm-devel@redhat.com
[    1.282733] device-mapper: multipath: version 1.1.0 loaded
[    1.282733] device-mapper: multipath round-robin: version 1.0.0 loaded
[    1.282733] cpuidle: using governor ladder
[    1.282733] cpuidle: using governor menu
[    1.282733] TCP cubic registered
[    1.282733] NET: Registered protocol family 10
[    1.282733] lo: Disabled Privacy Extensions
[    1.282733] NET: Registered protocol family 17
[    1.282733] Bluetooth: L2CAP ver 2.13
[    1.282733] Bluetooth: L2CAP socket layer initialized
[    1.282733] Bluetooth: SCO (Voice Link) ver 0.6
[    1.282733] Bluetooth: SCO socket layer initialized
[    1.282733] Bluetooth: RFCOMM TTY layer initialized
[    1.282733] Bluetooth: RFCOMM socket layer initialized
[    1.282733] Bluetooth: RFCOMM ver 1.11
[    1.282733] powernow-k8: Found 1 AMD Turion(tm) X2 Ultra Dual-Core Mobile ZM-80 processors (2 cpu cores) (version 2.20.00)
[    1.282733] powernow-k8:    0 : pstate 0 (2100 MHz)
[    1.282733] powernow-k8:    1 : pstate 1 (1050 MHz)
[    1.282733] powernow-k8:    2 : pstate 2 (525 MHz)
[    1.283516] PM: Resume from disk failed.
[    1.283561] registered taskstats version 1
[    1.283888]   Magic number: 10:278:451
[    1.284140] rtc_cmos 00:05: setting system clock to 2010-01-08 22:25:10 UTC (1262989510)
[    1.284147] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[    1.284151] EDD information not available.
[    1.295887] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input5
[    1.440026] Clocksource tsc unstable (delta = -98807001 ns)
[    1.440054] ata2: softreset failed (device not ready)
[    1.440061] ata2: applying SB600 PMP SRST workaround and retrying
[    1.440097] ata1: softreset failed (device not ready)
[    1.440103] ata1: applying SB600 PMP SRST workaround and retrying
[    1.620076] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[    1.620128] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[    1.620485] ata1.00: ATA-8: WDC WD2500BEVS-60UST0, 01.01A01, max UDMA/100
[    1.620491] ata1.00: 488397168 sectors, multi 16: LBA48 
[    1.620988] ata1.00: configured for UDMA/100
[    1.621195] scsi 0:0:0:0: Direct-Access     ATA      WDC WD2500BEVS-6 01.0 PQ: 0 ANSI: 5
[    1.621453] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    1.621478] sd 0:0:0:0: [sda] 488397168 512-byte logical blocks: (250 GB/232 GiB)
[    1.621478] sd 0:0:0:0: [sda] Write Protect is off
[    1.621478] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    1.621478] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    1.621675]  sda:
[    1.624634] ata2.00: ATAPI: HL-DT-ST DVDRAM GSA-T30L, GC04, max UDMA/100
[    1.629435] ata2.00: configured for UDMA/100
[    1.637818] scsi 1:0:0:0: CD-ROM            HL-DT-ST DVDRAM GSA-T30L  GC04 PQ: 0 ANSI: 5
[    1.646511] usb 1-4: configuration #1 chosen from 1 choice
[    1.648660] sr0: scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray
[    1.648666] Uniform CD-ROM driver Revision: 3.20
[    1.648815] sr 1:0:0:0: Attached scsi CD-ROM sr0
[    1.648894] sr 1:0:0:0: Attached scsi generic sg1 type 5
[    1.673083]  sda1 sda2 sda3 < sda5 sda6 sda7 sda8 sda9 sda10
[    1.771326] usb 2-2: new high speed USB device using ehci_hcd and address 2
[    1.776981]  sda11 > sda4
[    1.777857] sd 0:0:0:0: [sda] Attached SCSI disk
[    1.800198] Freeing unused kernel memory: 660k freed
[    1.800871] Write protecting the kernel read-only data: 7584k
[    1.977765] usb 2-2: configuration #1 chosen from 1 choice
[    2.013742] [drm] Initialized drm 1.1.0 20060810
[    2.030051] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[    2.030051] r8169 0000:09:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[    2.030051] r8169 0000:09:00.0: setting latency timer to 64
[    2.030051]   alloc irq_desc for 27 on node -1
[    2.030051]   alloc kstat_irqs on node -1
[    2.030051] r8169 0000:09:00.0: irq 27 for MSI/MSI-X
[    2.030281] eth0: RTL8168c/8111c at 0xffffc9000517a000, 00:1e:68:7f:f0:36, XID 3c4000c0 IRQ 27
[    2.041301] Initializing USB Mass Storage driver...
[    2.048798] scsi4 : SCSI emulation for USB Mass Storage devices
[    2.049131] usbcore: registered new interface driver usb-storage
[    2.049139] USB Mass Storage support registered.
[    2.061288] usb-storage: device found at 2
[    2.061288] usb-storage: waiting for device to settle before scanning
[    2.066036] [drm] radeon default to kernel modesetting DISABLED.
[    2.067450] pci 0000:01:05.0: power state changed by ACPI to D0
[    2.067474] pci 0000:01:05.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[    2.067485] pci 0000:01:05.0: setting latency timer to 64
[    2.067778] [drm] Initialized radeon 1.31.0 20080528 for 0000:01:05.0 on minor 0
[    2.069016] acpi device:05: registered as cooling_device2
[    2.070012] input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:01/device:02/input/input6
[    2.070012] ACPI: Video Device [VGA] (multi-head: yes  rom: no  post: no)
[    2.121757] usb 7-1: new full speed USB device using ohci_hcd and address 2
[    2.310266] usb 7-1: configuration #1 chosen from 1 choice
[    2.461328] usb 7-2: new full speed USB device using ohci_hcd and address 3
[    2.702461] usb 7-2: configuration #1 chosen from 1 choice
[    2.714727] usbcore: registered new interface driver hiddev
[    2.714727] usbcore: registered new interface driver usbhid
[    2.714727] usbhid: v2.6:USB HID core driver
[    3.959539] xor: automatically using best checksumming function: generic_sse
[    4.002544]    generic_sse:  6506.400 MB/sec
[    4.002549] xor: using function: generic_sse (6506.400 MB/sec)
[    4.020041] device-mapper: dm-raid45: initialized v0.2594b
[    7.050380] usb-storage: device scan complete
[    7.052361] scsi 4:0:0:0: Direct-Access     Generic- Multi-Card       1.00 PQ: 0 ANSI: 0 CCS
[    7.053167] sd 4:0:0:0: Attached scsi generic sg2 type 0
[    7.059492] sd 4:0:0:0: [sdb] Attached SCSI removable disk
[    9.420321] EXT4-fs (sda11): barriers enabled
[    9.433503] kjournald2 starting: pid 503, dev sda11:8, commit interval 5 seconds
[    9.433528] EXT4-fs (sda11): delayed allocation enabled
[    9.433536] EXT4-fs: file extents enabled
[    9.433721] EXT4-fs: mballoc enabled
[    9.433762] EXT4-fs (sda11): mounted filesystem with ordered data mode
[   10.085163] type=1505 audit(1262989519.298:2): operation="profile_load" pid=526 name=/usr/share/gdm/guest-session/Xsession
[   10.091129] type=1505 audit(1262989519.298:3): operation="profile_load" pid=527 name=/sbin/dhclient3
[   10.091129] type=1505 audit(1262989519.298:4): operation="profile_load" pid=527 name=/usr/lib/NetworkManager/nm-dhcp-client.action
[   10.091129] type=1505 audit(1262989519.298:5): operation="profile_load" pid=527 name=/usr/lib/connman/scripts/dhclient-script
[   10.151496] type=1505 audit(1262989519.358:6): operation="profile_load" pid=528 name=/usr/bin/evince
[   10.158344] type=1505 audit(1262989519.368:7): operation="profile_load" pid=528 name=/usr/bin/evince-previewer
[   10.161302] type=1505 audit(1262989519.368:8): operation="profile_load" pid=528 name=/usr/bin/evince-thumbnailer
[   10.170780] type=1505 audit(1262989519.378:9): operation="profile_load" pid=530 name=/usr/lib/cups/backend/cups-pdf
[   10.171492] type=1505 audit(1262989519.378:10): operation="profile_load" pid=530 name=/usr/sbin/cupsd
[   10.184153] type=1505 audit(1262989519.398:11): operation="profile_load" pid=531 name=/usr/sbin/tcpdump
[   15.590008] usplash:399 freeing invalid memtype ffffffffc0000000-ffffffffc1000000
[   26.811123] udev: starting version 147
[   26.847759] lirc_dev: IR Remote Control driver registered, major 61 
[   26.848861] lirc_dev: lirc_register_driver: sample_rate: 0
[   26.849082] enecir: KB3926C detected, driver support is not complete!
[   26.849088] enecir: chip is 0x3926 - 0x00, 0xc0
[   26.849103] enecir: hardware features:
[   26.849107] enecir: learning and tx off, gpio40_learn off, fan_in off
[   26.849112] enecir: driver has been succesfully loaded
[   26.884880] piix4_smbus 0000:00:14.0: SMBus Host Controller at 0xb00, revision 0
[   26.890296] lp: driver loaded but no devices found
[   26.891301] Adding 3068344k swap on /dev/sda9.  Priority:-1 extents:1 across:3068344k 
[   26.915955] EDAC MC: Ver: 2.1.0 Dec 10 2009
[   26.921301] EDAC amd64_edac:  Ver: 3.2.0 Dec 10 2009
[   26.921301] EDAC amd64: This node reports that Memory ECC is currently disabled.
[   26.921301] EDAC amd64: bit 0x400000 in register F3x44 of the MISC_CONTROL device (0000:00:18.3) should be enabled
[   26.921301] EDAC amd64: WARNING: ECC is NOT currently enabled by the BIOS. Module will NOT be loaded.
[   26.921301]     Either Enable ECC in the BIOS, or use the 'ecc_enable_override' parameter.
[   26.921301]     Might be a BIOS bug, if BIOS says ECC is enabled
[   26.921301]     Use of the override can cause unknown side effects.
[   26.921301] amd64_edac: probe of 0000:00:18.2 failed with error -22
[   26.921800] shpchp 0000:00:01.0: HPC vendor_id 1022 device_id 9602 ss_vid 0 ss_did 0
[   26.921811] shpchp 0000:00:01.0: Cannot reserve MMIO region
[   26.922022] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[   26.952515] lib80211: common routines for IEEE802.11 drivers
[   26.952515] lib80211_crypt: registered algorithm 'NULL'
[   26.960281] wl: module license 'MIXED/Proprietary' taints kernel.
[   26.960290] Disabling lock debugging due to kernel taint
[   26.961285] wl 0000:08:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[   26.961285] wl 0000:08:00.0: setting latency timer to 64
[   27.100048] ip_tables: (C) 2000-2006 Netfilter Core Team
[   27.101299] Linux video capture interface: v2.00
[   27.111262] uvcvideo: Found UVC 1.00 device HP Webcam (064e:a104)
[   27.151266] input: HP Webcam as /devices/pci0000:00/0000:00:13.2/usb2/2-2/2-2:1.0/input/input7
[   27.151266] usbcore: registered new interface driver uvcvideo
[   27.151266] USB Video Class driver (v0.1.0)
[   27.161062] lib80211_crypt: registered algorithm 'TKIP'
[   27.167618] eth1: Broadcom BCM4328 802.11 Wireless Controller 5.10.91.9
[   27.185519] input: Wacom ISDv4 93 as /devices/pci0000:00/0000:00:14.5/usb7/7-2/7-2:1.0/input/input8
[   27.187299] input: Wacom ISDv4 93 as /devices/pci0000:00/0000:00:14.5/usb7/7-2/7-2:1.1/input/input9
[   27.187433] usbcore: registered new interface driver wacom
[   27.187441] wacom: v1.51:USB Wacom Graphire and Wacom Intuos tablet driver
[   27.210013] HDA Intel 0000:00:14.2: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[   27.210013] HDA Intel 0000:00:14.2: setting latency timer to 64
[   27.346530] EXT4-fs (sda11): internal journal on sda11:8
[   27.350209] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:14.2/input/input10
[   27.902775] Synaptics Touchpad, model: 1, fw: 6.3, id: 0x180b1, caps: 0xa04711/0xa00000
[   27.970007] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input11
[   28.749922] kjournald starting.  Commit interval 5 seconds
[   28.750330] EXT3 FS on sda5, internal journal
[   28.750341] EXT3-fs: mounted filesystem with writeback data mode.
[   28.962933] type=1505 audit(1262985938.168:12): operation="profile_replace" pid=1123 name=/usr/share/gdm/guest-session/Xsession
[   28.964771] type=1505 audit(1262985938.178:13): operation="profile_replace" pid=1125 name=/sbin/dhclient3
[   28.965350] type=1505 audit(1262985938.178:14): operation="profile_replace" pid=1125 name=/usr/lib/NetworkManager/nm-dhcp-client.action
[   28.965681] type=1505 audit(1262985938.178:15): operation="profile_replace" pid=1125 name=/usr/lib/connman/scripts/dhclient-script
[   28.970023] type=1505 audit(1262985938.178:16): operation="profile_replace" pid=1128 name=/usr/bin/evince
[   28.976910] type=1505 audit(1262985938.188:17): operation="profile_replace" pid=1128 name=/usr/bin/evince-previewer
[   28.980048] type=1505 audit(1262985938.188:18): operation="profile_replace" pid=1128 name=/usr/bin/evince-thumbnailer
[   28.984871] type=1505 audit(1262985938.198:19): operation="profile_replace" pid=1130 name=/usr/lib/cups/backend/cups-pdf
[   28.985595] type=1505 audit(1262985938.198:20): operation="profile_replace" pid=1130 name=/usr/sbin/cupsd
[   28.990044] type=1505 audit(1262985938.198:21): operation="profile_replace" pid=1131 name=/usr/sbin/tcpdump
[   29.069141] r8169: eth0: link up
[   29.067939] r8169: eth0: link up
[   32.390865] [drm] Setting GART location based on new memory map
[   32.410498] [drm] Loading RS780/RS880 CP Microcode
[   32.411290] [drm] Loading RS780/RS880 PFP Microcode
[   32.423607] [drm] Resetting GPU
[   32.423724] [drm] writeback test succeeded in 1 usecs
[   33.141295] vboxdrv: Trying to deactivate the NMI watchdog permanently...
[   33.141295] vboxdrv: Successfully done.
[   33.141295] vboxdrv: Found 2 processor cores.
[   33.141295] VBoxDrv: dbg - g_abExecMemory=ffffffffa04e3420
[   33.141295] vboxdrv: fAsync=1 offMin=0xc5ed3a0 offMax=0xc5ed3a0
[   33.141295] vboxdrv: TSC mode is 'asynchronous', kernel timer mode is 'normal'.
[   33.141295] vboxdrv: Successfully loaded version 3.0.8_OSE (interface 0x000e0000).
[   33.151300] VBoxNetAdp: dbg - g_abExecMemory=ffffffffa0680ac0
[   33.161440] VBoxNetFlt: dbg - g_abExecMemory=ffffffffa069b1c0
[   33.297356] ppdev: user-space parallel port driver
[   33.793397] CPU0 attaching NULL sched-domain.
[   33.793397] CPU1 attaching NULL sched-domain.
[   33.830218] CPU0 attaching sched-domain:
[   33.830226]  domain 0: span 0-1 level MC
[   33.830232]   groups: 0 1
[   33.830241] CPU1 attaching sched-domain:
[   33.830245]  domain 0: span 0-1 level MC
[   33.830249]   groups: 1 0
[   34.631733] CPU0 attaching NULL sched-domain.
[   34.631733] CPU1 attaching NULL sched-domain.
[   34.670270] CPU0 attaching sched-domain:
[   34.670280]  domain 0: span 0-1 level MC
[   34.670286]   groups: 0 1
[   34.670297] CPU1 attaching sched-domain:
[   34.670301]  domain 0: span 0-1 level MC
[   34.670305]   groups: 1 0
[   39.890326] eth0: no IPv6 routers present
[   39.910059] eth1: no IPv6 routers present
Comment 3 Pietro Battiston 2010-10-11 15:01:47 UTC
Update: things got worse with 2.6.32 (I use Debian's 2.6.32-5-amd64): I still have a script that rmmods/modprobes at each standby, but now it doesn't help - most of the times, the network card will simply not work after a standby, and while in the past that meant that it did the handshake but then wasn't able to get a DHCP address, now it means that it doesn't even detect the cable.

As always, I'm available for any additional debug informations.
Comment 4 Pietro Battiston 2010-12-07 17:09:03 UTC
Update: tested 2.6.36 (Debian 2.6.36-1~experimental.1 ), and the problem persists.

I'm persistently offering my availability for tests, too.
Comment 5 Pietro Battiston 2010-12-07 18:15:51 UTC
By the way: Product/Component are wrong. They should be "Drivers" and "Network".
Comment 6 Francois Romieu 2010-12-07 20:17:36 UTC
Pietro,

  can you attach (no inline quoting) your last dmesg and r8169.c source
file ?

Thanks.

-- 
Ueimor
Comment 7 Pietro Battiston 2010-12-09 12:06:43 UTC
Sure. Both are from kernel linux-image-2.6.36-trunk-amd64, version 2.6.36-1~experimental.1 (from Debian experimental).

The dmesg is obtained after
1) booting
2) plugging in network cable (NB: connection works perfectly)
3) unplugging
4) suspending
5) resuming
6) plugging in network cable (NB: connection doesn't work, eth0 doesn't appear at all in ifconfig)
7) rmmoding and modprobing r8169 (NB: apparently nothing changes)
Comment 8 Pietro Battiston 2010-12-09 12:08:29 UTC
Created attachment 39562 [details]
Dmesg
Comment 9 Pietro Battiston 2010-12-09 12:14:13 UTC
Created attachment 39572 [details]
r8169.c
Comment 10 Pietro Battiston 2010-12-09 12:26:43 UTC
Created attachment 39582 [details]
Patch

I noticed that this patch is applied by Debian. As far as I can image, it should not have effect in the case of my network card, which _doesn't_ need any firmware. But here it is, for completeness.
Comment 11 Pietro Battiston 2010-12-09 12:28:55 UTC
Created attachment 39592 [details]
Another Debian patch

This patch too modifies r8169.c. Again, it should ideally not have effect on a card which works fine without firmware, but again, for completeness...

(that's all)
Comment 12 Pietro Battiston 2010-12-10 21:19:35 UTC
Just to wipe away any doubt (and maybe save you the time of reviewing the patches), I just recompiled the (linux-image-2.6.36-trunk-amd64, version
2.6.36-1~experimental.1, from Debian experimental) kernel after removing the two patches and tested it: the result is exactly the same, nothing after suspend.

Again, I'm available for any further testing.
Comment 13 Pietro Battiston 2011-02-21 14:21:28 UTC
The problem is still there in 2.6.37
Comment 14 Francois Romieu 2011-02-21 23:30:53 UTC
Pietro, your card belongs to the "firmware may help" and "concerned by
post 2.6.37 patches" categories. I can not claim that it will fix your
problem but it is worth trying.

Can you give latest -git kernel a try and send an updated dmesg ?

Thanks for you patience.

-- 
Ueimor
Comment 15 Pietro Battiston 2011-02-22 22:09:03 UTC
Hello Francois, and thanks for interest,

I tried the git kernel, and it still doesn't work. I'm attaching the updated dmesg. One thing I noticed, which may be interesting (or trivial, don't know), is that while lshw gives first (before suspending)



           *-network
                description: Ethernet interface
                product: RTL8111/8168B PCI Express Gigabit Ethernet controller
                vendor: Realtek Semiconductor Co., Ltd.
                physical id: 0
                bus info: pci@0000:09:00.0
                logical name: eth0
                version: 02
                serial: 00:1e:68:7f:f0:36
                size: 10MB/s
                capacity: 1GB/s
                width: 64 bits
                clock: 33MHz
                capabilities: pm msi pciexpress msix vpd bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autone
gotiation
                configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half latency=0 link=no multicast=yes port=MII speed=10MB/s
                resources: irq:43 ioport:2000(size=256) memory:d1110000-d1110fff memory:d1100000-d110ffff memory:d1120000-d112ffff


after suspending the line is changed to 


           *-network DISABLED

(in both cases, with the ethernet cable not plugged in).
Comment 16 Pietro Battiston 2011-02-22 22:09:44 UTC
(by the way, this thing is not a peculiarity of 2.6.38, it also happens with 2.6.37)
Comment 17 Pietro Battiston 2011-02-22 22:12:23 UTC
Created attachment 48692 [details]
dmesg - git kernel

This is dmesg with git kernel, after
1) booting
2) plugging in cable
3) taking it out
4) suspending
5) waking up
6) plugging in cable (nothing happens)
7) taking it out
8) rmmoding r8169
9) modprobing r8169
10) plugging in cable (nothing happens)
Comment 18 Pietro Battiston 2011-03-10 09:15:52 UTC
Update: under 2.6.37-1-amd64 (I didn't test 2.6.38 a lot), the network card _sometimes_ works also after suspend, but sometimes it doesn't, and I'm unable to ascertain which are the conditions which make it work or not.
Comment 19 Ian B. MacDonald 2012-03-15 03:52:53 UTC
This bug still makes the Gigabit NIC on my laptop useless after a suspend without reloading the kernel module on current Ubuntu 12.04B1 (3.2.0-18-generic #29-Ubuntu) x86_64. 

I updated downstream too, but its just hanging off status here. 
https://bugs.launchpad.net/linux/+bug/771857
Comment 20 GeCk0 2012-05-06 07:22:16 UTC
still same problem with kernel 3.3.3 and 3.4rc5
downloading and installing the driver from realtek-homepage doesnt works.
my internet still runs only with r8169 for some days and crashing then.

so im installing diffrent kernels to get a fresh r8169 and a working internet for some days...
Comment 21 Ian B. MacDonald 2012-05-25 02:21:10 UTC
Today I was unable to reproduce the problem described in #19 using suspend on my Ubuntu 12.04 machine. Previously this happened almost (if not) every time using suspend with the RTL nic active. 

uname:
3.2.0-24-generic #39-Ubuntu SMP Mon May 21 16:52:17 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
dmesg:
[    2.130187] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[    2.130216] r8169 0000:0a:00.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
[    2.130279] r8169 0000:0a:00.0: setting latency timer to 64
[    2.130417] r8169 0000:0a:00.0: irq 45 for MSI/MSI-X
[    2.131255] r8169 0000:0a:00.0: eth0: RTL8168c/8111c at 0xffffc90002798000, 00:1e:ec:f2:0f:f3, XID 1c4000c0 IRQ 45
[    2.131259] r8169 0000:0a:00.0: eth0: jumbo features [frames: 6128 bytes, tx checksumming: ko]

full lspci -vvv is posted downstream: https://bugs.launchpad.net/linux/+bug/771857

On the same hardware I can reboot into Debian 6 squeeze running 2.6.35 (dual boot) and reproduce the error 100% of the time.  How else can I isolate the differences to help figure out what is right on my Ubuntu setup?

I compared the lspci -vvv, and the only differences were the IRQ (29 on Debian vs 45 on Ubuntu) and the "Data:" value for the the MSI capability shown below.

Ubuntu:
Capabilities: [50] MSI: Enable+ Count=1/2 Maskable- 64bit+
   Address: 00000000fee0300c  Data: 4191

Debian:
Capabilities: [50] MSI: Enable+ Count=1/2 Maskable- 64bit+
   Address: 00000000fee0300c  Data: 41a9
Comment 22 Francois Romieu 2012-09-15 12:31:07 UTC
(In reply to comment #21)
> Today I was unable to reproduce the problem described in #19 using suspend on
> my Ubuntu 12.04 machine. Previously this happened almost (if not) every time
> using suspend with the RTL nic active. 
> 
> uname:
> 3.2.0-24-generic #39-Ubuntu SMP Mon May 21 16:52:17 UTC 2012 x86_64 x86_64
> x86_64 GNU/Linux

The changelog of 3.2.0-24.39 suggests that your problem has been fixed by

  * r8169: runtime resume before shutdown.
    - LP: #981162

This change is available in Ubuntu's kernel since 3.2.0-24.38.

It has been included upstream as 2a15cd2ff488a9fdb55e5e34060f499853b27c77
between v3.2 and v3.3.

Pietro, can you check if you still experience the same problem with a recent
kernel ?

Ian, does the explanation above answer your expectations ?

Gecko, if you experience a failure after a suspend/resume cycle, you
should send the XID of your device or a dmesg containing it. If you
notice a different problem, please elaborate :o)

Thanks.

-- 
Ueimor

Note You need to log in before you can comment on or make changes to this bug.