sparc64/144867: panic: trap: memory address not aligned
booting Sunfire 280R
Craig Butler
craig001 at lerwick.hopto.org
Sun Apr 18 23:20:03 UTC 2010
The following reply was made to PR sparc64/144867; it has been noted by GNATS.
From: Craig Butler <craig001 at lerwick.hopto.org>
To: Rob Farmer <rfarmer at predatorlabs.net>
Cc: Marius Strobl <marius at alchemy.franken.de>, bug-followup at freebsd.org
Subject: Re: sparc64/144867: panic: trap: memory address not aligned
booting Sunfire 280R
Date: Sun, 18 Apr 2010 23:46:26 +0100
On Sun, 2010-04-18 at 07:37 -0700, Rob Farmer wrote:
> On Sat, Apr 17, 2010 at 1:05 PM, Marius Strobl
> <marius at alchemy.franken.de> 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 at 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: <Open Firmware Nexus device>
> nexus0: <memory-controller> mem 0x40000400000-0x40000400047 type
> memory-controller (no driver attached)
> nexus0: <memory-controller> mem 0x40000c00000-0x40000c00047 type
> memory-controller (no driver attached)
> pcib0: <Sun Host-PCI bridge> 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: <OFW PCI bus> on pcib0
> ebus0: <PCI-EBus3 bridge> mem
> 0x7d000000-0x7dffffff,0x7e000000-0x7e7fffff at device 5.0 on pci0
> ebus0: <flashprom> addr 0-0x1fffff (no driver attached)
> ebus0: <i2c> addr 0x10000002e-0x10000002f,0x10000002d irq 35 (no
> driver attached)
> ebus0: <bbc> addr 0x100000000-0x1000fffff (no driver attached)
> ebus0: <power> addr 0x10030002e-0x10030002f,0x100300600-0x100300607
> (no driver attached)
> ebus0: <i2c> addr 0x100000030-0x100000031 irq 35 (no driver attached)
> ebus0: <beep> addr 0x100000032-0x100000037 (no driver attached)
> rtc0: <Real-Time Clock> addr 0x100300070-0x100300071 irq 36 on ebus0
> ebus0: <gpio> addr 0x100300600-0x100300607 (no driver attached)
> ebus0: <pmc> addr 0x100300700-0x100300701 (no driver attached)
> ebus0: <parallel> 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: <Siemens SAB 82532 dual channel SCC> addr
> 0x100400000-0x10040007f irq 34 on ebus0
> scc0: [FILTER]
> uart2: <SAB 82532 v3.2, channel A> on scc0
> uart2: [FILTER]
> uart2: CTS oflow
> uart2: console (9600,n,8,1)
> uart3: <SAB 82532 v3.2, channel B> on scc0
> uart3: [FILTER]
> uart3: CTS oflow
> gem0: <Sun ERI 10/100 Ethernet> mem 0x100000-0x11ffff at device 5.1 on pci0
> miibus0: <MII bus> on gem0
> ukphy0: <Generic IEEE 802.3u media interface> 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: <Sun PCIO-2 USB controller> mem 0x1000000-0x1007fff at device 5.3 on pci0
> ohci0: [ITHREAD]
> usbus0: <Sun PCIO-2 USB controller> 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: <Sun Cassini+ Gigabit Ethernet> mem 0x200000-0x3fffff at device
> 3.0 on pci0
> miibus1: <MII bus> on cas0
> gentbi0: <Generic ten-bit interface> 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: <Sun Host-PCI bridge> 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: <OFW PCI bus> on pcib1
> isp0: <Qlogic ISP 2200 PCI FC-AL Adapter> 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: <Sun Cassini+ Gigabit Ethernet> mem 0x200000-0x3fffff at device
> 1.0 on pci1
> miibus2: <MII bus> on cas1
> gentbi1: <Generic ten-bit interface> 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: <syscons> 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: <SUN> at usbus0
> uhub0: <SUN OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> 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: <FUJITSU MAP3735F SUN72G 0601> 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: <FUJITSU MAP3735F SUN72G 0601> 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: <TOSHIBA DVD-ROM SD-M1401 1009> 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
>
Confirmed working for the b1600 chassis as well :-)
brilliant, thanks a million.
Rebooting with command: boot
Boot device: disk File and args:
>> FreeBSD/sparc64 boot block
Boot path: /pci at 1f,0/ide at d/disk at 0,0:a
Boot loader: /boot/loader
Consoles: Open Firmware console
Booting with sun4u support.
FreeBSD/sparc64 bootstrap loader, Revision 1.0
(root at araz.cse.buffalo.edu, Sat Nov 21 15:42:12 UTC 2009)
bootpath="/pci at 1f,0/ide at d/disk at 0,0:a"
Loading /boot/defaults/loader.conf
/boot/kernel/kernel data=0x972848+0x75368 syms=[0x8+0xa2f90+0x8+0x95b0e]
/
Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel]...
jumping to kernel entry at 0xc0088000.
Copyright (c) 1992-2009 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 8.0-RELEASE #1: Sun Apr 18 20:55:49 BST 2010
root at gradfly.lerwick.hopto.org:/usr/obj/usr/src/sys/GENERIC
real memory = 1073741824 (1024 MB)
avail memory = 1032560640 (984 MB)
cpu0: Sun Microsystems UltraSparc-IIe Processor (650.00 MHz CPU)
ispfw: registered firmware <isp_1000>
ispfw: registered firmware <isp_1040>
ispfw: registered firmware <isp_1040_it>
ispfw: registered firmware <isp_1080>
ispfw: registered firmware <isp_1080_it>
ispfw: registered firmware <isp_12160>
ispfw: registered firmware <isp_12160_it>
ispfw: registered firmware <isp_2100>
ispfw: registered firmware <isp_2200>
ispfw: registered firmware <isp_2300>
ispfw: registered firmware <isp_2322>
ispfw: registered firmware <isp_2400>
ispfw: registered firmware <isp_2400_multi>
ispfw: registered firmware <isp_2500>
ispfw: registered firmware <isp_2500_multi>
kbd0 at kbdmux0
nexus0: <Open Firmware Nexus device>
pcib0: <U2P UPA-PCI bridge> mem
0x1fe00000000-0x1fe0000ffff,0x1fe01000000-0x1fe010000ff irq
2032,2030,2031,2021 on nexus0
pcib0: Hummingbird compatible, impl 0, version 0, IGN 0x1f, bus A, 33MHz
pcib0: DVMA map: 0xc0000000 to 0xc3ffffff
pcib0: [FILTER]
pcib0: [FILTER]
pcib0: [GIANT-LOCKED]
pcib0: [ITHREAD]
pcib0: [FILTER]
pci0: <OFW PCI bus> on pcib0
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
pci0: <old, non-VGA display device> at device 3.0 (no driver attached)
cas0: <Sun Cassini+ Gigabit Ethernet> mem 0-0x1fffff at device 10.0 on
pci0
miibus0: <MII bus> on cas0
gentbi0: <Generic ten-bit interface> PHY 0 on miibus0
gentbi0: 1000baseSX, 1000baseSX-FDX, auto
cas0: 16kB RX FIFO, 9kB TX FIFO
cas0: Ethernet address: 00:03:ba:4c:ee:fa
cas0: [FILTER]
cas1: <Sun Cassini+ Gigabit Ethernet> mem 0x400000-0x5fffff at device
11.0 on pci0
miibus1: <MII bus> on cas1
gentbi1: <Generic ten-bit interface> PHY 0 on miibus1
gentbi1: 1000baseSX, 1000baseSX-FDX, auto
cas1: 16kB RX FIFO, 9kB TX FIFO
cas1: Ethernet address: 00:03:ba:4c:ee:fb
cas1: [FILTER]
atapci0: <AcerLabs M5229 UDMA100 controller> port
0x900-0x907,0x918-0x91b,0x910-0x917,0x908-0x90b,0x920-0x92f at device
13.0 on pci0
atapci0: [ITHREAD]
atapci0: using PIO transfers above 137GB as workaround for 48bit DMA
access bug, expect reduced performance
ata2: <ATA channel 0> on atapci0
ata2: [ITHREAD]
ata3: <ATA channel 1> on atapci0
ata3: [ITHREAD]
nexus0: <syscons> type unknown (no driver attached)
uart0: <16550 or compatible> at port 0x3f8-0x3ff irq 42 on isa0
uart0: [FILTER]
uart0: console (9600,n,8,1)
rtc0: <Real-Time Clock> at port 0x70-0x71 on isa0
Timecounter "tick" frequency 650000000 Hz quality 1000
Timecounters tick every 1.000 msec
ad0: 28615MB <TOS MK3019GAXB SUN30G FB200C> at ata2-master UDMA100
GEOM: ad0: adding VTOC8 information.
Trying to mount root from ufs:/dev/ad0a
Invalid time in real time clock.
Check and reset the date immediately!
Setting hostuuid: b144b077-4b38-11df-ba65-0003ba0b715c.
Setting hostid: 0x02c86842.
Entropy harvesting: interrupts ethernet point_to_point kickstart.
Starting file system checks:
/dev/ad0a: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0a: clean, 163323 free (307 frags, 20377 blocks, 0.1%
fragmentation)
/dev/ad0e: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0e: clean, 253997 free (37 frags, 31745 blocks, 0.0%
fragmentation)
/dev/ad0f: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0f: clean, 12743683 free (4083 frags, 1592450 blocks, 0.0%
fragmentation)
/dev/ad0d: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0d: clean, 625999 free (47 frags, 78244 blocks, 0.0%
fragmentation)
Mounting local file systems:.
/etc/rc: WARNING: $hostname is not set -- see rc.conf(5).
Starting Network: lo0.
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=3<RXCSUM,TXCSUM>
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff000000
Starting devd.
Creating and/or trimming log files.
Starting syslogd.
ELF ldconfig path: /lib /usr/lib /usr/lib/compat
Clearing /tmp (X related).
Updating motd:.
Starting cron.
Starting background file system checks in 60 seconds.
Sun Apr 18 22:25:06 UTC 2010
Apr 18 22:25:06 getty[893]: open /dev/ttyv0: No such file or directory
FreeBSD/sparc64 (Amnesiac) (ttyu0)
# ping yahoo.com
PING yahoo.com (72.30.2.43): 56 data bytes
64 bytes from 72.30.2.43: icmp_seq=0 ttl=49 time=201.886 ms
64 bytes from 72.30.2.43: icmp_seq=1 ttl=49 time=220.346 ms
More information about the freebsd-sparc64
mailing list