public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] troubles with emerge --sync
@ 2009-11-11 19:01 Alexander Clark
  2009-11-11 19:03 ` Marcus Wanner
  2009-11-11 19:13 ` Alan McKinnon
  0 siblings, 2 replies; 13+ messages in thread
From: Alexander Clark @ 2009-11-11 19:01 UTC (permalink / raw
  To: gentoo-user

I'm getting a strange error on one particular box when I try to emerge  
--sync:

rsync error: sibling process crashed (code 15) at main.c(1505)  
[generator=3.0.6]
 >>> Retrying...

dmesg told me:

grsec: From 66.55.54.28: signal 4 sent to /usr/bin/rsync[rsync:30041]  
uid/euid:0/0 gid/egid:0/0, parent /usr/bin/rsync[rsync:30040] uid/euid: 
0/0 gid/egid:0/0

I had done an emerge -uDN world, so it's quite possible that rsync got  
recompiled in a screwy way. I've tried re-emerging it since then, but  
without changing whatever went wrong, that didn't prove anything.

Can anyone suggest a next step for probing deeper into what happened,  
or finding a fix?

Alexander Clark



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] troubles with emerge --sync
  2009-11-11 19:01 [gentoo-user] troubles with emerge --sync Alexander Clark
@ 2009-11-11 19:03 ` Marcus Wanner
  2009-11-11 19:13 ` Alan McKinnon
  1 sibling, 0 replies; 13+ messages in thread
From: Marcus Wanner @ 2009-11-11 19:03 UTC (permalink / raw
  To: gentoo-user

On 11/11/2009 2:01 PM, Alexander Clark wrote:
> I'm getting a strange error on one particular box when I try to emerge 
> --sync:
>
> rsync error: sibling process crashed (code 15) at main.c(1505) 
> [generator=3.0.6]
> >>> Retrying...
>
> dmesg told me:
>
> grsec: From 66.55.54.28: signal 4 sent to /usr/bin/rsync[rsync:30041] 
> uid/euid:0/0 gid/egid:0/0, parent /usr/bin/rsync[rsync:30040] 
> uid/euid:0/0 gid/egid:0/0
>
> I had done an emerge -uDN world, so it's quite possible that rsync got 
> recompiled in a screwy way. I've tried re-emerging it since then, but 
> without changing whatever went wrong, that didn't prove anything.
>
> Can anyone suggest a next step for probing deeper into what happened, 
> or finding a fix?
>
> Alexander Clark
>
>
You could just use emerge --webrsync...

Marcus



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] troubles with emerge --sync
  2009-11-11 19:01 [gentoo-user] troubles with emerge --sync Alexander Clark
  2009-11-11 19:03 ` Marcus Wanner
@ 2009-11-11 19:13 ` Alan McKinnon
  2009-11-11 19:52   ` Alex Bennee
  1 sibling, 1 reply; 13+ messages in thread
From: Alan McKinnon @ 2009-11-11 19:13 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 785 bytes --]

The remote end cut you off. Try another mirror.

On Nov 11, 2009 9:01 PM, "Alexander Clark" <aclark@wayfm.com> wrote:

I'm getting a strange error on one particular box when I try to emerge
--sync:

rsync error: sibling process crashed (code 15) at main.c(1505)
[generator=3.0.6]
>>> Retrying...

dmesg told me:

grsec: From 66.55.54.28: signal 4 sent to /usr/bin/rsync[rsync:30041]
uid/euid:0/0 gid/egid:0/0, parent /usr/bin/rsync[rsync:30040] uid/euid:0/0
gid/egid:0/0

I had done an emerge -uDN world, so it's quite possible that rsync got
recompiled in a screwy way. I've tried re-emerging it since then, but
without changing whatever went wrong, that didn't prove anything.

Can anyone suggest a next step for probing deeper into what happened, or
finding a fix?

Alexander Clark

[-- Attachment #2: Type: text/html, Size: 1063 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] troubles with emerge --sync
  2009-11-11 19:13 ` Alan McKinnon
@ 2009-11-11 19:52   ` Alex Bennee
  2009-11-11 21:10     ` Alexander Clark
  0 siblings, 1 reply; 13+ messages in thread
