Re: [hackers] Re: Realtek

2003-04-01 Thread Nate Williams
An address that works. Without further knowledge of your laptop, it is impossible for me to say. You will have to find this out by trial and error. Some folks like 0xf800, others like 0x4 and one uses 0xd4000, but the last one I don't recommend. 0xf800 seems to work

Re: making CVS more convenient

2003-03-17 Thread Nate Williams
That's the plan for the next stage, provided that the first stage goes well. I'm yet to play with CVSup and see if it can be integrated there (as with system()) easily without making a lot of changes to CVS itself. Otherwise I'm aftarid it's going to be a large amount of work to

Re: making CVS more convenient

2003-03-17 Thread Nate Williams
It gets handled in the same way as now: I believe, CVS checks whether the checked-out version matches the top of the branch, and if it does not then it refuses to commit and requires you to make an update. So the same thing can be done for a local branch: check that its base version

Re: making CVS more convenient

2003-03-16 Thread Nate Williams
The idea is to support a cache repository (the one copied to a local machine by CVSup or CTM) transparently. So that the reads from directory will go from the local cache repository (and won't overstrain the remote server, and will be fast too), while the commits and other changes will go

Re: making CVS more convenient

2003-03-16 Thread Nate Williams
The value specified in CVSROOTCACHE is the local path to the cache repository. All the check-outs, updates, diffs etc. will be obtained from there. All the check-ins, tagging etc. will go into the master repository specified by CVSROOT. Naturally, to see these changes in the cache

Re: making CVS more convenient

2003-03-16 Thread Nate Williams
The corollary to that would be to teach cvs(1) to commit changes to the master repo that have been made to the local repo. Version number sync would be a problem, but it'd be really cool to be able to do that. With a branch mapping layer (RELENG_5_SEANC - HEAD), people could actually

RE: making CVS more convenient

2003-03-16 Thread Nate Williams
The other solution to the problem is the P4 route. Making things so darn effecient that there's little need to have a local mirror. Where this falls down is when the remote developer doesn't have a 24x7 connection to the main repository. From what I've been told ClearCase allows for

Re: making CVS more convenient

2003-03-16 Thread Nate Williams
Nate's suggestion covers the version number issue... sort of. It assumes that the patches will be approved for commit to the main repo This is easy to get around, b/c if the commit doesn't happen successfully on the repo, then the commit fails, and as such it also won't also be

Re: making CVS more convenient

2003-03-16 Thread Nate Williams
I see how you are viewing this: as a means of avoiding a full CVSup. I think the reason the cache was wanted was not to avoid the CVSup, but to allow operations *other than CVSup* to proceed more quickly? Having a local 'CVS' tree mirrored already does this. However, it's a

Re: Trailing whitespace in FreeBSD

2003-02-11 Thread Nate Williams
Heh, bet you didn't know that bento's predecessor was called thud. And we had a 'ripcord' for a while too. I just dont remember exactly which machine it became. I think it was a temporary name for the machine that became hub. Don't forget gndrsh, which was freefall's replacement (and later

Re: Trailing whitespace in FreeBSD

2003-02-11 Thread Nate Williams
Wow, deja-vu! Hey! I've got a GREAT idea! I whipped up this nifty perl script and I can run it over the src tree to delete all the trailing whitespace! And even better, I can collapse tabs at the beginning of lines! What a great deal! That should be good for a few hundred commits! Gofer

Re: FreeBSD firewall for high profile hosts - waste of time ?

2003-01-16 Thread Nate Williams
Obviously, my goal is to mitigate as much as possible - I have accepted that I cannot stop all DDoS - my question is, do serious people ever attempt to do the mitigation/load shedding with a host-based firewall (in this case fbsd+ipfw) ? Or would all serious people interested in mitigating

Re: FreeBSD firewall for high profile hosts - waste of time ?

2003-01-16 Thread Nate Williams
Again, thank you very much for your advice and comments - they are very well taken. I will clarify and say that the fbsd system I am using / talking about is a _dedicated_ firewall. Only port 22 is open on it. Ah, OK. That wasn't clear from your emails. The problem is, I have a few

Re: FreeBSD firewall for high profile hosts - waste of time ?

2003-01-16 Thread Nate Williams
So you are saying that if I put in: ipfw add 1 deny tcp from any to 10.10.10.10 6667 That an incoming packet for 10.10.10.10 on port 6667 will go through the rule set _twice_ (once for each interface) ? No, that much is true. However, you want to optimize your firewall for packets

Re: FreeBSD firewall for high profile hosts - waste of time ?

2003-01-16 Thread Nate Williams
You don't want to stick the 'block abnormal packets' rules at the top of the list, IMO. You want those at the end, since abnormal packets are *usually* the exception. Optimize for the standard case. Wow - that is _very interesting_ that you say this. We were having a similar

Re: FreeBSD firewall for high profile hosts - waste of time ?

2003-01-16 Thread Nate Williams
Try this simple ruleset: possible deny log tcp from any to any setup tcpoptions !mss ipfw add allow ip from any to any out ipfw add allow ip from any to your.c.net{x,y,z,so on...} ipfw add deny log ip from any to any I'd limit these to the outside interface, for performance rules. #

Re: FreeBSD firewall for high profile hosts - waste of time ?

2003-01-16 Thread Nate Williams
So, you say that a poorly configured netscreen is no better than a poorly configured freebsd+ipfw ... but what about the best possibly configured netscreen vs. the best possibly configured freebsd+ipfw ? The answer to that particular question depends on what you mean by configured.

Re: FreeBSD firewall for high profile hosts - waste of time ?

2003-01-16 Thread Nate Williams
will freebsd+ipfw always be worse in a ~10 meg/s throughput network that gets attacked all the time than a purpose-built appliance like a netscreen ? I think its' been said that in general, the answer is no. It should behave as well, and is some cases better. There are cases where it will

Re: FreeBSD firewall for high profile hosts - waste of time ?

2003-01-16 Thread Nate Williams
Try this simple ruleset: possible deny log tcp from any to any setup tcpoptions !mss ipfw add allow ip from any to any out ipfw add allow ip from any to your.c.net{x,y,z,so on...} ipfw add deny log ip from any to any I'd limit these to the outside interface, for

Re: FreeBSD firewall for high profile hosts - waste of time ?

2003-01-16 Thread Nate Williams
In any case, he's got something else strange going on, because his load under attack, according to his numbers, never gets above the load you'd expect on 10Mbit old-style ethernet, so he's got something screwed up; probably, he has a loop in his rules, and a packet gets trapped and

Re: FreeBSD firewall for high profile hosts - waste of time ?

2003-01-16 Thread Nate Williams
If I remember correctly he has less then 10Mbit uplink and a lot of count rules for client accounting. It is reason I recommend him to use userland accounting. And as far as I understand a lot of count rules is the reason for trouble. I removed all the count rules a week or so ago.

Re: FreeBSD firewall for high profile hosts - waste of time ?

2003-01-16 Thread Nate Williams
PS: I still think that if your CPU pegs, you've got a loop in there somewhere. Most common case is a reject or deny. Try changing all of them to drop, instead, and see if that fixes it. FWIW, deny == drop. The 'reject' rule is the one that sends out ICMP and RST packets. Nate To

Re: sendfile() in tftpd?

2002-04-23 Thread Nate Williams
[ TFTP performance is poor ] USE TFTP to get a tiny image up, and then go TCP. Going to TCP soon assumes that you have a lossless medium in order to transmit packets over. If you're using a lossy medium, TFTP (and other UDP based protocols) can kick their butt because of TCP's

Re: sendfile() in tftpd?

2002-04-23 Thread Nate Williams
Going to TCP soon assumes that you have a lossless medium in order to transmit packets over. If you're using a lossy medium, TFTP (and other UDP based protocols) can kick their butt because of TCP's assumption that packet loss is a function of congestion, which is often not the case in

Re: sendfile() in tftpd?

2002-04-23 Thread Nate Williams
[ TFTP performance is poor ] USE TFTP to get a tiny image up, and then go TCP. Going to TCP soon assumes that you have a lossless medium in order to transmit packets over. If you're using a lossy medium, TFTP (and other UDP based protocols) can kick their butt

Re: sendfile() in tftpd?

2002-04-23 Thread Nate Williams
[ moved to -chat, since this has no business being in -hackers anymore ] Probably true, but the better solution is to find something else (or make something else) that doesn't completely suck like TFTP does. Because it's used so rarely, having it suck every once in a while isn't so

Re: Any interest in core dump's from Nokia (Ipsolin?)

2002-04-20 Thread Nate Williams
Just curious how the relationship is with Nokia's sping off of FreeBSD for their security platform? The FreeBSD used on the Nokia product is different enough from the stock FreeBSD code that a dump would be essentially useless. A dump requires that at least have access to the symbols, and

Re: Interesting sysctl variables in Mac OS X with hw info

2002-03-13 Thread Nate Williams
hw.busfrequency = 133326902 hw.cpufrequency = 66700 hw.cachelinesize = 32 hw.l1icachesize = 32768 hw.l1dcachesize = 32768 hw.l2settings = -2147483648 hw.l2cachesize = 262144 Assuming that some or all of this information can be derived on x86 / alpha / sparc, how useful do folks

Re: C vs C++

2002-03-06 Thread Nate Williams
[ Moving this thread over to -chat as well. We'll get them all over in time ] Raymond Wiker writes: Giorgos Keramidas writes: Well, to be frank, I've seen a few C++ coding style documents, that suggest avoiding stdout.h altogether when writing in C++. I assume you mean stdio.h?

Re: C vs C++

2002-03-05 Thread Nate Williams
[ moved to -chat ] Because that underlying assumption is false, and I'm making fun of it. Well, that in itself is wrong. C++ code IS harder to write and write correctly and effeciently, as I would assume it is for any OO language. Not so. Having done C professionally for umpteen years,

Re: FreeBSD-1.X public cvs?

2002-02-26 Thread Nate Williams
A FreeBSD 1.X CVS tree has been found, which has it's first import as 386BSD 0.1 + PK 024. There are a couple minor points that need to be clarified from Caldera before it can be made public. Has there been any more progress with this? There have been no clarifications from Caldera,

Re: A question about timecounters

2002-02-05 Thread Nate Williams
Can you try to MFC rev 1.111 and see if that changes anything ? That produced some interesting results. I am still testing under very heavy network interrupt load. With the change from 1.111, I still get the microuptime messages about as often. But look how much larger the reported

Re: A question about timecounters

2002-02-05 Thread Nate Williams
How are issues (1) and (3) above different? ps. I'm just trying to understand, and am *NOT* trying to start a flame-war. :) :) :) If the starvation happens to hardclock() or rather tc_windup() the effect will be cummulative and show up in permanent jumps in the output of date for

Re: A question about timecounters

2002-02-05 Thread Nate Williams
Can you try to MFC rev 1.111 and see if that changes anything ? That produced some interesting results. I am still testing under very heavy network interrupt load. With the change from 1.111, I still get the microuptime messages about as often. But look how much larger the

Re: FreeBSD-1.X public cvs?

2002-01-30 Thread Nate Williams
Caldera's License Agreement: http://www.tuhs.org/Archive/Caldera-license.pdf Thanks. However, this isn't as specific as I'd like it to be. It implies that Net1/Net2 are now 'legal', but it doesn't give explicit release of said source code. Well, I have never heard claims

Re: FreeBSD-1.X public cvs?

2002-01-30 Thread Nate Williams
A FreeBSD 1.X CVS tree has been found, which has it's first import as 386BSD 0.1 + PK 024. There are a couple minor points that need to be clarified from Caldera before it can be made public. Just curious, but will this be folded in the main CVS tree, or will it be available as a

Re: FreeBSD-1.X public cvs?

2002-01-29 Thread Nate Williams
Now that ancient unix has been relicensed with an old-style BSD licence, is the FreeBSD-1.X cvs repository going to be made public? Out of curiousity, why? And, where have you heard that it's been relicensed? Nate To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe

Re: FreeBSD-1.X public cvs?

2002-01-29 Thread Nate Williams
Now that ancient unix has been relicensed with an old-style BSD licence, is the FreeBSD-1.X cvs repository going to be made public? Out of curiousity, why? Out of curiousity :) Kirk was surprised by how popular the CSRG archives CDs are. I got one of those too. :) And,

Re: FreeBSD-1.X public cvs?

2002-01-29 Thread Nate Williams
Caldera's License Agreement: http://www.tuhs.org/Archive/Caldera-license.pdf Thanks. However, this isn't as specific as I'd like it to be. It implies that Net1/Net2 are now 'legal', but it doesn't give explicit release of said source code. Well, I have never heard claims that BSD

Amount of free memory available in system?

2002-01-12 Thread Nate Williams
Is there a simple sysctl or a command line utility I can use to determine how much free memory is available in a system? I've got an embedded application that has *very* limited memory, and I was trying to figure out how much memory was available for the userland applications. 'top' has

Re: Amount of free memory available in system?

2002-01-12 Thread Nate Williams
Is there a simple sysctl or a command line utility I can use to determine how much free memory is available in a system? I've got an embedded application that has *very* limited memory, and I was trying to figure out how much memory was available for the userland applications.

Re: path_mtu_discovery

2002-01-05 Thread Nate Williams
: Out of curiosity, where do MTUs ~512 occur? Old slip links that used it to reduce latency. I suspect that there aren't too many of them left in the world. You'd be suprised. I measure SLIP's effeciency (in throughput) to be about 5-15% more effecient than PPP in older versions of

Re: FreeBSD performing worse than Linux?

2002-01-01 Thread Nate Williams
Remember also that Matt recently shot Reno for performance reasons Actually, it was turned back on less than 72 hours later, when he found/fixed a bug in NewReno. It was only off for a little bit, and only in -stable. , when compared to Linux, when he should probably have simply cranked

Re: Re[2]: switching to real mode

2001-12-06 Thread Nate Williams
I saw an example of switching in real mode in linux' sources (it looks pretty clear) and thouhgt it is possible to do the same under FreeBSD. The problem is I'm absolutely lost in FreeBSD's physical memory management implementation (page tables and directory and so on). That code is

Re: Re[2]: switching to real mode

2001-12-06 Thread Nate Williams
I saw an example of switching in real mode in linux' sources (it looks pretty clear) and thouhgt it is possible to do the same under FreeBSD. The problem is I'm absolutely lost in FreeBSD's physical memory management implementation (page tables and directory and so on). That code

Re: Found the problem, w/patch (was Re: FreeBSD performing worse than Linux?)

2001-12-03 Thread Nate Williams
Unfortunately, I'm unable to run tcpdump on the client, since it's running NT and we're not allowed to install any 3rd party apps on it (such as the WinDump package). NT??? You wouldn't happen to be seeing performance problems with Samba, I hope? We're not using Samba over 100's

Re: FreeBSD performing worse than Linux?

2001-11-30 Thread Nate Williams
: FWIW, I'm seeing this as well. However, this appears to be a new : occurance, as we were using a FreeBSD 3.X system for our reference test : platform. : :Someone recently submitted a PR about TCP based NFS being significantly :slower under 4.X. I wonder if it could be related? : :

Re: Found the problem, w/patch (was Re: FreeBSD performing worse than Linux?)

2001-11-30 Thread Nate Williams
I believe I have found the problem. The transmit side has a maximum burst count imposed by newreno. As far as I can tell, if this maxburst is hit (it defaults to 4 packets), the transmitter just stops - presumably until it receives an ack. Note, my experiences (and John

Re: Found the problem, w/patch (was Re: FreeBSD performing worse than Linux?)

2001-11-30 Thread Nate Williams
:Note, my experiences (and John Capos) are showing degraded performance :when *NOT* on a LAN segment. In other words, when packet loss enters :the mix, performance tends to fall off rather quickly. : :This is with or without newreno (which should theoretically help with :packet loss).

Re: FreeBSD performing worse than Linux?

2001-11-29 Thread Nate Williams
I started noticing some TCP weirdness when I moved my bandwidth stats site from my office to my colo facility last week. The colo is five miles away by road and 1200 miles away by network. Netscape would stop for seconds at a time while loading the graph images but there was no

Re: tar and nodump flag (fwd)

2001-11-29 Thread Nate Williams
Of course, if you only know GNUtar Star's standard option handling _may_ look strange. But then why did FreBSD switch to GNUtar instead of keeping a real tar? Because there didn't exist a real tar at the time that FreeBSD was created. Nate To Unsubscribe: send mail to [EMAIL PROTECTED]

Re: tar and nodump flag (fwd)

2001-11-29 Thread Nate Williams
Of course, if you only know GNUtar Star's standard option handling _may_ look strange. But then why did FreBSD switch to GNUtar instead of keeping a real tar? Because there didn't exist a real tar at the time that FreeBSD was created. Well this is from BSD-4.3: [ SNIP ] ... And it

Re: FreeBSD performing worse than Linux?

2001-11-28 Thread Nate Williams
I know my lack of information isn't helping much, and that I've not done much to help debug the problem. However, all my attempts to track down what is causing this from a high-level (w/out digging into the code itself and analyzing tcpdump output) have come up empty. It's not only

Re: FreeBSD performing worse than Linux?

2001-11-28 Thread Nate Williams
If you want me to shutup and go into a corner, it might make you feel better, but it certainly won't solve the real problem. I made it clear that my problem was not with the complaint itself. No, you didn't. My problem with it was with the lack of technical backing or any real way for

RE: FreeBSD performing worse than Linux?

2001-11-28 Thread Nate Williams
I had a similar problem, especially with different FreeBSD 4.x boxes (4.1.1, 4.2, 4.3, 4.4-stable after dirpref merge) and with Windows NT systems, but the crap performance was only1 limited to FTP. SSH, NFS and CVS operations were all fine. We're not using any of the other listed services,

RE: FreeBSD performing worse than Linux?

2001-11-28 Thread Nate Williams
As a follow-up, I've just checked the newreno setting on the boxes I experienced the problems with - newreno is on. I'll try turning it off and see if I experience any problems. BTW, what does it do exactly? It's supposed to make performance of resends/ACKs better in the case of packet loss.

Re: FreeBSD performing worse than Linux?

2001-11-27 Thread Nate Williams
I've just been talking with a friend of mine from the Samba team. He's about to change jobs, and a lot of his work in future will involve FreeBSD. He's just been doing some performance testing, and while the numbers are pretty even (since he discovered soft updates :-), he's noticing some

Re: FreeBSD performing worse than Linux?

2001-11-27 Thread Nate Williams
Note, some of the performance issues were made better by disabling the TCP newreno implementation, but it's still poor and very inconsistent for hosts not on the local network, while the Linux box next to it gets much more consistent results. For what it's worth I have disabled newreno at

Re: FreeBSD performing worse than Linux?

2001-11-27 Thread Nate Williams
FWIW, I'm seeing this as well. However, this appears to be a new occurance, as we were using a FreeBSD 3.X system for our reference test platform. I recently updated it to FreeBSD 4.4-RELEASE, and I'm getting nothing but complaints about broken connections, poor performance, and very

dump/restore and DIRPREF

2001-10-02 Thread Nate Williams
After Kris's recent report of 'massive speedups' using dirpref, I've been toying with the idea of backing up my box, and then restoring them. However, backup/restore are so much faster than doing a tar/untar. If I do a backup of my FS, wipe the disk, will the 'restore' cause the same

Re: dump/restore and DIRPREF

2001-10-02 Thread Nate Williams
After Kris's recent report of 'massive speedups' using dirpref, I've been toying with the idea of backing up my box, and then restoring them. However, backup/restore are so much faster than doing a tar/untar. If I do a backup of my FS, wipe the disk, will the 'restore' cause the same

Re: What is VT_TFS?

2001-09-05 Thread Nate Williams
TRW supported a lot of the early 386BSD/FreeBSD effort, back before Walnut Creek CDROM threw in and had us change the version number from 0.1 to 1.0 to make it a bit easier to sell. *Huh* That's revisionist history if I've ever heard it. We did a 1.0 release for FreeBSD

Re: What is VT_TFS?

2001-09-05 Thread Nate Williams
You're replying to Terry for christs sake! What did you expect if not revisionist $anything ? Which reminds me, Adrian still oves us his story about ref :-) Poul, you're going off again, without regard for facts. Remember the last time FreeBSD history came up, I proved Nate

Re: What is VT_TFS?

2001-09-05 Thread Nate Williams
Bill Jolitz approved a 0.5 interim release of 386BSD And then Lynn revoked this, and posted a public message to the world stating what obnoxious fiends we were. Actually, Lynne didn't have the right to do this; the trademark was Bill's, so the revocation wasn't valid until Bill did

Re: local changes to CVS tree

2001-09-05 Thread Nate Williams
CVS claims to support multiple vendor branches, but in practice it doesn't work in any useful sense. There's at least one place in the CVS sources where the vendor branch is hard-coded as 1.1.1. You really don't want to use multiple vendor branches -- trust me. :-) Use two

Re: local changes to CVS tree

2001-09-05 Thread Nate Williams
Any chance of getting CVSup to transfer from a remote repository to a local vendor branch, instead of from a remote repository to a local repository? The problem is that you aren't just transferring bits from the HEAD, but from multiple active branches. As John already stated,

Re: What is VT_TFS?

2001-09-04 Thread Nate Williams
What is the file system that uses VT_TFS in vnode.h? Is it still available on FreeBSD? Thanks. Julian added it for TRW Financial Services; the first public reference machine for 386BSD (which later became FreeBSD and NetBSD) was ref.tfs.com. So far so good. ref died an ugly horrible

Re: Recommendation for minor KVM adjustments for the release

2001-08-19 Thread Nate Williams
- I would like to cap the size of the buffer cache at 200MB, giving us another 70MB or so of KVM which is equivalent to another 30,000 or so nmbclusters. That also seems like overkill for the vast majority of systems. But probably not for the large-memory

Re: Silly crackers... NT is for kids...

2001-08-17 Thread Nate Williams
Which just brings me to another point, why not just turn ssh on by default and turn telnetd off by default, given the latest exploit. As Bruce already mentioned, this is the new default in 4.4. Nate To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body

Re: Development for older FreeBSD releases

2001-07-12 Thread Nate Williams
Building a new development box from a set of 2.2.8 CDs would certainly be a simple and guaranteed method if that's an option for you. Unfortunately it's not guaranteed...a lot of new hardware has been released since December 1998 (the date of 2.2.8-RELEASE). :-p Why is that important?

Re: Status of encryption hardware support in FreeBSD

2001-07-02 Thread Nate Williams
I think you've missed the fact that the '486 solution requires an add-on board (priced at $80.) and the faster cpu solution doesnt. That adds a lot of margin to get a faster MB, more than enough to compensate for the board. Not necessarily. The upgraded motherboard also

Re: Status of encryption hardware support in FreeBSD

2001-06-30 Thread Nate Williams
Really? Have you even looked at the net4501 board which was mentioned? It's a single-board computer constructed for some specific communication applications, with no VGA or keyboard support, or spinning fans, and is pretty inexpensive and in a very small form

Re: Status of encryption hardware support in FreeBSD

2001-06-30 Thread Nate Williams
Your premise that embedded appliances are somehow doomed to use pitifully outdated processors is simply wrong. Who said anything about pitifully outdated processors. I can buy a heck of alot of CPU horsepower w/out buying the latest/greatest CPU. As a matter of

Re: Java (Was Re: NGPT 1.0.0 port to freebsd)

2001-06-29 Thread Nate Williams
With the current license, this won't be installed as part of the base kernel. (GPL and/or LGPL) I understand it'll continue to be a port. Am I hearing that it is unacceptable even as a temporary solution because of the license ? It's been answered time and time again over the past

Re: Query: How to tell if Microsoft is using BSD TCP/IP code?

2001-06-25 Thread Nate Williams
http://www.microsoft.com/windows2000/interix/interixinc.asp Plenty of GNU stuff there, though it doesn't say so explicitly. Of course, they say it's all meant only for legacy Unix stuff. Can you substantiate your claim there is plenty of GNU stuff in Interix, or are you just talking out

Re: Query: How to tell if Microsoft is using BSD TCP/IP code?

2001-06-15 Thread Nate Williams
I've had several marketing types approach me recently for details as to whether or not Microsoft was using the BSD TCP/IP stack and/or user utilities, and though it's always been common knowledge in the community that they were, when I set about to prove it I found it to be less easy than

Re: -R for make update ?

2001-05-22 Thread Nate Williams
Is there any specific reason why one needs to be able to write a lock to the CVS repo when running 'make update' to get a freshly checked out source? Yeah: you aren't running your CVS server in pserver mode, and so are trying to do a lock, either in your local copy, or over NFS.

Re: if_fxp - the real point

2001-03-14 Thread Nate Williams
You cant strong-arm companies into making their intellectual properly rights publicly available. its a losing argument. Strange, in that it worked for a number of video-card vendors when XFree86 either dropped support and/or never supported the card in question. Nate To Unsubscribe: send

Re: Setting memory allocators for library functions.

2001-02-26 Thread Nate Williams
[ Memory overcommit ] One important way to gain confidence that you're little box won't silently crash at the worst possible time for the customer is to be able to *prove* to yourself that it can't happen, given certain assumptions. Those assumptions usually include things like "the

Re: Setting memory allocators for library functions.

2001-02-26 Thread Nate Williams
Even in this case, there's no way to prove your code is not going to crash. Sure. But you can at least prove that all crashes are the result of bugs, not merely design "features". 'Proving' something is correct is left as an excercise for the folks who have way too much time on their

Re: Is mkdir guaranteed to be 'atomic' ??

2001-02-26 Thread Nate Williams
is mkdir(3) guaranteed to be atomic? Yes. Are there filesystem type cases where this might not be the case (NFS being my main concern ) No. Yes. NFS doesn't guarantee atomicity, because it can't. If the mkdir call returns, you have no guarantee that the remote directory

Re: Is mkdir guaranteed to be 'atomic' ??

2001-02-26 Thread Nate Williams
Are there filesystem type cases where this might not be the case (NFS being my main concern ) No. Yes. NFS doesn't guarantee atomicity, because it can't. If the mkdir call returns, you have no guarantee that the remote directory has been created (caching, errors,

Re: Is mkdir guaranteed to be 'atomic' ??

2001-02-26 Thread Nate Williams
I can handle it if there is a case where both fail, but is there a case where both can SUCCEED ?? What do you mean 'both succeed'? My understanding is that, on non-broken filesystems, calls to mkdir(2) either succeed by creating a new directory, or fail and return EEXIST

Re: make bug? (dependency names with '$')

2001-02-20 Thread Nate Williams
Jason Brazile writes: : I want to construct a portable Makefile to build a java application. That's not possible. Java specifies a half assed make system as part of the language, so it is nearly impossible to use another make system on top of it unless you are willing to live with a

RE: make bug? (dependency names with '$')

2001-02-20 Thread Nate Williams
I want to construct a portable Makefile to build a java application. I've played with Java and Make in the past, but I found that spawning a new instance of the Java compiler is more expensive than compiling a pretty big bunch of files. gcc starts up a lot quicker than a JVM. Jikes

Re: make bug? (dependency names with '$')

2001-02-20 Thread Nate Williams
Jason Brazile [EMAIL PROTECTED] writes: I want to construct a portable Makefile to build a java application. Don't bother. a) use jikes instead of javac, it's much faster and gives better diagnostics. Agreed. b) to rebuild, just list all the source (.java) files on the jikes

Re: make bug? (dependency names with '$')

2001-02-20 Thread Nate Williams
Disagree. If you want it to be portable, don't use a non-standard extension to a tool, such as jikes dependency features. We used jikes for our day-day development, but move back to using 'javac' for our Q/A and final builds. That way we can complain to Sun when things don't work.

Re: kernel type

2000-12-17 Thread Nate Williams
PS. Before this starts a flame war, let me say that I really believe that MacOS X is a very good thing for everyone involved, although the choice of Mach for the microkernel seems a little arbitrary if not misguided. It's hardly arbitrary, though the jury's still out as to

Re: kernel type

2000-12-17 Thread Nate Williams
Kernel threads out of the box? The Mach kernel makes use of a thread primitive and a task primitive; however, their BSD OS personality is largely single-threaded with something approximately equivilent to our Giant -- they refer to this as a "Funnel", through which access to the BSD code

Re: vm_pageout_scan badness

2000-12-03 Thread Nate Williams
I'm going to take this off of hackers and to private email. My reply will be via private email. Actually, I was enjoying the discussion, since I was learning something in the process of hearing you debug this remotely. It sure beats the KR vs. ANSI discussion. :) Nate To

Re: Legacy ethernet cards in FreeBSD

2000-11-10 Thread Nate Williams
: 3Com 3c503ISA I think so. The ed driver supports this I'm pretty sure the ed driver doesn't support the 503. I think we dropped support for the 503 a *REALLY* long time ago (2.1 days...) : DEC EtherworksISA : DEC DE205 ISA don't know about these. lnc

Re: Legacy ethernet cards in FreeBSD

2000-11-10 Thread Nate Williams
: 3Com 3c503ISA I think so. The ed driver supports this I'm pretty sure the ed driver doesn't support the 503. I think we dropped support for the 503 a *REALLY* long time ago (2.1 days...) You are probably confusing it with the 501 or 505. The 503 is basically

Re: IPFW bug/incoming TCP connections being let in.

2000-10-20 Thread Nate Williams
I had blocked incoming TCP connections coming into my network using IPFW, and I noticed that my brother was able to establish a Napster connection, even though I had blocked it earlier. *sigh* Thanks to Guy Helmer for being patient with me as I fretted about this. I just found out that

Re: Blocking Napster (WAS: IPFW bug/incoming TCP connections being let in.)

2000-10-20 Thread Nate Williams
I had blocked incoming TCP connections coming into my network using IPFW, and I noticed that my brother was able to establish a Napster connection, even though I had blocked it earlier. *sigh* Thanks to Guy Helmer for being patient with me as I fretted about this. I just

IPFW bug/incoming TCP connections being let in.

2000-10-19 Thread Nate Williams
I had blocked incoming TCP connections coming into my network using IPFW, and I noticed that my brother was able to establish a Napster connection, even though I had blocked it earlier. I thought, no worries, I'll just block it at the port level. I read a couple of articles, and noted that

Re: IPFW bug/incoming TCP connections being let in.

2000-10-19 Thread Nate Williams
I had blocked incoming TCP connections coming into my network using IPFW, and I noticed that my brother was able to establish a Napster connection, even though I had blocked it earlier. I thought, no worries, I'll just block it at the port level. I read a couple of articles, and

Re: Automatic updates (was Re: How long for -stable...)

2000-10-04 Thread Nate Williams
I think that we can do a lot with cvsupd. I've used cvsupd to grab binaries on an experimental basis and it seems to work great. I've Hmmm. Does cvsupd also move a target out of the way if it already exists and it's in the process of replacing it? What if the target is chflag'd but

Automatic updates (was Re: How long for -stable...)

2000-10-03 Thread Nate Williams
[ Culled the list way down, and moved it to -hackers ] We could also look into providing an "update" command or something which would pull either sources or binaries over from a snapshot box and make the process of getting up to the branch-head a lot easier. It's long been on my wishlist and

Re: Trouble with dynamic loading of C++ libs in PHP v4.02 on FreeBSD 4.1

2000-09-14 Thread Nate Williams
We are trying to create a dynamic library of extensions to PHP 4.02. This library implements a C++ class and has a C interface using the "Extern C" declaration. This library is linked with libstdc++.so.3 . If the library is called in a C program = no trouble. If the library is

Re: Trouble with dynamic loading of C++ libs in PHP v4.02 on FreeBSD 4.1

2000-09-14 Thread Nate Williams
At one point libgcc was shared (FreeBSD 1.*), and it caused way more problems that it solved. Do you remember any details? I analyzed it pretty thoroughly (I thought) more than a year ago, and decided the shared library was the best solution. If I remember right (and my memory is fuzzy

  1   2   3   >