Send freebsd-current mailing list submissions to
	freebsd-current@freebsd.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.freebsd.org/mailman/listinfo/freebsd-current
or, via email, send a message with subject or body 'help' to
	freebsd-current-request@freebsd.org

You can reach the person managing the list at
	freebsd-current-owner@freebsd.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of freebsd-current digest..."


Today's Topics:

   1. Re: FreeBSD 5.2.1  - P5-Proc::ProcessTable and other modules
      notworking? (Cyrille Lefevre)
   2. Re: bringing /etc/services up to date (Cyrille Lefevre)
   3. Re: Rewrite cvsup & portupgrade in C (Kirk Strauser)
   4. Re: Fatal trap 12 in microuptime (Colin Percival)
   5. Re: Fatal trap 12 in microuptime (Bjoern A. Zeeb)
   6. Re: Rewrite cvsup & portupgrade in C (Kirk Strauser)
   7. Re: Rewrite cvsup & portupgrade in C (Kirk Strauser)
   8. Re: Rewrite cvsup & portupgrade in C (Maxime Henrion)
   9. Re: Rewrite cvsup & portupgrade in C (Brad Knowles)
  10. Re: Rewrite cvsup & portupgrade in C (Steve Kargl)
  11. Re: Rewrite cvsup & portupgrade in C (Kirk Strauser)
  12. Re: Rewrite cvsup & portupgrade in C (Kirk Strauser)
  13. Re: Rewrite cvsup & portupgrade in C (Kirk Strauser)
  14. Re: Rewrite cvsup & portupgrade in C (Andrew Milton)
  15. [current tinderbox] failure on ia64/ia64 (FreeBSD Tinderbox)
  16. [current tinderbox] failure on powerpc/powerpc (FreeBSD Tinderbox)
  17. Re: Rewrite cvsup & portupgrade in C (Steve Kargl)
  18. Re: Rewrite cvsup & portupgrade in C (Vladimir Dyuzhev)
  19. Re: Rewrite cvsup & portupgrade in C (Andrew Milton)
  20. Re: Rewrite cvsup & portupgrade in C (Maxime Henrion)
  21. Re: Rewrite cvsup & portupgrade in C (Kirk Strauser)
  22. Re: Rewrite cvsup & portupgrade in C (Dag-Erling Sm?rgrav)
  23. [current tinderbox] failure on sparc64/sparc64 (FreeBSD Tinderbox)
  24. Re: Rewrite cvsup & portupgrade in C (Vladimir Dyuzhev)
  25. Re: Rewrite cvsup & portupgrade in C (Maxime Henrion)
  26. Re: Rewrite cvsup & portupgrade in C (Kirk Strauser)
  27. Re: Rewrite cvsup & portupgrade in C (Steve Kargl)
  28. Re: Rewrite cvsup & portupgrade in C (David Schultz)
  29. Re: Rewrite cvsup & portupgrade in C (Vladimir Dyuzhev)
  30. man page for mbuf is not consistent with header defines (for
      sure	in stable 4.10-PRERELEASE) (Robert Wagner)
  31. Re: panic: m_copym, length > size of mbuf chain (Daniel Lang)
  32. Re: panic: m_copym, length > size of mbuf chain (Robert Watson)
  33. Re: Rewrite cvsup & portupgrade in C (David O'Brien)
  34. Re: Rewrite cvsup & portupgrade in C (Kirk Strauser)
  35. Re: Rewrite cvsup & portupgrade in C (Maxime Henrion)


----------------------------------------------------------------------

Message: 1
Date: Wed, 7 Jul 2004 14:34:32 +0200
From: "Cyrille Lefevre" <clefevre-lists@9online.fr>
Subject: Re: FreeBSD 5.2.1  - P5-Proc::ProcessTable and other modules
	notworking?
To: "Andrew Nelson" <andrew__nelson@hotmail.com>,
	<freebsd-current@freebsd.org>
Message-ID: <019c01c4641e$c204fdc0$7890a8c0@dyndns.org>
Content-Type: text/plain;	charset="iso-8859-1"

"Andrew Nelson" <andrew__nelson@hotmail.com> wrote:
>
> I've upgraded from FreeBSD 4.8 to 5.2.1 and have
> noticed a number of script don't work...  One perl
> module i've found so far is:

which perl version are you using ?

# type perl
# perl -V

do you still have the old FreeBSD 4.8 base system perl ?
or are you running perl from ports ?

# ls -l /usr/bin/perl*
lrwxr-xr-x  1 root  wheel  19 May  1 13:42 /usr/bin/perl -> /usr/local/bin/per
l
lrwxr-xr-x  1 root  wheel  19 Dec  4  2003 /usr/bin/perl5 -> /usr/local/bin/pe
rl
lrwxr-xr-x  1 root  wheel  19 May  1 13:42 /usr/bin/perl5.8.2 ->
/usr/local/bin/perl

> Proc::ProcessTable.  The subroutines just return
> no result  (even the examples given at CPAN).

it works, here !

PID    TTY        STAT     START                    COMMAND
..
52884  /dev/ttyp0 pause    Sun Jun 20 02:27:50 2004 -ksh
..

do you have /proc mounted ?

# mount -t procfs
procfs on /proc (procfs, local)

do you install p5-Proc-ProcessTable from ports or packages ?
is it in the right place (mine goes in /usr/local/lib/perl5/site_perl/5.8.4
instead of /usr/local/lib/perl5/site_perl/5.8.2 since I don't have
an up-to-date perl) ?

# pkg_info -L p5-Proc-ProcessTable*

> Another script (which uses flow-tools) has started
> using an enormous amount of memory.. All versions
> are the same except for actual FreeBSD.

don't know this one.

> Can anyone help?  Do I need to re-install FreeBSD
> to a lower version?  If so, what version?


Cyrille Lefevre.
-- 
mailto:clefevre-lists@9online.fr


------------------------------

Message: 2
Date: Wed, 7 Jul 2004 14:39:52 +0200
From: "Cyrille Lefevre" <clefevre-lists@9online.fr>
Subject: Re: bringing /etc/services up to date
To: "John Merryweather Cooper" <johnmary@adelphia.net>,	"Drew
	Broadley" <drew@corrupt.co.nz>
Cc: current@freebsd.org
Message-ID: <01b401c4641f$80a30e70$7890a8c0@dyndns.org>
Content-Type: text/plain;	charset="iso-8859-1"

"John Merryweather Cooper" <johnmary@adelphia.net> wrote:
> On Wed, 2004-07-07 at 04:12, Drew Broadley wrote:
> > Colin Percival wrote:
> > 
> > >  I've put together a patch to bring /etc/services up to date with
> > >almost a decade of IANA port assignments.  Unfortunately, this
> > >turned out to be rather larger than I expected: It adds 6400 lines,
> > >and increases the size of /etc/services from 73 kB to 327 kB.
> > >  Is anyone going to be very unhappy if I go ahead and commit this?
> > >
> > What are the netstat calls to /etc/services like with the update, any 
> > performance decrease ?
> > 
> > (I cannot think of any other application that uses them off the top of 
> > my head)
> 
> ipfw uses /etc/services if you use, e.g., "domain" instead of "53" in
> your rules.  I would hope any application that seriously used
> /etc/services would read it once, store it in some speedily accessible
> form, and work from there.  As a flat, human-created file, /etc/services
> would not be my candidate for efficient program access.


except if you implement some kind of nscd (name service cache daemon) :)

Cyrille Lefevre.
-- 
mailto:clefevre-lists@9online.fr

------------------------------

Message: 3
Date: Wed, 7 Jul 2004 08:05:39 -0500
From: Kirk Strauser <kirk@strauser.com>
Subject: Re: Rewrite cvsup & portupgrade in C
To: current@freebsd.org
Message-ID: <200407070805.46725.kirk@strauser.com>
Content-Type: text/plain; charset="iso-8859-1"

On Wednesday 07 July 2004 12:31 am, Steve Kargl wrote:

> John previously has posted about his decision to use modulo-3.  He
> chose the best language for the problem he was trying to solve.

His reasoning was sound, but the world has moved on since then and modula-3 
never picked up the market share that John expected / hoped for.

> EZM3 appears to work on OpenBSD as well as other OSes.

On Intel.  I never could get it to work on Sparc.
-- 
Kirk Strauser
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040707/
d1a9624f/attachment-0001.bin

------------------------------

Message: 4
Date: Wed, 07 Jul 2004 06:01:09 -0700
From: Colin Percival <colin.percival@wadham.ox.ac.uk>
Subject: Re: Fatal trap 12 in microuptime
To: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
Cc: FreeBSD current mailing list <current@freebsd.org>
Message-ID: <6.1.0.6.1.20040707050952.03e44038@popserver.sfu.ca>
Content-Type: text/plain; charset=us-ascii

At 04:55 07/07/2004, Bjoern A. Zeeb wrote:
>when PXE booting I am getting this:
>[snip]

Well, it looks like proc0_post is being called at a time when there
is a partially-initialized process in allproc: p->p_stats is NULL.

How it is possible for this to happen is beyond my understanding. :-(

Colin Percival



------------------------------

Message: 5
Date: Wed, 7 Jul 2004 13:05:24 +0000 (UTC)
From: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
Subject: Re: Fatal trap 12 in microuptime
To: FreeBSD current mailing list <current@freebsd.org>
Message-ID:
	<Pine.BSF.4.53.0407071303580.59767@e0-0.zab2.int.zabbadoz.net>
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Wed, 7 Jul 2004, Bjoern A. Zeeb wrote:

Hi,

> when PXE booting I am getting this:
>
> --- cut ---
> Timecounter "TSC" frequency 133637195 Hz quality 800
> Timecounters tickmd0: Preloaded image </head-20040706.bin> 25165824 bytes at
 0xc06b9ad4
>  every 10.000 msec
> IPv6 packet filtering initialized, default to accept, unlimited logging
> ipfw2 initialized, divert enabled, rule-based forwarding enabled, default to
 accept, logging unlimited
> IPsec: Initialized Security Association Processing.
> lo0: bpf attached
>
>
> Fatal trap 12: page fault while in kernel mode
> fault virtual address   = 0xd8
> fault code              = supervisor write, page not present
> instruction pointer     = 0x8:0xc04947ff
> stack pointer           = 0x10:0xc2021d58
> frame pointer           = 0x10:0xc2021d6c
> code segment            = base 0x0, limit 0xfffff, type 0x1b
>                         = DPL 0, pres 1, def32 1, gran 1
> processor eflags        = interrupt enabled, resume, IOPL = 0
> current process         = 0 (swapper)
> kernel: type 12 trap, code=0
> Stopped at      microuptime+0x1f:       movl    %eax,0(%ebx)
> db> where
> microuptime(d8,8,c060d18c,c26875cc,c2021d98) at microuptime+0x1f
> proc0_post(0,201ec00,201e000,0,c04282f5) at proc0_post+0x36
> mi_startup() at mi_startup+0x94
> begin() at begin+0x2c
> --- cut ---
>
>
> (kgdb) l *0xc04947ff
> 0xc04947ff is in microuptime (time.h:128).
> 123
> 124     static __inline void
> 125     bintime2timeval(const struct bintime *bt, struct timeval *tv)
> 126     {
> 127
> 128             tv->tv_sec = bt->sec;
> 129             tv->tv_usec = ((uint64_t)1000000 * (uint32_t)(bt->frac >> 32
)) >> 32;
> 130     }
> 131
> 132     static __inline void
>
>
> this looks odd to me :(

this happend with SCHED_4BSD, same kernel config but with ULE booted
up fine (though w/o serial console for some reason) ....

-- 
Bjoern A. Zeeb				bzeeb at Zabbadoz dot NeT

------------------------------

Message: 6
Date: Wed, 7 Jul 2004 08:16:49 -0500
From: Kirk Strauser <kirk@strauser.com>
Subject: Re: Rewrite cvsup & portupgrade in C
To: current@freebsd.org
Message-ID: <200407070816.49846.kirk@strauser.com>
Content-Type: text/plain; charset="iso-8859-1"

On Wednesday 07 July 2004 02:00 am, David O'Brien wrote:

> What bugs?  I'm not aware of any CVSup bugs -- that doesn't mean at least
> one doesn't exist, but I'd love to know what that bug is.

How's cvsup-over-IPv6 coming along?  I note that the cvsup client is at 
version "SNAP_16_1h", and presumably those weren't all feature-adds.  Note 
that I am *not* saying that cvsup is a bad program - it clearly is not.  
Neither is it perfect.

> I think that everyone that bitches about CVSup being written in Modula-3
> hasn't looked at what the language features of Modula-3 are [...]

Sadly, I'm not sure if that's even relevent.  Modula-3 is close to being a 
dead language, in my opinion.  CVSup is literally the only program I know of 

that's written in it.  There are other actively evolving languages with the 
same properties you described with developer bases several orders of 
magnitude larger than Modula-3's.

Again, I don't think that Modula-3 is a bad language, but I think it's an 
increasingly difficult language in which to maintain a vital component of 
FreeBSD release system.  Neither do I advocate C/C++ on a basis of features, 

but you have to admit that the pool of available developers would increase 
dramatically.

Put another way, what if John gets hit by a bus.  How many people are ready to
 
step up and learn Modula-3 well enough to maintain and develop CVSup from 
that point on?
-- 
Kirk Strauser
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040707/
b7819acb/attachment-0001.bin

------------------------------

Message: 7
Date: Wed, 7 Jul 2004 08:25:17 -0500
From: Kirk Strauser <kirk@strauser.com>
Subject: Re: Rewrite cvsup & portupgrade in C
To: current@freebsd.org
Message-ID: <200407070825.18046.kirk@strauser.com>
Content-Type: text/plain; charset="iso-8859-1"

On Wednesday 07 July 2004 03:23 am, Brad Knowles wrote:

> I'm confused.  Once these applications are in binary form, what
> difference does it make what language they were written in?

You have to get it into binary first.  EZM3 is not available on many 
non-FreeBSD, non-Intel platforms.  Although it's used *primarily* by the 
FreeBSD project, it seems like there would be enough of a demand for such a 
thing that other a portable version would be readily adopted by other 
projects.

I see that there is no cvsup binary package for ia64.  Does M3 build on that 

platform?  Do you suppose that "csup" will when it's finished?
-- 
Kirk Strauser
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040707/
b7c07ef8/attachment-0001.bin

------------------------------

Message: 8
Date: Wed, 7 Jul 2004 15:31:43 +0200
From: Maxime Henrion <mux@freebsd.org>
Subject: Re: Rewrite cvsup & portupgrade in C
To: Kirk Strauser <kirk@strauser.com>
Cc: current@freebsd.org
Message-ID: <20040707133143.GF82302@elvis.mu.org>
Content-Type: text/plain; charset=us-ascii

Kirk Strauser wrote:
> On Wednesday 07 July 2004 03:23 am, Brad Knowles wrote:
> 
> > I'm confused.  Once these applications are in binary form, what
> > difference does it make what language they were written in?
> 
> You have to get it into binary first.  EZM3 is not available on many 
> non-FreeBSD, non-Intel platforms.  Although it's used *primarily* by the 
> FreeBSD project, it seems like there would be enough of a demand for such a 

> thing that other a portable version would be readily adopted by other 
> projects.
> 
> I see that there is no cvsup binary package for ia64.  Does M3 build on that
 
> platform?  Do you suppose that "csup" will when it's finished?

It already does.  Csup builds and runs fine on FreeBSD/i386, sparc64,
amd64, ia64 and alpha.  It works with both -STABLE and -CURRENT, and it
also works with libc_r, libthr and libkse.  Or at least, last time I
checked :-).

Cheers,
Maxime

------------------------------

Message: 9
Date: Wed, 7 Jul 2004 15:38:22 +0200
From: Brad Knowles <brad.knowles@skynet.be>
Subject: Re: Rewrite cvsup & portupgrade in C
To: Kirk Strauser <kirk@strauser.com>
Cc: current@freebsd.org
Message-ID: <p06002049bd11acd7e913@[10.0.1.3]>
Content-Type: text/plain; charset="us-ascii" ; format="flowed"

At 8:25 AM -0500 2004-07-07, Kirk Strauser wrote:

>  You have to get it into binary first.  EZM3 is not available on many
>  non-FreeBSD, non-Intel platforms.  Although it's used *primarily* by the
>  FreeBSD project, it seems like there would be enough of a demand for such a

>  thing that other a portable version would be readily adopted by other
>  projects.

	Right, but does this prohibit the creation of binary-only cvsup 
packages which don't rely on the ezm3 stuff once it's built?  Then 
people could do a pkg_add for that binary package, and not have to 
build it from source....

-- 
Brad Knowles, <brad.knowles@skynet.be>

"Those who would give up essential Liberty, to purchase a little
temporary Safety, deserve neither Liberty nor Safety."

     -- Benjamin Franklin (1706-1790), reply of the Pennsylvania
     Assembly to the Governor, November 11, 1755

   SAGE member since 1995.  See <http://www.sage.org/> for more info.

------------------------------

Message: 10
Date: Wed, 7 Jul 2004 06:57:53 -0700
From: Steve Kargl <sgk@troutmask.apl.washington.edu>
Subject: Re: Rewrite cvsup & portupgrade in C
To: Kirk Strauser <kirk@strauser.com>
Cc: current@freebsd.org
Message-ID: <20040707135753.GA38754@troutmask.apl.washington.edu>
Content-Type: text/plain; charset=us-ascii

On Wed, Jul 07, 2004 at 08:25:17AM -0500, Kirk Strauser wrote:
> On Wednesday 07 July 2004 03:23 am, Brad Knowles wrote:
> 
> > I'm confused.  Once these applications are in binary form, what
> > difference does it make what language they were written in?
> 
> You have to get it into binary first.  EZM3 is not available on many 
> non-FreeBSD, non-Intel platforms.

This is a red herring.  This is the FreeBSD project.  Other 
projects and OSes can do their own work.  They can then contribute
their work back to the EZM3 maintainer to provide the portability
you crave.

> I see that there is no cvsup binary package for ia64.  Does M3 build on that
 
> platform?  Do you suppose that "csup" will when it's finished?

How many active ia64 (and ppc) developers does the FreeBSD platform
have?  Well, there's Marcel.  Would you rather he work on the
kernel or ezm3?  You've suggested the modulo-3 is a dead language,
how would you categorize the ia64 architecture? 

-- 
Steve

------------------------------

Message: 11
Date: Wed, 7 Jul 2004 09:24:35 -0500
From: Kirk Strauser <kirk@strauser.com>
Subject: Re: Rewrite cvsup & portupgrade in C
To: freebsd-current@freebsd.org
Message-ID: <200407070924.46874.kirk@strauser.com>
Content-Type: text/plain; charset="iso-8859-1"

On Wednesday 2004-07-07 08:31 am, Maxime Henrion wrote:

> It already does.  Csup builds and runs fine on FreeBSD/i386, sparc64,
> amd64, ia64 and alpha.  It works with both -STABLE and -CURRENT, and it
> also works with libc_r, libthr and libkse.

Honestly, I'd be surprised if it didn't.  :)
-- 
Kirk Strauser

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 155 bytes
Desc: signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040707/
e7ef11d6/attachment-0001.bin

