Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jul 2007 19:35:13 +0400
From:      Yuri Pankov <yuri@darklight.org.ru>
To:        Roman Divacky <rdivacky@freebsd.org>
Cc:        emulation@freebsd.org
Subject:   Re: panic when using module built in modules directory
Message-ID:  <20070716153513.GA1164@darklight.org.ru>
In-Reply-To: <20070716151058.GA67901@freebsd.org>
References:  <20070716151058.GA67901@freebsd.org>

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

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

On Mon, Jul 16, 2007 at 05:10:58PM +0200, Roman Divacky wrote:
> hi
>=20
> can someone test whether
>=20
> buildkernel && cd /sys/modules/linux && make && make install
> kldload linux && chroot /compat/linux /bin/bash
>=20
> produces an instant panic? it does for me. ie. when the linux module
> is built with kernel its ok, but when I build it separately in
> sys/modules/linux it panic in turnstiles... it used to work so I'd
> love to know..
>=20
> thnx for testing
>=20
> roman
>=20

Confirmed. :-) CURRENT/amd64 built on Jul, 12.

Fatal trap 12: page fault while in kernel mode
cpuid =3D 0; apic id =3D 00
fault virtual address   =3D 0x408
fault code              =3D supervisor write data, page not present
instruction pointer     =3D 0x8:0xffffffffafe89414
stack pointer           =3D 0x10:0xffffffffaffdb680
frame pointer           =3D 0x10:0xffffffffaffdb6b0
code segment            =3D base 0x0, limit 0xfffff, type 0x1b
                        =3D DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags        =3D interrupt enabled, resume, IOPL =3D 0
current process         =3D 71888 (chroot)
trap number             =3D 12
panic: page fault
cpuid =3D 0
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2a
panic() at panic+0x17a
trap_fatal() at trap_fatal+0x29f
trap_pfault() at trap_pfault+0x294
trap() at trap+0x2ea
calltrap() at calltrap+0x8
--- trap 0xc, rip =3D 0xffffffffafe89414, rsp =3D 0xffffffffaffdb680, rbp =
=3D
0xffffffffaffdb6b0 ---
linux_proc_init() at linux_proc_init+0x124
linux_proc_exec() at linux_proc_exec+0x4a
exec_new_vmspace() at exec_new_vmspace+0x74
exec_elf32_imgact() at exec_elf32_imgact+0x1bd
kern_execve() at kern_execve+0x2fe
execve() at execve+0x3d
syscall() at syscall+0x254
Xfast_syscall() at Xfast_syscall+0xab
--- syscall (59, FreeBSD ELF64, execve), rip =3D 0x80069d06c, rsp =3D
0x7fffffffe5b8, rbp =3D 0x7fffffffeab0 ---
Uptime: 6h41m18s
Physical memory: 2035 MB
Dumping 354 MB: 339 323 307 291 275 259 243 227 211 195 179 163 147 131
115 99 83 67 51 35 19 3


Yuri

--a8Wt8u1KmwUX3Y2C
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQBGm5AteoAklVFrLdgRAlnRAJoCqKiSvvfWYVdRqnyIKGb+TNRNQQCfQ893
Ow7elRgbcWq/HIcWofitzYo=
=giv8
-----END PGP SIGNATURE-----

--a8Wt8u1KmwUX3Y2C--



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