From owner-freebsd-stable@FreeBSD.ORG Thu Jun 26 14:25:11 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 63C3C106566B for ; Thu, 26 Jun 2008 14:25:11 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from smtp-out1.tiscali.nl (smtp-out1.tiscali.nl [195.241.79.176]) by mx1.freebsd.org (Postfix) with ESMTP id D9E638FC0C for ; Thu, 26 Jun 2008 14:25:10 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from [212.123.145.58] (helo=guido.klop.ws) by smtp-out1.tiscali.nl with smtp id 1KBsA7-0003Ca-58 for ; Thu, 26 Jun 2008 16:09:23 +0200 Received: (qmail 2719 invoked from network); 26 Jun 2008 14:09:22 -0000 Received: from localhost (HELO guido.klop.ws) (127.0.0.1) by localhost with SMTP; 26 Jun 2008 14:09:22 -0000 Date: Thu, 26 Jun 2008 16:09:21 +0200 To: "freebsd-stable@freebsd.org" From: "Ronald Klop" Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 References: <20080616102144.4E3312844C@ronald.office.base.nl> Content-Transfer-Encoding: 7bit Message-ID: In-Reply-To: <20080616102144.4E3312844C@ronald.office.base.nl> User-Agent: Opera Mail/9.50 (FreeBSD) Subject: panic in drm X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 14:25:11 -0000 Hello, At my work I see a panic if I do this. Leaf my computer on screensaver (don't no if that is necessary) and come back the next morning. My monitor is than black, but the light is green, so DPMS didn't kick in. Keys or mouse don't wake up the system. CTRL-ALT-F1 switches to the console and immediately triggers this panic. I'm running latest x.org with xf86-video-i810-1.7.4_1. The newer xf86-video-intel also crashes my system sometimes when I'm working on it, so a downgraded. Any ideas, suggestions or fixes available? Cheers, Ronald. FreeBSD ronald.office.base.nl 7.0-STABLE FreeBSD 7.0-STABLE #: Mon May 19 12:12:58 CEST 2008 root@ronald.office.base.nl:/usr/obj/usr/src/sys/SMP-RONALD i386 kgdb kernel.debug /var/crash/vmcore.2 GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd"... Unread portion of the kernel message buffer: Fatal trap 12: page fault while in kernel mode cpuid = 1; apic id = 01 fault virtual address = 0x188 fault code = supervisor read, page not present instruction pointer = 0x20:0xc04faee4 stack pointer = 0x28:0xe7b25a94 frame pointer = 0x28:0xe7b25aac code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 58549 (xlock) trap number = 12 panic: page fault cpuid = 1 Uptime: 20d18h31m44s Physical memory: 2037 MB Dumping 251 MB: 236 220 204 188 172 156 140 124 108 92 76 60 44 28 12 #0 doadump () at pcpu.h:195 195 __asm __volatile("movl %%fs:0,%0" : "=r" (td)); (kgdb) bt #0 doadump () at pcpu.h:195 #1 0xc050867f in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418 #2 0xc050893a in panic (fmt=Variable "fmt" is not available. ) at /usr/src/sys/kern/kern_shutdown.c:572 #3 0xc067a080 in trap_fatal (frame=0xe7b25a54, eva=392) at /usr/src/sys/i386/i386/trap.c:899 #4 0xc067a2d0 in trap_pfault (frame=0xe7b25a54, usermode=0, eva=392) at /usr/src/sys/i386/i386/trap.c:812 #5 0xc067ab81 in trap (frame=0xe7b25a54) at /usr/src/sys/i386/i386/trap.c:490 #6 0xc066277b in calltrap () at /usr/src/sys/i386/i386/exception.s:139 #7 0xc04faee4 in _mtx_lock_sleep (m=0xc4ddfcc0, tid=3321921536, opts=0, file=0x0, line=0) at /usr/src/sys/kern/kern_mutex.c:335 #8 0xc04fb005 in lock_mtx (lock=0xc4ddfcc0, how=0) at /usr/src/sys/kern/kern_mutex.c:141 #9 0xc05102b8 in _sleep (ident=0xc4ddfe64, lock=0xc4ddfcc0, priority=340, wmesg=0xc58007e7 "drmwtq", timo=3000) at /usr/src/sys/kern/kern_synch.c:237 #10 0xc57fefa7 in i915_driver_vblank_wait (dev=0xc4ddfc00, sequence=0xe7b25b48) at /usr/src/sys/modules/drm/i915/../../../dev/drm/i915_irq.c:141 #11 0xc580bf06 in drm_wait_vblank (kdev=0xc570b600, cmd=Variable "cmd" is not available. ) at /usr/src/sys/modules/drm/drm/../../../dev/drm/drm_irq.c:254 #12 0xc580a8e4 in drm_ioctl (kdev=0xc570b600, cmd=3222299706, data=0xc72790b0 "", flags=3, p=0xc6008000) at /usr/src/sys/modules/drm/drm/../../../dev/drm/drm_drv.c:911 #13 0xc04d58e0 in giant_ioctl (dev=0xc570b600, cmd=3222299706, data=0xc72790b0 "", fflag=3, td=0xc6008000) at /usr/src/sys/kern/kern_conf.c:405 #14 0xc04b0998 in devfs_ioctl_f (fp=0xc87f0c18, com=3222299706, data=0xc72790b0, cred=0xc81ea000, td=0xc6008000) at /usr/src/sys/fs/devfs/devfs_vnops.c:494 #15 0xc053bbb5 in kern_ioctl (td=0xc6008000, fd=5, com=3222299706, data=0xc72790b0 "") at file.h:266 #16 0xc053bcfa in ioctl (td=0xc6008000, uap=0xe7b25cfc) at /usr/src/sys/kern/sys_generic.c:570 #17 0xc067a5c1 in syscall (frame=0xe7b25d38) at /usr/src/sys/i386/i386/trap.c:1035 #18 0xc06627e0 in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:196 #19 0x00000033 in ?? () Previous frame inner to this frame (corrupt stack?) (kgdb) list *0xc04faee4 0xc04faee4 is in _mtx_lock_sleep (/usr/src/sys/kern/kern_mutex.c:337). 332 */ 333 v = m->mtx_lock; 334 if (v != MTX_UNOWNED) { 335 owner = (struct thread *)(v & ~MTX_FLAGMASK); 336 #ifdef ADAPTIVE_GIANT 337 if (TD_IS_RUNNING(owner)) { 338 #else 339 if (m != &Giant && TD_IS_RUNNING(owner)) { 340 #endif 341 if (LOCK_LOG_TEST(&m->lock_object, 0)) --- dmesg output --- Copyright (c) 1992-2008 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.0-STABLE #: Mon Jun 16 14:05:07 CEST 2008 root@ronald.office.base.nl:/usr/obj/usr/src/sys/SMP-RONALD Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (2793.19-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf29 Stepping = 9 Features=0xbfebfbff Features2=0x4400 Logical CPUs per core: 2 real memory = 2145845248 (2046 MB) avail memory = 2094579712 (1997 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 2 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, f00000 (3) failed acpi0: reservation of 1000000, 7ee70000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: on acpi0 p4tcc0: on cpu0 cpu1: on acpi0 p4tcc1: on cpu1 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 vgapci0: port 0xed98-0xed9f mem 0xe8000000-0xefffffff,0xfeb80000-0xfebfffff irq 16 at device 2.0 on pci0 agp0: on vgapci0 agp0: detected 892k stolen memory agp0: aperture size is 128M uhci0: port 0xff80-0xff9f irq 16 at device 29.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 0xff60-0xff7f irq 19 at device 29.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 0xff40-0xff5f irq 18 at device 29.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 uhci3: port 0xff20-0xff3f irq 16 at device 29.3 on pci0 uhci3: [GIANT-LOCKED] uhci3: [ITHREAD] usb3: on uhci3 usb3: USB revision 1.0 uhub3: on usb3 uhub3: 2 ports with 2 removable, self powered ehci0: mem 0xffa80800-0xffa80bff irq 23 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: on ehci0 usb4: USB revision 2.0 uhub4: on usb4 uhub4: 8 ports with 8 removable, self powered uhub5: on uhub4 uhub5: single transaction translator uhub5: 4 ports with 4 removable, self powered ums0: on uhub5 ums0: 8 buttons and Z dir. pcib1: at device 30.0 on pci0 pci1: on pcib1 em0: port 0xdf40-0xdf7f mem 0xfeae0000-0xfeafffff irq 18 at device 12.0 on pci1 em0: [FILTER] em0: Ethernet address: 00:0f:1f:83:6e:fb isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf mem 0xfeb7fc00-0xfeb7ffff irq 18 at device 31.1 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] atapci1: port 0xfe00-0xfe07,0xfe10-0xfe13,0xfe20-0xfe27,0xfe30-0xfe33,0xfea0-0xfeaf irq 18 at device 31.2 on pci0 atapci1: [ITHREAD] ata2: on atapci1 ata2: [ITHREAD] ata3: on atapci1 ata3: [ITHREAD] ichsmb0: port 0xeda0-0xedbf irq 17 at device 31.3 on pci0 ichsmb0: [GIANT-LOCKED] ichsmb0: [ITHREAD] smbus0: on ichsmb0 pcm0: port 0xee00-0xeeff,0xedc0-0xedff mem 0xfeb7fa00-0xfeb7fbff,0xfeb7f900-0xfeb7f9ff irq 17 at device 31.5 on pci0 pcm0: [ITHREAD] pcm0: atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio0: [FILTER] pmtimer0 on isa0 orm0: at iomem 0xc0000-0xca7ff,0xca800-0xcbfff,0xcc000-0xd87ff,0xd8800-0xdbfff pnpid ORM0000 on isa0 ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold ppbus0: on ppc0 ppbus0: [ITHREAD] lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 ppc0: [GIANT-LOCKED] ppc0: [ITHREAD] sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> 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 ubt0: on uhub3 ubt0: Interface 0 endpoints: interrupt=0x81, bulk-in=0x82, bulk-out=0x2 ubt0: Interface 1 (alt.config 4) endpoints: isoc-in=0x83, isoc-out=0x3; wMaxPacketSize=64; nframes=5, buffer size=320 Timecounters tick every 1.000 msec ad0: 76293MB at ata0-master UDMA100 acd0: CDROM at ata1-master UDMA33 SMP: AP CPU #1 Launched! GEOM_LABEL: Label for provider ad0s1 is msdosfs/DellUtility. GEOM_LABEL: Label for provider ad0s2 is ufs/test. Trying to mount root from ufs:/dev/ad0s3a WARNING: attempt to net_add_domain(bluetooth) after domainfinalize() WARNING: attempt to net_add_domain(netgraph) after domainfinalize() ipfw2 initialized, divert loadable, nat loadable, rule-based forwarding disabled, default to deny, logging disabled netsmb_dev: loaded drm0: on vgapci0 info: [drm] AGP at 0xe8000000 128MB info: [drm] Initialized i915 1.5.0 20060119 drm0: [ITHREAD] pid 3421 (fstat), uid 0: exited on signal 6 encode_long: negative value -633 in accounting record -- Ronald Klop Amsterdam, The Netherlands