Re: [Regression] [2.6.37-rc2] WARNING: at drivers/pci/pci-sysfs.c:758 pci_mmap_resource+0x133/0x190()

From: Andy Whitcroft
Date: Thu Nov 18 2010 - 10:30:51 EST


On Wed, Nov 17, 2010 at 9:00 PM, Jesse Barnes <jbarnes@xxxxxxxxxxxxxxxx> wrote:
> On Wed, 17 Nov 2010 21:53:10 +0100
> Maciej Rutecki <maciej.rutecki@xxxxxxxxx> wrote:
>
>> Last known good: 2.6.37-rc1
>> Bad kernel: 2.6.37-rc2
>> Hardware: VirtualBox
>
> Should be fixed in master now, please re-test.

We also had this reported in Ubuntu[1], I have applied the commit you
suggested to the Ubuntu kernel and have confirmed that this is
resolved for my reporters:

commit 8c05cd08a7504b855c265263e84af61aabafa329
Author: Darrick J. Wong <djwong@xxxxxxxxxx>
Date: Tue Nov 16 09:13:41 2010 -0800

PCI: fix offset check for sysfs mmapped files

-apw

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