From owner-freebsd-ppc@FreeBSD.ORG Sun Jun 20 03:00:14 2010 Return-Path: Delivered-To: freebsd-ppc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0EB481065670 for ; Sun, 20 Jun 2010 03:00:14 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id BD35C8FC16 for ; Sun, 20 Jun 2010 03:00:13 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o5K30DpZ069408 for ; Sun, 20 Jun 2010 03:00:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o5K30D8A069407; Sun, 20 Jun 2010 03:00:13 GMT (envelope-from gnats) Resent-Date: Sun, 20 Jun 2010 03:00:13 GMT Resent-Message-Id: <201006200300.o5K30D8A069407@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ppc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, tom armistead Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E53EB106566B for ; Sun, 20 Jun 2010 02:58:54 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id D40698FC13 for ; Sun, 20 Jun 2010 02:58:54 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o5K2wsBU057180 for ; Sun, 20 Jun 2010 02:58:54 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o5K2ws3Z057179; Sun, 20 Jun 2010 02:58:54 GMT (envelope-from nobody) Message-Id: <201006200258.o5K2ws3Z057179@www.freebsd.org> Date: Sun, 20 Jun 2010 02:58:54 GMT From: tom armistead To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: powerpc/148003: FreeBSD 8.1 RC1 (and earlier) install CDs fail with kernel trap on 700Mhz iMAC. 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: Sun, 20 Jun 2010 03:00:14 -0000 >Number: 148003 >Category: powerpc >Synopsis: FreeBSD 8.1 RC1 (and earlier) install CDs fail with kernel trap on 700Mhz iMAC. >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ppc >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jun 20 03:00:13 UTC 2010 >Closed-Date: >Last-Modified: >Originator: tom armistead >Release: 8.1 RC1 (powerpc) >Organization: >Environment: Can't get that far... >Description: The FreeBSD install CD does not boot on a 700Mhz iMAC. It fails with a kernel trap shortly after the kernel is started. The failure messages displayed with the 8.1 RC1 install attempt are: fatal kernel trap: exception = 0x4 (instruction storage trap) virtual address = 0x59f3e8 srr0 = 0x59f3e8 srr1 = 0x8003030 lr = 0x5c27bc curthread =0x83fb50 pid = 0, com = panic: instruction storage trap Uptime: 1s I disassembled the kernel and it looks like the failing address is in the subroutine moea_bootstrap(). 59f3d8: 60 00 00 00 nop 59f3dc: 60 00 00 00 nop 59f3e0: 7d 30 83 a6 mtibatu 0,r9 59f3e4: 7c 11 83 a6 mtibatl 0,r0 59f3e8: 4c 00 01 2c isync <<<< failure address 59f3ec: 7d 38 83 a6 mtdbatu 0,r9 59f3f0: 7c 19 83 a6 mtdbatl 0,r0 And I found a previous problem report that looks like it was the same issue: http://lists.freebsd.org/pipermail/freebsd-ppc/2008-March/002661.html There was a fix for that issue but it looks like it doesn't work for the CPU on the 700Mhz iMAC. I think to really solve this problem, you have to shut off translation, load the BATs and then re-enable translation. >How-To-Repeat: Power on the machine and get into open firmware. enter 'boot cd:,\boot\loader cd:0' The loader runs ok and loads and starts the kernel. The kernel fails right away after it is started. The same type of failure also occurs when using the 7.2 and 8.0 install CD. >Fix: >Release-Note: >Audit-Trail: >Unformatted: