PCI help needed - Re: Very alpha BroadCom 4401 driver
From: Duncan Barclay (dmlb_at_dmlb.org)
Date: 06/30/03
- Previous message: Vincent Poy: "/usr/src/libexec/talkd notification broken when user is usingscreen port and creates pty's"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
To: "Kenneth D. Merry" <ken@kdm.org> Date: Mon, 30 Jun 2003 09:40:18 +0100
<CC'd to -current as this is a PCI memory mapping problem than I don't know
how to get around>
From: "Kenneth D. Merry" <ken@kdm.org>
> I sent dmesg and pciconf output last week...I've attached it again.
Thanks. The penny is starting to drop here. A night's sleep does wonders.
When you boot your machine it gets things right:
bcm0: <Broadcom 10/100 Base-T Ethernet> mem 0xfaffe000-0xfaffffff irq 11
at device 0.0 on pci2
pcib2: device bcm0 requested decoded memory range 0xfaffe000-0xfaffffff
bcm0: Ethernet address: 00:0b:db:94:bf:42
bcm0: core 0x806 revi 0x4 vend 0x4243 match 0x18000058 (type 0x0 base
0x18000000) inst 0x0
bcm0: core 0x804 revi 0x2 vend 0x4243 match 0x18002058 (type 0x0 base
0x18002000) inst 0x0
When loaded as a module, the value for "match" is 0xffffffff, and this is
wrong.
> I just tried loading it as a module, and got the panic again. One
> interesting thing is that is shows the MAC address as ff:ff:ff:ff:ff:ff.
>
> Another interesting thing is that if I insert a cardbus fxp card (the
> Broadcom chip is on board), the whole system locks up hard if the bcm
> driver is compiled into the kernel. If the bcm driver isn't there, things
> work as expected.
All this points to something strange with memory mappings - it may be your
machine or the Broadcom chip set. On your machine, the chip is at a very
high address 0xfaffe000-0xfaffffff. For some reason, when used as a module,
this isn't being correctly mapped to the device driver - I have no idea why
not as this is wanderering into PCI voodoo.
Can anyone else suggest what's happening here? Ken has dmesg output
available.
> Ken
Duncan
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
- Previous message: Vincent Poy: "/usr/src/libexec/talkd notification broken when user is usingscreen port and creates pty's"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]