sparc64/144867: panic: trap: memory address not aligned booting Sunfire 280R

Rob Farmer rfarmer at predatorlabs.net
Sat Mar 20 00:00:18 UTC 2010


The following reply was made to PR sparc64/144867; it has been noted by GNATS.

From: Rob Farmer <rfarmer at predatorlabs.net>
To: Marius Strobl <marius at alchemy.franken.de>, bug-followup at freebsd.org
Cc:  
Subject: Re: sparc64/144867: panic: trap: memory address not aligned booting 
	Sunfire 280R
Date: Fri, 19 Mar 2010 16:55:02 -0700

 On Fri, Mar 19, 2010 at 3:06 PM, Marius Strobl
 <marius at alchemy.franken.de> wrote:
 > On Fri, Mar 19, 2010 at 02:51:52AM +0000, Rob Farmer wrote:
 >> db> bt
 >> Tracing pid 0 tid 100000 td 0xc0a40730
 >> panic() at panic+0x20c
 >> trap() at trap+0x570
 >> -- memory address not aligned sfar=3D0x7fe00200001 sfsr=3D0x1d007d %o7=
 =3D0xc0175864 --
 >> cas_pci_attach() at cas_pci_attach+0xc80
 >
 > Hrm, this doesn't make a whole lot of sense:
 > (gdb) l *0xc0175864
 > 0xc0175864 is in cas_pci_attach (/usr/src/sys/dev/cas/if_cas.c:356).
 > 351 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 switch (sc->sc_variant) {
 > 352 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 default:
 > 353 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 sc->sc_phyad =
 =3D -1;
 > 354 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 break;
 > 355 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 }
 > 356 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 error =3D mii_phy_probe(sc->s=
 c_dev, &sc->sc_miibus,
 > 357 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 cas_mediachange, cas_=
 mediastatus);
 > 358 =A0 =A0 =A0 =A0 =A0 =A0 }
 > 359
 > 360 =A0 =A0 =A0 =A0 =A0 =A0 /*
 >
 > Except maybe that this is triggered by the bus_space_write_4() above
 > that, which is cas_pci_attach+0xc80, and somehow delayed. Is this the
 > MMF (multimode fibre) model of the GigaSwift Ethernet 1.0 card perhaps?
 > Can you boot with that card removed?
 
 Hi, thanks for the quick response.
 
 Yes, its the MMF card. There are two of them, actually. I don't need
 them in my environment so I took them out and it booted from the cd.
 However, I did a standard install in sysinstall and now I get a new
 panic trying to boot from the hard drive:
 
 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-201002 #0: Sat Feb 13 04:56:40 UTC 2010
     root at heller.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC sparc64
 WARNING: WITNESS option enabled, expect reduced performance.
 real memory  =3D 8589934592 (8192 MB)
 avail memory =3D 8381644800 (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
 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>
 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-0x7ff=
 ee0000ff
 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]
 pcib1: <Sun Host-PCI bridge> mem
 0x40004600000-0x40004617fff,0x40004410000-0x4000441004f,0x7ffec000000-0x7ff=
 ec0000ff
 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
 panic: pcib: PCI bus A error AFAR 0x1000c0 AFSR 0x320000000 PCI CSR
 0x60002010f003f IOMMU 0x70003 STATUS 0x2a0
 cpuid =3D 0
 KDB: enter: panic
 [ thread pid 0 tid 100000 ]
 Stopped at      kdb_enter+0x80: ta              %xcc, 1
 db> bt
 Tracing pid 0 tid 100000 td 0xc0a40730
 panic() at panic+0x20c
 schizo_pci_bus() at schizo_pci_bus+0x1b8
 intr_event_handle() at intr_event_handle+0x5c
 intr_execute_handlers() at intr_execute_handlers+0x8
 intr_fast() at intr_fast+0x68
 -- interrupt level=3D0xd pil=3D0 %o7=3D0xc041be8c --
 strlen() at strlen
 vprintf() at vprintf+0x7c
 printf() at printf+0x20
 device_print_prettyname() at device_print_prettyname+0x60
 device_printf() at device_printf+0x14
 bus_setup_intr() at bus_setup_intr+0x12c
 schizo_set_intr() at schizo_set_intr+0xd4
 schizo_attach() at schizo_attach+0xff4
 device_attach() at device_attach+0x4a4
 device_probe_and_attach() at device_probe_and_attach+0x64
 bus_generic_new_pass() at bus_generic_new_pass+0x11c
 bus_generic_new_pass() at bus_generic_new_pass+0x104
 bus_set_pass() at bus_set_pass+0xf8
 root_bus_configure() at root_bus_configure+0x8
 configure() at configure+0x4
 mi_startup() at mi_startup+0x18c
 btext() at btext+0x30
 db>
 
 --=20
 Rob Farmer
 
 >
 > Marius
 >
 >


More information about the freebsd-sparc64 mailing list