From owner-freebsd-stable@FreeBSD.ORG Mon May 8 04:16:29 2006 Return-Path: X-Original-To: freebsd-stable@FreeBSD.ORG Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 31D2816A425 for ; Mon, 8 May 2006 04:16:29 +0000 (UTC) (envelope-from ganbold@micom.mng.net) Received: from publicd.ub.mng.net (publicd.ub.mng.net [202.179.0.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0664343D45 for ; Mon, 8 May 2006 04:16:27 +0000 (GMT) (envelope-from ganbold@micom.mng.net) Received: from [202.179.0.164] (helo=[192.168.0.18]) by publicd.ub.mng.net with esmtpa (Exim 4.61 (FreeBSD)) (envelope-from ) id 1FcxA3-000KEE-UZ; Mon, 08 May 2006 13:15:56 +0900 Message-ID: <445EC5FA.10103@micom.mng.net> Date: Mon, 08 May 2006 13:15:54 +0900 From: Ganbold User-Agent: Thunderbird 1.5.0.2 (X11/20060425) MIME-Version: 1.0 To: pyunyh@gmail.com References: <20060324223317.2069564f@it.buh.tecnik93.com> <20060327185142.GC24315@soaustin.net> <200603271848.19010.joao@matik.com.br> <200603280221.28996.pieter@degoeje.nl> <20060328020840.GA8189@cdnetworks.co.kr> <20060328034846.GA81006@0lsen.net> <20060328142215.GC65098@freebie.xs4all.nl> <20060329104842.GA12679@cdnetworks.co.kr> In-Reply-To: <20060329104842.GA12679@cdnetworks.co.kr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@FreeBSD.ORG Subject: Re: new sk driver [was: nve timeout (and down) regression?] 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: Mon, 08 May 2006 04:16:29 -0000 Pyun, Pyun YongHyeon wrote: > On Tue, Mar 28, 2006 at 04:22:15PM +0200, Wilko Bulte wrote: > > On Mon, Mar 27, 2006 at 07:48:46PM -0800, Clint Olsen wrote.. > > > On Mar 28, Pyun YongHyeon wrote: > > > > and sparc64(SMP) and I never see above errors. The only issue known to > > > > me is occasional watchdog timeout error which I really want to fix. But > > > > the watchdog timeout error is hard to reproduce and I couldn't reproduce > > > > the error on my system. > > > > > > I'm still seeing the watchdog timeout on 5.5-PRERELEASE (uni-processor): > > > > > > Mar 22 14:47:04 belle kernel: sk0: watchdog timeout > > > Mar 24 08:37:19 belle kernel: sk0: watchdog timeout > > > Mar 27 04:09:15 belle kernel: sk0: watchdog timeout > > > > > > But at least the driver doesn't wedge the interface now. > > > > Yes, same here on 6.1-PRERELEASE: > > > > ch0: 10 slots, 1 drive, 1 picker, 0 portals > > sk0: watchdog timeout > > sk0: watchdog timeout > > > > Ok, here is a new patch that try to fix the watchdog timeout error. > I don't know it will eradicate the bug as I don't see the watchdog > error on my system. > The patch borrowed Yukon specific register definition from Linux > driver and adopted Yukon FIFO related operations from Linux. I don't > know exact meaning of the registers(it's just guessing) but it seems > it doesn't hurt on my system. > > You may have to download 4 files to build the driver. > http://people.freebsd.org/~yongari/sk/sk_test2/if_sk.c > http://people.freebsd.org/~yongari/sk/sk_test2/if_skreg.h > http://people.freebsd.org/~yongari/sk/sk_test2/xmaciireg.h > http://people.freebsd.org/~yongari/sk/sk_test2/yukonreg.h > I compiled new sk driver on 6.1-RC, however I couldn't get it work. When I load module I get: May 8 12:04:56 proxy kernel: skc0: port 0xcc00-0xccff mem 0xfe3fc000-0xfe3fffff irq 20 at device 3.0 on pci6 May 8 12:04:56 proxy kernel: skc0: unknown media type: 0x31 May 8 12:04:56 proxy kernel: device_attach: skc0 attach returned 6 Machine: FreeBSD 6.1-RC #1: Mon May 8 11:40:01 ULAST 2006 tsgan@proxy.micom.mng.net:/usr/obj/usr/src/sys/PROXY ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(TM) CPU 3.00GHz (2992.52-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf43 Stepping = 3 Features=0xbfebfbff Features2=0x641d> AMD Features=0x20100000 Logical CPUs per core: 2 real memory = 1073479680 (1023 MB) avail memory = 1041559552 (993 MB) ... pciconf -lv ... skc0@pci6:3:0: class=0x020000 card=0x432011ab chip=0x432011ab rev=0x14 hdr=0x00 vendor = 'Marvell Semiconductor (Was: Galileo Technology Ltd)' device = '88E8001/8003/8010 Gigabit Ethernet Controller with Integrated PHY (copper)' class = network subclass = ethernet ... Is this NIC supported by if_sk driver? thanks, Ganbold