Re: Panic on boot with today's CURRENT, ata related

From: Nate Lawson <nate_at_root.org>
Date: Fri, 13 Aug 2004 12:56:08 -0700
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
Received on Fri Aug 13 2004 - 17:56:20 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:06 UTC