Post Reply 
 
Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
UEFI: Kernel Panic randomly 'initramfs unpacking failed junk in compressed archive'
11-26-2014, 12:44 AM
Post: #1
Exclamation UEFI: Kernel Panic randomly 'initramfs unpacking failed junk in compressed archive'
Hi.

I'm really liking the look of NeptuneOS - I have one major issue though and I believe it is UEFI related.

This OS is the only one I have with issues - I am happily booting the following systems (each with their own UEFI entry)

Kubuntu 14.10
Arch
OpenSuse 13.2

I installed NeptuneOS and it created a UEFI entry called 'UEFI OS'

It booted fine until and was working until randomly (potentially after remaking the initrd file after an update) I am unable to boot and get the following error

Initramfs unpacking failed: junk in compressed archive
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block{0,0}

Screenshot : http://imgur.com/M9w3fZs

And I will not be able to boot again via the UEFI entry / grub
I can then boot it via rEFInd - this has 2 entrys for Neptune OS - one the normal grub entry and one directly from the EFI STUB loader this method ALWAYS loads NeptuneOS fine.

I believe it is because (a) neptune OS is not using grub2 ? (b) The installer failed to write the EFI boot line in /etc/fstab

I reinstalled and the same thing happened after just (a) installation in UEFI mode (b) the command

sudo update-initramfs -u

After doing that command on a fresh install I then got the 'kernel Panic 'initramfs unpacking failed junk in compressed archive' again - and again I could boot via rEFInd

As mentioned I run multiple other OS's in UEFI mode with now issue.

Please can you confirm what I can do to start trouble shooting this?
Find all posts by this user
Quote this message in a reply
11-26-2014, 12:32 PM
Post: #2
RE: UEFI: Kernel Panic randomly 'initramfs unpacking failed junk in compressed archive'
The theory I currently have is that the EFI partition was not mounted correctly to /boot/efi . Can you check that with gparted please.
If it isn't mounted could you mount it manually and try updating the initramfs again.
I wonder if thats the issue.
Also please paste (use quotations or code tags for this) the content of /etc/fstab.
Visit this user's website Find all posts by this user
Quote this message in a reply
11-26-2014, 12:56 PM
Post: #3
RE: UEFI: Kernel Panic randomly 'initramfs unpacking failed junk in compressed archive'
PS: I noticed that the fstab creator does not put in the uefi partition to be mounted automatically. I hope this is the only problem causing your issue. It would fix this issue pretty easily.
Visit this user's website Find all posts by this user
Quote this message in a reply
11-26-2014, 10:47 PM
Post: #4
UEFI: Kernel Panic randomly 'initramfs unpacking failed junk in compressed archive
Hi

Here is my fstab.

Note : I manually added the /boot/efi one (the only one I added)

Code:
------------------------------------------------------------------------------------------------------------------

UUID=2abd5f6a-0444-4b55-b4c1-191efc788aef swap swap defaults 0 0
UUID=c451871d-f541-4d8d-a1e3-9ba17d763d0d / btrfs defaults 0 0
UUID=c451871d-f541-4d8d-a1e3-9ba17d763d0d /boot/grub2/i386-pc btrfs subvol=boot/grub2/i386-pc 0 0
UUID=c451871d-f541-4d8d-a1e3-9ba17d763d0d /boot/grub2/x86_64-efi btrfs subvol=boot/grub2/x86_64-efi 0 0
UUID=c451871d-f541-4d8d-a1e3-9ba17d763d0d /opt btrfs subvol=opt 0 0
UUID=c451871d-f541-4d8d-a1e3-9ba17d763d0d /srv btrfs subvol=srv 0 0
UUID=c451871d-f541-4d8d-a1e3-9ba17d763d0d /tmp btrfs subvol=tmp 0 0
UUID=c451871d-f541-4d8d-a1e3-9ba17d763d0d /usr/local btrfs subvol=usr/local 0 0
UUID=c451871d-f541-4d8d-a1e3-9ba17d763d0d /var/crash btrfs subvol=var/crash 0 0
UUID=c451871d-f541-4d8d-a1e3-9ba17d763d0d /var/lib/mailman btrfs subvol=var/lib/mailman 0 0
UUID=c451871d-f541-4d8d-a1e3-9ba17d763d0d /var/lib/named btrfs subvol=var/lib/named 0 0
UUID=c451871d-f541-4d8d-a1e3-9ba17d763d0d /var/lib/pgsql btrfs subvol=var/lib/pgsql 0 0
UUID=c451871d-f541-4d8d-a1e3-9ba17d763d0d /var/log btrfs subvol=var/log 0 0
UUID=c451871d-f541-4d8d-a1e3-9ba17d763d0d /var/opt btrfs subvol=var/opt 0 0
UUID=c451871d-f541-4d8d-a1e3-9ba17d763d0d /var/spool btrfs subvol=var/spool 0 0
UUID=c451871d-f541-4d8d-a1e3-9ba17d763d0d /var/tmp btrfs subvol=var/tmp 0 0
UUID=AD15-5A14 /boot/efi vfat umask=0002,utf8=true 0 0
UUID=df21b467-40c5-43f9-b986-f298f1bb367e /home xfs defaults 1 2
UUID=c451871d-f541-4d8d-a1e3-9ba17d763d0d /.snapshots btrfs subvol=.snapshots 0 0

-----------------------------------------------------------------------------------------------------------------

Right now again I am able to only boot via rEFInd not grub provided by NeptuneOS...

It did boot originally (and will randomly..) via neptune's grub. (odd)

It is 100% using EFI (dmesg|grep -i efi -> shows lots of lines for a start..)

