Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 May 2007 10:49:39 +0800
From:      "Wilkinson, Alex" <alex.wilkinson@dsto.defence.gov.au>
To:        emulation@freebsd.org
Subject:   Re: Re:Re: Re: Re: [net/citrix_ica/] /usr/local/bin/wfcmgr ... hangs upon exec().
Message-ID:  <20070516024939.GA3773@obelix.dsto.defence.gov.au>
In-Reply-To: <20070515180949.GA29908@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>

next in thread | previous in thread | raw e-mail | index | archive | help
    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.





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