Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
unexpected EOF when extracting stage3 tarball
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
naturegirl
n00b
n00b


Joined: 11 Mar 2006
Posts: 35
Location: Beijing

PostPosted: Sat Mar 11, 2006 7:59 pm    Post subject: unexpected EOF when extracting stage3 tarball Reply with quote

When I install Gentoo I always get the error when I unpack my stage tarballs


gentoo# tar -xvjpf stage3-x86-2006.0.tar.bz2

(...)
./usr/lib/perl5/5.8.7/i386-linux/auto/Encode/CN.so

bzip2: Compressed file ends unexpectedly; perhaps corruped? *possible reason follows

bzip2: Inappropriate ioctl for device
input file = (stdin), output file = (stdout)

It is possible that the compressed file(s) have become corrupted
you can use -tvv option to test integrity of such files
you can use 'bzip2recover' program to attempt to recover data from undamaged sections of corruped files

tar: unexpected EOF in archive
tar: unexpected EOF in archive
tar: Error is not recoverable: exiting now
---------------------

When I try
gentoo# bzip2 -tvv stage3-*.bz2
it stops with
[158:huff+mtf file ends unexpectedly

I tried extracting i686 tarballs, I tried copying it over to the hard disk from cdrom before, I tried reburning the iso-image, I tried downloading the stage tarballs separately, but it always give me unexpected EOF error.
I also read in one thread that I shouldn't bother about the error, but that's not the case, since the system doesn't work properly and several libraries are still missing.

Thank you for any help and I hope that this topic is not something already mentioned x times before. But I was researching and trying for hours and couldn't find anything :-)
Back to top
View user's profile Send private message
ds_matty
n00b
n00b


Joined: 11 Mar 2006
Posts: 14
Location: US-MA

PostPosted: Sat Mar 11, 2006 8:48 pm    Post subject: Reply with quote

I had the same problem several times in a row with the x86, even after dling a new tarball. I ended up switching to i686 and it worked fine for me after that. Not sure what the problem was. I was installing on an AMD733 with 256M generic Compaq factory ram and a single 40GB WD with a trident video card and no soundcard.

The only suggestion I can give is to keep trying, I know thats not much help though. Good luck though
_________________
-Rules And Models Destroy Genuis And Art-
-Caffeine is not a drug, its a food group-
Linux User 204867
http://digitalstratosphere.net
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4734
Location: Angra do Heroísmo (PT)

PostPosted: Sat Mar 11, 2006 9:07 pm    Post subject: Reply with quote

Hi and welcome to the forums.

Are you sure that you mounted your disk partitions under /mnt/gentoo? Are you extracting the stage tarball in /mnt/gentoo? You should also check the stage tarball with the md5 file. Look at the output of df -Th.
_________________
Jorge.

Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
Back to top
View user's profile Send private message
naturegirl
n00b
n00b


Joined: 11 Mar 2006
Posts: 35
Location: Beijing

PostPosted: Sat Mar 11, 2006 11:19 pm    Post subject: [solved] Reply with quote

yes, I finally finished downloading the i686 and it works fine :-)
well, I still wonder what the problem was... :roll:
Back to top
View user's profile Send private message
ds_matty
n00b
n00b


Joined: 11 Mar 2006
Posts: 14
Location: US-MA

PostPosted: Sun Mar 12, 2006 2:43 am    Post subject: Reply with quote

I don't know, I did both of my AMD machines with the x86 and had the problem, it crashed on different packages so I could never pin point it to a specific error. When I tried the i686 stage 3 tarball on both machines it worked without a hitch. I have been thinking about it and the only thing in common that I can think of is that they are both AMD's -733 and 900- and they both have 256 meg of factory compaq ram. Other then that they are complete kludges. It would be intereasting to hear if anyone else had similar problems with the x86stage3 tarball. I ran the checksum on all my downloads and it came back fine. I don't have any Intel boxes to try out the compaq memory with though.
_________________
-Rules And Models Destroy Genuis And Art-
-Caffeine is not a drug, its a food group-
Linux User 204867
http://digitalstratosphere.net
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4734
Location: Angra do Heroísmo (PT)

PostPosted: Sun Mar 12, 2006 5:03 am    Post subject: Reply with quote

ds_matty and naturegirl,

if both of you solved the problem by using the i686 stage tarball instead of the x86 tarball, I would open a new bug in https://bugs.gentoo.org and let the developers check this out.
_________________
Jorge.

Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
Back to top
View user's profile Send private message
ds_matty
n00b
n00b


Joined: 11 Mar 2006
Posts: 14
Location: US-MA

PostPosted: Sun Mar 12, 2006 11:30 am    Post subject: Reply with quote

I think that I will, naturegirl, when you get a sec could you give me a quick run down of your hardware. If I am going to file a bug I want to try and give them as much info about our hardware and the steps we took. Can you remember what steps you took from the beginning including what you typed for commands? Did it ever give you the EOF at the same place twice? Did it ever give you the EOF with the i686 tarball? Did you happen to check the downloads for consistency? Did you use a LiveCD or do a net install and if you used the net install do you remember what mirror you got the tarballs from?

Thanks for the info, hope the rest of the install went well.
_________________
-Rules And Models Destroy Genuis And Art-
-Caffeine is not a drug, its a food group-
Linux User 204867
http://digitalstratosphere.net
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4734
Location: Angra do Heroísmo (PT)

