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: Rewrite cvsup & portupgrade in C (Xin LI)
2. Re: current build error without usb (M. Warner Losh)
3. Re: Rewrite cvsup & portupgrade in C (Steve Kargl)
4. Re: Rewrite cvsup & portupgrade in C (Kirk Strauser)
5. Re: Rewrite cvsup & portupgrade in C (Colin Percival)
6. Re: Rewrite cvsup & portupgrade in C (Jon Noack)
7. Re: Rewrite cvsup & portupgrade in C (Steve Kargl)
8. Re: Rewrite cvsup & portupgrade in C (Kirk Strauser)
9. Re: Rewrite cvsup & portupgrade in C (Xin LI)
10. Re[2]: Rewrite cvsup & portupgrade in C (Alexander)
11. Re: Rewrite cvsup & portupgrade in C (Daniel O'Connor)
12. Re: Rewrite cvsup & portupgrade in C (Steve Kargl)
13. Re: Rewrite cvsup & portupgrade in C (Jon Noack)
14. Re: Rewrite cvsup & portupgrade in C (Bruce M Simpson)
15. Re: Rewrite cvsup & portupgrade in C (Maxime Henrion)
16. Re: unkillable process in physrd-sttae (Viktor Ivanov)
17. Re: Rewrite cvsup & portupgrade in C (David O'Brien)
18. Re: Rewrite cvsup & portupgrade in C (David O'Brien)
19. Re: Rewrite cvsup & portupgrade in C (David O'Brien)
20. Re: Rewrite cvsup & portupgrade in C (Xin LI)
21. FreeBSD 5.2.1 - P5-Proc::ProcessTable and other modules not
working? (Andrew Nelson)
22. Re: Rewrite cvsup & portupgrade in C (Maxime Henrion)
23. Re: Rewrite cvsup & portupgrade in C (Dag-Erling Sm?rgrav)
24. Re: Odd linker errors (David O'Brien)
25. panic: m_copym, length > size of mbuf chain (Daniel Lang)
26. Re: Query on status of cross-builds (David O'Brien)
27. Re: ACPI-CA 20040527 import (David O'Brien)
28. Re: Rewrite cvsup & portupgrade in C (Morten Rodal)
29. Re: Rewrite cvsup & portupgrade in C (Maxime Henrion)
30. Re: Rewrite cvsup & portupgrade in C (David O'Brien)
31. Re: Rewrite cvsup & portupgrade in C (Bruce M Simpson)
32. Re: speeding up ugen by an order of magnitude. (Bernd Walter)
33. Re: speeding up ugen by an order of magnitude.
(Poul-Henning Kamp)
34. Re: panic: vm_page_t 0xc1c92660 phys_addr mismatch
0000000000b6d000 000000002bb6d405 (Eric Anholt)
35. contradictory: Automatic reboot in 15 seconds ... (Bjoern A. Zeeb)
36. Re: Rewrite cvsup & portupgrade in C (Brad Knowles)
----------------------------------------------------------------------
Message: 1
Date: Wed, 7 Jul 2004 11:17:35 +0800
From: Xin LI <delphij@frontfree.net>
Subject: Re: Rewrite cvsup & portupgrade in C
To: freebsd-current@FreeBSD.org
Cc: Rob <stopspam@users.sourceforge.net>
Message-ID: <20040707031735.GA3540@frontfree.net>
Content-Type: text/plain; charset="us-ascii"
On Tue, Jul 06, 2004 at 04:13:58PM -0700, David O'Brien wrote:
> On Tue, Jul 06, 2004 at 01:37:12AM -0000, Devon H. O'Dell wrote:
> > I'd like to note that Maxime (mux@) is working on csup (and it's mostly
> > finished from what I hear); a C implementation of cvsup.
>
> It only mimics CVSup 'check out' mode. It doesn't know how to mirror the
> ,v files.
I personally think this is enough for an average user who wants C implementati
on
in base system :-)
Cheers,
--
Xin LI <delphij frontfree net> http://www.delphij.net/
See complete headers for GPG key and other information.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040707/
d1748f7f/attachment-0001.bin
------------------------------
Message: 2
Date: Tue, 06 Jul 2004 21:45:49 -0600 (MDT)
From: "M. Warner Losh" <imp@bsdimp.com>
Subject: Re: current build error without usb
To: pawel_worach@yahoo.com
Cc: current@freebsd.org
Message-ID: <20040706.214549.10141468.imp@bsdimp.com>
Content-Type: Text/Plain; charset=us-ascii
In message: <20040706122913.76037.qmail@web61201.mail.yahoo.com>
Pawel Worach <pawel_worach@yahoo.com> writes:
: Hi,
:
: If I don't have usb support in my kernel config the build breaks
: in the depend target of the kernel build. This only happens
: on parallel builds (-j2 and -j4 tested). It begun around the
: latest batch of usb updates.
:
: --------------------------------------------------------------
: >>> stage 3.1: making dependencies
: --------------------------------------------------------------
: ...
: ===> urio
: ln -s /usr/obj/usr/src/sys/PROXY/opt_usb.h opt_usb.h
: machine -> /usr/src/sys/i386/include
: @ -> /usr/src/sys
: awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h
: awk -f @/tools/makeobjops.awk @/kern/device_if.m -h
: awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -h
: awk -f @/tools/usbdevs2h.awk @/dev/usb/usbdevs
: rm -f .depend
: mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -I- -I. -I@
: -I@/contrib/altq -I@/../include -I/usr/obj/usr/src/i386/usr/include
: -I/usr/obj/usr/src/sys/PROXY
: /usr/src/sys/modules/urio/../../dev/usb/urio.c
: ===> usb
: make: don't know how to make usbdevs_data.h. Stop
: *** Error code 2
: 1 error
When were the sources grabbed? I could have sworn I fixed this...
Warner
------------------------------
Message: 3
Date: Tue, 6 Jul 2004 21:12:20 -0700
From: Steve Kargl <sgk@troutmask.apl.washington.edu>
Subject: Re: Rewrite cvsup & portupgrade in C
To: Xin LI <delphij@frontfree.net>
Cc: freebsd-current@freebsd.org
Message-ID: <20040707041220.GA35497@troutmask.apl.washington.edu>
Content-Type: text/plain; charset=us-ascii
On Wed, Jul 07, 2004 at 11:17:35AM +0800, Xin LI wrote:
> On Tue, Jul 06, 2004 at 04:13:58PM -0700, David O'Brien wrote:
> > On Tue, Jul 06, 2004 at 01:37:12AM -0000, Devon H. O'Dell wrote:
> > > I'd like to note that Maxime (mux@) is working on csup (and it's mostly
> > > finished from what I hear); a C implementation of cvsup.
> >
> > It only mimics CVSup 'check out' mode. It doesn't know how to mirror the
> > ,v files.
>
> I personally think this is enough for an average user who wants C
> implementation in base system :-)
>
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
--
Steve
------------------------------
Message: 4
Date: Tue, 6 Jul 2004 23:22:58 -0500
From: Kirk Strauser <kirk@strauser.com>
Subject: Re: Rewrite cvsup & portupgrade in C
To: current@freebsd.org
Message-ID: <200407062323.02854.kirk@strauser.com>
Content-Type: text/plain; charset="iso-8859-1"
On Tuesday 06 July 2004 11:12 pm, 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
Not as long as you're on a system that supports it. For example, OpenBSD
doesn't have an m3 port for non-x86 platforms (at least not the last time I
checked). Although that doesn't directly relate to FreeBSD, it's does mean
that cvsup probably isn't as widespread as it would be if it had a nice,
portable C implementation.
I had spoken to John Polstra a while back about rewriting it in C++, but that
turned into Yet Another Dead Sourceforge Project.
I would personally be more interested in seeing a Python client, but that's
because I've been on a high-level language kick for the last couple of years.
Would there be any way to get most of cvsup's functionality out of rsync? It
wouldn't hurt my feelings if cvsup were replaced by rsync for the common
cases (4-STABLE, 5-CURRENT, etc.).
--
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/20040706/
b1aeb37f/attachment-0001.bin
------------------------------
Message: 5
Date: Tue, 06 Jul 2004 21:30:17 -0700
From: Colin Percival <colin.percival@wadham.ox.ac.uk>
Subject: Re: Rewrite cvsup & portupgrade in C
To: Steve Kargl <sgk@troutmask.apl.washington.edu>
Cc: freebsd-current@freebsd.org
Message-ID: <6.1.0.6.1.20040706212904.03d4fe00@popserver.sfu.ca>
Content-Type: text/plain; charset=us-ascii
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.
This is one of the unusual cases where it's easier to port
the program to a new language than it is to port the language
to a new platform. :-)
Colin Percival
------------------------------
Message: 6
Date: Tue, 06 Jul 2004 23:31:48 -0500
From: Jon Noack <noackjr@alumni.rice.edu>
Subject: Re: Rewrite cvsup & portupgrade in C
To: Steve Kargl <sgk@troutmask.apl.washington.edu>
Cc: Oliver Eikemeier <eikemeier@fillmore-labs.com>
Message-ID: <40EB7CB4.1040005@alumni.rice.edu>
Content-Type: text/plain; charset=us-ascii; format=flowed
On 07/06/04 23:12, Steve Kargl wrote:
> On Wed, Jul 07, 2004 at 11:17:35AM +0800, Xin LI wrote:
>> On Tue, Jul 06, 2004 at 04:13:58PM -0700, David O'Brien wrote:
>>> On Tue, Jul 06, 2004 at 01:37:12AM -0000, Devon H. O'Dell wrote:
>>>> I'd like to note that Maxime (mux@) is working on csup (and
>>>> it's mostly finished from what I hear); a C implementation of
>>>> cvsup.
>>>
>>> It only mimics CVSup 'check out' mode. It doesn't know how to
>>> mirror the ,v files.
>>
>> I personally think this is enough for an average user who wants C
>> implementation in base system :-)
>
> 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
I don't really care either way whether c(v)sup is in the base system.
The biggest win with csup is getting away from Modula-3. I don't know
enough about Modula-3 to have an educated opinion on it, but I do know
it takes a long time to compile and consumes a lot of space on my hard
drive even when using ezm (the following are in bytes):
$ pkg_info -qs ezm3-1.1_2
23135765
$ pkg_info -qs cvsup-without-gui-16.1h
2392189
Considering cvsup is the only thing I have that uses Modula-3, going the
csup route would save me time and space.
Jon
------------------------------
Message: 7
Date: Tue, 6 Jul 2004 21:32:51 -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: <20040707043251.GA35651@troutmask.apl.washington.edu>
Content-Type: text/plain; charset=us-ascii
On Tue, Jul 06, 2004 at 11:22:58PM -0500, Kirk Strauser wrote:
> On Tuesday 06 July 2004 11:12 pm, 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
>
> Not as long as you're on a system that supports it.
The discussion is about integrating an cvsup knock-off
into the base system. Can you say bloat? Can you say
bugs?
> For example, OpenBSD doesn't have an m3 port for non-x86 platforms
So, let Theo write a m3 port.
--
Steve
------------------------------
Message: 8
Date: Tue, 6 Jul 2004 23:45:23 -0500
From: Kirk Strauser <kirk@strauser.com>
Subject: Re: Rewrite cvsup & portupgrade in C
To: current@freebsd.org
Message-ID: <200407062345.24117.kirk@strauser.com>
Content-Type: text/plain; charset="iso-8859-1"
On Tuesday 06 July 2004 11:32 pm, Steve Kargl wrote:
> The discussion is about integrating an cvsup knock-off into the base
> system. Can you say bloat? Can you say bugs?
I guess I just don't see it that way. cvsup is so absolutely necessary for
system maintenance that it seems like a logical addition. I would imagine
that a client-only version in C would be much more heavily developed than the
current ezm3 version. In turn, this should reduce bugs and the eliminate
the need to install what is effectively a single-program language.
>> For example, OpenBSD doesn't have an m3 port for non-x86 platforms
> So, let Theo write a m3 port.
I wish he would, because it would probably be more portable then the current
system, which would allow more people to use it, which would turn more
developer eyes toward it, which would give us a better tool to use. As it
stands, cvsup is "that weird thing that FreeBSD uses".
--
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/20040706/
b74d1195/attachment-0001.bin
------------------------------
Message: 9
Date: Wed, 7 Jul 2004 13:04:55 +0800
From: Xin LI <delphij@frontfree.net>
Subject: Re: Rewrite cvsup & portupgrade in C
To: Steve Kargl <sgk@troutmask.apl.washington.edu>
Cc: freebsd-current@freebsd.org
Message-ID: <20040707050455.GA1468@frontfree.net>
Content-Type: text/plain; charset="us-ascii"
On Tue, Jul 06, 2004 at 09:12:20PM -0700, Steve Kargl wrote:
> On Wed, Jul 07, 2004 at 11:17:35AM +0800, Xin LI wrote:
> > On Tue, Jul 06, 2004 at 04:13:58PM -0700, David O'Brien wrote:
> > > On Tue, Jul 06, 2004 at 01:37:12AM -0000, Devon H. O'Dell wrote:
> > > > I'd like to note that Maxime (mux@) is working on csup (and it's mostl
y
> > > > finished from what I hear); a C implementation of cvsup.
> > >
> > > It only mimics CVSup 'check out' mode. It doesn't know how to mirror th
e
> > > ,v files.
> >
> > I personally think this is enough for an average user who wants C
> > implementation in base system :-)
> >
>
> 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
Of course not.
Well... It will spend you a good amount of time to compile and install
ezm3 during making the port. To install cvsup from disc1, you will have
to install X11 library as well, while there is many good reasons to
install cvsup-without-gui instead...
Installing cvsup with pkg_add -r is reasonable (this is also the way I
install cvsup), however, not so convinent for large deployment, and there
are good reasons to keep cvsup daemon out from being installed on production
boxes.
Cheers,
--
Xin LI <delphij frontfree net> http://www.delphij.net/
See complete headers for GPG key and other information.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040707/
3fc7b8b6/attachment-0001.bin
------------------------------
Message: 10
Date: Wed, 7 Jul 2004 08:24:01 +0300
From: Alexander <lists@perespim.net>
Subject: Re[2]: Rewrite cvsup & portupgrade in C
To: David O'Brien <freebsd-current@FreeBSD.org>
Message-ID: <655024895.20040707082401@perespim.net>
Content-Type: text/plain; charset=us-ascii
after reading the whole discuss above, i'll have my 2 cents :)
i think that cvs is a _bit_ arcane, subversion is good replacement..
well i said it's only my 2 cents :)
--
Best regards,
Alexander mailto:lists@perespim.net
------------------------------
Message: 11
Date: Wed, 7 Jul 2004 14:56:12 +0930
From: "Daniel O'Connor" <doconnor@gsoft.com.au>
Subject: Re: Rewrite cvsup & portupgrade in C
To: freebsd-current@freebsd.org
Cc: Oliver Eikemeier <eikemeier@fillmore-labs.com>
Message-ID: <200407071456.12107.doconnor@gsoft.com.au>
Content-Type: Text/Plain; charset="iso-8859-1"
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wed, 7 Jul 2004 14:34, Xin LI wrote:
> Installing cvsup with pkg_add -r is reasonable (this is also the way I
> install cvsup), however, not so convinent for large deployment, and there
> are good reasons to keep cvsup daemon out from being installed on
> production boxes.
If you are doing a large roll out I'd be pretty suprised if you wouldn't be
rolling your own package set..
- --
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
-- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)
iD8DBQFA64l05ZPcIHs/zowRAn5fAJ9rdOLXl64VXuA4moV5fi6ithYSMQCeOGZ7
Ee5Edk+3X+8k5LZEkeMfUtE=
=YzZC
-----END PGP SIGNATURE-----
------------------------------
Message: 12
Date: Tue, 6 Jul 2004 22:31:12 -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: <20040707053112.GA35950@troutmask.apl.washington.edu>
Content-Type: text/plain; charset=us-ascii
On Tue, Jul 06, 2004 at 11:45:23PM -0500, Kirk Strauser wrote:
> On Tuesday 06 July 2004 11:32 pm, Steve Kargl wrote:
>
> > The discussion is about integrating an cvsup knock-off into the base
> > system. Can you say bloat? Can you say bugs?
>
> I guess I just don't see it that way. cvsup is so absolutely necessary for
> system maintenance that it seems like a logical addition. I would imagine
> that a client-only version in C would be much more heavily developed than th
e
> current ezm3 version. In turn, this should reduce bugs and the eliminate
> the need to install what is effectively a single-program language.
John previously has posted about his decision to use modulo-3. He
chose the best language for the problem he was trying to solve.
> >> For example, OpenBSD doesn't have an m3 port for non-x86 platforms
>
> > So, let Theo write a m3 port.
>
> I wish he would, because it would probably be more portable then the current
> system, which would allow more people to use it, which would turn more
> developer eyes toward it, which would give us a better tool to use. As it
> stands, cvsup is "that weird thing that FreeBSD uses".
EZM3 appears to work on OpenBSD as well as other OSes.
http://www.polstra.com/projects/freeware/ezm3/
--
Steve
------------------------------
Message: 13
Date: Wed, 07 Jul 2004 00:38:07 -0500
From: Jon Noack <noackjr@alumni.rice.edu>
Subject: Re: Rewrite cvsup & portupgrade in C
To: Alexander <lists@perespim.net>
Cc: David O'Brien <freebsd-current@FreeBSD.org>
Message-ID: <40EB8C3F.8090504@alumni.rice.edu>
Content-Type: text/plain; charset=us-ascii; format=flowed
On 07/07/04 00:24, Alexander wrote:
> i think that cvs is a _bit_ arcane, subversion is good replacement..
> well i said it's only my 2 cents :)
Here's the start of an interesting thread over on -hackers from a few
months ago wrt subversion:
http://lists.freebsd.org/pipermail/freebsd-hackers/2004-February/005592.html
Jon
P.S. As a US citizen, I am distressed by the the weakening of the
dollar; 2 cents seems to be worth less and less these days... ;-)
------------------------------
Message: 14
Date: Wed, 7 Jul 2004 06:44:38 +0100
From: Bruce M Simpson <bms@spc.org>
Subject: Re: Rewrite cvsup & portupgrade in C
To: Steve Kargl <sgk@troutmask.apl.washington.edu>
Cc: Kirk Strauser <kirk@strauser.com>
Message-ID: <20040707054438.GC785@empiric.dek.spc.org>
Content-Type: text/plain; charset=us-ascii
On Tue, Jul 06, 2004 at 09:32:51PM -0700, Steve Kargl wrote:
> The discussion is about integrating an cvsup knock-off
> into the base system. Can you say bloat? Can you say
> bugs?
I have a high level of confidence in mux@'s ability to pull this one off. I
eagerly look forward to reviewing this code before it goes in, particularly
so considering that jdp@ (the original author) is very interested, too.
csup will be a big win for users and developers of the system alike, and
if other BSDs in the community can benefit from this, that can only be a
good thing.
Regards,
BMS
------------------------------
Message: 15
Date: Wed, 7 Jul 2004 07:56:34 +0200
From: Maxime Henrion <mux@freebsd.org>
Subject: Re: Rewrite cvsup & portupgrade in C
To: Steve Kargl <sgk@troutmask.apl.washington.edu>
Cc: Kirk Strauser <kirk@strauser.com>
Message-ID: <20040707055634.GB82302@elvis.mu.org>
Content-Type: text/plain; charset=us-ascii
Steve Kargl wrote:
> On Tue, Jul 06, 2004 at 11:45:23PM -0500, Kirk Strauser wrote:
> > On Tuesday 06 July 2004 11:32 pm, Steve Kargl wrote:
> >
> > > The discussion is about integrating an cvsup knock-off into the base
> > > system. Can you say bloat? Can you say bugs?
> >
> > I guess I just don't see it that way. cvsup is so absolutely necessary fo
r
> > system maintenance that it seems like a logical addition. I would imagine
> > that a client-only version in C would be much more heavily developed than
the
> > current ezm3 version. In turn, this should reduce bugs and the eliminate
> > the need to install what is effectively a single-program language.
>
> John previously has posted about his decision to use modulo-3. He
> chose the best language for the problem he was trying to solve.
And if you ask John about this, you'll see that he's very happy that I'm
rewriting CVSup in C. Modula-3 was indeed a good language to write this
software with, but it is now causing us a lot of pain. It seems it's not
trivial to make ezm3 work on any platform, and very, very few people know
enough about it to handle such a task. There are still several platforms
FreeBSD runs on where we don't have a CVSup client because of this.
Cheers,
Maxime
------------------------------
Message: 16
Date: Wed, 7 Jul 2004 09:39:36 +0300
From: Viktor Ivanov <viktor.ivanov@gmail.com>
Subject: Re: unkillable process in physrd-sttae
To: current@freebsd.org
Message-ID: <7f4bda0104070623393009a96c@mail.gmail.com>
Content-Type: text/plain; charset=US-ASCII
On Tue, 06 Jul 2004 19:21:22 +0200, Pav Lucistnik <pav@freebsd.org> wrote:
> I see this regularly, both DVD-Video playback and reading of files off
> data DVD. Workaround is to list directories and read files from the DVD,
> it will unstuck blocked process too. Or, issue
>
> # atacontrol mode 1 udma33 xxx
>
> (in case your DVD unit is alone on secondary IDE channel)...
You can try atacontrol reinit 1 too (if your DVD is on the second channel for
example). I do this all the time when burning (the burncd process stays
in physwr though and it might be an issue with burn-proof).
------------------------------
Message: 17
Date: Tue, 6 Jul 2004 23:52:55 -0700
From: "David O'Brien" <obrien@freebsd.org>
Subject: Re: Rewrite cvsup & portupgrade in C
To: Kirk Strauser <kirk@strauser.com>
Cc: freebsd-current@freebsd.org
Message-ID: <20040707065255.GB38356@dragon.nuxi.com>
Content-Type: text/plain; charset=us-ascii
On Tue, Jul 06, 2004 at 11:22:58PM -0500, Kirk Strauser wrote:
> Not as long as you're on a system that supports it. For example, OpenBSD
> doesn't have an m3 port for non-x86 platforms (at least not the last time I
> checked). Although that doesn't directly relate to FreeBSD, it's does mean
> that cvsup probably isn't as widespread as it would be if it had a nice,
> portable C implementation.
I'm sorry, but I don't have a lot of sympathy for this situation. It
would not take someone more than a weekend to get OpenBSD Alpha and
sparc64 support since these work just fine on FreeBSD. Since 'ezm3' will
soon be GCC 3.2.3 based, PowerPC support for *BSD should not be hard.
The only major platform that will be an issue is AMD64. I hope to be
able to pull off targeting AMD64 with the next release of 'ezm3'; but
there were some significant AMD64 bugs in GCC 3.2.3...
> Would there be any way to get most of cvsup's functionality out of rsync? I
t
> wouldn't hurt my feelings if cvsup were replaced by rsync for the common
> cases (4-STABLE, 5-CURRENT, etc.).
Sure -- that's CVSup's "check out" mode; which Csup does. So that gives
two "rsync-like" choices in 'C'. :-)
--
-- David (obrien@FreeBSD.org)
------------------------------
Message: 18
Date: Wed, 7 Jul 2004 00:00:12 -0700
From: "David O'Brien" <obrien@freebsd.org>
Subject: Re: Rewrite cvsup & portupgrade in C
To: Kirk Strauser <kirk@strauser.com>
Cc: freebsd-current@freebsd.org
Message-ID: <20040707070012.GC38356@dragon.nuxi.com>
Content-Type: text/plain; charset=us-ascii
On Tue, Jul 06, 2004 at 11:45:23PM -0500, Kirk Strauser wrote:
> On Tuesday 06 July 2004 11:32 pm, Steve Kargl wrote:
> > The discussion is about integrating an cvsup knock-off into the base
> > system. Can you say bloat? Can you say bugs?
..
> that a client-only version in C would be much more heavily developed than th
e
> current ezm3 version. In turn, this should reduce bugs and the eliminate
> the need to install what is effectively a single-program language.
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.
> >> For example, OpenBSD doesn't have an m3 port for non-x86 platforms
>
> > So, let Theo write a m3 port.
>
> I wish he would, because it would probably be more portable then the current
> system, which would allow more people to use it, which would turn more
> developer eyes toward it, which would give us a better tool to use. As it
> stands, cvsup is "that weird thing that FreeBSD uses".
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, ...) that they
grossly underestimate the effort to write CVSup in some other language.
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_.
--
-- David (obrien@FreeBSD.org)
------------------------------
Message: 19
Date: Wed, 7 Jul 2004 00:03:39 -0700
From: "David O'Brien" <obrien@freebsd.org>
Subject: Re: Rewrite cvsup & portupgrade in C
To: Colin Percival <colin.percival@wadham.ox.ac.uk>
Cc: freebsd-current@freebsd.org
Message-ID: <20040707070339.GD38356@dragon.nuxi.com>
Content-Type: text/plain; charset=us-ascii
On Tue, Jul 06, 2004 at 09:30:17PM -0700, Colin Percival wrote:
> cvsup isn't the problem. ezm3 is the problem.
>
> This is one of the unusual cases where it's easier to port
> the program to a new language than it is to port the language
> to a new platform. :-)
It is? Have you tried??
I can see this being an issue for AMD64, since GCC 3.2 didn't have good
support for AMD64 -- but GCC 3.2 supported all the rest of our platforms
just fine.
I truly believe it is simply that no one has been willing to even try to
port 'ezm3' to IA-64 and PowerPC. Everyone demands JDP do the porting
vs. giving it try on their own [asking JDP for advice along the way].
--
-- David (obrien@FreeBSD.org)
------------------------------
Message: 20
Date: Wed, 7 Jul 2004 14:09:47 +0800
From: Xin LI <delphij@frontfree.net>
Subject: Re: Rewrite cvsup & portupgrade in C
To: Daniel O'Connor <doconnor@gsoft.com.au>
Cc: freebsd-current@freebsd.org
Message-ID: <20040707060947.GA424@frontfree.net>
Content-Type: text/plain; charset="us-ascii"
On Wed, Jul 07, 2004 at 02:56:12PM +0930, Daniel O'Connor wrote:
> On Wed, 7 Jul 2004 14:34, Xin LI wrote:
> > Installing cvsup with pkg_add -r is reasonable (this is also the way I
> > install cvsup), however, not so convinent for large deployment, and there
> > are good reasons to keep cvsup daemon out from being installed on
> > production boxes.
>
> If you are doing a large roll out I'd be pretty suprised if you wouldn't be
> rolling your own package set..
Yes we do have our own package set as well as customized patchset for
production boxes, using a DHCP+bootp based remote installation method,
but I think it's a different story :-)
Cheers,
--
Xin LI <delphij frontfree net> http://www.delphij.net/
See complete headers for GPG key and other information.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040707/
926e7107/attachment-0001.bin
------------------------------
Message: 21
Date: Wed, 07 Jul 2004 17:14:19 +1000
From: "Andrew Nelson" <andrew__nelson@hotmail.com>
Subject: FreeBSD 5.2.1 - P5-Proc::ProcessTable and other modules not
working?
To: freebsd-current@freebsd.org
Message-ID: <BAY18-F37Q68qOaHmBs000171c9@hotmail.com>
Content-Type: text/plain; format=flowed
Hi,
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:
Proc::ProcessTable. The subroutines just return
no result (even the examples given at CPAN).
Another script (which uses flow-tools) has started
using an enormous amount of memory.. All versions
are the same except for actual FreeBSD.
Can anyone help? Do I need to re-install FreeBSD
to a lower version? If so, what version?
Thanks,
Andrew
_________________________________________________________________
SEEK: Now with over 50,000 dream jobs! Click here:
http://ninemsn.seek.com.au?hotmail
------------------------------
Message: 22
Date: Wed, 7 Jul 2004 09:26:05 +0200
From: Maxime Henrion <mux@freebsd.org>
Subject: Re: Rewrite cvsup & portupgrade in C
To: freebsd-current@FreeBSD.org
Cc: Rob <stopspam@users.sourceforge.net>
Message-ID: <20040707072605.GC82302@elvis.mu.org>
Content-Type: text/plain; charset=us-ascii
David O'Brien wrote:
> On Tue, Jul 06, 2004 at 01:37:12AM -0000, Devon H. O'Dell wrote:
> > I'd like to note that Maxime (mux@) is working on csup (and it's mostly
> > finished from what I hear); a C implementation of cvsup.
>
> It only mimics CVSup 'check out' mode. It doesn't know how to mirror the
> ,v files.
For what it's worth, even though csup only works in checkout mode for now,
there is nothing preventing that it gains cvs mode support. I'll probably
work on that once I have a solid checkout mode-only version.
Cheers,
Maxime
------------------------------
Message: 23
Date: Wed, 07 Jul 2004 09:32:29 +0200
From: des@des.no (Dag-Erling Sm?rgrav)
Subject: Re: Rewrite cvsup & portupgrade in C
To: freebsd-current@freebsd.org
Message-ID: <xzpd638s25u.fsf@dwp.des.no>
Content-Type: text/plain; charset=iso-8859-1
"David O'Brien" <obrien@freebsd.org> writes:
> 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, ...) that they
> grossly underestimate the effort to write CVSup in some other language.
The problem is not the language itself, but rather the lack of good,
portable implementations of said language.
DES
--
Dag-Erling Sm�rgrav - des@des.no
------------------------------
Message: 24
Date: Wed, 7 Jul 2004 00:46:19 -0700
From: "David O'Brien" <obrien@freebsd.org>
Subject: Re: Odd linker errors
To: Kris Kennaway <kris@obsecurity.org>
Cc: current@freebsd.org
Message-ID: <20040707074619.GC28368@dragon.nuxi.com>
Content-Type: text/plain; charset=us-ascii
On Sun, Jul 04, 2004 at 04:48:55AM -0700, Kris Kennaway wrote:
> > >>>>file.o(.text+0x623): In function `GetAOutFileInfo':
> > >>>>: undefined reference to `le32toh'
> > >>>>file.o(.text+0x63b): In function `GetAOutFileInfo':
> > >>>>: undefined reference to `le32toh'
> > >>>
> > >>I can't reproduce this here. However, netbooting a VAX probably isn't
> > >>a terribly common occurrance these days.
> > >
> > >I couldn't even find where it was calling le32toh.
> >
> > Are le32toh and similar functions supposed to be visible to userland? I
> > thought that they were only visible to the kernel. Either way,
> > something isn't right with your environment.
>
> That's the weird thing, this is a clean world built a few days ago,
> and the port hasn't changed in 8 months.
This may be related to my sys/sys/imgact_aout.h or include/a.out.h
commits. I'll take a look after I'm done chasing Binutils issues.
--
-- David (obrien@FreeBSD.org)
------------------------------
Message: 25
Date: Wed, 7 Jul 2004 10:01:31 +0200
From: Daniel Lang <dl@leo.org>
Subject: panic: m_copym, length > size of mbuf chain
To: freebsd-current@freebsd.org
Message-ID: <20040707080131.GA11086@atrbg11.informatik.tu-muenchen.de>
Content-Type: text/plain; charset=iso-8859-15
Dang,
I seem to stumble from one panic to another. :(
(Yes I have changed my RAM, I did it again now, though).
Here is the latest result:
GNU gdb 20040615 [GDB v6.x for FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-portbld-freebsd5.2"...
panic: m_copym, length > size of mbuf chain
panic messages:
---
panic: m_copym, length > size of mbuf chain
cpuid = 0;
Stack backtrace:
backtrace(100,c3510000,c6774400,0,c6774400) at 0xc0521c36 = backtrace+0x12
panic(c06b35cb,0,c39cfd00,0,1) at 0xc0521d56 = panic+0x11e
m_copym(0,22a,51e,1,c06ad14b) at 0xc0551819 = m_copym+0xa1
tcp_output(c4152540,0,0,0,1) at 0xc059ed6e = tcp_output+0xa4a
tcp_input(c3d9d900,14,0,14,17489f83) at 0xc059c8bd = tcp_input+0x1d9d
ip_input(c3d9d900) at 0xc0595732 = ip_input+0x832
netisr_processqueue(c074b398,c3522640,c351e880,e1c15d1c,c0510004) at 0xc05866b
e = netisr_processqueue+0x6e
swi_net(0) at 0xc0586a25 = swi_net+0x85
ithread_loop(c351e880,e1c15d48,c351e880,c050fed0,0) at 0xc0510004 = ithread_lo
op+0x134
fork_exit(c050fed0,c351e880,e1c15d48) at 0xc050f460 = fork_exit+0x98
fork_trampoline() at 0xc066120c = fork_trampoline+0x8
--- trap 0x1, eip = 0, esp = 0xe1c15d7c, ebp = 0 ---
Debugger("panic")
Dumping 2047 MB
16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 256 272 288 304 320 336
352 368 384 400 416 432 448 464 480 496 512 528 544 560 576 592 608 624 640 6
56 672 688 704 720 736 752 768 784 800 816 832 848 864 880 896 912 928 944 960
976 992 1008 1024 1040 1056 1072 1088 1104 1120 1136 1152 1168 1184 1200 1216
1232 1248 1264 1280 1296 1312 1328 1344 1360 1376 1392 1408 1424 1440 1456 14
72 1488 1504 1520 1536 1552 1568 1584 1600 1616 1632 1648 1664 1680 1696 1712
1728 1744 1760 1776 1792 1808 1824 1840 1856 1872 1888 1904 1920 1936 1952 196
8 1984 2000 2016 2032
---
#0 doadump () at /usr/src/sys/kern/kern_shutdown.c:236
236 dumping++;
doadump () at /usr/src/sys/kern/kern_shutdown.c:236
236 dumping++;
(kgdb) bt
#0 doadump () at /usr/src/sys/kern/kern_shutdown.c:236
#1 0xc04524e2 in db_fncall (dummy1=0, dummy2=0, dummy3=-1066031488,
dummy4=0xe1c158ec "\bY��X�Q�F") at /usr/src/sys/ddb/db_command.c:551
#2 0xc04522f0 in db_command (last_cmdp=0xc0716a70, cmd_table=0x0,
aux_cmd_tablep=0xc06ceac8, aux_cmd_tablep_end=0xc06ceae0)
at /usr/src/sys/ddb/db_command.c:348
#3 0xc04523c8 in db_command_loop () at /usr/src/sys/ddb/db_command.c:475
#4 0xc0454b4d in db_trap (type=3, code=0) at /usr/src/sys/ddb/db_trap.c:73
#5 0xc065fc11 in kdb_trap (type=3, code=0, regs=0xe1c15a18)
at /usr/src/sys/i386/i386/db_interface.c:159
#6 0xc06720f8 in trap (frame=
{tf_fs = -1067057128, tf_es = 16, tf_ds = 16, tf_edi = -1066715701, tf_e
si = 1, tf_ebp = -507422116, tf_isp = -507422140, tf_ebx = 0, tf_edx = 0, tf_e
cx = -1056882688, tf_eax = 18, tf_trapno = 3, tf_err = 0, tf_eip = -1067057458
, tf_cs = 8, tf_eflags = 642, tf_esp = -507422072, tf_ss = -507422084})
at /usr/src/sys/i386/i386/trap.c:579
#7 0xc06611aa in calltrap () at /usr/src/sys/i386/i386/exception.s:140
#8 0xc0660018 in decode_syscall (number=0, p=0x1)
at /usr/src/sys/i386/i386/db_trace.c:187
#9 0xc0521d69 in panic (fmt=0xc06b35cb "m_copym, length > size of mbuf chain"
)
at /usr/src/sys/kern/kern_shutdown.c:543
#10 0xc0551819 in m_copym (m=0x0, off0=554, len=1310, wait=1)
at /usr/src/sys/kern/uipc_mbuf.c:380
---Type <return> to continue, or q <return> to quit---
#11 0xc059ed6e in tcp_output (tp=0xc4152540)
at /usr/src/sys/netinet/tcp_output.c:748
#12 0xc059c8bd in tcp_input (m=0xc3d9d900, off0=20)
at /usr/src/sys/netinet/tcp_input.c:1929
#13 0xc0595732 in ip_input (m=0xc3d9d900)
at /usr/src/sys/netinet/ip_input.c:946
#14 0xc05866be in netisr_processqueue (ni=0xc074b398)
at /usr/src/sys/net/netisr.c:152
#15 0xc0586a25 in swi_net (dummy=0x0) at /usr/src/sys/net/netisr.c:257
#16 0xc0510004 in ithread_loop (arg=0xc351e880)
at /usr/src/sys/kern/kern_intr.c:544
#17 0xc050f460 in fork_exit (callout=0xc050fed0 <ithread_loop>,
arg=0xc351e880, frame=0xe1c15d48) at /usr/src/sys/kern/kern_fork.c:815
#18 0xc066120c in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:209
(kgdb) up 10
#10 0xc0551819 in m_copym (m=0x0, off0=554, len=1310, wait=1)
at /usr/src/sys/kern/uipc_mbuf.c:380
380 KASSERT(len == M_COPYALL,
Current language: auto; currently c
(kgdb) l
375 }
376 np = ⊤
377 top = 0;
378 while (len > 0) {
379 if (m == NULL) {
380 KASSERT(len == M_COPYALL,
381 ("m_copym, length > size of mbuf chain"));
382 break;
383 }
384 if (copyhdr)
(kgdb) p len
$1 = 1310
(kgdb) quit
[..]
Unfortunately this crash-dump is no longer available.
However, the stack trace may give someone a hint, what's going on.
I'm getting rather desperate now, with the machine now
down for over 3 weeks. :(
Cheers,
Daniel
--
IRCnet: Mr-Spock - Der Zweite Platz ist Dreck -
Daniel Lang * dl@leo.org * +49 89 289 18532 * http://www.leo.org/~dl/
------------------------------
Message: 26
Date: Wed, 7 Jul 2004 01:13:38 -0700
From: "David O'Brien" <obrien@FreeBSD.org>
Subject: Re: Query on status of cross-builds
To: current@FreeBSD.org
Message-ID: <20040707081338.GD28368@dragon.nuxi.com>
Content-Type: text/plain; charset=us-ascii
On Fri, Jul 02, 2004 at 09:44:43PM +0300, Ruslan Ermilov wrote:
> On Fri, Jul 02, 2004 at 09:20:01AM -0700, David O'Brien wrote:
> > > - ia64: internal errors in ld(1)
> >
> > Way, way at the bottom of my task list.
> > Others are certainly free to look into this.
> >
> Marcel sent you a patch that fixes BFD configuration for ia64
> on 32-bit machines.
That patch does not apply to my current Binutils code base.
I have a better fix (which will be committed once it has gone thru
testing on all our platforms).
--
-- David (obrien@FreeBSD.org)
------------------------------
Message: 27
Date: Wed, 7 Jul 2004 01:18:20 -0700
From: "David O'Brien" <obrien@freebsd.org>
Subject: Re: ACPI-CA 20040527 import
To: Brian Fundakowski Feldman <green@freebsd.org>
Cc: freebsd-current@freebsd.org
Message-ID: <20040707081820.GE28368@dragon.nuxi.com>
Content-Type: text/plain; charset=us-ascii
On Fri, Jul 02, 2004 at 03:18:15PM -0400, Brian Fundakowski Feldman wrote:
> On Fri, Jul 02, 2004 at 06:37:09PM +0200, Dag-Erling Sm?rgrav wrote:
> > Mark Santcroos <marks@ripe.net> writes:
> > > Any idea why I'm not seeing it?
> >
> > Because you're not building with -O2, like you should.
>
> I think DES forgot to say "for testing purposes."
Normal AMD64, Sparc64, and IA-64 kernels are build with -O2.
For others "-O2 -fno-strict-aliasing" is probably quite usable.
> Also, why do we trust -O2 when there's still no assurance that the reason
> it's broken with ppp(8) is a ppp(8) C bug itself?
Why don't you trust 'gcc -O2' when the rest of the world can use -O2 and
-O3 on their code bases?? (this includes large enterprise applications)
--
-- David (obrien@FreeBSD.org)
------------------------------
Message: 28
Date: Wed, 7 Jul 2004 10:34:11 +0200
From: Morten Rodal <morten@rodal.no>
Subject: Re: Rewrite cvsup & portupgrade in C
To: freebsd-current@freebsd.org
Message-ID: <200407071034.22187.morten@rodal.no>
Content-Type: text/plain; charset="iso-8859-1"
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)
--
Morten Rodal
"A supercomputer is a device for turning compute-bound
problems into I/O bound problems." -- Ken Batcher (Goodyear Aerospace)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040707/
11b84d59/attachment-0001.bin
------------------------------
Message: 29
Date: Wed, 7 Jul 2004 10:39:04 +0200
From: Maxime Henrion <mux@freebsd.org>
Subject: Re: Rewrite cvsup & portupgrade in C
To: Morten Rodal <morten@rodal.no>
Cc: freebsd-current@freebsd.org
Message-ID: <20040707083904.GE82302@elvis.mu.org>
Content-Type: text/plain; charset=us-ascii
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)
I'm not sure if ezm3 or CVSup is at fault here, however csup can work
fine over IPv6. The problem is that the server can't though :-).
Cheers,
Maxime
------------------------------
Message: 30
Date: Wed, 7 Jul 2004 01:41:42 -0700
From: "David O'Brien" <obrien@freebsd.org>
Subject: Re: Rewrite cvsup & portupgrade in C
To: Morten Rodal <morten@rodal.no>
Cc: freebsd-current@freebsd.org
Message-ID: <20040707084142.GA80580@dragon.nuxi.com>
Content-Type: text/plain; charset=us-ascii
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??
--
-- David (obrien@FreeBSD.org)
------------------------------
Message: 31
Date: Wed, 7 Jul 2004 10:03:20 +0100
From: Bruce M Simpson <bms@spc.org>
Subject: Re: Rewrite cvsup & portupgrade in C
To: David O'Brien <obrien@freebsd.org>
Cc: freebsd-current@freebsd.org
Message-ID: <20040707090320.GF785@empiric.dek.spc.org>
Content-Type: text/plain; charset=us-ascii
On Wed, Jul 07, 2004 at 01:41:42AM -0700, David O'Brien wrote:
> > 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??
ezm3 provides networking libraries which would need to be updated to
provide IPv6 support, and in turn, cvsup itself.
Perhaps one of the ingenious KAME people may have such a patch up their
sleeve? :-)
BMS
------------------------------
Message: 32
Date: Wed, 7 Jul 2004 11:13:12 +0200
From: Bernd Walter <ticso@cicely12.cicely.de>
Subject: Re: speeding up ugen by an order of magnitude.
To: Julian Elischer <julian@elischer.org>
Cc: mycroft@netbsd.org
Message-ID: <20040707091311.GE12877@cicely12.cicely.de>
Content-Type: text/plain; charset=us-ascii
On Tue, Jul 06, 2004 at 04:32:28PM -0700, Julian Elischer wrote:
>
> So, we had a device that we access through ugen.
>
> the manufacturer said we should get the transaction in 3 seconds
> and wiindows and linux did, but FreeBSD got it in 15 seconds.
> I suspect since the code is the same, NetBSD would get the same result..
>
> lokking at it I noticed that ugen does everything in 1K bits,
> which is ok for USB1, but a bit silly for USB2.
Mmm - 128k is very big - consider that you may have hundrets of
ugen bulk pipes open - all with outstanding reads.
This would eat up kernel memory quite fast.
The problem is lost bus time between finishing an xfer and issuing
the next one - consider that part of this lost time is OS dependend
latency and in fact might be limited to FreeBSD.
What about those options:
- limit the allocated memory to the user request so we don't take the
whole 128k if not reuired.
- Do interleaving with 2 or more xfers if the read request is known to
take more xfers.
Naturally the situation with bulk writes is the same.
--
B.Walter BWCT http://www.bwct.de
bernd@bwct.de info@bwct.de
------------------------------
Message: 33
Date: Wed, 07 Jul 2004 11:16:14 +0200
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
Subject: Re: speeding up ugen by an order of magnitude.
To: ticso@cicely.de
Cc: mycroft@netbsd.org
Message-ID: <33631.1089191774@critter.freebsd.dk>
In message <20040707091311.GE12877@cicely12.cicely.de>, Bernd Walter writes:
>On Tue, Jul 06, 2004 at 04:32:28PM -0700, Julian Elischer wrote:
>What about those options:
>- limit the allocated memory to the user request so we don't take the
> whole 128k if not reuired.
>- Do interleaving with 2 or more xfers if the read request is known to
> take more xfers.
I would consider ugen to be a primary candidate to use physio like
I belive scsi-tape drives do ?
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
------------------------------
Message: 34
Date: Wed, 07 Jul 2004 02:37:47 -0700
From: Eric Anholt <eta@lclark.edu>
Subject: Re: panic: vm_page_t 0xc1c92660 phys_addr mismatch
0000000000b6d000 000000002bb6d405
To: Doug White <dwhite@gumbysoft.com>
Cc: current@FreeBSD.org
Message-ID: <1089193066.893.122.camel@leguin>
Content-Type: text/plain
On Tue, 2004-07-06 at 15:54, Doug White wrote:
> On Mon, 5 Jul 2004, eta wrote:
>
> > Got a panic on the new little server I'm testing for use at our school.
> >
> > panic: vm_page_t 0xc1c92660 phys_addr mismatch 0000000000b6d000
> > 000000002bb6d405.
> >
> > Attached is some gdb and dmesg output. It's -current from 2004-06-25,
> > and I was in the middle of a gnome-upgrade.sh. The kernel config is
> > generic minus WITNESS plus COMPAT_LINUX.
> >
> > Anyone seen this?
>
> Unfortunately the backtrace is corrupted by the secondary panic. This
> might be bad memory, however; the pattern is kind of interesting. Can't
> say I've seen that on my dual Opteron, but I haven't built -current on it
> in a while.
Yeah, what was strange was that it was two of the same type of panic
while running the same task in short succession. That's why I decided
to send it instead of sitting on it longer. Also, it's been stable when
running the buildworlds and buildkernels I've done outside of the
chroot, but then those are much shorter than a gnome-upgrade.sh. There
haven't been any strange signals when building things, which I would
think would happen more often in a bad memory situation.
I got another panic today running a 20040705 in a different part of the
kernel (taking a fault while doing pmap stuff and recursing on a lockmgr
lock). So maybe it is a hardware issue. Will have to stress the
machine some more in different ways.
--
Eric Anholt eta@lclark.edu
http://people.freebsd.org/~anholt/ anholt@FreeBSD.org
------------------------------
Message: 35
Date: Wed, 7 Jul 2004 09:33:36 +0000 (UTC)
From: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
Subject: contradictory: Automatic reboot in 15 seconds ...
To: FreeBSD current mailing list <current@freebsd.org>
Message-ID:
<Pine.BSF.4.53.0407070919140.59767@e0-0.zab2.int.zabbadoz.net>
Content-Type: TEXT/PLAIN; charset=US-ASCII
Hi,
while PXE booting I ran into a panic and got this message:
--- cut ---
..
panic: page fault
syncing disks, buffers remaining...
done
Uptime: 2s
Automatic reboot in 15 seconds - press a key on the console to abort
--> Press a key on the console to reboot,
--> or switch off the system now.
--- cut ---
so what should I do now - press a key to abort or press a key to
reboot?
Actually pressing a key seems to reboot the machine while not doing
anything results in nothing happening - so the automatic reboot
doesn't seem to happen. Perhaps some broken logic in shutdown_panic ?
most interesting kernel options: no DDB, no WITNESS, no INVARIANTS
Can someone please review an clarify the contradictory messages.
--
Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT
------------------------------
Message: 36
Date: Wed, 7 Jul 2004 10:23:16 +0200
From: Brad Knowles <brad.knowles@skynet.be>
Subject: Re: Rewrite cvsup & portupgrade in C
To: freebsd-current@freebsd.org
Cc: Kirk Strauser <kirk@strauser.com>
Message-ID: <p06002039bd11631ca135@[10.0.1.3]>
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
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? 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?
--
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.
------------------------------
_______________________________________________
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 6
**********************************************
--
[35mEvariste Galois[m:
[33m�����呛��樱������蔷������,����直前......[m
[m[31m�� ��源:������� bbs.ustc.edu.cn [FROM: 210.45.72.234][m