From owner-freebsd-ppc@FreeBSD.ORG Thu Oct 30 13:44:38 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 646DB106564A for ; Thu, 30 Oct 2008 13:44:38 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from agogare.doit.wisc.edu (agogare.doit.wisc.edu [144.92.197.211]) by mx1.freebsd.org (Postfix) with ESMTP id 384148FC19 for ; Thu, 30 Oct 2008 13:44:38 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=ISO-8859-1; format=flowed Received: from avs-daemon.smtpauth2.wiscmail.wisc.edu by smtpauth2.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 32bit)) id <0K9K004000UDK700@smtpauth2.wiscmail.wisc.edu> for freebsd-ppc@freebsd.org; Thu, 30 Oct 2008 08:44:37 -0500 (CDT) Received: from trantor.tachypleus.net (adsl-99-154-3-101.dsl.mdsnwi.sbcglobal.net [99.154.3.101]) by smtpauth2.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 32bit)) with ESMTPSA id <0K9K00CUX0UC7V80@smtpauth2.wiscmail.wisc.edu>; Thu, 30 Oct 2008 08:44:37 -0500 (CDT) Date: Thu, 30 Oct 2008 08:45:05 -0500 From: Nathan Whitehorn In-reply-to: <20081030061645.GJ1165@hoeg.nl> To: Ed Schouten Message-id: <4909BA61.8060008@freebsd.org> X-Spam-Report: AuthenticatedSender=yes, SenderIP=99.154.3.101 X-Spam-PmxInfo: Server=avs-12, Version=5.4.1.325704, Antispam-Engine: 2.6.0.325393, Antispam-Data: 2008.10.30.131912, SenderIP=99.154.3.101 References: <20081030061645.GJ1165@hoeg.nl> User-Agent: Thunderbird 2.0.0.17 (X11/20080928) 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 13:44:38 -0000 Ed Schouten wrote: > Hello all, > > After using finnix to partition my PowerBook's hard driver (thanks > Horst), I managed to install FreeBSD properly. I still have to look into > the boot loader issue, but I first want to get the keyboard working. > > I upgraded from the Oct 2008 snapshot CD to yesterday evening's HEAD. > After recompiling the kernel and booting it, it gets stuck right after > attaching ams0. I don't have time to copy the entire dmesg by hand here, > so here are the last messages when I `boot -v': > > | adb0: on pmu0 > | akbd0: at device 2 on adb0 > | kbd: new array size 4 > | kbd1 at akbd0 > | ams0: at device 3 on adb0 > > Nathan, is there some special kernel compile switch/command I can run to > provide you with more data? > Drat. Could you try the patch at http://people.freebsd.org/~nwhitehorn/adb-delayed-attach.diff? I'd also be interested to know what the bit of your dmesg around macgpio0 looks like, in particular the line from the attachment for pmuextint0. Unfortunately, ams0's attach doesn't have any debug information in it. It is stuck somewhere between lines 171 and 183 of adb_mouse.c, if you want to fill it with printf(). -Nathan