------------------------------

Message: 12
Date: Wed, 7 Jul 2004 09:24:53 -0500
From: Kirk Strauser <kirk@strauser.com>
Subject: Re: Rewrite cvsup & portupgrade in C
To: freebsd-current@freebsd.org
Message-ID: <200407070924.53636.kirk@strauser.com>
Content-Type: text/plain; charset="iso-8859-1"

On Wednesday 2004-07-07 08:38 am, Brad Knowles wrote:

> Right, but does this prohibit the creation of binary-only cvsup
> packages which don't rely on the ezm3 stuff once it's built?

Certainly not, but I don't know that ezm3 supports cross-compiling - does 
it?  If not, then where does that binary package come from?
-- 
Kirk Strauser

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 155 bytes
Desc: signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040707/
b81e49d4/attachment-0001.bin

------------------------------

Message: 13
Date: Wed, 7 Jul 2004 09:24:58 -0500
From: Kirk Strauser <kirk@strauser.com>
Subject: Re: Rewrite cvsup & portupgrade in C
To: freebsd-current@freebsd.org
Message-ID: <200407070924.58708.kirk@strauser.com>
Content-Type: text/plain; charset="iso-8859-1"

On Wednesday 2004-07-07 08:57 am, Steve Kargl wrote:

> This is a red herring.  This is the FreeBSD project.  Other projects and
> OSes can do their own work.

I really don't understand this logic.  There is nothing FreeBSD-specific 
about CVSup from what I can see - it's a generic tool to synchronize data 
from a remote CVS tree.  We don't have BSDftp or BSDhttp, but we seem happy 
to have BSDcvs.

> They can then contribute their work back to the EZM3 maintainer to provide
> the portability you crave.   

Noone else is interested in our tool, no matter how great it is, because 
it's a pain in the neck to use if you're not already using FreeBSD.  That 
means that we have to bear the entire onus of maintaining it, developing 
it, and porting its language to new release / hardware combinations.  Is 
there a queue of people eagerly awaiting the chance to carry ezm3 forward, 
or is it a chore that someone gets saddled with because they want to use 
the only commonly used program that's written in it?

> How many active ia64 (and ppc) developers does the FreeBSD platform
> have?  Well, there's Marcel.  Would you rather he work on the
> kernel or ezm3?  You've suggested the modulo-3 is a dead language,
> how would you categorize the ia64 architecture?

People are still buying IA64 systems (for reasons beyond me).  Noone besides 

the few people qualified to work on cvsup is using ezm3 that I'm aware of.
-- 
Kirk Strauser
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 155 bytes
Desc: signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040707/
0fcf7e7d/attachment-0001.bin

------------------------------

Message: 14
Date: Thu, 8 Jul 2004 00:40:14 +1000
From: Andrew Milton <akm@theinternet.com.au>
Subject: Re: Rewrite cvsup & portupgrade in C
To: Kirk Strauser <kirk@strauser.com>
Cc: freebsd-current@freebsd.org
Message-ID: <20040707144014.GF64690@camelot.theinternet.com.au>
Content-Type: text/plain; charset=us-ascii

+-------[ Kirk Strauser ]----------------------
|
| > They can then contribute their work back to the EZM3 maintainer to provide

