From owner-freebsd-sparc64@FreeBSD.ORG Wed Oct 12 19:12:52 2011 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 02C201065670 for ; Wed, 12 Oct 2011 19:12:52 +0000 (UTC) (envelope-from michiel@boland.org) Received: from smtp-vbr6.xs4all.nl (smtp-vbr6.xs4all.nl [194.109.24.26]) by mx1.freebsd.org (Postfix) with ESMTP id 79E288FC12 for ; Wed, 12 Oct 2011 19:12:51 +0000 (UTC) Received: from charlemagne.boland.org (59-36-215.ftth.xms.internl.net [82.215.36.59]) (authenticated bits=0) by smtp-vbr6.xs4all.nl (8.13.8/8.13.8) with ESMTP id p9CIw8k0076189 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Wed, 12 Oct 2011 20:58:08 +0200 (CEST) (envelope-from michiel@boland.org) Message-ID: <4E95E340.3060308@boland.org> Date: Wed, 12 Oct 2011 20:58:08 +0200 From: Michiel Boland User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.23) Gecko/20110930 Thunderbird/3.1.15 MIME-Version: 1.0 To: freebsd-sparc64@freebsd.org Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by XS4ALL Virus Scanner Subject: netbooting 9.0-beta3 with serial console X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Oct 2011 19:12:52 -0000 Hi. How do I install 9.0-BETA3 on sparc64 via netbooting and a serial console? This used to work on previous releases simply by exporting the mounted cdrom over nfs, and having vfs.root.mountfrom="ufs:/dev/md0" in /tftpboot/boot/loader.conf.local But there is no longer an mfsroot on the dvd or bootonly images, so the boot fails with Trying to mount root from ufs:/dev/md0 []... mountroot: waiting for device /dev/md0 ... Mounting from ufs:/dev/md0 failed with error 19. the system will then continue booting: Trying to mount root from nfs: []... NFS ROOT: 192.168.61.11:/cdrom gem0: link state changed to DOWN gem0: link state changed to UP /etc/rc.initdiskless: cannot create /dev/null: Read-only file system ps: /dev/null: No such file or directory /etc/rc: cannot create /dev/null: Read-only file system /etc/rc: cannot create /dev/null: Read-only file system Wed Oct 12 17:52:39 UTC 2011 At this point though, there is no login prompt on the console, and I have to power-cycle. I suspect there is a prompt on ttyv0, but that's of no use if there is only a serial console and no monitor output. The 8.2-RELEASE loader/kernel would detect a serial console correctly. If I remove the /tftpboot/boot/loader.conf.local, the boot fails with [...] Trying to mount root from cd9660:/dev/iso9660/FreeBSD_Install [ro]... mountroot: waiting for device /dev/iso9660/FreeBSD_Install ... Mounting from cd9660:/dev/iso9660/FreeBSD_Install failed with error 19. Trying to mount root from nfs: []... NFS ROOT: 192.168.61.11:/cdrom gem0: link state changed to DOWN gem0: link state changed to UP Interface gem0 IP-Address 192.168.61.3 Broadcast 192.168.61.255 No suitable dump device was found. eval: cannot create /dev/null: Read-only file system eval: cannot create /dev/null: Read-only file system Entropy harvesting:. Starting file system checks: mount_nfs: no :