[vortex] 3C575-TX and RedHat 7.1

Andrew Morton akpm@zip.com.au
Mon, 10 Sep 2001 16:36:55 -0700


Well, this:

	PCI: Failed to allocate resource 0(1000-fff) for 05:00.0

seems to be the initial problem.

As I said, something is failing with the PCI IO space allocation.
The kernel thinks that the device wants 0xffffffff bytes of IO
space.  Areas to investigate are the functions pci_read_bases()
and pci_assign_bus_resource().

Can you do some investigation in that area?


"Glen R. Salo" wrote:
> 
> Attached is the dmesg output with the 2.4.9 kernel.  The network card still
> fails to work.  Any suggestions?
> 
> Thanks,
> 
> Glen
> 
> On 05-Sep-2001 Andrew Morton wrote:
> > "Glen R. Salo" wrote:
> >>
> >>
> >> cs: cb_alloc(bus 5): vendor 0x10b7, device 0x5057
> >> PCI: Failed to allocate resource 0 for PCI device 10b7:5057
> >
> > Kernel failed to allocate space for the NIC's IO space, and
> > the cardbus driver didn't check the resource allocation function's
> > return value.
> >
> > I can't reproduce or debug this.  It's quite common.
> >
> > Someone needs to stick some printks into
> > drivers/pci/pci.c:pci_read_bases()
> > and drivers/pci/setup-res.c:pci_assign_bus_resource() and work out
> > what went wrong.
> >
> > A more recent kernel gives us a little more info (start address
> > and size of the address region).  Can you try a later kernel?
> > Are you up to compiling your own?
> 
>   ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>                    Name: dmesg.txt
>    dmesg.txt       Type: Plain Text (text/plain)
>                Encoding: base64
>             Description: dmesg.txt