Re: Bringing up bge0 cause panic error



On Sat, 1 Jul 2006 20:41:08 +0100
"Bhuiyan Mohammad Iklash" <nobel@xxxxxxxxxxxx> wrote:

Hi

I have install FreBSD 7 (June snapshot) in my Dell LATITUDE D820
laptop. I am facing e serious problem. whenever i want to bring up
the bge0 interface using following command nuke#ifconfig bge0 up
panic: invalid ife->ifm_data (0xa) in mii_phy_setmedia cpuid = 0
KDB: enter: panic
[thread pid 834 tid 100078 ]
Stopped at kdb_enter+0X2b: nop
db>

Then i can't do anything. I had install 6.1, that works fine. Then
from 6.1 i sync the current sourec and recompile system, but there
was an error during compillation. Then i have downloaded and
installed the snapshot and facing this problem.

Please let me know how can i get rid of from this problem. Thanks in
advanse.. nuke#uname -a
FreeBSD nuke.bloodforlife.net 7.0-CURRENT-200606 FreeBSD
7.0-CURRENT-200606 #0: Sun Jun 4 16:51:08 UTC 2006
root@xxxxxxxxxxxxxxxxxxxxxxx:/usr/obj/usr/src/sys/GENERIC i386

here is my dmesg

<snip>

Hi Nobel,

I'm the proud owner of a Dell Latitude D620 and I faced the same problem
like you. Using 6.1 I was able to use the bge-nic but on CURRENT it
panics everytime I try to use it (Set it up or assign an IP-address).

The problem is probably, that the PHY of the be-nic isn't recognised
and a generic PHY attaches (See your dmesg: ukphy0).

Please try the attached patch. It make the Broadom-PHY attach to the
card. For me it works great, although it does not solve the firmware
handshake timeouts.
But please note: I'm no c-programmer and the patch may be crap, but at
least it works ;)

Patrick

--
====================================================================
Patrick Hurrelmann | "Programming today is a race between software
Mannheim, Germany | engineers striving to build bigger and better
| idiot-proof programs, and the Universe trying
outi@xxxxxxxxxxxxx | to produce bigger and better idiots. So far,
www.bytephobia.de | the Universe is winning." - Rich Cook

/"\
\ / ASCII Ribbon Campaign
X against HTML email & vCards
/ \diff -ruN /usr/src/sys/dev/mii/brgphy.c /usr/src.old/sys/dev/mii/brgphy.c
--- /usr/src/sys/dev/mii/brgphy.c Tue May 16 16:36:28 2006
+++ /usr/src.old/sys/dev/mii/brgphy.c Fri Jun 30 16:27:46 2006
@@ -176,6 +176,11 @@
device_set_desc(dev, MII_STR_xxBROADCOM_BCM5708C);
return(0);
}
+ if (MII_OUI(ma->mii_id1, ma->mii_id2) == MII_OUI_xxBROADCOM &&
+ MII_MODEL(ma->mii_id2) == MII_MODEL_xxBROADCOM_BCM5752) {
+ device_set_desc(dev, MII_STR_xxBROADCOM_BCM5752);
+ return(0);
+ }

return(ENXIO);
}
diff -ruN /usr/src/sys/dev/mii/miidevs /usr/src.old/sys/dev/mii/miidevs
--- /usr/src/sys/dev/mii/miidevs Mon Apr 10 21:55:23 2006
+++ /usr/src.old/sys/dev/mii/miidevs Fri Jun 30 16:27:46 2006
@@ -117,6 +117,7 @@
model xxBROADCOM BCM5400 0x0004 Broadcom 1000baseTX PHY
model xxBROADCOM BCM5401 0x0005 BCM5401 10/100/1000baseTX PHY
model xxBROADCOM BCM5411 0x0007 BCM5411 10/100/1000baseTX PHY
+model xxBROADCOM BCM5752 0x0010 BCM5752 10/100/1000baseTX PHY
model xxBROADCOM BCM5701 0x0011 BCM5701 10/100/1000baseTX PHY
model xxBROADCOM BCM5703 0x0016 BCM5703 10/100/1000baseTX PHY
model xxBROADCOM BCM5704 0x0019 BCM5704 10/100/1000baseTX PHY
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"

Relevant Pages

  • Re: Bringing up bge0 cause panic error
    ... I have install FreBSD 7 (June snapshot) in my Dell LATITUDE D820 ... I am facing e serious problem. ...
    (freebsd-current)
  • Re: 64-Bit Win 7? Pitfalls?
    ... I am thinking of getting a Dell Latitude 6510 for my ... to get the needed post install drivers from Dell? ... if your son has any specialized software (ie: ... 32 bit Windows unless it was absolutely unavoidable. ...
    (alt.sys.pc-clone.dell)
  • Windows XP Stuck on Loading Screen - Help!
    ... I have been working on a Dell Latitude D620 laptop for my boss. ... I did a fresh install of ... Windows XP Home with SP3. ... When I gave the computer back to him, he wanted to set up a wireless network ...
    (microsoft.public.windowsxp.general)
  • Windows XP Stuck on Loading Screen - Help!
    ... I have been working on a Dell Latitude D620 laptop for my boss. ... I did a fresh install of ... Windows XP Home with SP3. ... When I gave the computer back to him, he wanted to set up a wireless network ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: XP will not start in safe mode. urgh
    ... This is the exact same problem i am facing, but i also have the added ... problem that i can not install windows on my computer as it freezes ... to no avail, i have also removed all my cd drives, sound card, network ...
    (microsoft.public.windowsxp.help_and_support)