New: r8169 fails to bring up ethernet
Subsystems (2)
A message that is not in the archive (sent off-list or not yet received): [email protected]/
(switched to email. Please respond via emailed reply-to-all, not via the bugzilla web interface).
Quoted 1 line · On Sun, 7 Mar 2010 23:57:32 GMT [email protected] wrote:
Thanks for doing the bisection - it really helps.
Guys, this is a 2.6.32 -> 2.6.33 regression.
Quoted 63 lines
Summary: r8169 fails to bring up ethernet Product: Drivers Version: 2.5 Kernel Version: 2.6.33 Platform: All OS/Version: Linux Tree: Mainline Status: NEW Severity: normal Priority: P1 Component: Network AssignedTo: [email protected] ReportedBy: [email protected] Regression: YesCreated an attachment (id=25399)
--> (http://bugzilla.kernel.org/attachment.cgi?id=25399)
System logWith the release 2.6.33 the kernel can't bring up my ethernet. I have found the commit which broke it:
root@raver:/usr/src/linux-2.6# git bisect good ac1aa47b131416a6ff37eb1005a0a1d2541aad6c is the first bad commit commit ac1aa47b131416a6ff37eb1005a0a1d2541aad6c Author: Jesse Barnes <[email protected]> Date: Mon Oct 26 13:20:44 2009 -0700PCI: determine CLS more intelligently
Till now, CLS has been determined either by arch code or as
L1_CACHE_BYTES. Only x86 and ia64 set CLS explicitly and x86 doesn't always get it right. On most configurations, the chance is that firmware configures the correct value during boot.This patch makes
pci_init()determine CLS by looking at what firmware has configured. It scans all devices and if all non-zero values agree, the value is used. If none is configured or there is a disagreement,pci_dfl_cache_line_sizeis used. arch can set the dfl value (viaPCI_CACHE_LINE_BYTESorpci_dfl_cache_line_size) or override the actual one.ia64, x86 and sparc64 updated to set the default cls instead of the actual one.
While at it, declare
pci_cache_line_sizeandpci_dfl_cache_line_sizeinpci.hand drop private declarations from arch code.Signed-off-by Tejun Heo <[email protected]>Acked-by David Miller <[email protected]>Acked-by Greg KH <[email protected]>Cc Ingo Molnar <[email protected]>Cc Thomas Gleixner <[email protected]>Cc Tony Luck <[email protected]>Signed-off-by Jesse Barnes <[email protected]>:040000 040000
8b20ad60ed3e273b74bfb588dbea6948547e8de192498585770ca360c2716c0d3c55d5f4a37356a1M arch
:040000 04000056d1abd61286dd303bb37c2002b699e526988f853f20bba2d1e107a80a738e3561fc0fa92e0c4024M drivers
:040000 04000026d85393248c542ca2cea0e3ac4ceabd0ea659aa326cbb98321cd4e490d888f48bc584b3662c8f06M include