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] [day] [month] [year] [list]
Message-ID: <50E81FD2.1010008@openvz.org>
Date:	Sat, 05 Jan 2013 16:42:58 +0400
From:	Konstantin Khlebnikov <khlebnikov@...nvz.org>
To:	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	linux-pci@...r.kernel.org, Bjorn Helgaas <bhelgaas@...gle.com>,
	e1000-devel@...ts.sourceforge.net
Subject: Re: [REGRESSION 3.8-r1] broken pci irq/pm state for e1000e device

Konstantin Khlebnikov wrote:
> Konstantin Khlebnikov wrote:
>> Seems like it's unrelated to e1000e driver itself, because I tried to
>> revert all it's changes down to 3.6 one by one and it does not help.

Ouch, 3.6 also affected, seems like I was more lucky at that time and
bug never showed up.

root@...g:/sys/bus/pci/devices# uname -a
Linux zurg 3.6.0-zurg #571 SMP Mon Oct 1 14:24:25 MSK 2012 x86_64 GNU/Linux

root@...g:/sys/bus/pci/devices# cat 0000\:00\:19.0/enable ; modprobe e1000e ; sleep 2 ; rmmod e1000e ; cat 0000\:00\:19.0/enable
4294967293
4294967292

So, this bug actually in e1000e driver. Add their mail-list into CC.

But core code should at least print some warnings...

>>
>> Looks like regression somewhere in pci-bus irq or power-management.
>> because I see underflow of counter pci_dev->enable_cnt:
>>
>> root@...g:/sys/bus/pci/devices# cat 0000\:00\:19.0/enable ; modprobe e1000e ; sleep 2 ; rmmod e1000e ; cat 0000\:00\:19.0/enable
>> 4294967288
>> 4294967287
>>
>> without sleep in the middle it does not work
>
> Hmm, 3.7 also affected. This is not good.
>
> root@...g:/sys/bus/pci/devices# cat 0000\:00\:19.0/enable
> 4294967293
> root@...g:/sys/bus/pci/devices# uname -a
> Linux zurg 3.7.1-zurg #631 SMP Sat Dec 29 11:54:15 MSK 2012 x86_64 GNU/Linux
>
>>
>> my kernel config in attachment
>> hardware: lenovo thinkpad x220
>>
>> root@...g:/sys/bus/pci/devices# uname -a
>> Linux zurg 3.8.0-rc1-zurg-00091-g4a490b7 #632 SMP Tue Jan 1 20:02:31 MSK 2013 x86_64 GNU/Linux
>>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@...r.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