i82875p_edac: BAR 0 collision

From: Jarkko Lavinen
Date: Fri Nov 07 2008 - 07:30:11 EST


When I try to load i82875p_edac module on ASUS P4C800 Deluxe in 2.6.26
or 2.6.27 it fails due to BAR 0 collision. On 2.6.25 the
i82875p_edac works just fine.

Should i82875p_setup_overfl_dev() do some additional work to fix the
missing resource of the hidden overflow device?

When I try load i82875p_edac module on 2.6.27 I get

# modprobe i82875p_edac
FATAL: Error inserting i82875p_edac
(/lib/modules/2.6.27.4/kernel/drivers/edac/i82875p_edac.ko): No such device

And dmesg shows (from 2.6.27.4):

EDAC MC: Ver: 2.1.0 Oct 30 2008
EDAC DEBUG: edac_pci_dev_parity_clear()
...
EDAC DEBUG: edac_pci_dev_parity_clear()
EDAC DEBUG: edac_sysfs_setup_mc_kset()
EDAC DEBUG: edac_sysfs_setup_mc_kset() Registered '.../edac/mc' kobject
EDAC DEBUG: i82875p_init_one()
EDAC i82875p: i82875p init one
EDAC DEBUG: i82875p_probe1()
PCI: 0000:00:06.0 reg 10 32bit mmio: [fecf0000, fecf0fff]
pci 0000:00:06.0: device not available because of BAR 0 [0xfecf0000-0xfecf0fff] collisions
EDAC i82875p: i82875p_setup_overfl_dev(): Failed to enable overflow device
EDAC DEBUG: 875p init fail

On 2.6.25.19 loading i82875p_edac works just fine and dmesg shows:

EDAC MC: Ver: 2.1.0 Nov 4 2008
EDAC i82875p: i82875p init one
EDAC MC0: Giving out device to 'i82875p_edac' 'i82875p': DEV 0000:00:00.0
EDAC PCI0: Giving out device to module 'i82875p_edac' controller 'EDAC PCI controller': DEV '0000:00:00.0' (POLLED)

Cheers
Jarkko Lavinen
--
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/