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: RFC: Sorting in top -m io (Dan Nelson)
2. Re: FreeBSD 5.2.1 - P5-Proc::ProcessTable and other modules
not working? (Doug White)
3. [PATCH] Witness breakage (John Baldwin)
4. Re: Native preemption is the culprit [was Re: today's CURRENT
lockups] (John Baldwin)
5. Re: speeding up ugen by an order of magnitude. (Matthew Dillon)
6. Re: Rewrite cvsup & portupgrade in C (Christian Weisgerber)
7. Re: RFC: Sorting in top -m io (Dan Nelson)
8. Re: [HEADSUP] bluetooth is about to be marked as non-i386
specific (Guido Falsi)
9. BOOTP* or NFS changes break buildkernel (Steve Kargl)
10. Re: RFC: Sorting in top -m io (Alfred Perlstein)
11. Re: Rewrite cvsup & portupgrade in C (Jon Noack)
12. Re: RFC: Sorting in top -m io (David O'Brien)
13. Re: Dell Latitude D400 ndis Dell TrueMobile 1400 (Trond Davidsen)
14. Re: Rewrite cvsup & portupgrade in C (Dag-Erling Sm?rgrav)
15. Re: [PATCH] Witness breakage (John Baldwin)
16. Re: Rewrite cvsup & portupgrade in C (Jon Noack)
17. Serial console booting config (Kim Culhan)
18. Re: [PATCH] Witness breakage (Steve Kargl)
19. Re: RFC: Sorting in top -m io (Alfred Perlstein)
20. Re: [PATCH] Witness breakage (Doug White)
21. Re: [PATCH] Witness breakage (Robert Watson)
22. Re: [PATCH] Witness breakage (Steve Kargl)
23. Re: [PATCH] Witness breakage (Steve Kargl)
24. Re: [PATCH] Witness breakage (Dag-Erling Sm?rgrav)
25. Re: [PATCH] Witness breakage (Robert Watson)
26. Re: [PATCH] Witness breakage (Steve Kargl)
27. Re: [PATCH] Witness breakage (Doug White)
28. Re: RFC: Sorting in top -m io (Dag-Erling Sm?rgrav)
29. Re: bringing /etc/services up to date (Cyrille Lefevre)
30. Re: FreeBSD 5.2.1 - P5-Proc::ProcessTable and other modules
not working? (Cyrille Lefevre)
31. Re: RFC: Sorting in top -m io (Alfred Perlstein)
32. Re: [HEADSUP] bluetooth is about to be marked as non-i386
specific (Kris Kennaway)
33. Re: [PATCH] Witness breakage (Steve Kargl)
34. lib/libngatm and gnu/usr.bin/binutils/as break installworld
(Steve Kargl)
35. [current tinderbox] failure on sparc64/sparc64 (FreeBSD Tinderbox)
----------------------------------------------------------------------
Message: 1
Date: Thu, 8 Jul 2004 12:07:33 -0500
From: Dan Nelson <dnelson@allantgroup.com>
Subject: Re: RFC: Sorting in top -m io
To: Alfred Perlstein <alfred@freebsd.org>
Cc: Giorgos Keramidas <keramida@freebsd.org>
Message-ID: <20040708170731.GI57155@dan.emsphone.com>
Content-Type: text/plain; charset=us-ascii
In the last episode (Jul 08), Alfred Perlstein said:
> * Giorgos Keramidas <keramida@freebsd.org> [040708 05:45] wrote:
> > Hi all...
> >
> > The new -m io option of top is cool, but sorting is broken when the
> > 'io' mode is enabled. The following patch adds sorting
> > capabilities to the 'io' mode too and makes sure that hitting 'h'
> > for help prints the right list of sorting keywords :)
> >
> > The only thing I didn't add a sorting capability for is "percent",
> > because I'm not sure I know all it takes to do this.
> >
> > What do you all think of this patch to top(1)?
>
> I think it's awesome. Go for it.
docs are still missing: manpage, top Usage string, and "?" help all
need to describe the -m flag and 'm' key. Since there's room,
context-switch info would also be neat to display.
--
Dan Nelson
dnelson@allantgroup.com
------------------------------
Message: 2
Date: Thu, 8 Jul 2004 10:08:48 -0700 (PDT)
From: Doug White <dwhite@gumbysoft.com>
Subject: Re: FreeBSD 5.2.1 - P5-Proc::ProcessTable and other modules
not working?
To: Andrew Nelson <andrew__nelson@hotmail.com>
Cc: freebsd-current@freebsd.org
Message-ID: <20040708100801.A46038@carver.gumbysoft.com>
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Wed, 7 Jul 2004, Andrew Nelson 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:
>
> 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?
You probably need to upgrade your perl version. 5.x doesn't ship with
perl in base, so you are probably getting the old 4.x built-in version.
--
Doug White | FreeBSD: The Power to Serve
dwhite@gumbysoft.com | www.FreeBSD.org
------------------------------
Message: 3
Date: Thu, 8 Jul 2004 13:10:37 -0400
From: John Baldwin <jhb@FreeBSD.org>
Subject: [PATCH] Witness breakage
To: freebsd-current@FreeBSD.org
Cc: rwatson@FreeBSD.org
Message-ID: <200407081310.37603.jhb@FreeBSD.org>
Content-Type: text/plain; charset="iso-8859-1"
On Wednesday 07 July 2004 02:20 pm, Daniel Lang wrote:
> Hi,
>
> as announced, here is the PR I just filed: kern/68779
> it includes a gdb stack trace and some very basic analysys.
> The crash dump and kernel are currently available, so if
> anyone is interested in some particular data, please let me
> know in the next few hours.
>
> Thanks and best regards,
> Daniel
Ok, I think I've found at least one bug in witness that came in with the
witness_checkorder() changes a few months ago that can be triggered by
preemption because of thread migration. For those seeing witness problems,
please try this patch:
--- //depot/projects/smpng/sys/kern/subr_witness.c 2004/06/23 20:40:08
+++ //depot/user/jhb/lock/kern/subr_witness.c 2004/07/08 17:04:53
@@ -701,22 +701,34 @@
if (class->lc_flags & LC_SLEEPLOCK) {
/*
* Since spin locks include a critical section, this check
- * impliclty enforces a lock order of all sleep locks before
+ * impliclity enforces a lock order of all sleep locks before
* all spin locks.
*/
if (td->td_critnest != 0)
panic("blockable sleep lock (%s) %s @ %s:%d",
class->lc_name, lock->lo_name, file, line);
+
+ /*
+ * If this is the first lock acquired then just return as
+ * no order checking is needed.
+ */
+ if (td->td_sleeplocks == NULL)
+ return;
lock_list = &td->td_sleeplocks;
- } else
+ } else {
+ /*
+ * If this is the first lock, just return as no order
+ * checking is needed. We check this in both if clauses
+ * here as unifying the check would require us to use a
+ * critical section to ensure we don't migrate while doing
+ * the check. Note that if this is not the first lock, we
+ * are already in a critical section and are safe for the
+ * rest of the check.
+ */
+ if (PCPU_GET(spinlocks) == NULL)
+ return;
lock_list = PCPU_PTR(spinlocks);
-
- /*
- * Is this the first lock acquired? If so, then no order checking
- * is needed.
- */
- if (*lock_list == NULL)
- return;
+ }
/*
* Check to see if we are recursing on a lock we already own. If
--
John Baldwin <jhb@FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve" = http://www.FreeBSD.org
------------------------------
Message: 4
Date: Thu, 8 Jul 2004 13:17:53 -0400
From: John Baldwin <jhb@FreeBSD.org>
Subject: Re: Native preemption is the culprit [was Re: today's CURRENT
lockups]
To: freebsd-current@FreeBSD.org
Cc: Taku YAMAMOTO <taku@tackymt.homeip.net>
Message-ID: <200407081317.53981.jhb@FreeBSD.org>
Content-Type: text/plain; charset="iso-8859-1"
On Thursday 08 July 2004 09:21 am, Taku YAMAMOTO wrote:
> greetings,
>
>
> A quick glance showed me that there are some interesting code paths in
> sched_ule.c that can be problematic in SMP case.
>
> 1. sched_choose() => kseq_idled() => sched_add()
> 2. sched_choose() => kseq_assign() => sched_add()
> 3. sched_runnable() => kseq_assign() => sched_add()
>
> Here is the patch that re-enables preemption except for the above three
> cases.
This looks correct. I'll test it locally first. Has it worked for you all
day?
> --- sched_ule.c.orig Tue Jul 6 14:57:29 2004
> +++ sched_ule.c Thu Jul 8 06:37:30 2004
> @@ -286,6 +286,7 @@
> static void sched_balance_groups(void);
> static void sched_balance_group(struct kseq_group *ksg);
> static void sched_balance_pair(struct kseq *high, struct kseq *low);
> +static void sched_add_internal(struct thread *td, int preemptive);
> static void kseq_move(struct kseq *from, int cpu);
> static int kseq_idled(struct kseq *kseq);
> static void kseq_notify(struct kse *ke, int cpu);
> @@ -616,7 +617,7 @@
> kseq_runq_rem(steal, ke);
> kseq_load_rem(steal, ke);
> ke->ke_cpu = PCPU_GET(cpuid);
> - sched_add(ke->ke_thread);
> + sched_add_internal(ke->ke_thread, 0);
> return (0);
> }
> }
> @@ -644,7 +645,7 @@
> for (; ke != NULL; ke = nke) {
> nke = ke->ke_assign;
> ke->ke_flags &= ~KEF_ASSIGNED;
> - sched_add(ke->ke_thread);
> + sched_add_internal(ke->ke_thread, 0);
> }
> }
>
> @@ -1542,6 +1543,14 @@
> void
> sched_add(struct thread *td)
> {
> +#ifdef SMP
> + sched_add_internal(td, 1);
> +}
> +
> +static void
> +sched_add_internal(struct thread *td, int preemptive)
> +{
> +#endif /* SMP */
> struct kseq *kseq;
> struct ksegrp *kg;
> struct kse *ke;
> @@ -1623,17 +1632,21 @@
> if (td->td_priority < curthread->td_priority)
> curthread->td_flags |= TDF_NEEDRESCHED;
>
> -#if 0
> #ifdef SMP
> /*
> * Only try to preempt if the thread is unpinned or pinned to the
> * current CPU.
> + * XXX - avoid preemption if called from sched_ule.c internally.
> + * there're a few code pathes that may be problematic:
> + * sched_choose() => kseq_idled() => sched_add
> + * sched_choose() => kseq_assign() => sched_add
> + * sched_runnable() => kseq_assign() => sched_add
> */
> - if (KSE_CAN_MIGRATE(ke, class) || ke->ke_cpu == PCPU_GET(cpuid))
> + if (preemptive &&
> + (KSE_CAN_MIGRATE(ke, class) || ke->ke_cpu == PCPU_GET(cpuid)))
> #endif
> if (maybe_preempt(td))
> return;
> -#endif
> ke->ke_ksegrp->kg_runq_kses++;
> ke->ke_state = KES_ONRUNQ;
>
>
> This patch is tested on P4@2.8GHz HTT-enabled machine.
>
> It has been running for several hours without a hang, although I have to
> admit that this machine is too idle, far from being stressed.
>
>
> On Tue, 6 Jul 2004 00:14:21 -0400 (EDT)
>
> Robert Watson <rwatson@freebsd.org> wrote:
> > (This time to more people)
> >
> > The patch below appears to (brute force) eliminate the crash/hang I'm
> > experiencing with SCHED_ULE in the post-preemption universe. However, I
> > was experiencing it only in the SMP case, not UP, so it could be I'm just
> > not triggering it timing-wise. This would be a temporary fix until jhb
> > is online again post-USENIX to take a look, assuming this works around
> > the problem for people other than me.
> >
> > Note that this is probably damaging to interrupt processing latency.
> >
> > Robert N M Watson FreeBSD Core Team, TrustedBSD Projects
> > robert@fledge.watson.org Principal Research Scientist, McAfee
> > Research
>
> (snip)
>
> > _______________________________________________
> > 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"
--
John Baldwin <jhb@FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve" = http://www.FreeBSD.org
------------------------------
Message: 5
Date: Thu, 8 Jul 2004 10:16:58 -0700 (PDT)
From: Matthew Dillon <dillon@apollo.backplane.com>
Subject: Re: speeding up ugen by an order of magnitude.
To: Julian Elischer <julian@elischer.org>
Cc: phk@phk.freebsd.dk
Message-ID: <200407081716.i68HGwnU042339@apollo.backplane.com>
I explored the ugen code after reading Julian's original posting,
and Bernd Walter's very informative postings. I also experimented
a bit with s10sh (which uses ugen to download from digital cameras).
Unfortunately my camera probably isn't the best test, and I didn't
get any huge improvement in performance... but it didn't break either,
and the 1K on-kernel-stack buffer definitely has to be fixed in any case.
My conclusion is that while a lot of copying occurs inside the kernel,
(in at least two places in fact), the overhead is inconsequential
relative to the 1 ms scan issue in the USB controller. Remember, this
is UGEN we are talking about here, not UMASS. It is not necessary to
squeeze out every last bit of performance, only to make the performance
'reasonable'.
The userland requests can certainly be made large enough (e.g. 64K,
128K, 1MB, whatever) (s10sh uses a 4KB ugen request, for example, but
can be easily increased). The 1K buf[] in UGEN seems to be most
responsible for screwing up performance. Increasing this buffer to
a reasonable size and ignoring the problem of data copying that occurs
in-kernel basically moves the entire problem into the xHCI device layer.
I would recommend that you guys simply increase the size of the buffer
in the UGEN layer for now, along the lines of Julian's patch or my patch,
and then work on making the xHCI layer deal with large requests more
efficiently as a separate stage. I email'd Julian the changes I made
in DragonFly which include a sysctl to allow the buffer size to be
set/changed on the fly. If you try to fix the half dozen or so
buffer copying / busdma issues as a pre-req, you will wind up getting
nothing done at all.
-Matt
------------------------------
Message: 6
Date: Thu, 8 Jul 2004 17:27:35 +0000 (UTC)
From: naddy@mips.inka.de (Christian Weisgerber)
Subject: Re: Rewrite cvsup & portupgrade in C
To: freebsd-current@freebsd.org
Message-ID: <cck067$2l0v$1@kemoauc.mips.inka.de>
Kirk Strauser <kirk@strauser.com> 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.
Enter CVSync. Which is a reasonably nice and portable C implementation
of a CVS repository synchronization protocol. No checkout mode
yet, though.
> Would there be any way to get most of cvsup's functionality out of rsync?
No. rsync doesn't support scan files. Also, it doesn't use multiple
threads, which should affect performance.
--
Christian "naddy" Weisgerber naddy@mips.inka.de
------------------------------
Message: 7
Date: Thu, 8 Jul 2004 12:49:01 -0500
From: Dan Nelson <dnelson@allantgroup.com>
Subject: Re: RFC: Sorting in top -m io
To: Giorgos Keramidas <keramida@ceid.upatras.gr>
Cc: Alfred Perlstein <alfred@freebsd.org>
Message-ID: <20040708174901.GK57155@dan.emsphone.com>
Content-Type: text/plain; charset=us-ascii
In the last episode (Jul 08), Giorgos Keramidas said:
> On 2004-07-08 12:07, Dan Nelson <dnelson@allantgroup.com> wrote:
> > In the last episode (Jul 08), Alfred Perlstein said:
> > > * Giorgos Keramidas <keramida@freebsd.org> [040708 05:45] wrote:
> > > >
> > > > The new -m io option of top is cool, but sorting ...
> > >
> > > I think it's awesome. Go for it.
> >
> > docs are still missing: manpage, top Usage string, and "?" help all
> > need to describe the -m flag and 'm' key.
>
> Err, yeah. I should have waited. I have a few changes to the manpage
> at home. In a couple of hours they should be ready and into shape for
> commiting.
>
> > Since there's room, context-switch info would also be neat to display.
>
> I'm not sure I can tackle this. I have close to nil experience with
> the stuff top uses to extract the useful information from the kernel.
> Copy-pasting and tinkering a bit with a few OO-like sort methods
> wasn't very hard but for anything else I'll have to read a lot of
> stuff :-)
It's just extracting stuff out of the rusage struct for each process.
Take a look around line 661 of machine.c; you can see it's getting the
deltas between two rusage structs for certain members. Just add lines
for ru.ru_nvcsw and ru_nivcsw, and fix up the printf on line 674 and
the definitions of io_header and io_Proc_format around line 96 to
display the fields.
--
Dan Nelson
dnelson@allantgroup.com
------------------------------
Message: 8
Date: Thu, 8 Jul 2004 20:00:46 +0200
From: Guido Falsi <mad@madpilot.net>
Subject: Re: [HEADSUP] bluetooth is about to be marked as non-i386
specific
To: Maksim Yevmenkin <m_evmenkin@yahoo.com>
Cc: current@freebsd.org
Message-ID: <20040708180046.GA16307@wedge.madpilot.net>
Content-Type: text/plain; charset=us-ascii
On Wed, Jul 07, 2004 at 03:44:58PM -0700, Maksim Yevmenkin wrote:
> Dear Hackers,
>
> in a few minutes i will be committing small changes to a few Makefile's.
> these changes will take bluetooth code from ".if ${MACHINE_ARCH} ==
> "i386"" section. i did crossbuild on sledge for the tier 1 platforms
> (amd64, sparc64) and some of the tier 2 platforms (alpha) and it
> worked for me.
>
> i will monitor tinderbox build emails, but if your build failed and
> you believe that it is bluetooth related please let me know right
> away. please note that it is possible to use NO_BLUETOOTH knob to
> disable bluetooth build all together.
Then you could also remove the ONLY_FOR_ARCHS= i386 flag from the
comms/obexapp or should I file a PR checking explicitly for the system
version? (how do I recognize versions prior to this change? :).
BTW also the comms/openobex will need testing.
I'm sorry I only have i386 machines, so I can't do any tsting :(
--
Guido Falsi <mad@madpilot.net>
------------------------------
Message: 9
Date: Thu, 8 Jul 2004 11:06:36 -0700
From: Steve Kargl <sgk@troutmask.apl.washington.edu>
Subject: BOOTP* or NFS changes break buildkernel
To: freebsd-current@freebsd.org
Message-ID: <20040708180635.GA1371@troutmask.apl.washington.edu>
Content-Type: text/plain; charset=us-ascii
linking kernel.debug
bootp_subr.o(.text+0x1f0e): In function `bootpc_init':
/usr/src/sys/nfsclient/bootp_subr.c:1660: undefined reference to `nfs_diskless
_valid'
bootp_subr.o(.text+0x222b):/usr/src/sys/nfsclient/bootp_subr.c:1746: undefined
reference to `nfsv3_diskless'
bootp_subr.o(.text+0x2275):/usr/src/sys/nfsclient/bootp_subr.c:1750: undefined
reference to `nfsv3_diskless'
bootp_subr.o(.text+0x234c):/usr/src/sys/nfsclient/bootp_subr.c:1776: undefined
reference to `nfsv3_diskless'
bootp_subr.o(.text+0x2358):/usr/src/sys/nfsclient/bootp_subr.c:1776: undefined
reference to `nfsv3_diskless'
bootp_subr.o(.text+0x2366):/usr/src/sys/nfsclient/bootp_subr.c:1776: undefined
reference to `nfsv3_diskless'
bootp_subr.o(.text+0x2374):/usr/src/sys/nfsclient/bootp_subr.c:1776: more unde
fined references to `nfsv3_diskless' follow
bootp_subr.o(.text+0x23aa): In function `bootpc_init':
/usr/src/sys/nfsclient/bootp_subr.c:1782: undefined reference to `nfs_diskless
_valid'
bootp_subr.o(.text+0x23bf):/usr/src/sys/nfsclient/bootp_subr.c:1785: undefined
reference to `nfsv3_diskless'
bootp_subr.o(.text+0x23d1):/usr/src/sys/nfsclient/bootp_subr.c:1786: undefined
reference to `nfsv3_diskless'
bootp_subr.o(.text+0x23f3):/usr/src/sys/nfsclient/bootp_subr.c:1787: undefined
reference to `nfsv3_diskless'
bootp_subr.o(.text+0x2415):/usr/src/sys/nfsclient/bootp_subr.c:1788: undefined
reference to `nfsv3_diskless'
bootp_subr.o(.text+0x2422):/usr/src/sys/nfsclient/bootp_subr.c:1791: undefined
reference to `nfsv3_diskless'
bootp_subr.o(.text+0x24d5): In function `md_mount':
/usr/src/sys/nfsclient/bootp_subr.c:1823: undefined reference to `krpc_portmap
'
bootp_subr.o(.text+0x24f1):/usr/src/sys/nfsclient/bootp_subr.c:1826: undefined
reference to `xdr_string_encode'
bootp_subr.o(.text+0x2527):/usr/src/sys/nfsclient/bootp_subr.c:1829: undefined
reference to `krpc_call'
bootp_subr.o(.text+0x256e):/usr/src/sys/nfsclient/bootp_subr.c:1841: undefined
reference to `krpc_portmap'
bootp_subr.o(.text+0x258e):/usr/src/sys/nfsclient/bootp_subr.c:1846: undefined
reference to `xdr_string_encode'
bootp_subr.o(.text+0x25c4):/usr/src/sys/nfsclient/bootp_subr.c:1849: undefined
reference to `krpc_call'
bootp_subr.o(.text+0x26ef):/usr/src/sys/nfsclient/bootp_subr.c:1887: undefined
reference to `krpc_portmap'
*** Error code 1
Stop in /usr/obj/usr/src/sys/MOBILE.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
--
Steve
------------------------------
Message: 10
Date: Thu, 8 Jul 2004 11:13:32 -0700
From: Alfred Perlstein <alfred@freebsd.org>
Subject: Re: RFC: Sorting in top -m io
To: Dan Nelson <dnelson@allantgroup.com>
Cc: Giorgos Keramidas <keramida@freebsd.org>
Message-ID: <20040708181332.GO95729@elvis.mu.org>
Content-Type: text/plain; charset=us-ascii
* Dan Nelson <dnelson@allantgroup.com> [040708 10:07] wrote:
> In the last episode (Jul 08), Alfred Perlstein said:
> > * Giorgos Keramidas <keramida@freebsd.org> [040708 05:45] wrote:
> > > Hi all...
> > >
> > > The new -m io option of top is cool, but sorting is broken when the
> > > 'io' mode is enabled. The following patch adds sorting
> > > capabilities to the 'io' mode too and makes sure that hitting 'h'
> > > for help prints the right list of sorting keywords :)
> > >
> > > The only thing I didn't add a sorting capability for is "percent",
> > > because I'm not sure I know all it takes to do this.
> > >
> > > What do you all think of this patch to top(1)?
> >
> > I think it's awesome. Go for it.
>
> docs are still missing: manpage, top Usage string, and "?" help all
> need to describe the -m flag and 'm' key. Since there's room,
> context-switch info would also be neat to display.
Yeah, but let's get this in first. Then Giorgos can do the rest.
(manpages too. hehehehe) :)
--
- Alfred Perlstein
- Research Engineering Development Inc.
- email: bright@mu.org cell: 408-480-4684
------------------------------
Message: 11
Date: Thu, 08 Jul 2004 13:46:45 -0500
From: Jon Noack <noackjr@alumni.rice.edu>
Subject: Re: Rewrite cvsup & portupgrade in C
To: "Steve O'Hara-Smith" <steve@sohara.org>
Cc: freebsd-current@freebsd.org
Message-ID: <40ED9695.2000805@alumni.rice.edu>
Content-Type: text/plain; charset=us-ascii; format=flowed
On 07/08/04 10:53, Steve O'Hara-Smith wrote:
> On Thu, 08 Jul 2004 01:24:55 -0500
> Jon Noack <noackjr@alumni.rice.edu> wrote:
>
>> I think you misunderstand: He was questioning why *cvs* is in the
>> base system and is built with every make world when many users opt
>> for the more advanced cvsup
>
> Erm, cvsup is *not* a more advanced version of cvs, cvsup could
> be described as a more advanced version of rsync. One is a version control
> system, the other is a tool for transferring updates efficiently.
Considering we were discussing how to update to the latest source, which
both cvs and cvsup can do, cvsup is the more advanced of the two. Its
speed is testament to this. Granted, cvs has a whole host of other
features and functionality, but in our limited focus of updating to the
latest source, cvsup wins.
Jon
------------------------------
Message: 12
Date: Thu, 8 Jul 2004 12:26:47 -0700
From: "David O'Brien" <obrien@freebsd.org>
Subject: Re: RFC: Sorting in top -m io
To: Alfred Perlstein <alfred@freebsd.org>
Cc: Giorgos Keramidas <keramida@freebsd.org>
Message-ID: <20040708192647.GA83290@dragon.nuxi.com>
Content-Type: text/plain; charset=us-ascii
On Thu, Jul 08, 2004 at 11:13:32AM -0700, Alfred Perlstein wrote:
> > docs are still missing: manpage, top Usage string, and "?" help all
> > need to describe the -m flag and 'm' key. Since there's room,
> > context-switch info would also be neat to display.
>
> Yeah, but let's get this in first. Then Giorgos can do the rest.
You shouldn't have committed your 'm' functionality if you weren't
willing to document it (and in the same commit).
> (manpages too. hehehehe) :)
Sounds like you're hoping this will get swept under the rug and we'll all
forget getting it documented.
--
-- David (obrien@FreeBSD.org)
------------------------------
Message: 13
Date: Thu, 08 Jul 2004 21:44:15 +0000
From: Trond Davidsen <Trond@Davidsen.no>
Subject: Re: Dell Latitude D400 ndis Dell TrueMobile 1400
To: Alexander Langer <alex@big.endian.de>
Cc: freebsd-current@freebsd.org
Message-ID: <40EDC02F.7040505@Davidsen.no>
Content-Type: text/plain; charset=us-ascii; format=flowed
Alexander Langer wrote:
>
> I used that driver (from Version.txt):
>
> Title : Network:Dell TrueMobile 1300 802.11 b/g PCMCIA, TrueMobile
> 1300 Internal 802.11b/g MPCI, TrueMobile 1400 Internal Dual-band WLAN
> Card , Wireless 1350 (802.11b/g) WLAN miniPCI Card, Wireless 1450
> (802.11a/b/g) Dual-Band WLAN miniPCI Card Package
> Version : A02
> OEM Name : Dell
> OEM Ver : 3.40.66
> ...
> Created : Thu Apr 15 11:47:25 CDT 2004
>
> Is that the same version?`
> I have no problems, works great.
>
Thanks,
you nailed it, the driver I tried with was too old. Now I have
3.40.69.0, and it works (attaches and creates the interface, I have not
tried to use it yet). The only bummer was that the .inf file seems to
be UTF-16, so I had to run iconv on it before ndiscvt would grok it.
-- Trond
------------------------------
Message: 14
Date: Thu, 08 Jul 2004 22:53:19 +0200
From: des@des.no (Dag-Erling Sm?rgrav)
Subject: Re: Rewrite cvsup & portupgrade in C
To: noackjr@alumni.rice.edu
Cc: sgk@troutmask.apl.washington.edu
Message-ID: <xzpy8lu5igw.fsf@dwp.des.no>
Content-Type: text/plain; charset=iso-8859-1
Jon Noack <noackjr@alumni.rice.edu> writes:
> Considering we were discussing how to update to the latest source,
> which both cvs and cvsup can do, cvsup is the more advanced of the
> two. Its speed is testament to this. Granted, cvs has a whole host
> of other features and functionality, but in our limited focus of
> updating to the latest source, cvsup wins.
Not from a developer's perspective.
DES
--
Dag-Erling Sm�rgrav - des@des.no
------------------------------
Message: 15
Date: Thu, 8 Jul 2004 17:15:19 -0400
From: John Baldwin <jhb@FreeBSD.org>
Subject: Re: [PATCH] Witness breakage
To: freebsd-current@FreeBSD.org
Cc: rwatson@FreeBSD.org
Message-ID: <200407081715.19073.jhb@FreeBSD.org>
Content-Type: text/plain; charset="iso-8859-1"
On Thursday 08 July 2004 01:10 pm, John Baldwin wrote:
> On Wednesday 07 July 2004 02:20 pm, Daniel Lang wrote:
> > Hi,
> >
> > as announced, here is the PR I just filed: kern/68779
> > it includes a gdb stack trace and some very basic analysys.
> > The crash dump and kernel are currently available, so if
> > anyone is interested in some particular data, please let me
> > know in the next few hours.
> >
> > Thanks and best regards,
> > Daniel
>
> Ok, I think I've found at least one bug in witness that came in with the
> witness_checkorder() changes a few months ago that can be triggered by
> preemption because of thread migration. For those seeing witness problems,
> please try this patch:
Ok, after the 476 million e-mails about how to spell 'implicitly', I've fixed
that part. Now, can someone _please_ test it who has been having problems?
--
John Baldwin <jhb@FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve" = http://www.FreeBSD.org
------------------------------
Message: 16
Date: Thu, 08 Jul 2004 16:20:05 -0500
From: Jon Noack <noackjr@alumni.rice.edu>
Subject: Re: Rewrite cvsup & portupgrade in C
To: Dag-Erling Sm?rgrav<des@des.no>
Cc: sgk@troutmask.apl.washington.edu
Message-ID: <40EDBA85.3020801@alumni.rice.edu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
On 07/08/04 15:53, Dag-Erling Sm�rgrav wrote:
> Jon Noack <noackjr@alumni.rice.edu> writes:
>> Considering we were discussing how to update to the latest source,
>> which both cvs and cvsup can do, cvsup is the more advanced of the
>> two. Its speed is testament to this. Granted, cvs has a whole
>> host of other features and functionality, but in our limited focus
>> of updating to the latest source, cvsup wins.
>
> Not from a developer's perspective.
Yes, I know that cvsup cannot replace cvs and that cvs is more important
for developers.
I meant "in our limited focus of updating to the latest source" to imply
what the majority of people would need cvs(up) for, namely read-only
access to the latest source without the need to merge local changes
(regardless of what you read on bsd.slashdot, I posit that there are far
more end users of FreeBSD than there are developers). To the end user,
cvsup is far and away the best choice and is more advanced for their needs.
Regardless, this is all just semantics and we're wasting each other's
time. This thread is too long anyway...
Jon
------------------------------
Message: 17
Date: Thu, 8 Jul 2004 14:44:38 -0700 (PDT)
From: Kim Culhan <w8hdkim@yahoo.com>
Subject: Serial console booting config
To: freebsd-current@FreeBSD.org
Message-ID: <20040708214438.88234.qmail@web50706.mail.yahoo.com>
Content-Type: text/plain; charset=us-ascii
Have -current running a serial console.
In /boot/loader.rc:
set console=comconsole
In /etc/ttys:
(stock setup for console)
console none unknown off secure
And the serial port:
ttyd0 "/usr/libexec/getty std.9600" vt220 on secure
Is this the current best practice?
Just to nit pick, the curses support is not quite
perfect as the line drawing in the boot menu is
displayed as some non-alpha characters -wish I could
get it perfect..
Any thoughts on this setup are appreciated.
tnx
-kim
__________________________________
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail
------------------------------
Message: 18
Date: Thu, 8 Jul 2004 14:49:22 -0700
From: Steve Kargl <sgk@troutmask.apl.washington.edu>
Subject: Re: [PATCH] Witness breakage
To: John Baldwin <jhb@freebsd.org>
Cc: freebsd-current@freebsd.org
Message-ID: <20040708214922.GA2328@troutmask.apl.washington.edu>
Content-Type: text/plain; charset=us-ascii
On Thu, Jul 08, 2004 at 05:15:19PM -0400, John Baldwin wrote:
> On Thursday 08 July 2004 01:10 pm, John Baldwin wrote:
> > On Wednesday 07 July 2004 02:20 pm, Daniel Lang wrote:
> > > Hi,
> > >
> > > as announced, here is the PR I just filed: kern/68779
> > > it includes a gdb stack trace and some very basic analysys.
> > > The crash dump and kernel are currently available, so if
> > > anyone is interested in some particular data, please let me
> > > know in the next few hours.
> > >
> > > Thanks and best regards,
> > > Daniel
> >
> > Ok, I think I've found at least one bug in witness that came in with the
> > witness_checkorder() changes a few months ago that can be triggered by
> > preemption because of thread migration. For those seeing witness problems
,
> > please try this patch:
>
> Ok, after the 476 million e-mails about how to spell 'implicitly', I've fixe
d
> that part. Now, can someone _please_ test it who has been having problems?
>
I can't build a kernel or I would have tested this by now. No one
appears to read the freebsd-current mailing list because I reported
this several hours ago.
cc -c -O -pipe -march=pentium4 -Wall -Wredundant-decls -Wnested-externs -Wstri
ct-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -ffo
rmat-extensions -std=c99 -g -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/c
ontrib/dev/acpica -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter
-I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contri
b/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h
-fno-common -finline-limit=8000 -mno-align-long-strings -mpreferred-stack-bo
undary=2 -ffreestanding -Werror vers.c
linking kernel.debug
bootp_subr.o(.text+0x1f0e): In function `bootpc_init':
/usr/src/sys/nfsclient/bootp_subr.c:1660: undefined reference to `nfs_diskless
_valid'
bootp_subr.o(.text+0x222b):/usr/src/sys/nfsclient/bootp_subr.c:1746: undefined
reference to `nfsv3_diskless'
bootp_subr.o(.text+0x2275):/usr/src/sys/nfsclient/bootp_subr.c:1750: undefined
reference to `nfsv3_diskless'
--
Steve
------------------------------
Message: 19
Date: Thu, 8 Jul 2004 15:00:55 -0700
From: Alfred Perlstein <alfred@freebsd.org>
Subject: Re: RFC: Sorting in top -m io
To: David O'Brien <obrien@FreeBSD.org>, Giorgos Keramidas
<keramida@freebsd.org>, current@freebsd.org
Message-ID: <20040708220055.GQ95729@elvis.mu.org>
Content-Type: text/plain; charset=us-ascii
* David O'Brien <obrien@freebsd.org> [040708 12:26] wrote:
> On Thu, Jul 08, 2004 at 11:13:32AM -0700, Alfred Perlstein wrote:
> > > docs are still missing: manpage, top Usage string, and "?" help all
> > > need to describe the -m flag and 'm' key. Since there's room,
> > > context-switch info would also be neat to display.
> >
> > Yeah, but let's get this in first. Then Giorgos can do the rest.
>
> You shouldn't have committed your 'm' functionality if you weren't
> willing to document it (and in the same commit).
>
> > (manpages too. hehehehe) :)
>
> Sounds like you're hoping this will get swept under the rug and we'll all
> forget getting it documented.
Get bent, I'll get to it likely this weekend.
--
- Alfred Perlstein
- Research Engineering Development Inc.
- email: bright@mu.org cell: 408-480-4684
------------------------------
Message: 20
Date: Thu, 8 Jul 2004 15:00:58 -0700 (PDT)
From: Doug White <dwhite@gumbysoft.com>
Subject: Re: [PATCH] Witness breakage
To: Steve Kargl <sgk@troutmask.apl.washington.edu>
Cc: freebsd-current@freebsd.org
Message-ID: <20040708150037.N46651@carver.gumbysoft.com>
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Thu, 8 Jul 2004, Steve Kargl wrote:
> I can't build a kernel or I would have tested this by now. No one
> appears to read the freebsd-current mailing list because I reported
> this several hours ago.
>
> cc -c -O -pipe -march=pentium4 -Wall -Wredundant-decls -Wnested-externs -Wst
rict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -f
format-extensions -std=c99 -g -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys
/contrib/dev/acpica -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilte
r -I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/cont
rib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm -D_KERNEL -include opt_global
h -fno-common -finline-limit=8000 -mno-align-long-strings -mpreferred-stack-
boundary=2 -ffreestanding -Werror vers.c
> linking kernel.debug
> bootp_subr.o(.text+0x1f0e): In function `bootpc_init':
> /usr/src/sys/nfsclient/bootp_subr.c:1660: undefined reference to `nfs_diskle
ss_valid'
I didn't see this on today's kernel build. Can you post your kernel
config?
--
Doug White | FreeBSD: The Power to Serve
dwhite@gumbysoft.com | www.FreeBSD.org
------------------------------
Message: 21
Date: Thu, 8 Jul 2004 18:01:54 -0400 (EDT)
From: Robert Watson <rwatson@freebsd.org>
Subject: Re: [PATCH] Witness breakage
To: Steve Kargl <sgk@troutmask.apl.washington.edu>
Cc: freebsd-current@freebsd.org
Message-ID:
<Pine.NEB.3.96L.1040708175457.81252I-100000@fledge.watson.org>
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Thu, 8 Jul 2004, Steve Kargl wrote:
> I can't build a kernel or I would have tested this by now. No one
> appears to read the freebsd-current mailing list because I reported this
> several hours ago.
Did you re-run config and re-run make depend? The mapping of
options<->files has changed, and not doing both of those steps could
result in necessary symbols being missing if all required files aren't
built. I appear to be able to build GENERIC and some variations without a
problem here.
Robert N M Watson FreeBSD Core Team, TrustedBSD Projects
robert@fledge.watson.org Principal Research Scientist, McAfee Research
>
> cc -c -O -pipe -march=pentium4 -Wall -Wredundant-decls -Wnested-externs -Wst
rict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -f
format-extensions -std=c99 -g -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys
/contrib/dev/acpica -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilte
r -I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/cont
rib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm -D_KERNEL -include opt_global
h -fno-common -finline-limit=8000 -mno-align-long-strings -mpreferred-stack-
boundary=2 -ffreestanding -Werror vers.c
> linking kernel.debug
> bootp_subr.o(.text+0x1f0e): In function `bootpc_init':
> /usr/src/sys/nfsclient/bootp_subr.c:1660: undefined reference to `nfs_diskle
ss_valid'
> bootp_subr.o(.text+0x222b):/usr/src/sys/nfsclient/bootp_subr.c:1746: undefin
ed reference to `nfsv3_diskless'
> bootp_subr.o(.text+0x2275):/usr/src/sys/nfsclient/bootp_subr.c:1750: undefin
ed reference to `nfsv3_diskless'
>
>
> --
> Steve
>
------------------------------
Message: 22
Date: Thu, 8 Jul 2004 15:06:35 -0700
From: Steve Kargl <sgk@troutmask.apl.washington.edu>
Subject: Re: [PATCH] Witness breakage
To: Robert Watson <rwatson@freebsd.org>
Cc: freebsd-current@freebsd.org
Message-ID: <20040708220635.GA2680@troutmask.apl.washington.edu>
Content-Type: text/plain; charset=us-ascii
On Thu, Jul 08, 2004 at 06:01:54PM -0400, Robert Watson wrote:
> On Thu, 8 Jul 2004, Steve Kargl wrote:
>
> > I can't build a kernel or I would have tested this by now. No one
> > appears to read the freebsd-current mailing list because I reported this
> > several hours ago.
>
> Did you re-run config and re-run make depend? The mapping of
> options<->files has changed, and not doing both of those steps could
> result in necessary symbols being missing if all required files aren't
> built. I appear to be able to build GENERIC and some variations without a
> problem here.
>
This is occuring during "make buildkernel", which does
the config and make depend steps. What's so confusing is
that my kernel config file contains no NFS or BOOTP related
options.
Yes, I have run cvsup at least three times with an hour delay
between runs to ensure that I do not have a partial commit
checkout.
--
Steve
------------------------------
Message: 23
Date: Thu, 8 Jul 2004 15:08:58 -0700
From: Steve Kargl <sgk@troutmask.apl.washington.edu>
Subject: Re: [PATCH] Witness breakage
To: Doug White <dwhite@gumbysoft.com>
Cc: freebsd-current@freebsd.org
Message-ID: <20040708220858.GB2680@troutmask.apl.washington.edu>
Content-Type: text/plain; charset=us-ascii
On Thu, Jul 08, 2004 at 03:00:58PM -0700, Doug White wrote:
> On Thu, 8 Jul 2004, Steve Kargl wrote:
>
> > I can't build a kernel or I would have tested this by now. No one
> > appears to read the freebsd-current mailing list because I reported
> > this several hours ago.
> >
> > linking kernel.debug
> > bootp_subr.o(.text+0x1f0e): In function `bootpc_init':
> > /usr/src/sys/nfsclient/bootp_subr.c:1660: undefined reference to `nfs_disk
less_valid'
>
> I didn't see this on today's kernel build. Can you post your kernel
> config?
>
There are no BOOTP or NFS related options. See below
--
Steve
machine i386
cpu I686_CPU
ident MOBILE
maxusers 0
makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
options SCHED_ULE
#options SCHED_4BSD
options INET #InterNETworking
options FFS #Berkeley Fast Filesystem
options SOFTUPDATES #Enable FFS soft updates support
options UFS_DIRHASH #Improve performance on big directories
options MSDOSFS #MSDOS Filesystem
options NTFS #NT File System
options CD9660 #ISO 9660 Filesystem
options PROCFS #Process filesystem (requires PSEUDOFS)
options PSEUDOFS #Pseudo-filesystem framework
options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!]
options COMPAT_FREEBSD4 #Compatible with FreeBSD4
options KTRACE #ktrace(1) support
options SYSVSHM #SYSV-style shared memory
options SYSVMSG #SYSV-style message queues
options SYSVSEM #SYSV-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
options KBD_INSTALL_CDEV # install a CDEV entry in /dev
options MAXCONS=8 # number of virtual consoles
options CPU_ENABLE_SSE
options DDB
options DDB_TRACE # Print a stack trace to console for a panic.
#options INVARIANTS
#options INVARIANT_SUPPORT
#options WITNESS
#options WITNESS_SKIPSPIN
device isa
device pci
device acpi
device apic
# Floppy drives
device fdc
# ATA and ATAPI devices
device ata
device atadisk # ATA disk drives
device atapicd # ATAPI CDROM drives
device atapifd # ATAPI floppy drives
device atapist # ATAPI tape drives
# atkbdc0 controls both the keyboard and the PS/2 mouse
device atkbdc # AT keyboard controller
device atkbd # AT keyboard
device psm # PS/2 mouse
device vga # VGA video card driver
device splash # Splash screen and screen saver support
# syscons is the default console driver, resembling an SCO console
device sc
device npx
# Add suspend/resume support for the i8254.
device pmtimer
# PCCARD (PCMCIA) support
# Pcmcia and cardbus bridge support
device cbb # cardbus (yenta) bridge
#device pcic # ExCA ISA and PCI bridges
device pccard # PC Card (16-bit) bus
device cardbus # CardBus (32-bit) bus
# Serial (COM) ports
device sio # 8250, 16[45]50 based serial ports
# Parallel port
device ppc
device ppbus # Parallel port bus (required)
device lpt # Printer
device ppi # Parallel port interface device
# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device miibus # MII bus support
device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'')
# Pseudo devices - the number indicates how many units to allocate.
device random # Entropy device
device loop # Network loopback
device ether # Ethernet support
device tun # Packet tunnel.
device pty # Pseudo-ttys (telnet etc)
device md # Memory "disks"
# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
device bpf # Berkeley packet filter
# USB support
device uhci # UHCI PCI->USB interface
device ohci # OHCI PCI->USB interface
device usb # USB Bus (required)
device ugen # Generic
device uhid # "Human Interface Devices"
device ukbd # Keyboard
device ulpt # Printer
device umass # Disks/Mass storage - Requires scbus and da
device ums # Mouse
device uscanner # Scanners
# SCSI peripherals
device scbus # SCSI bus (required)
device da # Direct Access (disks)
device sa # Sequential Access (tape etc)
device pass # Passthrough device (direct SCSI access)
device smbus # Bus support, required for smb below.
device intpm
device ichsmb
device smb
device iicbus # Bus support, required for ic/iic/iicsmb below.
device iicbb
device ic
device iic
device iicsmb # smb over i2c bridge
------------------------------
Message: 24
Date: Fri, 09 Jul 2004 00:09:04 +0200
From: des@des.no (Dag-Erling Sm?rgrav)
Subject: Re: [PATCH] Witness breakage
To: Steve Kargl <sgk@troutmask.apl.washington.edu>
Cc: freebsd-current@freebsd.org
Message-ID: <xzp4qoi5eyn.fsf@dwp.des.no>
Content-Type: text/plain; charset=iso-8859-1
Steve Kargl <sgk@troutmask.apl.washington.edu> writes:
> I can't build a kernel or I would have tested this by now. No one
> appears to read the freebsd-current mailing list because I reported
> this several hours ago.
Sorry, we were unable to renew your tech support hotline subscription
because your credit card bounced.
DES
--
Dag-Erling Sm�rgrav - des@des.no
------------------------------
Message: 25
Date: Thu, 8 Jul 2004 18:12:17 -0400 (EDT)
From: Robert Watson <rwatson@freebsd.org>
Subject: Re: [PATCH] Witness breakage
To: Steve Kargl <sgk@troutmask.apl.washington.edu>
Cc: freebsd-current@freebsd.org
Message-ID:
<Pine.NEB.3.96L.1040708181139.81252J-100000@fledge.watson.org>
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Thu, 8 Jul 2004, Steve Kargl wrote:
> This is occuring during "make buildkernel", which does the config and
> make depend steps. What's so confusing is that my kernel config file
> contains no NFS or BOOTP related options.
Aha. That would be the problem. The change to enable the BOOTP bits by
default (seems questionable) don't conditionally compile the NFS diskless
pieces referenced in the bootp code.
Robert N M Watson FreeBSD Core Team, TrustedBSD Projects
robert@fledge.watson.org Principal Research Scientist, McAfee Research
------------------------------
Message: 26
Date: Thu, 8 Jul 2004 15:14:38 -0700
From: Steve Kargl <sgk@troutmask.apl.washington.edu>
Subject: Re: [PATCH] Witness breakage
To: Dag-Erling Sm?rgrav <des@des.no>
Cc: freebsd-current@freebsd.org
Message-ID: <20040708221438.GC2680@troutmask.apl.washington.edu>
Content-Type: text/plain; charset=us-ascii
On Fri, Jul 09, 2004 at 12:09:04AM +0200, Dag-Erling Sm?rgrav wrote:
> Steve Kargl <sgk@troutmask.apl.washington.edu> writes:
> > I can't build a kernel or I would have tested this by now. No one
> > appears to read the freebsd-current mailing list because I reported
> > this several hours ago.
>
> Sorry, we were unable to renew your tech support hotline subscription
> because your credit card bounced.
>
Check PHK's funding list. He had no problem with my credit card. :-)
--
Steve
------------------------------
Message: 27
Date: Thu, 8 Jul 2004 15:18:03 -0700 (PDT)
From: Doug White <dwhite@gumbysoft.com>
Subject: Re: [PATCH] Witness breakage
To: Steve Kargl <sgk@troutmask.apl.washington.edu>
Cc: Brian Somers <brian@awfulhak.org>
Message-ID: <20040708151522.L46651@carver.gumbysoft.com>
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Thu, 8 Jul 2004, Steve Kargl wrote:
> There are no BOOTP or NFS related options. See below
Therein lies the rub -- the removal of the BOOTP kernel option by brian@
makes NFSCLIENT required, since the bootp client is tightly bound to the
NFS client. It should be backed out and bootp properly disentangled if
its going to be mandatory. I've added him to the thread.
Brian, please back this out.
--
Doug White | FreeBSD: The Power to Serve
dwhite@gumbysoft.com | www.FreeBSD.org
------------------------------
Message: 28
Date: Fri, 09 Jul 2004 00:24:00 +0200
From: des@des.no (Dag-Erling Sm?rgrav)
Subject: Re: RFC: Sorting in top -m io
To: Giorgos Keramidas <keramida@freebsd.org>
Cc: Alfred Perlstein <alfred@freebsd.org>
Message-ID: <xzpwu1e3zpb.fsf@dwp.des.no>
Content-Type: text/plain; charset=iso-8859-1
Giorgos Keramidas <keramida@freebsd.org> writes:
> What do you all think of this patch to top(1)?
extremely inefficient; get_io_stats() is an expensive function and you
really don't want to call it approximately log(n) per process while
sorting, especially when it returns the same values every time.
an ugly trick to get around this is to have get_process_info() store
io stats in ki_spare[] or some other unused kinfo_proc field, so you
never need to call get_io_stats() outside get_process_info().
you should also do secondary sort orders like the existing compare_*()
functions do, since qsort() is unstable, so processes with identical
stats will jump around if they aren't also sorted by name or some
other secondary criterion.
DES
--
Dag-Erling Sm�rgrav - des@des.no
------------------------------
Message: 29
Date: Fri, 9 Jul 2004 00:42:27 +0200
From: "Cyrille Lefevre" <clefevre-lists@9online.fr>
Subject: Re: bringing /etc/services up to date
To: "Denis Antrushin" <DAntrushin@mail.ru>, <current@freebsd.org>
Message-ID: <05ed01c4653c$d899d5a0$7890a8c0@dyndns.org>
Content-Type: text/plain; charset="iso-8859-1"
"Denis Antrushin" <DAntrushin@mail.ru> wrote:
> Harti Brandt wrote:
> > On Wed, 7 Jul 2004, Charles Swiger wrote:
> >
> > CS>Lots of systems implement some external caching system (nscd, lookupd,
etc)
> > CS>which those library calls access rather than iterating through the
> > CS>/etc/services file and related sources directly within each process whi
ch
> > CS>calls getservby*(). I'm not sure whether the sources for Solaris' nscd
are
> > CS>handy, but I believe the sources for lookupd and friends are at:
> > CS>
> > CS>http://developer.apple.com/darwin/projects/opendirectory/
> >
> > I remember someone from Russia or Ukraina offering something like nscd at
least
> > twice during the last 12 month. What happend to that project?
> >
> It's still there: http://rsu.ru/~bushman/lookupd/
> But IIRC, there was no response to these announcements, at least on current@
..
Hi, I'm currently looking at the code. as is, it is far not style(9) compliant
..
so, I'm fixing that stuff to get in a chance to be integrated to FreeBSD if
possible. that help me, also, to check the code. IMHO, there is too many
unchecked return values (malloc, etc.), so, the code is far from to be clean.
I'll write back to the author ASAP about that.
Cyrille Lefevre.
--
home: mailto:cyrille.lefevre@laposte.net
------------------------------
Message: 30
Date: Fri, 9 Jul 2004 00:44:55 +0200
From: "Cyrille Lefevre" <clefevre-lists@9online.fr>
Subject: Re: FreeBSD 5.2.1 - P5-Proc::ProcessTable and other modules
not working?
To: "Doug White" <dwhite@gumbysoft.com>, "Andrew Nelson"
<andrew__nelson@hotmail.com>
Cc: freebsd-current@freebsd.org
Message-ID: <05fb01c4653d$31195250$7890a8c0@dyndns.org>
Content-Type: text/plain; charset="iso-8859-1"
"Doug White" <dwhite@gumbysoft.com> wrote:
[snip]
> You probably need to upgrade your perl version. 5.x doesn't ship with
> perl in base, so you are probably getting the old 4.x built-in version.
he answer me in private that mounting /proc fixed the problem.
Cyrille Lefevre.
--
home: mailto:cyrille.lefevre@laposte.net
------------------------------
Message: 31
Date: Thu, 8 Jul 2004 15:50:15 -0700
From: Alfred Perlstein <alfred@freebsd.org>
Subject: Re: RFC: Sorting in top -m io
To: Dag-Erling Sm?rgrav <des@des.no>
Cc: Giorgos Keramidas <keramida@freebsd.org>
Message-ID: <20040708225015.GR95729@elvis.mu.org>
Content-Type: text/plain; charset=us-ascii
* Dag-Erling Sm?rgrav <des@des.no> [040708 15:24] wrote:
> Giorgos Keramidas <keramida@freebsd.org> writes:
> > What do you all think of this patch to top(1)?
>
> extremely inefficient; get_io_stats() is an expensive function and you
> really don't want to call it approximately log(n) per process while
> sorting, especially when it returns the same values every time.
>
> an ugly trick to get around this is to have get_process_info() store
> io stats in ki_spare[] or some other unused kinfo_proc field, so you
> never need to call get_io_stats() outside get_process_info().
I think you could generate an array indexed by the offset into
the procs feild... If that's not clear I may be able to whip
up a cache of that info tonight for you. (instead of
spamming a feild in the array.)
> you should also do secondary sort orders like the existing compare_*()
> functions do, since qsort() is unstable, so processes with identical
> stats will jump around if they aren't also sorted by name or some
> other secondary criterion.
You can use mergesort, but I may be missing the point.
--
- Alfred Perlstein
- Research Engineering Development Inc.
- email: bright@mu.org cell: 408-480-4684
------------------------------
Message: 32
Date: Thu, 8 Jul 2004 15:58:38 -0700
From: Kris Kennaway <kris@obsecurity.org>
Subject: Re: [HEADSUP] bluetooth is about to be marked as non-i386
specific
To: firenze_cena@madpilot.net
Cc: Maksim Yevmenkin <m_evmenkin@yahoo.com>
Message-ID: <20040708225838.GA21617@xor.obsecurity.org>
Content-Type: text/plain; charset="us-ascii"
On Thu, Jul 08, 2004 at 08:00:46PM +0200, Guido Falsi wrote:
> On Wed, Jul 07, 2004 at 03:44:58PM -0700, Maksim Yevmenkin wrote:
> > Dear Hackers,
> >
> > in a few minutes i will be committing small changes to a few Makefile's.
> > these changes will take bluetooth code from ".if ${MACHINE_ARCH} ==
> > "i386"" section. i did crossbuild on sledge for the tier 1 platforms
> > (amd64, sparc64) and some of the tier 2 platforms (alpha) and it
> > worked for me.
> >
> > i will monitor tinderbox build emails, but if your build failed and
> > you believe that it is bluetooth related please let me know right
> > away. please note that it is possible to use NO_BLUETOOTH knob to
> > disable bluetooth build all together.
>
> Then you could also remove the ONLY_FOR_ARCHS= i386 flag from the
> comms/obexapp or should I file a PR checking explicitly for the system
> version? (how do I recognize versions prior to this change? :).
Maksim should bump __FreeBSD_version so you and the other bluetooth
users on !i386 can test for the condition (via OSVERSION in ports)
Kris
-------------- 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/20040708/
d8b8e3e5/attachment-0001.bin
------------------------------
Message: 33
Date: Thu, 8 Jul 2004 16:14:46 -0700
From: Steve Kargl <sgk@troutmask.apl.washington.edu>
Subject: Re: [PATCH] Witness breakage
To: Brian Somers <brian@Awfulhak.org>
Cc: rwatson@freebsd.org
Message-ID: <20040708231446.GA3362@troutmask.apl.washington.edu>
Content-Type: text/plain; charset=us-ascii
On Thu, Jul 08, 2004 at 11:30:37PM +0100, Brian Somers wrote:
> On Thu, 8 Jul 2004 15:18:03 -0700 (PDT), Doug White <dwhite@gumbysoft.com> w
rote:
> > On Thu, 8 Jul 2004, Steve Kargl wrote:
> >
> > > There are no BOOTP or NFS related options. See below
> >
> > Therein lies the rub -- the removal of the BOOTP kernel option by brian@
> > makes NFSCLIENT required, since the bootp client is tightly bound to the
> > NFS client. It should be backed out and bootp properly disentangled if
> > its going to be mandatory. I've added him to the thread.
> >
>
> Hmm, without options NFSCLIENT, you should be able to load nfsclient.ko then
> set bootp="YES" and bootp.nfsboot="YES"....
You first need to be able to build a kernel. ;-)
Thanks for backing out the earlier commit. "make buildkernel"
is again functioning.
--
Steve
------------------------------
Message: 34
Date: Thu, 8 Jul 2004 16:46:43 -0700
From: Steve Kargl <sgk@troutmask.apl.washington.edu>
Subject: lib/libngatm and gnu/usr.bin/binutils/as break installworld
To: freebsd-current@freebsd.org
Message-ID: <20040708234643.GA3560@troutmask.apl.washington.edu>
Content-Type: text/plain; charset=us-ascii
===> lib/libngatm
install -o root -g wheel -m 444 unimsg.3.gz /usr/share/man/man3
install -o root -g wheel -m 444 unisap.3.gz /usr/share/man/man3
install: unisap.3.gz: No such file or directory
*** Error code 71 (continuing)
`install' not remade because of errors.
===> gnu/usr.bin/binutils/as
install -s -o root -g wheel -m 555 as /usr/bin
install: as: No such file or directory
*** Error code 71 (continuing)
install -o root -g wheel -m 444 as.1.gz /usr/share/man/man1
install: as.1.gz: No such file or directory
*** Error code 71 (continuing)
`install' not remade because of errors.
--
Steve
------------------------------
Message: 35
Date: Thu, 8 Jul 2004 19:57:57 -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: <20040708235757.B02D67303F@freebsd-current.sentex.ca>
TB --- 2004-07-08 23:03:58 - tinderbox 2.3 running on freebsd-current.sentex.c
a
TB --- 2004-07-08 23:03:58 - starting CURRENT tinderbox run for sparc64/sparc6
4
TB --- 2004-07-08 23:03:58 - cleaning the sandbox
TB --- 2004-07-08 23:07:53 - /bin/chflags -R 0 /home/tinderbox/sandbox/CURRENT
/sparc64/sparc64/root
TB --- 2004-07-08 23:07:54 - WARNING: /bin/chflags returned exit code 1
TB --- 2004-07-08 23:07:54 - checking out the source tree
TB --- 2004-07-08 23:07:54 - cd /home/tinderbox/sandbox/CURRENT/sparc64/sparc6
4
TB --- 2004-07-08 23:07:54 - /usr/bin/cvs -f -R -q -d/home/ncvs checkout -P -A
src
TB --- 2004-07-08 23:16:13 - WARNING: specified patch file does not exist
TB --- 2004-07-08 23:16:13 - building world (CFLAGS=-O2 -pipe)
TB --- 2004-07-08 23:16:13 - cd /home/tinderbox/sandbox/CURRENT/sparc64/sparc6
4/src
TB --- 2004-07-08 23:16:13 - /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-08 23:57:57 - WARNING: /usr/bin/make returned exit code 1
TB --- 2004-07-08 23:57:57 - ERROR: failed to build world
TB --- 2004-07-08 23:57:57 - tinderbox aborted
------------------------------
_______________________________________________
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 13
***********************************************
--
[35mEvariste Galois[m:
[33m�����呛��樱������蔷������,����直前......[m
[m[31m�� ��源:������� bbs.ustc.edu.cn [FROM: 210.45.72.234][m