Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 151500 - sys-kernel/genkernel-3.4.2 - keymaps.tar.gz currpted?
Summary: sys-kernel/genkernel-3.4.2 - keymaps.tar.gz currpted?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2006-10-15 13:44 UTC by Alon Bar-Lev (RETIRED)
Modified: 2006-10-25 15:56 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alon Bar-Lev (RETIRED) gentoo-dev 2006-10-15 13:44:06 UTC
Hello,

I've noticed that initramfs creation fails at:
*         >> Creating auxilary cpio archive...

# tar -tzf /usr/share/genkernel/generic/keymaps.tar.gz
tar: This does not look like a tar archive
tar: Skipping to next header

gzip: stdin: invalid compressed data--format violated
tar: Child returned status 1
tar: Error exit delayed from previous errors

Previous version was OK as far as I remember.
Comment 1 Raúl Casado 2006-10-16 02:19:17 UTC
I am getting the same message but when I do an emerge -B and then an emerge -k. The last tar update seems to have a bug. Having tar-1.15.1-r1 installed seems to resolved the problem. Try to downgrade to this version.
Comment 2 Raúl Casado 2006-10-16 02:22:35 UTC
This bug is a duplicated of bug 151146
Comment 3 Norberto Bensa 2006-10-16 07:54:55 UTC
Nope. I downgraded tar to 1.15.91, and nothing changed. Upgraded tar to 1.15.92-r1 and downgraded genkernel to 3.4.1. The problem is with genkernel 3.4.2.


Comment 4 Ricardo Lanziano 2006-10-16 22:32:54 UTC
I can also confirm this bug, i had to downgrade to genkernel 3.4.1 in order to build a new initrd today.

* Gentoo Linux Genkernel; Version 3.4.2
* Running with options: --gensplash=livecd-2006.1 initrd

* Linux Kernel 2.6.18-gentoo-r1 for x86...
* initramfs: >> Initializing...
*         >> Creating base_layout cpio archive...
*         >> Creating auxilary cpio archive...
/bin/tar: This does not look like a tar archive
/bin/tar: Skipping to next header

gzip: stdin: invalid compressed data--format violated
/bin/tar: Child returned status 1
/bin/tar: Error exit delayed from previous errors
*         >> Creating busybox cpio archive...
*         >> Creating insmod cpio archive...
*         >> Creating modules cpio archive...
*   >> Installing gensplash [ using the livecd-2006.1 theme ]...

* Merging
*     initramfs-base-layout.cpio.gz
*     initramfs-aux.cpio.gz
*     initramfs-busybox-1.1.3+gentoo.cpio.gz
*     initramfs-insmod-0.9.15-pre4.cpio.gz
*     initramfs-modules-2.6.18-gentoo-r1.cpio.gz
*     initramfs-splash-2.6.18-gentoo-r1.cpio.gz

...

* Gentoo Linux Genkernel; Version 3.4.1
* Running with options: --gensplash=livecd-2006.1 initrd

* Linux Kernel 2.6.18-gentoo-r1 for x86...
* initramfs: >> Initializing...
*         >> Creating base_layout cpio archive...
*         >> Creating auxilary cpio archive...
*         >> Creating busybox cpio archive...
*         >> Creating insmod cpio archive...
*         >> Creating modules cpio archive...
*   >> Installing gensplash [ using the livecd-2006.1 theme ]...

* Merging
*     initramfs-base-layout.cpio.gz
*     initramfs-aux.cpio.gz
*     initramfs-busybox-1.1.3+gentoo.cpio.gz
*     initramfs-insmod-0.9.15-pre4.cpio.gz
*     initramfs-modules-2.6.18-gentoo-r1.cpio.gz
*     initramfs-splash-2.6.18-gentoo-r1.cpio.gz
Comment 5 Chris Gianelloni (RETIRED) gentoo-dev 2006-10-20 14:05:52 UTC
OK... I updated the file genkernel-pkg-3.4.tar.bz2 with the proper one...

I'm sure this will confuse some people, but I'm away from my main development system and have no other way to fix this.  Let me know if this works for you.
Comment 6 Alon Bar-Lev (RETIRED) gentoo-dev 2006-10-21 11:23:13 UTC
Hi!
It does not work.
The problem is in /usr/share/genkernel/generic/keymaps.tar.gz which is not part of genkernel-pkg-3.4.tar.bz2, but of genkernel-3.4.2.tar.bz2.
Regards,
Comment 7 Chris Gianelloni (RETIRED) gentoo-dev 2006-10-23 07:30:07 UTC
OK.  The file wasn't set as a binary in subversion.  I've now fixed this.
Comment 8 Chris Gianelloni (RETIRED) gentoo-dev 2006-10-23 09:11:10 UTC
Fixed in 3.4.3
Comment 9 Norberto Bensa 2006-10-24 18:12:57 UTC
Is it really fixed?