| > the portability you crave.   
| 
| Noone else is interested in our tool, no matter how great it is, because 

There are lots of places interested in it. Some of the bigger ones that I know

of are;

KDE, SGI for XFS (probably other projects too), Postgres.

If you want to bleat out non sequiturs, that's fine, but, this is probably not

the place.

-- 
Totally Holistic Enterprises Internet|                      | Andrew Milton
The Internet (Aust) Pty Ltd          |  M:+61 416 022 411   |
ACN: 082 081 472 ABN: 83 082 081 472 |akm@theinternet.com.au| Carpe Daemon

------------------------------

Message: 15
Date: Wed,  7 Jul 2004 10:42:16 -0400 (EDT)
From: FreeBSD Tinderbox <tinderbox@freebsd.org>
Subject: [current tinderbox] failure on ia64/ia64
To: FreeBSD Tinderbox <tinderbox@freebsd.org>, <current@freebsd.org>,
	<ia64@freebsd.org>
Message-ID: <20040707144216.AE7317303F@freebsd-current.sentex.ca>

TB --- 2004-07-07 14:29:35 - tinderbox 2.3 running on freebsd-current.sentex.c
a
TB --- 2004-07-07 14:29:35 - starting CURRENT tinderbox run for ia64/ia64
TB --- 2004-07-07 14:29:35 - checking out the source tree
TB --- 2004-07-07 14:29:35 - cd /home/tinderbox/sandbox/CURRENT/ia64/ia64
TB --- 2004-07-07 14:29:35 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A 
src
TB --- 2004-07-07 14:34:16 - building world (CFLAGS=-O2 -pipe)
TB --- 2004-07-07 14:34:16 - cd /home/tinderbox/sandbox/CURRENT/ia64/ia64/src

TB --- 2004-07-07 14:34:16 - /usr/bin/make -B buildworld
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
[...]
cc -fpic -DPIC -O2 -pipe  -I/tinderbox/CURRENT/ia64/ia64/src/kerberos5/lib/lib
asn1/../../../crypto/heimdal/lib/asn1 -I/tinderbox/CURRENT/ia64/ia64/src/kerbe
ros5/lib/libasn1/../../../crypto/heimdal/lib/roken -I. -DHAVE_CONFIG_H -I/tind
erbox/CURRENT/ia64/ia64/src/kerberos5/lib/libasn1/../../include -DINET6  -c as
n1_Ticket.c -o asn1_Ticket.So
cc -fpic -DPIC -O2 -pipe  -I/tinderbox/CURRENT/ia64/ia64/src/kerberos5/lib/lib
asn1/../../../crypto/heimdal/lib/asn1 -I/tinderbox/CURRENT/ia64/ia64/src/kerbe
ros5/lib/libasn1/../../../crypto/heimdal/lib/roken -I. -DHAVE_CONFIG_H -I/tind
erbox/CURRENT/ia64/ia64/src/kerberos5/lib/libasn1/../../include -DINET6  -c as
n1_TicketFlags.c -o asn1_TicketFlags.So
cc -fpic -DPIC -O2 -pipe  -I/tinderbox/CURRENT/ia64/ia64/src/kerberos5/lib/lib
asn1/../../../crypto/heimdal/lib/asn1 -I/tinderbox/CURRENT/ia64/ia64/src/kerbe
ros5/lib/libasn1/../../../crypto/heimdal/lib/roken -I. -DHAVE_CONFIG_H -I/tind
erbox/CURRENT/ia64/ia64/src/kerberos5/lib/libasn1/../../include -DINET6  -c as
n1_TransitedEncoding.c -o asn1_TransitedEncoding.So
cc -fpic -DPIC -O2 -pipe  -I/tinderbox/CURRENT/ia64/ia64/src/kerberos5/lib/lib
asn1/../../../crypto/heimdal/lib/asn1 -I/tinderbox/CURRENT/ia64/ia64/src/kerbe
ros5/lib/libasn1/../../../crypto/heimdal/lib/roken -I. -DHAVE_CONFIG_H -I/tind
erbox/CURRENT/ia64/ia64/src/kerberos5/lib/libasn1/../../include -DINET6  -c as
n1_UNSIGNED.c -o asn1_UNSIGNED.So
building shared library libasn1.so.7
cc: Internal error: Bus error (program ld)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
*** Error code 1

Stop in /tinderbox/CURRENT/ia64/ia64/src/kerberos5/lib/libasn1.
*** Error code 1

Stop in /tinderbox/CURRENT/ia64/ia64/src.
*** Error code 1

Stop in /tinderbox/CURRENT/ia64/ia64/src.
*** Error code 1

Stop in /tinderbox/CURRENT/ia64/ia64/src.
*** Error code 1

Stop in /tinderbox/CURRENT/ia64/ia64/src.
TB --- 2004-07-07 14:42:16 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2004-07-07 14:42:16 - ERROR: failed to build world
TB --- 2004-07-07 14:42:16 - tinderbox aborted


------------------------------

Message: 16
Date: Wed,  7 Jul 2004 10:48:07 -0400 (EDT)
From: FreeBSD Tinderbox <tinderbox@freebsd.org>
Subject: [current tinderbox] failure on powerpc/powerpc
To: FreeBSD Tinderbox <tinderbox@freebsd.org>, <current@freebsd.org>,
	<powerpc@freebsd.org>
Message-ID: <20040707144807.3FA597303F@freebsd-current.sentex.ca>

TB --- 2004-07-07 14:42:16 - tinderbox 2.3 running on freebsd-current.sentex.c
a
TB --- 2004-07-07 14:42:16 - starting CURRENT tinderbox run for powerpc/powerp
c
TB --- 2004-07-07 14:42:16 - checking out the source tree
TB --- 2004-07-07 14:42:16 - cd /home/tinderbox/sandbox/CURRENT/powerpc/powerp
c
TB --- 2004-07-07 14:42:16 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A 
src
TB --- 2004-07-07 14:45:51 - building world (CFLAGS=-O2 -pipe)
TB --- 2004-07-07 14:45:51 - cd /home/tinderbox/sandbox/CURRENT/powerpc/powerp
c/src
TB --- 2004-07-07 14:45:51 - /usr/bin/make -B buildworld
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
[...]
/tinderbox/CURRENT/powerpc/powerpc/src/contrib/binutils/bfd/cpu-powerpc.c:285:
 error: initializer element is not constant
/tinderbox/CURRENT/powerpc/powerpc/src/contrib/binutils/bfd/cpu-powerpc.c:285:
 error: (near initialization for `bfd_powerpc_archs[13]')
/tinderbox/CURRENT/powerpc/powerpc/src/contrib/binutils/bfd/cpu-powerpc.c:295:
 error: `FALSE' undeclared here (not in a function)
/tinderbox/CURRENT/powerpc/powerpc/src/contrib/binutils/bfd/cpu-powerpc.c:295:
 error: initializer element is not constant
/tinderbox/CURRENT/powerpc/powerpc/src/contrib/binutils/bfd/cpu-powerpc.c:295:
 error: (near initialization for `bfd_powerpc_archs[14].the_default')
/tinderbox/CURRENT/powerpc/powerpc/src/contrib/binutils/bfd/cpu-powerpc.c:297:
 warning: initialization from incompatible pointer type
/tinderbox/CURRENT/powerpc/powerpc/src/contrib/binutils/bfd/cpu-powerpc.c:299:
 error: initializer element is not constant
/tinderbox/CURRENT/powerpc/powerpc/src/contrib/binutils/bfd/cpu-powerpc.c:299:
 error: (near initialization for `bfd_powerpc_archs[14]')
*** Error code 1

Stop in /tinderbox/CURRENT/powerpc/powerpc/src/gnu/usr.bin/binutils/libbfd.
*** Error code 1

Stop in /tinderbox/CURRENT/powerpc/powerpc/src/gnu/usr.bin/binutils.
*** Error code 1

Stop in /tinderbox/CURRENT/powerpc/powerpc/src.
*** Error code 1

Stop in /tinderbox/CURRENT/powerpc/powerpc/src.
*** Error code 1

Stop in /tinderbox/CURRENT/powerpc/powerpc/src.
TB --- 2004-07-07 14:48:07 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2004-07-07 14:48:07 - ERROR: failed to build world
TB --- 2004-07-07 14:48:07 - tinderbox aborted


------------------------------

Message: 17
Date: Wed, 7 Jul 2004 07:54:56 -0700
From: Steve Kargl <sgk@troutmask.apl.washington.edu>
Subject: Re: Rewrite cvsup & portupgrade in C
To: Kirk Strauser <kirk@strauser.com>, freebsd-current@freebsd.org
Message-ID: <20040707145456.GA39128@troutmask.apl.washington.edu>
Content-Type: text/plain; charset=us-ascii

On Thu, Jul 08, 2004 at 12:40:14AM +1000, Andrew Milton wrote:
> +-------[ Kirk Strauser ]----------------------
> |
> | > They can then contribute their work back to the EZM3 maintainer to provi
de
> | > the portability you crave.   
> | 
> | Noone else is interested in our tool, no matter how great it is, because 

> 
> There are lots of places interested in it. Some of the bigger ones that I kn
ow
> of are;
> 
> KDE, SGI for XFS (probably other projects too), Postgres.
> 

You forgot GCC.  Yes, GCC uses cvsup.


-- 
Steve

------------------------------

Message: 18
Date: Wed, 07 Jul 2004 11:08:27 -0400
From: Vladimir Dyuzhev <vladimir-dozen@sympatico.ca>
Subject: Re: Rewrite cvsup & portupgrade in C
To: freebsd-current@freebsd.org
Message-ID: <40EC11EB.4060804@sympatico.ca>
Content-Type: text/plain; charset=us-ascii; format=flowed

ehlo.

> I think that everyone that bitches about CVSup being written in Modula-3
> hasn't looked at what the language features of Modula-3 are (OO, good
> exceptions, threading built into the language, simple GUI, ...) 

   CVSup is a single threaded non-GUI app.
   And OO and exception are not worse in C++.

> M3 because it was a very good language for the job -- C and C++ isn't.

   C isn't. C++ is.

dozen
http://dozen.ru



------------------------------

Message: 19
Date: Thu, 8 Jul 2004 01:20:50 +1000
From: Andrew Milton <akm@theinternet.com.au>
Subject: Re: Rewrite cvsup & portupgrade in C
To: Vladimir Dyuzhev <vladimir-dozen@sympatico.ca>
Cc: freebsd-current@freebsd.org
Message-ID: <20040707152050.GG64690@camelot.theinternet.com.au>
Content-Type: text/plain; charset=us-ascii

+-------[ Vladimir Dyuzhev ]----------------------
| ehlo.
| 
| >I think that everyone that bitches about CVSup being written in Modula-3
| >hasn't looked at what the language features of Modula-3 are (OO, good
| >exceptions, threading built into the language, simple GUI, ...) 
| 
|   CVSup is a single threaded non-GUI app.

uhhhhh CVSup is definitely GUI with a non-gui option d8)

-- 
Totally Holistic Enterprises Internet|                      | Andrew Milton
The Internet (Aust) Pty Ltd          |  M:+61 416 022 411   |
ACN: 082 081 472 ABN: 83 082 081 472 |akm@theinternet.com.au| Carpe Daemon

------------------------------

Message: 20
Date: Wed, 7 Jul 2004 17:21:49 +0200
From: Maxime Henrion <mux@freebsd.org>
Subject: Re: Rewrite cvsup & portupgrade in C
To: Vladimir Dyuzhev <vladimir-dozen@sympatico.ca>
Cc: freebsd-current@freebsd.org
Message-ID: <20040707152149.GG82302@elvis.mu.org>
Content-Type: text/plain; charset=us-ascii

Vladimir Dyuzhev wrote:
> ehlo.
> 
> >I think that everyone that bitches about CVSup being written in Modula-3
> >hasn't looked at what the language features of Modula-3 are (OO, good
> >exceptions, threading built into the language, simple GUI, ...) 
> 
>   CVSup is a single threaded non-GUI app.

I suggest you check your facts before posting.  CVSup is inherently
multi-threaded and it has a GUI.

>   And OO and exception are not worse in C++.
> 
> >M3 because it was a very good language for the job -- C and C++ isn't.
> 
>   C isn't. C++ is.

I'm starting to get nervous reading e-mails from ten different people
each with its own opinion on what the best language to write CVSup with
would be.  This is particularly annoying since apparently none of these
people ever looked at the actual code (the fact that you think CVSup is
not a multi-threaded application makes that particularly obvious in your
case), and thus aren't qualified at judging this.  Nor are these people
willing to do the actual work.

So now, please everybody listen.  I did look at the code.  I chose C and
while it's probably not the best language to write CVSup with, it's far
from being bad at this task.  It has actually been _very_ helpful for
some parts of the code.  And finally, I'm doing the work here and it
works.  If you think I'm wasting my time and prefer to use the m3 version,
noone will prevent you from doing so.  If you want to rewrite CVSup in yet
another language for some reason, noone will prevent you from doing so.

In any case, please stay silent, you're not being helpful at all.  We're
not interested in a language flamewar to determine what would be the best
language for CVSup.  Please, let this thread die.

Thanks,
Maxime

------------------------------

Message: 21
Date: Wed, 7 Jul 2004 10:24:29 -0500
From: Kirk Strauser <kirk@strauser.com>
Subject: Re: Rewrite cvsup & portupgrade in C
To: freebsd-current@freebsd.org
Message-ID: <200407071024.33626.kirk@strauser.com>
Content-Type: text/plain; charset="iso-8859-1"

On Wednesday 2004-07-07 09:40 am, Andrew Milton wrote:

> If you want to bleat out non sequiturs, that's fine, but, this is
> probably not the place.

You know, I've gone out of my way to try to be civil and rational about this 

difference of opinion.  Your comments are completely uncalled for and do 
not become you.
-- 
Kirk Strauser
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 155 bytes
Desc: signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040707/
02431dda/attachment-0001.bin

------------------------------

Message: 22
Date: Wed, 07 Jul 2004 17:25:10 +0200
From: des@des.no (Dag-Erling Sm?rgrav)
Subject: Re: Rewrite cvsup & portupgrade in C
To: Vladimir Dyuzhev <vladimir-dozen@sympatico.ca>
Cc: freebsd-current@freebsd.org
Message-ID: <xzphdsjalgp.fsf@dwp.des.no>
Content-Type: text/plain; charset=iso-8859-1

Vladimir Dyuzhev <vladimir-dozen@sympatico.ca> writes:
> CVSup is a single threaded non-GUI app.

Bzzt!  Wrong, but thanks for playing.

<URL:http://www.cvsup.org/inaction.html>

> C isn't [suitable for the job]. C++ is.

No, C++ isn't, and probably never will be.

DES
-- 
Dag-Erling Sm�rgrav - des@des.no

------------------------------

Message: 23
Date: Wed,  7 Jul 2004 11:31:13 -0400 (EDT)
From: FreeBSD Tinderbox <tinderbox@freebsd.org>
Subject: [current tinderbox] failure on sparc64/sparc64
To: FreeBSD Tinderbox <tinderbox@freebsd.org>, <current@freebsd.org>,
	<sparc64@freebsd.org>
Message-ID: <20040707153113.88E1B7303F@freebsd-current.sentex.ca>

TB --- 2004-07-07 14:48:07 - tinderbox 2.3 running on freebsd-current.sentex.c
a
TB --- 2004-07-07 14:48:07 - starting CURRENT tinderbox run for sparc64/sparc6
4
TB --- 2004-07-07 14:48:07 - checking out the source tree
TB --- 2004-07-07 14:48:07 - cd /home/tinderbox/sandbox/CURRENT/sparc64/sparc6
4
TB --- 2004-07-07 14:48:07 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A 
src
TB --- 2004-07-07 14:50:04 - building world (CFLAGS=-O2 -pipe)
TB --- 2004-07-07 14:50:04 - cd /home/tinderbox/sandbox/CURRENT/sparc64/sparc6
4/src
TB --- 2004-07-07 14:50:04 - /usr/bin/make -B buildworld
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
>>> stage 4.3: make dependencies
>>> stage 4.4: building everything
[...]
cc -O2 -pipe  -DHAVE_CONFIG_H -I/tinderbox/CURRENT/sparc64/sparc64/src/gnu/usr
bin/tar -I/tinderbox/CURRENT/sparc64/sparc64/src/gnu/usr.bin/tar/../../../con
trib/tar/lib -I/tinderbox/CURRENT/sparc64/sparc64/src/gnu/usr.bin/tar/../../..
/contrib/tar/src  -c /tinderbox/CURRENT/sparc64/sparc64/src/contrib/tar/lib/ex
clude.c
cc -O2 -pipe  -DHAVE_CONFIG_H -I/tinderbox/CURRENT/sparc64/sparc64/src/gnu/usr
bin/tar -I/tinderbox/CURRENT/sparc64/sparc64/src/gnu/usr.bin/tar/../../../con
trib/tar/lib -I/tinderbox/CURRENT/sparc64/sparc64/src/gnu/usr.bin/tar/../../..
/contrib/tar/src  -c /tinderbox/CURRENT/sparc64/sparc64/src/contrib/tar/lib/fu
ll-write.c
cc -O2 -pipe  -DHAVE_CONFIG_H -I/tinderbox/CURRENT/sparc64/sparc64/src/gnu/usr
bin/tar -I/tinderbox/CURRENT/sparc64/sparc64/src/gnu/usr.bin/tar/../../../con
trib/tar/lib -I/tinderbox/CURRENT/sparc64/sparc64/src/gnu/usr.bin/tar/../../..
/contrib/tar/src  -c /tinderbox/CURRENT/sparc64/sparc64/src/contrib/tar/lib/ge
tdate.c
cc -O2 -pipe  -DHAVE_CONFIG_H -I/tinderbox/CURRENT/sparc64/sparc64/src/gnu/usr
bin/tar -I/tinderbox/CURRENT/sparc64/sparc64/src/gnu/usr.bin/tar/../../../con
trib/tar/lib -I/tinderbox/CURRENT/sparc64/sparc64/src/gnu/usr.bin/tar/../../..
/contrib/tar/src  -c /tinderbox/CURRENT/sparc64/sparc64/src/contrib/tar/lib/ge
tline.c
cc -O2 -pipe  -DHAVE_CONFIG_H -I/tinderbox/CURRENT/sparc64/sparc64/src/gnu/usr
bin/tar -I/tinderbox/CURRENT/sparc64/sparc64/src/gnu/usr.bin/tar/../../../con
trib/tar/lib -I/tinderbox/CURRENT/sparc64/sparc64/src/gnu/usr.bin/tar/../../..
/contrib/tar/src  -c /tinderbox/CURRENT/sparc64/sparc64/src/contrib/tar/lib/ge
tstr.c
cc -O2 -pipe  -DHAVE_CONFIG_H -I/tinderbox/CURRENT/sparc64/sparc64/src/gnu/usr
bin/tar -I/tinderbox/CURRENT/sparc64/sparc64/src/gnu/usr.bin/tar/../../../con
trib/tar/lib -I/tinderbox/CURRENT/sparc64/sparc64/src/gnu/usr.bin/tar/../../..
/contrib/tar/src  -c /tinderbox/CURRENT/sparc64/sparc64/src/contrib/tar/lib/ha
sh.c
{standard input}: Assembler messages:
{standard input}:1283: Error: Illegal operands
*** Error code 1

Stop in /tinderbox/CURRENT/sparc64/sparc64/src/gnu/usr.bin/tar.
*** Error code 1

Stop in /tinderbox/CURRENT/sparc64/sparc64/src/gnu/usr.bin.
*** Error code 1

Stop in /tinderbox/CURRENT/sparc64/sparc64/src/gnu.
*** Error code 1

Stop in /tinderbox/CURRENT/sparc64/sparc64/src.
*** Error code 1

Stop in /tinderbox/CURRENT/sparc64/sparc64/src.
*** Error code 1

Stop in /tinderbox/CURRENT/sparc64/sparc64/src.
TB --- 2004-07-07 15:31:13 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2004-07-07 15:31:13 - ERROR: failed to build world
TB --- 2004-07-07 15:31:13 - tinderbox aborted


------------------------------

Message: 24
Date: Wed, 07 Jul 2004 11:33:48 -0400
From: Vladimir Dyuzhev <vladimir-dozen@sympatico.ca>
Subject: Re: Rewrite cvsup & portupgrade in C
To: Maxime Henrion <mux@freebsd.org>
Cc: freebsd-current@freebsd.org
Message-ID: <40EC17DC.9020307@sympatico.ca>
Content-Type: text/plain; charset=us-ascii; format=flowed

ehlo.

>>  CVSup is a single threaded non-GUI app.

> I suggest you check your facts before posting.  CVSup is inherently
> multi-threaded and it has a GUI.

   I know that it has GUI (for some unknown to me reason). I never
   installed the GUI version though (and never seen it). I can't even
   find a reason to do so. So the GUI in CVSup is something artificial.

   Multithreadness in CVSup... well, as any "downloader" it could
   be done multithreaded (and by your words CVSup is done that way),
   and it can provide some gain, but it's not a must-be.

   So, I referred not to the way the CVSup *was* implemented, but to
   what language features are *enough* to implement it.

> I'm starting to get nervous reading e-mails from ten different people
> each with its own opinion on what the best language to write CVSup with
> would be.  

   Relax. Personally I do not care what language csup/CVSup is written
   in as long I could read/change the code without reading dusty
   books. If you prefer C -- that's perfectly okay.

dozen
http://dozen.ru


------------------------------

Message: 25
Date: Wed, 7 Jul 2004 17:37:25 +0200
From: Maxime Henrion <mux@freebsd.org>
Subject: Re: Rewrite cvsup & portupgrade in C
To: Vladimir Dyuzhev <vladimir-dozen@sympatico.ca>
Cc: freebsd-current@freebsd.org
Message-ID: <20040707153725.GH82302@elvis.mu.org>
Content-Type: text/plain; charset=us-ascii

Vladimir Dyuzhev wrote:
> ehlo.
> 
> >> CVSup is a single threaded non-GUI app.
> 
> >I suggest you check your facts before posting.  CVSup is inherently
> >multi-threaded and it has a GUI.
> 
>   I know that it has GUI (for some unknown to me reason). I never
>   installed the GUI version though (and never seen it). I can't even
>   find a reason to do so. So the GUI in CVSup is something artificial.

Yes, the GUI in CVSup isn't of much use.  It's even stated in the manual
page.  Csup won't support a GUI (or at least I won't write one).

>   Multithreadness in CVSup... well, as any "downloader" it could
>   be done multithreaded (and by your words CVSup is done that way),
>   and it can provide some gain, but it's not a must-be.
> 
>   So, I referred not to the way the CVSup *was* implemented, but to
>   what language features are *enough* to implement it.

It _is_ a must-be.

Please go take a look at the CVSup webpage and click on the "Why is
CVSup so fast?" link.  CVSup is far more than a "downloader" and the
way it is designed makes it inherently multi-threaded.  It's of course
theoritically possible to write it single-threaded but it would be a
real nightmare, and it would also be rather stupid IMO.

Maxime

------------------------------

Message: 26
Date: Wed, 7 Jul 2004 10:51:19 -0500
From: Kirk Strauser <kirk@strauser.com>
Subject: Re: Rewrite cvsup & portupgrade in C
To: freebsd-current@freebsd.org
Message-ID: <200407071051.20039.kirk@strauser.com>
Content-Type: text/plain; charset="iso-8859-1"

On Wednesday 2004-07-07 10:21 am, Maxime Henrion wrote:

> And finally, I'm doing the work here and it works.

That's enough for me.  Thanks for the work you're doing, Max!
-- 
Kirk Strauser
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 155 bytes
Desc: signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040707/
343bc6a0/attachment-0001.bin

------------------------------

Message: 27
Date: Wed, 7 Jul 2004 09:07:45 -0700
From: Steve Kargl <sgk@troutmask.apl.washington.edu>
Subject: Re: Rewrite cvsup & portupgrade in C
To: Maxime Henrion <mux@freebsd.org>
Cc: Vladimir Dyuzhev <vladimir-dozen@sympatico.ca>
Message-ID: <20040707160745.GA39557@troutmask.apl.washington.edu>
Content-Type: text/plain; charset=us-ascii

On Wed, Jul 07, 2004 at 05:21:49PM +0200, Maxime Henrion wrote:
> 
> So now, please everybody listen.  I did look at the code.  I chose C and
> while it's probably not the best language to write CVSup with, it's far
> from being bad at this task.  It has actually been _very_ helpful for
> some parts of the code.  And finally, I'm doing the work here and it
> works.  If you think I'm wasting my time and prefer to use the m3 version,
> noone will prevent you from doing so.  If you want to rewrite CVSup in yet
> another language for some reason, noone will prevent you from doing so.
> 

My initial argument does not invlove the language.  I don't
care about the language.  My argument is that neither cvsup
nor csup belong in the base system.  Both utilities can be
installed from ports.  If you're going to import csup, then
I hope csup goes through a security audit and you define a
NO_CSUP make.conf variable.

It is Kirk's incessant rambling that ezm3 isn't portable to
other OSes; therefore, csup should be in the base system
that I find illogical.

-- 
Steve

------------------------------

Message: 28
Date: Wed, 7 Jul 2004 09:09:28 -0700
From: David Schultz <das@FreeBSD.ORG>
Subject: Re: Rewrite cvsup & portupgrade in C
To: freebsd-current@FreeBSD.ORG
Message-ID: <20040707160928.GA56137@VARK.homeunix.com>
Content-Type: text/plain; charset=us-ascii

On Wed, Jul 07, 2004, David O'Brien wrote:
> On Wed, Jul 07, 2004 at 10:34:11AM +0200, Morten Rodal wrote:
> > On Wednesday 07 July 2004 06:30, Colin Percival wrote:
> > > At 21:12 06/07/2004, Steve Kargl wrote:
> > > >Is it really too hard to do
> > > >  1) pkgadd -r cvsup
> > > >  2) or use sysinstall to install cvsup
> > > >  3) or portinstall cvsup
> > > >  4) or cd /usr/ports/net/cvsup && make install
> > >
> > > cvsup isn't the problem.  ezm3 is the problem.
> > 
> > The main reason for leaving ezm3 behind from my point of view is the lack 

> > of support for IPv6.  (It should be noted that I am not sure whether it 
> > is cvsup or ezm3 that does not support IPv6)
> 
> Uh, ezm3 is a *compiler*.  Hint, does GCC support IPv6??

It was my impression that it's the runtime, not the compiler,
that's difficult to port and maintain.

------------------------------

Message: 29
Date: Wed, 07 Jul 2004 12:15:49 -0400
From: Vladimir Dyuzhev <vladimir-dozen@sympatico.ca>
Subject: Re: Rewrite cvsup & portupgrade in C
To: Maxime Henrion <mux@freebsd.org>
Cc: freebsd-current@freebsd.org
Message-ID: <40EC21B5.60509@sympatico.ca>
Content-Type: text/plain; charset=us-ascii; format=flowed

ehlo.

> Please go take a look at the CVSup webpage and click on the "Why is
> CVSup so fast?" link.  CVSup is far more than a "downloader" and the
> way it is designed makes it inherently multi-threaded.  It's of course
> theoritically possible to write it single-threaded but it would be a
> real nightmare, and it would also be rather stupid IMO.

   I like threads by myself. But looking on the description what that
   threads in CVSup do, I think it could be easely achieved with fork
   or finite state machine. I do not going to insist on it, though.

   Looking forward to see the csup in the *base* distribution.

dozen
http://dozen.ru

------------------------------

Message: 30
Date: Wed, 7 Jul 2004 09:13:49 -0700
From: "Robert Wagner" <robert.wagner@qlogic.com>
Subject: man page for mbuf is not consistent with header defines (for
	sure	in stable 4.10-PRERELEASE)
To: <freebsd-doc@freebsd.org>
Cc: "freebsd-stable@freebsd.org" <freebsd-current@freebsd.org>
Message-ID:
	<B179AE41C1147041AA1121F44614F0B0597642@AVEXCH02.qlogic.org>
Content-Type: text/plain;	charset="iso-8859-1"

The man page for mbuf has mbuf pkthdr flags definitions that do not match head
er file.

man page shows 

     /* mbuf pkthdr flags, also in m_flags */
     #define M_BCAST         0x0200  /* send/received as link-level broadcast 
*/
     #define M_MCAST         0x0400  /* send/received as link-level multicast 
*/
     #define M_FRAG          0x0800  /* packet is fragment of larger packet */

     #define M_FIRSTFRAG     0x1000  /* packet is first fragment */
     #define M_LASTFRAG      0x2000  /* packet is last fragment */

header (mbuf.h) file shows

/*
 * mbuf pkthdr flags (also stored in m_flags).
 */
#define	M_BCAST		0x0100	/* send/received as link-level broadcast */
#define	M_MCAST		0x0200	/* send/received as link-level multicast */
#define	M_FRAG		0x0400	/* packet is a fragment of a larger packet */
#define	M_FIRSTFRAG		0x0800	/* packet is first fragment */
#define	M_LASTFRAG		0x1000	/* packet is last fragment */

I am currently seeing this in 4.10-PRERELEASE 

Comments???

------------------------------

Message: 31
Date: Wed, 7 Jul 2004 18:21:54 +0200
From: Daniel Lang <dl@leo.org>
Subject: Re: panic: m_copym, length > size of mbuf chain
To: Robert Watson <rwatson@FreeBSD.org>
Cc: current@freebsd.org
Message-ID: <20040707162154.GB45200@atrbg11.informatik.tu-muenchen.de>
Content-Type: text/plain; charset="us-ascii"

