From: vikram186@gmail.com (Vikram Narayanan)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Fwd: how to debug kernel in qemu using ubuntu image
Date: Mon, 16 May 2011 21:26:19 +0530 [thread overview]
Message-ID: <1305561379.2944.3.camel@ubuntu.ubuntu-domain> (raw)
In-Reply-To: <mailman.158.1305555215.2682.kernelnewbies@kernelnewbies.org>
> Hello all,
>
> I asked my question in "linux kernel" mailing list, and I was
> suggested to forward it to this mailing list.
>
> I'm using linux-0.2.img image(which is a light linux image) to debug
> kernel using Qemu. I'm working on IO schedulers' optimization. As Qemu
> boots kernel, IO scheduler sends read requests to disk. Also by
> entering commands such as 'ls', it sends read requests. I'm looking
> for a way to send write requests. Thus I thought that using a
> benchmark which sends both read and write requests, is suitable, but
> as linux-0.2.img is a very simple and light image, it is almost
> impossible to setup heavy benchmarks on it. So I want to use an ubuntu
> image instead. But I don't know where I should see kernel printks.
kernel printk's can be seen from the dmesg output.
Just type dmesg in your shell.
You can also see that in /var/log/syslog
Hope it helps,
Vikram
next parent reply other threads:[~2011-05-16 15:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.158.1305555215.2682.kernelnewbies@kernelnewbies.org>
2011-05-16 15:56 ` Vikram Narayanan [this message]
2011-05-16 18:26 ` Fwd: how to debug kernel in qemu using ubuntu image Amirali Shambayati
[not found] <BANLkTimS++GWcNSBNqwZ=cUtQwX1wdKzUQ@mail.gmail.com>
2011-05-16 6:40 ` Amirali Shambayati
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=1305561379.2944.3.camel@ubuntu.ubuntu-domain \
--to=vikram186@gmail.com \
--cc=kernelnewbies@lists.kernelnewbies.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).