From owner-freebsd-emulation@FreeBSD.ORG Tue May 8 13:28:24 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 DF13916A401 for ; Tue, 8 May 2007 13:28:24 +0000 (UTC) (envelope-from jhein@timing.com) Received: from Daffy.timing.com (w.timing.com [206.168.13.218]) by mx1.freebsd.org (Postfix) with ESMTP id 8B5C713C46C for ; Tue, 8 May 2007 13:28:24 +0000 (UTC) (envelope-from jhein@timing.com) Received: from gromit.timing.com (gromit.timing.com [206.168.13.209]) by Daffy.timing.com (8.13.1/8.13.1) with ESMTP id l48DSFcM028952; Tue, 8 May 2007 07:28:15 -0600 (MDT) (envelope-from jhein@timing.com) Received: from gromit.timing.com (localhost [127.0.0.1]) by gromit.timing.com (8.13.8/8.13.8) with ESMTP id l48DSCkH043875; Tue, 8 May 2007 07:28:12 -0600 (MDT) (envelope-from jhein@gromit.timing.com) Received: (from jhein@localhost) by gromit.timing.com (8.13.8/8.13.8/Submit) id l48DSCDJ043872; Tue, 8 May 2007 07:28:12 -0600 (MDT) (envelope-from jhein) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17984.31467.919324.655183@gromit.timing.com> Date: Tue, 8 May 2007 07:28:11 -0600 From: John E Hein To: "Wilkinson, Alex" In-Reply-To: <20070508024404.GE7353@obelix.dsto.defence.gov.au> References: <20070504035455.GA19928@obelix.dsto.defence.gov.au> <20070506132617.GF36879@obelix.dsto.defence.gov.au> <17981.62139.156155.588677@gromit.timing.com> <20070507073010.GG3240@obelix.dsto.defence.gov.au> <20070507095959.lqa9n27yso8cwo4s@webmail.leidinger.net> <20070507080332.GI3240@obelix.dsto.defence.gov.au> <17983.13326.774561.259231@gromit.timing.com> <20070508024404.GE7353@obelix.dsto.defence.gov.au> X-Mailer: VM 7.19 under Emacs 22.0.99.1 X-Virus-Scanned: ClamAV version 0.90, clamav-milter version devel-120207 on Daffy.timing.com X-Virus-Status: Clean X-Spam-Status: No, score=-1.0 required=5.0 tests=AWL,BAYES_00, DK_POLICY_SIGNSOME,J_CHICKENPOX_52 autolearn=disabled version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on Daffy.timing.com Cc: emulation@freebsd.org Subject: Re: sec:uRe: sec:uRe: sec:uRe: [net/citrix_ica/] /usr/local/bin/wfcmgr ... hangs upon exec(). 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: Tue, 08 May 2007 13:28:25 -0000 Wilkinson, Alex wrote at 10:44 +0800 on May 8, 2007: > 0n Mon, May 07, 2007 at 08:13:34AM -0600, John E Hein wrote: > > >If you have DEBUG defined when you build linux.ko, then kldload _that_ > >linux.ko, you should immediately be able to see compat.linux.debug in > >the output of sysctl -a. > > > >How about this: > >strings linux.ko | grep Linux.debugging.control > >(make sure this is the linux.ko that you think you are kldload'ing) > > #ls /boot/kernel/*linux* > /boot/kernel/3dfx_linux.ko* /boot/kernel/amr_linux.ko.symbols* > /boot/kernel/3dfx_linux.ko.symbols* /boot/kernel/linux.ko* > /boot/kernel/aac_linux.ko* /boot/kernel/linux.ko.symbols* > /boot/kernel/aac_linux.ko.symbols* /boot/kernel/mfi_linux.ko* > /boot/kernel/amr_linux.ko* /boot/kernel/mfi_linux.ko.symbols* > > #strings /boot/kernel/*linux* | grep Linux.debugging.control > # > > Well I definitely built a new kernel with debugging added to: > /usr/src/sys/modules/linux/Makefile. All this tells me that the linux.ko that is installed in /boot/kernel was not built with -DDEBUG Look at the bottom of linux_mib.c - you should have "Linux debugging control" in linux.ko if built with -DDEBUG. So you either built linux.ko incorrectly or installed it incorrectly (or failed to install it). If you have any further questions about the build/install process, you may want to try freebsd-questions.