Dear Robert,

Robert Watson wrote on Wed, Jul 07, 2004 at 11:11:02AM -0400:
> What kernel configuration are you running with, and what system tunables?
[..]

Bruce Simpson has asked the same thing. I'll just attach my answer to
him to this mail.

It does not, however, include the system tunables, and I cannot include
a sysctl -a output right now (the machine just crashed again, this time
again inside of WITNESS, a separate email will document this).
But IIRC I have removed all tunables from /etc/sysctl.conf and
/boot/loader.conf

As I told Bruce, I have never set debug.mpsafenet (in case you are
especially interested in this tunable).

Thanks,
 Daniel
-- 
IRCnet: Mr-Spock                         - Der Zweite Platz ist Dreck -
 Daniel Lang * dl@leo.org * +49 89 289 18532 * http://www.leo.org/~dl/
-------------- next part --------------
An embedded message was scrubbed...
From: unknown sender
Subject: no subject
Date: no date
Size: 2351
Url: http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040707/3
7b862c3/atleo6mail-0001.mht

------------------------------

Message: 32
Date: Wed, 7 Jul 2004 12:24:59 -0400 (EDT)
From: Robert Watson <rwatson@freebsd.org>
Subject: Re: panic: m_copym, length > size of mbuf chain
To: Daniel Lang <dl@leo.org>
Cc: current@freebsd.org
Message-ID:
	<Pine.NEB.3.96L.1040707122259.37929D-100000@fledge.watson.org>
Content-Type: TEXT/PLAIN; charset=US-ASCII


On Wed, 7 Jul 2004, Daniel Lang wrote:

> Dear Robert,
> 
> Robert Watson wrote on Wed, Jul 07, 2004 at 11:11:02AM -0400:
> > What kernel configuration are you running with, and what system tunables?

> [..]
> 
> Bruce Simpson has asked the same thing. I'll just attach my answer to
> him to this mail. 
> 
> It does not, however, include the system tunables, and I cannot include
> a sysctl -a output right now (the machine just crashed again, this time
> again inside of WITNESS, a separate email will document this).  But IIRC
> I have removed all tunables from /etc/sysctl.conf and /boot/loader.conf
> 
> As I told Bruce, I have never set debug.mpsafenet (in case you are
> especially interested in this tunable). 

Yeah, that's one of the ones I was particularly interested in :-).

Just to try ruling out possibilities -- have you run an extensive set of
hardware diagnostics?  Most server class hardware ships with a decent
diagnostics disk, and I'm sure we can find some for you in the event your
hardware didn't come with some.  While it's quite possibly a software
problem, tracking hardware problems using software symptoms constitutes
undesirable pain and so it wouldn't hurt to give that a spin.  I remember
seing your earlier e-mails about running with WITNESS increasing the
chances of pain -- this could be a bug in WITNESS as you suggest, or it
could be that WITNESS increases the opportunities for a variety of locking
related races by increasing the cost of lock/unlock operations.

Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
robert@fledge.watson.org      Principal Research Scientist, McAfee Research



------------------------------

Message: 33
Date: Wed, 7 Jul 2004 09:38:53 -0700
From: "David O'Brien" <obrien@freebsd.org>
Subject: Re: Rewrite cvsup & portupgrade in C
To: Brad Knowles <brad.knowles@skynet.be>
Cc: Kirk Strauser <kirk@strauser.com>
Message-ID: <20040707163853.GA7063@dragon.nuxi.com>
Content-Type: text/plain; charset=us-ascii

On Wed, Jul 07, 2004 at 10:23:16AM +0200, Brad Knowles wrote:
> At 12:00 AM -0700 2004-07-07, David O'Brien wrote:
> 
> > JDP choose M3 because it was a very good language for the job -- C and
> > C++ isn't.  We've gone too far in our snooty opinion that if it ain't
> > C/C++ it is crap.  Modula-3, Ada, and Eiffel are very fine application
> > languages, and CVSup is an _application_.
> 
> 	I'm confused.  Once these applications are in binary form, what 
> difference does it make what language they were written in?

HUGE!  Well maybe not HUGE, but huge.  Languages such as Ada and Modula-3
actually do bounds checking on arrays, for instance.  The safety and
correctness of an application running depends on the language it is
written in.  We should have a LOT less buffer overflows if an application
language were used for web servers, mail servers, and other network
daemons.

> Is cvsup not available as a binary-only package that can be installed?
> Are you required to build it from source, which is why you have to
> install ezm3 as well?

You are not required to build it from source -- Kris Kennaway does an
excellent job doing that for you.
 
-- 
-- David  (obrien@FreeBSD.org)

------------------------------

Message: 34
Date: Wed, 7 Jul 2004 11:42:53 -0500
From: Kirk Strauser <kirk@strauser.com>
Subject: Re: Rewrite cvsup & portupgrade in C
To: freebsd-current@freebsd.org
Message-ID: <200407071142.53897.kirk@strauser.com>
Content-Type: text/plain; charset="iso-8859-1"

On Wednesday 2004-07-07 11:07 am, Steve Kargl wrote:

> It is Kirk's incessant rambling that ezm3 isn't portable to other OSes;
> therefore, csup should be in the base system that I find illogical. 

You're either on crack or a liar.  I said this, once:

    cvsup is so absolutely necessary for system maintenance that it seems
    like a logical addition. 

and then never said anything more about putting csup in the base system.

The rest of my involvement in the thread was a discussion of the 
shortcomings of ezm3 as I see them and why I thought that using a version 
in a more popular language would be a good thing.

If you want to civilly debate my arguments, I'll be happy to discuss them 
with you.  If you insist putting words in my mouth, though, then I'm done 
with you.
-- 
Kirk Strauser
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 155 bytes
Desc: signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040707/
b591bf38/attachment-0001.bin

------------------------------

Message: 35
Date: Wed, 7 Jul 2004 18:57:49 +0200
From: Maxime Henrion <mux@freebsd.org>
Subject: Re: Rewrite cvsup & portupgrade in C
To: Vladimir Dyuzhev <vladimir-dozen@sympatico.ca>
Cc: freebsd-current@freebsd.org
Message-ID: <20040707165749.GK82302@elvis.mu.org>
Content-Type: text/plain; charset=us-ascii

Vladimir Dyuzhev wrote:
> ehlo.
> 
> >Please go take a look at the CVSup webpage and click on the "Why is
> >CVSup so fast?" link.  CVSup is far more than a "downloader" and the
> >way it is designed makes it inherently multi-threaded.  It's of course
> >theoritically possible to write it single-threaded but it would be a
> >real nightmare, and it would also be rather stupid IMO.
> 
>   I like threads by myself.

This has nothing to do with liking or disliking threads.

>   But looking on the description what that threads in CVSup do, I think
>   it could be easely achieved with fork or finite state machine.

You do not know enough about CVSup (as you have already shown) to be able
to determine whether doing things differently is easy or not, so please
stop trying to guess.  The small description I pointed you at is not enough
material to know.  Maybe you're going to think I'm an ass for being harsh,
but I wish you'd stop now.  I know what a finite state machine is.  The only
thing you are doing right now is being insulting with me.

>   I do not going to insist on it, though.

Cool.

>   Looking forward to see the csup in the *base* distribution.

Thanks.

Maxime

------------------------------

_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"

End of freebsd-current Digest, Vol 68, Issue 8
**********************************************


--
Evariste Galois:
    �����呛��樱������蔷������,����直前......


�� ��源:������� bbs.ustc.edu.cn [FROM: 210.45.72.234]