Recently I've installed Ubuntu LTS 16.04 on a new Lenovo B50-10 laptop. Apparently everything is working properly, however some error messages apppears regarding pci devices on dmesg.
dmesg |grep fail
[ 1.268776] pci 0000:00:1c.0: BAR 14: failed to assign [mem size 0x00200000]
[ 1.268789] pci 0000:00:1c.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
[ 1.268803] pci 0000:00:1c.1: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
[ 1.268830] pci 0000:00:1c.1: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
[ 1.268839] pci 0000:00:1c.0: BAR 14: failed to assign [mem size 0x00200000]
[ 1.268852] pci 0000:00:1c.0: BAR 15: failed to assign [mem size 0x00200000 64bit pref]
And some other messages like this:
[ 0.537659] pci 0000:00:1c.1: BAR 15: no space for [mem size 0x00200000 64bit pref]
I've searched this errors on google, and everything indicates it could be a bios bug. Beside, a related error message appears on dmesg output, as you can see above:
[ 2.867219] pci 0000:00:1d.0: EHCI: BIOS handoff failed (BIOS bug?) 01010001
I've updated the bios with the new version available on Lenovo support site, v2.07 at this point, released on Oct-2016, but the problem remain.
If I pass the option 'acpi=off' to the kernel, no error messages appears, but wifi card doesn't work.
If a fix 'OS Optimized default' to Enabled on Bios, and hit 'Load default settings', the errors remain.
IMHO, everything is related with a bios bug. In the past, I've suffered a similar problem with a Lenovo b50-30, but in that case, a bios update fixed the problem.
Any help would be appreciate.
Thans in advance,
Best Regards.
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1426216
------- Comment From 2015-06-16 21:21 EDT-------
The PHB3 PCIe host bridge in Power8 does not support generating IO space transactions / cycles, so no IO window is assigned to the PCI bus and all IO space resources will be unassigned and must remain disabled in the pci command register. (Previous bridges in most PowerPC systems provided a memory mapped window that generates IO cycles but that function was not implemented in Power8.)
– ragb1 Dec 21 '16 at 16:16