Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 26446 - genkernel and other .tbz2 files on pentium3 1.4 final GRP CD are corrupt
Summary: genkernel and other .tbz2 files on pentium3 1.4 final GRP CD are corrupt
Status: RESOLVED WONTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-11 19:31 UTC by John Bindel
Modified: 2011-10-30 22:21 UTC (History)
1 user (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 John Bindel 2003-08-11 19:31:13 UTC
While attempting an install without network using CDs burned from the 1.4 final
pentium3 ISO images, the installation process fails to validate genkernel and
decides to try to download the package.  It also does this for gentoo-sources
and all of the system logger tbz2 files.  Testing the genkernel-1.5.tbz2 file with 
`tar -tjvf genkernel-1.5.tbz2` gives the following error for usr/sbin/genkernel
"bzip2: (stdin): trailing garbage after EOF ignored".  The file
/usr/sbin/genkernel cannot be extracted.  The emerge utility does not try to
extract it because the md5sum that the portage system expects from the file does
not match for the .tbz2 file.

Reproducible: Always
Steps to Reproduce:
1. Install using pentium3 ISO images. (d6004e2f8b383c0aed4f9c5cfa1381e4 
pentium3-1.4-20030801-cd1.iso)
2. At the point of installing the kernel and genkernel, the system will attempt
to load the source tar.bz2 files from the network.
3. Compare the md5sum of genkernel-1.5.tbz2 to the portage tree's expected value.

Actual Results:  
I was unable to install the kernel, genkernel, and system logger without network
access to download intact .tar.bz2 files.

Expected Results:  
I should have been able to install a kernel, genkernel, and system logger using
the source tarballs on the GRP CDROMs.

I burned the CDs twice thinking that I might have had a problem.  The ISO images
produce the correct md5 checksums, and cdrecord reports no problems.  The
cdrecord buffer minimum buffer fill percentage was 81%, so I don't think any CD
burning problems are involved.
Comment 1 John Bindel 2003-08-12 21:41:09 UTC
Extracting the genkernel tbz2 file from the md5sum-validated ISO CD image shows that it is corrupt, so it is definately not a CD-burning issue.
Comment 2 James Roberts-Thomson 2003-08-14 14:02:35 UTC
FYI, I also observed similar behaviour on my i686 LiveCD when I was trying to 
install.  With no network connection, "emerge -k genkernel" attempted to 
download sources. 
 
However, this was because the .tbz2 image in "packages" was genkernel-1.5, 
whereas the latest .ebuild in /usr/portage/sys-kernels/genkernel was 
genkernel-1.2.  "Cp"ing genkernel-1.2 to genkernel-1.5 caused the "emerge -k" 
to succeed. 
 
It would appear that the portage tree and packages directory are not in sync 
on the LiveCD Images. 
Comment 3 Daniel Robbins (RETIRED) gentoo-dev 2003-09-09 22:21:02 UTC
The 1.4 maintenance release 1 will have portage snapshots that are 100% in-sync with the tbz2 collection. But this points out a strange portage bug. Even with genkernel-1.2 in /usr/portage and genkernel-1.5 available as .tbz2, emerge -k *should* have used genkernel-1.5. So I'm forwarding this bug over to Nick.
Comment 4 John Pywtorak 2003-11-24 13:29:10 UTC
This also happens with the pentium4 ISO's.  I also had this problem with the pentium3 ISO's.  I have two machines I was attempting this on with each type of chip.

I did not have a problem with gentoo-sources, or genkernel.  However, I did have this problem with hotplug, metalog (actually any of the system loggers don't work), and vcron (actually any of the CRON Daemons don't work).

WORKAROUND (Potentially dangerous, not really sure):
# emerge -k /usr/portage/packages/ALL/desired_package.tbz2

This worked and solved the dependency problem. However, I found it odd that hotplug depended on an *rc3 usbutils, packages had an rc1, once I did the workaround, hotplug no longer had the dependency even though I installed an older usbutils?  This is why I mention the hotplug as dangerous.

John Pywtorak
Cal Poly
jpywtora@calpoly.edu
Comment 5 Brad House 2004-01-18 13:53:01 UTC
well, too late now, 2004.0 is about out.