From owner-freebsd-net@FreeBSD.ORG Wed Apr 4 19:06:52 2007 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4651716A401 for ; Wed, 4 Apr 2007 19:06:52 +0000 (UTC) (envelope-from b@helectronics.de) Received: from server73.greatnet.de (server73.greatnet.de [83.133.96.46]) by mx1.freebsd.org (Postfix) with ESMTP id D135113C448 for ; Wed, 4 Apr 2007 19:06:51 +0000 (UTC) (envelope-from b@helectronics.de) Received: from localhost (localhost [127.0.0.1]) by server73.greatnet.de (Postfix) with ESMTP id 68AD1900918 for ; Wed, 4 Apr 2007 21:06:48 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at server73.greatnet.de Received: from server73.greatnet.de ([127.0.0.1]) by localhost (server73.greatnet.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5p7dOkLb2iG6 for ; Wed, 4 Apr 2007 21:06:48 +0200 (CEST) Received: from home.bh.net (dslb-084-062-039-182.pools.arcor-ip.net [84.62.39.182]) by server73.greatnet.de (Postfix) with ESMTP id 25DC5900085 for ; Wed, 4 Apr 2007 21:06:47 +0200 (CEST) Date: Wed, 4 Apr 2007 21:06:49 +0200 From: Marv To: freebsd-net@freebsd.org Message-ID: <20070404190649.GB986@home.bh.net> References: <20070404100200.GA1167@home.bh.net> <20070404111158.GB11525@cdnetworks.co.kr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070404111158.GB11525@cdnetworks.co.kr> User-Agent: Mutt/1.4.2.2i Subject: Re: if_msk in 6.2 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Apr 2007 19:06:52 -0000 Thanks for your reply. I checked out the kernel source tree of RELENG_6, applied your patch and compiled a new kernel. The kernel boots and detects a 88E8038 Ethernet card but then hangs: mskc0: irq 16 at device 0.0 on pci2 mskc0: 0x4000 bytes of rid 0x10 res 3 failed (0, 0xffffffff). mskc0: unknown device: id=0xff, rev=0x0f (doing nothing no more at this point). Was there some kind of detection failure or is my ethernet controller not configured properly to fit the driver? On Wed, Apr 04, 2007 at 08:11:58PM +0900, Pyun YongHyeon wrote: > On Wed, Apr 04, 2007 at 12:02:00PM +0200, Marv wrote: > > Hi, > > > > I have a new notebook with a 'Marvell Semiconductor (Was: Galileo > > Technology Ltd)' internel network card. (card=0x01101025 > > chip=0x8039104c) > > > > I guess you've got Marvell 88E8039. > > > I installed FreeBSD 6.2 i386 and downloaded the msk driver from > > http://people.freebsd.org/~yongari/msk/. I applied the patches > > msk.HEAD.diff and the e1000phy.diff patch. I also tried the > > e1000phy.20061219.fbsd62.patch but the kernel does not compile. > > > > Does anybody know which exact steps I have to follow so that the driver > > works? > > > > You will have to update to RELENG_6 or CURRENT to get msk(4). > But msk(4) still does not support 88E8039. I'm not sure just adding > PCI id is enough to make it work. > Try attached patch after updating to CURRENT. > > -- > Regards, > Pyun YongHyeon > Index: if_msk.c > =================================================================== > RCS file: /home/ncvs/src/sys/dev/msk/if_msk.c,v > retrieving revision 1.11 > diff -u -r1.11 if_msk.c > --- if_msk.c 4 Mar 2007 03:38:07 -0000 1.11 > +++ if_msk.c 4 Apr 2007 11:08:51 -0000 > @@ -190,6 +190,8 @@ > "Marvell Yukon 88E8036 Gigabit Ethernet" }, > { VENDORID_MARVELL, DEVICEID_MRVL_8038, > "Marvell Yukon 88E8038 Gigabit Ethernet" }, > + { VENDORID_MARVELL, DEVICEID_MRVL_8039, > + "Marvell Yukon 88E8039 Gigabit Ethernet" }, > { VENDORID_MARVELL, DEVICEID_MRVL_4361, > "Marvell Yukon 88E8050 Gigabit Ethernet" }, > { VENDORID_MARVELL, DEVICEID_MRVL_4360, > Index: if_mskreg.h > =================================================================== > RCS file: /home/ncvs/src/sys/dev/msk/if_mskreg.h,v > retrieving revision 1.3 > diff -u -r1.3 if_mskreg.h > --- if_mskreg.h 29 Dec 2006 04:55:38 -0000 1.3 > +++ if_mskreg.h 4 Apr 2007 11:08:52 -0000 > @@ -130,6 +130,7 @@ > #define DEVICEID_MRVL_8035 0x4350 > #define DEVICEID_MRVL_8036 0x4351 > #define DEVICEID_MRVL_8038 0x4352 > +#define DEVICEID_MRVL_8039 0x4353 > #define DEVICEID_MRVL_4360 0x4360 > #define DEVICEID_MRVL_4361 0x4361 > #define DEVICEID_MRVL_4362 0x4362