From: Alex Bennee @ 2009-11-11 19:52 UTC (permalink / raw
  To: gentoo-user

2009/11/11 Alan McKinnon <alan.mckinnon@gmail.com>:
> The remote end cut you off. Try another mirror.

Is this a know infrastructure issue. It seems to happening a lot
lately. I'm wary of retrying lest I end up on a ban list.

-- 
Alex, homepage: http://www.bennee.com/~alex/
http://www.half-llama.co.uk



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] troubles with emerge --sync
  2009-11-11 19:52   ` Alex Bennee
@ 2009-11-11 21:10     ` Alexander Clark
  2009-11-11 23:04       ` Marcus Wanner
                         ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Alexander Clark @ 2009-11-11 21:10 UTC (permalink / raw
  To: gentoo-user@lists.gentoo.org

>> The remote end cut you off. Try another mirror.
>
> Is this a know infrastructure issue. It seems to happening a lot
> lately. I'm wary of retrying lest I end up on a ban list.

I've retried a lot. Maybe I ended up on the ban list. What I really  
need to do is set up a local mirror since I've got a rack full of  
Gentoo servers.

In any case, emerge-webrsync works for now (thanks Marcus, not sure  
why I didn't think of that).

It seems there are some deeper issues, however, as gcc and emacs are  
failing to emerge. Signal 4 again with emacs. Hm. Think I might try  
scaling back my CFLAGS.

Alexander Clark



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] troubles with emerge --sync
  2009-11-11 21:10     ` Alexander Clark
@ 2009-11-11 23:04       ` Marcus Wanner
  2009-11-12  9:57       ` Alan McKinnon
  2009-11-20  0:03       ` Alexander Clark
  2 siblings, 0 replies; 13+ messages in thread
From: Marcus Wanner @ 2009-11-11 23:04 UTC (permalink / raw
  To: gentoo-user

On 11/11/2009 4:10 PM, Alexander Clark wrote:
> In any case, emerge-webrsync works for now (thanks Marcus, not sure 
> why I didn't think of that).
Glad I could help. However, a better solution is probably needed in the 
long run.

Marcus



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] troubles with emerge --sync
  2009-11-11 21:10     ` Alexander Clark
  2009-11-11 23:04       ` Marcus Wanner
@ 2009-11-12  9:57       ` Alan McKinnon
  2009-11-12 11:05         ` Nelis Botha
  2009-11-20  0:03       ` Alexander Clark
  2 siblings, 1 reply; 13+ messages in thread
From: Alan McKinnon @ 2009-11-12  9:57 UTC (permalink / raw
  To: gentoo-user

On Wednesday 11 November 2009 23:10:35 Alexander Clark wrote:
> >> The remote end cut you off. Try another mirror.
> >
> > Is this a know infrastructure issue. It seems to happening a lot
> > lately. I'm wary of retrying lest I end up on a ban list.
> 
> I've retried a lot. Maybe I ended up on the ban list. What I really
> need to do is set up a local mirror since I've got a rack full of
> Gentoo servers.

Use my mirror and see if things are better. It's 12 hours behind the master 
and I don't implement that mythical ban list:

ftp://ftp.is.co.za/mirror/gentoo-portage

http:// and rsync:// are also available



-- 
alan dot mckinnon at gmail dot com



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] troubles with emerge --sync
  2009-11-12  9:57       ` Alan McKinnon
@ 2009-11-12 11:05         ` Nelis Botha
  2009-11-12 11:22           ` Alan McKinnon
  0 siblings, 1 reply; 13+ messages in thread
From: Nelis Botha @ 2009-11-12 11:05 UTC (permalink / raw
  To: gentoo-user

Alan McKinnon wrote:
> On Wednesday 11 November 2009 23:10:35 Alexander Clark wrote:
>   
>>>> The remote end cut you off. Try another mirror.
>>>>         
>>> Is this a know infrastructure issue. It seems to happening a lot
>>> lately. I'm wary of retrying lest I end up on a ban list.
>>>       
>> I've retried a lot. Maybe I ended up on the ban list. What I really
>> need to do is set up a local mirror since I've got a rack full of
>> Gentoo servers.
>>     
>
> Use my mirror and see if things are better. It's 12 hours behind the master 
> and I don't implement that mythical ban list:
>
> ftp://ftp.is.co.za/mirror/gentoo-portage
>
> http:// and rsync:// are also available
>
>
>
>   
Hi Alan

Im Asking you directly as we share the same mirror and country :)
Also if I need to start a new thread just let me know ... I'm posting 
here as it has to do with rsync

so the question: How do I set up rsync on the IS mirror I tried to edit 
the make.conf by just adding the IS url to the rsync option and # out 
the other rsync server I had set up but emerge --rsync just told me that 
name could not be contacted my only option now is web-rsync but I'd 
rather use --rsync (also I'm capped on Intl so Local only bandwith here).

Thnks

Nelis



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] troubles with emerge --sync
  2009-11-12 11:05         ` Nelis Botha
