LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 03-13-2009, 01:30 AM   #1
kn0wledge
LQ Newbie
 
Registered: Mar 2009
Posts: 6

Rep: Reputation: 0
Angry Gentoo Problem getting stage3 tarball without crashing?!?!?!?


I am having some seriouse problems getting Gentoo installed on my machine. 2 problems.

The first is when i try to download the stage3 tarball from the gentoo mirror site, I choose an ftp then about 112mb into 117mb download everything freezes. I have to hard reboot. I can't figure out why. I have been following the x86 handbook to a T. I have made probably 10-12 attempts at this from different sites. I am ready to give up. Can anyone tell me why I am having this problem?

My second problem is minor but for some reason I cant get DHCP to configure me. I have to manually enter ip,mask,gw, and ns address's. ifconfig eth0 shows my nic but no ip addy and cant ping out. Again, this is just a minor irritation.

Thanks in advance for your time and help.

-Dan
 
Old 03-13-2009, 01:37 AM   #2
manwithaplan
Member
 
Registered: Nov 2008
Location: ~/
Distribution: Arch || Sidux
Posts: 393

Rep: Reputation: 45
I'd try
Code:
wget -o http://address.to.stage3
it will give an error output to a log file if there is a problem.

If that doesn't work you could install "links" its a lightweight console based browser... I use it... its easy to use and download with.

Last edited by manwithaplan; 03-13-2009 at 01:39 AM.
 
Old 03-13-2009, 01:53 AM   #3
kn0wledge
LQ Newbie
 
Registered: Mar 2009
Posts: 6

Original Poster
Rep: Reputation: 0
I am using links to get to the ftp sites.
#links http://www.gentoo.org/main/en/mirrors.xml
Then i cruise the page till I find a mirror that looks close and go to releases/x86/2008.0 then i choose the stage3-i686-2008.0.tar.bz2
download starts then freezes.

btw im not sure i can look back at any logs since nothing has been installed yet. i cant get that far.

Last edited by kn0wledge; 03-13-2009 at 01:55 AM.
 
Old 03-13-2009, 01:59 AM   #4
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
If such a simple thing as fetching a file makes your box hard lock, then I'd look at the hardware. I assume that X is not running so there's no graphic driver involved, and that you are using a stable livecd with a stable kernel.

I'd start by checking the ram with memtest86.
 
Old 03-13-2009, 02:22 AM   #5
manwithaplan
Member
 
Registered: Nov 2008
Location: ~/
Distribution: Arch || Sidux
Posts: 393

Rep: Reputation: 45
You dont want to use the 2008.0 stage3. There are now weekly autobuilds available for download. try this link here. This is the most recent stage3 for i686. This is the most recent

Using "wget -o" will output a log file... so if it locks during the download, just check the log

Last edited by manwithaplan; 03-13-2009 at 02:34 AM.
 
Old 03-13-2009, 12:23 PM   #6
kn0wledge
LQ Newbie
 
Registered: Mar 2009
Posts: 6

