How to build lint libraries, e.g. llib-lc.ln?

2004-06-05 Thread Alexander Mueller
Hi folks, when writing C applications I'd like to check them using lint. Unfortunately FreeBSD comes with only "llib-lposix.ln" and "llib-lstdc.ln" in "/usr/libdata/lint". Is there an easy, i.e. automated, way to create lint libraries (e.g. llib-lc.ln) for all the libs in "/usr/src/lib"? Cheers, Al

Re: FreeBSD 5.2.1: Mutex/Spinlock starvation?

2004-06-05 Thread Ali Niknam
Hi Alexander, > I can't say anything as how the issue can be connected with the > mutexes and so on, but to solve your problem with apache, I'd look > into 'hold_off_on_exponential_spawning' and 'MAX_SPAWN_RATE' > parameters in src/main/http_main.c of the apache source tree > (presuming you're usi

Re: [HEADS-UP] mbuma is in the tree

2004-06-05 Thread Sam Leffler
On Friday 04 June 2004 04:27 am, Gleb Smirnoff wrote: > On Thu, Jun 03, 2004 at 08:19:11AM -0700, Brooks Davis wrote: > B> > On Wed, Jun 02, 2004 at 10:56:52AM -0700, Sam Leffler wrote: > B> > S> allocated using this mechanism. I did it once for vlan tags but > botched it B> > S> (didn't handle mo

Re: FreeBSD 5.2.1: Mutex/Spinlock starvation?

2004-06-05 Thread Ali Niknam
> Welcome :-). > Thank you :) > Actually, by default, most mutexes in the system are sleep mutexes, so > they sleep on contention rather than spinning. In some cases, this > actually hurts more than spinning, because if the mutex is released > quickly by the holder, then you pay the context swit

patch to add additional devices to uftdi(4)

2004-06-05 Thread Mike Durian
I couldn't find a maintainer for uftdi(4), so I sent the patch in as a PR. It is available here: http://www.freebsd.org/cgi/query-pr.cgi?pr=67357 It adds support for the Intrepid Control Systems USB based vehicle bus interfaces. Earlier, I submited a PR that contains a patch that should be igno

Network config on FreeBSD 5.1 - Help!

2004-06-05 Thread JiaFu He
As what have been pointed out, It may help if you comment out the lines in rc.conf as below: #ifconfig_vr0="inet6 hex address netmask 255.255.255.0" ipv6_enable="NO" #hostname= "..." #ppp_enable="YES" #ppp_mode="ddial" #ppp_nat="YES" #ppp_profile="bellnet.ca" sendmail

Re: general Darwin imports (was Re: Darwin cmd import?)

2004-06-05 Thread Edwin Groothuis
On Wed, Jun 02, 2004 at 09:57:57AM -0400, Michael W. Lucas wrote: > People may gripe about Apple not returning stuff to the open source > community. The truth is, they have. They aren't responsible for > converting what they return into a format we can use, but they haven't > deliberately obfusca

Re: general Darwin imports (was Re: Darwin cmd import?)

2004-06-05 Thread Michael W. Lucas
On Sat, Jun 05, 2004 at 09:59:15PM +1000, Edwin Groothuis wrote: > On Wed, Jun 02, 2004 at 09:57:57AM -0400, Michael W. Lucas wrote: > > People may gripe about Apple not returning stuff to the open source > > community. The truth is, they have. They aren't responsible for > > converting what they

Re: Orinoco Gold and Linksys AP

2004-06-05 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> "Liam J. Foy" <[EMAIL PROTECTED]> writes: : Hey guys, : : I have also emailed this to freebsd-mobile@, so just writing to see if any of you guys have had any problems with an Orinoco Gold and a Linksys AP in -CURRENT. They seem to both work fine

Re: Orinoco Gold and Linksys AP

2004-06-05 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Søren Schmidt <[EMAIL PROTECTED]> writes: : Liam J. Foy wrote: : > Hey guys, : > : > I have also emailed this to freebsd-mobile@, so just writing to see if any of you guys have had any problems with an Orinoco Gold and a Linksys AP in -CURRENT. They

Re: Orinoco Gold and Linksys AP

2004-06-05 Thread Liam J. Foy
On Sat, 05 Jun 2004 12:37:28 -0600 (MDT) "M. Warner Losh" <[EMAIL PROTECTED]> wrote: > In message: <[EMAIL PROTECTED]> > Søren Schmidt <[EMAIL PROTECTED]> writes: > : Liam J. Foy wrote: > : > Hey guys, > : > > : > I have also emailed this to freebsd-mobile@, so just writing to see i

Re: Orinoco Gold and Linksys AP

2004-06-05 Thread Søren Schmidt
M. Warner Losh wrote: In message: <[EMAIL PROTECTED]> Søren Schmidt <[EMAIL PROTECTED]> writes: : Liam J. Foy wrote: : > Hey guys, : > : > I have also emailed this to freebsd-mobile@, so just writing to see if any of you guys have had any problems with an Orinoco Gold and a Linksys AP

Re: general Darwin imports (was Re: Darwin cmd import?)

2004-06-05 Thread Robert Watson
On Sat, 5 Jun 2004, Edwin Groothuis wrote: > Now the question of course is: where can I find it? It is somewhere in a > CVS repository (that would be nicest), or are it raw sourcefiles only? > > Edwin, now owning a Mac so not really familiar with things The Open Darwin web site has a web-based

Re: general Darwin imports (was Re: Darwin cmd import?)

2004-06-05 Thread David Scheidt
On Jun 5, 2004, at 2:55 PM, Robert Watson wrote: On Sat, 5 Jun 2004, Edwin Groothuis wrote: Now the question of course is: where can I find it? It is somewhere in a CVS repository (that would be nicest), or are it raw sourcefiles only? Edwin, now owning a Mac so not really familiar with things Th

machine is unusable with panic: vrele: negative ref cnt

2004-06-05 Thread Alan Evans
On boot I see the following on an IBM T30 laptop: Mounting root from ufs:/dev/ad0s1a WARNING: / was not properly dismounted ad0: FAILURE - READ_MUL status=59 error=40 LBA=376639 ad0: FAILURE - READ_MUL status=59 error=40 LBA=376639 ad0: FAILURE - READ_MUL status=59 error=40 LBA=376639 ad0: FAILURE