@ 2009-11-12 11:22           ` Alan McKinnon
  0 siblings, 0 replies; 13+ messages in thread
From: Alan McKinnon @ 2009-11-12 11:22 UTC (permalink / raw
  To: gentoo-user

On Thursday 12 November 2009 13:05:06 Nelis Botha wrote:
> Alan McKinnon wrote:
> > On Wednesday 11 November 2009 23:10:35 Alexander Clark wrote:
> >>>> The remote end cut you off. Try another mirror.
> >>>
> >>> Is this a know infrastructure issue. It seems to happening a lot
> >>> lately. I'm wary of retrying lest I end up on a ban list.
> >>
> >> I've retried a lot. Maybe I ended up on the ban list. What I really
> >> need to do is set up a local mirror since I've got a rack full of
> >> Gentoo servers.
> >
> > Use my mirror and see if things are better. It's 12 hours behind the
> > master and I don't implement that mythical ban list:
> >
> > ftp://ftp.is.co.za/mirror/gentoo-portage
> >
> > http:// and rsync:// are also available
> 
> Hi Alan
> 
> Im Asking you directly as we share the same mirror and country :)
> Also if I need to start a new thread just let me know ... I'm posting
> here as it has to do with rsync
> 
> so the question: How do I set up rsync on the IS mirror I tried to edit
> the make.conf by just adding the IS url to the rsync option and # out
> the other rsync server I had set up but emerge --rsync just told me that
> name could not be contacted my only option now is web-rsync but I'd
> rather use --rsync (also I'm capped on Intl so Local only bandwith here).

Something like this in make.conf:

SYNC="rsync://ftp.is.co.za/gentoo-portage"
GENTOO_MIRRORS="ftp://ftp.is.co.za/mirror/gentoo.org/ 
http://distfiles.gentoo.org"

You should be able to rsync to rsync.is.co.za or to ftp.is.co.za, they are 
different interfaces on the same machine

-- 
alan dot mckinnon at gmail dot com



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] troubles with emerge --sync
  2009-11-11 21:10     ` Alexander Clark
  2009-11-11 23:04       ` Marcus Wanner
  2009-11-12  9:57       ` Alan McKinnon
@ 2009-11-20  0:03       ` Alexander Clark
  2009-11-30  1:27         ` daid kahl
  2 siblings, 1 reply; 13+ messages in thread
