Date: Fri, 13 Aug 2004 12:56:08 -0700 From: Nate Lawson <nate@root.org> To: =?ISO-8859-1?Q?S=F8ren_Schmidt?= <sos@DeepCore.dk> Cc: Radek Kozlowski <radek@raadradd.com> Subject: Re: Panic on boot with today's CURRENT, ata related Message-ID: <411D1CD8.9010005@root.org> In-Reply-To: <4119C858.6070000@DeepCore.dk> References: <4113EB2A.7060401@root.org> <20040806221109.GC55186@werd><411406AA.3030607@root.org> <20040810203822.GB28585@werd><41193370.3020302@root.org> <20040810210112.GC28585@werd><411939FC.5060001@root.org> <20040810215907.GD28585@werd> <4119C858.6070000@DeepCore.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?411D1CD8.9010005>