BCM4401 driver

From: Bruce Cran (bruce_at_cran.org.uk)
Date: 07/28/03

  • Next message: Paulo Roberto: "vpo in ECP"
    Date: Mon, 28 Jul 2003 18:55:26 +0100
    To: freebsd-hackers@freebsd.org
    
    

    I realise that there's a 'beta' FreeBSD driver out for this card, and I've
    been attempting to learn the kernel interfaces such as bus_dma and mbuf
    handling to debug it, but without much success. On my Dell, it seems to
    mostly work if I set the number of RX descriptors very low, around 5, but at
    the default of 200 the network stalls with invalid packets. Running a
    tcpdump on the interface shows that, with 5 descriptors, there's an occasional
    bad packet, but it doesn't stop any network access working. With 200, I get
    loads of bad packets, where tcpdump shows the mac addresses (the ethernet
    header I guess) quite a few bytes
    into the packet. I recently ran the system with the driver preloaded, and
    after a while it locked the system up, spamming me with 'bcm0: discarding frame
    w/o ethernet header (len 4294967296 pktlen 4294967296)'. It looks as though
    there's either a problem with where the chip is putting the data, or
    something's wrong with the mbuf handling, but which only gets triggered after
    a while. Does anyone know enough about
    network drivers to know what the problem might be?
    It would be great to have this card supported, and it seems that the driver
    is very near to being working, it just needs a bit more debugging work
    done on it.

    --
    Bruce Cran
    _______________________________________________
    freebsd-hackers@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
    To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
    

  • Next message: Paulo Roberto: "vpo in ECP"

    Relevant Pages

    • Re: OS throws away large packets
      ... I'm using mbuf chains in this imlpementation, ... Do I need to set some OS parameter to make it recieve mbuf chains? ... the nic driver rather than ... In my case I'm not trying to receive packets>MTU from the HW, ...
      (freebsd-questions)
    • Re: OS throws away large packets
      ... I'm using mbuf chains in this imlpementation, ... Do I need to set some OS parameter to make it recieve mbuf chains? ... the nic driver rather than ... In my case I'm not trying to receive packets>MTU from the HW, ...
      (freebsd-net)
    • Re: BCM4401 driver
      ... > handling to debug it, ... > the default of 200 the network stalls with invalid packets. ... I recently ran the system with the driver preloaded, ... of the stuff (chip layout) I'm doing at work, the last thing I want to do is ...
      (freebsd-hackers)
    • Re: Filter Hook
      ... the callback routine is been invoked at DISPATCH_LEVEL. ... If you really have to keep such a queue for the packets, then the IP filter driver is not suitable for your needs since you have to process all the packets in the callback routine without any wait actionand return it to the tcpip driver immediately when the callback routine returns. ... What IRQL are you running at when you crash, ...
      (microsoft.public.development.device.drivers)
    • Re: MAC bridging and sniffing packets with specific Ethertype
      ... That is, the Ethernet adapters are bound to the Mbridge driver (which, since ... Mbridge handles the bridging of packets between the adapters. ...
      (microsoft.public.windowsce.embedded)