Re: Panic: Use-after-free in bfe

From: Tai-hwa Liang <avatar_at_mmlab.cse.yzu.edu.tw>
Date: Wed, 16 Mar 2005 22:38:06 +0800 (CST)
On Wed, 16 Mar 2005 pcasidy_at_casidy.com wrote:
> On 16 Mar, Tai-hwa Liang wrote:
>>
>>    Not sure about the reason of the interrupt storm you observed; however,
>> the link down problem sounds like some sort of switch incompatibility to me.
>> I remembered that someone said that manually tweak the media type *may*
>> be a possible workaround(i.e. "ifconfig bfe0 media 10baseT/UTP" or
>> "ifconfig bfe0 media 100baseTX).
>
> I tried both media with no success.
>
>>    Does direct connect through crossover cable to another computer work
>> for you?
>
> I have just tried using a crossover cable with no success even if i
> force the media.

   That's weird. With that patch, my ASUS P4PE builtin BCM4401 works
perfectly in 6-CURRENT as of Mar-15-2005. pciconf as follows:

bfe0_at_pci2:5:0:	class=0x020000 card=0x80a81043 chip=0x440114e4 rev=0x01 hdr=0x00
     vendor   = 'Broadcom Corporation'
     device   = 'BCM4401 10/100 Integrated Ethernet Controller'
     class    = network
     subclass = ethernet

   I'm not sure whether this helps, but you may try to disable the usb
drivers(either remove them from kernel build or just don't load the
related modules) since the other difference between us is that my bfe0
doesn't share irq with uhci/ehci:

bfe0: <Broadcom BCM4401 Fast Ethernet> mem 0xed000000-0xed001fff irq 20 at device 5.0 on pci2
atapci0: <Intel ICH4 UDMA100 controller> port 0xf000-0xf00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 irq 18 at device 31.1 on pci0
uhci0: <Intel 82801DB (ICH4) USB controller USB-A> port 0xd800-0xd81f irq 16 at device 29.0 on pci0
uhci1: <Intel 82801DB (ICH4) USB controller USB-B> port 0xd400-0xd41f irq 19 at device 29.1 on pci0
uhci2: <Intel 82801DB (ICH4) USB controller USB-C> port 0xd000-0xd01f irq 18 at device 29.2 on pci0
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xed800000-0xed8003ff irq 23 at device 29.7 on pci0

> If that can help, with works pretty well with NDISulator.

   Haven't tried that on bfe0 before; however, does ndis0 shares the same
irq with your uhci devices?

-- 
Cheers,
Tai-hwa Liang
Received on Wed Mar 16 2005 - 13:38:08 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:30 UTC