kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: ermaker@gmail.com (Minwoo Lee)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Problem with booting using qemu
Date: Wed, 13 Apr 2011 13:27:08 +0900	[thread overview]
Message-ID: <BANLkTikihuopRCeosv0rJ=gzo4_KbbiEgw@mail.gmail.com> (raw)

Hi, all.

I want to study kernel, so I tried booting my custom compiled kernel
on qemu with '-kernel' and '-initrd' option.

First, I installed ubuntu 10.10 with cdrom, no LVM.
$ qemu disk.img -cdrom ubuntu-10.10-server-i386.iso -vnc :1

After installation, I tried booting my custom compiled kernel(but not
modified, just compiled).
$ sudo qemu -m 512 -enable-kvm disk.img -nographic -append
"console=ttyS0 root=/dev/sda1 ro" -kernel bzImage -initrd
initrd.img-2.6.37

And I got result like this.

[    2.687558] EXT4-fs (sda1): INFO: recovery required on readonly filesystem
[    2.688085] EXT4-fs (sda1): write access will be enabled during recovery
[    2.691679] EXT4-fs (sda1): recovery complete
[    2.944387] EXT4-fs (sda1): mounted filesystem with ordered data
mode. Opts: (null)
Begin: Running /scripts/local-bottom ... done.
done.
Begin: Running /scripts/init-bottom ... done.
[    2.988413] e1000 0000:00:03.0: eth0: (PCI:33MHz:32-bit) 52:54:00:12:34:56
[    2.988871] e1000 0000:00:03.0: eth0: Intel(R) PRO/1000 Network Connection


After that, the machine just stopped and I don't know the cause.

What is the cause, or how to find the cause?

The whole log is in this url. https://gist.github.com/916961

Thank you for reading.

             reply	other threads:[~2011-04-13  4:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-13  4:27 Minwoo Lee [this message]
2011-04-14  2:51 ` Problem with booting using qemu Mulyadi Santosa
2011-04-14  8:49   ` Luis Cebamanos
2011-04-14 12:26     ` Mulyadi Santosa
2011-04-14 16:18       ` Minwoo Lee
2011-04-14 16:29         ` Minwoo Lee
2011-04-16  5:55           ` Mulyadi Santosa

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='BANLkTikihuopRCeosv0rJ=gzo4_KbbiEgw@mail.gmail.com' \
    --to=ermaker@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).