Re: Frame relay driver

2000-04-11 Thread Poul-Henning Kamp
In message <[EMAIL PROTECTED]>, S teve Kiernan writes: >> If you are interested in a V.35 style sync card, I have one which >> LMC (www.lanmedia.com) lent me, but for which I have not gotten >> the driver converted to netgraph yet. > >I have the driver for the LMC cards converted to netgraph. I

Re: Multithread safe gethostbyname() ?

2000-04-11 Thread Arun Sharma
In muc.lists.freebsd.hackers, you wrote: > > Is there a MT-safe implementation of gethostbyname() in FreeBSD (3.4/4.0)? > > On Solaris there is gethostbyname_r(). Calling gethostbyname() with in > two threads cause both threads to block. You seem to be talking about two different things: 1. A

Re: PCI DMA Questions

2000-04-11 Thread Warner Losh
In message <[EMAIL PROTECTED]> Mike Smith writes: : Make sure that the busmaster bit is set in the PCI command register: Good advice. However, that wasn't my problem :-(. : Not to bounce too much, but you may find the examples in the amr and mlx : drivers easier to follow (maybe not, too). I

Re: PCI DMA Questions

2000-04-11 Thread Mike Smith
> > I'm debugging a hunk of PCI hardware that I have under NDA. It > doesn't seem to be initiating DMA transfers. This may be a hardware > problem, but before I go back to the vendor, I want to make sure that > I'm doing the DMA initialization right. It was my understanding that > DMA just hap

PCI DMA Questions

2000-04-11 Thread Warner Losh
I'm debugging a hunk of PCI hardware that I have under NDA. It doesn't seem to be initiating DMA transfers. This may be a hardware problem, but before I go back to the vendor, I want to make sure that I'm doing the DMA initialization right. It was my understanding that DMA just happened on the

Multithread safe gethostbyname() ?

2000-04-11 Thread Ming Zhang
Is there a MT-safe implementation of gethostbyname() in FreeBSD (3.4/4.0)? On Solaris there is gethostbyname_r(). Calling gethostbyname() with in two threads cause both threads to block. I know the "struct hostent" is static in gethostbyname(), however it seems like the socket that is used to

Syscall 198 __syscall, why??????? New port

2000-04-11 Thread Marco van de Voort
> OS: FreeBSD 4.0 > I have a ported pascal compiler that doesn't work yet. It does now work now, except for some minor details, and haven't worked on libc linking yet. Am already subscribing to ports :-) > I use ktrace (great tool btw) to find the problem, mainly because the differences > betwe

Structuring the Developer Handbook

2000-04-11 Thread Nik Clayton
[ -doc, -hackers, FU set to -doc ] Recent discussion on -doc has bought forth the suggestion that the Handbook could usefully be split in to a number of smaller books. Rough consensus is that chunks of the existing Handbook should form parts of a new "FreeBSD Developer Handbook", to cover inform

Re: Frame relay driver

2000-04-11 Thread Steve Kiernan
On Tue, 11 Apr 2000, Poul-Henning Kamp wrote: > In message <05ba01bfa393$f689cfd0$[EMAIL PROTECTED]>, "Daniel Hilevich" write > s: > > >Is there a driver that support frame relay features in FreeBSD? > >I saw a netgraph node called ng_frame_relay but I could not find any generic > >driver that s

Refresh a list that could be used

2000-04-11 Thread Wilbert de Graaf
Hi,   As part of an IGMPv3 implementation on FreeBSD I had to add a list to a datastructure (in_multi). This list can be set by users (using ioctl) and be replaced later. While replacing this list, there is the possibility (ad1) of a concurrent reader (the process when an incoming packet has

Re: fddi resolve multi

2000-04-11 Thread Wilko Bulte
On Mon, Apr 10, 2000 at 11:46:56AM +0200, Christoph Kukulies wrote: > > I built a kernel with > > device fpa0 > pseudo-device fddi > > and while compiling the kernel I got a warning: > > #warning: implement fddi resolve multi... > > What does it mean? I don't remember, but it is most likely

ktrace, syscalls and filehandles.

2000-04-11 Thread Marco van de Voort
OS: FreeBSD 4.0 I have a ported pascal compiler that doesn't work yet. I use ktrace (great tool btw) to find the problem, mainly because the differences between the linux and FreeBSD version are only in about 50 syscall calling routines. Now the program terminates with the following sequence

No Subject

2000-04-11 Thread Sean Peck
auth 420551d3 unsubscribe freebsd-hackers [EMAIL PROTECTED] Sean Peck News Index -- The original News Only Search Engine. http://www.newsindex.com/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: desire for ftp.internat.freebsd.org mirror

2000-04-11 Thread Ollivier Robert
According to Mark Murray: > CVSUP only covers that which is already in CVS. The FTP stuff is > what this chap is looking for. With its builtin rsync algorithm I don't see why CVSup could not be used as a regular mirror tool... It works best with a CVS repo but it is not limited to it IIRC. -- Ol

Re: dutch keyboard map (+sort note)

2000-04-11 Thread Ollivier Robert
According to Christian Weisgerber: > Well, the original message was in Latin 1. You re-interpretating > it as Latin 9 is not fair. Well it is more that I use a -15 font so I see these things :-) > would require a few more characters. The S and Z caron that were > added are supposedly required f

