[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] mintara.prg & debug output
- To: mint <mint@lists.fishpool.fi>
- Subject: Re: [MiNT] mintara.prg & debug output
- From: David Gálvez <dgalvez75@gmail.com>
- Date: Tue, 5 Oct 2010 13:44:16 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=pmJaVNlbV9ArEISc2SML/c9ADvieAtG+yxMqqOYmT/g=; b=ixB8jMhwtiS9vG4q0hfZCtvzFj832s1CEaRTITJPYYLDdhaBFotSLw99ImQSguW6U+ ekQpgFOdC2hUqXSp6hEc+2TvwKeVHHa7HBq3wGh/rntbJ8S1WdXfkSSdwE4p6hHFg660 RhQ41+7KbKzMJKQochTUpxbpRy2m0aYZVBAkI=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=T0BG6oRxv3pDubdqbDgbLZCQyCEdeWrR1WTT1V+gtkWG6cfa5UgkyVytsRsms5hPMW qHn8NeHtpmXu6QoZzWpSfX5CeUd1YXTXDPuSi4IW52M9NpHeQlYhYKAd7EV+5VUh2dgV DBAKl/j5og4s6437m/YmI33meXhXCfAOBkdJE=
- In-reply-to: <cc82b2897d6502157602994b2d830986-EhVcX1lFRQVaRwYcDTpQCEFddQZLVF5dQUNBAjBTXF5bVkYJXl1oB1w6XF1XR0cFWFJQRQ==-webmailer2@server08.webmailer.hosteurope.de>
- List-help: <mailto:ecartis@lists.fishpool.fi?Subject=help>
- List-id: <mint.lists.fishpool.fi>
- List-owner: <mailto:tjhukkan@fishpool.fi>
- List-post: <mailto:mint@lists.fishpool.fi>
- List-subscribe: <mailto:mint-request@lists.fishpool.fi?Subject=subscribe>
- List-unsubscribe: <mailto:mint-request@lists.fishpool.fi?Subject=unsubscribe>
- References: <cc82b2897d6502157602994b2d830986-EhVcX1lFRQVaRwYcDTpQCEFddQZLVF5dQUNBAjBTXF5bVkYJXl1oB1w6XF1XR0cFWFJQRQ==-webmailer2@server08.webmailer.hosteurope.de>
- Sender: mint-bounce@lists.fishpool.fi
2010/10/5 m0n0 <ole@monochrom.net>:
>
> Hello,
>
> I'm trying to get kernel debug messages with mintara.prg - but I don't get
> it. Does it contain the code to print debug infos?
Not in the MAIN branch
> If I use mintdeb.prg debug output is at least generated, but not redirected
> to the host linux console :(
>
> In my Aranym Config I have RedirConsole = Yes, but even if I set it to no,
> console in conholio isn't showing anything.
In which console do you want get the debug info? in the host side or Atari side?
>
> No matter if I set RedirConsole or not, the Output of aranym is always:
> pid 0 (MiNT): FAT-FS [C]: WARNING: mounting unchecked fs, running dosfsck
> is recommended
> pid 0 (MiNT): Found MiNT 1.17 with kerinfo version 2
> pid 0 (MiNT): arafs: Dcntl(FS_INSTALL) descr=6FB
> pid 0 (MiNT): arafs: Dcntl(FS_MOUNT) dev_no: 256
> pid 0 (MiNT): arafs.c: init
> pid 0 (MiNT): arafs: ok (dev_no = 0)
> pid 0 (MiNT): arafs: ara_root E_OK (256)
> pid 0 (MiNT): ext2 (main.c): init
> pid 0 (MiNT): ext2 (main.c): running in native UTC mode!
> pid 0 (MiNT): ext2 (main.c): loaded and ready (k = 10543A8) -> 6F9EF8C.
> pid 12 (sh): FAT-FS [E]: WARNING: mounting unchecked fs, running dosfsck is
> recommended
> pid 65 (xaaes): run_km(\c\MINT\1-17-0\XAAES\xaaes.km) ok (bp 0x6A880E0)!
> pid 66 (AESSYS): fcntl(TIOCGETP) -> 0
> pid 66 (AESSYS): sg.sg_flags 0x10
> pid 66 (AESSYS): fcntl(TIOCSETN) -> 0
>
Most of those messages come from modules that have being compiled with
some debug info, not from the kernel.
> Which seems like a bit of the debug trace to me... But I wan't to trace each
> OS call! It's possible when using the debug kernel... but that isn't
> offering the native features for aranym...
>
> Just tried this: Everything works well when I use the mint16.prg ( 1.16.3 )
> kernel which is still residing withing my auto folder! But I'm not sure if
> this is an aranym kernel... at least it loads the native features :)
>
> uname -a returns:
> atariclone mc68040
>
> Could it be that debug code is missing in trunks mintara.prg ?
>
If you want debug messages in an Aranym kernel you should compile it
yourself from the CVS
Go to the directory "sys" in the source tree and look for the file
KERNELDEFS. Open it.
Look for this inside the file:
ifeq ($(kernel),ara)
MINT = mintara.prg
CPU = 020-60
KERNELDEFS = -DARANYM -DM68040 -DWITH_HOSTFS -DBOOTSTRAPABLE -DC_ONLY
MODULEDIRS = xfs/hostfs
endif
and add -DDEBUG_INFO in the KERNELDEFS line
Compile a new kernel with "make ara" and you will have an Aranym
kernel with debug info that would be shown in the host console.
Choose the debug level from the init menu when you are loading the kernel.
I hope it helps.
> Greets,
> m
>
>
>
>