From owner-freebsd-current@FreeBSD.ORG Tue Mar 27 00:05:50 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8396916A40A for ; Tue, 27 Mar 2007 00:05:50 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.234]) by mx1.freebsd.org (Postfix) with ESMTP id 17F2B13C4FD for ; Tue, 27 Mar 2007 00:05:49 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by nz-out-0506.google.com with SMTP id r28so1792819nza for ; Mon, 26 Mar 2007 17:05:49 -0700 (PDT) DKIM-Signature: a=rsa-sha1; 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; b=c+ZLOXuGoC6l5S7/n5YqssJ9bmBGcpCHz68kY+bJgRkft6JKK8XqEHCDRL6Tw3RQrIjiFxwMrM0HDZKiyByDBQhsqcVOQRFuMNitNHfNAIyL7P3ADwprbfBFY+jIbSLxJxRA6is4ZnWXGf7ta0yDq+stC5WcwQekqjtvuNheQdQ= 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=HSv1STmkCQ4228piUj5g1zM6yVHLmE0cj4RxSRsrw1KzIBe9AtWpYPO27RODAyZPxS5PCNyS7wYT8vpvvhn31JpCOkot8eligVR1f1CrwDQSCnbjYE7XTfxkhAGpCmtxP2zbewhIXopLfyVPfqpV5umjQSZFgLqlWc5dKIHIv8Y= Received: by 10.64.199.2 with SMTP id w2mr14221686qbf.1174953949261; Mon, 26 Mar 2007 17:05:49 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.google.com with ESMTP id 39sm39844453nzk.2007.03.26.17.05.46; Mon, 26 Mar 2007 17:05:48 -0700 (PDT) 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 l2R0B3Fx046105 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 27 Mar 2007 09:11:03 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id l2R0B3x7046104; Tue, 27 Mar 2007 09:11:03 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Tue, 27 Mar 2007 09:11:03 +0900 From: Pyun YongHyeon To: Sam Leffler Message-ID: <20070327001103.GA45955@cdnetworks.co.kr> References: <200703261516.45003.jhb@freebsd.org> <46083B06.9080005@errno.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46083B06.9080005@errno.com> User-Agent: Mutt/1.4.2.1i Cc: freebsd-current@freebsd.org Subject: Re: nfe/PXE problem 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: Tue, 27 Mar 2007 00:05:50 -0000 On Mon, Mar 26, 2007 at 02:28:38PM -0700, Sam Leffler wrote: > John Baldwin wrote: > > On Tuesday 13 March 2007 08:02:43 am Danny Braniss wrote: > >> the question now, is to see if the nfe driver can check if it was > >> used by the PXE, and flip the address. or have NVIDIA comeup with > >> a patch ... > > > > It could use a hueristic based on the vendor-portion of the MAC address to see > > if it is flipped. It is probably a bug in the PXE rom when it shuts down the > > card. > > > > Presumably the mac address is from an nvida-assigned block so just check > the vendor nibbles... > Latest nfe(4) has a code that checks for swapped ethernet address bit which was got by accessing an undocumented register. It seems that this works pretty well for all known NVIDIA NICs and Danny Braniss also confirmed it. > Sam > -- Regards, Pyun YongHyeon