From owner-freebsd-sparc64@FreeBSD.ORG Sat Dec 15 18:42:12 2007 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3F9D216A41B for ; Sat, 15 Dec 2007 18:42:12 +0000 (UTC) (envelope-from marius@alchemy.franken.de) Received: from alchemy.franken.de (alchemy.franken.de [194.94.249.214]) by mx1.freebsd.org (Postfix) with ESMTP id AEDAF13C469 for ; Sat, 15 Dec 2007 18:42:11 +0000 (UTC) (envelope-from marius@alchemy.franken.de) Received: from alchemy.franken.de (localhost [127.0.0.1]) by alchemy.franken.de (8.14.1/8.14.1/ALCHEMY.FRANKEN.DE) with ESMTP id lBFIg92F033496; Sat, 15 Dec 2007 19:42:10 +0100 (CET) (envelope-from marius@alchemy.franken.de) Received: (from marius@localhost) by alchemy.franken.de (8.14.1/8.14.1/Submit) id lBFIg9lg033495; Sat, 15 Dec 2007 19:42:09 +0100 (CET) (envelope-from marius) Date: Sat, 15 Dec 2007 19:42:09 +0100 From: Marius Strobl To: Bill Green Message-ID: <20071215184209.GA33382@alchemy.franken.de> References: <25B78775-B1B9-4129-B2AF-0C11F04A1CFE@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <25B78775-B1B9-4129-B2AF-0C11F04A1CFE@gmail.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-sparc64@freebsd.org Subject: Re: Xorg 7.3 causes kernel panic X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Dec 2007 18:42:12 -0000 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