From owner-freebsd-hackers@FreeBSD.ORG Fri Apr 10 16:08:01 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 375201065678 for ; Fri, 10 Apr 2009 16:08:01 +0000 (UTC) (envelope-from xorquewasp@googlemail.com) Received: from mail-ew0-f171.google.com (mail-ew0-f171.google.com [209.85.219.171]) by mx1.freebsd.org (Postfix) with ESMTP id 66E238FC18 for ; Fri, 10 Apr 2009 16:08:00 +0000 (UTC) (envelope-from xorquewasp@googlemail.com) Received: by ewy19 with SMTP id 19so1132828ewy.43 for ; Fri, 10 Apr 2009 09:07:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:received:date:from:to:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to; bh=OfBOLKtujRyZTYohJ7bswYuDGZU46gm15LKu8YP4FKQ=; b=KT353nj0jZpIpuHT95sfCU5paqKOpEayVSdXxRYoO3OZqa5YZi22z2chFRJPWwA+MF KHSlGi/XF79UuYotPrQB8gZL52P4FwUJYrraoyqiiJdpjqKMSfUp9iWGy9xWt8jWa6J/ 4f/8q3CX3ABYGjnd7du04ShkZ4XRQnCvY+Z40= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to; b=HVWGIQMmhgW/cJ0hV8DKzEQDsWzhlLmJxPBjO7p7z1+xphKEsMHCAJpKMZloQ44kSI vPLa0u7dK/NmrKQjIVSywpWR07RvJs8yo9dw+FHhbIObiwDM+WcHyNuWwOw4PHVO+jr1 sa7J2+l6GuziCNOy8oRfQp7j3reNP4KJ+5a1k= Received: by 10.210.20.17 with SMTP id 17mr306193ebt.87.1239378173931; Fri, 10 Apr 2009 08:42:53 -0700 (PDT) Received: from logik.internal.network (81-86-41-187.dsl.pipex.com [81.86.41.187]) by mx.google.com with ESMTPS id 7sm957073ewy.34.2009.04.10.08.42.52 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 10 Apr 2009 08:42:53 -0700 (PDT) Received: by logik.internal.network (Postfix, from userid 11001) id 3E2D35C62; Fri, 10 Apr 2009 15:42:51 +0000 (UTC) Date: Fri, 10 Apr 2009 16:42:51 +0100 From: xorquewasp@googlemail.com To: freebsd-hackers@freebsd.org Message-ID: <20090410154251.GA49384@logik.internal.network> References: <20090410132354.GA20721@logik.internal.network> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090410132354.GA20721@logik.internal.network> Subject: Re: diagnosing freezes (DRI?) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Apr 2009 16:08:01 -0000 Hello. Recently bought a new system and am experiencing problems with system freezes. I think the most likely culprit is DRI. The freezes occur apparently at random. I've disabled drm.ko and radeon.ko and the system doesn't appear to have frozen yet. I'm running 7.2-PRERELEASE (STABLE as of yesterday). Machine's dmesg: Copyright (c) 1992-2009 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 7.2-PRERELEASE #0: Fri Apr 10 00:09:48 BST 2009 root@viper.internal.network:/usr/obj/usr/src/sys/GENERIC Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz (2665.04-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x106a4 Stepping = 4 Features=0xbfebfbff Features2=0x98e3bd,,> AMD Features=0x28100800 AMD Features2=0x1 Cores per package: 8 Logical CPUs per core: 2 usable memory = 12862480384 (12266 MB) avail memory = 12424323072 (11848 MB) ACPI APIC Table: <121008 APIC1726> FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 2 cpu3 (AP): APIC ID: 3 cpu4 (AP): APIC ID: 4 cpu5 (AP): APIC ID: 5 cpu6 (AP): APIC ID: 6 cpu7 (AP): APIC ID: 7 ioapic0: Changing APIC ID to 8 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: <121008 RSDT1726> on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, bff00000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 1.0 on pci0 pci7: on pcib1 pcib2: at device 3.0 on pci0 pci6: on pcib2 vgapci0: port 0xe000-0xe0ff mem 0xd0000000-0xdfffffff,0xfbee0000-0xfbeeffff irq 16 at device 0.0 on pci6 drm0: on vgapci0 vgapci0: child drm0 requested pci_enable_busmaster info: [drm] Initialized radeon 1.29.0 20080528 vgapci1: mem 0xfbef0000-0xfbefffff at device 0.1 on pci6 pcib3: at device 7.0 on pci0 pci5: on pcib3 pci0: at device 16.0 (no driver attached) pci0: at device 16.1 (no driver attached) pci0: at device 20.0 (no driver attached) pci0: at device 20.1 (no driver attached) pci0: at device 20.2 (no driver attached) pci0: at device 20.3 (no driver attached) uhci0: port 0x9080-0x909f irq 16 at device 26.0 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] usb0: on uhci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: port 0x9400-0x941f irq 21 at device 26.1 on pci0 uhci1: [GIANT-LOCKED] uhci1: [ITHREAD] usb1: on uhci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0x9480-0x949f irq 19 at device 26.2 on pci0 uhci2: [GIANT-LOCKED] uhci2: [ITHREAD] usb2: on uhci2 usb2: USB revision 1.0 uhub2: on usb2 uhub2: 2 ports with 2 removable, self powered ehci0: mem 0xfb9f6000-0xfb9f63ff irq 18 at device 26.7 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb3: EHCI version 1.0 usb3: companion controllers, 2 ports each: usb0 usb1 usb2 usb3: on ehci0 usb3: USB revision 2.0 uhub3: on usb3 uhub3: 6 ports with 6 removable, self powered uhub4: on uhub3 uhub4: single transaction translator uhub4: 4 ports with 4 removable, self powered ukbd0: on uhub4 kbd2 at ukbd0 ums0: on uhub4 ums0: 3 buttons. ums1: on uhub4 ums1: 3 buttons and Z dir. uhub5: on uhub4 uhub5: 3 ports with 2 removable, bus powered ugen0: on uhub5 ukbd1: on uhub5 kbd3 at ukbd1 uhid0: on uhub5 pci0: at device 27.0 (no driver attached) pcib4: irq 17 at device 28.0 on pci0 pci4: on pcib4 atapci0: port 0xdc00-0xdc07,0xd880-0xd883,0xd800-0xd807,0xd480-0xd483,0xd400-0xd40f mem 0xfbdfe000-0xfbdfffff irq 16 at device 0.0 on pci4 atapci0: [ITHREAD] atapci0: AHCI called from vendor specific driver atapci0: AHCI Version 01.00 controller with 2 ports detected ata2: on atapci0 ata2: [ITHREAD] ata3: on atapci0 ata3: [ITHREAD] ata4: on atapci0 ata4: [ITHREAD] pcib5: irq 16 at device 28.1 on pci0 pci3: on pcib5 re0: port 0xc800-0xc8ff mem 0xfbcff000-0xfbcfffff,0xcfff0000-0xcfffffff irq 17 at device 0.0 on pci3 re0: Using 1 MSI messages re0: Chip rev. 0x3c000000 re0: MAC rev. 0x00400000 miibus0: on re0 rgephy0: PHY 1 on miibus0 rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto re0: Ethernet address: 00:e0:4d:b3:5b:bd re0: [FILTER] pcib6: irq 18 at device 28.2 on pci0 pci2: on pcib6 re1: port 0xb800-0xb8ff mem 0xfbbff000-0xfbbfffff,0xcfef0000-0xcfefffff irq 18 at device 0.0 on pci2 re1: Using 1 MSI messages re1: Chip rev. 0x3c000000 re1: MAC rev. 0x00400000 miibus1: on re1 rgephy1: PHY 1 on miibus1 rgephy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto re1: Ethernet address: 00:e0:4d:b3:5b:be re1: [FILTER] uhci3: port 0x9800-0x981f irq 23 at device 29.0 on pci0 uhci3: [GIANT-LOCKED] uhci3: [ITHREAD] usb4: on uhci3 usb4: USB revision 1.0 uhub6: on usb4 uhub6: 2 ports with 2 removable, self powered uhci4: port 0x9880-0x989f irq 19 at device 29.1 on pci0 uhci4: [GIANT-LOCKED] uhci4: [ITHREAD] usb5: on uhci4 usb5: USB revision 1.0 uhub7: on usb5 uhub7: 2 ports with 2 removable, self powered uhci5: port 0x9c00-0x9c1f irq 18 at device 29.2 on pci0 uhci5: [GIANT-LOCKED] uhci5: [ITHREAD] usb6: on uhci5 usb6: USB revision 1.0 uhub8: on usb6 uhub8: 2 ports with 2 removable, self powered ehci1: mem 0xfb9fc000-0xfb9fc3ff irq 23 at device 29.7 on pci0 ehci1: [GIANT-LOCKED] ehci1: [ITHREAD] usb7: EHCI version 1.0 usb7: companion controllers, 2 ports each: usb4 usb5 usb6 usb7: on ehci1 usb7: USB revision 2.0 uhub9: on usb7 uhub9: 6 ports with 6 removable, self powered pcib7: at device 30.0 on pci0 pci1: on pcib7 fwohci0: mem 0xfbaff800-0xfbafffff,0xfbaf8000-0xfbafbfff irq 19 at device 7.0 on pci1 fwohci0: [FILTER] fwohci0: OHCI version 1.10 (ROM=1) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 00:00:00:00:00:07:7b:3d fwohci0: Phy 1394a available S400, 2 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 dcons_crom0: on firewire0 dcons_crom0: bus_addr 0x199c000 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:00:00:07:7b:3d fwe0: Ethernet address: 02:00:00:07:7b:3d fwip0: on firewire0 fwip0: Firewire address: 00:00:00:00:00:07:7b:3d @ 0xfffe00000000, S400, maxrec 2048 sbp0: on firewire0 fwohci0: Initiate bus reset fwohci0: BUS reset fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode isab0: at device 31.0 on pci0 isa0: on isab0 atapci1: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xff90-0xff9f,0xffa0-0xffaf at device 31.2 on pci0 ata0: on atapci1 ata0: [ITHREAD] ata1: on atapci1 ata1: [ITHREAD] pci0: at device 31.3 (no driver attached) atapci2: port 0xac00-0xac07,0xa880-0xa883,0xa800-0xa807,0xa480-0xa483,0xa400-0xa40f,0xa080-0xa08f irq 19 at device 31.5 on pci0 atapci2: [ITHREAD] ata5: on atapci2 ata5: [ITHREAD] ata6: on atapci2 ata6: [ITHREAD] acpi_button0: on acpi0 acpi_tz0: on acpi0 fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FILTER] cpu0: on acpi0 ACPI Warning (tbutils-0243): Incorrect checksum in table [OEMB] - 6, should be FE [20070320] est0: on cpu0 p4tcc0: on cpu0 cpu1: on acpi0 est1: on cpu1 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 14 device_attach: est1 attach returned 6 p4tcc1: on cpu1 cpu2: on acpi0 est2: on cpu2 p4tcc2: on cpu2 cpu3: on acpi0 est3: on cpu3 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 14 device_attach: est3 attach returned 6 p4tcc3: on cpu3 cpu4: on acpi0 est4: on cpu4 p4tcc4: on cpu4 cpu5: on acpi0 est5: on cpu5 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 14 device_attach: est5 attach returned 6 p4tcc5: on cpu5 cpu6: on acpi0 est6: on cpu6 p4tcc6: on cpu6 cpu7: on acpi0 est7: on cpu7 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 14 device_attach: est7 attach returned 6 p4tcc7: on cpu7 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] ppc0: cannot reserve I/O port range sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 8250 or not responding sio0: [FILTER] sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounters tick every 1.000 msec firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) ad0: 76319MB at ata0-master SATA300 ad2: 953869MB at ata1-master SATA300 GEOM_LABEL: Label for provider ad0s1a is ufsid/49dd1626d599346c. GEOM_LABEL: Label for provider ad0s1d is ufsid/49dd1626c888923e. GEOM_LABEL: Label for provider ad0s1e is ufsid/49dd16280e8a20d0. GEOM_LABEL: Label for provider ad0s1f is ufsid/49dd1626ed87573c. acd0: DVDR at ata4-master UDMA66 SMP: AP CPU #1 Launched! SMP: AP CPU #4 Launched! SMP: AP CPU #6 Launched! SMP: AP CPU #3 Launched! SMP: AP CPU #5 Launched! SMP: AP CPU #2 Launched! SMP: AP CPU #7 Launched! Trying to mount root from ufs:/dev/ad0s1a cryptosoft0: on motherboard GEOM_ELI: Device ad0s1b.eli created. GEOM_ELI: Encryption: AES-CBC 256 GEOM_ELI: Crypto: software GEOM_LABEL: Label ufsid/49dd1626d599346c removed. GEOM_LABEL: Label for provider ad0s1a is ufsid/49dd1626d599346c. GEOM_LABEL: Label ufsid/49dd1626c888923e removed. GEOM_LABEL: Label for provider ad0s1d is ufsid/49dd1626c888923e. GEOM_LABEL: Label ufsid/49dd1626ed87573c removed. GEOM_LABEL: Label for provider ad0s1f is ufsid/49dd1626ed87573c. GEOM_LABEL: Label ufsid/49dd16280e8a20d0 removed. GEOM_LABEL: Label for provider ad0s1e is ufsid/49dd16280e8a20d0. GEOM_LABEL: Label ufsid/49dd1626d599346c removed. GEOM_LABEL: Label ufsid/49dd1626c888923e removed. GEOM_LABEL: Label ufsid/49dd1626ed87573c removed. GEOM_LABEL: Label ufsid/49dd16280e8a20d0 removed. re0: link state changed to UP I've not been able to obtain anything in the way of crash logs. The system just freezes and doesn't respond to keyboard, mouse, network activity, shouting and/or threats. I've run memtest86+ for hours with no errors, tested the CPU with various utilities and run WD's hard disk diagnostic tools. As I said, DRI seems the likely culprit. Unfortunately I can't do without DRI as this machine's intended for OpenGL development and video editing. Any advice would be much appreciated. I'm under slight time pressure to get this system up and running. thanks, xw