Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-24-2005, 07:26 PM   #1
LQ Newbie
Registered: Jan 2005
Distribution: Mandrake
Posts: 2

Rep: Reputation: 0
Post invalid compressed format (err=1)

I am an experienced engineer, but relatively new to Linux. Perhaps this question may be to technical for the newbee list, however, I thought I would start there. I appologize if this is not the right forum for this level of topic.

I have been working on updating a kernel based on Mandrake 7.1 (2.2.17) to 2.4.17 or 2.4.28 neither of which works. The kernel installs fine and appears to build fine, however, I get the following message each time I attempt to boot the image.

invalid compressed format (err=1)

system halted

The code base that I am working with is based on Mandrake 7.1 and it would be difficult to move to say Mandrake 10.0. Instead, I would like to update the kernel to a later version. I know this can be done because the product uses 2.4.17 as the kernel and all I am trying to do is update the development system to the same kernel level or newer. The code compiles and links fine without any errors until the image is booted. I have searched and seen lots of references to this type of error when installing a new Linux distribution, ether from CD, Floppy or RAM Disk. No reference to this problem with regards to booting from the hard drive or after having rebuilt the kernel. I am using Grub to boot the image. The old image boots fine, but the new one gets the above error. I have painstakingly looked over the .configs from both kernels to try and keep the same configurations.

I don't believe that this has anything to do with the type of drive or controller card. The SCSI driver is suspect as it would be different between the two kernels, however, I would expect that to have nothing to do with the compression format of the file, unless the real problem is a read error or corrupt data and not invalid compressed format.

I am at a loss as to how to proceed. Any help would be greatly appreciated.

I am suspect of the initrd file as the 2.2.17 Kernel had an initrd file while the new one does not. I have tried to generate the initrd file, but this is where I run into problems. It appears that the make modules and make modules_install did not provide a SCSI driver in the /lib/modules text file, so that when I run mkinitrd I get an error something like aic7xxx driver not found.

These problems are likely related but not sure at this point.

Any help would be greatly appreciated. Thanks in advance for any help.
Old 01-25-2005, 05:27 AM   #2
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
One important thing: you need to upgrade libc to run kernel 2.4 and upgrade to even newer version for 2.6. I recommed to try with latest libc, it should work and you'll have bigger choice of kernels. BUT: upgrading libc main be pain, it's main system library (but 2.2. should still work with it). In case of problems: do backup

Don't know what's the driver there are problems with, but check your new kernel configuration and make sure there's everything you need. If you have problems with initrd, build a kernel not requiring one - build everything you really need into the kernel (but warning here: it has a maximum size).
Old 01-27-2005, 11:19 AM   #3
LQ Newbie
Registered: Jan 2005
Distribution: Mandrake
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for the information. I discovered that the problem was I did not install the kernel source properly. I installed in /usr/src/linux. The README says don't do that. (RTRME) Also I did not do a make mrproper. Once I installed the kernel in my home directory and ran make mrproper, followed by make config, followed by make deps && make bzImage && make modules && make modules_install the kernel booted properly.
It just complains about no initrd image. Now I am on to mkinitrd as this fails to build due to "No module aic7xxx in kernel 2.4.17 found" or something like that. I am now looking at the modules.txt to make sure that I have the modules setup correctly. Thanks again for your information. It got me looking in another place and I found information that got me to the documenation and the readme. I skipped the README because I was working with a Linux Redhat Unleashed book. I will not ignore READMEs again

Thanks again,


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
invalid compressed format (err 1) oxman Fedora - Installation 4 05-04-2007 03:18 PM
invalid compressed format (err=1) typul Fedora - Installation 1 11-05-2005 11:12 PM
invalid compressed format (err=1) kl365 Slackware 1 06-28-2004 11:14 AM
invalid compressed format (err=2) mikeyjoon Linux - Software 1 08-20-2003 07:17 PM
invalid compressed format (err=1) shameless Linux - General 1 08-16-2003 11:15 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:19 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration