From: Blaz Antonic <blaz.antonic@havn.com>
To: linux-8086@vger.kernel.org
Subject: Re: debug problemsss
Date: Fri, 20 Sep 2002 14:11:58 -0700 [thread overview]
Message-ID: <3D8B8F1E.4A18@havn.com> (raw)
In-Reply-To: 3D8B1029.AD7EEDF@yahoo.it
Hello,
> Is the standard init process using the entire amount of memory to run
> (2MB)?
No, it's not ... ELKS doesn't utilize memory above 640 KB anyway :-) If
programs have separate CS and DS they use up to 128 KB (i'm not sure
about that).
> For me the problem is on the A20 gate handling. I try to initialize
> it in assembly code as there's in the 2.2.20 linux official kernel but
> nothing change.
Nope, for reason explained above :) ELKS works in real mode (8086) and
doesn't use memory above 640 KB (although it should be able to use up to
1 MB with 8086 CPU with minor modifications in kernel & major
alterations in hardware). Alternative would be some kind of bank
switching (like EMS) but it seems those few boards people have function
in a different way, i guess LIM EMS drivers for DOS were the highest
common denominator.
> How do I debug this kernel on my system? is there any standard solution
> or must I to insert puts() for everywhere?
Nope again, you have to insert printk()s everywhere :-) To be more
specific, if you #define DEBUG (or DEBUG_something where something is
relevant #ifdef check for specific piece of code) debug messages might
start poppoing up ... at least in the parts of code i've written/worked
on. They aren't very helpful though unless you know exactly what code
does - if you know that you don't need debug messages since they were
used, well, for debugging purposes :)
IS ths Elan chip 486-compatible or 186-compatible ? I know it's AMD MCU
but i'm too lazy to move to their webpage (i'm not sure if they have
embedded chips section anymore, they reworked some of their pages
afaik). Oh, you only have 2 MB of RAM anyway ... i guess it doesn't
matter.
Blaz Antonic
prev parent reply other threads:[~2002-09-20 21:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-20 12:10 debug problemsss teo_icKs
2002-09-20 21:11 ` Blaz Antonic [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3D8B8F1E.4A18@havn.com \
--to=blaz.antonic@havn.com \
--cc=linux-8086@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox