Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 15076 - emerge rsync hangs during install, and the only way to 'advance' it is to initiate a keypress
Summary: emerge rsync hangs during install, and the only way to 'advance' it is to ini...
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Gentoo Release Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-03 17:19 UTC by Chris Dennett
Modified: 2011-10-30 22:17 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 Chris Dennett 2003-02-03 17:19:28 UTC
When I try to do 'emerge sync' at stage 10 in the Gentoo install, nothing 
happens, and eventually times out after about 3 mins, with an error saying 
that the DNS could not be resolved, or something.

However... if I initiate keypresses during the 3 minuite period of waiting, it 
will 'advance' the emerge sync, and download packages. but this requires 
constant keypresses, not just the holding down of a key, and they must be 
spaced apart adequitely to advance emerge sync further.

I have tested that emerge sync does not continue to function without 
keypresses, as it eventually looses connection to the server if left long 
enough, and there is no advance in the current file it was downloading.

This is a serious bug, as I cannot install Gentoo linux otherwise, unless I 
want to sit at my computer for hours on end, continually pressing keys until 
the install is complete.

Reproducible: Always
Steps to Reproduce:
1. Get up to step 10
2. emerge sync
Actual Results:  
There is a long delay, until a 'DNS entry not found' error is outputted, and 
emerge sync quits.

Expected Results:  
emerge sync should start downloading files, without human input through 
keypresses.

AMD Athlon XP 2200+
512mb RAM
IBM Black USB keyboard
UK keymap
Abit AT7-Max (Legacy Free)
Logitech Dual Optical
Comment 1 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2003-02-03 17:39:06 UTC
Did you remember to copy your /etc/resolv.conf file before chrooting?
Comment 2 Chris Dennett 2003-02-03 17:42:29 UTC
Yes, as I say, it carrys out 'emerge sync' fine, as long as I keep pressing keys.

Leave it without pressing any keys, and it times out with a DNS error of some sort.
Comment 3 Chris Dennett 2003-02-03 17:56:28 UTC
Any workarounds would be appreciated ;)
Comment 4 Joshua Brindle (RETIRED) gentoo-dev 2003-02-04 09:35:50 UTC
can you verify that each dns server in /etc/resolv.conf is reachable and functioning correctly? Perhaps trying only 1 server at a time would help. Also, can you resolve rsync.gentoo.org? if you are still having problems please provide more details, such as the stage and version you are using, where you got them and anything else you can come up with. Thanks
Comment 5 Joshua Brindle (RETIRED) gentoo-dev 2003-02-04 09:37:16 UTC
additionally, rather than rsyncing the first time you could try grabbing the latest portage snapshot off ibiblio and then rsyncing just the difference (it'll decrease the size of your rsync dramatically)
Comment 6 Chris Dennett 2003-02-04 11:51:40 UTC
All servers in resolv.conf are reachable, and I am able to browse the web using Lynx. I can also ping rsync.gentoo.org, even after copying 'ping' into the chroot environment and running it there.

Once again, it can connect to the Internet fine, and download packages for emerge sync, but I need to continually press keys for the downloading to advance
Comment 7 Chris Dennett 2003-02-04 11:54:37 UTC
As for the stage, I'm doing it from stage 1. I've managed to get all the packages for rsync merge, after mindnumbing keypressing for about half an hour, but now bootstrap.sh needs me to contrinually press return, but only in the parts where rsync is used.

I'm using gentoo-grp-athlon-xp-1.4_rc2.iso.
Comment 8 Chris Dennett 2003-02-05 04:08:33 UTC
I think I found the problem... the UK keymap is faulty, and is not causing rsync to update itself. When using the default keymap, it worked fine.
Comment 9 Chris Dennett 2003-02-05 18:26:22 UTC
Nope, it wasn't the UK keymap, it was the gentoo acpi=off noapic line I passed that fixed it :D
Comment 10 Nicholas Jones (RETIRED) gentoo-dev 2003-02-07 04:49:26 UTC
Ok. Declared invalid.