Re: get tun0's ip from my program

2000-12-05 Thread Julian Elischer
[EMAIL PROTECTED] wrote: > > I want to get tun0's two ip addresses. > and add ipfw rules to system at my program. > How can I do it?is there a function? or > have document describe it. someone please tell me! ifconfig tun0 | awk {small awk program} of course WHY do you want to do this? that may

Re: nslookup deprecation [was 4.2 complaint]

2000-12-05 Thread Dag-Erling Smorgrav
Yusuf Goolamabbas <[EMAIL PROTECTED]> writes: > Recently there was a message indicating that ISC is deprecating > nslookup. "Recently"? nslookup has been officially deprecated for about a year and a half, I believe. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [

RE: nslookup deprecation [was 4.2 complaint]

2000-12-05 Thread Koster, K.J.
> > > Recently there was a message indicating that ISC is deprecating > > nslookup. > > "Recently"? nslookup has been officially deprecated for about a year > and a half, I believe. > Public Enemy said it before: don't believe the hype. In this case, the hype that an Internet year is only a few

pccard driver docs

2000-12-05 Thread Willem van Engen
I'm writing a pcmcia device driver for the PhyDAS system used in our university for measurements. I have been searching the internet for information on programming a driver on the pccard bus, but I haven't found any good overview of a pcmcia driver (well, the 'FreeBSD device driver writer's guide

Re: nslookup deprecation [was 4.2 complaint]

2000-12-05 Thread Dag-Erling Smorgrav
"Koster, K.J." <[EMAIL PROTECTED]> writes: > > > Recently there was a message indicating that ISC is deprecating > > > nslookup. > > "Recently"? nslookup has been officially deprecated for about a year > > and a half, I believe. > Public Enemy said it before: don't believe the hype. In this case,

RE: nslookup deprecation [was 4.2 complaint]

2000-12-05 Thread Koster, K.J.
> > > Public Enemy said it before: don't believe the hype. In > > this case, the hype that an Internet year is only a few weeks of > > wallclock time. > > I'm sure there must be some meaning to what you write, but it keeps > eluding me. > I don't think that a year and a half is a long time for

Re: yet another unsupported PHY in fxp driver

2000-12-05 Thread Koster, K.J.
Dear All, I found this thread, but no real resolution, so pardon me for dragging this back up. Relevant dmesg output: fxp0: Ethernet address 00:08:c7:7b:05:bd bpf: fxp0 attached fxp1: Ethernet address 00:b4:c0:91:d2:9c, 10Mbps bpf: fxp1 attached fxp2: Ethernet address 00:b4:c0:91:d2:9c, 10Mbps

Re: yet another unsupported PHY in fxp driver

2000-12-05 Thread David Greenman
>Say what? I lived under the impression that MAC addresses were unique. Here >I have three cards that have identical MAC adresses. > >Finally, we finish off with: > >bpf: fxp0.0 attached >fxp1: warning: unsupported PHY, type = 0, addr = 0 >bpf: fxp1.0 attached >fxp2: warning: unsupported PHY, type

RE: yet another unsupported PHY in fxp driver

2000-12-05 Thread Koster, K.J.
Dear David, > >All of the above is caused by the SEEPROM not being read > properly. Since it doesn't work with 4.1, this probably indicates that > you're using an on-motherboard NIC (Supermicro?). > These are not on-board NICs, but PCI cards. (Do you know of a motherboard that comes with fou

Re: get tun0's ip from my program

2000-12-05 Thread Wes Peters
Julian Elischer wrote: > > [EMAIL PROTECTED] wrote: > > > > I want to get tun0's two ip addresses. > > and add ipfw rules to system at my program. > > How can I do it?is there a function? or > > have document describe it. someone please tell me! > ifconfig tun0 | awk {small awk program} > > of c

Re: pipe

2000-12-05 Thread G. Adam Stanislav
On Mon, Dec 04, 2000 at 12:56:51PM +1000, Stephen McKay wrote: >Using pipes for temporary storage is still a crazy idea. Pipes can be >smaller than 8K, depending on the flavour of Unix. It was just a thought, and it did not work. :) Other flavors of Unix are not too important in this case: I'm w

Re: pipe

2000-12-05 Thread Dag-Erling Smorgrav
"G. Adam Stanislav" <[EMAIL PROTECTED]> writes: > > Use malloc() instead. > Unfortunately, that only works in C. :) Use mmap() or brk()/sbrk(). > I tried to figure out how to allocate memory, but, so far, was completely > unsuccessful. I studied the source for the C malloc, but did not understan

Re: pccard driver docs

2000-12-05 Thread Warner Losh
In message <[EMAIL PROTECTED]> Willem van Engen writes: : I'm writing a pcmcia device driver for the PhyDAS system used in our university : for measurements. I have been searching the internet for information on : programming a driver on the pccard bus, but I haven't found any good overview : of

Re: nslookup deprecation [was 4.2 complaint]

2000-12-05 Thread Dag-Erling Smorgrav
Brandon Fosdick <[EMAIL PROTECTED]> writes: > Dag-Erling Smorgrav wrote: > > "Recently"? nslookup has been officially deprecated for about a year > > and a half, I believe. > Will a replacement be added to the base distro? When? 1) nslookup is still in the base FreeBSD distribution, and will p

Re: pipe

2000-12-05 Thread Aled Morris
On Tue, 5 Dec 2000, G. Adam Stanislav wrote: >> Use malloc() instead. > >Unfortunately, that only works in C. :) > >I tried to figure out how to allocate memory, but, so far, was completely >unsuccessful. malloc appears to mmap pages from fd -1, and makes them private and read/write (except on s

Re: pipe

2000-12-05 Thread G. Adam Stanislav
On Tue, Dec 05, 2000 at 04:32:29PM +0100, Dag-Erling Smorgrav wrote: >Did you even read the man page? Many times, actually. And on different days, too. :) I guess I just don't understand what is meant by "map" in this context. My Unix programming "bible" (POSIX Programmer's Guide) does not even

Re: nslookup deprecation [was 4.2 complaint]

2000-12-05 Thread Brandon Fosdick
Dag-Erling Smorgrav wrote: > > Yusuf Goolamabbas <[EMAIL PROTECTED]> writes: > > Recently there was a message indicating that ISC is deprecating > > nslookup. > > "Recently"? nslookup has been officially deprecated for about a year > and a half, I believe. Will a replacement be added to the bas

Re: nslookup deprecation [was 4.2 complaint]

2000-12-05 Thread Michael Bacarella
On Tue, Dec 05, 2000 at 11:48:26AM -0500, Brandon Fosdick wrote: > > > Recently there was a message indicating that ISC is deprecating > > > nslookup. > > > > "Recently"? nslookup has been officially deprecated for about a year > > and a half, I believe. > > Will a replacement be added to the b

Re: pccard driver docs

2000-12-05 Thread Julian Elischer
Warner Losh wrote: > > In message <[EMAIL PROTECTED]> Willem van Engen writes: > : I'm writing a pcmcia device driver for the PhyDAS system used in our university > : for measurements. I have been searching the internet for information on > : programming a driver on the pccard bus, but I haven't

Re: pipe

2000-12-05 Thread G. Adam Stanislav
On Tue, Dec 05, 2000 at 03:43:10PM +, Aled Morris wrote: >malloc appears to mmap pages from fd -1, and makes them private and >read/write (except on sparc architecture, where it uses /dev/zero rather >than -1, which makes more sense to me) > >It isn't particularly complicated: > >newmem = mmap

Re: pccard driver docs

2000-12-05 Thread Warner Losh
In message <[EMAIL PROTECTED]> Julian Elischer writes: : Of course of someone who knew about pccard would add the appropriate code to the : example driver.. That would make things too easy :-) Seriously, however, in 4.x and earlier it would be no different. In 5.x there's a new requirement

Re: pipe

2000-12-05 Thread Dag-Erling Smorgrav
"G. Adam Stanislav" <[EMAIL PROTECTED]> writes: > On Tue, Dec 05, 2000 at 04:32:29PM +0100, Dag-Erling Smorgrav wrote: > > Did you even read the man page? > Many times, actually. And on different days, too. :) No, you didn't. You probably read the first line, then your eyes glazed over and you sk

Re: pipe

2000-12-05 Thread G. Adam Stanislav
On Tue, Dec 05, 2000 at 06:11:06PM +0100, Dag-Erling Smorgrav wrote: >No, you didn't. You probably read the first line, then your eyes >glazed over and you skipped to the bottom. Believe what you want. >The second and third sentences of the second paragraph (the one that >starts on line 23), as

RE: yet another unsupported PHY in fxp driver

2000-12-05 Thread Dennis
At 10:08 AM 12/05/2000, Koster, K.J. wrote: >Dear David, > > > > >All of the above is caused by the SEEPROM not being read > > properly. Since it doesn't work with 4.1, this probably indicates that > > you're using an on-motherboard NIC (Supermicro?). > > >These are not on-board NICs, but PCI

Re: yet another unsupported PHY in fxp driver

