Re: mbuf wait code (revisited) -- review?

1999-11-12 Thread Julian Elischer
It looks pretty thorough but needs more examination that I have given it yet. On Fri, 12 Nov 1999, Bosko Milekic wrote: Hi, Attached are some diffs that provide a couple of wait routines in the out-of-mbuf and/or out-of-mbuf-cluster case(s). The attached diffs are for -STABLE and

Re: One bit error on BUS?

1999-11-12 Thread Mike Smith
What could the possible explanation be in the following scenario: There are dozens of possible explanations. We have: arbitrary chip ---localbus--- pci controller ===pcibus=== BX Motherboard -- RAM And somewhere in the transfer of blocks of data between the chip (on the left) and

Missing symbols in LIBC ???

1999-11-12 Thread Nils M Holm
Hello! I am currently porting my compiler to the release 3.3. My RT lib depends on /usr/lib/libc.a. When attempting to link a program, I get messages about unresolved externals (it DOES work on release 2.x). I have seen that the C compiler no longer generates underscores on symbols by default

Re: ARM support

1999-11-12 Thread Mike Smith
If you're interested in sharing your work, I have a DNA ('shark') here that was loaned to the Project for just this purpose. I'd be really interested to see your cross-build bits integrated into our tree ASAP. I'd really like this to happens too but right now I think that would be near

Re: mode_perl DSO works on STABLE, not CURRENT

1999-11-12 Thread Sheldon Hearn
On Thu, 11 Nov 1999 00:45:52 +0100, Ollivier Robert wrote: Your Perl binary is compiled without '-Wl,-E' (or '-Wl,--export-dynamic'). Without this option the Perl binary doesn't expoert its symbols thus preventing any dynamically loaded module to use anything from the binary. The

Re: Severe problems with softupdates.

1999-11-12 Thread Greg Lehey
On Thursday, 11 November 1999 at 20:11:49 +, Josef Karthauser wrote: Hi guys, I'm still trying to recover my laptop from a really severe filesystem crash using softupdates. The machine hung due to a problem with power managment so it needed a reboot. Now fsck won't clean up without

Re: Severe problems with softupdates.

1999-11-12 Thread David Scheidt
On Thu, 11 Nov 1999, Greg Lehey wrote: Hmm. I've had something similar recently, also running -CURRENT. I still need to clean out the lost+found directory, but many of the files hadn't been touched for months. I think that the problem was I had a crash like this on 3.1 -STABLE box. I

Re: Severe problems with softupdates.

1999-11-12 Thread Josef Karthauser
On Thu, Nov 11, 1999 at 10:14:12PM -0500, Greg Lehey wrote: Also if anyone knows how to recover from it I'd be very grateful to know. My /usr partition is uncleanable (although I can 'mount -f' it!! nasty!!). Hmm. I suppose the answer is still "one error at a time". There are plenty

Re: make -jN world; how to determine optimal value of N?

1999-11-12 Thread Ben Rosengart
On Thu, 11 Nov 1999, Robert Watson wrote: Well, presumably at some point your memory working set exceeds your CPU cache, and that begins to hurt. And then at some point your working memory pages exceed the available space, and you begin to page. I've been working with systems with 512 MB or

Re: make -jN world; how to determine optimal value of N?

1999-11-12 Thread Robert Watson
On Thu, 11 Nov 1999, Ben Rosengart wrote: On Thu, 11 Nov 1999, Kip Macy wrote: That is the same specious logic that is used for Linux's "threads" you have diminishing marginal returns as the number gets larger due to context switching overhead. Diminishing *marginal* returns I can

bsd emulation (controle of cgi execution)

