Xorg 7.3 causes kernel panic

Bill Green bill.w.green at gmail.com
Wed Dec 12 15:42:39 PST 2007


I'm experiencing the same problem described in this message:  http:// 
www.freebsd.org/cgi/getmsg.cgi?fetch=212177+0+/usr/local/www/db/text/ 
2007/freebsd-sparc64/20071111.freebsd-sparc64

The system is an Ultra 60 with two 450MHz processors.  Two  
framebuffers (one Creator3d, one m3) are installed.  The full dmesg  
is at the end of this message.

After building the newest x11/xorg port, the kernel panics whenever  
Xorg is executed.  6.9 worked fine.
Here's the backtrace from the crash:

Unread portion of the kernel message buffer:
panic: trap: memory address not aligned
cpuid = 0
Uptime: 1m2s
Dumping 1024 MB (4 chunks)
   chunk at 0: 268435456 bytes |

#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:240
240             savectx(&dumppcb);
(kgdb) bt
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:240
#1  0x00000000c01d5bd8 in boot (howto=260) at /usr/src/sys/kern/ 
kern_shutdown.c:409
#2  0x00000000c01d6034 in panic (fmt=0xc04d4d58 "trap: %s") at /usr/ 
src/sys/kern/kern_shutdown.c:565
#3  0x00000000c03e2e84 in trap (tf=0xdf895110) at /usr/src/sys/ 
sparc64/sparc64/trap.c:371
#4  0x00000000c0060fe0 in tl1_trap ()
#5  0x00000000c03b673c in openprom_ioctl (dev=0xfffff800af9c9a20,  
cmd=0, data=0x0, flags=0, td=0x0) at /usr/src/sys/dev/ofw/ 
openpromio.c:107
#6  0x00000000c01a2958 in devvn_refthread (vp=0xfffff80000599a00,  
devp=0x8004667e) at /usr/src/sys/kern/kern_conf.c:142
#7  0x00000000c01a2d84 in giant_ioctl (dev=0xfffff80000599a00,  
cmd=2147772030, data=0xdf89553c "", fflag=5, td=0xfffff800af9c9a20)
     at /usr/src/sys/kern/kern_conf.c:306
#8  0x00000000c0182cb4 in devfs_ioctl_f (fp=0xfffff80005c8c168,  
com=2147772030, data=0xdf89553c, cred=0xfffff800a0a40c00,  
td=0xfffff800af9c9a20)
     at /usr/src/sys/fs/devfs/devfs_vnops.c:479
#9  0x00000000c01a734c in kern_fcntl (td=0xfffff800af9c9a20, fd=9,  
cmd=4, arg=4) at file.h:264
#10 0x00000000c01a6bb8 in fcntl (td=0xfffff800af9c9a20,  
uap=0xdf8958c0) at /usr/src/sys/kern/kern_descrip.c:341
#11 0x00000000c03e3484 in syscall (tf=0xdf895880) at /usr/src/sys/ 
sparc64/sparc64/trap.c:594
#12 0x00000000c0060dc0 in tl0_intr ()
#13 0x0000000000000000 in ?? ()

Any help is greatly appreciated!


Copyright (c) 1992-2007 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 6.2-RELEASE #0: Fri Jan 12 23:30:59 UTC 2007
     root at s-dallas.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
