From owner-freebsd-ppc@FreeBSD.ORG Mon May 28 03:45:18 2012 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5198E106566C for ; Mon, 28 May 2012 03:45:18 +0000 (UTC) (envelope-from john@saltant.com) Received: from hapkido.dreamhost.com (hapkido.dreamhost.com [66.33.216.122]) by mx1.freebsd.org (Postfix) with ESMTP id 268938FC1A for ; Mon, 28 May 2012 03:45:17 +0000 (UTC) Received: from homiemail-a89.g.dreamhost.com (caiajhbdcbef.dreamhost.com [208.97.132.145]) by hapkido.dreamhost.com (Postfix) with ESMTP id 778F9DCCFF for ; Sun, 27 May 2012 20:40:27 -0700 (PDT) Received: from homiemail-a89.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a89.g.dreamhost.com (Postfix) with ESMTP id 3B8BD318064 for ; Sun, 27 May 2012 20:39:07 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=saltant.com; h=message-id:date :from:mime-version:to:subject:content-type: content-transfer-encoding; q=dns; s=saltant.com; b=F1jAAWzOYfaoC QM90JlnuDQzSygDjYsjYAd/jvfNuZO+t3qLj5/5FeoT1QhUjr3wdBdaDMm1DXG1J l335M0hZu/cK3TE7DC69iQC35EjCFnN1CbZpJhrFNaVvyMOrV1b/6jjE2dXss3oH HBpqyuHey00oNPr7jJ9R2h7e7tLsWM= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=saltant.com; h=message-id :date:from:mime-version:to:subject:content-type: content-transfer-encoding; s=saltant.com; bh=fcv61dHx9cnPCw28i2/ Io4qUotg=; b=DgibxZM/Bs5PmAw/KTjJfL100U2rPMUUCOwsssZY26Sv/M8aXDK PvB7PvLkpycUbfu+8e3gUudsEMfYgQU3a2bvaMakmLtPyeBMheerKVlbzStiwZL8 FVDEh7W4onn83lnmhu0IRJmdDIjFPhnPr3Qy0Q/SQrAGqXvxbcW8VbX4= Received: from imago.y.saltant.net (vice.saltant.net [96.227.187.16]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: john@saltant.com) by homiemail-a89.g.dreamhost.com (Postfix) with ESMTPSA id 0428F31805C for ; Sun, 27 May 2012 20:39:06 -0700 (PDT) Message-ID: <4FC2F359.9000207@saltant.com> Date: Sun, 27 May 2012 23:39:05 -0400 From: "John W. O'Brien" Organization: Saltant Solutions User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 MIME-Version: 1.0 To: freebsd-ppc@freebsd.org X-Enigmail-Version: 1.5pre Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Trouble booting 9-STABLE memstick on PowerBook G4 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 May 2012 03:45:18 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello freebsd-ppc, I am trying to install 9-STABLE (r236164, GENERIC) on a PowerBook G4 (model #A1010) that has a gimpy optical drive, but I cannot get the memstick to boot. I know my way around i386 and amd64 reasonably well, but am new to freebsd-ppc and to Open Firmware. CC me off-list with replies, please. Information I've used - --------------------- Reviewed the Handbook, in particular: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/bsdinstall-start.html My Google-fu has yielded the following on the topic of booting from USB: https://sites.google.com/site/tingox/powerbook_g4_freebsd https://lifedigital2010.wordpress.com/2011/04/03/how-to-install-mac-osx-from-usb-on-powerbook-g4/ http://hints.macworld.com/article.php?story=20060301112336384 ... and generally, booting with OFW: http://en.gentoo-wiki.com/wiki/LiveUSB_on_PPC I have not been able to apply or extend these based on what I observe locally. I have also lightly skimmed the NetBSD/macppc FAQ: http://www.netbsd.org/ports/macppc/faq.html Nothing stood out as a worthwhile thread on which to pull, but I may dwell longer there as time permits. How I prepared the memstick - --------------------------- # uname -a FreeBSD XXXX.saltant.net 9.0-STABLE FreeBSD 9.0-STABLE #1 r235493: Tue May 15 21:04:19 EDT 2012 root@XXXX.saltant.net:/usr/obj/usr/src/sys/XXXX amd64 # pwd /usr/src # svn info | egrep "(Revision|URL)" URL: svn://svn.freebsd.org/base/stable/9 Revision: 236164 # make -j30 TARGET=powerpc TARGET_ARCH=powerpc buildworld [---SNIP---] # make -j30 TARGET=powerpc TARGET_ARCH=powerpc buildkernel [---SNIP---] # make -C release \ TARGET=powerpc TARGET_ARCH=powerpc \ - -DNOPORTS -DNOSRC -DNODOC \ memstick [---SNIP---] # dd if=/path/to/memstick.img of=/dev/usb_memstick_device \ bs=10240 conv=sync [---SNIP---] What I know about the OFW - ------------------------- *chime* "Apple PowerBook6,4 4.8.3f1 BootROM built on 04/01/04 at 16:52:06" [blah blah] ok 0 > dev /openprom name openprom device_type BootROM model OpenFirmware 3 relative-addressing supports-bootinfo boot-syntax 00000001 How I tried booting the memstick - -------------------------------- ok 0 > dev / ls [---SNIP---] ff967238: /pci@f2000000 [---SNIP---] ff99aa98: /usb@1b [or /usb@1b,1 using the other port] ff9f0d80: /disk@1 [---SNIP---] ok 0 > devalias [---SNIP---] usb1 /pci@f2000000/usb@1b [---SNIP---] ok 0 > dir /usb1 can't OPEN the DIR device ok 0 > dir /usb1/disk@1:\ can't OPEN the DIR device ok 0 > dir /usb1/disk@1,1:\ can't OPEN the DIR device ok 0 > dir /usb1/disk@1,2:\ can't OPEN the DIR device ok I've tried various permutations of commas, colons, and numerals, a few of which cause the laptop to hang and require power-cycle. Also, I've gone through some guesses with ok 0 > boot /usb1/disk@1:,\boot\loader can't OPEN: /usb1/disk@1:,\boot\loader Can't open device or file Is this as simple as something I'm missing about the syntax or data model of how to select a boot partition? Are there other information-gathering tasks I should perform? Regards, John -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJPwvNWAAoJEEdKvTwaez9wUbkIAJ7lD5svMuKUOmb+xcsAqGzY ZVI0ZNWFJlOWl0VSg/pByprNUtqBcj4DB0ytQD2IxN8G76djEXLZ1CGu+RI0Bt+P VMh/yOoYFj3PTCPcnY/7L63aI5EV+WecmehUF8FtaygdhcKh4isWhHNE9ctdo5qO ADzxwN8ZNjD0OCZsIWsP7PUP5SYxT3qv3w2siWVcKuQLbIpUvxnoUWc+fT//GVOa UFcGzdRKHfEPyw+OdcneFpf7PU1IWrqZi2us0kve/WD1LQzmsV3NHckc6GPPL8r0 MkH86+/5otHdi6IKWZ/Lwb6hciLRZD/6CceDFRBbIiOCSJ3aZKu7dw80rbY6ML8= =eNjJ -----END PGP SIGNATURE-----