Re: in-kernel tcp server

2007-06-21 Thread John Polstra
Julian Elischer wrote: but if you did find some old ksocket based code sitting around, i'd love to try it in -current and work on the bottlenecks.. I'm sure I don't have it any more, unfortunately. It was six years old, and I just moved into a smaller house and threw out a half dozen old

Re: in-kernel tcp server

2007-06-20 Thread John Polstra
(so*). What's the easy way to create a basic tcp server (create/bind/listen/accept/send/recv) : use netgraph's ksocket or so* ? Thanks in advance ! PS: the whole job must be done in the kernel. yes it can (and has been) done.. John Polstra did it many years ago.. using netgraph ksockets. He had

Re: in-kernel tcp server

2007-06-20 Thread John Polstra
Nicolas Cormier wrote: Thanks a lot for your answer, a last question why did you not used so* functions ? Using ng_ksocket is almost the same as using the so* functions, since the ksocket methods call the so* functions. But by using netgraph, you get a nice management interface, too.

Re: in-kernel tcp server

2007-06-20 Thread John Polstra
Julian Elischer wrote: I would actually like to address the performance issues. is there any chance the oldest version (4.x based) might be released, or at least it would be nice to get the code snippet that attaches to eh ng_ksocket and reads and writes the stream.. I could make a TCP ECHO

RE: [Fwd: Interrupts question]

2006-07-19 Thread John Polstra
On 17-Jul-2006 Alex Zbyslaw wrote: I was monitoring a machine with systat -vmstat and noticed something about the interrupts and I don't know if it's a problem or not. If it is a problem, is there anything I can do about it? The interrupts for the network interface (em0) on irq 64 exactly

RE: CVSup and Attic files

2005-04-05 Thread John Polstra
On 05-Apr-2005 Matthew D. Fuller wrote: I've noticed some strange behavior suddenly out of CVSup. I refuse all Attic files in ports, and that doesn't seem to be working right all of a sudden. My best guess is that it's something due to the recent patch to cvsupd to handle INDEX issues,

RE: CVSUP error...

2003-11-18 Thread John Polstra
On 18-Nov-2003 Brett L. Brown wrote: I'm looking for help on with a CVSUP problem. I'm trying to run CVSUP with a supfile, I'm typing: cvsup ports-supfile and receiving the following: Cannot get IP address of my own host -- is its hostname correct? This problem is discussed in the

Re: Any workarounds for Verisign .com/.net highjacking?

2003-09-16 Thread John Polstra
On 16-Sep-2003 Dan Langille wrote: On 16 Sep 2003 at 10:23, Clifton Royston wrote: In the meantime I'm trying to figure out if there's some simple hack to disregard these wildcard A records, short of requesting zone transfers of the root nameservers (e.g. via peering with

Re: Any workarounds for Verisign .com/.net highjacking?

2003-09-16 Thread John Polstra
On 16-Sep-2003 M. Warner Losh wrote: I think we should put a filter for this nonsense into the base system. Hack the resolve to filter out the adddress, and hack bind to filter it out too. that way we can leverage our position in the name servers in the world to do something about this BS.

Re: Any workarounds for Verisign .com/.net highjacking?

2003-09-16 Thread John Polstra
On 17-Sep-2003 M. Warner Losh wrote: In message: [EMAIL PROTECTED] John Polstra [EMAIL PROTECTED] writes: : On 16-Sep-2003 M. Warner Losh wrote: : I think we should put a filter for this nonsense into the base : system. Hack the resolve to filter out the adddress, and hack bind

Re: Any workarounds for Verisign .com/.net highjacking?

2003-09-16 Thread John Polstra
On 17-Sep-2003 Michael Edenfield wrote: * John Polstra [EMAIL PROTECTED] [030916 21:27]: True, we could probably do it. I guess we'd have to generate a few random and unlikely queries, try them, and see if all/most of them resolve to the same address. Or maybe the to the same small set

Re: messing with CVS_LOCAL_BRANCH_NUM

2003-08-03 Thread John Polstra
In article [EMAIL PROTECTED], Brian Reichert [EMAIL PROTECTED] wrote: On Sat, Aug 02, 2003 at 03:22:06PM -0700, John Polstra wrote: Yes: look for a different approach, or at least backup your local repository frequently. There are known bugs in CVSup which can cause it to throw away your

Re: messing with CVS_LOCAL_BRANCH_NUM

2003-08-02 Thread John Polstra
feature. John -- John Polstra John D. Polstra Co., Inc.Seattle, Washington USA Two buttocks cannot avoid friction. -- Malawi saying ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman

Re: Raising SIGSEGV in SIGSEGV handler makes FreeBSD loop

2003-02-22 Thread John Polstra
() function as defined by the C Standard. It's in ANSI/IEEE Std 1003.1 section 3.3.1.3. POSIX permits the FreeBSD behavior but does not mandate it. John -- John Polstra John D. Polstra Co., Inc.Seattle, Washington USA Disappointment is a good sign of basic

Re: Changing socket buffer timeout to a u_long?

2002-11-21 Thread John Polstra
and systat needed to be recompiled. I haven't heard about it affecting any ports. John -- John Polstra John D. Polstra Co., Inc.Seattle, Washington USA Disappointment is a good sign of basic intelligence. -- Chögyam Trungpa To Unsubscribe: send mail to [EMAIL

Re: bge problems (was: gigabit NIC of choice?)

2002-09-12 Thread John Polstra
In article [EMAIL PROTECTED], Doug White [EMAIL PROTECTED] wrote: While we're nitpicking: On Wed, 11 Sep 2002, John Polstra wrote: All of the documentation and errata for the BCM570x chips are protected by NDA, just like every other gigabit MAC in current production. Through

Re: bge problems (was: gigabit NIC of choice?)

2002-09-11 Thread John Polstra
. John Polstra put fixes into -stable which will show up in 4.7. I doubt that those fixes will solve Birger's problem, unfortunately. John -- John Polstra John D. Polstra Co., Inc.Seattle, Washington USA Disappointment is a good sign of basic intelligence

Re: bge problems (was: gigabit NIC of choice?)

2002-09-11 Thread John Polstra
to the documentation and errata. John -- John Polstra John D. Polstra Co., Inc.Seattle, Washington USA Disappointment is a good sign of basic intelligence. -- Chögyam Trungpa To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body

Re: bge problems (was: gigabit NIC of choice?)

2002-09-11 Thread John Polstra
In article [EMAIL PROTECTED], Doug Ambrisko [EMAIL PROTECTED] wrote: John Polstra writes: | If you want a gigabit interface that is likely to keep working in | FreeBSD, your only option is to use the Intel chips and the em | driver. It's our only gigabit driver that's maintained by somebody

Re: interrupting target kernel using single sio

2002-09-11 Thread John Polstra
In article [EMAIL PROTECTED], Nate Lawson [EMAIL PROTECTED] wrote: On Mon, 9 Sep 2002, John Polstra wrote: BSD/OS has a little state machine in its sio driver which notices if something looking like a kgdb packet comes in and interrupts the target automatically. It's extremely handy

Re: interrupting target kernel using single sio

2002-09-09 Thread John Polstra
against accidental entry into the debugger. Another nice thing about BSD/OS is that when you exit kgdb, the target OS automatically starts running again. So you can enter and exit the debugger painlessly, as many times as you'd like. John -- John Polstra John D. Polstra Co., Inc

Re: ftp and mail much slower into fbsd 4.4 vs and old BSDi

2002-07-03 Thread John Polstra
before 4.5 was released. There have been recent reports that there are still problems when newreno is enabled. So your best bet is to update at least to 4.5-RELEASE and turn newreno off. John -- John Polstra John D. Polstra Co., Inc.Seattle, Washington USA

Re: bge driver not working in Dell 2650

2002-06-24 Thread John Polstra
+Ethernet+problems%3F%3Flist=159 I grabed the latest -STABLE branch but it still doesn't work for the Dell 2650. Any clues? Just one clue. Saying that something doesn't work without providing any details doesn't make it possible for anybody to help you. John -- John Polstra John D

Re: Re: bge driver issue

2002-06-24 Thread John Polstra
think I'd rather spend the day in a room with a swarm of hornets than with the Dell 2650. When I was working with that machine I wore a pair of industrial-strength ear-protecting headphones, and my ears were still buzzing at the end of the day. John -- John Polstra John D. Polstra Co., Inc

Re: Re: bge driver issue

2002-06-24 Thread John Polstra
ethernet address. If we could ignore promiscuous mode and multicast, we could guess those bytes based on our own Ethernet address ... nah, that's Just Too Evil. :-) John -- John Polstra John D. Polstra Co., Inc.Seattle, Washington USA Disappointment is a good sign

Re: cvsup doesn't get me what I want

2002-06-06 Thread John Polstra
In article [EMAIL PROTECTED], Dan Langille [EMAIL PROTECTED] wrote: On 4 Jun 2002 at 8:37, John Polstra wrote: I'll help you figure this out if you'll send me the following information: Thanks John. The cvsupd server config files for the collection (releases and the list

Re: cvsup doesn't get me what I want

2002-06-04 Thread John Polstra
to ensure that your PATH is really finding the same copies of these programs that your cron job or other mechanism normally executes. John -- John Polstra John D. Polstra Co., Inc.Seattle, Washington USA Disappointment is a good sign of basic intelligence

Re: using cvsup to put the same collection in two places

2002-05-05 Thread John Polstra
where col is the name of the collection (in this case it's fbsd-phpAds). With the above setup I can have only one refuse file. I need two. Simply use different base directories in the two supfiles. John -- John Polstra John D. Polstra Co., Inc.Seattle, Washington

Re: C-struct dismantling tool...

2002-03-21 Thread John Polstra
, which in theory at least would provide information about #defines. For well-behaved structs, it's possible that rpcgen could be hacked up to do what you want. John -- John Polstra John D. Polstra Co., Inc.Seattle, Washington USA Disappointment is a good sign of basic

Re: in-kernel HTTP Server for FreeBSD?

2002-02-17 Thread John Polstra
for certain specialized applications. One obvious example is as part of a testbed for performance testing various kinds of network appliances. John -- John Polstra John D. Polstra Co., Inc.Seattle, Washington USA Disappointment is a good sign of basic intelligence

Re: A question about timecounters

2002-02-05 Thread John Polstra
, or an splhigh. And, maybe, splstatclock. I'm talking about -stable here, which is where I'm doing my experiments. John -- John Polstra John D. Polstra Co., Inc.Seattle, Washington USA Disappointment is a good sign of basic intelligence. -- Chögyam Trungpa

Re: A question about timecounters

2002-02-05 Thread John Polstra
In article [EMAIL PROTECTED], Poul-Henning Kamp [EMAIL PROTECTED] wrote: In message [EMAIL PROTECTED], John Polstra writes: That's the global variable named timecounter, right? I did notice one potential problem: that variable is not declared volatile. So in this part ... This may

Re: A question about timecounters

2002-02-05 Thread John Polstra
In article [EMAIL PROTECTED], Poul-Henning Kamp [EMAIL PROTECTED] wrote: In message [EMAIL PROTECTED], John Polstra writes: In article [EMAIL PROTECTED], John Baldwin [EMAIL PROTECTED] wrote: like, If X is never locked out for longer than Y, this problem cannot happen. I'm looking

Re: A question about timecounters

2002-02-05 Thread John Polstra
In article [EMAIL PROTECTED], Poul-Henning Kamp [EMAIL PROTECTED] wrote: In message [EMAIL PROTECTED], John Polstra writes: Agreed. But in the cases I'm worrying about right now, the timecounter is the TSC. Now, *that* is very interesting, how reproducible is it ? I can reproduce

Re: A question about timecounters

2002-02-05 Thread John Polstra
In article [EMAIL PROTECTED], Poul-Henning Kamp [EMAIL PROTECTED] wrote: In message [EMAIL PROTECTED], John Polstra writes: 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

Re: A question about timecounters

2002-02-05 Thread John Polstra
In article [EMAIL PROTECTED], John Polstra [EMAIL PROTECTED] wrote: In article [EMAIL PROTECTED], Poul-Henning Kamp [EMAIL PROTECTED] wrote: In message [EMAIL PROTECTED], John Polstra writes: Can you try to MFC rev 1.111 and see if that changes anything ? That produced some

Re: A question about timecounters

2002-02-05 Thread John Polstra
In article [EMAIL PROTECTED], Poul-Henning Kamp [EMAIL PROTECTED] wrote: In message [EMAIL PROTECTED], John Polstra writes: In article [EMAIL PROTECTED], John Polstra [EMAIL PROTECTED] wrote: Another interesting thing is that the jumps are always 7.7x seconds back -- usually 7.79 seconds

Re: A question about timecounters

2002-02-05 Thread John Polstra
In article [EMAIL PROTECTED], Poul-Henning Kamp [EMAIL PROTECTED] wrote: Sanity-check: this is NOT a multi-CPU system, right ? Right. These are all single-CPU systems with non-SMP -stable kernels. John -- John Polstra John D. Polstra Co., Inc.Seattle

Re: A question about timecounters

2002-02-05 Thread John Polstra
In article [EMAIL PROTECTED], Poul-Henning Kamp [EMAIL PROTECTED] wrote: In message [EMAIL PROTECTED], John Polstra writes: Yes, I think you're onto something now. It's a 550 MHz. machine, so the TSC increments every 1.82 nsec. And 1.82 nsec * 2^32 is 7.81 seconds. :-) In that case I'm

Re: A question about timecounters

2002-02-05 Thread John Polstra
NTIMECOUNTER right now, but 5 would be awfully short time at HZ=1: 500 usec... Well, microseconds aren't what they used to be ... :-) But isn't it true that the current timecounter only advances every second? I think I have 5 seconds, not 5/HZ seconds. John -- John Polstra John D. Polstra Co

Re: A question about timecounters

2002-02-05 Thread John Polstra
In article [EMAIL PROTECTED], Poul-Henning Kamp [EMAIL PROTECTED] wrote: In message [EMAIL PROTECTED], John Polstra writes: I don't follow that. As I read the code, the current timecounter is only advanced every second -- not every 1/HZ seconds. Why should more of them be needed when HZ

Re: A question about timecounters

2002-02-05 Thread John Polstra
In article [EMAIL PROTECTED], Poul-Henning Kamp [EMAIL PROTECTED] wrote: In message [EMAIL PROTECTED], John Polstra writes: Could you try this combination: NTIMECOUNTER = HZ (or even 5 * HZ) tco_method = 0 no splhigh protection for microuptime() ? After 25 minutes

Re: A question about timecounters

2002-02-05 Thread John Polstra
think it's more than that) full web sessions per second. Also, you can dial in any rate you want, and it will generate that rate very precisely. Lots of fun! John -- John Polstra John D. Polstra Co., Inc.Seattle, Washington USA Disappointment is a good sign

Re: A question about timecounters

2002-02-05 Thread John Polstra
to volatile struct is like this: struct timecounter volatile *timecounter; /* Timecounter is a pointer to a volatile struct timecounter. */ John -- John Polstra John D. Polstra Co., Inc.Seattle, Washington USA Disappointment is a good sign of basic intelligence

Re: [patch] using ldd on shared libraries

2002-02-05 Thread John Polstra
replied to your earlier posting yet. I haven't really had time to give it much thought yet. John -- John Polstra John D. Polstra Co., Inc.Seattle, Washington USA Disappointment is a good sign of basic intelligence. -- Chögyam Trungpa To Unsubscribe: send mail

A question about timecounters

2002-02-04 Thread John Polstra
I'm trying to understand the timecounter code, and in particular the reason for the microuptime went backwards messages which I see on just about every machine I have, whether running -stable or -current. This problem is usually attributed to too much interrupt latency. My question is, how much

Re: A question about timecounters

2002-02-04 Thread John Polstra
In article [EMAIL PROTECTED], Dominic Marks [EMAIL PROTECTED] wrote: On Mon, Feb 04, 2002 at 01:21:25PM -0800, John Polstra wrote: I'm trying to understand the timecounter code, and in particular the reason for the microuptime went backwards messages which I see on just about every

Re: A question about timecounters

2002-02-04 Thread John Polstra
catch this. You can rule this out by using getmicroptime() rather than microuptime(); it may return the same value twice, which isn't desirable, but that would be better than nothing. Hope this helps a bit. Yep, thanks again. John -- John Polstra John D. Polstra Co., Inc

Re: problem w/ dlopen(); bug or feature?

2002-02-01 Thread John Polstra
the only data structure. Each shared object is also inserted into a doubly-linked tree structure (actually a DAG) which represents the hierarchical relationships between the shared objects. That's done using the dldags and dlmembers members of the Obj_Entry structure. John -- John Polstra John D

Re: Broadcom 5701 (3com 3c996B-T) phy support in 4.5?

2002-01-30 Thread John Polstra
-- John Polstra John D. Polstra Co., Inc.Seattle, Washington USA Disappointment is a good sign of basic intelligence. -- Chögyam Trungpa To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message

Re: Broadcom 5701 (3com 3c996B-T) phy support in 4.5?

2002-01-30 Thread John Polstra
driver. Where can you get the Linux driver from? I believe it's in the standard Linux kernel. Just grab the latest one from kernel.org. John -- John Polstra John D. Polstra Co., Inc.Seattle, Washington USA Disappointment is a good sign of basic intelligence

Re: Broadcom 5701 (3com 3c996B-T) phy support in 4.5?

2002-01-30 Thread John Polstra
understanding and eliminating those gigabit link up messages. John -- John Polstra John D. Polstra Co., Inc.Seattle, Washington USA Disappointment is a good sign of basic intelligence. -- Chögyam Trungpa To Unsubscribe: send mail to [EMAIL PROTECTED

Re: dynamic linking: want to play with fire

2002-01-26 Thread John Polstra
In article [EMAIL PROTECTED], E.B. Dreger [EMAIL PROTECTED] wrote: I'd like to load an executable, .so, or .o, and _manually_ handle the symbol fixups. I looked at dlfcn.c, but found next to nothing there. Next stop: kernel source? Look in src/libexec/rtld-elf. John -- John Polstra

Re: detecting linux emulation in rtld.c?

2001-12-10 Thread John Polstra
programs use the Linux dynamic linker, not ours. John -- John Polstra John D. Polstra Co., Inc.Seattle, Washington USA Disappointment is a good sign of basic intelligence. -- Chögyam Trungpa To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers

Re: Can TCP changes be put in RELENG_4?

2001-12-05 Thread John Polstra
see much justification for putting them into the security branch. -Matt Yep, I agree 100%. The purpose of the security branch was spelled out clearly from day one. People who want something else can move to -stable. John -- John Polstra

Re: Intel gigabit driver

2001-11-30 Thread John Polstra
In article [EMAIL PROTECTED], Andre Oppermann [EMAIL PROTECTED] wrote: John Polstra wrote: That last bit is incorrect. The Intel driver for Linux is released under a 3-clause BSD license. I doesn't look like a clean BSD license thought... But it's also not under the GPL

Re: Intel gigabit driver

2001-11-30 Thread John Polstra
In article [EMAIL PROTECTED], Andre Oppermann [EMAIL PROTECTED] wrote: John Polstra wrote: Maybe you have an old version of the driver. I have e1000-3.1.23.tar.gz, which I grabbed from developer.intel.com a few weeks ago. I grepped all of the files in it, and the word GNU doesn't

Re: Intel gigabit driver

2001-11-29 Thread John Polstra
-- John Polstra John D. Polstra Co., Inc.Seattle, Washington USA Disappointment is a good sign of basic intelligence. -- Chögyam Trungpa To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message

Netgraph performance

2001-11-29 Thread John Polstra
-- John Polstra John D. Polstra Co., Inc.Seattle, Washington USA Disappointment is a good sign of basic intelligence. -- Chögyam Trungpa To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message

Re: distinguising read faults and write faults

2001-09-26 Thread John Polstra
. It could still be backward compatible; an application which didn't install a SIGFAULT handler would get EFAULT returns in the traditional way. One Of These Days I'm going to add this to FreeBSD. John -- John Polstra [EMAIL PROTECTED] John D. Polstra Co

Re: cvsup14 (cvsup.above.net) not up to date

2001-09-13 Thread John Polstra
of CVSup. If they are still out of date, could you please drop a note to the maintainer? All maintainers are listed in the handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html#CVSUP-MIRRORS In the case of cvsup14, the address is [EMAIL PROTECTED]. Thanks, John -- John

Re: local changes to CVS tree

2001-09-05 Thread John Polstra
repositories instead, or use perforce. John -- John Polstra [EMAIL PROTECTED] John D. Polstra Co., Inc.Seattle, Washington USA Disappointment is a good sign of basic intelligence. -- Chögyam Trungpa To Unsubscribe

Re: local changes to CVS tree

2001-09-05 Thread John Polstra
if the economy gets worse ... John -- John Polstra [EMAIL PROTECTED] John D. Polstra Co., Inc.Seattle, Washington USA Disappointment is a good sign of basic intelligence. -- Chögyam Trungpa To Unsubscribe: send mail to [EMAIL

Re: local changes to CVS tree

2001-09-05 Thread John Polstra
In article [EMAIL PROTECTED], Nate Williams [EMAIL PROTECTED] wrote: So, you're saying that the person would choose the branch (which may be RELENG_4 *OR* HEAD). Yep. For instance, a company might have a product that's based on RELENG_4, but with some local mods. So FreeBSD-4.x is in effect

Re: local changes to CVS tree

2001-09-05 Thread John Polstra
In article [EMAIL PROTECTED], Terry Lambert [EMAIL PROTECTED] wrote: John Polstra wrote: I have had this on my to-do list for a long time, but I have no idea if or when it'll ever get implemented. It would require a focused period of working on it that I just don't have these days

Re: Routing Performance?

2001-09-02 Thread John Polstra
in the IP forwarding path of the kernel, so the higher bandwidth of RAMBUS would not provide much benefit. I suppose it would speed up the DMA transfers between the NICs and RAM. But I still bet overall performance wouldn't be improved by the use of RAMBUS memory. John -- John Polstra

Re: Routing Performance?

2001-09-02 Thread John Polstra
Correcting myself ... In article [EMAIL PROTECTED], John Polstra [EMAIL PROTECTED] wrote: There is very little bulk copying in the IP forwarding path of the kernel, so the higher bandwidth of RAMBUS would not provide much benefit. I suppose it would speed up the DMA transfers between

Re: gzipped crashdumps

2001-09-01 Thread John Polstra
that be overkill? I'm more or less neutral on that, but since the files are so big I bet bzip2 would be almost too slow to bear at reboot time. John -- John Polstra [EMAIL PROTECTED] John D. Polstra Co., Inc.Seattle

PLEASE REVIEW: loader fix for gzipped kernels

2001-08-29 Thread John Polstra
on the gzipped data stream. The bug is present in both -current and -stable. This patch is relative to -stable, but it applies cleanly to -current too. John -- John Polstra [EMAIL PROTECTED] John D. Polstra Co., Inc

Re: PLEASE REVIEW: loader fix for gzipped kernels

2001-08-29 Thread John Polstra
In article [EMAIL PROTECTED], John Baldwin [EMAIL PROTECTED] wrote: Looks good to me, but I'm only somewhat familiar with libstand. :) Thanks for taking a look at it. Matt Dillon also reviewed it and gave it a clean bill of health. He made a suggestion for making the code a bit smaller.

Re: PLEASE REVIEW: loader fix for gzipped kernels

2001-08-29 Thread John Polstra
and full-size kernels, in -current and -stable on the i386 and in -slightlystale on the Alpha. John -- John Polstra [EMAIL PROTECTED] John D. Polstra Co., Inc.Seattle, Washington USA Disappointment is a good sign of basic

Re: cvsup ports always failed

2001-08-27 Thread John Polstra
this problem. John -- John Polstra [EMAIL PROTECTED] John D. Polstra Co., Inc.Seattle, Washington USA Disappointment is a good sign of basic intelligence. -- Chögyam Trungpa To Unsubscribe: send mail to [EMAIL PROTECTED

Re: Kernel level inet socket handling

2001-08-23 Thread John Polstra
In article [EMAIL PROTECTED], Julian Elischer [EMAIL PROTECTED] wrote: The netgraph 'accept' handling IS implemented by someone.. I can find it and add it if needed.. I've got that all fixed, and will commit it as soon as I can -- within the next couple of weeks. John -- John Polstra

Re: Kernel level inet socket handling

2001-08-23 Thread John Polstra
In article [EMAIL PROTECTED], Julian Elischer [EMAIL PROTECTED] wrote: [concerning my fixes for ng_ksocket nodes to handle TCP operations] If you send me the files I can diff them and commit them. (of course you are welcome to do it yourself at your own pace if you wish) Hmm, I just might

Re: ld -X == important or not?

2001-08-21 Thread John Polstra
because I'm porting something to Solaris and it seems rather odd that the solaris ld doesn't have this option. It's not important. It just makes the output file smaller. I wouldn't be surprised if the Solaris linker did this by default. John -- John Polstra

Re: pthreads and poll()

2001-08-14 Thread John Polstra
In article [EMAIL PROTECTED], Jonathan Chen [EMAIL PROTECTED] wrote: Incidentally, I'm still curious, what does the POSIX spec say all this? As far as I know, poll is not described by any POSIX standards. John -- John Polstra [EMAIL PROTECTED

Re: Page Coloring

2001-08-05 Thread John Polstra
, initial %eax == 2? It returns cache size, associativity, and line size for both the L1 and L2 caches. As far as I can tell, it works for the Pentium Pro and subsequent processors. John -- John Polstra [EMAIL PROTECTED] John D. Polstra Co., Inc

Re: Page Coloring

2001-08-05 Thread John Polstra
across the entire range of chips our OS currently runs on. Yes, I understand that. I'm just trying to find out why Mike keeps saying we cannot determine the processor cache characteristics at runtime. John -- John Polstra [EMAIL PROTECTED] John D

Re: Page Coloring

2001-08-05 Thread John Polstra
to vary wildly. Mike said just the opposite. Since that was not the point I addressed, I'll let the two of you debate it out. John -- John Polstra [EMAIL PROTECTED] John D. Polstra Co., Inc.Seattle, Washington USA

Re: Why objcopy --strip-debug instead of strip?

2001-07-30 Thread John Polstra
In article [EMAIL PROTECTED], Sheldon Hearn [EMAIL PROTECTED] wrote: On Sun, 29 Jul 2001 14:26:41 MST, John Polstra wrote: I don't understand what this has to do with how the kernel is stripped. The current modules build attached to buildkernel doesn't generate modules with debugging

Re: Why objcopy --strip-debug instead of strip?

2001-07-29 Thread John Polstra
with debugging support compiled in (assuming debugging support was requested for the kernel), and strip them at install time (install -s)? I don't understand what this has to do with how the kernel is stripped. John -- John Polstra [EMAIL PROTECTED] John D

Re: dual booting -stable -current

2001-07-21 Thread John Polstra
2 In each case the other system's root filesystem is mounted as /stable or /current so you can tweak one system from the other. This is particularly handy on the Alpha, where -current periodically falls on its spear and makes a bloody mess. John -- John Polstra

Re: ELF p_offset p_vaddr

2001-06-08 Thread John Polstra
CONTENTS, READONLY John -- John Polstra [EMAIL PROTECTED] John D. Polstra Co., Inc.Seattle, Washington USA Disappointment is a good sign of basic intelligence. -- Chögyam Trungpa To Unsubscribe: send mail

Re: MFC'ing new md(4) functionality?

2001-06-05 Thread John Polstra
to error. The proper way is to ``cvs add'' them in a directory checked out on the branch. I agree, that's the proper way to do it. The net effect is the same: it adds the RELENG_4 tag to the files. John -- John Polstra [EMAIL PROTECTED] John D

Re: cvsup.freebsd.org I/O error

2001-05-28 Thread John Polstra
failed: Read failure from /usr/sup/ports-all/checkouts.cvs: Input/output error This is an I/O error happening on your own system when cvsup is trying to read the file mentioned in the message. John -- John Polstra [EMAIL PROTECTED] John D

Re: ddb - gdb help?

2001-03-29 Thread John Polstra
In article [EMAIL PROTECTED], Alfred Perlstein [EMAIL PROTECTED] wrote: I can't seem to get a crashdump, is there a way to take a ddb crash address: "Stopped at lf_setlock+0x52" and boot later and see what line of code that's on? Assuming you have a corresponding kernel with debugging

Re: SCSI-over-* hacks

2001-03-22 Thread John Polstra
be GREAT for cd recording on IDE CD-RW (one will be able to use cdrdao and cdrecord instead of burncd) Yes! It would definitely be nice if cdrecord worked with ATAPI CD-RW drives on FreeBSD. John, who just bought an ATAPI CD-RW drive -- John Polstra

Re: exit() does not do dlclose()?

2001-02-04 Thread John Polstra
-contained test case that shows a bug in this, I'll be happy to take a look at it. John -- John Polstra [EMAIL PROTECTED] John D. Polstra Co., Inc.Seattle, Washington USA "Disappointment is a good sign of bas

Re: CVSup7.FreeBSD.org is back in service

2001-02-02 Thread John Polstra
a very nice setup which uses SNMP to query the number of active CVSup clients on each mirror. They don't do automatic load balancing with it currently, but they make some nice graphs available on the web for people to use. (Sorry, I don't remember the URL.) John -- John Polstra

CVSup7.FreeBSD.org is back in service

2001-01-31 Thread John Polstra
Just a note to let you know that cvsup7.freebsd.org is back in service. John -- John Polstra [EMAIL PROTECTED] John D. Polstra Co., Inc.Seattle, Washington USA "Disappointment is a good sign of basic intelli

cvsup7.freebsd.org downtime for upgrades

2001-01-16 Thread John Polstra
CVSup7.FreeBSD.org will be down for at least a few hours this afternoon (Pacific time) so that we can perform a hardware upgrade. It may be down again later in the week as we rearrange things on the disks and bring the OS up to date. Thanks in advance for your patience. John -- John Polstra

Re: cvsup7.freebsd.org downtime for upgrades

2001-01-16 Thread John Polstra
In article [EMAIL PROTECTED], John Polstra [EMAIL PROTECTED] wrote: CVSup7.FreeBSD.org will be down for at least a few hours this afternoon (Pacific time) so that we can perform a hardware upgrade. It may be down again later in the week as we rearrange things on the disks and bring the OS up

Re: Process virtual memory question

2001-01-11 Thread John Polstra
-time relocations on them. In any case, all ELF-based systems on the x86 architecture seem to use this same address. On other architecutures such as the Alpha it is entirely different, of course. John -- John Polstra [EMAIL PROTECTED] John D

Re: Process virtual memory question

2001-01-11 Thread John Polstra
were mapped between 0x800 and 0x8048000. But that is just a guess. Most modern libcs wouldn't fit in that amount of space these days. John -- John Polstra [EMAIL PROTECTED] John D. Polstra Co., Inc.Seattle, Washington U

KVM switch vs. FreeBSD psm driver

2001-01-06 Thread John Polstra
s manual it says you should make sure your driver is "either for a Standard PS/2 or Microsoft-compatible PS/2" mouse." I don't care about wheels, and I'm even willing to get by with only 2 buttons. I don't mind hacking up the psm driver if necessary. I just want th

Re: KVM switch vs. FreeBSD psm driver

2001-01-06 Thread John Polstra
In article [EMAIL PROTECTED], jack [EMAIL PROTECTED] wrote: I have a Brand X KVM which also claims Intellimouse support. I've found that if the switch is set to a machine when that machine boots all is well, if I boot a machine with a different one active on the KVM when I go to the one

Re: KVM switch vs. FreeBSD psm driver (Solved!)

2001-01-06 Thread John Polstra
In article [EMAIL PROTECTED], John Polstra [EMAIL PROTECTED] wrote: I've got a Belkin OmniView Pro 8-Port KVM switch which thinks it's much smarter than it really is. When I try to use the mouse through it with FreeBSD (-current from around Christmas, but I also had problems with -stable

Re: ld-elf.so.1: assert failed: /usr/src/libexec/rtld-elf/rtld.c:2033

2001-01-04 Thread John Polstra
In article [EMAIL PROTECTED], Russell L. Carter [EMAIL PROTECTED] wrote: Bingo! Thanks guys! Not so fast there, fella. You're not getting off that easily. ;-) Could you please try the patch below? It is like the patch that Paul sent, except it should handle error conditions better. This

Re: ld-elf.so.1: assert failed: /usr/src/libexec/rtld-elf/rtld.c:2033

2001-01-04 Thread John Polstra
, and works just as well as the first patch, i.e., my program works as expected. Thanks, Russell! I'll commit it to -current and MFC in a few days. John -- John Polstra [EMAIL PROTECTED] John D. Polstra Co., Inc.Seattle

Re: ld-elf.so.1: assert failed: /usr/src/libexec/rtld-elf/rtld.c:2033

2000-12-29 Thread John Polstra
madness has subsided. If you haven't heard from me by Saturday Jan. 6, I'd appreciate a gentle reminder to [EMAIL PROTECTED]. John -- John Polstra [EMAIL PROTECTED] John D. Polstra Co., Inc.Seattle, Washington USA

  1   2   3   >