Panic on boot with today's CURRENT, ata related
Nate Lawson
nate at root.org
Fri Aug 13 12:56:20 PDT 2004
Søren Schmidt wrote:
> 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..
So far, we've found that it attempts to allocate the r_res1 resource but
that fails. So the PCI BM enable code is working as expected. I sent
him a patch to get a printf of resources and their RIDs.
-Nate
More information about the freebsd-current
mailing list