kern/94863: [bge] hack to get bge(4) working on IBM e326m

Lucas Nussbaum lucas.nussbaum at imag.fr
Fri Mar 24 10:30:32 UTC 2006


The following reply was made to PR kern/94863; it has been noted by GNATS.

From: Lucas Nussbaum <lucas.nussbaum at imag.fr>
To: bug-followup at FreeBSD.org, vivek at khera.org
Cc:  
Subject: Re: kern/94863: [bge] hack to get bge(4) working on IBM e326m
Date: Fri, 24 Mar 2006 11:23:26 +0100

 Hi,
 
 Where did you find this information about BCM5714 on the IBM website ?
 
 The NICs are detected by Linux (kernel v. 2.6.15-1-amd64-k8-smp from
 Debian) here as :
 
 eth0: Tigon3 [partno(BCM95780) rev 8003 PHY(5780)] (PCIX:133MHz:64-bit)
 10/100/1000BaseT Ethernet 00:11:25:c4:32:5a
 eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[1] Split[0] WireSpeed[1]
 TSOcap[1] 
 eth0: dma_rwctrl[76144000]
 
 So they might be 5780, not 5714, and this would explain the different
 ID. See this Linux diff :
 http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=4cf78e4fb678807e3f8265c9e9031a84f5c601f0;hp=6b6a93c6876ea1c530d5d3f68e3678093a27fab0
 
 I patched the FreeBSD driver to add those IDs, but then, when tranfering
 large files, I got :
  bge1: discard frame w/o leading ethernet header (len 4294967292 pkt len
 4294967292)
 
 And:
  Fatal trap 12: page fault while in kernel mode
  fault virtual address   = 0x28
  fault code              = supervisor write, page not present
  instruction pointer     = 0x8:0xffffffff80227802
  stack pointer           = 0x10:0xffffffffb1b00b80
  frame pointer           = 0x10:0xffffffffb1f3a020
  code segment            = base 0x0, limit 0xfffff, type 0x1b
                          = DPL 0, pres 1, long 1, def32 0, gran 1
  processor eflags        = interrupt enabled, resume, IOPL = 0
  current process         = 18 (irq7: bge1)
  trap number             = 12
  panic: page fault
  Uptime: 1m57s
  Cannot dump. No dump device defined.
  Automatic reboot in 15 seconds - press a key on the console to abort
 
 You didn't run into similar issues ?
 -- 
 | Lucas Nussbaum
 | lucas.nussbaum at imag.fr   jabber: lucas at nussbaum.fr |
 | Doctorant                      Laboratoire ID-IMAG |


More information about the freebsd-bugs mailing list