From: Florian Fainelli <florian@openwrt.org>
To: kexec@lists.infradead.org
Cc: Joey Korkames <joey@kidfixit.com>
Subject: Re: bzip2-compressed bzimage support?
Date: Wed, 20 Jan 2010 10:14:56 +0100 [thread overview]
Message-ID: <201001201014.56630.florian@openwrt.org> (raw)
In-Reply-To: <cone.1263962411.847498.22847.1000@toolshiner.phx1.kidfixit.com>
Hi Joey,
On Wednesday 20 January 2010 05:40:11 Joey Korkames wrote:
> Does kexec-tools support bzip2-compressed bzImages? I'm trying the latest
> git master against this kernel....
>
> http://packages.debian.org/sid/amd64/linux-image-2.6.32-trunk-amd64/downloa
> d
>
> ...but am having no success. I'm assuming that it must be because the
> kernel-section is bzip2 compressed because gzip/lzma seems to be explicitly
> supported in the master branch's commits.
a bzImage, whether it is compressed using bzip2, lzma, whatever remains a
bzImage and as such can be used without knowing the compression used.
>
> xen2:~# kexec --load --type=bzImage
> --initrd=/boot/debian/initrd.img-2.6.32-trunk-amd64
> --command-line="root=/dev/mapper/mirror_dsksAB-OS_disk console=tty0"
> /boot/debian/vmlinuz-2.6.32-trunk-amd64 kexec_load failed: Function not
> implemented
The "Function not implemented" error appears when the kernel you are running
this command does not support the kexec system call, recompile with support
for it and you should be fine.
> entry = 0x7fff5640 flags = 0
> nr_segments = 4
> segment[0].buf = 0x1f77a30
> segment[0].bufsz = 3874
> segment[0].mem = 0x3000
> segment[0].memsz = 4000
> segment[1].buf = 0x7f28267dc810
> segment[1].bufsz = 239800
> segment[1].mem = 0x1000000
> segment[1].memsz = 23a000
> segment[2].buf = 0x7f2825f93010
> segment[2].bufsz = 8456ab
> segment[2].mem = 0x7f7ae000
> segment[2].memsz = 846000
> segment[3].buf = 0x1f6f910
> segment[3].bufsz = 80e0
> segment[3].mem = 0x7fff5000
> segment[3].memsz = a000
>
> please CC me in to any replies, I am not subscribed to the list.
>
> Thanks for reading
> -joey
>
> _______________________________________________
> kexec mailing list
> kexec@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/kexec
>
--
Regards, Florian
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
next prev parent reply other threads:[~2010-01-20 9:15 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-20 4:40 bzip2-compressed bzimage support? Joey Korkames
2010-01-20 9:14 ` Florian Fainelli [this message]
2010-01-20 15:48 ` Joey Korkames
2010-01-20 16:00 ` Joey Korkames
2010-01-23 1:47 ` Eric W. Biederman
2010-01-23 1:45 ` Eric W. Biederman
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=201001201014.56630.florian@openwrt.org \
--to=florian@openwrt.org \
--cc=joey@kidfixit.com \
--cc=kexec@lists.infradead.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