Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Sep 2004 16:36:32 -0700
From:      Nate Lawson <nate@root.org>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        johan@freebsd.org
Subject:   Re: 5.3-BETA5 panics when inserting dc0 carbus card (only with ACPI enabled) enabled)
Message-ID:  <41520C80.3010007@root.org>
In-Reply-To: <20040922.172120.29652264.imp@bsdimp.com>
References:  <200409221620.SAA14914@marabu.marabu.ch> <20040922193406.GB18509@numeri.campus.luth.se>	<4151DA08.6010602@root.org> <20040922.172120.29652264.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
M. Warner Losh wrote:
> In message: <4151DA08.6010602@root.org>
>             Nate Lawson <nate@root.org> writes:
> : Um, what is the dc0 card doing mapping ports 0-0xff:
> : 
> : Below the analogous output Johan Karlsson <johan@freebsd.org> posted
> : for his Xircom X3201 10/100BaseTX card for 5.3-BETA5:
> : 
> : dc0: <Netgear FA511 10/100BaseTX> port 0-0xff mem 0x88000000-0x880003ff 
> : at device 0.0 on cardbus0
> : cbb alloc res fail
> : dc0: couldn't map ports/memory
> : 
> : Dmesg from boot with a working kernel for dc0 would help as well as 
> : devinfo -r from a non-working one.
> 
> Is there a pci bridge involved?  It is a well known problem for
> cardbus systems that if there isn't, you get mappings like this.

I don't know, but it looks like cbb0 is directly under pci0.  Here's the 
devinfo -r results from his working boot:

     pcib0
       pci0
         pcib1
           pci1
         cbb0
             Interrupt request lines:
                 0xb
             I/O memory addresses:
                 0x50000000-0x50000fff
           cardbus0
           pccard0
         cbb1
             I/O memory addresses:
                 0x50100000-0x50100fff
           cardbus1
           pccard1

I can't see how ACPI sysresources affect this since ACPI doesn't claim 
0x1080-0x10ff IO which the card asks for.

-- 
Nate



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41520C80.3010007>