[Bug 1832108] Re: unmkinitramfs fails with lz4 compressed initrds

2024-07-26 Thread Brian Murray
Ubuntu 18.10 (Cosmic Cuttlefish) has reached end of life, so this bug
will not be fixed for that specific release.

** Changed in: initramfs-tools (Ubuntu Cosmic)
   Status: In Progress => Won't Fix

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1832108

Title:
  unmkinitramfs fails with lz4 compressed initrds

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1832108/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1832108] Re: unmkinitramfs fails with lz4 compressed initrds

2019-09-03 Thread Bug Watch Updater
** Changed in: initramfs-tools (Debian)
   Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1832108

Title:
  unmkinitramfs fails with lz4 compressed initrds

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1832108/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1832108] Re: unmkinitramfs fails with lz4 compressed initrds

2019-07-12 Thread Mario Limonciello
@xnox,

Could you SRU this to bionic too?  It becomes problematic to try to
probe at an initramfs file from eoan when you're in bionic otherwise.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1832108

Title:
  unmkinitramfs fails with lz4 compressed initrds

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1832108/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1832108] Re: unmkinitramfs fails with lz4 compressed initrds

2019-07-04 Thread Dimitri John Ledkov
uncompressed:

7330304 bytes read in 311 ms (22.5 MiB/s)
reboot time 39.39s
2019-07-04T16:54:38.050180+ localhost kernel: Unpacking initramfs...
2019-07-04T16:54:38.050253+ localhost kernel: Freeing initrd memory: 7200K

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1832108

Title:
  unmkinitramfs fails with lz4 compressed initrds

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1832108/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1832108] Re: unmkinitramfs fails with lz4 compressed initrds

2019-07-04 Thread Dimitri John Ledkov
lz4

6644040 bytes read in 282 ms (22.5 MiB/s)
4466915 bytes read in 191 ms (22.3 MiB/s)
reboot time 39.49s
2019-07-04T16:54:38.012115+ localhost kernel: Unpacking initramfs...
2019-07-04T16:54:38.012178+ localhost kernel: Initramfs unpacking failed: 
Decoding failed
2019-07-04T16:54:38.012246+ localhost kernel: Freeing initrd memory: 4404K

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1832108

Title:
  unmkinitramfs fails with lz4 compressed initrds

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1832108/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1832108] Re: unmkinitramfs fails with lz4 compressed initrds

2019-07-04 Thread Dimitri John Ledkov
gzip

6644040 bytes read in 283 ms (22.4 MiB/s)
3889013 bytes read in 167 ms (22.2 MiB/s)
reboot time 40.31s
2019-07-04T16:54:37.997158+ localhost kernel: Unpacking initramfs...
2019-07-04T16:54:37.997230+ localhost kernel: Freeing initrd memory: 3840K

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1832108

Title:
  unmkinitramfs fails with lz4 compressed initrds

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1832108/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1832108] Re: unmkinitramfs fails with lz4 compressed initrds

2019-07-04 Thread Dimitri John Ledkov
ls -latr initrd-lzma.img initrd-uncompressed.img initrd-gzip.img 
initrd-lz49l.img | sort
-rwxr-xr-x 1 xnox xnox 2852487 Jul  5 00:19 initrd-lzma.img
-rwxr-xr-x 1 xnox xnox 3889013 Jul  5 00:21 initrd-gzip.img
-rwxr-xr-x 1 xnox xnox 4466915 Jul  5 00:22 initrd-lz49l.img
-rwxr-xr-x 1 xnox xnox 7330304 Jul  5 00:20 initrd-uncompressed.img

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1832108

Title:
  unmkinitramfs fails with lz4 compressed initrds

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1832108/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1832108] Re: unmkinitramfs fails with lz4 compressed initrds

2019-07-04 Thread Dimitri John Ledkov
$ file initrd.img 
initrd.img: LZMA compressed data, streamed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1832108

Title:
  unmkinitramfs fails with lz4 compressed initrds

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1832108/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1832108] Re: unmkinitramfs fails with lz4 compressed initrds

2019-07-04 Thread Dimitri John Ledkov
Testing on cm3

switch to partitions #0, OK
mmc0(part 0) is current device
LOADBOOTENV
** Unable to read file uEnv.txt **
Running uenvcmd ...
ENVCMD
6644040 bytes read in 282 ms (22.5 MiB/s) (this is kernel)
2852487 bytes read in 123 ms (22.1 MiB/s) (this is initrd)
FAT: Misaligned buffer address (023b8687)
42049 bytes read in 14 ms (2.9 MiB/s)

2019-07-04T15:35:05.998027+ localhost kernel: Unpacking initramfs...
2019-07-04T15:35:05.998089+ localhost kernel: Freeing initrd memory: 2828K

(not sure if above is true gzip decompression speed of initramfs or not)

Watching telnet, from reboot until "Press enter to configure" took
41.84s (42.25s 41.50s).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1832108

Title:
  unmkinitramfs fails with lz4 compressed initrds

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1832108/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1832108] Re: unmkinitramfs fails with lz4 compressed initrds

2019-06-25 Thread Launchpad Bug Tracker
This bug was fixed in the package initramfs-tools - 0.131ubuntu19.1

---
initramfs-tools (0.131ubuntu19.1) disco; urgency=medium

  * Patch unmkinitramfs to cat possible lz4 archives first, as lz4 is
particular about enforcing .lz4 file extensions when operating on
files. LP: #1832108

 -- Dimitri John Ledkov   Tue, 11 Jun 2019 16:17:51
+0100

** Changed in: initramfs-tools (Ubuntu Disco)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1832108

Title:
  unmkinitramfs fails with lz4 compressed initrds

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1832108/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1832108] Re: unmkinitramfs fails with lz4 compressed initrds

2019-06-24 Thread Dimitri John Ledkov
Reproduce the problem:

# dpkg-query -W initramfs-tools lz4
initramfs-tools 0.131ubuntu19
lz4 1.8.3-1ubuntu1

# sed -i 's/gzip/lz4/' /etc/initramfs-tools/initramfs.conf

# update-initramfs -c -k test

# lsinitramfs /boot/initrd.img-test 
cpio: premature end of archive

===

# sed 's/-updates/-proposed/' -i /etc/apt/sources.list
# apt update
# dpkg-query -W initramfs-tools lz4
initramfs-tools 0.131ubuntu19.1
lz4 1.8.3-1ubuntu1

# lsinitramfs /boot/initrd.img-test
...
all the files are listed


** Tags removed: verification-needed-disco
** Tags added: verification-done-disco

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1832108

Title:
  unmkinitramfs fails with lz4 compressed initrds

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1832108/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1832108] Re: unmkinitramfs fails with lz4 compressed initrds

2019-06-23 Thread Mathew Hodson
** No longer affects: initramfs-tools (Ubuntu Bionic)

** Tags added: regression-release

** Changed in: initramfs-tools (Ubuntu)
   Importance: Undecided => High

** Changed in: initramfs-tools (Ubuntu Cosmic)
   Importance: Undecided => High

** Changed in: initramfs-tools (Ubuntu Disco)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1832108

Title:
  unmkinitramfs fails with lz4 compressed initrds

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1832108/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1832108] Re: unmkinitramfs fails with lz4 compressed initrds

2019-06-18 Thread Brian Murray
The cosmic upload is blocked as we are waiting on verification of bug
1778844.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1832108

Title:
  unmkinitramfs fails with lz4 compressed initrds

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1832108/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1832108] Re: unmkinitramfs fails with lz4 compressed initrds

2019-06-18 Thread Brian Murray
Hello Dimitri, or anyone else affected,

Accepted initramfs-tools into disco-proposed. The package will build now
and be available at https://launchpad.net/ubuntu/+source/initramfs-
tools/0.131ubuntu19.1 in a few hours, and then in the -proposed
repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-disco to verification-done-disco. If it does not fix
the bug for you, please add a comment stating that, and change the tag
to verification-failed-disco. In either case, without details of your
testing we will not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: initramfs-tools (Ubuntu Disco)
   Status: In Progress => Fix Committed

** Tags added: verification-needed verification-needed-disco

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1832108

Title:
  unmkinitramfs fails with lz4 compressed initrds

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1832108/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1832108] Re: unmkinitramfs fails with lz4 compressed initrds

2019-06-11 Thread Bug Watch Updater
** Changed in: initramfs-tools (Debian)
   Status: Unknown => New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1832108

Title:
  unmkinitramfs fails with lz4 compressed initrds

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1832108/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1832108] Re: unmkinitramfs fails with lz4 compressed initrds

2019-06-11 Thread Dimitri John Ledkov
** Bug watch added: Debian Bug tracker #930366
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=930366

** Also affects: initramfs-tools (Debian) via
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=930366
   Importance: Unknown
   Status: Unknown

** Description changed:

+ [Impact]
+ 
+  * Cannot unpack initrds compressed with lz4 due to changes in lz4
+ 
+ [Test Case]
+ 
+ $ sudo apt install initramfs-tools lz4 file
+ $ mkinitramfs -c lz4 -o foo.img
+ $ lsinitramfs foo.img
+ cpio: premature end of archive
+ 
+ [Regression Potential]
+ 
+  * New lz4cat is more strict w.r.t. enforcing file name extensions, thus
+ the fix is to feed a stream to lz4cat instead of asking it to open a
+ file. The performance impact should be similar between both methods of
+ reading file contents during ls/unmk-initramfs time.
+ 
+ [Other Info]
+ 
+ Original bug report:
+ 
  unmkinitramfs fails with lz4 compressed initrds
  
  Note:
- 
  $ lz4cat -t unmkinitramfs_Cz6Yl9
  File extension doesn't match expected LZ4_EXTENSION (.lz4); will not process 
file: unmkinitramfs_Cz6Yl9
- 
- 
- And
- 
- $ lsinitramfs /boot/initrd.img
- kernel
- kernel/x86
- kernel/x86/microcode
- kernel/x86/microcode/.enuineIntel.align.0123456789abc
- kernel/x86/microcode/GenuineIntel.bin
- cpio: premature end of archive

** Changed in: initramfs-tools (Ubuntu Cosmic)
   Status: Confirmed => In Progress

** Changed in: initramfs-tools (Ubuntu Disco)
   Status: Confirmed => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1832108

Title:
  unmkinitramfs fails with lz4 compressed initrds

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1832108/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1832108] Re: unmkinitramfs fails with lz4 compressed initrds

2019-06-11 Thread Balint Reczey
This seems to be working on Bionic:

root@bb-qemu:~#  echo asd | lz4 > asd
root@bb-qemu:~# file asd
asd: LZ4 compressed data (v1.4+)
root@bb-qemu:~# lz4cat -t asd 
root@bb-qemu:~# echo $?
0


** Also affects: initramfs-tools (Ubuntu Bionic)
   Importance: Undecided
   Status: New

** Changed in: initramfs-tools (Ubuntu Bionic)
   Status: New => Invalid

** Also affects: initramfs-tools (Ubuntu Disco)
   Importance: Undecided
   Status: New

** Also affects: initramfs-tools (Ubuntu Cosmic)
   Importance: Undecided
   Status: New

** Changed in: initramfs-tools (Ubuntu Cosmic)
   Status: New => Confirmed

** Changed in: initramfs-tools (Ubuntu Disco)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1832108

Title:
  unmkinitramfs fails with lz4 compressed initrds

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1832108/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1832108] Re: unmkinitramfs fails with lz4 compressed initrds

2019-06-10 Thread Launchpad Bug Tracker
This bug was fixed in the package initramfs-tools - 0.133ubuntu8

---
initramfs-tools (0.133ubuntu8) eoan; urgency=medium

  * Switch back to lz4 by default.
  * Patch unmkinitramfs to cat possible lz4 archives first, as lz4 is
particular about enforcing .lz4 file extensions when operating on
files. LP: #1832108

 -- Dimitri John Ledkov   Mon, 10 Jun 2019 00:21:17
+0100

** Changed in: initramfs-tools (Ubuntu)
   Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1832108

Title:
  unmkinitramfs fails with lz4 compressed initrds

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1832108/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs