From owner-freebsd-current@FreeBSD.ORG Wed Jul 5 15:53:05 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3839316A4F2 for ; Wed, 5 Jul 2006 15:53:05 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 07C4443D5D for ; Wed, 5 Jul 2006 15:53:03 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.4/8.13.4) with ESMTP id k65Fqp31000393; Wed, 5 Jul 2006 11:52:57 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-current@freebsd.org Date: Wed, 5 Jul 2006 11:49:28 -0400 User-Agent: KMail/1.9.1 References: <000601c69d46$4d112a80$2b0114ac@NOBEL> <20060702125917.0ea505ac@ax-ws170.ft.axit.de> In-Reply-To: <20060702125917.0ea505ac@ax-ws170.ft.axit.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200607051149.29086.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Wed, 05 Jul 2006 11:52:58 -0400 (EDT) X-Virus-Scanned: ClamAV 0.87.1/1585/Tue Jul 4 16:39:34 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on server.baldwin.cx Cc: Patrick Hurrelmann , Bhuiyan Mohammad Iklash Subject: Re: Bringing up bge0 cause panic error X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jul 2006 15:53:05 -0000 On Sunday 02 July 2006 06:59, Patrick Hurrelmann wrote: > On Sat, 1 Jul 2006 20:41:08 +0100 > "Bhuiyan Mohammad Iklash" 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@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 > > > > here is my dmesg > > > > > 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 ;) Can you try also making this ID upload the 5750 dsp code to see if that helps with your timeouts? Something like this: Index: brgphy.c =================================================================== RCS file: /usr/cvs/src/sys/dev/mii/brgphy.c,v retrieving revision 1.42 diff -c -r1.42 brgphy.c *** brgphy.c 16 May 2006 14:36:28 -0000 1.42 --- brgphy.c 5 Jul 2006 15:48:41 -0000 *************** *** 657,662 **** --- 657,663 ---- bcm5704_load_dspcode(sc); break; case MII_MODEL_xxBROADCOM_BCM5750: + case MII_MODEL_xxBROADCOM_BCM5752: case MII_MODEL_xxBROADCOM_BCM5714: case MII_MODEL_xxBROADCOM_BCM5780: case MII_MODEL_xxBROADCOM_BCM5706C: (This would be in addition to your current patch) -- John Baldwin