Re: Help with network driver development

2000-04-11 Thread Duncan Barclay
Hi Mike, On 11-Apr-00 Mike Smith wrote: > > Sorry that this is off-list - I'm blocked by the DUL at the moment, but > please copy your replies there. > >> I've successfully ported the NetBSD if_ray (Webgear PCCard Wireless LAN) >> driver to RELENG_3 but have realised that the driver has a bit

Re: efficiency of maxproc hardlimit

2000-04-11 Thread Alfred Perlstein
* Bjoern Fischer <[EMAIL PROTECTED]> [000411 10:06] wrote: > On Mon, Apr 10, 2000 at 01:31:39AM -0700, Alfred Perlstein wrote: > [...] > > > main(){fork();main();} > > > > > > leaves the machine in an unusable state (it does ping > > > back, one may break into the kernel debugger, but no > > >

Re: efficiency of maxproc hardlimit

2000-04-11 Thread Bjoern Fischer
On Mon, Apr 10, 2000 at 01:31:39AM -0700, Alfred Perlstein wrote: [...] > > main(){fork();main();} > > > > leaves the machine in an unusable state (it does ping > > back, one may break into the kernel debugger, but no > > io). > > > > Any way to prevent this (without harming the user)? > > Pl

test

2000-04-11 Thread Denise Parisi
__ Get Your Private, Free Email at http://www.hotmail.com To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Kernel adjustment for clock drift

2000-04-11 Thread Bhishan Hemrajani
Try xntpd --bhishan [Charset iso-8859-1 unsupported, filtering to ASCII...] > I've been away from the FreeBSD lists for ages and am looking > for an update on clock drift management under FreeBSD-3.4R. I > asked this on -questions, but got no answers. Perhaps somebody > here knows the answer.

Re: Frame relay driver

2000-04-11 Thread Julian Elischer
by connecting the ar and sr drivers to the netgraph framework you can run frame relay. you can run frame relay throgh any inteface that has a netgraph ability. see /usr/share/examples/netgraph for an example of how this is done. On Tue, 11 Apr 2000, Daniel Hilevich wrote: > Is there a driver t

Re: Frame relay driver ( also E1 PRI? )

2000-04-11 Thread Jim Flowers
You might want to look at www.sangoma.com (Canada). They have a fr capable card that includes a supported FreeBSD driver at reasonable cost. Both V.35 and with built-in CSU and in both ISA and PCI. Not sure about E1. Len Conrad wrote: > >If you are interested in a V.35 style sync card, I hav

Re: somewhat random mostly-lockups in 5.0

2000-04-11 Thread Nik Clayton
On Mon, Apr 10, 2000 at 07:48:45AM -0400, Brian Fundakowski Feldman wrote: > On Sun, 9 Apr 2000, Alfred Perlstein wrote: > > In otherwords, unplug your palm pilot and attach a console. > > I'm going to get my friend to get a traceback and whatever else is > possible. He has a laptop and "null" s

Re: Determining traffic on a socket

2000-04-11 Thread Graham Wheeler
Sheldon Hearn wrote: > > On Tue, 11 Apr 2000 13:30:47 +0200, Graham Wheeler wrote: > > > > What about trpt(8)? > > > > Looks useful, but when I run it I just get: "/kernel: no namelist" > > Are you bypassing the loader when you boot (i.e. loading the kernel > directly)? This is a known problem

Re: Determining traffic on a socket

2000-04-11 Thread Jos Backus
On Tue, Apr 11, 2000 at 01:30:47PM +0200, Graham Wheeler wrote: > Looks useful, but when I run it I just get: "/kernel: no namelist" Hm, trpt uses nlist(3), which (I think) only works with a.out images. Presumably trpt should use kvm_nlist(3) instead, just like e.g. w(1). -- Jos Backus

Re: Kernel adjustment for clock drift

2000-04-11 Thread Sheldon Hearn
On Tue, 11 Apr 2000 12:02:28 +1000, Greg Black wrote: > I've been away from the FreeBSD lists for ages and am looking > for an update on clock drift management under FreeBSD-3.4R. I > asked this on -questions, but got no answers. Perhaps somebody > here knows the answer. For the benefit of o

Re: NFS FHs, what are they (how are they made?)

2000-04-11 Thread Sheldon Hearn
On Mon, 10 Apr 2000 13:46:15 MST, Matthew Dillon wrote: > When you newfs a filesystem it's supposed to populate this field with > a random number also. The 4.4BSD book says that the value of this field (and thus of the FH's filehandle) is time-based. Is this different in FreeBSD? Cia

