All of lore.kernel.org
 help / color / mirror / Atom feed
* how to debug kernel in qemu using ubuntu image
@ 2011-05-10 10:41 Amirali Shambayati
  2011-05-16  6:40 ` Fwd: " Amirali Shambayati
  0 siblings, 1 reply; 3+ messages in thread
From: Amirali Shambayati @ 2011-05-10 10:41 UTC (permalink / raw)
  To: Linux Kernel

Hello all,

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.

Thanks in advance
Regards,
-- 
Amirali Shambayati
Bachelor Student
Computer Engineering Department
Sharif University of Technology
Tehran, Iran

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Fwd: how to debug kernel in qemu using ubuntu image
  2011-05-10 10:41 how to debug kernel in qemu using ubuntu image Amirali Shambayati
@ 2011-05-16  6:40 ` Amirali Shambayati
  2011-05-16 18:40   ` Mulyadi Santosa
  0 siblings, 1 reply; 3+ messages in thread
From: Amirali Shambayati @ 2011-05-16  6:40 UTC (permalink / raw)
  To: kernelnewbies

---------- Forwarded message ----------
From: Amirali Shambayati <amirali.shambayati@gmail.com>
Date: Tue, May 10, 2011 at 3:11 PM
Subject: how to debug kernel in qemu using ubuntu image
To: Linux Kernel <linux-kernel@vger.kernel.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.

Thanks in advance
Regards,
--
Amirali Shambayati
Bachelor Student
Computer Engineering Department
Sharif University of Technology
Tehran, Iran



-- 
Amirali Shambayati
Bachelor Student
Computer Engineering Department
Sharif University of Technology
Tehran, Iran

^ permalink raw reply	[flat|nested] 3+ messages in thread

* how to debug kernel in qemu using ubuntu image
  2011-05-16  6:40 ` Fwd: " Amirali Shambayati
@ 2011-05-16 18:40   ` Mulyadi Santosa
  0 siblings, 0 replies; 3+ messages in thread
From: Mulyadi Santosa @ 2011-05-16 18:40 UTC (permalink / raw)
  To: kernelnewbies

Hi...

On Mon, May 16, 2011 at 13:40, Amirali Shambayati
<amirali.shambayati@gmail.com> wrote:
> I'm using linux-0.2.img image(which is a light linux image) to debug
> kernel using Qemu.

where do you get that image? and why don't you make one by yourself?

> 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.

"echo" command? "dd"?

>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.

could you explain what do you mean by "heavy"?

>So I want to use an ubuntu
> image instead. But I don't know where I should see kernel printks.

"see"? or "set"? I believe it's the latter, right?

what do you want to see through printk, anyway?

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-05-16 18:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-10 10:41 how to debug kernel in qemu using ubuntu image Amirali Shambayati
2011-05-16  6:40 ` Fwd: " Amirali Shambayati
2011-05-16 18:40   ` Mulyadi Santosa

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.