Linux - KernelThis forum is for all discussion relating to the Linux kernel.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
bunzip2: Data integrity error when decompressing.
...
It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.
# bzip2 -tvv linux-2.4.26.tar.bz2
Code:
...
[27: huff+mtf data integrity (CRC) error in data
I've searched and searched and haven't found anything like this before. It does the same thing on both machines I've tried (xubuntu dapper, debian sarge), and I seem to get the same errors with different kernel versions, not only 2.4.26.
Quite confused,
on the debian machine, tar -xvjf linux-2.4.26.tar.bz2 outputs a long list of source files, and ends with
Code:
linux-2.4.26/include/asm-alpha/core_apecs.h
bzip2: Data integrity error when decompressing.
...
It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.
On the ubuntu machine, every line that is output has the name of the source file, then
Code:
Cannot change ownership to uid 573, gid 573: Operation not permitted
also, i've downloaded the source many,many times, so if the download had an error, they have all had errors. I can't get my head around this one.
Last edited by ErrorBound; 06-27-2006 at 08:37 PM.
This would suggest it is in fact a corrupted archive, I tried to uncompress the same file without problems so it seems it may have been corrupted during download.
Quote:
Cannot change ownership to uid 573, gid 573: Operation not permitted
In this case try passing the --no-same-owner option. This won't make a difference unless you were extracting as root.
Thanks for the help. It seems that if I do tar -xjvf as a regular user instead of as root, the extractiong works fine. This is on the debian machine, with the same file that was "corrupted" when I tried to extract as root. Oh well, I don't understand, but I'll take it and run anyway if it works...
maybe I just have a really nutty machine -- tried copying the unzipped directory over to /usr/src:
Code:
cp -r linux-2.4.26 /usr/src
which somehow crashes, and gives a segmentation fault. Now the machine boots partially, mounts the file system read-only, and asks for a root password to perform maintenance, but the keyboard isn't recognized.
Basically if you extract as root the default behaviour is for files inside a tar archive to retain the same UID and GID as when they were packed. In this case this kernel's files were owned by a user and group with id 573. But on your machine there is no user or group with a numeric id of 573: hence the operation is not permitted.
As for your other problem I'm afraid I have no idea. Sorry
Thanks for the help again, I've solved it now. This is a machine that was given to me for free and all sorts of things were giving me weird errors. I tried taking out one of the memory sticks and now everything works fine. It was either bad or mismatched memory.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.