From owner-freebsd-stable@FreeBSD.ORG Sun Aug 6 13:29:50 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 40FA516A4DA for ; Sun, 6 Aug 2006 13:29:50 +0000 (UTC) (envelope-from stalker@maths.tcd.ie) Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by mx1.FreeBSD.org (Postfix) with SMTP id 8FBD843D6D for ; Sun, 6 Aug 2006 13:29:44 +0000 (GMT) (envelope-from stalker@maths.tcd.ie) Received: from lanczos.maths.tcd.ie ([134.226.81.3] helo=maths.tcd.ie) by salmon.maths.tcd.ie with SMTP id ; 6 Aug 2006 14:29:43 +0100 (BST) To: freebsd-stable@freebsd.org Date: Sun, 06 Aug 2006 14:29:42 +0100 From: John Stalker Message-ID: <200608061429.aa06772@salmon.maths.tcd.ie> Subject: Frequent panics on Dell Latitude D610 running 6.1-STABLE GENERIC 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: Sun, 06 Aug 2006 13:29:50 -0000 I am experiencing frequent panics on a new Dell Latitude D610 running a generic 6-STABLE kernel. They are not exactly repeatable, but they always occur in one of two situations: running shutdown as root in an xterm or exiting from a window manager (WindowMaker or Blackbox) to a display manager (xdm or wdm). Included below are output from uname, kldstat, dmesg and kgdb. Any help would be greatly appreciated, including suggestions about how to further diagnose the problem. Script started on Sun Aug 6 15:22:46 2006 # uname -a FreeBSD shrek 6.1-STABLE FreeBSD 6.1-STABLE #0: Mon Jul 31 21:26:54 IST 2006 root@shrek:/usr/obj/usr/src/sys/GENERIC i386 # kldstat Id Refs Address Size Name 1 20 0xc0400000 6e1138 kernel 2 1 0xc0ae2000 5f7c snd_ich.ko 3 2 0xc0ae8000 22614 sound.ko 4 2 0xc0b0b000 cc58 if_ndis.ko 5 3 0xc0b18000 176e8 ndis.ko 6 1 0xc0b30000 84a48 BCMWL5_SYS.ko 7 1 0xc0bb5000 5acc4 acpi.ko 8 1 0xc6ca8000 3000 daemon_saver.ko 9 1 0xc6e9e000 1e000 radeon.ko 10 1 0xc6ebc000 e000 drm.ko # dmesg Copyright (c) 1992-2006 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 6.1-STABLE #0: Mon Jul 31 21:26:54 IST 2006 root@shrek:/usr/obj/usr/src/sys/GENERIC ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) M processor 2.00GHz (1995.01-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6d8 Stepping = 8 Features=0xafe9fbff Features2=0x180 AMD Features=0x100000 real memory = 2147291136 (2047 MB) avail memory = 2092167168 (1995 MB) ioapic0: Changing APIC ID to 1 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: on motherboard Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 cpu0: on acpi0 acpi_throttle0: on cpu0 acpi_acad0: on acpi0 battery0: on acpi0 battery1: on acpi0 acpi_lid0: on acpi0 acpi_button0: on acpi0 acpi_button1: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) pcib2: at device 28.0 on pci0 pci2: on pcib2 bge0: mem 0xdfcf0000-0xdfcfffff irq 16 at device 0.0 on pci2 miibus0: on bge0 brgphy0: on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto bge0: Ethernet address: 00:15:c5:14:bc:5d uhci0: port 0xbf80-0xbf9f irq 16 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xbf60-0xbf7f irq 17 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xbf40-0xbf5f irq 18 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] usb2: on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci3: port 0xbf20-0xbf3f irq 19 at device 29.3 on pci0 uhci3: [GIANT-LOCKED] usb3: on uhci3 usb3: USB revision 1.0 uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered ehci0: mem 0xffa80800-0xffa80bff irq 16 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: on ehci0 usb4: USB revision 2.0 uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub4: 8 ports with 8 removable, self powered pcib3: at device 30.0 on pci0 pci3: on pcib3 cbb0: at device 1.0 on pci3 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 pci3: at device 1.5 (no driver attached) ndis0: mem 0xdfbfe000-0xdfbfffff irq 17 at device 3.0 on pci3 ndis0: NDIS API version: 5.1 ndis0: Ethernet address: 00:14:a5:4b:c3:d3 pcm0: port 0xed00-0xedff,0xec40-0xec7f mem 0xdffffe00-0xdfffffff,0xdffffd00-0xdffffdff irq 16 at device 30.2 on pci0 pcm0: pci0: at device 30.3 (no driver attached) isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xbfa0-0xbfaf irq 17 at device 31.2 on pci0 atapci0: failed to enable memory mapping! ata0: on atapci0 ata1: on atapci0 acpi_tz0: on acpi0 atkbdc0: port 0x60,0x64,0x62,0x66 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model GlidePoint, device ID 0 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A ppc0: port 0x378-0x37f,0x778-0x77b irq 7 drq 1 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xcffff on isa0 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 Timecounter "TSC" frequency 1995013954 Hz quality 800 Timecounters tick every 1.000 msec ad0: 57231MB at ata0-master UDMA100 acd0: DVDR at ata1-master UDMA33 Trying to mount root from ufs:/dev/ad0s3a WARNING: / was not properly dismounted ndis0: link state changed to UP drm0: port 0xde00-0xdeff mem 0xd0000000-0xd7ffffff,0xdfdf0000-0xdfdfffff irq 16 at device 0.0 on pci1 info: [drm] Initialized radeon 1.24.0 20060225 info: [drm] Setting GART location based on old memory map info: [drm] Loading R300 Microcode info: [drm] writeback test succeeded in 1 usecs # kgdb kernel.debug /var/crash/vmcore.0 [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"] 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: info: [drm] Setting GART location based on old memory map info: [drm] Loading R300 Microcode info: [drm] writeback test succeeded in 1 usecs Fatal trap 12: page fault while in kernel mode fault virtual address = 0xe946dd90 fault code = supervisor write, page not present instruction pointer = 0x20:0xc0873f26 stack pointer = 0x28:0xe700dc2c frame pointer = 0x28:0xe700dc54 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 = 1191 (sh) trap number = 12 panic: page fault Uptime: 8m7s Dumping 2047 MB (2 chunks) chunk 0: 1MB (159 pages) ... ok chunk 1: 2047MB (523985 pages) 2031 2015 1999 1983 1967 1951 1935 1919 1903 1887 1871 1855 1839 1823 1807 1791 1775 1759 1743 1727 1711 1695 1679 1663 1647 1631 1615 1599 1583 1567 1551 1535 1519 1503 1487 1471 1455 1439 1423 1407 1391 1375 1359 1343 1327 1311 1295 1279 1263 1247 1231 1215 1199 1183 1167 1151 1135 1119 1103 1087 1071 1055 1039 1023 1007 991 975 959 943 927 911 895 879 863 847 831 815 799 783 767 751 735 719 703 687 671 655 639 623 607 591 575 559 543 527 511 495 479 463 447 431 415 399 383 367 351 335 319 303 287 271 255 239 223 207 191 175 159 143 127 111 95 79 63 47 31 15 #0 doadump () at pcpu.h:165 165 __asm __volatile("movl %%fs:0,%0" : "=r" (td)); (kgdb) where #0 doadump () at pcpu.h:165 #1 0xc0666d7a in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409 #2 0xc0667010 in panic (fmt=0xc08cbc5d "%s") at /usr/src/sys/kern/kern_shutdown.c:565 #3 0xc0876264 in trap_fatal (frame=0xe700dbec, eva=3913735568) at /usr/src/sys/i386/i386/trap.c:836 #4 0xc0875fcb in trap_pfault (frame=0xe700dbec, usermode=0, eva=3913735568) at /usr/src/sys/i386/i386/trap.c:744 #5 0xc0875c09 in trap (frame= {tf_fs = -1026490360, tf_es = -1026490328, tf_ds = -1026490328, tf_edi = -381231728, tf_esi = -419373680, tf_ebp = -419373996, tf_isp = -419374056, tf_ebx = -381231728, tf_edx = -957628416, tf_ecx = 156, tf_eax = 38141952, tf_trapno = 12, tf_err = 2, tf_eip = -1064878298, tf_cs = 32, tf_eflags = 66054, tf_esp = -957632512, tf_ss = -963273728}) at /usr/src/sys/i386/i386/trap.c:434 #6 0xc08643ca in calltrap () at /usr/src/sys/i386/i386/exception.s:139 #7 0xc0873f26 in generic_bcopy () at /usr/src/sys/i386/i386/support.s:489 Previous frame inner to this frame (corrupt stack?) (kgdb) quit # ^D Script done on Sun Aug 6 15:24:59 2006 -- John Stalker University of Dublin, Trinity College School of Mathematics