Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Nov 2003 06:04:10 +0100
From:      Harald Schmalzbauer <h@schmalzbauer.de>
To:        Robert Watson <rwatson@freebsd.org>
Cc:        current@freebsd.org
Subject:   Re: kernel panic with todays source
Message-ID:  <200311160604.14632@harrymail>
In-Reply-To: <200311160549.14917@harrymail>
References:  <Pine.NEB.3.96L.1031115233217.25438Z-100000@fledge.watson.org> <200311160549.14917@harrymail>

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

--Boundary-02=_OVwt/2B/x3pBBfn
Content-Type: text/plain;
  charset="iso-8859-15"
Content-Transfer-Encoding: quoted-printable
Content-Description: signed data
Content-Disposition: inline

On Sunday 16 November 2003 05:49, Harald Schmalzbauer wrote:
> On Sunday 16 November 2003 05:34, Robert Watson wrote:
> > On Sun, 16 Nov 2003, Harald Schmalzbauer wrote:
> > > Fatal trap 12   :page fault while in kernel mode
> > > fault virtual address   =3D0x24
> > > fault code              =3Dsupervisor read, page not present
> > > instruction pointer     =3D0x8:0xc056c706
> > > stack pointer           =3D0x10:0xcdca4ca4
> > > frame pointer           =3D0x10:0xcdca4ca4
> > > code segment            =3Dbase 0x0, limit 0xfffff, type 0x1b
> > >                         =3DDPL 0, pres 1, def32 1, gran 1
> > > processor eflags        =3Dresume, IOPL=3D0
> > > current process         =3D11 (idle)
> > > trap number             =3D12
> > > panic: page fault
> > >
> > > I do have compiled the kernel with makeoptions debug but I don't have=
 a
> > > serial terminal nor firewire.
> >
> > Could you show the output from running the following command in "gdb -k
> > kernel.debug":
> >
> >   l *0xc056c706

Sorry, forgot to mention that I answered this in Craig Rodrigues mail. But=
=20
while I'm here:

(kgdb) l *0xc056c706
0xc056c706 is in vsscanf (/usr/src/sys/kern/subr_scanf.c:224).
219
220                     case '[':
221                             fmt =3D __sccl(ccltab, fmt);
222                             flags |=3D NOSKIP;
223                             c =3D CT_CCL;
224                             break;
225
226                     case 'c':
227                             flags |=3D NOSKIP;
228                             c =3D CT_CHAR;

Thanks,

=2DHarry

> >
> > This will tell us where in the kernel the instruction pointer in questi=
on
> > was.  For whatever reason, your kernel panic doesn't seem to have dropp=
ed
> > you into DDB (at least, the output looks that way).  If you did get into
> > ddb, the results of the "trace" command would be very helpful.  As you
> > have no serial console, it's probably sufficient to just transcript the
>
> I think for this I need to set "options DDB" in my kernel, don't I? But
> without serial terminal this is pretty useless I think.
> But I'll do if you can get needed information which was otherwise not
> accessable.
>
> Thanks,
>
> -Harry
>
> > offsets at the end of each line in the trace (functioname+0xOFFSET)
> > without the argument entries.
> >
> > Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
> > robert@fledge.watson.org      Network Associates Laboratories

--Boundary-02=_OVwt/2B/x3pBBfn
Content-Type: application/pgp-signature
Content-Description: signature

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

iD8DBQA/twVOBylq0S4AzzwRAuhOAJ0TdoTKEnoCZLRLDsL+jHkDrksngwCdGOOh
O/c+6mfUAai3S4Knd5nNv9k=
=I81N
-----END PGP SIGNATURE-----

--Boundary-02=_OVwt/2B/x3pBBfn--



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