1999-11-12 Thread Didier Derny
hi, I would like to controle the execution of the cgi on my machine (specially the path used by the scripts) each client as a unique group id / user id. the binarie I want to control are either some standard FreeBSD in a chrooted enviromnent or the cgi scripts launched by suexec (largely

Re: New command for cdcontrol(1)

1999-11-12 Thread Josef Karthauser
On Wed, Oct 06, 1999 at 03:39:41PM +0300, Sergey Shkonda wrote: On Wed, 6 Oct 1999 13:05:08 +0100, Josef Karthauser wrote: On Wed, Oct 06, 1999 at 01:02:14PM +0300, Sergey Shkonda wrote: I'm using this patch for cdcontrol(1): cdidPrint the xmcd's CD id. Is the method used

Determining (after the fact) if a routine was compiled as PIC?

1999-11-12 Thread Nate Williams
Is there a way to look at a compiled file to see if it was compiled as PIC? I've got some .o files that I don't have source code to, but before I throw them into a shlib, I need to know if they are legal to put into one? Thanks! Nate To Unsubscribe: send mail to [EMAIL PROTECTED] with

Re: Serious locking problem over NFS

1999-11-12 Thread Matthew Dillon
: :Yup, byte range locking fcntl APIs are present but over NFS they don't work. : :So shouldn't one be able to get entire-file locking with the old-fashioned: : : open("foo.lockfile", O_CREAT | O_EXCL, 0644) : :You would think so, but my experience is that reliably protects critical :sections

Re: Severe problems with softupdates.

1999-11-12 Thread Darryl Okahata
Josef Karthauser [EMAIL PROTECTED] wrote: I'm still trying to recover my laptop from a really severe filesystem crash using softupdates. The machine hung due to a problem with power managment so it needed a reboot. Now fsck won't clean up without Out of curiousity, did you get this

Re: Severe problems with softupdates.

1999-11-12 Thread Bernd Walter
On Thu, Nov 11, 1999 at 08:11:49PM +, Josef Karthauser wrote: Kirk mentioned that he was confident that softupdates was 'safe', but I've had files (from a previous crash - recovered from) in lost+found that I didn't touch, and no-way should have become disconnected from the file system

Re: Should jail treat ip-number?

1999-11-12 Thread Warner Losh
In message [EMAIL PROTECTED] Ollivier Robert writes: : NAT breaks too many things (like IPsec, incoming connections and many : protocols) to be anything else than an abomination in my eyes. It breaks any protocol that encodes an IP address and/or a port into the data stream. Without datastream

Re: make -jN world; how to determine optimal value of N?

1999-11-12 Thread Warner Losh
In message [EMAIL PROTECTED] Ben Rosengart writes: : D'oh -- I *meant* to add "besides trying different values and measuring" : -- if I had that much time on my hands, I wouldn't be worrying about how : long a make world takes. :-) Generally on FreeBSD machines that are otherwise unused and

Re: make -jN world; how to determine optimal value of N?

1999-11-12 Thread Warner Losh
In message [EMAIL PROTECTED] Ben Rosengart writes: : On what basis? I usually use larger values, like 12, on the theory that : I have more than enough memory, and if there's free CPU, there should : always be a process available to use it. People have measured things and found that the knee in

Re: Determining (after the fact) if a routine was compiled as PIC?

1999-11-12 Thread Warner Losh
In message [EMAIL PROTECTED] Nate Williams writes: : Is there a way to look at a compiled file to see if it was compiled as : PIC? I've got some .o files that I don't have source code to, but : before I throw them into a shlib, I need to know if they are legal to : put into one? You can likely

Re: Severe problems with softupdates.

1999-11-12 Thread Brian Somers
[.] I believe that Brian has also had the same problems (at FreeBSDCon). Can people put their hands up if they believe that they've experienced this so that we can determine whether there's a deeper softupdates problem that we're ignoring on faith? I have to admit that I had a rather

Re: make -jN world; how to determine optimal value of N?

1999-11-12 Thread Ben Rosengart
On Fri, 12 Nov 1999, Warner Losh wrote: Generally on FreeBSD machines that are otherwise unused and flush with memory, the formula I've seen for n is 4 * #CPU. Thank you -- I didn't need a precise answer, just a good heuristic. This will do nicely. -- Ben Rosengart UNIX Systems Engineer,

Which egcs port should I use?

1999-11-12 Thread Bjoern Fischer
Hello, as it seems that egcs will be *the* C-compiler in FreeBSD4.x I would like to use it in -STABLE, too. There are at least two ports for egcs: lang/egcs and lang/gcc-devel. I want to use a version that is likely to be used in the first release of 4.x, or---at least---the version that is

Re: Which egcs port should I use?

1999-11-12 Thread David O'Brien
On Sat, Nov 13, 1999 at 03:06:26AM +0100, Bjoern Fischer wrote: Which egcs would you recommend, if I want to minimize the hassle to switch from that egcs to the FreeBSD4.x native egcs? /usr/ports/lang/egcs. It is the one that is released code. ``gcc-devel'' is equivent to our -CURRENT and can

Re: Proposal for the kill-list (userland nfs)

1999-11-12 Thread David O'Brien
On Tue, Oct 05, 1999 at 03:49:31PM -0700, Alec Wolman wrote: Digital Unix, aka Compaq Tru64 Unix, formerly know as DEC OSF/1 supports this syntax. In fact, this is the only syntax it supports, IIRC, so FreeBSD is not the only OS to use it. Ultrix was the one that only suported this

Re: make -jN world; how to determine optimal value of N?

1999-11-12 Thread Assar Westerlund
Ben Rosengart [EMAIL PROTECTED] writes: On 12 Nov 1999, Assar Westerlund wrote: Other than that, I think the `make -j4' suggested for a single CPU in the handbook is a fairly good approximation. On what basis? Simple experiments on various machines. YMMV, but I think that's a good