Bug 142263

Summary: [acpi] ACPI regression on Asus K8N7-E deluxe motherboard with 8-stable [regression]
Product: Base System Reporter: olivier
Component: kernAssignee: freebsd-acpi (Nobody) <acpi>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description olivier 2010-01-03 13:10:01 UTC
FreeBSD 8-stable have an ACPI regression on my motherboard (asus K8N7-E deluxe).
This system works great under FreeBSD 7.2, but I need to disable ACPI on 8.0 for boot it.

The PCI ressource memory information are not correctly reported: Ethernet, USB or SATA/PATA drivers didn't work.
Example with the nfe Ethernet drivers:

On FreeBSD 7.2, the dmesg report this (but allmost all drivers have this problem):

nfe0: <NVIDIA nForce4 CK804 MCP8 Networking Adapter> port
0xb000-0xb007 mem 0xd3000000-0xd3000fff irq 21 at device 10.0 on pci0
nfe0: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xd3000000
miibus0: <MII bus> on nfe0
e1000phy0: <Marvell 88E1111 Gigabit PHY> PHY 15 on miibus0
e1000phy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX, auto
nfe0: bpf attached
nfe0: Ethernet address: 00:13:d4:d6:3a:7b

But on FreeBSD 8.0, the dmesg report this (note the reserved mem diff):

nfe0: <NVIDIA nForce4 CK804 MCP8 Networking Adapter> irq 21 at device
10.0 on pci0
nfe0: Lazy allocation of 0x1000000 bytes rid 0x10 type 3 at 0x81000000
nfe0: Reserved 0x1000000 bytes for rid 0x10 type 3 at 0x81000000!
nfe0: MII without any phy!
device_attach: nfe0 attach returned 6

FreeBSD 8.0 display this error message too:
ACPI Error: Package List length (6) larger than NumElements count (3), truncated
 20090521 dsobject-590

Full dmesg under FreeBSD 7.2 here:
http://pastebin.com/f7bbdcb3a

Full dmesg under FreeBSD 8.0 here:
http://pastebin.com/f52df9c4c

Regards,

Olivier

Fix: 

Disable ACPI on the boot loader.
How-To-Repeat: Using FreeBSD 8-stable on Asus K8N7-E deluxe motherboard.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2010-01-03 18:19:42 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-acpi

Over to maintainer(s).
Comment 2 Andriy Gapon freebsd_committer freebsd_triage 2011-03-16 17:22:50 UTC
Could you please try recent 8-stable or 8.2 release with the following line in
loader.conf?
hw.pci.usb_early_takeover="0"

Thanks!
-- 
Andriy Gapon
Comment 3 John Baldwin freebsd_committer freebsd_triage 2011-07-25 12:55:09 UTC
Can you try a recent 9.0 kernel with NEW_PCIB enabled (enabled by default on 
x86)?

-- 
John Baldwin
Comment 4 John Baldwin freebsd_committer freebsd_triage 2011-07-26 14:07:35 UTC
State Changed
From-To: open->closed

Believed to be fixed and submitter no longer has the hardware to test.