Original Poster
Rep: Reputation: 0
I have no way to store logs as i have no operating system installed. everytime the ftp download crashes must start the install from scratch minus the partionioning part. I have an intel proc. computer is a dell optiplex 260 i believe (i'm at work now so i could swear to the model). I am curiouse if the swap drive is not functioning correctly. How would i check this. I do have 1Gb DDR ram so I'm not sure i would need the swap drive for this download.
 
Old 03-13-2009, 12:28 PM   #7
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
This is nothing to do with lack or ram or swap. If you run out of ram the kernel will kill processes, but never ever shall it hard lock your machine, forcing you to make a cold reboot. When that happens either your kernel (or a module) or your hardware are screwed, and usually it's the later.

That is, as I said, assuming that we are talking about a hard lock.
 
Old 03-13-2009, 01:41 PM   #8
manwithaplan
Member
 
Registered: Nov 2008
Location: ~/
Distribution: Arch || Sidux
Posts: 393

Rep: Reputation: 45
I'd use a livecd or USB device. And see if there are any problems. From there you can run multiple programs to test the harware. And even download your stage3. I've even used a SytemRescuecd, Sabayon live DVD, even a Unbuntu livecd to build a gentoo box.
 
Old 03-13-2009, 02:11 PM   #9
kn0wledge
LQ Newbie
 
Registered: Mar 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by manwithaplan View Post
I'd use a livecd or USB device. And see if there are any problems. From there you can run multiple programs to test the harware. And even download your stage3. I've even used a SytemRescuecd, Sabayon live DVD, even a Unbuntu livecd to build a gentoo box.
This can be done with knoppix? The only two cd's i have are gentoo live and knoppix live. And its possible the gentoo is faulty.
 
Old 03-13-2009, 03:54 PM   #10
manwithaplan
Member
 
Registered: Nov 2008
Location: ~/
Distribution: Arch || Sidux
Posts: 393

Rep: Reputation: 45
Never tried it with a Knoppix cd. Though it should be fine for a stage3 chroot install. Just follow the Gentoo online handbook. I've actually written an install script for just this type of install... Unfortunately its about 3 days from completion. Its all gui based, and helps the user with a walk through of the install.

In the mean time Knoppix should work. Though the Gentoo guide is somewhat ambiguous, and requires some additional linux knowledge. At first it took me several tries to get it just right. Try this page here for additional help
 
Old 03-14-2009, 03:06 PM   #11
kn0wledge
LQ Newbie
 
Registered: Mar 2009
Posts: 6

Original Poster
Rep: Reputation: 0
ok.. I tried to download a hardend stage 2 tarball and the same thing happened, however, this time a log was displayed before it froze.....

DMA per-cpu:
cpu 0: Hot:hi: 0, btch: 1 usd:0 Cold:hi: 0

Normal per-cpu:
cpu 0: Hot:hi: 186, btch: 31 usd: 167 Cold:hi: 62, btch: 15 usd: 56

Highmem per-cpu:
cpu 0: Hot:hi: 42, btch: 7 usd: 8 Cold:hi: 14, btch: 3 usd: 2

Active:244532 Inactive:3391 dirty:0 writeback:0 unstable:0
free:2977 slab:3786 mapped:1 pagetables:282 bounce:2

DMA free: 4064kB min: 68kB low: 84kB high: 100kb active: 7536kB inactive: 0
present: 16256kB pages_scanned: 12142 all_unreclaimable? yes
low mem_reserve []: 0 873 999 999

Normal free: 7716kB min: 3744kB low: 4680kB high: 5616kb active: 864180kB inactive: 0
present: 894080kB pages_scanned: 1331224 all_unreclaimable? yes
low mem_reserve []: 0 0 1011 1011

Highmem free: 128kB min: 128kB low: 260kB high: 396kb active: 106412kB inactive: 13564
present: 129484kB pages_scanned: 253825 all_unreclaimable? yes
low mem_reserve []: 0 0 0 0

DMA: 0*4 0*8 0*16 1*32 1*64 1*128 1*256 1*512 1*1024 1*2048 0*4096 = 4064
Normal: 113*4 44*8 18*16 11*32 6*64 2*128 0*256 1*512 1*1024 0*2048 1*4096 = 7716
High: 0*4 2*8 1*16 1*32 1*64 0*128 0*256 0*512 0*1024 0*2048 0*4096 = 128

clocksource tsg unstable (delta = 169985539 ns)
swap cache : add 0, delete 0, find 0/0, race 0+0
Freeswap = 0kb
Totalswap = 0kb
Out of mem : kill process 13849 (bash) score 7628 or a child
killed process 25876 (links)
killed
livecd gentoo#

Does this make sense to anyone?
 
Old 03-14-2009, 04:16 PM   #12
manwithaplan
Member
 
Registered: Nov 2008
Location: ~/
Distribution: Arch || Sidux
Posts: 393

Rep: Reputation: 45
Quote:
Originally Posted by kn0wledge View Post
Out of mem : kill process 13849 (bash) score 7628 or a child
killed process 25876 (links)
This tells me that its hardware related.
1) your livecd is a bad copy and has a faulty kernel
2) your loading the entire livecd into ram & its running out of room.
3) your memory spitting out failed memory addresses.
4) ROM drive or chipset

So best place to begin is what i92guboj suggested:

Quote:
Originally Posted by i92guboj View Post
I'd start by checking the ram with memtest86.
Run memtest, if passed try another livecd copy or use something different like systemrescuecd. And if that isnt working, then it goes further into hardware like ROM drive or mobo chipset.
 
Old 03-14-2009, 06:48 PM   #13
kn0wledge
LQ Newbie
 
Registered: Mar 2009
Posts: 6

Original Poster
Rep: Reputation: 0
I ran the memtest twice. comes back 100%. I have a Dell Optiplex GX260 pentium4 with 20gig IDE and 1 gig of ram. I just had win2k on it with no problems. And this is my first experience with linux.
 
Old 03-14-2009, 07:08 PM   #14
manwithaplan
Member
 
Registered: Nov 2008
Location: ~/
Distribution: Arch || Sidux
Posts: 393

Rep: Reputation: 45
If this is your first linux experience, try going with a binary distro. Such as Debian,Ubuntu,Mint,Sabayon ... etc. These are much easier to install then Gentoo. This will give you a chance to learn the basic commands, and get you familiar with command shell.

If you insist on Gentoo and are convinced its not hardware, then I can only suspect that its either your ROM drive or the media you used to install with.

(Bad image, did you checksum the image?).

I would definetly try getting a livecd like Ubuntu or Mint. Use gparted to make your partitions and follow Gentoo's install handbook. Make sure you D/L the latest autobuild from Gentoo. There is a sample link that I posted earlier.

Using the Gentoo Livecd for install has been always problematic for me. So I switched to using Sabayon for a Live distro.

NOTE: Dell comes with a 16bit diagnostic partition on the front of the drive. So if you use gparted to partition and still want the diag tools, make sure that you do not erase the partition or mess with the mbr table.

EDIT: You could always make a small partition about 700mb or so and mount it and download the stage3 and portage for later use. Or even better you could run a livecd off of your hdd. Check these instructions out here. I've used gparted to make my partitions, then copy over the data, and install grub to my boot sector, then add the grub entries to my menu.lst Now I can run any live distro from my hdd. Just a suggestion

Last edited by manwithaplan; 03-14-2009 at 07:21 PM.
 
  


Reply



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
gentoo coreutils stage3 extraction puntjuh Linux - Software 1 04-19-2008 12:11 PM
Gentoo & Stage3 mungulish Linux - Distributions 9 09-13-2004 03:02 PM
my gentoo stage3 installation guide cheater1034 General 1 09-11-2004 09:43 PM
Gentoo stage3 tarball won't work with multiple filesystems GrimCracker Linux - Distributions 2 03-08-2004 05:41 PM
Gentoo - Stage3 emerge profile error dkaplowitz Linux - Distributions 1 11-20-2003 03:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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