Bug #2391


System lock with ahci and acpi enabled on ATI RS690 chipset with SMB600 sata controller

Added by jorisgio almost 12 years ago. Updated almost 9 years ago.

In Progress
Target version:
Start date:
Due date:
% Done:


Estimated time:


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.


trace-with-ahci-and-acpi.JPG (422 KB) trace-with-ahci-and-acpi.JPG trace after page fault with ahci/acpi enabled jorisgio, 06/24/2012 01:41 PM
pciconf-lvbc (9.52 KB) pciconf-lvbc pciconf -lvbc jorisgio, 06/24/2012 01:41 PM
dmesg-verbose (26.5 KB) dmesg-verbose dmesg jorisgio, 06/24/2012 01:41 PM
Actions #1

Updated by vadaszi almost 12 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:
map24: 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?

Actions #2

Updated by vadaszi almost 9 years 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.


Also available in: Atom PDF