And just to confirm

Code:
ls -la /dev/disk/by-uuid/ |grep AD15-5A14
lrwxrwxrwx 1 root root  10 Nov 26 20:36 AD15-5A14 -> ../../sda1


Code:
root@neptune: /home/morgan # gdisk -l /dev/sda  
GPT fdisk (gdisk) version 0.8.5

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.
Disk /dev/sda: 3907029168 sectors, 1.8 TiB
Logical sector size: 512 bytes
Disk identifier (GUID): 0DB17ECD-5F21-454B-9983-34A5BB5E302A
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 3907029134
Partitions will be aligned on 2048-sector boundaries
Total free space is 2598572141 sectors (1.2 TiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048          321535   156.0 MiB   EF00  primary
....
Find all posts by this user
Quote this message in a reply
11-27-2014, 01:32 AM (This post was last modified: 11-27-2014 01:33 AM by leszek.)
Post: #5
RE: UEFI: Kernel Panic randomly 'initramfs unpacking failed junk in compressed archive'
Quote:It did boot originally (and will randomly..) via neptune's grub. (odd)

Ok then this is another issue. An odd one surely.
I tried to reproduce it here but failed so far.
Maybe it has todo with the implementation of your uefi and the version of grub we use.

As you are using rEFInd it might also have something todo with this issue. As I understand it correctly it is another efi bootmanager.
If it is working fine for you I would say stick to it.
Visit this user's website Find all posts by this user
Quote this message in a reply
11-27-2014, 11:21 PM (This post was last modified: 11-27-2014 11:27 PM by yossarianuk.)
Post: #6
RE: UEFI: Kernel Panic randomly 'initramfs unpacking failed junk in compressed archive'
Sorry - I gave you the fstab from opensuse 13.2 ! Tongue

The one below is the NeptuneOS one.

Code:
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
sys             /sys            sysfs   defaults        0       0
UUID=c775e105-7158-4039-9466-61a9cbcbafba       /               btrfs defaults 0       1
UUID=AD15-5A14 /boot/efi vfat umask=0002,utf8=true 0 0
UUID=2abd5f6a-0444-4b55-b4c1-191efc788aef none swap sw 0 0
/dev/sr0 /media/cdrom0 udf,iso9660 ro,user,noauto 0 0


rEFInd is 100% not the cause of the problem.

I installed it after having issue with NeptuneOS.

It is a boot loader that picks up EFI Grub entries as well as any kernels is detects of any partition (i.e directly - without grub)

Quote:If it is working fine for you I would say stick to it.

Sure I will do - however the grub way should work (it did to begin with) all other distros I can load via their grub...

Shall I report this as a bug?
Find all posts by this user
Quote this message in a reply
11-28-2014, 12:38 AM
Post: #7
RE: UEFI: Kernel Panic randomly 'initramfs unpacking failed junk in compressed archive'
Quote:Shall I report this as a bug?
You mean upstream (to grub directly) ?
You can try it.
Visit this user's website Find all posts by this user
Quote this message in a reply
11-29-2014, 01:57 PM
Post: #8
RE: UEFI: Kernel Panic randomly 'initramfs unpacking failed junk in compressed archive'
Well its not happening on other distros - Debian stable (wheezy) also seems ok also so unlikely to be upstream grub issue;.

Is this perhaps due to not having grub2 ?

One thing I haven't mentioned also is that I am not using Secure boot - just UEFI.

One thing I have found odd also is that the livecd of NeptuneOS boot via UEFI (my machine is set to only boot UEFI - no legacy btw) looking at 'dmesg |grep -i efi' in the livecd looks like its not really using UEFI - however when Neptune OS is installed and I boot from that if I do dmesg |grep -i efi' I can see it is using UEFI - all other distros livecd's I can think of does looks like its using UEFI from the livecd/installer.
Find all posts by this user
Quote this message in a reply
11-29-2014, 09:05 PM
Post: #9
RE: UEFI: Kernel Panic randomly 'initramfs unpacking failed junk in compressed archive'
Quote:Is this perhaps due to not having grub2 ?
We ship grub2.

Quote:One thing I haven't mentioned also is that I am not using Secure boot - just UEFI.
Thats good. Most distributions don't support secure boot.

Quote:One thing I have found odd also is that the livecd of NeptuneOS boot via UEFI (my machine is set to only boot UEFI - no legacy btw) looking at 'dmesg |grep -i efi' in the livecd looks like its not really using UEFI - however when Neptune OS is installed and I boot from that if I do dmesg |grep -i efi' I can see it is using UEFI - all other distros livecd's I can think of does looks like its using UEFI from the livecd/installer.
Yes ist is using efi then.
Visit this user's website Find all posts by this user
Quote this message in a reply
11-29-2014, 11:03 PM (This post was last modified: 11-29-2014 11:06 PM by yossarianuk.)
Post: #10
RE: UEFI: Kernel Panic randomly 'initramfs unpacking failed junk in compressed archive'
What should I do to progress this ?

I doubt it would be a grub issue (as various other systems work fine) - Arch linux uses the most recent stable version of grub (like nearly all its packages) and that is fine (I obviously had to manually install that also - being arch linux ..)

There is a bug that is 100% repeatable and seems specific to NeptuneOS

Are there any logs/info I can send to help?

p.s - really liking the distro - I think it is likely to BFS scheduler but it seems a more snappy desktop than any of the others I have tried (except maybe Gentoo - but not used that in over 2 years)

p.p.s - also tried Kubuntu 14.10 + Plasma 5.1 PPA - its coming on really well (if a bit buggy still) - uses less resources than kde/plasma 4.x
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)