From owner-freebsd-sparc64@FreeBSD.ORG Sun Apr 18 14:40:03 2010 Return-Path: Delivered-To: freebsd-sparc64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B984E106567A for ; Sun, 18 Apr 2010 14:40:03 +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 8A7C98FC27 for ; Sun, 18 Apr 2010 14:40:03 +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 o3IEe3pI044969 for ; Sun, 18 Apr 2010 14:40:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o3IEe3xg044968; Sun, 18 Apr 2010 14:40:03 GMT (envelope-from gnats) Date: Sun, 18 Apr 2010 14:40:03 GMT Message-Id: <201004181440.o3IEe3xg044968@freefall.freebsd.org> To: freebsd-sparc64@FreeBSD.org From: Rob Farmer Cc: Subject: Re: sparc64/144867: panic: trap: memory address not aligned booting Sunfire 280R X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Rob Farmer List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Apr 2010 14:40:03 -0000 The following reply was made to PR sparc64/144867; it has been noted by GNATS. From: Rob Farmer To: Marius Strobl Cc: Craig Butler , bug-followup@freebsd.org Subject: Re: sparc64/144867: panic: trap: memory address not aligned booting Sunfire 280R Date: Sun, 18 Apr 2010 07:37:52 -0700 On Sat, Apr 17, 2010 at 1:05 PM, Marius Strobl wrote: > > Could both of you please refetch the following patch and give it try? > http://people.freebsd.org/~marius/cas_mmf.diff > The MD5 hash of the new version is 0d668f21e2b3bb3c9641950bd0153e3d. > > Marius > > Thanks for looking into this. The patch works for my machine. Here's the dmesg from generic: jumping to kernel entry at 0xc0088000. GDB: no debug ports present KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2010 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 9.0-CURRENT #0: Sun Apr 18 05:37:42 PDT 2010 rfarmer@sunfire.predatorlabs.net:/usr/obj/usr/src/sys/GENERIC sparc64 WARNING: WITNESS option enabled, expect reduced performance. real memory = 8589934592 (8192 MB) avail memory = 8381571072 (7993 MB) cpu0: Sun Microsystems UltraSparc-III+ Processor (1200.00 MHz CPU) cpu1: Sun Microsystems UltraSparc-III+ Processor (1200.00 MHz CPU) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs kbd0 at kbdmux0 nexus0: nexus0: mem 0x40000400000-0x40000400047 type memory-controller (no driver attached) nexus0: mem 0x40000c00000-0x40000c00047 type memory-controller (no driver attached) pcib0: mem 0x40004700000-0x40004717fff,0x40004410000-0x4000441004f,0x7ffee000000-0x7ffee0000ff irq 563,560,561,564,550 on nexus0 pcib0: Schizo, version 7, IGN 0x8, bus B, 33MHz pcib0: DVMA map: 0xc0000000 to 0xffffffff 131072 entries, streaming buffer pcib0: [FILTER] pcib0: [FILTER] pcib0: [FILTER] pcib0: [FILTER] pcib0: [FILTER] pci0: on pcib0 ebus0: mem 0x7d000000-0x7dffffff,0x7e000000-0x7e7fffff at device 5.0 on pci0 ebus0: addr 0-0x1fffff (no driver attached) ebus0: addr 0x10000002e-0x10000002f,0x10000002d irq 35 (no driver attached) ebus0: addr 0x100000000-0x1000fffff (no driver attached) ebus0: addr 0x10030002e-0x10030002f,0x100300600-0x100300607 (no driver attached) ebus0: addr 0x100000030-0x100000031 irq 35 (no driver attached) ebus0: addr 0x100000032-0x100000037 (no driver attached) rtc0: addr 0x100300070-0x100300071 irq 36 on ebus0 ebus0: addr 0x100300600-0x100300607 (no driver attached) ebus0: addr 0x100300700-0x100300701 (no driver attached) ebus0: addr 0x100300278-0x100300287,0x10030002e-0x10030002f,0x100700000-0x10070000f irq 28 (no driver attached) uart0: <16550 or compatible> addr 0x1003062f8-0x1003062ff irq 46 on ebus0 uart0: [FILTER] uart1: <16550 or compatible> addr 0x1003083f8-0x1003083ff irq 45 on ebus0 uart1: [FILTER] scc0: addr 0x100400000-0x10040007f irq 34 on ebus0 scc0: [FILTER] uart2: on scc0 uart2: [FILTER] uart2: CTS oflow uart2: console (9600,n,8,1) uart3: on scc0 uart3: [FILTER] uart3: CTS oflow gem0: mem 0x100000-0x11ffff at device 5.1 on pci0 miibus0: on gem0 ukphy0: PHY 1 on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto gem0: 2kB RX FIFO, 2kB TX FIFO gem0: Ethernet address: 00:03:ba:3a:0f:f2 gem0: [ITHREAD] ohci0: mem 0x1000000-0x1007fff at device 5.3 on pci0 ohci0: [ITHREAD] usbus0: on ohci0 sym0: <875> port 0x300-0x3ff mem 0x124000-0x1240ff,0x126000-0x126fff at device 6.0 on pci0 sym0: No NVRAM, ID 7, Fast-20, SE, parity checking sym0: [ITHREAD] sym1: <875> port 0x400-0x4ff mem 0x128000-0x1280ff,0x12a000-0x12afff at device 6.1 on pci0 sym1: No NVRAM, ID 7, Fast-20, SE, parity checking sym1: [ITHREAD] cas0: mem 0x200000-0x3fffff at device 3.0 on pci0 miibus1: on cas0 gentbi0: PHY 0 on miibus1 gentbi0: 1000baseSX, 1000baseSX-FDX, auto cas0: 16kB RX FIFO, 9kB TX FIFO cas0: Ethernet address: 00:03:ba:3a:0f:f2 cas0: [FILTER] pcib1: mem 0x40004600000-0x40004617fff,0x40004410000-0x4000441004f,0x7ffec000000-0x7ffec0000ff irq 562,560,561,564 on nexus0 pcib1: Schizo, version 7, IGN 0x8, bus A, 66MHz Timecounter "pcib1" frequency 150000000 Hz quality 100 pcib1: DVMA map: 0xc0000000 to 0xffffffff 131072 entries, streaming buffer pcib1: [FILTER] pcib1: [FILTER] pci1: on pcib1 isp0: port 0x300-0x3ff mem 0x100000-0x100fff at device 4.0 on pci1 isp0: [ITHREAD] isp0: invalid NVRAM header isp0: invalid NVRAM header isp0: bad frame length (0) from NVRAM- using 1024 isp0: bad execution throttle of 0- using 16 cas1: mem 0x200000-0x3fffff at device 1.0 on pci1 miibus2: on cas1 gentbi1: PHY 0 on miibus2 gentbi1: 1000baseSX, 1000baseSX-FDX, auto cas1: 16kB RX FIFO, 9kB TX FIFO cas1: Ethernet address: 00:03:ba:3a:0f:f2 cas1: [FILTER] nexus0: type unknown (no driver attached) Timecounter "tick" frequency 1200000000 Hz quality 10 Timecounters tick every 1.000 msec usbus0: 12Mbps Full Speed USB v1.0 (xpt0:isp0:0:-1:-1): rescan already queued (xpt0:isp0:0:-1:-1): rescan already queued ugen0.1: at usbus0 uhub0: on usbus0 uhub0: 4 ports with 4 removable, self powered (probe6:sym0:0:6:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (probe6:sym0:0:6:0): CAM status: SCSI Status Error (probe6:sym0:0:6:0): SCSI status: Check Condition (probe6:sym0:0:6:0): SCSI sense: NOT READY asc:3a,0 (Medium not present) SMP: AP CPU #1 Launched! da0 at isp0 bus 0 scbus2 target 0 lun 0 WARNING: WITNESS option enabled, expect reduced performance. da0: Fixed Direct Access SCSI-4 device da0: 100.000MB/s transfers da0: Command Queueing enabled da0: 70007MB (143374738 512 byte sectors: 255H 63S/T 8924C) da1 at isp0 bus 0 scbus2 target 1 lun 0 da1: Fixed Direct Access SCSI-4 device da1: 100.000MB/s transfers WWNN 0x500000e0103578e0 WWPN 0x500000e0103578e1 PortID 0xe8 da1: Command Queueing enabled da1: 70007MB (143374738 512 byte sectors: 255H 63S/T 8924C) cd0 at sym0 bus 0 scbus0 target 6 lun 0 cd0: Removable CD-ROM SCSI-2 device cd0: 20.000MB/s transfers (20.000MHz, offset 16) cd0: Attempt to query device size failed: NOT READY, Medium not present GEOM: da0: adding VTOC8 information. GEOM: da1: adding VTOC8 information. Trying to mount root from ufs:/dev/da0a -- Rob Farmer