Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Dec 2002 10:40:06 +0200
From:      Vallo Kallaste <vallo@estcard.ee>
To:        freebsd-current@freebsd.org
Subject:   Crash upon exit from X
Message-ID:  <20021209084006.GA707@myhakas.internal>

next in thread | raw e-mail | index | archive | help
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 <ithread_loop>, arg=0x0, 
---Type <return> to continue, or q <return> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021209084006.GA707>