Panic on boot with today's CURRENT, ata related

Søren Schmidt sos at DeepCore.dk
Wed Aug 11 00:19:12 PDT 2004


Radek Kozlowski wrote:

> -atapci0: Reserved 0x10 bytes for rid 0x20 type 4 at 0x8080
> [...]
> -ata0-master: setting UDMA100 on AcerLabs Aladdin chip
> [...]
> -ATAPI_RESET time = 160us
> +ATAPI_RESET time = 180us
> [...]
> -ad0: 16 secs/int, 1 depth queue, UDMA100
> +ad0: 16 secs/int, 1 depth queue, PIO4
> 
> Please tell me if there's more I can do. Thank you.

Hmm, you are not getting the DMA resource, or the PCI config registers 
are not responding as they should.

To get more info you should instrument the code in ata-pci.c around 
lines 178-190 to see what it is that rejects the DMA resource.

Something changes in the resources/PCI config that is sent to the ATA 
driver so that it either cant get at the I/O ports for DMA or so that 
the PCI config regs wont allow busmastering to be enabled..
Wether this is in ACPI or the PCI code I cant tell without more info 
from doing the above instrumenting..

-Søren



More information about the freebsd-current mailing list