lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 25 Dec 2009 21:00:17 +0100
From:	Borislav Petkov <petkovbb@...glemail.com>
To:	Linus Torvalds <torvalds@...ux-foundation.org>,
	Jesse Barnes <jbarnes@...tuousgeek.org>
Cc:	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	David Miller <davem@...emloft.net>
Subject: Re: Linux 2.6.33-rc2 - Merry Christmas ...

Hi,

the r8169 driver fails loading here with the following message:

[    0.353955] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[    0.354258] r8169 0000:02:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[    0.354391] r8169 0000:02:00.0: PCI INT A disabled
[    0.354527] r8169: probe of 0000:02:00.0 failed with error -22

Machine is Acer Aspire One, Atom N270 CPU.

Actually, the breakage seems to have appeared a bit earlier, sometime
between .32 and .33-rc1 as the bisection result shows:

ac1aa47b131416a6ff37eb1005a0a1d2541aad6c is the first bad commit
commit ac1aa47b131416a6ff37eb1005a0a1d2541aad6c
Author: Jesse Barnes <jbarnes@...tuousgeek.org>
Date:   Mon Oct 26 13:20:44 2009 -0700

    PCI: 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_size is used.  arch can set the dfl
    value (via PCI_CACHE_LINE_BYTES or pci_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_size and pci_dfl_cache_line_size
    in pci.h and drop private declarations from arch code.
    
    Signed-off-by: Tejun Heo <tj@...nel.org>
    Acked-by: David Miller <davem@...emloft.net>
    Acked-by: Greg KH <gregkh@...e.de>
    Cc: Ingo Molnar <mingo@...e.hu>
    Cc: Thomas Gleixner <tglx@...utronix.de>
    Cc: Tony Luck <tony.luck@...el.com>
    Signed-off-by: Jesse Barnes <jbarnes@...tuousgeek.org>

:040000 040000 8b20ad60ed3e273b74bfb588dbea6948547e8de1 92498585770ca360c2716c0d3c55d5f4a37356a1 M      arch
:040000 040000 56d1abd61286dd303bb37c2002b699e526988f85 3f20bba2d1e107a80a738e3561fc0fa92e0c4024 M      drivers
:040000 040000 26d85393248c542ca2cea0e3ac4ceabd0ea659aa 326cbb98321cd4e490d888f48bc584b3662c8f06 M      include

And since this result looks unrelated to my eye I did the whole
bisection search twice just to make sure. In both cases I get the same
result with the following log:

git bisect start
# bad: [6b7b284958d47b77d06745b36bc7f36dab769d9b] Linux 2.6.33-rc2
git bisect bad 6b7b284958d47b77d06745b36bc7f36dab769d9b
# good: [22763c5cf3690a681551162c15d34d935308c8d7] Linux 2.6.32
git bisect good 22763c5cf3690a681551162c15d34d935308c8d7
# good: [f6c4c8195b5e7878823caa1181be404d9e86d369] Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid
git bisect good f6c4c8195b5e7878823caa1181be404d9e86d369
# bad: [37222e1c9ee3ce587f5b41fed868bd8a592a992f] Merge branch 'for-linus' of git://neil.brown.name/md
git bisect bad 37222e1c9ee3ce587f5b41fed868bd8a592a992f
# bad: [5f1141eb352ea79d849920039503e40dd623fffa] Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394-2.6
git bisect bad 5f1141eb352ea79d849920039503e40dd623fffa
# good: [f71eaf68406cfee91b6a96bcdf7ce33dc78829c5] Merge branch 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging
git bisect good f71eaf68406cfee91b6a96bcdf7ce33dc78829c5
# good: [6ee738610f41b59733f63718f0bdbcba7d3a3f12] drm/nouveau: Add DRM driver for NVIDIA GPUs
git bisect good 6ee738610f41b59733f63718f0bdbcba7d3a3f12
# good: [aa65607373a4daf2010e8c3867b6317619f3c1a3] Add missing alignment check in arch/score sys_mmap()
git bisect good aa65607373a4daf2010e8c3867b6317619f3c1a3
# bad: [f6e1d8cc38b3776038fb15d3acc82ed8bb552f82] x86/PCI: MMCONFIG: add lookup function
git bisect bad f6e1d8cc38b3776038fb15d3acc82ed8bb552f82
# bad: [865df576e8fc70daf297b53e61a4fbefc719d065] PCI: improve discovery/configuration messages
git bisect bad 865df576e8fc70daf297b53e61a4fbefc719d065
# bad: [af5a8ee05404112f38fb2904747c688bdc31a746] x86/PCI: use -DDEBUG when CONFIG_PCI_DEBUG set
git bisect bad af5a8ee05404112f38fb2904747c688bdc31a746
# bad: [c91d3376e5f4277173a22f0ef9989125c318bacb] vsprintf: add %pR support for IRQ and DMA resources
git bisect bad c91d3376e5f4277173a22f0ef9989125c318bacb
# bad: [98e724c791924c0dfc5b1dcf053ed3841cc89c78] PCI: pci_dfl_cache_line_size is __devinitdata
git bisect bad 98e724c791924c0dfc5b1dcf053ed3841cc89c78
# bad: [ac1aa47b131416a6ff37eb1005a0a1d2541aad6c] PCI: determine CLS more intelligently
git bisect bad ac1aa47b131416a6ff37eb1005a0a1d2541aad6c
# good: [99935a7a59eaca0292c1a5880e10bae03f4a5e3d] x86/PCI: read root resources from IOH on Intel
git bisect good 99935a7a59eaca0292c1a5880e10bae03f4a5e3d

Config, dmesg and lspci output is attached.

-- 
Regards/Gruss,
    Boris.

View attachment ".config" of type "text/plain" (60673 bytes)

View attachment "dmesg.log" of type "text/plain" (41424 bytes)

View attachment "lspci.log" of type "text/plain" (29670 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