All of lore.kernel.org
 help / color / mirror / Atom feed
From: Etay Meiri <etay.meiri@gmail.com>
To: Blaisorblade <blaisorblade@yahoo.it>
Cc: user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] Error running UML
Date: Fri, 30 Sep 2005 14:53:07 +0300	[thread overview]
Message-ID: <229e70f205093004533d68e798@mail.gmail.com> (raw)
In-Reply-To: <200509301320.18389.blaisorblade@yahoo.it>

[-- Attachment #1: Type: text/plain, Size: 2901 bytes --]

I tries the following without success:

1. 'con=pts' instead of 'con=pty'.
2. 'con=xterm' instead of 'con=pty'.
3. added 'init=/bin/sh' to both of the above.
4. compiled the guest kernel again with 'make defconfig'.
5. moved away /lib/tls in the guest fs.

I'm still getting the same warning about the console. When I try
with xterm it just opens and immediately closes the xterm and
I don't have a chance to see what's there.

-Etay

On 9/30/05, Blaisorblade <blaisorblade@yahoo.it> wrote:
>
> On Friday 30 September 2005 13:12, Etay Meiri wrote:
> > Thanks for your response.
> >
> > I tried running it with a simple: ./vmlinux ubd0=root_fs.2005062201
> > and now it says:
> Well, the only option which *must* be dropped is root=/dev/ubd/0. The rest
> is
> harmless, and may help.
>
> Note that if you use con=pty rather than con=xterm, you'll need to connect
> to
> the consoles manually and look for them. Plus /dev/pty* are deprecated,
> and
> some host kernel don't support them any more.
>
> At least, using con=pts is more modern (it's supported on any recent
> kernel).
> > [42949373.420000] Console initialized on /dev/tty0
> > [42949373.420000] ubda: unknown partition table
> > [42949373.420000] kjournald starting. Commit interval 5 seconds
> > [42949373.420000] EXT3-fs: mounted filesystem with ordered data mode.
> > [42949373.420000] VFS: Mounted root (ext3 filesystem) readonly.
> > [42949373.420000] Warning: unable to open an initial console.
> This warning, normally, is harmless.
> > [42949373.420000] Kernel panic - not syncing: Attempted to kill init!
>
> > Looks like it mounted the root file system but has a problem opening
> > a console. Maybe I'm missing some console related option in the kernel
> > config?
> It's possible. I would first check also if init=/bin/sh makes it boot, to
> distinguish between fs problems and console problems. Also, remember to
> "mv /lib/tls /lib/tls.away" in the guest fs.
>
> Due to a bug in kconfig, which wasn't fixed because the fix wasn't nice,
> if
> you do "make *config ARCH=um" on an empty tree it may pick as default
> values
> from /boot/config-`uname -r`. To avoid this, you need to move away
> your .config and do:
>
> make defconfig ARCH=um
> and only afterwards, depending on your taste for configuration tool,
> make {menu,x,g}config ARCH=um
> i.e. either make menuconfig ARCH=um or the other similar ones.
> --
> Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
> Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ
> 215621894)
> http://www.user-mode-linux.org/~blaisorblade
>
>
>
>
>
> ___________________________________
> Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB
> http://mail.yahoo.it
>
>


--
------------------------------------------------------
Etay Meiri
etay.meiri@gmail.com

[-- Attachment #2: Type: text/html, Size: 3471 bytes --]

  reply	other threads:[~2005-09-30 11:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-30 10:51 [uml-devel] Error running UML Etay Meiri
2005-09-30 11:06 ` Blaisorblade
2005-09-30 11:12   ` Etay Meiri
2005-09-30 11:20     ` Blaisorblade
2005-09-30 11:53       ` Etay Meiri [this message]
2005-09-30 13:28         ` Etay Meiri

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=229e70f205093004533d68e798@mail.gmail.com \
    --to=etay.meiri@gmail.com \
    --cc=blaisorblade@yahoo.it \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /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 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.