From owner-freebsd-emulation@FreeBSD.ORG Mon Jul 16 15:46:39 2007 Return-Path: X-Original-To: emulation@freebsd.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CBC1D16A406; Mon, 16 Jul 2007 15:46:39 +0000 (UTC) (envelope-from yuri@darklight.org.ru) Received: from darklight.org.ru (darklight.org.ru [194.186.18.14]) by mx1.freebsd.org (Postfix) with ESMTP id 5440813C4A7; Mon, 16 Jul 2007 15:46:37 +0000 (UTC) (envelope-from yuri@darklight.org.ru) Received: from darklight.org.ru (yuri@darklight.org.ru [127.0.0.1]) by darklight.org.ru (8.14.1/8.14.1) with ESMTP id l6GFZEDJ001206 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 16 Jul 2007 19:35:20 +0400 (MSD) (envelope-from yuri@darklight.org.ru) Received: (from yuri@localhost) by darklight.org.ru (8.14.1/8.14.1/Submit) id l6GFZDfa001205; Mon, 16 Jul 2007 19:35:13 +0400 (MSD) (envelope-from yuri@darklight.org.ru) Date: Mon, 16 Jul 2007 19:35:13 +0400 From: Yuri Pankov To: Roman Divacky Message-ID: <20070716153513.GA1164@darklight.org.ru> References: <20070716151058.GA67901@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="a8Wt8u1KmwUX3Y2C" Content-Disposition: inline In-Reply-To: <20070716151058.GA67901@freebsd.org> User-Agent: Mutt/1.5.16 (2007-06-09) X-Greylist: Sender is SPF-compliant, not delayed by milter-greylist-3.0 (darklight.org.ru [127.0.0.1]); Mon, 16 Jul 2007 19:35:20 +0400 (MSD) Cc: emulation@freebsd.org Subject: Re: panic when using module built in modules directory X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jul 2007 15:46:39 -0000 --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--