Xorg 7.3 causes kernel panic

Marius Strobl marius at alchemy.franken.de
Sat Dec 15 10:42:12 PST 2007


On Wed, Dec 12, 2007 at 06:13:19PM -0500, Bill Green wrote:
> 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!
> 

Could you please check what happens if you use a kernel built with
the patch at:
http://people.freebsd.org/~marius/openpromio.c.diff
?

Marius



More information about the freebsd-sparc64 mailing list