From owner-freebsd-ppc@FreeBSD.ORG Fri Mar 19 12:43:07 2004 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BDF6716A4CE for ; Fri, 19 Mar 2004 12:43:07 -0800 (PST) Received: from pintail.mail.pas.earthlink.net (pintail.mail.pas.earthlink.net [207.217.120.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F76943D1D for ; Fri, 19 Mar 2004 12:43:07 -0800 (PST) (envelope-from k5gj@earthlink.net) Received: from adsl-64-218-115-3.dsl.amrltx.swbell.net ([64.218.115.3] helo=gateway2000) by pintail.mail.pas.earthlink.net with smtp (Exim 3.33 #1) id 1B4Qpe-0000tD-00 for freebsd-ppc@freebsd.org; Fri, 19 Mar 2004 12:43:07 -0800 Message-ID: <000001c40df2$c8eb7f60$9e7ba8c0@gateway2000> From: "Tom Cage" To: Date: Fri, 19 Mar 2004 12:47:19 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: PPC-FreeBSD IV ... X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Mar 2004 20:43:07 -0000 Peter, >> OK ls -l /boot/kernel >> open '/boot/kernel' failed: no such file or directory > > I think this might be OpenFirmware not passing a usable boot-device >string to us - from memory you worked around this by setting currdev >manually to 'cd:,' - that should work. Would you be able to try the >dir listing after doing that ? > > Also, 'ls -l cd:0,/boot' should work. > > It is possible to force currdev from the initial OpenFirmware boot >command by passing it as a parameter i.e. > >0 > boot cd:,\boot\loader cd:, Before starting, I checked all of the files on my CD and made certain that all of the directory/files mentioned in the 'minimum tree' are there. The following shows that the same problem still exists. Just for grins, I am going to make another CD on my X86 system. I have seen a few Emails where people have made X86 ISOs on Macs and then have not been able to boot??? Tom Apple PowerBook3,5 4.5.3f2 BootROM built on 10/25/02 at 10:31:30 Copyright 1994-2002 Apple Computer, Inc. All Right Reserved Welcome to Open Firmware, the system time and date is 22:18:24 03/18/2004 To continue booting, type 'mac-boot' and press return. To shut down, typ "shut-down" and press return. ok 0 > ok 0 > dir cd:,\ Size/ GMT File/Dir bytes date time TYPE CRTR Name 3/18/ 4 19:53:53 bin 3/18/ 4 19:58:35 boot 2/29/ 4 9:14:54 dev 3/18/ 4 19:55:25 etc 2/29/ 4 9:14:54 mnt 45045217 3/18/ 4 2:38:11 ppc-root-latest.tbz2 3/18/ 4 19:54:25 sbin 3/18/ 4 19:58:35 usr ok 0 > ok 0 > boot cd:,\boot\loader Loading ELF Console OpenFirmware console FreeBSD/OpenFirmware/PowrPC bootstrap loader, Revision 0.1 (grehan@, Fri Feb 27 20:41:22 EST 2004) Memory 786432KB Boot from: /pc@f2000000/mac-io@17/ata-3@20000/disk@0 \ can't load 'kernel' Type ? for a list of commands, 'help' form more detailed help. OK OK set currdev=cd:, OK OK ls -l cd:,/boot/loader cd:, open 'cd:,/boot/loader' failed no such file or directory OK OK ls open '/' failed no such file or directory OK OK halt 0 > ok 0 > dir cd:\ Size/ GMT File/Dir bytes date time TYPE CRTR Name 3/18/ 4 19:53:53 bin 3/18/ 4 19:58:35 boot 2/29/ 4 9:14:54 dev 3/18/ 4 19:55:25 etc 2/29/ 4 9:14:54 mnt 45045217 3/18/ 4 2:38:11 ppc-root-latest.tbz2 3/18/ 4 19:54:25 sbin 3/18/ 4 19:58:35 usr ok 0 > ok 0 > boot cd:,\boot\loader cd:, load-size=450ac adler32=155cffa Loading ELF CLAIM failed ok 0 > ok 0 > mac-boot restart Cmd-Opt-o-p 0 > ok o > boot cd:,\boot\loader load-size=450ac adler32=155cffa Loading ELF Console OpenFirmware console FreeBSD/OpenFirmware/PowrPC bootstrap loader, Revision 0.1 (grehan@, Fri Feb 27 20:41:22 EST 2004) Memory 786432KB Boot from: /pc@f2000000/mac-io@17/ata-3@20000/disk@0 \ can't load 'kernel' Type ? for a list of commands, 'help' form more detailed help. OK OK ls -l /boot/kernel open '/boot/kernel' failed no such file or directory OK OK ls -l cd:0,/boot/kernel cd:, start failed operation not supported OK OK ls -l cd:,/boot/kernel cd:, open 'cd:,/boot/kernel' failed no such file or directory OK OK boot -s can't boot 'kernel' no bootable kernel OK OK set currdev=cd:, OK boot -s can't boot 'kernel' no bootable kernel OK OK halt 0 > ok 0 > mac-boot /*************************************************************************** ***/