From owner-freebsd-emulation@FreeBSD.ORG Wed May 16 02:49:52 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 9E37B16A400 for ; Wed, 16 May 2007 02:49:52 +0000 (UTC) (envelope-from wilkinsa@obelix.dsto.defence.gov.au) Received: from digger1.defence.gov.au (digger1.defence.gov.au [203.5.217.4]) by mx1.freebsd.org (Postfix) with ESMTP id 4128A13C45B for ; Wed, 16 May 2007 02:49:52 +0000 (UTC) (envelope-from wilkinsa@obelix.dsto.defence.gov.au) Received: from ednmsw510.dsto.defence.gov.au (ednmsw510.dsto.defence.gov.au [131.185.68.11]) by digger1.defence.gov.au (8.13.8/8.13.8) with ESMTP id l4G2eItv005176 for ; Wed, 16 May 2007 12:10:18 +0930 (CST) Received: from ednex510.dsto.defence.gov.au (ednex510.dsto.defence.gov.au) by ednmsw510.dsto.defence.gov.au (Clearswift SMTPRS 5.2.5) with ESMTP id for ; Wed, 16 May 2007 12:19:45 +0930 Received: from obelix.dsto.defence.gov.au ([203.6.60.208]) by ednex510.dsto.defence.gov.au with Microsoft SMTPSVC(6.0.3790.1830); Wed, 16 May 2007 12:19:44 +0930 Received: from obelix.dsto.defence.gov.au (localhost [127.0.0.1]) by obelix.dsto.defence.gov.au (8.13.8/8.13.8) with ESMTP id l4G2nfoJ003996 for ; Wed, 16 May 2007 10:49:42 +0800 (WST) (envelope-from wilkinsa@obelix.dsto.defence.gov.au) Received: (from wilkinsa@localhost) by obelix.dsto.defence.gov.au (8.13.8/8.13.8/Submit) id l4G2neUA003995 for emulation@freebsd.org; Wed, 16 May 2007 10:49:40 +0800 (WST) (envelope-from wilkinsa) Date: Wed, 16 May 2007 10:49:39 +0800 From: "Wilkinson, Alex" To: emulation@freebsd.org Message-ID: <20070516024939.GA3773@obelix.dsto.defence.gov.au> Mail-Followup-To: emulation@freebsd.org References: <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> <17984.31467.919324.655183@gromit.timing.com> <20070515071955.GB57845@obelix.dsto.defence.gov.au> <17993.63236.294996.548983@gromit.timing.com> <20070515180949.GA29908@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20070515180949.GA29908@freebsd.org> User-Agent: Mutt/1.5.15 (2007-04-06) X-OriginalArrivalTime: 16 May 2007 02:49:45.0735 (UTC) FILETIME=[DCA01170:01C79764] X-TM-AS-Product-Ver: SMEX-7.0.0.1526-3.6.1039-15178.000 X-TM-AS-Result: No--3.095700-8.000000-31 Content-Transfer-Encoding: 7bit Cc: Subject: Re: Re:Re: Re: Re: [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: Wed, 16 May 2007 02:49:52 -0000 0n Tue, May 15, 2007 at 08:09:49PM +0200, Roman Divacky wrote: >> > #pwd >> > /usr/src/sys/modules/linux >> > #grep DEBUG Makefile >> > CFLAGS+=-DCOMPAT_IA32 -DCOMPAT_LINUX32 -DDEBUG=1 >> > #make >> > cc -c -O2 -pipe -march=pentium4 -fno-strict-aliasing -Werror -D_KERNEL >> > -DKLD_MODULE -std=c99 -nostdinc -I- -I. -I@ -I@/contrib/altq -finline-limit=8000 >> > --param inline-unit-growth=100 --param large-function-growth=1000 >> > -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow >> > -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls >> > -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith >> > -Winline -Wcast-qual -Wundef -fformat-extensions >> > /usr/src/sys/modules/linux/../../i386/linux/linux_genassym.c > >btw.. I just realized that he's probably editing wrong CFLAGS :) >he's editingh amd64 one but he's on i386 You're right ! /me <- dumb fool ! I was adding the debug flags to the conditional statement: .if ${MACHINE_ARCH} == "amd64" Adding the DEBUG flags to the correct if statement I now see: #pwd /usr/src/sys/modules/linux #strings linux.ko | grep -i "linux debug" Linux debugging control # I am now seeing debugging output for linux.ko. As soon as wfcmgr(1) hangs on "ptsopn" again I will post the output. And thanks for your patience people. My stupidy in adding the DEBUG flags to the wrong statement :( -aW IMPORTANT: This email remains the property of the Australian Defence Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT 1914. If you have received this email in error, you are requested to contact the sender and delete the email.