Date: Fri, 24 Jan 1997 00:15:15 +0100 From: Lutz Albers <lutz@tavari.muc.de> To: Martin Cracauer <cracauer@wavehh.hanse.de> Cc: freebsd-emulation@freebsd.org Subject: Re: How to use DEBUg with linux_mod.o Message-ID: <Pine.BSF.3.91.970124001315.7942A-100000@killashandra.tavari.muc.de> In-Reply-To: <9701231951.AA00559@wavehh.hanse.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.970124001315.7942A-100000>
