From owner-freebsd-stable@FreeBSD.ORG Thu Jan 15 14:43:33 2009 Return-Path: Delivered-To: FreeBSD-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4890E1065673 for ; Thu, 15 Jan 2009 14:43:33 +0000 (UTC) (envelope-from vibarus@googlemail.com) Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.28]) by mx1.freebsd.org (Postfix) with ESMTP id 02AF08FC17 for ; Thu, 15 Jan 2009 14:43:32 +0000 (UTC) (envelope-from vibarus@googlemail.com) Received: by yx-out-2324.google.com with SMTP id 8so435718yxb.13 for ; Thu, 15 Jan 2009 06:43:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=ffJ0UFJPyzmunKSKOVq7GKAFBRUBu8//u559sgdGMOI=; b=R8pBCnCXT16M9pDGSISK0BvtZ3lTlCpqaKP69tGo7rGNKd2MU4ssX2aGqr2izHCt67 Zlls7xg204U714s4UB+KS0J59QP6OonIKPt7a5LCRUiEm6HPV34IULcOwLH4B9LruyhB RD4xDna8kjRhbXC5XS5+jX8YluiVo66kkZX5I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=so2kp0bmTD0qQiDuBiyCzGgqHd7tpPgQAhxK/Hw3nCF/NGZdxrM6haTEir/+ek0v8B 4pRVCaG1rrrS/AXVvSJEazgdu/Kj274GPpKJUTt/EQWB/W6yoDVnxu67pWSuMMe/9ffO h7JId6WRmoMgIiKGJi7ctxOmULBb6wODz7mKQ= Received: by 10.100.96.10 with SMTP id t10mr1143011anb.32.1232029394711; Thu, 15 Jan 2009 06:23:14 -0800 (PST) Received: by 10.100.112.12 with HTTP; Thu, 15 Jan 2009 06:23:14 -0800 (PST) Message-ID: Date: Thu, 15 Jan 2009 15:23:14 +0100 From: "Vincent Barus" To: pyunyh@gmail.com In-Reply-To: <20090109121930.GJ30747@cdnetworks.co.kr> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20090109121930.GJ30747@cdnetworks.co.kr> Cc: FreeBSD-stable@freebsd.org Subject: Re: more marvell marvels X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jan 2009 14:43:33 -0000 On Fri, Jan 9, 2009 at 1:19 PM, Pyun YongHyeon wrote: > On Fri, Jan 09, 2009 at 01:48:24PM +0200, Danny Braniss wrote: > > hi, the mb is asus P5K-VM, the onboard nic is, acccording to pciconf: > > > > mskc0@pci0:1:0:0: class=0x020000 card=0x81f81043 chip=0x436411ab > > rev=0x12 hdr=0x00 > > vendor = 'Marvell Semiconductor (Was: Galileo Technology Ltd)' > > device = '88E8056 Yukon PCI-E Gigabit Ethernet Controller' > > class = network > > subclass = ethernet > > cap 01[48] = powerspec 3 supports D0 D1 D2 D3 current D0 > > cap 03[50] = VPD > > cap 05[5c] = MSI supports 1 message, 64 bit > > cap 10[e0] = PCI-Express 1 legacy endpoint > > > > nothing new here, problems have been reported before, but: > > > > my very first attempt - after a very long time - of booting 7.1-stable, > > produced > > a panic because msk could not find its physio, by the time i had the serial > > console > > attached and working, that problem disappeared :-( > > now, after reboot, it sometimes hangs - because the net is not working, and > > only if > > I unplug the ethernet, (no signs of the driver seeing this), and replug things > > begin > > to work. btw, i had to set > > hw.msk.legacy_intr="1" > > to get things working. > > > > any patches for 7.1-stable to test? > > > > If memory serve me right you have Yukon EC Ultra with 88E1149 PHY, > right? CURRENT has some stability fixes but the source wouldn't be > compiled on stable/7 yet due to KPI differences. I have plan to add > some features in next week which make it possible to use HEAD > version on stable/7. > > I'm not sure the patch for 88E8040 could be applied to stable/7 > but the patch has some fixes for link state handling. Would you > give it try? > http://people.freebsd.org/~yongari/msk/msk.88E8040.patch14 > Note, the 88E8040 patch is not complete yet and may cause other > problems too. > > -- > Regards, > Pyun YongHyeon > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > Hi Pyun, are if_msk.c and if_mskreg.h from http://people.freebsd.org/~yongari/msk/ the patched version? With this files I get an error Message regarding MEXTADD(m, buf, MSK_JLEN, msk_jfree, buf, (struct msk_if_softc *)sc_if, 0, EXT_NET_DRV); Is there a "buf," too much? I deleted the second "buf," and I was able to compile the Kernel. But I can't assign an IP with dhcp because msk0 always goes up and down. This is my nic: pci3: domain=0, physical bus=3 found-> vendor=0x11ab, dev=0x4354, revid=0x13 domain=0, bus=3, slot=0, func=0 class=02-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0007, statreg=0x0010, cachelnsz=16 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=5 powerspec 3 supports D0 D1 D2 D3 current D0 MSI supports 1 message, 64 bit map[10]: type Memory, range 64, base 0xf0200000, size 14, enabled none2@pci0:3:0:0: class=0x020000 card=0xca00144d chip=0x435411ab rev=0x13 hdr=0x00 vendor = 'Marvell Semiconductor (Was: Galileo Technology Ltd)' class = network subclass = ethernet cap 01[48] = powerspec 3 supports D0 D1 D2 D3 current D0 cap 05[5c] = MSI supports 1 message, 64 bit cap 10[c0] = PCI-Express 2 legacy endpoint Regards, ~ vb