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 co

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: 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. F

Re: in-kernel tcp server

2007-06-20 Thread John Polstra
ocketvar.h (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 netgr

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 exac

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 discusse

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

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 resolv

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 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 >> f.root-

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 whic

Re: messing with CVS_LOCAL_BRANCH_NUM

2003-08-02 Thread John Polstra
se issues any time soon. So my advice is, don't use the CVS_LOCAL_BRANCH_NUM feature. John -- John Polstra John D. Polstra & Co., Inc.Seattle, Washington USA "Two buttocks cannot avoid friction." -- Malawi saying

Re: gcc iussue or ... ?

2003-04-12 Thread John Polstra
ut making them common. That last paragraph suggests that maybe FreeBSD's compiler is configured slightly wrong, such that it does not do what the paragraph says. In any case, try adding this option to your compiles on FreeBSD and see i

Re: Raising SIGSEGV in SIGSEGV handler makes FreeBSD loop

2003-02-22 Thread John Polstra
that was not generated by the kill() function, the sigqueue() function, or the raise() 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.

Re: Changing socket buffer timeout to a u_long?

2002-11-21 Thread John Polstra
n issue. In -current only netstat 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." -- C

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 ot

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 &g

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 ou

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

2002-09-11 Thread John Polstra
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 who has unrestricted access to the documentation and errata. John -- John Polstra John D. Polstra & Co., Inc.

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

2002-09-11 Thread John Polstra
> Yes, the bge driver in 4.6 is broken. 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

Re: interrupting target kernel using single sio

2002-09-09 Thread John Polstra
e had this feature too. It should obviously be under the control of a sysctl to protect 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 man

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

2002-07-03 Thread John Polstra
them -- I believe 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.S

Re: Re: bge driver issue

2002-06-24 Thread John Polstra
try the new driver to confirm that it really solves the problem? 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 P

Re: Re: bge driver issue

2002-06-24 Thread John Polstra
of the packet, i.e., the first two bytes of the destination 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.

Re: Re: bge driver issue

2002-06-24 Thread John Polstra
ther experiments I need done currently. I agree with you about the noise. I 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 st

Re: bge driver not working in Dell 2650

2002-06-24 Thread John Polstra
hread.php3?subject=Broadcom+BCM5701+GigE+Ethernet+problems%3F%3F&list=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 m

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. > > > > > Th

Re: cvsup doesn't get me what I want

2002-06-04 Thread John Polstra
line used to invoke cvsup on the client machine. The output of find /usr/websites/freshports/sup -name 'refuse*' on the client machine. The output of "cvsup -v" on the client and "cvsupd -v" on the server. Please be careful to ensure th

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

2002-05-05 Thread John Polstra
rve fbsd-phpAds > > Normally a refuse file would go into /home/freebsddiary/sup/ 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&

Re: C-struct dismantling tool...

2002-03-21 Thread John Polstra
eemed promising. Even better might be to use -gdwarf -g3, 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.

Re: in-kernel HTTP Server for FreeBSD?

2002-02-17 Thread John Polstra
as a dumb idea: broaden your minds. It's extremely useful 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, Washi

Re: [patch] using ldd on shared libraries

2002-02-05 Thread John Polstra
ainer of the dynamic linker. :-) Sorry I haven't 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 bas

Re: A question about timecounters

2002-02-05 Thread John Polstra
ot;which is" in that last one is just because C lets you get sloppy with the ordering of the outermost keywords. The pedantically correct way to declare a pointer to volatile struct is like this: struct timecounter volatile *timecounter; /* "Timecounter is a pointer to a volatile

Re: A question about timecounters

2002-02-05 Thread John Polstra
and the other acting as the server) it can generate around 5 (actually I 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.

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 prot

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 ev

Re: A question about timecounters

2002-02-05 Thread John Polstra
y second -- not every 1/HZ seconds. Why should more of them be needed when HZ is large? > You didn't say if you ran with standard 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

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

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.

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 interestin

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

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 v

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 ve

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: > >> > >> &g

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 variab

Re: A question about timecounters

2002-02-05 Thread John Polstra
layed by much. The only thing that can block hardclock is another hardclock, an splclock, 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.

Re: A question about timecounters

2002-02-04 Thread John Polstra
t updates > the timecounter proper. If you save the delta value in the timecounter > and zero it when it's updated, you can catch this. > > You can rule this out by using getmicroptime() rather than > microuptime(); it may return the same value twice, which isn't >

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&qu

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: problem w/ dlopen(); bug or feature?

2002-02-01 Thread John Polstra
relationships between the shared objects. That's done using the "dldags" and "dlmembers" members of the Obj_Entry structure. 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 of the message

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

2002-01-30 Thread John Polstra
ing properly with the 5701, including 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 Trung

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

2002-01-30 Thread John Polstra
Well, it seems to work OK with the Linux 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, Washingt

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

2002-01-30 Thread John Polstra
some 5701 revs'; and forces master > mode in some revs, to avoid a CRC bug. Caveat emptor.) Yes, there are quite a few mysterious workarounds in that driver. John -- John Polstra John D. Polstra & Co., Inc.Seattle, Washington USA "Disappointment is a

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/l

Re: detecting linux emulation in rtld.c?

2001-12-10 Thread John Polstra
obably native. Linux 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

Re: Can TCP changes be put in RELENG_4?

2001-12-05 Thread John Polstra
ithout an outcry so I don't > 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 ca

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 t

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..

Netgraph performance

2001-11-29 Thread John Polstra
her alternative I've found. 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 of the message

Re: Intel gigabit driver

2001-11-29 Thread John Polstra
BSD license. 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 of the message

Re: sin_zero & bind problems

2001-10-13 Thread John Polstra
structure is valid, including sin_zero. *Grumble* I wish they had never put the sin_zero member in there in the first place. John -- John Polstra John D. Polstra & Co., Inc.Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- C

Re: distinguising read faults and write faults

2001-09-26 Thread John Polstra
d be possible to add a new signal SIGFAULT which could be caught to handle this case. Then the wrappers wouldn't be needed. 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 Thes

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

2001-09-13 Thread John Polstra
IL PROTECTED]>. Thanks, 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: se

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 work

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 e