zoolook@venkman ~ $ eix genkernel
[D] sys-kernel/genkernel
     Available versions:  3.3.10 3.3.11d 3.4.0-r1 3.4.1
     Installed:           3.4.3[11:01:58 AM 10/24/2006][-ibm]
     Homepage:            http://www.gentoo.org
     Description:         Gentoo autokernel script


zoolook@venkman ~ $ sudo genkernel --no-clean --oldconfig --postclear --lvm2 all
* Gentoo Linux Genkernel; Version 3.4.3
* Running with options: --no-clean --oldconfig --postclear --lvm2 all

* Linux Kernel 2.6.18-gentoo-r1 for x86...
* config: >> Running oldconfig...
* config: --no-clean is enabled; leaving the .config alone.
*         >> Compiling 2.6.18-gentoo-r1 bzImage...
*         >> Compiling 2.6.18-gentoo-r1 modules...
* Copying config for successful build to /etc/kernels/kernel-config-x86-2.6.18-gentoo-r1
* module-init-tools: >> Configuring
*                    >> Compiling...
*                    >> Copying to cache...
* busybox: >> Configuring...
* busybox: >> Compiling...
* busybox: >> Copying to cache...
* initramfs: >> Initializing...
*         >> Creating base_layout cpio archive...
*         >> Creating auxilary cpio archive...
/bin/tar: This does not look like a tar archive
/bin/tar: Skipping to next header

gzip: stdin: invalid compressed data--format violated
/bin/tar: Child returned status 1
/bin/tar: Error exit delayed from previous errors
*         >> Creating busybox cpio archive...
*         >> Creating lvm2 cpio archive...
*               LVM2: Adding support (using local static binaries)...
*         >> Creating insmod cpio archive...
*         >> Creating modules cpio archive...

* Merging
*     initramfs-base-layout.cpio.gz
*     initramfs-aux.cpio.gz
*     initramfs-busybox-1.1.3+gentoo.cpio.gz
*     initramfs-insmod-0.9.15-pre4.cpio.gz
*     initramfs-lvm2-2.00.25.cpio.gz
*     initramfs-modules-2.6.18-gentoo-r1.cpio.gz
*
* Kernel compiled successfully!
*
* Required Kernel Parameters:
*     real_root=/dev/$ROOT
*
*     Where $ROOT is the device node for your root partition as the
*     one specified in /etc/fstab
*
* If you require Genkernel's hardware detection features; you MUST
* tell your bootloader to use the provided INITRAMFS file. Otherwise;
* substitute the root argument for the real_root argument if you are
* not planning to use the initrd...

* WARNING... WARNING... WARNING...
* Additional kernel cmdline arguments that *may* be required to boot properly...
* add "vga=791 splash=silent" if you use a bootsplash framebuffer
* add "dolvm2" for lvm2 support

* Do NOT report kernel bugs as genkernel bugs unless your bug
* is about the default genkernel configuration...
*
* Make sure you have the latest genkernel before reporting bugs.

* RUNNING FINAL CACHE/TMP CLEANUP
* CACHE_DIR: /usr/share/genkernel/pkg/x86
* Clearing cache dir contents from /usr/share/genkernel/pkg/x86
*        >> removing busybox-1.1.3+gentoo-x86.bz2
*        >> removing insmod-x86-static-2.6.bz2

* CACHE_CPIO_DIR: /usr/share/genkernel/pkg/x86/cpio
*         >> Clearing old cpio archives...

* TMPDIR: /var/tmp/genkernel
* Removing tmp dir contents
*        >> removing 19672.8550.28729.793
rm: cannot remove `/var/tmp/genkernel/19672.8550.28729.793': Is a directory
*        >> removing initramfs-2.6.18-gentoo-r1
Comment 10 Alon Bar-Lev (RETIRED) gentoo-dev 2006-10-24 22:51:45 UTC
Confirmed.
Does not work for me either, generic/keymaps.tar.gz in genkernel-3.4.3.tar.bz2 still invalid.
Comment 11 Chris Gianelloni (RETIRED) gentoo-dev 2006-10-25 15:45:50 UTC
What the hell... I tested the stinking thing like 5 times before I made the commit and it worked perfectly, now it does not.  I'm looking into this now.
Comment 12 Chris Gianelloni (RETIRED) gentoo-dev 2006-10-25 15:56:44 UTC
Fixed in 3.4.4 (I hope... worked here on 4 machines)...