System lock with ahci and acpi enabled on ATI RS690 chipset with SMB600 sata controller
|Status:||In Progress||Start date:||06/24/2012|
Page fault during boot with ahci and acpi.
Kernel boot without ahci but locks in userspace after a fixed time.
Page fault without acpi but with ahci.
#1 Updated by vadaszi about 4 years ago
the issue is probably related to the following line from dmesg-verbose:
pci:0:20:2: resource reservation failed 0xd0608000 - 0xd060bfff
The device pci:0:20:2 is the HDA sound controller.
Together with the following line from the "pciconf-lvbc" attachment it seems obvious:
map: type Memory, range 32, base 0xd0609000, size 10, enabled
The adress spaces for the sb600-sata and the HDA-sound overlap!
Probably the same issue as mentioned on the FreeBSD mailing-list:
This issue seems to exist at least on both the hp6715b and hp6715s notebooks.
I own a hp6715s myself, but I haven't tried DragonFlyBSD on it yet
A simple fix would be to check for one of the broken notebook models and choose a
different memory region for the sound controller (worked for me on my hp6715s in FreeBSD).
Maybe such collisions could be detected automatically?
#2 Updated by vadaszi about 1 year ago
- Description updated (diff)
- Status changed from New to In Progress
- Assignee set to vadaszi
- % Done changed from 0 to 50
The ahci problem is caused by overlapping PCI Bars from the sb600 ahci part and the HDA sound device. Presumably updating DragonFly's PCI code, i.e. by porting stuff from the current FreeBSD PCI code should solve this issue.