From owner-freebsd-ppc@FreeBSD.ORG Tue Jul 12 23:13:45 2005 Return-Path: X-Original-To: freebsd-ppc@freebsd.org 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 76AA216A41C for ; Tue, 12 Jul 2005 23:13:45 +0000 (GMT) (envelope-from seanmwelch@yahoo.com) Received: from smtp015.mail.yahoo.com (smtp015.mail.yahoo.com [216.136.173.59]) by mx1.FreeBSD.org (Postfix) with SMTP id 9B91F43D5E for ; Tue, 12 Jul 2005 23:13:44 +0000 (GMT) (envelope-from seanmwelch@yahoo.com) Received: (qmail 18054 invoked from network); 12 Jul 2005 23:13:44 -0000 Received: from unknown (HELO NitroPhys.welchsmnet.net) (seanmwelch@66.41.102.215 with plain) by smtp015.mail.yahoo.com with SMTP; 12 Jul 2005 23:13:43 -0000 Received: from NitroPhys.welchsmnet.net (localhost [127.0.0.1]) by NitroPhys.welchsmnet.net (8.13.1/8.12.10) with ESMTP id j6CNBese048198; Tue, 12 Jul 2005 18:11:41 -0500 (CDT) (envelope-from seanmwelch@yahoo.com) Received: (from welchsm@localhost) by NitroPhys.welchsmnet.net (8.13.1/8.13.1/Submit) id j6CNBeRN048197; Tue, 12 Jul 2005 18:11:40 -0500 (CDT) (envelope-from seanmwelch@yahoo.com) Date: Tue, 12 Jul 2005 18:11:39 -0500 From: Sean Welch To: Peter Grehan Message-ID: <20050712231139.GA48156@NitroPhys.welchsmnet.net> References: <20050706011247.GA20055@NitroPhys.welchsmnet.net> <42CB3243.2010804@freebsd.org> <20050706221854.GA23695@NitroPhys.welchsmnet.net> <42CC6180.3090102@freebsd.org> <20050708123053.GA30311@NitroPhys.welchsmnet.net> <42CE7984.5060306@freebsd.org> <20050708193114.GA31469@NitroPhys.welchsmnet.net> <42CEF673.1020707@freebsd.org> <20050710045504.GA36843@NitroPhys.welchsmnet.net> <42D0B56D.3050708@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42D0B56D.3050708@freebsd.org> User-Agent: Mutt/1.5.9i Cc: freebsd-ppc@freebsd.org Subject: Mac Mini panic X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Sean_Welch@alum.wofford.org List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jul 2005 23:13:45 -0000 On Sun, Jul 10, 2005 at 03:43:09PM +1000, Peter Grehan wrote: > >I seem able to freeze the system fairly regularly -- it may just be > >starting and restarting X but I've not yet been able to isolate the > >cause. (X won't start every time -- it doesn't always figure out that > >some modes can run even though I've hardcoded some into the xorg.conf) > >Seems to drop to the debugger about once every 4 times or so. > > > >I'm delighted with the progress of the ppc port -- let me know if > >there is anything else I can test specifically. > > I'm always interested in a backtrace if you can get one from the > debugger, or even the routine where the panic/fatal trap occurs. > Other than that, I'd say just run as much as you can and report how it > goes, good bad or otherwise. > > Thanks for having the patience to jump through the Xorg hoops ! Hey, absolutely! I'm enjoying myself. :-) Well, I've managed to get it to die in front of me this time. You'll have to tell me how to get it do do a backtrace -- I'm leaving it at the debugger prompt expressly for that purpose. Transcribed by hand below is what I see leading up to the crash. I was on a fresh boot trying to do a make clean under x11-wm/xfce4. I had built it on the previous boot and froze it remotely when I tried to do a make clean (xfce4 works great -- no changes to the port). Here is what I see (first two sets repeated multiple times, xxxxx represents various lba, ad0s5 is root): ad0: timeout waiting to issue command ad0: error issueing WRITE_MUL command ad0: timeout waiting to issue command ad0: error issueing WRITE_MUL command ad0: timeout waiting to issue command ad0: error issueing WRITE_MUL command ad0: timeout waiting to issue command ad0: error issueing WRITE_MUL command swap_pager: I/O error - pageout failed: blkno xxxxx, size 65536, error 5 swap_pager: I/O error - pageout failed: blkno xxxxx, size 65536, error 5 swap_pager: I/O error - pageout failed: blkno xxxxx, size 65536, error 5 swap_pager: I/O error - pageout failed: blkno xxxxx, size 65536, error 5 g_vfs_done():ad0s5[WRITE(offset=6160384, length=2048)]error = 5 init died (signal 4, exit 0) panic: Going nowhere without my init! KDB: enter: panic [thread pid 1 tid 100006 ] Stopped at 0x25b5f8: lwz r11, r1, 0x0 db> What next? Can I even do a dump if the ata driver is the culprit? Sean