Re: local changes to CVS tree

2001-09-05 Thread John Polstra
lemented. It would require a focused period of working on it that I just don't have these days. Maybe if the economy gets worse ... John -- John Polstra [EMAIL PROTECTED] John D. Polstra & Co., Inc.Seattle, Washingto

Re: local changes to CVS tree

2001-09-05 Thread John Polstra
n't want to use multiple vendor branches -- trust me. :-) Use two repositories instead, or use perforce. John -- John Polstra [EMAIL PROTECTED] John D. Polstra & Co., Inc.Seattle, Washington USA "Disappointme

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

Re: Routing Performance?

2001-09-02 Thread John Polstra
r. 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 the NICs and RAM. But I still bet overall performance wouldn't be improved by the use of RAMBU

Re: gzipped crashdumps

2001-09-01 Thread John Polstra
that's in > the base system, or would 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. Polstr

Re: PLEASE REVIEW: loader fix for gzipped kernels

2001-08-29 Thread John Polstra
r. I tested it with both gzipped 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 US

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 smalle

PLEASE REVIEW: loader fix for gzipped kernels

2001-08-29 Thread John Polstra
y avoiding a reverse seek 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

Re: cvsup ports always failed

2001-08-27 Thread John Polstra
estion there which directly addresses 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 Trun

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 mi

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 ne

Re: ld -X <== important or not?

2001-08-21 Thread John Polstra
> with `L'. > > I ask 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

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

Re: Page Coloring

2001-08-05 Thread John Polstra
reap any additional benefit from knowing. Opinions on that seem 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. Pols

Re: Page Coloring

2001-08-05 Thread John Polstra
. As far as I can tell, it works > :for the Pentium Pro and subsequent processors. > : > :John > :-- > : John Polstra [EMAIL PROTECTED] > > Well, first of all the page coloring is not pointless with the > size

Re: Page Coloring

2001-08-05 Thread John Polstra
s at least on the i386 with the CPUID instruction, 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

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

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

2001-07-29 Thread John Polstra
is why it's worth going to all this trouble. > > Why not simply build all the modules with debugging support compiled in > (assuming debugging support was requested for the kernel), and strip > them at install time (install -s)? I don

Re: dual booting -stable & -current

2001-07-21 Thread John Polstra
rw 2 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 --

Re: ELF p_offset & p_vaddr

2001-06-08 Thread John Polstra
ADONLY 20 .note 0050 000015c4 2**0 CONTENTS, READONLY John -- John Polstra [EMAIL PROTECTED] John D. Polstra & Co., Inc.Seattle, Washington USA "

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

2001-06-05 Thread John Polstra
y doing things that hackish way. But it can be prone 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 --

Re: cvsup.freebsd.org I/O error

2001-05-28 Thread John Polstra
pkg-descr,v > SetAttrs ports/emulators/sim6811/pkg-plist,v > TreeList 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 -

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 debuggin

Re: SCSI-over-* hacks

2001-03-22 Thread John Polstra
devices; > > > > Yes. It's not a lot of work. > > that would 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 Fre

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

2001-02-05 Thread John Polstra
gt; code-in-progress. No, I wish I had time for that, but I don't. Another option for you would be to build src/libexec/rtld-elf with -g and try to debug it yourself using gdb. John -- John Polstra [EMAIL PROTECTED] John D. Polstra & Co.,

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

2001-02-04 Thread John Polstra
list, since we are exiting. */ } If you can come up with a reasonably self-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.

Re: CVSup7.FreeBSD.org is back in service

2001-02-02 Thread John Polstra
t implemented by other means. The folks who run the mirrors in Japan have 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

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 int

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

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: Process virtual memory question

2001-01-11 Thread John Polstra
and the dynamic linker (all together in one shared library) 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]

Re: Process virtual memory question

2001-01-11 Thread John Polstra
0, thereby avoiding the need to do any run-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

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 Christm

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

  1   2   3   >