how to debug kernel in qemu using ubuntu image
Quoted 5 lines
Hello all,
I asked my question in "linux kernel" mailing list, and I was suggested to forward it to this mailing list.
Quoted 9 lines
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
That was helpful, thanks a lot.
Quoted 27 lines · Vikram Narayanan
Quoted 5 lines
Hello all,
I asked my question in "linux kernel" mailing list, and I was suggested to forward it to this mailing list.
Quoted 9 lines
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/syslogHope it helps,
Vikram_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Signature · 5 lines
Amirali Shambayati Bachelor Student Computer Engineering Department Sharif University of Technology Tehran, Iran