From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jh834-0006TJ-Ov for qemu-devel@nongnu.org; Wed, 02 Apr 2008 14:51:02 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jh834-0006Sz-4N for qemu-devel@nongnu.org; Wed, 02 Apr 2008 14:51:02 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jh833-0006Sw-W6 for qemu-devel@nongnu.org; Wed, 02 Apr 2008 14:51:02 -0400 Received: from ti-out-0910.google.com ([209.85.142.188]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jh833-00009v-7C for qemu-devel@nongnu.org; Wed, 02 Apr 2008 14:51:01 -0400 Received: by ti-out-0910.google.com with SMTP id d10so1132786tib.18 for ; Wed, 02 Apr 2008 11:50:59 -0700 (PDT) Message-ID: <2122f0920804021150j508762ddwde9436acfb186325@mail.gmail.com> Date: Wed, 2 Apr 2008 14:50:57 -0400 From: "Girish V" MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2779_1323490.1207162257896" Subject: [Qemu-devel] Re: Re: Scrolling console output (Ben Taylor) (Girish V) Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org ------=_Part_2779_1323490.1207162257896 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline > > Message: 4 > Date: Wed, 2 Apr 2008 11:58:08 -0400 > From: "Girish V" > 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" > Subject: Re: [Qemu-devel] Scrolling console output > To: qemu-devel@nongnu.org > Message-ID: > > Content-Type: text/plain; charset=ISO-8859-1 > > On Wed, Apr 2, 2008 at 11:58 AM, Girish V 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 ------=_Part_2779_1323490.1207162257896 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline

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
------=_Part_2779_1323490.1207162257896--