Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Jan 2003 21:22:07 +0100
From:      Morten Rodal <morten@rodal.no>
To:        current@FreeBSD.ORG
Subject:   panic in fork() on SMP 5.0-RELEASE
Message-ID:  <20030125202206.GA590@slurp.rodal.no>

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

--24zk1gE8NUlDmwG9
Content-Type: multipart/mixed; boundary="h31gzZEtNLTqOjlF"
Content-Disposition: inline


--h31gzZEtNLTqOjlF
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Is this a known panic?  I tried to search the mailinglist archives to
see if somebody had posted something similar, but I couldn't find
anything.

The system is running 5.0-RELEASE with a pretty standard kernel (just
removed all the drivers I don't use and added SMP support).  I think
the load of the system might have been high at the moment as I had
just started


  cd /usr/ports && make -j8 clean

before I went to eat dinner.  When I came back a few hours later it at
rebooted, with this panic.

I have attached the backtrace of this (dual?) panic.  I have never
poked in the kernel source code before, so if there is anything else
you need to know just ask and I'll see what I can do.


--=20
Morten Rodal


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

Script started on Sat Jan 25 21:17:42 2003
slurp# gdb -k kernel.0 vmcore.0=0D=0D
GNU gdb 5.2.1 (FreeBSD)=0D
Copyright 2002 Free Software Foundation, Inc.=0D
GDB is free software, covered by the GNU General Public License, and you ar=
e=0D
welcome to change it and/or distribute copies of it under certain condition=
s.=0D
Type "show copying" to see the conditions.=0D
There is absolutely no warranty for GDB.  Type "show warranty" for details.=
=0D
This GDB was configured as "i386-undermydesk-freebsd"...=0D
panic: bwrite: buffer is not busy???=0D
panic messages:=0D
---=0D
Fatal trap 12: page fault while in kernel mode=0D
cpuid =3D 0; lapic.id =3D 01000000=0D
fault virtual address	=3D 0x14=0D
fault code		=3D supervisor read, page not present=0D
instruction pointer	=3D 0x8:0xc01bdb48=0D
stack pointer	        =3D 0x10:0xe3ac4c04=0D
frame pointer	        =3D 0x10:0xe3ac4cac=0D
code segment		=3D base 0x0, limit 0xfffff, type 0x1b=0D
			=3D DPL 0, pres 1, def32 1, gran 1=0D
processor eflags	=3D interrupt enabled, resume, IOPL =3D 0=0D
current process		=3D 580 (sh)=0D
trap number		=3D 12=0D
panic: page fault=0D
cpuid =3D 0; lapic.id =3D 01000000=0D
boot() called on cpu#0=0D
=0D
syncing disks, buffers remaining... panic: bwrite: buffer is not busy???=0D
cpuid =3D 0; lapic.id =3D 01000000=0D
boot() called on cpu#0=0D
Uptime: 5d18h59m34s=0D
Dumping 447 MB=0D
 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=0D
---=0D
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:232=0D
232		dumping++;=0D
(kgdb) bt=0D
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:232=0D
#1  0xc01d4bea in boot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c:3=
64=0D
#2  0xc01d4ea7 in panic () at /usr/src/sys/kern/kern_shutdown.c:517=0D
#3  0xc021a852 in bwrite (bp=3D0xcca8c150) at /usr/src/sys/kern/vfs_bio.c:7=
96=0D
#4  0xc021bf46 in vfs_bio_awrite (bp=3D0xcca8c150) at /usr/src/sys/kern/vfs=
_bio.c:1643=0D
#5  0xc019e203 in spec_fsync (ap=3D0xe3ac49f4) at /usr/src/sys/fs/specfs/sp=
ec_vnops.c:462=0D
#6  0xc019d558 in spec_vnoperate (ap=3D0x0) at /usr/src/sys/fs/specfs/spec_=
vnops.c:126=0D
#7  0xc02a9c62 in ffs_sync (mp=3D0xc3a37000, waitfor=3D2, cred=3D0xc1376e80=
, td=3D0xc035e900) at vnode_if.h:612=0D
#8  0xc022fb9b in sync (td=3D0xc035e900, uap=3D0x0) at /usr/src/sys/kern/vf=
s_syscalls.c:138=0D
#9  0xc01d47cb in boot (howto=3D256) at /usr/src/sys/kern/kern_shutdown.c:2=
73=0D
#10 0xc01d4ea7 in panic () at /usr/src/sys/kern/kern_shutdown.c:517=0D
#11 0xc030b662 in trap_fatal (frame=3D0xe3ac4bc4, eva=3D0) at /usr/src/sys/=
i386/i386/trap.c:844=0D
#12 0xc030b312 in trap_pfault (frame=3D0xe3ac4bc4, usermode=3D0, eva=3D20) =
at /usr/src/sys/i386/i386/trap.c:758=0D
#13 0xc030ae02 in trap (frame=3D=0D
      {tf_fs =3D -475267048, tf_es =3D -1070792688, tf_ds =3D -988741616, t=
f_edi =3D -1070209248, tf_esi =3D -988528640, tf_ebp =3D -475247444, tf_isp=
 =3D -475247632, tf_ebx =3D 582, tf_edx =3D -989019040, tf_ecx =3D -9885286=
40, tf_eax =3D 0, tf_trapno =3D 12, tf_err =3D 0, tf_eip =3D -1071916216, t=
f_cs =3D 8, tf_eflags =3D 66195, tf_esp =3D -1053458112, tf_ss =3D 1})=0D
    at /usr/src/sys/i386/i386/trap.c:445=0D
#14 0xc02f3918 in calltrap () at {standard input}:99=0D
#15 0xc01bd2f0 in fork (td=3D0xc5144000, uap=3D0xe3ac4d10) at /usr/src/sys/=
kern/kern_fork.c:124=0D
#16 0xc030b9bc in syscall (frame=3D=0D
      {tf_fs =3D 47, tf_es =3D 47, tf_ds =3D 47, tf_edi =3D -1, tf_esi =3D =
135258112, tf_ebp =3D -1077938280, tf_isp =3D -475247244, tf_ebx =3D 135236=
344, tf_edx =3D 135236332, tf_ecx =3D -1077938240, tf_eax =3D 2, tf_trapno =
=3D 12, tf_err =3D 2, tf_eip =3D 134723859, tf_cs =3D 31, tf_eflags =3D 514=
, tf_esp =3D -1077938324, tf_ss =3D 47}) at /usr/src/sys/i386/i386/trap.c:1=
033=0D
#17 0xc02f396d in Xint0x80_syscall () at {standard input}:141=0D
---Can't read userspace from dump, or kernel process---=0D
=0D
(kgdb) slurp# ^D=08=08exit=0D

Script done on Sat Jan 25 21:18:04 2003

--h31gzZEtNLTqOjlF--

--24zk1gE8NUlDmwG9
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+MvHubWe1Cy11WVsRAuraAJ0YqwJaW5mGpwCSJVgEmLLdjAyARQCdGZwU
dbSwoSv2UdAwbVLUeiDssRA=
=p1sU
-----END PGP SIGNATURE-----

--24zk1gE8NUlDmwG9--

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?20030125202206.GA590>