From owner-freebsd-stable@FreeBSD.ORG Thu Dec 24 19:58:36 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7204A1065672 for ; Thu, 24 Dec 2009 19:58:36 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-qy0-f176.google.com (mail-qy0-f176.google.com [209.85.221.176]) by mx1.freebsd.org (Postfix) with ESMTP id 24EDF8FC1C for ; Thu, 24 Dec 2009 19:58:35 +0000 (UTC) Received: by qyk6 with SMTP id 6so3595563qyk.3 for ; Thu, 24 Dec 2009 11:58:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=A5DEWJ8Lju5WDIq5BYVqJmptBGzaedF56CYSCQAGuVw=; b=hLwYcro4/PAhaetVNSxqyDZ73CPdk1CcdbD9K4e5/s7RKzjwAK4+YmzrXqh+FXCtUk 3BK55+EI7KgPxv8u1oka33W+9isC+1ndbjMJR+a1Nasp2Qh89QKLUFVuu8JswFfORi6Q 8gkUuN0z/fVpvPYmmpp4q7vf34gmyRnwAtGN0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=NH+EOcfScCY+82bmmJHw8HCZrPJ/gUFwyGQYG4RU7m7LqCmaaFNn+/NDthNq+Sh9rw j2lAHkj/eeCVoUAGiNbpWFwMO2RXFtGPZ6jO+j1NyNq96dQIgQ3dgBMS4e0vwKaEof9s Iam/SQQ0rb6M1RCndN65OtjvcicK2zoOoQX7I= Received: by 10.224.50.137 with SMTP id z9mr6072859qaf.83.1261683209297; Thu, 24 Dec 2009 11:33:29 -0800 (PST) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id 5sm23842293qwg.18.2009.12.24.11.33.26 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 24 Dec 2009 11:33:28 -0800 (PST) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Thu, 24 Dec 2009 11:33:20 -0800 From: Pyun YongHyeon Date: Thu, 24 Dec 2009 11:33:20 -0800 To: Olivier Cochard-Labb? Message-ID: <20091224193320.GD8146@michelle.cdnetworks.com> References: <3131aa530912230507q5abd0a9eh1f22ac858518268f@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3131aa530912230507q5abd0a9eh1f22ac858518268f@mail.gmail.com> User-Agent: Mutt/1.4.2.3i Cc: stable@freebsd.org Subject: Re: FreeBSD 8.0: can't PXE Boot using nvidia nForce4 network card X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Dec 2009 19:58:36 -0000 On Wed, Dec 23, 2009 at 02:07:15PM +0100, Olivier Cochard-Labb? wrote: > Hi all, > > I've got a PC which have 2 bugs with FreeBSD 8.0: It can't boot from > USB (usb/139142) neither from PATA hard-drive (kern/139143). > But I would boot this PC for giving acces to somes FreeBSD devs for debuging it: > Then I've choose boot my buggy PC using PXE, then I've prepared a second PC with > a DHCP/TFTP/NFS/serial-cable this bugguy PC. > > I've posted my problem on the FreeBSD forum some weeks ago, but didn't > found usefull help: > http://forums.freebsd.org/showthread.php?t=8324 > > The up-to-date 8.0-STABLE kernel boot fine from PXE/TFTP, but when it > tries to mount the rootfilesystem from NFS it display an errror: > > Trying to mount root from nfs:10.0.0.1:/usr/tftpboot > nfs_diskless: no interface > ROOT MOUNT ERROR: > > The network card is a NVIDIA nForce4 CK804 MCP8. > > I've seen that the pxe loader populate correctly lot's of the needed > boot variables (boot.netif.ip, boot.netif.netmask, boot.netif.gateway, > etc...) but with the only expection of "boot.netif.name". > It seems to have a problem in /usr/src/sys/nfsclient/nfs_diskless.c > that can't set this variable. > > Does some one have any clue for fixing this file ? > > Thanks, > > Olivier > > PS: Here is the full verbose boot messages: > [...] > nfe0: irq 21 at device > 10.0 on pci0 > nfe0: Lazy allocation of 0x1000000 bytes rid 0x10 type 3 at 0x81000000 > nfe0: Reserved 0x1000000 bytes for rid 0x10 type 3 at 0x81000000 > nfe0: MII without any phy! ^^^^^^^^^^^^^^^^^^^^^^^^^^ Maybe this is the reason why you can't use NFS. If your BIOS has an option that disables management feature of ethernet controller try toggle the feature. > device_attach: nfe0 attach returned 6