From owner-freebsd-emulation Thu Jan 23 15:11:32 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id PAA18440 for emulation-outgoing; Thu, 23 Jan 1997 15:11:32 -0800 (PST) Received: from colin.Muc.DE (root@colin.muc.de [193.174.4.1]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id PAA18435 for ; Thu, 23 Jan 1997 15:11:23 -0800 (PST) Received: from tavari.muc.de ([195.180.235.192]) by colin.muc.de with SMTP id <86030-2>; Fri, 24 Jan 1997 00:10:57 +0100 Received: from killashandra.tavari.muc.de (killashandra.tavari.muc.de [192.168.42.3]) by tavari.muc.de (8.8.3/8.7.3) with SMTP id AAA07993; Fri, 24 Jan 1997 00:15:16 +0100 (MET) Date: Fri, 24 Jan 1997 00:15:15 +0100 From: Lutz Albers To: Martin Cracauer cc: freebsd-emulation@freebsd.org Subject: Re: How to use DEBUg with linux_mod.o In-Reply-To: <9701231951.AA00559@wavehh.hanse.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-emulation@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Thu, 23 Jan 1997, Martin Cracauer wrote: > Hm, I think I overlook something obvious, but I can't bring the linux > module to output the #ifdef DEBUG stuff. > > I defined -DDEBUG in src/lkm/linux/Makefile, remake linux_mod,o, > copied it to /lkm, made a new kernel and rebooted. I still don't see > the debug messages. I am able to use ktrace on Linux binaries, but the > Linux emulator is silent. ... > Any hints? Maybe it works only from inside the kernel, not as a lkm? Hi, it worked for me, I defined the switch, remade the lkm, modunload-ed the old lkm, installed the new one and then reloaded this lkm. The messages will be logged via syslog (they appear in my xconsole window). ciao lutz --------------------------------------------------------------------- Lutz Albers | What's good ? | lutz@muc.de Luederitzstr. 14 | Life's good - | ph: +49-89-93940363 81929-Muenchen, Germany | But not fair at all | fax:+49-89-93940365 (Lou Reed) Do not take life too seriously, you will never get out of it alive.