From owner-freebsd-emulation@FreeBSD.ORG Mon Jul 16 16:21:56 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 DFBAB16A405; Mon, 16 Jul 2007 16:21:56 +0000 (UTC) (envelope-from dfr@rabson.org) Received: from mail.qubesoft.com (gate.qubesoft.com [217.169.36.34]) by mx1.freebsd.org (Postfix) with ESMTP id 8276913C4B8; Mon, 16 Jul 2007 16:21:56 +0000 (UTC) (envelope-from dfr@rabson.org) Received: from [10.201.19.245] (doug02.dyn.qubesoft.com [10.201.19.245]) by mail.qubesoft.com (8.13.3/8.13.3) with ESMTP id l6GFmtMY067885; Mon, 16 Jul 2007 16:48:59 +0100 (BST) (envelope-from dfr@rabson.org) In-Reply-To: <20070716151058.GA67901@freebsd.org> References: <20070716151058.GA67901@freebsd.org> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <5E9114D6-1235-4D6B-81ED-EE4228DE104E@rabson.org> Content-Transfer-Encoding: 7bit From: Doug Rabson Date: Mon, 16 Jul 2007 16:48:54 +0100 To: Roman Divacky X-Mailer: Apple Mail (2.752.2) X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.0.4 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.qubesoft.com X-Virus-Scanned: ClamAV 0.86.2/3681/Mon Jul 16 14:16:18 2007 on mail.qubesoft.com X-Virus-Status: Clean 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 16:21:57 -0000 On 16 Jul 2007, at 16:10, Roman Divacky wrote: > hi > > can someone test whether > > buildkernel && cd /sys/modules/linux && make && make install > kldload linux && chroot /compat/linux /bin/bash > > 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.. > > thnx for testing A similar thing popped up with the qemu kernel modile. The regular kernel build defines KSE which changes the layout of struct proc. Is the standalone module build defining this?