Date: Mon, 29 Mar 2010 22:00:18 GMT From: Rob Farmer <rfarmer@predatorlabs.net> To: freebsd-sparc64@FreeBSD.org Subject: Re: sparc64/144867: panic: trap: memory address not aligned booting Sunfire 280R Message-ID: <201003292200.o2TM0IIV019575@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR sparc64/144867; it has been noted by GNATS. From: Rob Farmer <rfarmer@predatorlabs.net> To: Marius Strobl <marius@alchemy.franken.de> Cc: bug-followup@freebsd.org Subject: Re: sparc64/144867: panic: trap: memory address not aligned booting Sunfire 280R Date: Mon, 29 Mar 2010 14:51:45 -0700 On Thu, Mar 25, 2010 at 4:27 PM, Marius Strobl <marius@alchemy.franken.de> wrote: > On Thu, Mar 25, 2010 at 11:07:30AM -0700, Rob Farmer wrote: >> On Sat, Mar 20, 2010 at 1:43 PM, Marius Strobl >> >> >> >> 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 >> >> panic: pcib: PCI bus A error AFAR 0x1000c0 AFSR 0x320000000 PCI CSR >> >> 0x60002010f003f IOMMU 0x70003 STATUS 0x2a0 >> > >> > Please give the following snapshot a try: >> > http://people.freebsd.org/~marius/FreeBSD-9.0-20100320-SNAP-sparc64-disc1.iso.gz >> > That one includes r205254, which works around a quirk of version 7 >> > Schizo seen when booting V890 from disk. You appear to be hitting >> > the same issue. >> >> That snapshot works great without the MMF cards. > > Thanks for testing. > >> I don't need them so >> I will just leave them out, but if you are interested in working on >> them I can test patches. > > Please give the following quick hack a try: > http://people.freebsd.org/~marius/cas_mmf.diff Sorry, no luck - it still panics: 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: Thu Mar 25 20:26:26 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 = 8381587456 (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] 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 cas0: <Sun Cassini+ Gigabit Ethernet> mem 0x200000-0x3fffff at device 1.0 on pci1 panic: trap: memory address not aligned cpuid = 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 0xc0a0e330 panic() at panic+0x198 trap() at trap+0x220 -- memory address not aligned sfar=0x7fd00200001 sfsr=0x1d007d %o7=0xc016f1c8 -- cas_pci_attach() at cas_pci_attach+0xb1c device_attach() at device_attach+0x68 bus_generic_attach() at bus_generic_attach+0x10 ofw_pcibus_attach() at ofw_pcibus_attach+0x2e4 device_attach() at device_attach+0x68 bus_generic_attach() at bus_generic_attach+0x10 schizo_attach() at schizo_attach+0xe04 device_attach() at device_attach+0x68 bus_generic_new_pass() at bus_generic_new_pass+0x130 bus_generic_new_pass() at bus_generic_new_pass+0xbc bus_set_pass() at bus_set_pass+0xc4 configure() at configure+0x4 mi_startup() at mi_startup+0xf0 btext() at btext+0x2c db> -- Rob Farmer > > Marius > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003292200.o2TM0IIV019575>