All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sam Ravnborg <sam@ravnborg.org>
To: sparclinux@vger.kernel.org
Subject: Re: SILO on Qemu Sparc v8 unable to boot stripped kernel
Date: Wed, 09 Jul 2014 20:43:54 +0000	[thread overview]
Message-ID: <20140709204353.GA32303@ravnborg.org> (raw)
In-Reply-To: <CACwypyMhN9fj34VmgiXEFNmH28up5if3wW_xajYOLy0kR2An5Q@mail.gmail.com>

On Tue, Jul 08, 2014 at 10:51:44PM -0400, chase rayfield wrote:
> I emailed davem, last week and he told me the appropriate course of action
> would be to message the list so here goes.
> 
> This is the error SILO in Qemu is printing out:
> "ext2 superblock magic is wrong" ... then
> "Cannot find a loadable segment in your ELF image."
> 
>  I stripped the kernel with  "strip -R .comment -R .note" also tried a myriad of
> other options to the same effect. My build of Qemu can boot an older Gentoo
> livecd that I have that is also 2.6.32 but I don't have a dot config
> and it was built with
> a different toolchain. Here are links to most of the relevant stuff if
> you want my
> catalyst spec files or for me to tar up my silo build etc... just ask.
> I have real hardware I can test on but I'd rather not make coasters
> especially since I know Qemu *can*
> boot a sparc livecd no problem the same kernel version even.
> 
> Is is possible I have the kenrel arguments wrong or something of that nature?
> 
> The gentoo stage3 it is built from is here...
> http://gh0stwriter.net/archive/20140708/stage3-sparc-20140628.tar.bz2
> And portage snapshot:
> http://gh0stwriter.net/archive/20140708/portage-20140628.tar.bz2
> Known good iso:
> http://www.gh0stwriter.net/archive/linux-sparc32-install-20111216.iso
> 
> You can grab a copy of the WIP iso here:
> http://gh0stwriter.net/archive/20140708/install-sparc-minimal-20140620.iso
> (includes the stripped kernel that fails to boot)
> 
> Unstripped kernel from the above iso
> http://www.gh0stwriter.net/archive/20140708/gentoo.gz
> 
> My .config
> http://gh0stwriter.net/archive/20140708/config-2.6.32-r41-20140708.config
> 
> Screenshot of silo failure:
> http://gh0stwriter.net/archive/20140708/qemu-silo-fail.png

I am confused to see that the screenshot mentions sparc64, but
you refer to sparc v8 which is only sparc32.

The silo version also looks quite dated.
I know some extfs related fixes went in some years ago,
but have not looked up when.
Could you compare the two versions of silo used to see if this give any clue.

	Sam

  reply	other threads:[~2014-07-09 20:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-09  2:51 SILO on Qemu Sparc v8 unable to boot stripped kernel chase rayfield
2014-07-09 20:43 ` Sam Ravnborg [this message]
2014-07-10  1:50 ` chase rayfield
2014-07-12  4:08 ` chase rayfield
2014-07-14  1:08 ` chase rayfield
2014-07-14  6:11 ` Sam Ravnborg

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=20140709204353.GA32303@ravnborg.org \
    --to=sam@ravnborg.org \
    --cc=sparclinux@vger.kernel.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 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.