Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Jun 2007 21:10:00 +0300
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Kazuaki ODA <kazuaki@aliceblue.jp>
Cc:        freebsd-current@freebsd.org
Subject:   Re: kernel panic on today's CURRENT when running sysctl -a
Message-ID:  <20070630181000.GH2268@deviant.kiev.zoral.com.ua>
In-Reply-To: <46867E0C.50902@aliceblue.jp>
References:  <46867E0C.50902@aliceblue.jp>

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

--7u5w4K+D0TbLVKvk
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Jul 01, 2007 at 01:00:12AM +0900, Kazuaki ODA wrote:
> Hi, I got the following panic on 7.0-CURRENT cvsup'ed today when running
> sysctl -a:
>=20
>=20
> Fatal trap 12: page fault while in kernel mode
> cpuid =3D 1; apic id =3D 01
> fault virtual address   =3D 0xc0
> fault code              =3D supervisor read, page not present
> instruction pointer     =3D 0x20:0xc06e2d11
> stack pointer           =3D 0x28:0xe669aaa4
> frame pointer           =3D 0x28:0xe669aaa4
> 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 0
> current process         =3D 2200 (sysctl)
> trap number             =3D 12
> panic: page fault
> cpuid =3D 1
> Uptime: 3h8m20s
> Physical memory: 1001 MB
> Dumping 139 MB: 124 108 92 76 60 44 28 12
>=20
> #0  doadump () at pcpu.h:195
> 195             __asm __volatile("movl %%fs:0,%0" : "=3Dr" (td));
> (kgdb) bt
> #0  doadump () at pcpu.h:195
> #1  0xc074b957 in boot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c=
:409
> #2  0xc074bc19 in panic (fmt=3DVariable "fmt" is not available.
> ) at /usr/src/sys/kern/kern_shutdown.c:563
> #3  0xc0a04ade in trap_fatal (frame=3D0xe669aa64, eva=3D192)
>     at /usr/src/sys/i386/i386/trap.c:870
> #4  0xc0a04d60 in trap_pfault (frame=3D0xe669aa64, usermode=3D0, eva=3D19=
2)
>     at /usr/src/sys/i386/i386/trap.c:784
> #5  0xc0a056c2 in trap (frame=3D0xe669aa64) at
> /usr/src/sys/i386/i386/trap.c:462
> #6  0xc09eb66b in calltrap () at /usr/src/sys/i386/i386/exception.s:139
> #7  0xc06e2d11 in dev2udev (x=3D0xc40b1c00)
>     at /usr/src/sys/fs/devfs/devfs_vnops.c:1308
> #8  0xc078c9d2 in sysctl_kern_ttys (oidp=3D0xc0b390e0, arg1=3D0x0, arg2=
=3D0,
>     req=3D0xe669aba4) at /usr/src/sys/kern/tty.c:3069#9  0xc07550f7 in
> sysctl_root (oidp=3DVariable "oidp" is not available.
> ) at /usr/src/sys/kern/kern_sysctl.c:1306
> #10 0xc0755244 in userland_sysctl (td=3D0xc4395440, name=3D0xe669ac14,
> namelen=3D2,
>     old=3D0x0, oldlenp=3D0xbfbfe0f4, inkernel=3D0, new=3D0x0, newlen=3D0,
>     retval=3D0xe669ac10, flags=3D0) at /usr/src/sys/kern/kern_sysctl.c:14=
01
> #11 0xc0755fde in __sysctl (td=3D0xc4395440, uap=3D0xe669acfc)
>     at /usr/src/sys/kern/kern_sysctl.c:1336
> #12 0xc0a050b5 in syscall (frame=3D0xe669ad38)
>     at /usr/src/sys/i386/i386/trap.c:1006
> #13 0xc09eb6d0 in Xint0x80_syscall () at
> /usr/src/sys/i386/i386/exception.s:196
> #14 0x00000033 in ?? ()
> Previous frame inner to this frame (corrupt stack?)
> (kgdb) frame 7
> #7  0xc06e2d11 in dev2udev (x=3D0xc40b1c00)
>     at /usr/src/sys/fs/devfs/devfs_vnops.c:1308
> 1308            return (x->si_priv->cdp_inode);
> (kgdb) p x
> $1 =3D (struct cdev *) 0xc40b1c00
> (kgdb) p x->si_priv
> $2 =3D (struct cdev_priv *) 0x0
>=20
>=20
> I can give you more information if required since I have the kernel core
> dump file.
I assume this happens with sysctl kern.pts.enable=3D0 ?

--7u5w4K+D0TbLVKvk
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFGhpx4C3+MBN1Mb4gRAgLAAKCM6E/VlqrIL53bZK74W1ydHv8AxwCfQw22
zVucHSch1QlVpitqcP1nr9s=
=ijuD
-----END PGP SIGNATURE-----

--7u5w4K+D0TbLVKvk--



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