From owner-freebsd-current Mon Dec 9 0:40:32 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5DE7C37B401 for ; Mon, 9 Dec 2002 00:40:29 -0800 (PST) Received: from smtp.estcard.ee (smtp.estcard.ee [194.204.11.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC3E343EB2 for ; Mon, 9 Dec 2002 00:40:23 -0800 (PST) (envelope-from vallo@estcard.ee) Received: from myhakas.internal (myhakas.internal [192.168.10.128]) by smtp.estcard.ee (8.9.3/8.9.3) with ESMTP id KAA92361 for ; Mon, 9 Dec 2002 10:40:12 +0200 (EET) (envelope-from vallo@estcard.ee) Received: from myhakas.internal (localhost [127.0.0.1]) by myhakas.internal (8.12.6/8.12.6) with ESMTP id gB98e76b000761 for ; Mon, 9 Dec 2002 10:40:07 +0200 (EET) (envelope-from vallo@myhakas.internal) Received: (from vallo@localhost) by myhakas.internal (8.12.6/8.12.6/Submit) id gB98e6Uw000760 for freebsd-current@freebsd.org; Mon, 9 Dec 2002 10:40:06 +0200 (EET) Date: Mon, 9 Dec 2002 10:40:06 +0200 From: Vallo Kallaste To: freebsd-current@freebsd.org Subject: Crash upon exit from X Message-ID: <20021209084006.GA707@myhakas.internal> Reply-To: kalts@estpak.ee Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.1i-ja.1 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi This is at least third crash I've had in the last months. It's related to exiting from X, after switching back to text console, there's usual message "waiting for X server to shut down" or somesuch and then crash follows. Sources and kernel are from Dec 5 08:19 GMT. All ports are very recently rebuilt, including XFree86-4. Script started on Mon Dec 9 10:25:27 2002 bash-2.05b# gdb -k /usr/src/sys/i386/compile/Myhakas-5.0-SMP/kernel.debug /usr/ crash/vmcore.3 GNU gdb 5.2.1 (FreeBSD) Copyright 2002 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-undermydesk-freebsd"... panic: bwrite: buffer is not busy??? panic messages: --- Fatal trap 12: page fault while in kernel mode cpuid = 1; lapic.id = 01000000 fault virtual address = 0x0 fault code = supervisor read, page not present instruction pointer = 0x8:0xc02424e8 stack pointer = 0x10:0xd68b6c20 frame pointer = 0x10:0xd68b6c58 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 = 13 (swi6: tty:sio clock) trap number = 12 panic: page fault cpuid = 1; lapic.id = 01000000 boot() called on cpu#1 syncing disks, buffers remaining... panic: bwrite: buffer is not busy??? cpuid = 1; lapic.id = 01000000 boot() called on cpu#1 Uptime: 2d19h32m5s Dumping 511 MB [CTRL-C to abort] [CTRL-C to abort] 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 256 272 288 304 320 336 352 368 384 400 416 432 448 464 480 496 --- #0 doadump () at ../../../kern/kern_shutdown.c:232 232 dumping++; (kgdb) where #0 doadump () at ../../../kern/kern_shutdown.c:232 #1 0xc023f4da in boot (howto=260) at ../../../kern/kern_shutdown.c:364 #2 0xc023f797 in panic () at ../../../kern/kern_shutdown.c:517 #3 0xc0289562 in bwrite (bp=0xce598490) at ../../../kern/vfs_bio.c:796 #4 0xc0289c19 in bawrite (bp=0x0) at ../../../kern/vfs_bio.c:1085 #5 0xc03506af in ffs_fsync (ap=0xd68b6a20) at ../../../ufs/ffs/ffs_vnops.c:236 #6 0xc034f8f9 in ffs_sync (mp=0xc41b1e00, waitfor=2, cred=0xc1514e80, td=0xc0440140) at vnode_if.h:612 #7 0xc029e80b in sync (td=0xc0440140, uap=0x0) at ../../../kern/vfs_syscalls.c:138 #8 0xc023f0bb in boot (howto=256) at ../../../kern/kern_shutdown.c:273 #9 0xc023f797 in panic () at ../../../kern/kern_shutdown.c:517 #10 0xc03befb2 in trap_fatal (frame=0xd68b6be0, eva=0) at ../../../i386/i386/trap.c:844 #11 0xc03bec62 in trap_pfault (frame=0xd68b6be0, usermode=0, eva=0) at ../../../i386/i386/trap.c:758 #12 0xc03be752 in trap (frame= {tf_fs = -1071579112, tf_es = -1003159536, tf_ds = -695533552, tf_edi = -1000705576, tf_esi = 1, tf_ebp = -695505832, tf_isp = -695505908, tf_ebx = 0, tf_edx = 0, tf_ecx = 8192, tf_eax = 8192, tf_trapno = 12, tf_err = 0, tf_eip = -1071373080, tf_cs = 8, tf_eflags = 66054, tf_esp = -1000705332, tf_ss = 134217742}) at ../../../i386/i386/trap.c:445 #13 0xc03a7398 in calltrap () at {standard input}:99 #14 0xc024df7c in realitexpire (arg=0xc45a71d8) at ../../../kern/kern_time.c:544 #15 0xc024e5d5 in softclock (dummy=0x0) at ../../../kern/kern_timeout.c:195 #16 0xc022ca74 in ithread_loop (arg=0xc1516600) at ../../../kern/kern_intr.c:535 #17 0xc022b934 in fork_exit (callout=0xc022c8a0 , arg=0x0, ---Type to continue, or q to quit--- frame=0x0) at ../../../kern/kern_fork.c:866 (kgdb) quit bash-2.05b# exit exit Script done on Mon Dec 9 10:25:49 2002 -- Vallo Kallaste kalts@estpak.ee To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message