From: Alexander Clark @ 2009-11-20  0:03 UTC (permalink / raw
  To: gentoo-user@lists.gentoo.org

So I managed to fix the other wonkiness on my system (viz, gcc and  
emacs not emerging). Turns out, I had been sloppy in putting together  
my make.conf and used march=prescott when I should have been using  
march=pentium4. Fixed it, ran emerge -uDNe world. Things emerge now.

Unfortunately, the original problem with emerge --sync has not been  
resolved:

rsync error: sibling process crashed (code 15) at main.c(1505)
[generator=3.0.6]
 >>> Retrying...

and from dmesg:

grsec: signal 4 sent to /usr/bin/rsync[rsync:32164] uid/euid:0/0 gid/ 
egid:0/0, parent /usr/bin/rsync[rsync:32163] uid/euid:0/0 gid/egid:0/0

Still getting this error. I took a look at the core dump using gdb:

(no debugging symbols found)
Core was generated by `rsync --recursive --links --safe-links --perms  
--times --compress --force --who'.
Program terminated with signal 4, Illegal instruction.

 > Use my mirror and see if things are better.

Alan, thanks for letting me try this. Unfortunately, same result. I  
actually set up my own as well. All the other boxen in the rack are  
able to sync to it, but not this one.

I've tried re-emerging portage and rsync to no avail.

I'm running out of ideas...

Alexander Clark



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] troubles with emerge --sync
  2009-11-20  0:03       ` Alexander Clark
@ 2009-11-30  1:27         ` daid kahl
  2009-12-03 23:41           ` [gentoo-user][SOLVED] " Alexander Clark
  0 siblings, 1 reply; 13+ messages in thread
From: daid kahl @ 2009-11-30  1:27 UTC (permalink / raw
  To: gentoo-user

> So I managed to fix the other wonkiness on my system (viz, gcc and emacs not
> emerging). Turns out, I had been sloppy in putting together my make.conf and
> used march=prescott when I should have been using march=pentium4. Fixed it,
> ran emerge -uDNe world. Things emerge now.

Really late post on this, but an emphasis on march settings is warranted.

This will totally bungle all kinds of compiling.

If you keep around things like gcc-3 for rainy days, you'll also find
that some newer march optimizations are not defined in older gcc
versions, and this will make you all confused why nothing will compile
with your hardened compiler (which, incidentally, has g77).

I have three march items commented out (with comments on what each one
is) in my make.conf so at least I think about it if I'm trouble
shooting.

I got thrown off the other day setting up a newer machine with the
same kind of problem (it needed old code and gcc3...grrr).

Regards,
daid



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user][SOLVED] troubles with emerge --sync
  2009-11-30  1:27         ` daid kahl
@ 2009-12-03 23:41           ` Alexander Clark
  2009-12-04 23:20             ` daid kahl
  0 siblings, 1 reply; 13+ messages in thread
From: Alexander Clark @ 2009-12-03 23:41 UTC (permalink / raw
  To: gentoo-user@lists.gentoo.org

[-- Attachment #1: Type: text/plain, Size: 892 bytes --]

> Really late post on this, but an emphasis on march settings is  
> warranted.
>
> This will totally bungle all kinds of compiling.

Daid, thanks for your input. I keep an extra line of 'safe' cflags  
commented out, which saved the day in this case.

If it helps anyone, here's what the [continuing] problem was:

When I figured out that I was using the wrong march, I switched it  
out, but forgot to look over the cflags, which still contained -msse3.  
Hence some improvement but not a total fix. I was thinking of giving  
my safe cflags a go, when, looking at them and at my regular cflags, I  
realized that -msse3 didn't belong. Fixed it, emerge -uDNe world, and  
now emerge --sync works!

Based on this experience, I would submit that if you're running Gentoo  
and seeing SIGILL, double checking your march and your cflags would be  
a pretty good place to start.

Alexander Clark

[-- Attachment #2: Type: text/html, Size: 1276 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user][SOLVED] troubles with emerge --sync
  2009-12-03 23:41           ` [gentoo-user][SOLVED] " Alexander Clark
@ 2009-12-04 23:20             ` daid kahl
  0 siblings, 0 replies; 13+ messages in thread
From: daid kahl @ 2009-12-04 23:20 UTC (permalink / raw
  To: gentoo-user

> When I figured out that I was using the wrong march, I switched it out, but
> forgot to look over the cflags, which still contained -msse3. Hence some
> improvement but not a total fix. I was thinking of giving my safe cflags a
> go, when, looking at them and at my regular cflags, I realized that -msse3
> didn't belong. Fixed it, emerge -uDNe world, and now emerge --sync works!
> Based on this experience, I would submit that if you're running Gentoo and
> seeing SIGILL, double checking your march and your cflags would be a pretty
> good place to start.
> Alexander Clark

Just for anyone who might be keyword searching, you should guess it
might be cflags when you get the error cannot make executables.  Gotta
love compilers that can't compile anything!

~daid



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2009-12-04 23:21 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-11 19:01 [gentoo-user] troubles with emerge --sync Alexander Clark
2009-11-11 19:03 ` Marcus Wanner
2009-11-11 19:13 ` Alan McKinnon
2009-11-11 19:52   ` Alex Bennee
2009-11-11 21:10     ` Alexander Clark
2009-11-11 23:04       ` Marcus Wanner
2009-11-12  9:57       ` Alan McKinnon
2009-11-12 11:05         ` Nelis Botha
2009-11-12 11:22           ` Alan McKinnon
2009-11-20  0:03       ` Alexander Clark
2009-11-30  1:27         ` daid kahl
2009-12-03 23:41           ` [gentoo-user][SOLVED] " Alexander Clark
2009-12-04 23:20             ` daid kahl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox