Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gentoo-sources
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
dr_rude
n00b
n00b


Joined: 13 May 2005
Posts: 12

PostPosted: Sun May 15, 2005 5:12 pm    Post subject: gentoo-sources Reply with quote

Good day,

I tried hard to install gentoo into my Toshiba satellite laptop. I'm facing some problems connecting to mirrors nearby when i tried to emerge gentoo-sources. Everything went fine, but when i reached step no 7[configuring the kernel]. My questions is there any way to emerge gentoo-sources without internet connection? Or where is the fastest mirrors around? I still can't connecting to the mirrors for almost 3 days.

If i have to download the files [gentoo-sources] first and store it somewhere [let's say in my thumb drive] how can i emerge it during my installations?

help me plz.
Back to top
View user's profile Send private message
Mos
n00b
n00b


Joined: 17 Mar 2003
Posts: 48
Location: Brussels, Belgium

PostPosted: Sun May 15, 2005 5:40 pm    Post subject: Reply with quote

When you emerge the genkernel it does two things:
- download the kernel from kernel.org (or a mirror, I don't know)
- download some patches from the gentoo mirror.

If the first step fails you can always try to download the +-30MB file manually from www.kernel.org or one or its mirrors, and have to put the file into /usr/portage/distfiles, then try emerge gentoo-sources again.
But even then, you will still have to download some patches, coming from your gentoo-mirror.

It seems weird to me you cannot contact it through portage, so you're probably suffering another problem. Are you having other connectivity problems as well?

Regards,
Back to top
View user's profile Send private message
dr_rude
n00b
n00b


Joined: 13 May 2005
Posts: 12

PostPosted: Sun May 15, 2005 6:29 pm    Post subject: Reply with quote

tq mos.

my connection is good. there's no problem at all. arite i try it again.
Back to top
View user's profile Send private message
gesiel
Apprentice
Apprentice


Joined: 13 Feb 2005
Posts: 197
Location: Brasil - Rio de Janeiro

PostPosted: Sun May 15, 2005 6:49 pm    Post subject: Re: gentoo-sources Reply with quote

Hi dr_rude,
the manual recommends:
Code:
mirrorselect -i -o >> /mnt/gentoo/etc/make.conf

but don't do that! In some cases mirrorselect choice URLs with low speed or deprecated.

Make:
1) open mirrors list:
Code:
links2 http://www.gentoo.org/main/en/mirrors.xml

2) it enters in several mirrors and it sees which is fastest to load the folder /destfiles. It writes 4 or 5.
3) open the /etc/make.conf and put an line:
Code:
GENTOO_MIRRORS="ftp://ftp.las.ic.unicamp.br/pub/gentoo/ ftp://cs.ubishops.ca/pub/gentoo/"

this is an example.

Ok, its must be works ok.
Back to top
View user's profile Send private message
dr_rude
n00b
n00b


Joined: 13 May 2005
Posts: 12

PostPosted: Mon May 16, 2005 12:00 am    Post subject: Reply with quote

gesiel,

i do not do the mirrorselect -i -o >> /mnt/gentoo/etc/make.conf as the manual recommends.

i edited manually make.conf file and enter the nearest mirrors as a content for GENTOO_MIRRORS variables.

i still can't get thru from here. :cry:

any ideas? i really need to learn tis gentoo!
Back to top
View user's profile Send private message
gesiel
Apprentice
Apprentice


Joined: 13 Feb 2005
Posts: 197
Location: Brasil - Rio de Janeiro

PostPosted: Mon May 16, 2005 12:29 am    Post subject: Reply with quote

Very hard! Ideias? Huuum...

do you wave DSL or modem?

The kernel-sources is big: 37MB or more.

my preferred mirrors:
ftp://ftp.las.ic.unicamp.br/pub/gentoo/ (so good for me)
ftp://cs.ubishops.ca/pub/gentoo/
ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo/
ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/
Back to top
View user's profile Send private message
dr_rude
n00b
n00b


Joined: 13 May 2005
Posts: 12

PostPosted: Mon May 16, 2005 12:46 am    Post subject: Reply with quote

i'm surfing thru dsl.

i'll try to use your preffered mirrors. wish me luck tis time! :?
Back to top
View user's profile Send private message
racoontje
Veteran
Veteran


Joined: 19 Jul 2004
Posts: 1290

PostPosted: Mon May 16, 2005 10:09 am    Post subject: Reply with quote

You don't have to use his preferred mirrors... What's your location? Does ping work? Try 'ping ophidian.be' and 'ping gearbox.be' and 'ping gonda.exigo.ch' :)
Back to top
View user's profile Send private message
dr_rude
n00b
n00b


Joined: 13 May 2005
Posts: 12

PostPosted: Mon May 16, 2005 11:52 pm    Post subject: Reply with quote

still no luck. :(

wat am i doing wrong? can i see someone make.conf file?
Back to top
View user's profile Send private message
sneez
n00b
n00b


Joined: 05 Apr 2005
Posts: 12

PostPosted: Tue May 17, 2005 12:10 am    Post subject: Reply with quote

I have the same problem, im installing from 2005 universal CD and i do not have a network connection!

What can i do to emerge the kernel?


any help ?
Back to top
View user's profile Send private message
taurus
l33t
l33t


Joined: 21 Sep 2004
Posts: 657
Location: I need to be somewhere...

PostPosted: Tue May 17, 2005 12:51 am    Post subject: Reply with quote

sneez wrote:
I have the same problem, im installing from 2005 universal CD and i do not have a network connection!

What can i do to emerge the kernel?

any help ?


Just forget about the kernel for a second. You first need to get your network working. Are you currently connected to a network but somehow can't get out or your computer is completely by itself? Otherwise, you can always use another computer to download the kernel and copy it to your computer...
Back to top
View user's profile Send private message
sneez
n00b
n00b


Joined: 05 Apr 2005
Posts: 12

PostPosted: Tue May 17, 2005 1:01 am    Post subject: Reply with quote

I dont know if my card is supported (atheros AR5212 chipset ) . WHen is do lspci it shows it in listing but i cannot make it work.

I do have a fedora core 2 installed on other partision and windows on another one.

I did try to download the kernel gentoo-sources-2.6.11-r3 and copy it into /usr/portage/distfiles/ and than run emerge gentoo-sources , but it still tries to connect to the internet.

WHen i do PKGDIR=/usr/portage/distfiles/ and then try to emerge it says that i need to adjust PKGDIR .....

When i try to emerge with full path ie: emerge /usr/portage/distfiles/gentoo-sources-2.6..... it says that the path is broken...


i do not know what to try next ? :cry:
Back to top
View user's profile Send private message
pilla
Bodhisattva
Bodhisattva


Joined: 07 Aug 2002
Posts: 7730
Location: Underworld

PostPosted: Tue May 17, 2005 2:52 am    Post subject: Reply with quote

Is it a wireless network chipset? If true, try emerging the madwifi-driver
_________________
"I'm just very selective about the reality I choose to accept." -- Calvin
Back to top
View user's profile Send private message
dr_rude
n00b
n00b


Joined: 13 May 2005
Posts: 12

PostPosted: Tue May 17, 2005 2:59 am    Post subject: Reply with quote

yup i downloaded the kernel gentoo-sources n try to emerge it.
again i can't connect the mirrors nearby. when i tried to ping, it's ok.

why?

i guess my connections is not configured very well. :(
i can downloaded the portage snapshots for the previous steps and stuck here for almost 5 days.

i'm wave thru DSL with DHCP. Guide me plz.
Back to top
View user's profile Send private message
pilla
Bodhisattva
Bodhisattva


Joined: 07 Aug 2002
Posts: 7730
Location: Underworld

PostPosted: Tue May 17, 2005 3:08 am    Post subject: Reply with quote

What do you have in your /etc/make.conf?
_________________
"I'm just very selective about the reality I choose to accept." -- Calvin
Back to top
View user's profile Send private message
sneez
n00b
n00b


Joined: 05 Apr 2005
Posts: 12

PostPosted: Tue May 17, 2005 3:35 am    Post subject: Reply with quote

Yes its wireless, how can i emerge madwifi if i need a kernell to do it ?

Im just confused. Im chrooted into /bin/bash and no kernel.
Back to top
View user's profile Send private message
slycordinator
Advocate
Advocate


Joined: 31 Jan 2004
Posts: 3065
Location: Korea

PostPosted: Tue May 17, 2005 5:33 am    Post subject: Reply with quote

dr_rude wrote:
yup i downloaded the kernel gentoo-sources n try to emerge it.
again i can't connect the mirrors nearby. when i tried to ping, it's ok.

why?

i guess my connections is not configured very well. :(
i can downloaded the portage snapshots for the previous steps and stuck here for almost 5 days.

i'm wave thru DSL with DHCP. Guide me plz.


Did you do the ping BEFORE or AFTER you chrooted?

Because it's quite possible that you forgot to run "cp -L /etc/resolv.conf /mnt/gentoo/etc/resolv.conf"
Without that file you will never (and I mean never) be able to get to a website/url by name rather than IP.
Back to top
View user's profile Send private message
dr_rude
n00b
n00b


Joined: 13 May 2005
Posts: 12

PostPosted: Tue May 17, 2005 6:16 am    Post subject: Reply with quote

i did run the "cp -L /etc/resolv.conf /mnt/gentoo/etc/resolv.conf"

and ping after the chroot.
Back to top
View user's profile Send private message
dr_rude
n00b
n00b


Joined: 13 May 2005
Posts: 12

PostPosted: Tue May 17, 2005 5:15 pm    Post subject: Reply with quote

arite tis is my make.conf file looks like:-

CFLAGS="-02 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
GENTOO_MIRRORS="http://mymirrors.asiaosc.org/gentoo/ http://distfiles.gentoo.org ftp://cs.ubishops.ca/pub/gentoo/"
SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage

i'm using stage3 installations.

note:- i'm adding the GENTOO_MIRRORS manually at make.conf after failed to use "mirrorselect -i -o >> /mnt/gentoo/etc/make.conf" command. the errors saying :-

downloading a list of mirrors...
unable to fetch a valid list of mirrors, update failed.

:cry:
Back to top
View user's profile Send private message
pilla
Bodhisattva
Bodhisattva


Joined: 07 Aug 2002
Posts: 7730
Location: Underworld

PostPosted: Tue May 17, 2005 6:01 pm    Post subject: Reply with quote

Are you sure you have mounted with the -o bind option both /dev and /proc before chrooting into your gentoo install?

Can you ping these mirrors if you are outside of your chroot?
_________________
"I'm just very selective about the reality I choose to accept." -- Calvin
Back to top
View user's profile Send private message
dr_rude
n00b
n00b


Joined: 13 May 2005
Posts: 12

PostPosted: Tue May 17, 2005 10:13 pm    Post subject: Reply with quote

i can ping very well outside of chroot.

i issued tis cmd before chrooting :-

mount -t proc none /mnt/gentoo/proc

wat is the -o option?
Back to top
View user's profile Send private message
pilla
Bodhisattva
Bodhisattva


Joined: 07 Aug 2002
Posts: 7730
Location: Underworld

PostPosted: Tue May 17, 2005 10:38 pm    Post subject: Reply with quote

dr_rude wrote:
i can ping very well outside of chroot.

i issued tis cmd before chrooting :-

mount -t proc none /mnt/gentoo/proc

wat is the -o option?



The -o bind is another way of mounting it.

If your resolv.conf is correct, you can ping outside the chrooted environment and not inside it, I just can't think of other problems that may cause this issue.
_________________
"I'm just very selective about the reality I choose to accept." -- Calvin
Back to top
View user's profile Send private message
dr_rude
n00b
n00b


Joined: 13 May 2005
Posts: 12

PostPosted: Tue May 17, 2005 10:49 pm    Post subject: Reply with quote

i can ping outside the chrooted env and not inside the chrooted env.
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Wed May 18, 2005 11:08 am    Post subject: Reply with quote

dr_rude wrote:
i can ping outside the chrooted env and not inside the chrooted env.

Make sure you've copied resolv.conf over to the chroot as resolv.conf and not resolve.conf
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Wed May 18, 2005 11:10 am    Post subject: Reply with quote

dr_rude wrote:
CFLAGS="-02 -march=pentium4 -fomit-frame-pointer"
Change the numeral 0 into a capital letter o, an O that is instead of a 0.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
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
Goto page 1, 2  Next
Page 1 of 2

 
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