Bug 50211 - Input was encoded with settings that are not supported by this XZ decoder
Summary: Input was encoded with settings that are not supported by this XZ decoder
Status: RESOLVED INVALID
Alias: None
Product: Other
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: P1 high
Assignee: other_other
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-07 09:29 UTC by xiaojin
Modified: 2012-11-08 01:20 UTC (History)
1 user (show)

See Also:
Kernel Version: 3.4.0
Tree: Mainline
Regression: No


Attachments

Description xiaojin 2012-11-07 09:29:28 UTC
kernel 3.4.0,and 
[*] Initial RAM filesystem and RAM disk (initramfs/initrd) support  
[*]   Support initial ramdisks compressed using XZ 

 <*>   RAM block device support 
(4)     Default number of RAM disks   
 (8192)  Default RAM disk size (kbytes)    


# cd rootfs
# find .| cpio -o -H newc > ../a.cpio

root [ xz-5.0.0 ]# src/xz/xz  -V
xz (XZ Utils) 5.0.0
liblzma 5.0.0

root [ xz-5.0.0 ]# src/xz/xz  /tmp/a.cpio 

my grub.conf 
----------------------------
timeout 1
default 1

title rootfs-2.07
   root (hd0,1)
   kernel /boot/3.4.0 console=tty0 
   initrd /boot/a.cpio.xz


KERNEL boot info 
---------------------------

.....

L2TP core driver, V2.0
L2TP IP encapsulation support (L2TPv3)
L2TP netlink interface
L2TP ethernet pseudowire support (L2TPv3)
8021q: 802.1Q VLAN Support v1.8
Using IPI No-Shortcut mode
rtc_cmos 00:03: setting system clock to 2012-11-07 17:03:22 UTC (1352307802)
RAMDISK: xz image found at block 0
Input was encoded with settings that are not supported by this XZ decoder
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
Comment 1 Alan 2012-11-07 17:12:35 UTC
Your xz encoder must be told to generate crc32 (xz --check=crc32) as embedded XZ does not support sha256/crc64
Comment 2 xiaojin 2012-11-08 01:20:37 UTC
thanks!

Note You need to log in before you can comment on or make changes to this bug.