2000-12-05 Thread Mike Smith
> >All of the above is caused by the SEEPROM not being read > > properly. Since it doesn't work with 4.1, this probably indicates that > > you're using an on-motherboard NIC (Supermicro?). > > > These are not on-board NICs, but PCI cards. (Do you know of a motherboard > that comes with four o

Re: pipe

2000-12-05 Thread Jack Rusher
"G. Adam Stanislav" wrote: > > On Tue, Dec 05, 2000 at 06:11:06PM +0100, Dag-Erling Smorgrav wrote: > >No, you didn't. You probably read the first line, then your eyes > >glazed over and you skipped to the bottom. Dudes. This is a programmer from another environment coming to us to learn more

phys backed shm patch.

2000-12-05 Thread Alfred Perlstein
Ok, I spent quite some time trying to figure out why postgresql would "hang" when using the 'kern.ipc.shm_use_phys' sysctl. It finally came down to some spinlocks that were being corrupted in a very tiny shared memory segment. It seems like the phys_pager doesn't correctly allocate when given a

POSIX clock_gettime, clock_getres return errno invalid argument for CLOCK_PROF and CLOCK_VIRTUAL

2000-12-05 Thread Jonathan Graehl
The resolution (clock_getres) of CLOCK_REALTIME is 783 ns on my 4.2-STABLE/Pentium 2. Is there a more accurate timer available? (clearly, gettimeofday is limited to 1000ns resolution ;) (submitted pr follows) While there is no problem with CLOCK_REALTIME, POSIX clock_gettime, clock_getres retur

Re: yet another unsupported PHY in fxp driver

2000-12-05 Thread sthaug
> Relevant dmesg output: > > fxp0: Ethernet address 00:08:c7:7b:05:bd > bpf: fxp0 attached > fxp1: Ethernet address 00:b4:c0:91:d2:9c, 10Mbps > bpf: fxp1 attached > fxp2: Ethernet address 00:b4:c0:91:d2:9c, 10Mbps > bpf: fxp2 attached > fxp3: Ethernet address 00:b4:c0:91:d2:9c, 10Mbps > > Say wh

Re: how to test out cron.c changes? (was: cvs commit: src/etc crontab)

2000-12-05 Thread Gerhard Sittig
[ I'm not subscribed to -hackers, please keep CC'ing me; thanks! ] On Mon, Nov 20, 2000 at 19:33 +0100, Gerhard Sittig wrote: > > [ ... cron and DST ... ] > > But I thought modifying cron(8) itself would be the best way. > Is someone already working on this or should I try to do it > myself (wi

Re: nslookup deprecation [was 4.2 complaint]

2000-12-05 Thread dannyman
On Tue, Dec 05, 2000 at 11:48:26AM -0500, Brandon Fosdick wrote: > Dag-Erling Smorgrav wrote: > > Yusuf Goolamabbas <[EMAIL PROTECTED]> writes: > > > Recently there was a message indicating that ISC is deprecating > > > nslookup. > > > > "Recently"? nslookup has been officially deprecated for ab

Re: phys backed shm patch.

2000-12-05 Thread Matt Dillon
: :Ok, I spent quite some time trying to figure out why postgresql :would "hang" when using the 'kern.ipc.shm_use_phys' sysctl. : :It finally came down to some spinlocks that were being corrupted :in a very tiny shared memory segment. : :It seems like the phys_pager doesn't correctly allocate when

Re: phys backed shm patch.

2000-12-05 Thread Alfred Perlstein
* Matt Dillon <[EMAIL PROTECTED]> [001205 13:44] wrote: > : > :Ok, I spent quite some time trying to figure out why postgresql > :would "hang" when using the 'kern.ipc.shm_use_phys' sysctl. > : > :It finally came down to some spinlocks that were being corrupted > :in a very tiny shared memory segm

Re: vm_pageout_scan badness

2000-12-05 Thread News History File User
Howdy, I'm going to breach all sorts of ethics in the worst way by following up to my own message, just to throw out some new info... 'kay? Matt wrote, and I quote -- : > However, I noticed something interesting! Of course I clipped away the interesting Thing, but note the following that I saw

Search Engine Optimization Kit-2001 24123

2000-12-05 Thread tom
Get Top 10 Positions With The Search Engine Optimization Kit-2001 No hype ... no gimmicks ... just the facts ... and only $59! Hello Friend, We created the Search Engine Optimization Kit-2001 to achieve high positions in search engines. This unique Kit includes: Detailed information a

Re: vm_pageout_scan badness

2000-12-05 Thread Matt Dillon
I wouldn't worry about madvise() too much. 4.2 has a really good heuristic that figures it out for the most part. (still reading the rest of your postings) -Matt To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-

Re: vm_pageout_scan badness

2000-12-05 Thread Matt Dillon
:To recap, the difference here is that by cheating, I was able to mlock :one of the two files (the behaviour I was hoping to be able to achieve :through first MAP_NOSYNC alone, then in combination with MADV_WILLNEED :to keep all the pages in memory so much as possible) and achieve a much :improve