Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

emerge sync errors with io.c?

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
23 posts • Page 1 of 1
Author
Message
MattSharp
Apprentice
Apprentice
Posts: 258
Joined: Fri Aug 15, 2003 6:35 pm

emerge sync errors with io.c?

  • Quote

Post by MattSharp » Wed Nov 03, 2004 6:09 am

I am getting the error below when I try to emerge sync.
rsync: connection unexpectedly closed (46 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(189)
>>> retry ...
Now before anyone says anything about rsync servers, let me first say that I am using a local rsync server and my other computers are not having any problems.

Based on the io.c file it is some sort of compile problem or something.

I have recompiled my kernel as well as gcc and glibc and rsync. Nothing....

This really sucks.
Top
carpman
Advocate
Advocate
Posts: 2202
Joined: Thu Jun 20, 2002 2:42 pm
Location: London - UK

  • Quote

Post by carpman » Wed Nov 03, 2004 11:00 am

I am getting io.c error but with differnt error code:

Code: Select all

snip
app-sci/
app-text/
app-text/dictd/files/
app-xemacs/
io timeout after 180 seconds - exiting
rsync error: timeout in data send/receive (code 30) at io.c(109)

Work Station - 64bit
Gigabyte GA X48-DQ6 Core2duo E8400
8GB GSkill DDR2-1066
SATA Areca 1210 Raid
BFG OC2 8800 GTS 640mb
--------------------------------
Notebook
Samsung Q45 7100 4gb
Top
moocha
Watchman
Watchman
Posts: 5722
Joined: Tue Oct 21, 2003 6:45 pm

  • Quote

Post by moocha » Wed Nov 03, 2004 2:19 pm

That's not related to anything you've compiled on your machine (so most probably nothing to with either your kernel, glibc, gcc, or whatever). It simply is an error message from rsync telling you that your connections get dropped. Simply try again, optionally waiting for a better time.
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Top
Dr_Stein
Guru
Guru
Posts: 303
Joined: Fri Mar 21, 2003 3:12 am
Location: Mountain View, CA
Contact:
Contact Dr_Stein
Website

  • Quote

Post by Dr_Stein » Wed Nov 03, 2004 9:20 pm

receiving file list ...
99146 files to consider

!!! Rsync has not successfully finished. It is recommended that you keep
!!! trying or that you use the 'emerge-webrsync' option if you are unable
!!! to use rsync due to firewall or other restrictions. This should be a
!!! temporary problem unless complications exist with your network
!!! (and possibly your system's filesystem) configuration.

www jnichols # io timeout after 180 seconds - exiting
rsync error: timeout in data send/receive (code 30) at io.c(109)
io timeout after 180 seconds - exiting
rsync error: timeout in data send/receive (code 30) at io.c(109)


-----------

Like that?

The connection is a full 100mbit pipe and we're only using 3mbit. There is 0% packet loss. The rsync server is run by a friend of mine, and the pipe it's sitting on is at only 5% utilization.

It is most definately *NOT* a bandwidth/network related problem in my particular case, but the io.c issue is biting me hard.
Top
MattSharp
Apprentice
Apprentice
Posts: 258
Joined: Fri Aug 15, 2003 6:35 pm

  • Quote

Post by MattSharp » Wed Nov 03, 2004 10:07 pm

moocha wrote:That's not related to anything you've compiled on your machine (so most probably nothing to with either your kernel, glibc, gcc, or whatever). It simply is an error message from rsync telling you that your connections get dropped. Simply try again, optionally waiting for a better time.
Um no you are incorrect. It it NOT just my connection getting dropped. No matter how many times or when I dod it, it does not work. Different RSYNC servers, nothing makes a diference.
Top
MattSharp
Apprentice
Apprentice
Posts: 258
Joined: Fri Aug 15, 2003 6:35 pm

  • Quote

Post by MattSharp » Wed Nov 03, 2004 11:33 pm

MattSharp wrote:
moocha wrote:That's not related to anything you've compiled on your machine (so most probably nothing to with either your kernel, glibc, gcc, or whatever). It simply is an error message from rsync telling you that your connections get dropped. Simply try again, optionally waiting for a better time.
Um no you are incorrect. It it NOT just my connection getting dropped. No matter how many times or when I dod it, it does not work. Different RSYNC servers, nothing makes a diference.
I take it back. I did not try other RSYNC Servers. I restarted rsync dameon on my server and it worked. Not sure why I had to though. Very odd.
Top
carpman
Advocate
Advocate
Posts: 2202
Joined: Thu Jun 20, 2002 2:42 pm
Location: London - UK

  • Quote

Post by carpman » Thu Nov 04, 2004 10:23 am

Hello, i have tried both:

Code: Select all

SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
but both fail with same error.



Any ideas?


cheers
Work Station - 64bit
Gigabyte GA X48-DQ6 Core2duo E8400
8GB GSkill DDR2-1066
SATA Areca 1210 Raid
BFG OC2 8800 GTS 640mb
--------------------------------
Notebook
Samsung Q45 7100 4gb
Top
suburbanizedgeek
n00b
n00b
Posts: 48
Joined: Fri Sep 17, 2004 8:14 pm

  • Quote

Post by suburbanizedgeek » Thu Nov 04, 2004 1:25 pm

I had the same problem. In my case i had some data corruption in my /usr/portage directory. run fsck to check for anything like that. Also you could try deleting /usr/portage/*, as `emerge sync` rebuilds it anyways.
if knowledge is power, then knowledge shared is a loss
Top
alexerre
Apprentice
Apprentice
User avatar
Posts: 267
Joined: Wed Sep 17, 2003 9:24 pm
Location: Italy
Contact:
Contact alexerre
Website

  • Quote

Post by alexerre » Thu Nov 04, 2004 8:34 pm

I have emerge the new portage version first.
while i'm emerging the prompt said me that i had to do after

Code: Select all

emerge metadata
and then

Code: Select all

emerge sync
Whene the portage was installed I did the command
and the emerge sync return me the io.c error...
Now I try to delete the /usr/portage/* and then
emerge sync

Stay tuned
Se segui gli altri non arriverai mai primo
Top
carpman
Advocate
Advocate
Posts: 2202
Joined: Thu Jun 20, 2002 2:42 pm
Location: London - UK

  • Quote

Post by carpman » Thu Nov 04, 2004 11:17 pm

i tried the delete /usr/portage/* still same error but a reboot seemed to do the trick.

Though on completion of sync it told me i had to update my profile, wonder if this was anything to do with it?
Work Station - 64bit
Gigabyte GA X48-DQ6 Core2duo E8400
8GB GSkill DDR2-1066
SATA Areca 1210 Raid
BFG OC2 8800 GTS 640mb
--------------------------------
Notebook
Samsung Q45 7100 4gb
Top
moocha
Watchman
Watchman
Posts: 5722
Joined: Tue Oct 21, 2003 6:45 pm

  • Quote

Post by moocha » Thu Nov 04, 2004 11:55 pm

Again, rsync errors related to io.c indicate dropped connections while communicating with the rsync server. A reboot fixing it is most likely because your network adapter's modules were reloaded.
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Top
carpman
Advocate
Advocate
Posts: 2202
Joined: Thu Jun 20, 2002 2:42 pm
Location: London - UK

  • Quote

Post by carpman » Fri Nov 05, 2004 4:46 am

moocha wrote:Again, rsync errors related to io.c indicate dropped connections while communicating with the rsync server. A reboot fixing it is most likely because your network adapter's modules were reloaded.

Network card is built into kernel and not as module so would this still be the problem?
Work Station - 64bit
Gigabyte GA X48-DQ6 Core2duo E8400
8GB GSkill DDR2-1066
SATA Areca 1210 Raid
BFG OC2 8800 GTS 640mb
--------------------------------
Notebook
Samsung Q45 7100 4gb
Top
BlinkEye
Veteran
Veteran
Posts: 1046
Joined: Tue Oct 21, 2003 7:13 pm
Location: Gentoo Forums

  • Quote

Post by BlinkEye » Sat Dec 11, 2004 11:27 pm

i too get systematically the same error. after some (re)tries it usually works. i never had this before ...
Easily backup up your system? klick
Get rid of SSH Brute Force Attempts / Script Kiddies klick
Top
JackDog
Apprentice
Apprentice
User avatar
Posts: 297
Joined: Thu Sep 09, 2004 12:59 am
Location: St. Louis, Missoura
Contact:
Contact JackDog
Website

  • Quote

Post by JackDog » Mon Dec 13, 2004 3:44 pm

I can also verify this problem using the e1000 driver for an intel card on a dell box. This has happened on three different networks and still happens when the rsync server is plugged into the same switch.

Its either two things, network driver (kernel driver issue) or a bad compilation somewhere (dep of rsync is screwed). Out of all the boxes I maintain, there are two that do this. Both use the e1000 driver. However they have both been updated at the same time for over a year with the same USE flags. So it could be a compilation issue somewhere as well. I do use different kernels on each of them though; 2.6.9 and 2.6.5.

To sum up:
Its not a proxy issue, its not a firewall issue, its not a network cable issue, its not a solar flare issue, its not a kernel module loading problem, reboots dont fix it, deleting /usr/portage does not fix it, its obvious its a communications issue but there is no working solution yet.

From the rsync ebuild:

Code: Select all

RDEPEND="virtual/libc
        !build? ( >=dev-libs/popt-1.5 )"
DEPEND="${RDEPEND}
        >=sys-apps/sed-4
        acl? ( sys-apps/acl )"
I have recompiled the immediate dependencies with not luck.

Could everyone post their network cards and driver used if you have encountered this problem?
Are you intolerant of intolerant people? Tired of being PC yet?
Top
BlinkEye
Veteran
Veteran
Posts: 1046
Joined: Tue Oct 21, 2003 7:13 pm
Location: Gentoo Forums

  • Quote

Post by BlinkEye » Mon Dec 13, 2004 5:41 pm

i use the same driver, built in with kernel-2.6.9-nitro2
Easily backup up your system? klick
Get rid of SSH Brute Force Attempts / Script Kiddies klick
Top
mattheweast
Tux's lil' helper
Tux's lil' helper
Posts: 121
Joined: Fri Sep 17, 2004 9:21 pm
Location: London, UK
Contact:
Contact mattheweast
Website

  • Quote

Post by mattheweast » Wed Jan 19, 2005 1:02 am

yeah same problem here... what on earth is going on?!? Here is the error I get, which is sometimes even near the end of the sync:

Code: Select all

rsync error: timeout in data send/receive (code 30) at io.c(153)
rsync: connection unexpectedly closed (5651616 bytes received so far) [receiver]rsync error: error in rsync protocol data stream (code 12) at io.c(359)
This is all over the forums, no solution that I can find!

I've tried MANY rsync servers (uk.gentoo europe.gentoo gentoo us.gentoo etc).

emerge-websync always works afaics. But afterwards, my emerge syncs still generally fail.

My other PC on the same network does not have this problem. I'm using a dlink wireless card on this machine, with the acx111 driver.

M

P.S. Should a bug be filed about this??
Top
BlinkEye
Veteran
Veteran
Posts: 1046
Joined: Tue Oct 21, 2003 7:13 pm
Location: Gentoo Forums

  • Quote

Post by BlinkEye » Wed Jan 19, 2005 1:06 am

for me it was a kernel issue. it is gone now
Easily backup up your system? klick
Get rid of SSH Brute Force Attempts / Script Kiddies klick
Top
JjcampNR
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 127
Joined: Sun Mar 02, 2003 5:42 am
Location: Massachusetts, USA
Contact:
Contact JjcampNR
Website

  • Quote

Post by JjcampNR » Wed Jan 19, 2005 5:49 am

This issue is cropping up with a TON of people, in my non-developer opinion it's something that was introduced in one of the last Portage or rsync updates. If you'd like to see the other threads, you can find them here:

http://forums.gentoo.org/viewtopic.php? ... 37#1989637

http://forums.gentoo.org/viewtopic.php? ... 96#1994196

--Josh
Damn the man, fight the power!

http://www.torquenetworks.com
Top
bilan
n00b
n00b
Posts: 17
Joined: Mon Jul 21, 2003 8:45 am

  • Quote

Post by bilan » Wed Feb 09, 2005 2:59 pm

Dr_stein said:
It is most definately *NOT* a bandwidth/network related problem in my particular case, but the io.c issue is biting me hard

I cant most agree :)
I had the same problem and was looking for a solution since a while.
I just found: emerge the new (and masked) 2.6.3 of rsync and the problem is finaly solved !!!
Top
BlinkEye
Veteran
Veteran
Posts: 1046
Joined: Tue Oct 21, 2003 7:13 pm
Location: Gentoo Forums

  • Quote

Post by BlinkEye » Wed Feb 09, 2005 3:03 pm

bilan wrote:Dr_stein said:
It is most definately *NOT* a bandwidth/network related problem in my particular case, but the io.c issue is biting me hard

I cant most agree :)
I had the same problem and was looking for a solution since a while.
I just found: emerge the new (and masked) 2.6.3 of rsync and the problem is finaly solved !!!
forgot to post here - net-misc/rsync-2.6.3 does solve the issue for me too
Easily backup up your system? klick
Get rid of SSH Brute Force Attempts / Script Kiddies klick
Top
bocacorazon
n00b
n00b
Posts: 31
Joined: Fri May 07, 2004 12:56 am

Corrupt filesystem

  • Quote

Post by bocacorazon » Sun Feb 20, 2005 5:11 pm

In my case it was a corrupt file system.

I have an amd64 with SCSI drives and that is trouble by itself...

Since I am just starting to install the system I just reformated the partition, downloaded the portage tar again, extracted it and now sync works...
Top
carpman
Advocate
Advocate
Posts: 2202
Joined: Thu Jun 20, 2002 2:42 pm
Location: London - UK

Re: Corrupt filesystem

  • Quote

Post by carpman » Sun Feb 20, 2005 10:19 pm

bocacorazon wrote:In my case it was a corrupt file system.

I have an amd64 with SCSI drives and that is trouble by itself...
Bit off topic but why is amd 64 and scsi trouble?

When i have the time that is going to be a new install for me?
Work Station - 64bit
Gigabyte GA X48-DQ6 Core2duo E8400
8GB GSkill DDR2-1066
SATA Areca 1210 Raid
BFG OC2 8800 GTS 640mb
--------------------------------
Notebook
Samsung Q45 7100 4gb
Top
BlinkEye
Veteran
Veteran
Posts: 1046
Joined: Tue Oct 21, 2003 7:13 pm
Location: Gentoo Forums

  • Quote

Post by BlinkEye » Tue Feb 22, 2005 7:52 am

well, i have an amd64 and SATA drives. it wasn't an easy setup, but this was due to me starting the installation so very early almost nobody had done it before me and setting up a raid5. it's not that easy, but once you get the clue about grub and the naming of devices you won't have any problems. besides, until now there is much information to be found in the forum.
Easily backup up your system? klick
Get rid of SSH Brute Force Attempts / Script Kiddies klick
Top
Post Reply

23 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy