Re: System freeze when useing bfe (Broadcom BCM440x) driver

From: Daniel O'Connor (doconnor_at_gsoft.com.au)
Date: 08/27/04

  • Next message: Dmitry Karasik: "shared memory in jails"
    To: freebsd-hackers@freebsd.org, Genius Freak <geniusfreak@gmail.com>
    Date: Sat, 28 Aug 2004 00:27:14 +0930
    
    

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    On Fri, 27 Aug 2004 16:23, Genius Freak wrote:
    > I just installed 5.2.1 RELEASE from CD on my dell inspiron 1100
    >
    > I found some guides online and used them to create a custom kernel for
    > the laptop,
    > it compiled and booted fine however it freezes whenever I use the network
    > card. (example: running "pkg_add -r cvsup" causes it to freeze )
    >
    > I have compiled a second kernel while running the first to see it it
    > was just a CPU or resource issue but it went fine so it seems to me to
    > be the driver.
    >
    > I have attached the kernel config file for reference.
    >
    > Please tell me if there are any tricks to get this working properly.

    The bfe driver in 5.2.1 is faulty - if it gets a dud packet it will get into
    an infinite loop.

    Fetch rev 1.6 (5.2.1 has 1.4) from here ->
    http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/dev/bfe/if_bfe.c?rev=1.6&content-type=text/plain

    and put it in /usr/src/sys/dev/bfe then rebuild your kernel, or if you used
    the KLD for bfe do..
    cd /usr/src/sys/modules/bfe
    make
    make install
    kldunload if_bfe
    kldload if_bfe

    Then cvsup to RELENG_5 :)

    - --
    Daniel O'Connor software and network engineer
    for Genesis Software - http://www.gsoft.com.au
    "The nice thing about standards is that there
    are so many of them to choose from."
      -- Andrew Tanenbaum
    GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.4 (FreeBSD)

    iD8DBQFBL0vK5ZPcIHs/zowRAtX2AJoDViLfoASo9FhORzatQJQHqEvDRACfVAiK
    yOFR0mOV0mdz3MTb38WKNtU=
    =sZk+
    -----END PGP SIGNATURE-----
    _______________________________________________
    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: Dmitry Karasik: "shared memory in jails"

    Relevant Pages

    • Re: System freeze when useing bfe (Broadcom BCM440x) driver
      ... The kernel is rebuilding now:) ... I was so desperate I even tried the 5.3 beta1 to see if that would ... > Daniel O'Connor software and network engineer ...
      (freebsd-hackers)
    • Re: ghost tcp/udp LISTEN ports
      ... which 2.6.xx kernel and solves the above bug? ... Robert M. Stockmann - RHCE ... Network Engineer - UNIX/Linux Specialist ...
      (comp.os.linux.networking)
    • Re: if_bfe hangs
      ... > i've noticed that there was a patch committed to fix ... > the problem with the bfe driver hanging - but i'm not ... Then rebuild your kernel if you have it statically compiled, ... for Genesis Software - http://www.gsoft.com.au ...
      (freebsd-current)
    • Call for Help: patching if_bfe against FreeBSD -stable (4.8, 4.9)
      ... the above specifies a patch to include the bfe driver into a 4.8 kernel. ... Pardon my ignorance, but I am not familiar with kernel's patches, hence the ...
      (freebsd-hackers)
    • Call for Help: patching if_bfe against FreeBSD -stable (4.8, 4.9)
      ... the above specifies a patch to include the bfe driver into a 4.8 kernel. ... Pardon my ignorance, but I am not familiar with kernel's patches, hence the ...
      (freebsd-stable)