From owner-freebsd-ppc@FreeBSD.ORG Thu Oct 30 17:18:33 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D3CB71065678; Thu, 30 Oct 2008 17:18:33 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (unknown [IPv6:2001:7b8:613:100::211]) by mx1.freebsd.org (Postfix) with ESMTP id 640888FC13; Thu, 30 Oct 2008 17:18:33 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id 023E61CCA0; Thu, 30 Oct 2008 18:19:18 +0100 (CET) Date: Thu, 30 Oct 2008 18:19:18 +0100 From: Ed Schouten To: Nathan Whitehorn Message-ID: <20081030171918.GM1165@hoeg.nl> References: <20081030061645.GJ1165@hoeg.nl> <4909BA61.8060008@freebsd.org> <20081030160143.GL1165@hoeg.nl> <4909DC87.6080203@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TXIPBuAs4GDcsx9K" Content-Disposition: inline In-Reply-To: <4909DC87.6080203@freebsd.org> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: FreeBSD/ppc Subject: Re: PowerBook 12" hangs right after attaching ams0 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: Thu, 30 Oct 2008 17:18:33 -0000 --TXIPBuAs4GDcsx9K Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Nathan Whitehorn wrote: > Ed Schouten wrote: >> Hello Nathan, >> >> * Nathan Whitehorn wrote: >>> Drat. Could you try the patch at >>> http://people.freebsd.org/~nwhitehorn/adb-delayed-attach.diff? >> >> After applying the patch, it still gets stuck during boot. > > Could you try the latest HEAD? I poked around at my machines this =20 > morning to try to make them hang, succeeded, and then fixed some =20 > problems that make mouse probes hang after the keyboard is probed =20 > successfully. I will. Unfortunately I have to compile some things first, so I'll get back to you on that. >> There are some random things I still have to look into: >> >> - I've dd'd the boot loader to /dev/ad0s2, but for some reason my Mac >> still refuses to boot from it. > > What is the partition type (gpart show) for ad0s2? I think it might need = =20 > to be set to !Apple_Bootstrap. The partition size may also need to be =20 > exactly 800K. You should be able to change both of these things with the = =20 > system up, though you might need to enable foot shooting in geom. Even after shrinking the partition to exactly 1600 sectors and using !Apple_Bootstrap, it still doesn't work. Output of `gpart show' below: | =3D> 10 117210230 ad0 APM (60.0GB) | 10 54 - free - (27.6KB) | 64 1600 1 !Apple_Bootstrap (819.2KB) | 1664 448 - free - (229.4KB) | 2112 524288 2 !Apple_UNIX_SVR2 (268.4MB) | 526400 2097152 3 !Apple_UNIX_SVR2 (1073.7MB) | 2623552 524288 4 !Apple_UNIX_SVR2 (268.4MB) | 3147840 524288 5 !Apple_UNIX_SVR2 (268.4MB) | 3672128 16777216 6 !Apple_UNIX_SVR2 (8.6GB) | 20449344 96760896 7 !Apple_UNIX_SVR2 (49.5GB) When I boot my system, I first get the classic folder icon with the question mark in it. After a couple of seconds, I end up in the Open Firmware console. Thanks for your help so far! --=20 Ed Schouten WWW: http://80386.nl/ --TXIPBuAs4GDcsx9K Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkkJ7JYACgkQ52SDGA2eCwVEogCfVfqdQAOHdIPbBc4Nj3PQq5+X plcAnizHBr1c8IKN3+j8NAolpGeh5WIL =LAXP -----END PGP SIGNATURE----- --TXIPBuAs4GDcsx9K--