All of lore.kernel.org
 help / color / mirror / Atom feed
* SILO on Qemu Sparc v8 unable to boot stripped kernel
@ 2014-07-09  2:51 chase rayfield
  2014-07-09 20:43 ` Sam Ravnborg
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: chase rayfield @ 2014-07-09  2:51 UTC (permalink / raw)
  To: sparclinux

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

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

end of thread, other threads:[~2014-07-14  6:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-09  2:51 SILO on Qemu Sparc v8 unable to boot stripped kernel chase rayfield
2014-07-09 20:43 ` Sam Ravnborg
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

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.