Bug #2391

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

Added by jorisgio about 3 years ago. Updated 3 months ago.

Status:In ProgressStart date:06/24/2012
Priority:NormalDue date:
Assignee:vadaszi% Done:

50%

Category:-
Target version:-

Description

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 - trace after page fault with ahci/acpi enabled (422 KB) jorisgio, 06/24/2012 01:41 PM

pciconf-lvbc - pciconf -lvbc (9.52 KB) jorisgio, 06/24/2012 01:41 PM

dmesg-verbose - dmesg (26.5 KB) jorisgio, 06/24/2012 01:41 PM

History

#1 Updated by vadaszi about 3 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[24]: 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:
http://unix.derkeiler.com/Mailing-Lists/FreeBSD/current/2008-05/msg00369.html

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 3 months 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