From owner-freebsd-sparc64@FreeBSD.ORG Wed Dec 12 23:42:39 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 4B68B16A418 for ; Wed, 12 Dec 2007 23:42:39 +0000 (UTC) (envelope-from bill.w.green@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.235]) by mx1.freebsd.org (Postfix) with ESMTP id EE06413C4E8 for ; Wed, 12 Dec 2007 23:42:38 +0000 (UTC) (envelope-from bill.w.green@gmail.com) Received: by wr-out-0506.google.com with SMTP id 68so227648wra.13 for ; Wed, 12 Dec 2007 15:42:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:mime-version:content-transfer-encoding:message-id:content-type:to:from:subject:date:x-mailer; bh=UQ4e5ZDOTVbNL6VzcpdVHLqZrpavP63xhLDMiVsDpy8=; b=a6rcy7r3PkTKDyo2SQVgjEEB0ONVJr+bxXm64eBFMQYSlzE/rLMmFSS8tuFb5xPNXV/dsWJxtyfgx4arAMwgqJzTHs2SK+weZ1kCZKEGFZ3TIxCyEFrzn41MzWyKgmsNP5L6ujzRMV2FDUKpie4rjUqN/UPAQVHVdQoeN8QjL6s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:content-transfer-encoding:message-id:content-type:to:from:subject:date:x-mailer; b=i7SanaGz/ozIROwMD+mtIBvtqirerpWuFziGv9FZv/fqEpWPeig/lahsDyACepddFb+XQ1Qcgl7EsAJ7QX4Rb53Wke0ZIzlnaANH+kPGhyw+HKG9EjWMTPpQiCCOxT3UWp37vYiNGqO5LQh9ERqk0OwIwKTkE/3UG9XnwJ0nJRo= Received: by 10.150.186.12 with SMTP id j12mr451372ybf.124.1197501202810; Wed, 12 Dec 2007 15:13:22 -0800 (PST) Received: from ?192.168.11.128? ( [68.35.228.144]) by mx.google.com with ESMTPS id i51sm8586513rne.2007.12.12.15.13.21 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 12 Dec 2007 15:13:22 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v752.2) Content-Transfer-Encoding: 7bit Message-Id: <25B78775-B1B9-4129-B2AF-0C11F04A1CFE@gmail.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: freebsd-sparc64@freebsd.org From: Bill Green Date: Wed, 12 Dec 2007 18:13:19 -0500 X-Mailer: Apple Mail (2.752.2) Subject: 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: Wed, 12 Dec 2007 23:42:39 -0000 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@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: pcib0: 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: on pcib0 ebus0: mem 0x70000000-0x70ffffff, 0x71000000-0x717fffff at device 1.0 on pci0 auxio0: addr 0x1400726000-0x1400726003,0x1400728000-0x1400728003,0x140072a000-0x14007 2a003,0x140072c000-0x140072c003,0x140072f000-0x140072f003 on ebus0 ebus0: addr 0x1400724000-0x1400724003 (no driver attached) ebus0: addr 0x1400504000-0x1400504002 (no driver attached) ebus0: addr 0x1400500000-0x1400500007 (no driver attached) puc0: addr 0x1400400000-0x140040007f irq 43 on ebus0 uart0: on puc0 uart0: CTS oflow uart1: 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: addr 0x14003043bc-0x14003043cb, 0x1400300398-0x1400300399,0x1400700000-0x140070000f irq 34 (no driver attached) ebus0: addr 0x14003023f0-0x14003023f7,0x1400706000-0x140070600f, 0x1400720000-0x1400720003 irq 39 (no driver attached) eeprom0: addr 0x1400000000-0x1400001fff on ebus0 eeprom0: model mk48t59 eeprom0: hostid 80ad4461 ebus0: addr 0x1000000000-0x10000fffff (no driver attached) ebus0: addr 0x1400200000-0x14002000ff, 0x1400702000-0x140070200f,0x1400704000-0x140070400f, 0x1400722000-0x1400722003 irq 35,36 (no driver attached) hme0: mem 0x10100000-0x10107fff at device 1.1 on pci0 miibus0: on hme0 qsphy0: 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: at device 2.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) hme1: mem 0x4000000-0x4007fff at device 0.1 on pci1 miibus1: on hme1 ukphy0: on miibus1 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto hme1: Ethernet address: 00:03:ba:34:58:a8 pci1: at device 1.0 (no driver attached) hme2: mem 0x8000000-0x8007fff at device 1.1 on pci1 miibus2: on hme2 ukphy1: on miibus2 ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto hme2: Ethernet address: 00:03:ba:34:58:a9 pci1: at device 2.0 (no driver attached) hme3: mem 0xc000000-0xc007fff at device 2.1 on pci1 miibus3: on hme3 ukphy2: on miibus3 ukphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto hme3: Ethernet address: 00:03:ba:34:58:aa pci1: at device 3.0 (no driver attached) hme4: mem 0x10000000-0x10007fff at device 3.1 on pci1 miibus4: on hme4 ukphy3: on miibus4 ukphy3: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto hme4: Ethernet address: 00:03:ba:34:58:ab pcib2: on nexus0 pcib2: Psycho, impl 0, version 4, ign 0x7c0, bus A pcib2: [FAST] pci2: on pcib2 creator0: on nexus0 creator0: console creator0: resolution 1024x768 creator1: on nexus0 creator1: resolution 1152x900 syscons0: 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: 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: 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)