From: "Girish V" <girish.xen@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: Re: Scrolling console output (Ben Taylor) (Girish V)
Date: Wed, 2 Apr 2008 14:50:57 -0400 [thread overview]
Message-ID: <2122f0920804021150j508762ddwde9436acfb186325@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3038 bytes --]
>
> Message: 4
> Date: Wed, 2 Apr 2008 11:58:08 -0400
> From: "Girish V" <girish.xen@gmail.com>
> Subject: [Qemu-devel] Scrolling console output
> To: qemu-devel@nongnu.org
> Message-ID:
> <2122f0920804020858s172f620cp3d4bde7f57569be4@mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hello,
>
> I am having the same question as asked in this thread
> http://lists.gnu.org/archive/html/qemu-devel/2008-03/msg00399.html
>
> I am trying to debug why my kernel crashes during the boot process. But
> some
> of the error messages scroll of the target console, before I can see what
> is
> happening.
>
> For this, I would like to scroll the target console (My kernel crashes
> before init begins - I have seen that once Init begins, I can scroll up
> the
> target console using ctrl+PgUp - but before init begins the console canot
> be
> scrolled).
>
> I tried "qemu -hda image.img -m 512M -serial vc:1024x768" (to see if I
> could
> set a bigger size for the console - so the messages wont scroll off the
> target console)
> but this fails with
> "qemu: could not open serial device vc:1024x768"
>
> I am running qemu 0.8.2 on ubuntu and 0.8.2 on fc6.
>
> 1) Is this "vc:AxB " option supported on this version - do I need to
> upgrade?
> 2) I sthere any other way I can scroll up the target console.
> 3) Is there any other way to expand the target console?
>
> Any help will be appreciated
>
> Thanks.
> Girish
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.gnu.org/pipermail/qemu-devel/attachments/20080402/6aa8144b/attachment.html
>
> ------------------------------
>
> Message: 5
> Date: Wed, 2 Apr 2008 12:07:17 -0400
> From: "Ben Taylor" <bentaylor.solx86@gmail.com>
> Subject: Re: [Qemu-devel] Scrolling console output
> To: qemu-devel@nongnu.org
> Message-ID:
> <cef699d70804020907p2735969dv3ee3bf6aff267457@mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On Wed, Apr 2, 2008 at 11:58 AM, Girish V <girish.xen@gmail.com> wrote:
> > Hello,
> >
> > I am having the same question as asked in this thread
> > http://lists.gnu.org/archive/html/qemu-devel/2008-03/msg00399.html
> >
> > I am trying to debug why my kernel crashes during the boot process. But
> > some of the error messages scroll of the target console, before I can
> see
> > what is happening.
>
> Given the fact that it crashes, I might be inclined to actually make the
> console a real serial port, one of the virtual serial ports so you could
> use a scrolling terminal to catch all the output. Once you get the
> problem
> fixed, then you can go back to the sdl console.
>
>
>
>
> ------------------------------
>
>
Thanks for the quick response. I was able to follow your tip. In order to
get it working on FC6 I had to do the following.
1) Edit inittab to allow serial connections
2) Specified console=ttyS0 in the kernle line in the grub.conf
Then when I invoked qemu -hda img.img -nographic I could see the entire
bootup messages on the terminal.
Girish
[-- Attachment #2: Type: text/html, Size: 4253 bytes --]
reply other threads:[~2008-04-02 18:51 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=2122f0920804021150j508762ddwde9436acfb186325@mail.gmail.com \
--to=girish.xen@gmail.com \
--cc=qemu-devel@nongnu.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;
as well as URLs for NNTP newsgroup(s).