PostPosted: Sun Mar 12, 2006 1:34 pm    Post subject: Reply with quote

I've just re-read the thread and now that I'm less sleepy, I realize this is really weird. If you have AMD processors, you should be using the x86 tarball, instead of the i686 tarball. The latter should give you problems when you chroot, because it's not compatible with your processor. Were you able to complete the install and booting with your new system? This really needs to be reported as a bug.
_________________
Jorge.

Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
Back to top
View user's profile Send private message
ds_matty
n00b
n00b


Joined: 11 Mar 2006
Posts: 14
Location: US-MA

PostPosted: Sun Mar 12, 2006 2:06 pm    Post subject: Reply with quote

Yea, twice on both systems. I have had no problems what so ever. I had problems with the x86 on both machines, with it untarring. I went straight by the manual. I did not try the i586 though so not sure of thoose results. The i686 has given me no problems for about a week now, with kde up and running. Completely stable as far as I can tell. I will file a bug as soon as I get naturegirl's info. It makes no sense for me to file it on my own without knowing what her hardware is, unless you think it dosen't matter. I don't question things like this to often, I attribute a lot of bugs to lack of caffiene and too much sleep. 8O
_________________
-Rules And Models Destroy Genuis And Art-
-Caffeine is not a drug, its a food group-
Linux User 204867
http://digitalstratosphere.net
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4734
Location: Angra do Heroísmo (PT)

PostPosted: Sun Mar 12, 2006 2:54 pm    Post subject: Reply with quote

ds_matty, sure you can wait for naturegirl post.
ds_matty wrote:
I attribute a lot of bugs to lack of caffiene and too much sleep. 8O

I always thought it was because of "high doses of caffeine and little sleep". :wink: :lol:
_________________
Jorge.

Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
Back to top
View user's profile Send private message
naturegirl
n00b
n00b


Joined: 11 Mar 2006
Posts: 35
Location: Beijing

PostPosted: Wed Mar 15, 2006 1:58 am    Post subject: Reply with quote

Puh! If you're seeing this post my XP and WLAN *FINALLY* stopped being so retarded and freezing and disconnecting (I haven't figured out internet under gentoo yet, will take me some more time ;-))

k...
Interestingly the MD5 checksums were wrong for the stage*-x86-2006.0.tar.bz (all stages!) on server gentoo.mirrors.easynews.com but the i686 were correct (stage 2 and 3) *_* So I don't suppose something went wrong while downloading. Maybe that's why it's not extracting properly

Anyway I tried all the x86 tarballs from that mirror and they all gave me EOF:
Code:

naturegirl@gagalababa ~ $ tar -tf stage1-x86-2006.0.tar.bz2 &> errlogs

which contains:
(.....blabla....and ends with)
Code:

./var/db/pkg/sys-libs/glibc-2.3.5-r2/environment.bz2
./var/db/pkg/sys-libs/glibc-2.3.5-r2/CONTENTS

bzip2: Compressed file ends unexpectedly;
   perhaps it is corrupted?  *Possible* reason follows.
bzip2: Inappropriate ioctl for device
   Input file = (stdin), output file = (stdout)

It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.

You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.

tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now



stage2-x86-2006.0.tar.bz with the same error however after file
Code:

./usr/lib/gcc/i386-pc-linux-gnu/3.4.4/include/g++-v3/bits/indirect_array.h
./usr/lib/gcc/i386-pc-linux-gnu/3.4.4/include/g++-v3/bits/basic_string.h

bzip2: Compressed file ends unexpectedly;
[etc...]


stage3-x86 same error after file
Code:

./usr/lib/perl5/5.8.7/i386-linux/auto/Encode/CN/CN.bs
./usr/lib/perl5/5.8.7/i386-linux/auto/Encode/CN/CN.so


just like in my first post, so as u see the EOF is always at the same place.
The i686 from that mirror worked fine.

----------------------------------------------

Furthermore even more weird I noticed on my CD (gentoo-install-x86-universal-2005.1.iso) 8O
Code:

naturegirl@gagalababa ~ $ file /mnt/cdrom/stages/*
/mnt/cdrom/stages/stage3-athlon-xp-2005.1.tar.bz2: bzip2 compressed data, block size = 900k
/mnt/cdrom/stages/stage3-i686-2005.1.tar.bz2:      bzip2 compressed data, block size = 900k
/mnt/cdrom/stages/stage3-pentium3-2005.1.tar.bz2:  ERROR: cannot read `/mnt/cdrom/stages/stage3-pentium3-2005.1.tar.bz2' (Input/output error)
/mnt/cdrom/stages/stage3-pentium4-2005.1.tar.bz2:  ERROR: cannot read `/mnt/cdrom/stages/stage3-pentium4-2005.1.tar.bz2' (Input/output error)
/mnt/cdrom/stages/stage3-x86-2005.1.tar.bz2:       ERROR: cannot read `/mnt/cdrom/stages/stage3-x86-2005.1.tar.bz2' (Input/output error)

That's definitely not a burning error, coz I burned it twice and once really slooow
*EDIT*
However since this is not the newest installation CD maybe it's already fixed in 2006?!
---------------------------------------------

oki, my hardware:
Dell Inspiron 600M
Intel(R) Pentium(R) M
processor 1.70GHz
512 MB RAM
40GB HD
do you need more details?

and btw why is it that I can't see new posts when I'm logged in but only when I'm a guest?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum