Bug #1460
closedpanic: ahci_put_err_ccb(1) but CI 00000002 != 0
0%
Description
Hi.
After seeing major fixes on AHCI driver committed, I decided to try it
on my PC, which never managed to boot DragonFly with AHCI enabled.
Unfortunately it still won't. Here's what I get when I set SATA mode
enabled in the BIOS:
pcib3: requested memory range 0xff3fe000-0xff3fffff: good
ahci0.pci3.pcib3.pci0.pcib0.legacy0.nexus0.root0
ahci0: <AHCI-PCI-SATA> [tentative] port 0x9400-0x940f,0x9480-0x9483,0x9800-0x9807,0x9880-0x9883,0x9c00-0x9c07 mem 0xff3fe000-0xff3fffff irq 24 at device 0.0 on pci3
ahci0: Reserved 0x2000 bytes for rid 0x24 type 3 at 0xff3fe000
cpu1: Invalid FID 0xc [0xe, 0xe]
ACPI: domain0 P-State configuration check failed
cpu0: Invalid FID 0xc [0xe, 0xe]
ACPI: domain0 P-State configuration check failed
ahci0: AHCI 1.0 capabilities 0xc722f00<S64A,NCQ,SALP,SAL,SCLO,SPM,PMD,SSC,PSC>, 1 ports, 32 tags/port, gen 1 (1.5Gbps) and 2 (3Gbps)
IOAPIC: try clearing IRR for irq 24
ahci0.0: START HARDRESET
ahci0.0: Transient Errors: 400000<PRCS>
ahci0.0: Restart 00000002
ahci0.0.15: Poll timeout slot 1 CMD: 64010<HPCP,PMA,FR,FRE> TFD: 0x77<ERR> SERR: 40000<DIAG.W>
ahci0.0: PMPROBE First FIS failed
panic: ahci_put_err_ccb(1) but CI 00000002 != 0 (act=00000000 sact=00000000)
mp_lock = 00000000; cpuid = 0
If I disabled ACPI, the lines beginning with ACPI, cpu0, or cpu1 disappear,
but the rest of lines remain same. I tried booting Ubuntu from USB memory
and it at least recognized the drive (though with irq 35, instead of 24,
not knowing if it's important or not). I also tried booting a GENERIC
kernel minus nata driver, which ended up with the same panic. Is there
anything else I can try or any suggestions on where to look at? The kernel
is compiled from the source code as of a22da047710, so I believe it has all
AHCI-related fixes.
Best Regards.