Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Jul 2003 20:03:28 -0400
From:      Mike Makonnen <mtm@identd.net>
To:        freebsd-current@FreeBSD.Org
Subject:   XFree86 kernel panic
Message-ID:  <20030706000328.GA1139@kokeb.ambesa.net>

next in thread | raw e-mail | index | archive | help

--rwEMma7ioTxnRzrJ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi guys,

Attached is a gdb trace of a panic on a -current system from a few
days ago. It seems like it was caused by a select(2) in XFree86.
Although I was testing some unrelated changes in libthr kernel code,
I have seen this panic before (about 2 weeks ago) on a stock
kernel.

FreeBSD kokeb.ambesa.net 5.1-CURRENT FreeBSD 5.1-CURRENT #12:
Sat Jul  5 02:00:40 EDT 2003     mtm@kokeb.ambesa.net:/a/current/obj/a/current/src/sys/THRTEST  i386

Cheers.
-- 
Mike Makonnen  | GPG-KEY: http://www.identd.net/~mtm/mtm.asc
mtm@identd.net | D228 1A6F C64E 120A A1C9  A3AA DAE1 E2AF DBCC 68B9
mtm@FreeBSD.Org| FreeBSD - The Power To Serve

--rwEMma7ioTxnRzrJ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=panic
Content-Transfer-Encoding: quoted-printable

Script started on Sat Jul  5 19:43:02 2003
Jul/05 mtm@kokeb ~% sudo gdb -k /a/current/obj/a/current/src/sys/THRTEST/ke=
rnel.debug /var/crash/vmcore.9
Password:
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 condition=
s.
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: page fault
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address	=3D 0x818181b1
fault code		=3D supervisor read, page not present
instruction pointer	=3D 0x8:0xc026a3e2
stack pointer	        =3D 0x10:0xd2657b08
frame pointer	        =3D 0x10:0xd2657b1c
code segment		=3D base 0x0, limit 0xfffff, type 0x1b
			=3D DPL 0, pres 1, def32 1, gran 1
processor eflags	=3D interrupt enabled, resume, IOPL =3D 3
current process		=3D 735 (XFree86)
trap number		=3D 12
panic: page fault

syncing disks, buffers remaining... 2223 2223 2222 2221 2221 2219 2219 2219=
 2219 2219 2219 2219 2219 2219 2219 2219 2219 2219 2219 2219 2219 2219 2219=
 2219 2219=20
giving up on 154 buffers
Uptime: 16h51m12s
Dumping 255 MB
ata0: resetting devices ..
done
 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240
---
Reading symbols from /boot/kernel/snd_pcm.ko...done.
Loaded symbols for /boot/kernel/snd_pcm.ko
Reading symbols from /boot/kernel/snd_via82c686.ko...done.
Loaded symbols for /boot/kernel/snd_via82c686.ko
Reading symbols from /boot/kernel/acpi.ko...done.
Loaded symbols for /boot/kernel/acpi.ko
Reading symbols from /boot/kernel/netgraph.ko...done.
Loaded symbols for /boot/kernel/netgraph.ko
Reading symbols from /boot/kernel/ng_ether.ko...done.
Loaded symbols for /boot/kernel/ng_ether.ko
Reading symbols from /boot/kernel/ng_pppoe.ko...done.
Loaded symbols for /boot/kernel/ng_pppoe.ko
Reading symbols from /boot/kernel/ng_socket.ko...done.
Loaded symbols for /boot/kernel/ng_socket.ko
Reading symbols from /boot/kernel/if_tun.ko...done.
Loaded symbols for /boot/kernel/if_tun.ko
#0  doadump () at /a/current/src/sys/kern/kern_shutdown.c:240
240		dumping++;
(kgdb) bt
#0  doadump () at /a/current/src/sys/kern/kern_shutdown.c:240
#1  0xc023f1fd in boot (howto=3D256)
    at /a/current/src/sys/kern/kern_shutdown.c:372
#2  0xc023f578 in panic () at /a/current/src/sys/kern/kern_shutdown.c:550
#3  0xc03d42a0 in trap_fatal (frame=3D0xd2657ac8, eva=3D0)
    at /a/current/src/sys/i386/i386/trap.c:836
#4  0xc03d3fb3 in trap_pfault (frame=3D0xd2657ac8, usermode=3D0, eva=3D2172=
748209)
    at /a/current/src/sys/i386/i386/trap.c:750
#5  0xc03d3b98 in trap (frame=3D
      {tf_fs =3D 24, tf_es =3D 16, tf_ds =3D 16, tf_edi =3D 3, tf_esi =3D 3=
6, tf_ebp =3D -765101284, tf_isp =3D -765101324, tf_ebx =3D -1032921444, tf=
_edx =3D -1032921444, tf_ecx =3D -1028802816, tf_eax =3D -2122219135, tf_tr=
apno =3D 12, tf_err =3D 0, tf_eip =3D -1071209502, tf_cs =3D 8, tf_eflags =
=3D 78466, tf_esp =3D -1032945408, tf_ss =3D 64})
    at /a/current/src/sys/i386/i386/trap.c:435
#6  0xc03c56c8 in calltrap () at {standard input}:96
#7  0xc02654cf in selscan (td=3D0xc28bbd10, ibits=3D0xd2657b9c, obits=3D0xd=
2657b8c,=20
    nfd=3D50) at file.h:272
#8  0xc0264f8d in kern_select (td=3D0xc28bbd10, nd=3D50, fd_in=3D0x81fba20,=
=20
    fd_ou=3D0x0, fd_ex=3D0x0, tvp=3D0xd2657cd8)
    at /a/current/src/sys/kern/sys_generic.c:822
#9  0xc0264b56 in select (td=3D0x0, uap=3D0xd2657d14)
    at /a/current/src/sys/kern/sys_generic.c:726
#10 0xc03d459a in syscall (frame=3D
      {tf_fs =3D 47, tf_es =3D 47, tf_ds =3D 47, tf_edi =3D -1, tf_esi =3D =
7482434, tf_ebp =3D -1077937896, tf_isp =3D -765100684, tf_ebx =3D 0, tf_ed=
x =3D 16, tf_ecx =3D 143876576, tf_eax =3D 93, tf_trapno =3D 0, tf_err =3D =
2, tf_eip =3D 673590515, tf_cs =3D 31, tf_eflags =3D 12870, tf_esp =3D -107=
7938516, tf_ss =3D 47})
    at /a/current/src/sys/i386/i386/trap.c:1023
#11 0xc03c571d in Xint0x80_syscall () at {standard input}:138
---Can't read userspace from dump, or kernel process---

(kgdb) qqui=08 =08=08 =08=08 =08uit=08 =08t
=1B]2;mtm (ttyp2) kokeb:~=07=1B]1;mtm@kokeb:~=07Jul/05 mtm@kokeb ~% ^D=08=
=08exit

Script done on Sat Jul  5 19:44:17 2003

--rwEMma7ioTxnRzrJ--



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