Re: poor ethernet performance?

1999-07-19 Thread Reinier Bezuidenhout
Hi ... We have previously done many network performance tests for our products running on FreeBSD ... We have found that when ever there is disk accessing involved, it is not a good idea to look at the transfer figures. We did tests with ftp and is was slow (compared to only memory generated d

Re: poor ethernet performance?

1999-07-19 Thread Reinier Bezuidenhout
Hi .. > > 1. If you want to test the network speed ... use ttcp or something > >that generates the data and doesn't read it from disk. > > ttcp works. The only problem is when I tried it in both > directions, at once. the total becomes 11.xMbytes/sec total as opposed to > 9.4Mbytes/se

if_dl.h in stable causes sendmail segmentation

1999-07-20 Thread Reinier Bezuidenhout
Hi ... I have the following situation... A machine running a 3.2-STABLE of a few weeks ago ... When the machine booted I saw that newaliases (sendmail -bi) exited with a segmentation fault. I further inspected and found that if I do a ifconfig of a interface (fxp0 or de0) newaliases is ok, but

Re: if_dl.h in stable causes sendmail segmentation

1999-07-21 Thread Reinier Bezuidenhout
Hi ... > In article <199907201542.raa02...@oskar.nanoteq.co.za>, > Reinier Bezuidenhout wrote: > > > I have the following situation... > ... [various userland SEGVs traced down to a change in if_dl.h] The sendmail that SEGV was compiled with the kernel that causes the

newaliases and 256 tun devices

1999-07-28 Thread Reinier Bezuidenhout
Hi ... I previously mailed the same error ... and then I thought it was a "miss-corrolation" between kernel sources and userland. Since then I built a SNAP of 990726 sources and tried the same thing and the error occured again . Same sources used for the compile of the kernel and userlevel bin

if.c and ifconf() possible error ?

1999-07-29 Thread Reinier Bezuidenhout
Hi ... When a program calls the SIOCGIFCONF ioctl and the function ifconf in sys/net/if.c is executed, the value that is returned in ifc.ifc_len, is that the value of the amount of data filled in ... or can it be larger ?? Example ... The calling process sends 1000 as the size of the buffer. i

Endless loop in libpcap 2.2.x/3.x/-current

1999-09-10 Thread Reinier Bezuidenhout
Hi ... We are running a system where we use the libpcap to capture packets from an ethernet device. We've been observing a problem where the monitor program goes into an endless loop and spins for ever. I've compiled the program with debugging on and observed that the call-back function is calle

Boot messages on console in 3.2

1999-07-13 Thread Reinier Bezuidenhout
Hi ... I'm trying to get a 3.2-STABLE to boot via the serial console. I can get the "boot: " rompt and loader to display to the serial console, but after the 9 second delay it continues to boot but no output is generated to the screen (device probes etc.). After the boot has completed, the login

Re: Which device should I make with this error?

1999-07-14 Thread Reinier Bezuidenhout
Hi :) put the following line in your kernel config file .. recompile your kernel .. boot .. and then try the make again ... pseudo-device vn1 to create the floppy ... a vertual node is used .. hope this helps ... Reinier > During a make release for 3.2-RELEASE I get the following err

NATD errors on 5.0

2000-07-05 Thread Reinier Bezuidenhout
Hi ... I've started natd on my local machine to translate all packets to the ip of my public interface. If I am on my machine, and I start natd and add the divert rule, (this means I'm trying to connect from my local machine on which I am running the natd to any other machine) I can see the pack

RE: vmware changes result in nasty bridging mess

2000-08-03 Thread Reinier Bezuidenhout
I'm using vmware2 in a different way ... I do not have bridging enabled in the kernel. I'm using the host method although I do not have a "legal" subnet on the other side. I've ment to contact the port maintainer so he can add this to the Hints.FreeBSD file. I've configured 10.1.1.1 for the vmn

RE: Time to close the list?

2000-11-02 Thread Reinier Bezuidenhout
Seems more like someone is trying to crash the mail server by with these loopedy mail and replies from the virus programs ... :( On 02-Nov-00 Greg Black wrote: > Maybe it's time to close the list so that it only accepts > messages from subscribers. The spam was bad enough, but the > virus warni

Patches for linprocfs and linux emulation - fix 'ls /proc' bug and ipc's

2002-05-17 Thread Reinier Bezuidenhout
Hi all I have an application that uses the linux procfs extensively and also linux ipcs.  I found two problems in the current linux emulation.  (I hope the diff provided below will work as is since my mailing program is a bit limited :)  ) 1) linux_ipc.c has a pice of code commented that we can act

Boot messages on console in 3.2

1999-07-13 Thread Reinier Bezuidenhout
Hi ... I'm trying to get a 3.2-STABLE to boot via the serial console. I can get the "boot: " rompt and loader to display to the serial console, but after the 9 second delay it continues to boot but no output is generated to the screen (device probes etc.). After the boot has completed, the logi

Re: Which device should I make with this error?

1999-07-14 Thread Reinier Bezuidenhout
Hi :) put the following line in your kernel config file .. recompile your kernel .. boot .. and then try the make again ... pseudo-device vn1 to create the floppy ... a vertual node is used .. hope this helps ... Reinier > During a make release for 3.2-RELEASE I get the following er

Re: poor ethernet performance?

1999-07-19 Thread Reinier Bezuidenhout
Hi ... We have previously done many network performance tests for our products running on FreeBSD ... We have found that when ever there is disk accessing involved, it is not a good idea to look at the transfer figures. We did tests with ftp and is was slow (compared to only memory generated

Re: poor ethernet performance?

1999-07-19 Thread Reinier Bezuidenhout
Hi .. > > 1. If you want to test the network speed ... use ttcp or something > >that generates the data and doesn't read it from disk. > > ttcp works. The only problem is when I tried it in both > directions, at once. the total becomes 11.xMbytes/sec total as opposed to > 9.4Mbytes/s

if_dl.h in stable causes sendmail segmentation

1999-07-20 Thread Reinier Bezuidenhout
Hi ... I have the following situation... A machine running a 3.2-STABLE of a few weeks ago ... When the machine booted I saw that newaliases (sendmail -bi) exited with a segmentation fault. I further inspected and found that if I do a ifconfig of a interface (fxp0 or de0) newaliases is ok, but

Re: if_dl.h in stable causes sendmail segmentation

1999-07-20 Thread Reinier Bezuidenhout
Hi ... > In article <[EMAIL PROTECTED]>, > Reinier Bezuidenhout <[EMAIL PROTECTED]> wrote: > > > I have the following situation... > ... [various userland SEGVs traced down to a change in if_dl.h] The sendmail that SEGV was compiled with the kernel that cause

newaliases and 256 tun devices

1999-07-28 Thread Reinier Bezuidenhout
Hi ... I previously mailed the same error ... and then I thought it was a "miss-corrolation" between kernel sources and userland. Since then I built a SNAP of 990726 sources and tried the same thing and the error occured again . Same sources used for the compile of the kernel and userlevel bi

if.c and ifconf() possible error ?

1999-07-29 Thread Reinier Bezuidenhout
Hi ... When a program calls the SIOCGIFCONF ioctl and the function ifconf in sys/net/if.c is executed, the value that is returned in ifc.ifc_len, is that the value of the amount of data filled in ... or can it be larger ?? Example ... The calling process sends 1000 as the size of the buffer.

Endless loop in libpcap 2.2.x/3.x/-current

1999-09-10 Thread Reinier Bezuidenhout
Hi ... We are running a system where we use the libpcap to capture packets from an ethernet device. We've been observing a problem where the monitor program goes into an endless loop and spins for ever. I've compiled the program with debugging on and observed that the call-back function is call

pcm sound delays

1999-10-08 Thread Reinier Bezuidenhout
Hi ... Im running 4.0-CURRENT of a few weeks ago, I've got a ESS1869 soundcard, which seems to be working reasonably well with the newpcm. What I am though experiencing is some delay in sound e.g. xgal (xgalaga) and a few other splications. The sound is not in sync with the application. W

More libpcap problems

1999-10-11 Thread Reinier Bezuidenhout
Hi ... I have an application which uses libpcap ... after running for several weeks normally .. the application coredumps .. I've traced the problem back to libpcap which somehow reads garbage packet information (or is given garbage). Here is a short view of the gdb .. (gdb) p *(struct bpf_hdr *

TCP delay ack question

1999-10-29 Thread Reinier Bezuidenhout
Hi ... We have two machines that are experiencing some interesting behaviour. The one is running a 2.1.5 FreeBSD kernel (yes old) and the other a 2.2.6-STABLE kernel (also a bit old :) ) The problem is that when transfering mail to the 2.1.5 machine it happens quite quickly, but on the 2.2.6 ma

cc -pthread and libc_r question

1999-11-10 Thread Reinier Bezuidenhout
Hi .. I've compiled a program with the -pthread compiler option on a 3.3-STABLe system ... after doing a ldd on the executable I see that both libc_r AND lic are linked .. is this correct ? Shouldn't libc_r replace libc ? Thanks Reinier To Unsubscribe: send mail to [EMAIL PROTECTED] with "u

Re: Linux ioctl not implemented error

1999-12-01 Thread Reinier Bezuidenhout
Hi ... > > > > to do? > > > > > > CDROMVOLREAD that you want to map to CDIOGETVOL. That should read CDIOCGETVOL :) > try this: > > Index: linux_ioctl.c > === > RCS file: /home/ncvs/src/sys/i386/linux/linux_ioctl.c,v > retrieving

Re: Linux ioctl not implemented error

1999-12-02 Thread Reinier Bezuidenhout
> > + { > > + u_char channel0; > > + u_char channel1; > > + u_char channel2; > > + u_char channel3; > > + }; > > + > > struct linux_cdrom_subchnl > > { > > u_char cdsc_format; > > *** > > *** 1232,1237 > > --- 1240,1261 > >

Re: Linux ioctl not implemented error

1999-12-02 Thread Reinier Bezuidenhout
Hi ... > > to fit in with CDIOCGETVOL which has two different structures. > > > > Marcel please review this :) > > Please hold your horses. I have a completely rewritten linux_ioctl.c > waiting to be committed. I'm already working on the ioctl stuff with > Vladimir as to synchronize the change.

Re: Linux ioctl not implemented error

1999-12-02 Thread Reinier Bezuidenhout
> Alfred Perlstein wrote: > > > > > + if (!error) { > > > + lvol = *lvolp; > > > + lvol.channel0 = bsd_vol.vol[0]; > > > + lvol.channel1 = bsd_vol.vol[1]; > > > + lvol.channel2 = bsd_vol.vol[2]; > > > + lvol.channel3 = bsd_vol.vol[3]; > > > > FYI the k

Re: Preemptiveness of FreeBSD threads

2000-01-16 Thread Reinier Bezuidenhout
Hi ... I also ran this program on a 4.0-current as of about Jan 13 2000 :) It generates the errornous output like clock work on my machine (after about 30 tries - no exception). I then though that maybe the system gets so buzy that it has difficulty on starting the threads - yes I know this sho

Re: Preemptiveness of FreeBSD threads

2000-01-16 Thread Reinier Bezuidenhout
> Hi ... > > I also ran this program on a 4.0-current as of about Jan 13 2000 :) > > It generates the errornous output like clock work on my machine (after about > 30 tries - no exception). I then though that maybe the system gets so buzy > that it has difficulty on starting the threads - yes I

Re: Preemptiveness of FreeBSD threads

2000-01-16 Thread Reinier Bezuidenhout
> My experiments with your test program do exactly what I would expect. The > longer the program is run, thu longer the program has to preempt threads, > which means that given enough time, all threads will run. If the program > is run for a short time (less than about 1.5 seconds) then some thr

Re: Preemptiveness of FreeBSD threads

2000-01-18 Thread Reinier Bezuidenhout
> >OK, with everyones help (well, waiting for the right time of day ;-)), > I > >was able to reproduce this. The initial threads last active time was > >not getting initialized to a sane value, causing negative > computations > >of the threads timeslice depending on what time of day it was. Funn

Reading lpt status register in NIBBLE mode

2000-02-19 Thread Reinier Bezuidenhout
Hi ... I want to read the status register of the lpt port in NIBBLE mode. I want to do this wether there is a printer connected or not. What would be the best way to accomplish this ?? Should I use the ppi0 device with the PPIGSTATUS ioctl call, because if there is no printer connected I can'

Re: What are the best gcc optimization options for Pentium 200 M

2000-04-09 Thread Reinier Bezuidenhout
Hi .. I agree that optimizations are most of the time "futile" :) .. so is resistance :) ... ina ny case .. I like to live on the edge .. that is why I'm running 5.0-current .. and I've compiled the following things with optimizations. o The whole source tree .. including my kernel o XFree86

3-Stable: Logging to syslog fails

2000-06-08 Thread Reinier Bezuidenhout
Hi I have a system running a stable snap of 3.4 of round about May 31, I have a program that does quite a bit of logging, and sometime the following occurs: The process would just stop (seems to block) - a bt in gdb showed that it was stuck in open after the following sequence of calls syslog

Re: Fastforwarding

2000-06-12 Thread Reinier Bezuidenhout
> > > > Has anyone here tried setting net.inet.ip.fastforwarding on in a high > > traffic enviroment? > > > > This setting DRASTICALLY speeds up transfers between boxes talking through > > a freebsd gateway when you are using 2 100mbit interfaces, but it seems to > > kernel panic the system af