From: "Vesa Jääskeläinen" <chaac@nic.fi>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: Video subsystem draft
Date: Tue, 06 Dec 2005 17:18:40 +0200 [thread overview]
Message-ID: <4395ABD0.4020208@nic.fi> (raw)
In-Reply-To: <438B76AA.2030501@nic.fi>
Ok... The problem is with grub_errno. There might be other cases where
this problem shows up too. But with font manager this is easy to see.
In my testerr3 testing function (in video.c) I added simple:
grub_errno = GRUB_ERR_NOT_IMPLEMENTED_YET;
grub_printf("error: no error :)\n");
Now it corrupted first 'e' character over there.
If I set grub_errno to zero, it outputted correctly. So I started to
think what is the real cause for this. I modified my video driver to
only set grub_errno when there is an real error situation. And the
behavior changed a bit, after setting up grub_errno to non-zero every
character got corrupted until the prompt came.
Now only reason to corrupt this is that something goes to different code
path because grub_errno is set. And this something is most likely the
disk/file system subsystem. Now this is also a problem if there is any
other disk operation done and an error is being set.
Font manager failed because it could not read disk for some reason.
Now I am open for ideas how and where to fix this problem.
prev parent reply other threads:[~2005-12-06 15:18 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-23 11:24 Video subsystem draft Vesa Jääskeläinen
2005-10-23 15:03 ` Timothy Baldwin
2005-10-23 15:24 ` Vesa Jääskeläinen
2005-10-28 3:21 ` Yoshinori K. Okuji
2005-10-28 13:59 ` Vesa Jääskeläinen
2005-11-17 23:19 ` Vesa Jääskeläinen
2005-11-18 11:06 ` Yoshinori K. Okuji
2005-11-22 19:06 ` Vesa Jääskeläinen
2005-11-25 20:25 ` Yoshinori K. Okuji
2005-11-26 0:28 ` Vesa Jääskeläinen
2005-11-26 14:36 ` Vincent Pelletier
2005-11-26 19:54 ` Yoshinori K. Okuji
2005-11-27 1:48 ` Vesa Jääskeläinen
2005-12-09 22:44 ` Marco Gerards
2005-12-10 0:19 ` Yoshinori K. Okuji
2005-12-10 10:31 ` Vesa Jääskeläinen
2005-12-10 21:01 ` Marco Gerards
2005-12-10 21:23 ` Vesa Jääskeläinen
2005-12-10 20:48 ` Vesa Jääskeläinen
2005-12-10 21:15 ` Marco Gerards
2005-12-10 22:14 ` Vesa Jääskeläinen
2005-12-10 22:32 ` Marco Gerards
2005-12-10 23:11 ` Vesa Jääskeläinen
2005-11-27 2:00 ` Vesa Jääskeläinen
2005-11-26 19:52 ` Yoshinori K. Okuji
2005-11-27 2:09 ` Vesa Jääskeläinen
2005-12-09 22:33 ` Marco Gerards
2005-11-28 21:29 ` Vesa Jääskeläinen
2005-12-06 15:18 ` Vesa Jääskeläinen [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=4395ABD0.4020208@nic.fi \
--to=chaac@nic.fi \
--cc=grub-devel@gnu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.