Re: Determining traffic on a socket

2000-04-11 Thread Graham Wheeler
Jos Backus wrote: > > What about trpt(8)? Looks useful, but when I run it I just get: "/kernel: no namelist" -- Dr Graham WheelerE-mail: [EMAIL PROTECTED] Director, Research and Development WWW:http://www.cequrux.com CEQURUX Technologies Ph

Re: Determining traffic on a socket

2000-04-11 Thread Graham Wheeler
Brian Campbell pointed out to me that TCP control blocks have the initial and current transmit and receive sequence numbers, so it is possible to compute the bytes sent and received from these. So, my next question is: given a socket fd (or a pid and fd number), how can I extract a copy of the TC

Re: dutch keyboard map (+sort note)

2000-04-11 Thread Christian Weisgerber
W.H.Scholten <[EMAIL PROTECTED]> wrote: > Btw, I don't see why I had to load the screenmap myself (unless I reboot > of course). Why doesn't sysinstall do this when I tell it to use > iso8859->ibm mapping? I just tried the console configuration screen in sysinstall, and it only adds the settings

Re: Frame relay driver ( also E1 PRI? )

2000-04-11 Thread Poul-Henning Kamp
In message <[EMAIL PROTECTED]>, Len Conrad wri tes: > >If you are interested in a V.35 style sync card, I have one which > >LMC (www.lanmedia.com) lent me, but for which I have not gotten > >the driver converted to netgraph yet. > >Poul-Henning Kamp > > > >Poul-Henning, > >I'm trying t

Re: Frame relay driver ( also E1 PRI? )

2000-04-11 Thread Len Conrad
>If you are interested in a V.35 style sync card, I have one which >LMC (www.lanmedia.com) lent me, but for which I have not gotten >the driver converted to netgraph yet. >Poul-Henning Kamp Poul-Henning, I'm trying to get Dave DePuy of LMC to lend us a new LMC 1500 PCI card, w

options BRIDGE - interfaces

2000-04-11 Thread Christoph Kukulies
I got an interesting tip from a list co-reader upon my question about arp-proxy. Luigi added options BRIDGE to the kernel some time ago (2.2.8) (Luigi, are you listening?) The man page (man 4 bridge) says that at the moment it works for ed,de,ep,fe,fxp,lnc,mx,tx,and xl interfaces. So fpa is not

Re: Frame relay driver

2000-04-11 Thread Poul-Henning Kamp
In message <05ba01bfa393$f689cfd0$[EMAIL PROTECTED]>, "Daniel Hilevich" write s: >Is there a driver that support frame relay features in FreeBSD? >I saw a netgraph node called ng_frame_relay but I could not find any generic >driver that supports it. The if_mn driver should support it, and I beli

Frame relay driver

2000-04-11 Thread Daniel Hilevich
Is there a driver that support frame relay features in FreeBSD? I saw a netgraph node called ng_frame_relay but I could not find any generic driver that supports it. Thanx, --- Daniel Hilevich mailto:[EMAIL PROTECTED] Tel: +972-4-9592203 ext. 214 Charlotte's Web Networks LTD. http://www.cwnt.com

Re: Kernel adjustment for clock drift

2000-04-11 Thread Poul-Henning Kamp
Hi Greg, I got your email, but didn't get down to it yet. On 3.4 you need to set the frequency of the relevant timecounter. If you grep Timecounter /var/run/dmesg.boot and look at the *last line*, it will say either TSC or i8254. You can then modify the frequency with the correspondi

Kernel adjustment for clock drift

2000-04-11 Thread Greg Black
I've been away from the FreeBSD lists for ages and am looking for an update on clock drift management under FreeBSD-3.4R. I asked this on -questions, but got no answers. Perhaps somebody here knows the answer. I have a machine that drifts about 7 seconds a day and I'd like to tweak something in