Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #50061 > unrolled thread
| Started by | Osamu Aoki <osamu@debian.org> |
|---|---|
| First post | 2015-06-27 02:00 +0200 |
| Last post | 2016-12-16 00:20 +0100 |
| Articles | 7 — 4 participants |
Back to article view | Back to linux.debian.kernel
Bug#790095: lsinitramfs(8): multiple-segmented initramfs supported Osamu Aoki <osamu@debian.org> - 2015-06-27 02:00 +0200
Processed: Re: lsinitramfs(8): multiple-segmented initramfs supported owner@bugs.debian.org (Debian Bug Tracking System) - 2015-12-09 04:30 +0100
Bug#790095: lsinitramfs(8): multiple-segmented initramfs supported Ben Hutchings <ben@decadent.org.uk> - 2015-12-09 04:30 +0100
Bug#807457: lsinitramfs(8): multiple-segmented initramfs supported Ben Hutchings <ben@decadent.org.uk> - 2015-12-09 04:30 +0100
Bug#807457: initramfs-tools: Add command to unpack initramfs Kevin Locke <kevin@kevinlocke.name> - 2016-02-10 05:30 +0100
Bug#790095: marked as done (lsinitramfs(8): multiple-segmented initramfs supported) owner@bugs.debian.org (Debian Bug Tracking System) - 2015-12-28 03:50 +0100
Bug#807457: marked as done (Add command to unpack initramfs) owner@bugs.debian.org (Debian Bug Tracking System) - 2016-12-16 00:20 +0100
| From | Osamu Aoki <osamu@debian.org> |
|---|---|
| Date | 2015-06-27 02:00 +0200 |
| Subject | Bug#790095: lsinitramfs(8): multiple-segmented initramfs supported |
| Message-ID | <pFLHk-5xo-9@gated-at.bofh.it> |
[Multipart message — attachments visible in raw view] — view raw
Package: initramfs-tools
Version: 0.120
Severity: normal
Tags: patch
From initramfs-tools 0.118 (Oct. 2014):
* [d5f4cd6] lsinitramfs: Parse and list files that include early microcode.
Thanks to Brett Parker and Olivier Berger. (Closes: #717805)
So the manpage description as the following is incorrect.
| BUGS
| lsinitramfs cannot deal with multiple-segmented initramfs images, such
| as those created when an early (uncompressed) initramfs with system
| firmware is prepended to the regular compressed initrams, or when over‐
| lay data is appended to the initramfs.
So please knock off these lines.
In addition to this, I wonder why not offer utility to extract the
regular compressed initrams by using the same code with trivial changes.
It is pain to manually extract the new initrd image content.
I attach patch here one as example against the git master.
Hmmm...
https://wiki.debian.org/InitramfsDebug
This needs to be updated.
[toc] | [next] | [standalone]
| From | owner@bugs.debian.org (Debian Bug Tracking System) |
|---|---|
| Date | 2015-12-09 04:30 +0100 |
| Subject | Processed: Re: lsinitramfs(8): multiple-segmented initramfs supported |
| Message-ID | <qDDC2-2Px-13@gated-at.bofh.it> |
| In reply to | #50061 |
Processing control commands: > tag -1 pending Bug #790095 [initramfs-tools] lsinitramfs(8): multiple-segmented initramfs supported Added tag(s) pending. -- 790095: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=790095 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
[toc] | [prev] | [next] | [standalone]
| From | Ben Hutchings <ben@decadent.org.uk> |
|---|---|
| Date | 2015-12-09 04:30 +0100 |
| Message-ID | <qDDC1-2Px-1@gated-at.bofh.it> |
| In reply to | #50061 |
[Multipart message — attachments visible in raw view] — view raw
Control: tag -1 pending On Sat, 27 Jun 2015 08:53:59 +0900 Osamu Aoki <osamu@debian.org> wrote: > Package: initramfs-tools > Version: 0.120 > Severity: normal > Tags: patch > > From initramfs-tools 0.118 (Oct. 2014): > * [d5f4cd6] lsinitramfs: Parse and list files that include early microcode. > Thanks to Brett Parker and Olivier Berger. (Closes: #717805) > > So the manpage description as the following is incorrect. > | BUGS > | lsinitramfs cannot deal with multiple-segmented initramfs images, such > | as those created when an early (uncompressed) initramfs with system > | firmware is prepended to the regular compressed initrams, or when over$B!>(B > | lay data is appended to the initramfs. > > So please knock off these lines. [...] The last bit is still true - we only support a single uncompressed segment followed by a single compressed segment. I don't know how to support multiple compressed segments, as in general we can't find out how long each segment is. (But I think dracut does it, so maybe we could copy from them.) So I've applied this change: --- a/lsinitramfs.8 +++ b/lsinitramfs.8 @@ -38,10 +38,9 @@ List content of two initramfs files in verbose mode: .SH BUGS .BR lsinitramfs -cannot deal with multiple-segmented initramfs images, such as those created -when an early (uncompressed) initramfs with system firmware is prepended to -the regular compressed initrams, or when overlay data is appended to the -initramfs. +cannot deal with multiple-segmented initramfs images, except where an +early (uncompressed) initramfs with system firmware is prepended to +the regular compressed initramfs. .SH AUTHOR The initramfs-tools are written by Maximilian Attems <maks@debian.org> --- END --- Ben. -- Ben Hutchings I'm always amazed by the number of people who take up solipsism because they heard someone else explain it. - E*Borg on alt.fan.pratchett
[toc] | [prev] | [next] | [standalone]
| From | Ben Hutchings <ben@decadent.org.uk> |
|---|---|
| Date | 2015-12-09 04:30 +0100 |
| Subject | Bug#807457: lsinitramfs(8): multiple-segmented initramfs supported |
| Message-ID | <qDDC2-2Px-15@gated-at.bofh.it> |
| In reply to | #50061 |
[Multipart message — attachments visible in raw view] — view raw
On Sat, 27 Jun 2015 08:53:59 +0900 Osamu Aoki <osamu@debian.org> wrote: [...] > In addition to this, I wonder why not offer utility to extract the > regular compressed initrams by using the same code with trivial changes. > It is pain to manually extract the new initrd image content. > > I attach patch here one as example against the git master. [...] Rather than duplicating code, please combine this with lsinitramfs (checking $0 to determine which command was invoked) or move the common code into a shell library. Most decompression commands are named after the compressor plus 'un' so I prefer the name 'unmkinitramfs'. Ben. -- Ben Hutchings I'm always amazed by the number of people who take up solipsism because they heard someone else explain it. - E*Borg on alt.fan.pratchett
[toc] | [prev] | [next] | [standalone]
| From | Kevin Locke <kevin@kevinlocke.name> |
|---|---|
| Date | 2016-02-10 05:30 +0100 |
| Subject | Bug#807457: initramfs-tools: Add command to unpack initramfs |
| Message-ID | <r0uzE-5H1-5@gated-at.bofh.it> |
| In reply to | #51602 |
[Multipart message — attachments visible in raw view] — view raw
On Wed, 2015-12-09 at 03:23 +0000, Ben Hutchings wrote: > Rather than duplicating code, please combine this with lsinitramfs > (checking $0 to determine which command was invoked) or move the common > code into a shell library. I've taken a slightly different tact and implemented uninitramfs as a thin wrapper for cpio. It is designed as a drop-in replacement for cpio wherever an initramfs may be present, and passes through all options unmodified. With this, I changed lsinitramfs to call uninitramfs instead of cpio. See what you think. Thanks, Kevin P.S. I named it "uninitramfs" instead of "unmkinitramfs" since it does not depend on mkinitramfs specifically, and it seemed to fit with "lsinitramfs" and the "initramfs" format. But if you would prefer "unmkinitramfs", I can change it. -- Cheers, | kevin@kevinlocke.name | XMPP: kevin@kevinlocke.name Kevin | https://kevinlocke.name | IRC: kevinoid on freenode
[toc] | [prev] | [next] | [standalone]
| From | owner@bugs.debian.org (Debian Bug Tracking System) |
|---|---|
| Date | 2015-12-28 03:50 +0100 |
| Subject | Bug#790095: marked as done (lsinitramfs(8): multiple-segmented initramfs supported) |
| Message-ID | <qKw3j-3Io-735@gated-at.bofh.it> |
| In reply to | #50061 |
[Multipart message — attachments visible in raw view] — view raw
Your message dated Sun, 27 Dec 2015 23:00:16 +0000 with message-id <E1aDKIS-0001mI-7m@franck.debian.org> and subject line Bug#790095: fixed in initramfs-tools 0.121~rc2 has caused the Debian Bug report #790095, regarding lsinitramfs(8): multiple-segmented initramfs supported to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 790095: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=790095 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
[toc] | [prev] | [next] | [standalone]
| From | owner@bugs.debian.org (Debian Bug Tracking System) |
|---|---|
| Date | 2016-12-16 00:20 +0100 |
| Subject | Bug#807457: marked as done (Add command to unpack initramfs) |
| Message-ID | <sONtE-3G8-27@gated-at.bofh.it> |
| In reply to | #50061 |
[Multipart message — attachments visible in raw view] — view raw
Your message dated Thu, 15 Dec 2016 23:13:03 +0000 with message-id <1481843583.2651.4.camel@decadent.org.uk> and subject line Re: initramfs-tools: Add command to unpack initramfs has caused the Debian Bug report #807457, regarding Add command to unpack initramfs to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 807457: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=807457 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.kernel
csiph-web