Re: csup ends up in sigwai after "Shutting down connection to server", never exits
Anton, Sorry for the delay, I was AFK over the last couple of days. On Tue, Jun 19, 2012 at 01:19:38PM +0100, Anton Shterenlikht wrote: > On Tue, Jun 19, 2012 at 01:49:36PM +0200, Jeremie Le Hen wrote: > > > > I think recompiling the kernel and the libraries csup depends on will be > > enough. > > you mean > > # make cleandir && make obj && make && make install > > for all these libs: > > # ldd /root/csup/csup > /root/csup/csup: > libz.so.6 => /lib/libz.so.6 (0x1200ca000) > libthr.so.3 => /lib/libthr.so.3 (0x120102000) > libmd.so.5 => /lib/libmd.so.5 (0x12014c000) > libc.so.7 => /lib/libc.so.7 (0x120178000) Yes, right. And the kernel of course. -- Jeremie Le Hen Men are born free and equal. Later on, they're on their own. Jean Yanne ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: csup ends up in sigwai after "Shutting down connection to server", never exits
On Tue, Jun 19, 2012 at 01:49:36PM +0200, Jeremie Le Hen wrote: > Anton, > > On Mon, Jun 18, 2012 at 09:55:44AM +0100, Anton Shterenlikht wrote: > > On Thu, Jun 14, 2012 at 12:15:05PM +0100, Anton Shterenlikht wrote: > > > On Thu, Jun 14, 2012 at 11:57:38AM +0100, Anton Shterenlikht wrote: > > > > On ia64 r235474 and r235163 I get: > > > > > > > > # csup -L2 /root/ports-supfile > > > > Parsing supfile "/root/ports-supfile" > > > > Connecting to cvsup.uk.FreeBSD.org > > > > Connected to 131.111.8.41 > > > > Server software version: SNAP_16_1h > > > > MD5 authentication started > > > > MD5 authentication successful > > > > Negotiating file attribute support > > > > Exchanging collection information > > > > Establishing multiplexed-mode data connection > > > > Running > > > > Updating collection ports-all/cvs > > > > Shutting down connection to server > > > > > > > > csup never exits. > > > > > > > > >From top: > > > > > > > > PID USERNAMETHR PRI NICE SIZERES STATE C TIME WCPU > > > > COMMAND > > > > 33822 root 2 200 37496K 23352K sigwai 1 0:32 0.00% > > > > csup > > > > > > > > > > > > On amd64 r236740M I don't see this problem. > > > > > > Just to update - I don't see this problem on ia64 r231193M. > > > It seems the only relevant change in usr.bin/csup since then was: > > > > > > Index: usr.bin/csup/auth.c > > > === > > > --- usr.bin/csup/auth.c (revision 231193) > > > +++ usr.bin/csup/auth.c (working copy) > > > @@ -293,7 +293,7 @@ > > > gettimeofday(&tv, NULL); > > > pid = getpid(); > > > ppid = getppid(); > > > - srand(tv.tv_usec ^ tv.tv_sec ^ pid); > > > + srandom(tv.tv_usec ^ tv.tv_sec ^ pid); > > > addrlen = sizeof(laddr); > > > error = getsockname(config->socket, (struct sockaddr *)&laddr, > > > &addrlen); > > > if (error < 0) { > > > > I was thinking of doing a binary search for this, > > but realised that I'd have to build/install world, > > not just kernel, right? This will take a *long* time. > > I think recompiling the kernel and the libraries csup depends on will be > enough. you mean # make cleandir && make obj && make && make install for all these libs: # ldd /root/csup/csup /root/csup/csup: libz.so.6 => /lib/libz.so.6 (0x1200ca000) libthr.so.3 => /lib/libthr.so.3 (0x120102000) libmd.so.5 => /lib/libmd.so.5 (0x12014c000) libc.so.7 => /lib/libc.so.7 (0x120178000) right? -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: csup ends up in sigwai after "Shutting down connection to server", never exits
Anton, On Mon, Jun 18, 2012 at 09:55:44AM +0100, Anton Shterenlikht wrote: > On Thu, Jun 14, 2012 at 12:15:05PM +0100, Anton Shterenlikht wrote: > > On Thu, Jun 14, 2012 at 11:57:38AM +0100, Anton Shterenlikht wrote: > > > On ia64 r235474 and r235163 I get: > > > > > > # csup -L2 /root/ports-supfile > > > Parsing supfile "/root/ports-supfile" > > > Connecting to cvsup.uk.FreeBSD.org > > > Connected to 131.111.8.41 > > > Server software version: SNAP_16_1h > > > MD5 authentication started > > > MD5 authentication successful > > > Negotiating file attribute support > > > Exchanging collection information > > > Establishing multiplexed-mode data connection > > > Running > > > Updating collection ports-all/cvs > > > Shutting down connection to server > > > > > > csup never exits. > > > > > > >From top: > > > > > > PID USERNAMETHR PRI NICE SIZERES STATE C TIME WCPU > > > COMMAND > > > 33822 root 2 200 37496K 23352K sigwai 1 0:32 0.00% csup > > > > > > > > > On amd64 r236740M I don't see this problem. > > > > Just to update - I don't see this problem on ia64 r231193M. > > It seems the only relevant change in usr.bin/csup since then was: > > > > Index: usr.bin/csup/auth.c > > === > > --- usr.bin/csup/auth.c (revision 231193) > > +++ usr.bin/csup/auth.c (working copy) > > @@ -293,7 +293,7 @@ > > gettimeofday(&tv, NULL); > > pid = getpid(); > > ppid = getppid(); > > - srand(tv.tv_usec ^ tv.tv_sec ^ pid); > > + srandom(tv.tv_usec ^ tv.tv_sec ^ pid); > > addrlen = sizeof(laddr); > > error = getsockname(config->socket, (struct sockaddr *)&laddr, > > &addrlen); > > if (error < 0) { > > I was thinking of doing a binary search for this, > but realised that I'd have to build/install world, > not just kernel, right? This will take a *long* time. I think recompiling the kernel and the libraries csup depends on will be enough. -- Jeremie Le Hen Men are born free and equal. Later on, they're on their own. Jean Yanne ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: csup ends up in sigwai after "Shutting down connection to server", never exits
On Thu, Jun 14, 2012 at 12:15:05PM +0100, Anton Shterenlikht wrote: > On Thu, Jun 14, 2012 at 11:57:38AM +0100, Anton Shterenlikht wrote: > > On ia64 r235474 and r235163 I get: > > > > # csup -L2 /root/ports-supfile > > Parsing supfile "/root/ports-supfile" > > Connecting to cvsup.uk.FreeBSD.org > > Connected to 131.111.8.41 > > Server software version: SNAP_16_1h > > MD5 authentication started > > MD5 authentication successful > > Negotiating file attribute support > > Exchanging collection information > > Establishing multiplexed-mode data connection > > Running > > Updating collection ports-all/cvs > > Shutting down connection to server > > > > csup never exits. > > > > >From top: > > > > PID USERNAMETHR PRI NICE SIZERES STATE C TIME WCPU COMMAND > > 33822 root 2 200 37496K 23352K sigwai 1 0:32 0.00% csup > > > > > > On amd64 r236740M I don't see this problem. > > Just to update - I don't see this problem on ia64 r231193M. > It seems the only relevant change in usr.bin/csup since then was: > > Index: usr.bin/csup/auth.c > === > --- usr.bin/csup/auth.c (revision 231193) > +++ usr.bin/csup/auth.c (working copy) > @@ -293,7 +293,7 @@ > gettimeofday(&tv, NULL); > pid = getpid(); > ppid = getppid(); > - srand(tv.tv_usec ^ tv.tv_sec ^ pid); > + srandom(tv.tv_usec ^ tv.tv_sec ^ pid); > addrlen = sizeof(laddr); > error = getsockname(config->socket, (struct sockaddr *)&laddr, > &addrlen); > if (error < 0) { I was thinking of doing a binary search for this, but realised that I'd have to build/install world, not just kernel, right? This will take a *long* time. Shall I submit a PR for this? -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: csup ends up in sigwai after "Shutting down connection to server", never exits
On 14.06.12 17:04, Anton Shterenlikht wrote: On Thu, Jun 14, 2012 at 03:20:16PM +0200, Jeremie Le Hen wrote: Hi Anton, On Thu, Jun 14, 2012 at 11:57:38AM +0100, Anton Shterenlikht wrote: On ia64 r235474 and r235163 I get: # csup -L2 /root/ports-supfile Parsing supfile "/root/ports-supfile" Connecting to cvsup.uk.FreeBSD.org Connected to 131.111.8.41 Server software version: SNAP_16_1h MD5 authentication started MD5 authentication successful Negotiating file attribute support Exchanging collection information Establishing multiplexed-mode data connection Running Updating collection ports-all/cvs Shutting down connection to server csup never exits. >From top: PID USERNAMETHR PRI NICE SIZERES STATE C TIME WCPU COMMAND 33822 root 2 200 37496K 23352K sigwai 1 0:32 0.00% csup On amd64 r236740M I don't see this problem. mux@ fixed many bugs in his bitbucket source tree [1], would you mind giving it a spin? I may import the latest code into the tree when I have enough free time. [1] https://bitbucket.org/mux/csup no, this doesn't help. I get exactly the same behaviour. Perhaps the problem is not in csup. Any ideas on how to debug this further? Not really debugging, but did you try to fetch a fresh ports-tree? Had something similar yesterday (afair on ppc64) and ended with a fresh csup. Gruss, Andreas ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: csup ends up in sigwai after "Shutting down connection to server", never exits
On Thu, Jun 14, 2012 at 03:20:16PM +0200, Jeremie Le Hen wrote: > Hi Anton, > > On Thu, Jun 14, 2012 at 11:57:38AM +0100, Anton Shterenlikht wrote: > > On ia64 r235474 and r235163 I get: > > > > # csup -L2 /root/ports-supfile > > Parsing supfile "/root/ports-supfile" > > Connecting to cvsup.uk.FreeBSD.org > > Connected to 131.111.8.41 > > Server software version: SNAP_16_1h > > MD5 authentication started > > MD5 authentication successful > > Negotiating file attribute support > > Exchanging collection information > > Establishing multiplexed-mode data connection > > Running > > Updating collection ports-all/cvs > > Shutting down connection to server > > > > csup never exits. > > > > >From top: > > > > PID USERNAMETHR PRI NICE SIZERES STATE C TIME WCPU COMMAND > > 33822 root 2 200 37496K 23352K sigwai 1 0:32 0.00% csup > > > > > > On amd64 r236740M I don't see this problem. > > mux@ fixed many bugs in his bitbucket source tree [1], would you mind > giving it a spin? I may import the latest code into the tree when I > have enough free time. > > [1] https://bitbucket.org/mux/csup no, this doesn't help. I get exactly the same behaviour. Perhaps the problem is not in csup. Any ideas on how to debug this further? -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: csup ends up in sigwai after "Shutting down connection to server", never exits
Hi Anton, On Thu, Jun 14, 2012 at 11:57:38AM +0100, Anton Shterenlikht wrote: > On ia64 r235474 and r235163 I get: > > # csup -L2 /root/ports-supfile > Parsing supfile "/root/ports-supfile" > Connecting to cvsup.uk.FreeBSD.org > Connected to 131.111.8.41 > Server software version: SNAP_16_1h > MD5 authentication started > MD5 authentication successful > Negotiating file attribute support > Exchanging collection information > Establishing multiplexed-mode data connection > Running > Updating collection ports-all/cvs > Shutting down connection to server > > csup never exits. > > >From top: > > PID USERNAMETHR PRI NICE SIZERES STATE C TIME WCPU COMMAND > 33822 root 2 200 37496K 23352K sigwai 1 0:32 0.00% csup > > > On amd64 r236740M I don't see this problem. mux@ fixed many bugs in his bitbucket source tree [1], would you mind giving it a spin? I may import the latest code into the tree when I have enough free time. [1] https://bitbucket.org/mux/csup -- Jeremie Le Hen Men are born free and equal. Later on, they're on their own. Jean Yanne ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: csup ends up in sigwai after "Shutting down connection to server", never exits
On Thu, Jun 14, 2012 at 11:57:38AM +0100, Anton Shterenlikht wrote: > On ia64 r235474 and r235163 I get: > > # csup -L2 /root/ports-supfile > Parsing supfile "/root/ports-supfile" > Connecting to cvsup.uk.FreeBSD.org > Connected to 131.111.8.41 > Server software version: SNAP_16_1h > MD5 authentication started > MD5 authentication successful > Negotiating file attribute support > Exchanging collection information > Establishing multiplexed-mode data connection > Running > Updating collection ports-all/cvs > Shutting down connection to server > > csup never exits. > > >From top: > > PID USERNAMETHR PRI NICE SIZERES STATE C TIME WCPU COMMAND > 33822 root 2 200 37496K 23352K sigwai 1 0:32 0.00% csup > > > On amd64 r236740M I don't see this problem. Just to update - I don't see this problem on ia64 r231193M. It seems the only relevant change in usr.bin/csup since then was: Index: usr.bin/csup/auth.c === --- usr.bin/csup/auth.c (revision 231193) +++ usr.bin/csup/auth.c (working copy) @@ -293,7 +293,7 @@ gettimeofday(&tv, NULL); pid = getpid(); ppid = getppid(); - srand(tv.tv_usec ^ tv.tv_sec ^ pid); + srandom(tv.tv_usec ^ tv.tv_sec ^ pid); addrlen = sizeof(laddr); error = getsockname(config->socket, (struct sockaddr *)&laddr, &addrlen); if (error < 0) { -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
csup ends up in sigwai after "Shutting down connection to server", never exits
On ia64 r235474 and r235163 I get: # csup -L2 /root/ports-supfile Parsing supfile "/root/ports-supfile" Connecting to cvsup.uk.FreeBSD.org Connected to 131.111.8.41 Server software version: SNAP_16_1h MD5 authentication started MD5 authentication successful Negotiating file attribute support Exchanging collection information Establishing multiplexed-mode data connection Running Updating collection ports-all/cvs Shutting down connection to server csup never exits. >From top: PID USERNAMETHR PRI NICE SIZERES STATE C TIME WCPU COMMAND 33822 root 2 200 37496K 23352K sigwai 1 0:32 0.00% csup On amd64 r236740M I don't see this problem. -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"