From owner-freebsd-sparc64@FreeBSD.ORG Tue Oct 18 17:35:14 2005 Return-Path: X-Original-To: freebsd-sparc64@freebsd.org Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6356B16A427 for ; Tue, 18 Oct 2005 17:35:14 +0000 (GMT) (envelope-from marius@newtrinity.zeist.de) Received: from newtrinity.zeist.de (newtrinity.zeist.de [217.24.217.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id B339B43D45 for ; Tue, 18 Oct 2005 17:35:08 +0000 (GMT) (envelope-from marius@newtrinity.zeist.de) Received: from newtrinity.zeist.de (localhost [127.0.0.1]) by newtrinity.zeist.de (8.12.11/8.12.11/ZEIST.DE) with ESMTP id j9IHZ6Nt027690; Tue, 18 Oct 2005 19:35:06 +0200 (CEST) (envelope-from marius@newtrinity.zeist.de) Received: (from marius@localhost) by newtrinity.zeist.de (8.12.11/8.12.10/Submit) id j9IHZ14k027689; Tue, 18 Oct 2005 19:35:01 +0200 (CEST) (envelope-from marius) Date: Tue, 18 Oct 2005 19:35:01 +0200 From: Marius Strobl To: Gheorghe Ardelean Message-ID: <20051018193501.A20817@newtrinity.zeist.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from ardelean@ww.uni-erlangen.de on Tue, Oct 18, 2005 at 02:20:55AM +0200 X-AntiVirus-modified: yes X-AntiVirus: checked by AntiVir Milter (version: 1.1.1-9; AVE: 6.32.0.8; VDF: 6.32.0.94; host: newtrinity.zeist.de) Cc: freebsd-sparc64@freebsd.org Subject: Re: 6.0-BETA5 and Ultra 1 !? 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: Tue, 18 Oct 2005 17:35:14 -0000 On Tue, Oct 18, 2005 at 02:20:55AM +0200, Gheorghe Ardelean wrote: > > > Hi, > > As I have an unsupported Plain Ultra 1 I was trying to play with it and > 6.0-BETA5. I have just installed the 6.0-BETA5 on a Diff SCSI drive in an > Ultra 5 and then moved the drive to the Ultra 1 with additional SBUS > Diff SCSI card from Qlogic and a SUN FAS366 SBUS Card (which I > planned to use for network connection). > > To my surprise it booted ok (last time I have tried with 5.x it gave me > no console ) and *recognized* the onboard SCSI controller (console on > serial port). After that I have mounted the internal CDROM and I was able > to copy data from the installation CD to a directory on the Diff SCSI HDD. > > So it really seems that the onboard SCSI is supported (at least to some > extent) on a Plain Ultra 1! > > I have made a dump|restore of the boot disk to the internal one. > Everything went ok. I have tried now to boot from the internal one and I > get: > > Rebooting with command: boot > Boot device: disk:a File and args: > > >> FreeBSD/sparc64 boot block > Boot path: /sbus@1f,0/espdma@e,8400000/esp@e,8800000/sd@0,0:a > Boot loader: /boot/loader > Consoles: Open Firmware console > > FreeBSD/sparc64 bootstrap loader, Revision 1.0 > (root@u60.samsco.home, Mon Sep 19 02:48:26 UTC 2005) > bootpath="/sbus@1f,0/espdma@e,8400000/esp@e,8800000/sd@0,0:a" > Fast Data Access MMU Miss > > So I am not able to boot from it but I can use it if I boot from the other > disc (Diff SCSI one). What could this be? > That's an issue with the loader. The underlying problem is that firmware-wise a disk attached to the on-board controller of an U1 can't be opened (as in OF_open()) multiple times without closing it again in between. I'm not yet sure how to solve this in a sane way. As a workaround, build a loader without gzipfs (e.g. cd to /path/to/src/sys/boot, run `make LOADER_GZIP_SUPPORT=no` and copy the resulting /path/to/src/sys/boot/sparc64/loader/loader to /boot on the disk attached to the on-board controller). Marius -- This mail was scanned by AntiVir Milter. This product is licensed for non-commercial use. See www.antivir.de for details.