From owner-freebsd-current@FreeBSD.ORG Mon Nov 12 04:44:08 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B4C3C16A418 for ; Mon, 12 Nov 2007 04:44:08 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.183]) by mx1.freebsd.org (Postfix) with ESMTP id 81DBD13C4A7 for ; Mon, 12 Nov 2007 04:44:08 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so1495060waf for ; Sun, 11 Nov 2007 20:43:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; bh=SHwRGgeZe3fVW6OhZJ/YbmgSvOSNtu2wyOZYFGRgm+Q=; b=RZwIIocYBxRNDZX288cv7VyxBltjwzEDOkSSzizc+2Oe3QS1Jrsb/tJDzdPVtGYprHo7Imfv8lDe3Hyp0OxeW8+mRjwAxbun9kWg/QkoeqDC7QaX+eXo4BrBxPU81gF0BKTxzBa7yZbW3h/KhXO+zTaknWeZvTRTlgNIiucgG3Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=CuePxaFr2eWM9YDG1EtqyrkWQGMt+++cjYIzxU5+z3ok6bEe8DIC26BPk8kE/UGNDhTtQe/wgSpsMokLJYkvFbjRiC36od8bqJt3UFPoolWPqFVFhDBf5eKFUHQJaQxy2FuPMipqUoJwQRINzwF3jcaJj7X6chw18QHj/gh5IGo= Received: by 10.114.137.2 with SMTP id k2mr162487wad.1194842633162; Sun, 11 Nov 2007 20:43:53 -0800 (PST) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.google.com with ESMTPS id k26sm10014034waf.2007.11.11.20.43.48 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 11 Nov 2007 20:43:51 -0800 (PST) Received: from michelle.cdnetworks.co.kr (localhost.cdnetworks.co.kr [127.0.0.1]) by michelle.cdnetworks.co.kr (8.13.5/8.13.5) with ESMTP id lAC4hfe4095609 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 12 Nov 2007 13:43:41 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id lAC4heeA095608; Mon, 12 Nov 2007 13:43:40 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Mon, 12 Nov 2007 13:43:40 +0900 From: Pyun YongHyeon To: Chuck Robey Message-ID: <20071112044340.GC87383@cdnetworks.co.kr> References: <47375D78.4040309@chuckr.org> <20071112005620.GA87383@cdnetworks.co.kr> <4737BCC3.5030509@chuckr.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4737BCC3.5030509@chuckr.org> User-Agent: Mutt/1.4.2.1i Cc: freebsd-current@freebsd.org Subject: Re: nfe internet problems X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Nov 2007 04:44:08 -0000 On Sun, Nov 11, 2007 at 09:38:59PM -0500, Chuck Robey wrote: > Pyun YongHyeon wrote: > >On Sun, Nov 11, 2007 at 02:52:24PM -0500, Chuck Robey wrote: > > > I have a junko, but reliable, Ethernet card, one that has installed > > > perfectly as dc0, and runs fine. I've been recently experimenting with > > > on-board peripherals, and since I have a Asus Striker Extreme mobo, I > > > thought that the dual Ethernet ports ought to work. The dmesg output > > > seems to probe nfe0 & nfe1 just fine, so I tried using ifconfig (an old > > > friend, so you can dismiss thoughts that I did this wrong) to drop the > > > dc0, and move my stuff over to nfe0. When I do this, the entire > > machine > instantly locks up solid. I've tried this 3 times now; the > > machine > doesn't respond to pings, I can't (even typing in the blind) > > bring dc0 > back to life, and it just seems to instantly lock up. > > > > > > Any suggestions on this? > > > >Please show me more information. > > - FreeBSD version > > - verbosed boot messages > > - ifconfig nfe0 output > > - vmstat -i output > > I guess I was asking about any known, general instability with the nfe > driver, and not even considering that it might be something I have > somehow screwed up, but you're obviously right, so here's the requested > data dump: > > uname -a reads: FreeBSD april.chuckr.org 8.0-CURRENT FreeBSD > 8.0-CURRENT #0: Sat Nov 3 13:46:50 EDT 2007 > root@april.chuckr.org:/usr/obj/s6/sys/APRIL i386 > > I can't show you the nfe ifconfig, cause soon as I turn the nfe 0 or 1 > to up, my box becomes a doorstop I will give you the ifconfig out of my > dc0, because when I set it up, I do it identically. I have tried doing > it manually, and also tried editing rc.conf so that it comes up > automatically (oh, recovering from that one is cute). Here's the > ifconfig, which I believe is pretty useless .... > > ifconfig dc0: > > dc0: flags=8843 metric 0 mtu 1500 > options=8 > ether 00:0c:41:1b:e3:5c > inet 66.92.151.30 netmask 0xffffff00 broadcast 66.92.151.255 > media: Ethernet autoselect (100baseTX ) > status: active > > Chances of my getting that one wrong are pretty remote, I'm fairly good > at commo stuff. > > TCSH-april:chuckr:/usr/ports/lang:#13120:53>vmstat -i > interrupt total rate > irq1: atkbd0 194002 0 > irq12: psm0 1088361 2 > irq14: ata0 9913 0 > irq16: dc0 atapci+ 6104969 13 > irq19: fwohci0 3 0 > irq22: pcm0 ehci0 918638 2 > cpu0: timer 885224650 1999 > cpu1: timer 885215957 1999 > cpu2: timer 885215978 1999 > cpu3: timer 885215959 1999 > Total 3549188430 8018 > > OK, I just finished getting a verbose boot. Wouldn't you know it? The > nfe ports aren't even recognized now. I have them static in the kernel > (so they don't need kldloading) but I can offer you no probing info. I > can find the nfe by using kldstat -v, so it's in the kernel (and i > checked, an attempt to load it anyhow fails). I haven't any idea why it > would not be probed, it's on the motherboard (an Asus Striker Extreme) If nfe(4) was loaded successfully and identified ethernet controller it should have printed some information for the device.(You can check it before invoking ifconfig(8)). If it's not detected by nfe(4) I guess nfe(4) is not guilty for the issue. It would be even better if you can post the output of "pciconf -lcv". > and needs only to have the bios agree to allow it, which it was. Hmm, I > think I will reboot and check the bios again anyhow. Won't hurt > anything, I guess. > Your BIOS may have a ASF option for ethernet. Try toggling the option. -- Regards, Pyun YongHyeon