real memory  = 1073741824 (1024 MB)
avail memory = 1005133824 (958 MB)
cpu0: Sun Microsystems UltraSparc-II Processor (449.99 MHz CPU)
cpu1: Sun Microsystems UltraSparc-II Processor (449.99 MHz CPU)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413,  
RF5413, REGOPS_FUNC)
nexus0: <Open Firmware Nexus device>
pcib0: <U2P UPA-PCI bridge> on nexus0
pcib0: Psycho, impl 0, version 4, ign 0x7c0, bus B
pcib0: [FAST]
pcib0: [FAST]
pcib0: [GIANT-LOCKED]
pcib0: [GIANT-LOCKED]
pcib0: [FAST]
initializing counter-timer
Timecounter "counter-timer" frequency 1000000 Hz quality 100
pcib0 dvma: DVMA map: 0xfc000000 to 0xffffffff
pci0: <OFW PCI bus> on pcib0
ebus0: <PCI-EBus2 bridge> mem 0x70000000-0x70ffffff, 
0x71000000-0x717fffff at device 1.0 on pci0
auxio0: <Sun Auxiliary I/O> addr  
0x1400726000-0x1400726003,0x1400728000-0x1400728003,0x140072a000-0x14007 
2a003,0x140072c000-0x140072c003,0x140072f000-0x140072f003 on ebus0
ebus0: <power> addr 0x1400724000-0x1400724003 (no driver attached)
ebus0: <SUNW,pll> addr 0x1400504000-0x1400504002 (no driver attached)
ebus0: <sc> addr 0x1400500000-0x1400500007 (no driver attached)
puc0: <Siemens SAB 82532 dual channel SCC> addr  
0x1400400000-0x140040007f irq 43 on ebus0
uart0: <SAB 82532 v3.2, channel A> on puc0
uart0: CTS oflow
uart1: <SAB 82532 v3.2, channel B> on puc0
uart1: CTS oflow
uart2: <16550 or compatible> addr 0x14003083f8-0x14003083ff irq 41 on  
ebus0
uart2: keyboard (1200,n,8,1)
kbd0 at sunkbd0
uart3: <16550 or compatible> addr 0x14003062f8-0x14003062ff irq 42 on  
ebus0
ebus0: <ecpp> addr 0x14003043bc-0x14003043cb, 
0x1400300398-0x1400300399,0x1400700000-0x140070000f irq 34 (no driver  
attached)
ebus0: <fdthree> addr  
0x14003023f0-0x14003023f7,0x1400706000-0x140070600f, 
0x1400720000-0x1400720003 irq 39 (no driver attached)
eeprom0: <EEPROM/clock> addr 0x1400000000-0x1400001fff on ebus0
eeprom0: model mk48t59
eeprom0: hostid 80ad4461
ebus0: <flashprom> addr 0x1000000000-0x10000fffff (no driver attached)
ebus0: <SUNW,CS4231> addr 0x1400200000-0x14002000ff, 
0x1400702000-0x140070200f,0x1400704000-0x140070400f, 
0x1400722000-0x1400722003 irq 35,36 (no driver attached)
hme0: <Sun HME 10/100 Ethernet> mem 0x10100000-0x10107fff at device  
1.1 on pci0
miibus0: <MII bus> on hme0
qsphy0: <QS6612 10/100 media interface> on miibus0
qsphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
hme0: Ethernet address: 08:00:20:ad:44:61
sym0: <875> port 0x1000-0x10ff mem 0x10108000-0x101080ff, 
0x1010a000-0x1010afff at device 3.0 on pci0
sym0: No NVRAM, ID 7, Fast-20, SE, parity checking
sym0: [GIANT-LOCKED]
sym1: <875> port 0x1400-0x14ff mem 0x1010c000-0x1010c0ff, 
0x1010e000-0x1010efff at device 3.1 on pci0
sym1: No NVRAM, ID 7, Fast-20, SE, parity checking
sym1: [GIANT-LOCKED]
pcib1: <OFW PCI-PCI bridge> at device 2.0 on pci0
pci1: <OFW PCI bus> on pcib1
pci1: <bridge> at device 0.0 (no driver attached)
hme1: <Sun HME 10/100 Ethernet> mem 0x4000000-0x4007fff at device 0.1  
on pci1
miibus1: <MII bus> on hme1
ukphy0: <Generic IEEE 802.3u media interface> on miibus1
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
hme1: Ethernet address: 00:03:ba:34:58:a8
pci1: <bridge> at device 1.0 (no driver attached)
hme2: <Sun HME 10/100 Ethernet> mem 0x8000000-0x8007fff at device 1.1  
on pci1
miibus2: <MII bus> on hme2
ukphy1: <Generic IEEE 802.3u media interface> on miibus2
ukphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
hme2: Ethernet address: 00:03:ba:34:58:a9
pci1: <bridge> at device 2.0 (no driver attached)
hme3: <Sun HME 10/100 Ethernet> mem 0xc000000-0xc007fff at device 2.1  
on pci1
miibus3: <MII bus> on hme3
ukphy2: <Generic IEEE 802.3u media interface> on miibus3
ukphy2:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
hme3: Ethernet address: 00:03:ba:34:58:aa
pci1: <bridge> at device 3.0 (no driver attached)
hme4: <Sun HME 10/100 Ethernet> mem 0x10000000-0x10007fff at device  
3.1 on pci1
miibus4: <MII bus> on hme4
ukphy3: <Generic IEEE 802.3u media interface> on miibus4
ukphy3:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
hme4: Ethernet address: 00:03:ba:34:58:ab
pcib2: <U2P UPA-PCI bridge> on nexus0
pcib2: Psycho, impl 0, version 4, ign 0x7c0, bus A
pcib2: [FAST]
pci2: <OFW PCI bus> on pcib2
creator0: <Creator3D> on nexus0
creator0: console
creator0: resolution 1024x768
creator1: <Elite3D> on nexus0
creator1: resolution 1152x900
syscons0: <System console> on nexus0
syscons0: Unknown <16 virtual consoles, flags=0x300>
Timecounters tick every 1.000 msec
Waiting 5 seconds for SCSI devices to settle
SMP: AP CPU #1 Launched!
cd0 at sym0 bus 0 target 6 lun 0
cd0: <PIONEER DVD-ROM DVD-303R 2.00> Removable CD-ROM SCSI-2 device
cd0: 20.000MB/s transfers (20.000MHz, offset 8)
cd0: Attempt to query device size failed: NOT READY, Medium not present
da0 at sym0 bus 0 target 0 lun 0
da0: <SEAGATE ST336704LC 0004> Fixed Direct Access SCSI-3 device
da0: 40.000MB/s transfers (20.000MHz, offset 16, 16bit), Tagged  
Queueing Enabled
da0: 34732MB (71132960 512 byte sectors: 255H 63S/T 4427C)


More information about the freebsd-sparc64 mailing list