Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Nov 2003 23:44:23 +0100
From:      Andreas Klemm <andreas@FreeBSD.org>
To:        Gordon Tetlow <gordont@gnf.org>
Cc:        Andreas Klemm <andreas@FreeBSD.org>
Subject:   Re: cvs commit: src/sys/dev/aic7xxx ahc_pci.c ahd_pci.c src/sys/dev/ath if_ath_pci.c src/sys/dev/firewire fwohci_pci.c src/sys/dev/fxp if_fxp.c src/sys/dev/puc puc_pci.c src/sys/dev/re if_re.c src/sys/dev/sio sio_pci.c src/sys/dev/uart uart_bus_pci.c ...
Message-ID:  <20031128224423.GA11411@titan.klemm.apsfilter.org>
In-Reply-To: <20031128223424.GM53437@roark.gnf.org>
References:  <200311280528.hAS5SUBd080023@repoman.freebsd.org> <20031128102356.GA21515@titan.klemm.apsfilter.org> <20031128223424.GM53437@roark.gnf.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Nov 28, 2003 at 02:34:24PM -0800, Gordon Tetlow wrote:
> On Fri, Nov 28, 2003 at 11:23:56AM +0100, Andreas Klemm wrote:
> > 
> > This reminds me about one problem with my DELL Latitude D600
> > notebook that is still unsolved in -current of 1-2 weeks ago.
> > 
> > Maybe your commit is related to that problem ... I'll test ...
> > 
> > The internal broadcom 10/100/1000 works fine, no problem.
> > 
> > But .. if I add a 2nd Ethernet cardbus PCMCIA card and boot the
> > device or - if I remember right - simply plug in the 3COM card
> > into the PCMCIA slot, then PHY won't be found for the bge0
> > interface anymore...
> 
> I had a similar problem with my IBM T40 laptop. It turned out that
> the cardbus and ethernet controllers were trying to grab the same
> region in memory. Try a boot -v and see if cbb and bge are trying
> to grab the same region in memory.

Indeed, seems to be the case:
bge0 mem 0xfaff0000-0xfaffffff
cbb0     0xf6000000-0xfbffffff

How can this be solved ??

	Andreas ///


[...]
bge0: <Broadcom BCM5702 Gigabit Ethernet, ASIC rev. 0x1002> mem 0xfaff0000-0xfaf
fffff irq 11 at device 0.0 on pci2
pcib2: device bge0 requested decoded memory range 0xfaff0000-0xfaffffff
bge0: Ethernet address: 00:0b:db:df:53:b1
miibus0: <MII bus> on bge0
brgphy0: <BCM5703 10/100/1000baseTX PHY> on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX
-FDX, auto
bge0: bpf attached
cbb0: <PCI-CardBus Bridge> at device 1.0 on pci2
pcib2: device cbb0 requested decoded memory range 0xf6000000-0xfbffffff
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
pcib2: matched entry for 2.1.INTA (source \\_SB_.PCI0.LNKD)
pcib2: slot 1 INTA is routed to irq 11
cbb0: [MPSAFE]
cbb0: PCI Configuration space:
  0x00: 0x71131217 0x04100007 0x06070020 0x00822000
  0x10: 0xf6000000 0x020000a0 0x20000000 0xfffff000
  0x20: 0x00000000 0xfffff000 0x00000000 0x0000fffd
  0x30: 0x00000001 0x0000fffd 0x00000001 0x0440010b
  0x40: 0x011d1028 0x00000001 0x00000000 0x00000000
  0x50: 0x00000000 0x00000000 0x00000000 0x00000000
  0x60: 0x00000000 0x00000000 0x00000000 0x00000000
  0x70: 0x00000000 0x00000000 0x00000000 0x00000000
  0x80: 0x00000000 0x00000000 0x00000000 0x018c1882
  0x90: 0x00350003 0x00000000 0x00000000 0x00000000
  0xa0: 0xfe020001 0x00c04000 0x00000000 0x0000000d
  0xb0: 0x00000000 0x00000000 0x00000000 0x00000000
  0xc0: 0x00000000 0x00000000 0x00000000 0x00000000
  0xd0: 0x08004000 0x80820bea 0x00000000 0x00400000
  0xe0: 0x00828000 0x00000000 0x00000000 0x00000000
  0xf0: 0x00000000 0x00000000 0x00000000 0x00000000
cbb1: <PCI-CardBus Bridge> at device 1.1 on pci2
pcib2: device cbb1 requested decoded memory range 0xf6000000-0xfbffffff
cardbus1: <CardBus bus> on cbb1
pccard1: <16-bit PCCard bus> on cbb1
pcib2: matched entry for 2.1.INTA (source \\_SB_.PCI0.LNKD)
pcib2: slot 1 INTA is routed to irq 11
cbb1: [MPSAFE]
cbb1: PCI Configuration space:
  0x00: 0x71131217 0x04100007 0x06070020 0x00822000
  0x10: 0xf6001000 0x020000a0 0x20000000 0xfffff000
  0x20: 0x00000000 0xfffff000 0x00000000 0x0000fffd
  0x30: 0x00000001 0x0000fffd 0x00000001 0x0440010b
  0x40: 0x011d1028 0x00000001 0x00000000 0x00000000
  0x50: 0x00000000 0x00000000 0x00000000 0x00000000
  0x60: 0x00000000 0x00000000 0x00000000 0x00000000
  0x70: 0x00000000 0x00000000 0x00000000 0x00000000
  0x80: 0x00000000 0x00000000 0x00000000 0x018c1882
  0x90: 0x00350003 0x00000000 0x00000000 0x00000000
  0xa0: 0xfe020001 0x00c04000 0x00000000 0x0000000d
  0xb0: 0x00000000 0x00000000 0x00000000 0x00000000
  0xc0: 0x00000000 0x00000000 0x00000000 0x00000000
  0xd0: 0x08004000 0x80800bea 0x00000000 0x04400000
  0xe0: 0x00828000 0x00000000 0x00000000 0x00000000
  0xf0: 0x00000000 0x00000000 0x00000000 0x00000000
pci2: <network> at device 3.0 (no driver attached)
[...]


	Andreas ///

-- 
Andreas Klemm - Powered by FreeBSD 5.1-CURRENT
Need a magic printfilter today ? -> http://www.apsfilter.org/



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