Re: icmp-response error

2000-05-11 Thread sthaug
A while back, I wrote a simplistic, but effect script to print out information about who has a particular port open. There is already a nice program to do this as part of the standard FreeBSD distribution: sockstat. It deserves wider use, IMHO. Steinar Haug, Nethelp consulting, [EMAIL

CMSG_DATA and ALIGN macro

2000-05-11 Thread Marc van Kempen
Hi, I tried sending this to freebsd-doc, but perhaps this place is better suited. The problem is that the ALIGN macro is not being picked up even though sys/types.h and sys/socket.h are included. The problem arises from the use of the CMSG_DATA macro, which seems to be related to sendmsg(),

Re: ipsec 'replay' syslog error messages after reboot of one host

2000-05-11 Thread Ville-Pertti Keinonen
[EMAIL PROTECTED] (Matthew Dillon) writes: The question is: What am I forgetting to do? Or is this a bug in our IPSEC implementation? AFAIK this is more or less how it's supposed to work. IPsec is a mess. Security associations are not stateless, ESP provides replay protection

Re: ipsec 'replay' syslog error messages after reboot of one host

2000-05-11 Thread Matthew Dillon
: : :[EMAIL PROTECTED] (Matthew Dillon) writes: : : The question is: What am I forgetting to do? Or is this a bug in our : IPSEC implementation? : :AFAIK this is more or less how it's supposed to work. IPsec is a :mess. Security associations are not stateless, ESP provides replay

Re: ipsec 'replay' syslog error messages after reboot of one host

2000-05-11 Thread Ville-Pertti Keinonen
IPSec isn't well documented, but once I figured out the config file it didn't seem too bad. I am guessing that replay prevention Reading the RFCs might be more helpful than most of the KAME documentation. There's also a lot of undocumented stuff for which the sources seem to be the

Re: icmp-response error

2000-05-11 Thread Joe Karthauser
On Thu, May 11, 2000 at 08:33:45AM +0200, [EMAIL PROTECTED] wrote: A while back, I wrote a simplistic, but effect script to print out information about who has a particular port open. There is already a nice program to do this as part of the standard FreeBSD distribution: sockstat. It

Re: ipsec 'replay' syslog error messages after reboot of one host

2000-05-11 Thread Kris Kennaway
On Thu, 11 May 2000, Matthew Dillon wrote: I had to fix up /etc/rc.network a little to load the ipsec rules at the appropriate point (just after the interface and ipfw setup, but before any services (like NFS) are run). I am going to put the (relatively simple) patch for

FreeBSD 4.0 and IBM PS/2 Model 65SX

2000-05-11 Thread Gheorghe Ardelean
Hi, can I install FreeBSD 4.0R on a IBM PS/2 Model 65SX with 8MB Ram and 2 SCSI HDD of 120MB each? The netowrk card is an WD8003 and the SCSI Controller is Based on Adaptec AIC-6250EL. regards, Gheorghe ARDELEAN West Univ. Of Timisoara Dept. of Theoretical and Computational Physics V.

kernel SMP thread

2000-05-11 Thread FTG staff
Jordan said that the kernel SMP thread is ready in CURRENT FreeBSD, but I could not find any document for the SMP kthread. By looking at the kern/kern_kthread.c code, it does not look like a SMP thread, and does not even have mutex functions in there. Does any one happen to know where is the

Re: icmp-response error

2000-05-11 Thread Ben Smithurst
Matthew Dillon wrote: If they are hidden (masquarading as some other typical process name), you can track them down with 'netstat -taA' to get the protocol address of the socket and then fstat to figure out which process owns the socket. sockstat is your friend, if you're

Re: kernel SMP thread

2000-05-11 Thread Jordan K. Hubbard
Jordan said that the kernel SMP thread is ready in CURRENT FreeBSD, but I could not find any document for the SMP kthread. Huh? I never said any such thing. You must have misinterpreted something else I said. - Jordan To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe

Re: kernel SMP thread

2000-05-11 Thread FTG staff
Jordan said that the kernel SMP thread is ready in CURRENT FreeBSD, but I could not find any document for the SMP kthread. Huh? I never said any such thing. You must have misinterpreted something else I said. I asked a question "Is FreeBSD working on SMP thread?" at both USENIX and

kernel panics at boot, how to specify dump device?

2000-05-11 Thread Marco Molteni
Hi all, I have a 4-STABLE kernel that panics at boot. How do I force the kernel to core dump? I know that the handbook says to build a debug kernel and to set the dump device via (dumpon + /etc/rc.conf) but in this case the kernel panics during booting. The handbook says that, if the kernel

Re: CMSG_DATA and ALIGN macro

2000-05-11 Thread Bruce A. Mah
If memory serves me right, Marc van Kempen wrote: The problem is that the ALIGN macro is not being picked up even though sys/types.h and sys/socket.h are included. The problem arises from the use of the CMSG_DATA macro, which seems to be related to sendmsg(), and uses the ALIGN macro.

Re: kernel SMP thread

2000-05-11 Thread Jordan K. Hubbard
I asked a question "Is FreeBSD working on SMP thread?" at both USENIX and FreeBSDcon last year, you answered that it is already in the kernel, but there is no API for userland. Maybe we misunderstund each other :-( I answered that we had *kernel* threads but that there was no native API yet,

Re: kernel panics at boot, how to specify dump device?

2000-05-11 Thread Brian O'Shea
On Thu, May 11, 2000 at 12:20:38PM -0700, Marco Molteni wrote: I have a 4-STABLE kernel that panics at boot. How do I force the kernel to core dump? I know that the handbook says to build a debug kernel and to set the dump device via (dumpon + /etc/rc.conf) but in this case the kernel

Re: Looking for advice on lpr/lpd changes

2000-05-11 Thread Garance A Drosihn
At 1:02 PM -0400 5/10/00, Ted Buswell wrote: Right now, you could write a shell script to create all of the various permutations of printer shares, each one with an appropriate "print command" directive in your smb.conf. We have 200 printers in printcap, and each of those printers has at least

Re: Looking for advice on lpr/lpd changes

2000-05-11 Thread Garance A Drosihn
At 12:14 PM -0400 5/10/00, Tim Vanderhoek wrote: On Wed, May 10, Garance A Drosihn wrote: 1990's) with the extra features we've added. Once I have things sorted out, I'll have a number of updates to offer. Cool! [...] If you are hoping to have a serious discussion, a carefully written

Re: Looking for advice on lpr/lpd changes

2000-05-11 Thread Ted Buswell
Garance A Drosihn writes: At 1:02 PM -0400 5/10/00, Ted Buswell wrote: Right now, you could write a shell script to create all of the various permutations of printer shares, each one with an appropriate "print command" directive in your smb.conf. We have 200 printers in printcap,

Re: Looking for advice on lpr/lpd changes

2000-05-11 Thread Bill Fumerola
On Wed, May 10, 2000 at 11:11:23PM -0600, Wes Peters wrote: I've asked that people with pccard pr's also cc me or send me numbers. This has helped somewhat, but I'd like an easier to deal with bug mechanism. Have we given up on Keystone, or is it still under consideration? I would

Re: FreeBSD 4.0 and IBM PS/2 Model 65SX

2000-05-11 Thread Dutch Collins
Gheorghe Ardelean wrote: Hi, can I install FreeBSD 4.0R on a IBM PS/2 Model 65SX with 8MB Ram and 2 SCSI HDD of 120MB each? The netowrk card is an WD8003 and the SCSI Controller is Based on Adaptec AIC-6250EL. regards, Gheorghe ARDELEAN West Univ. Of Timisoara Dept. of

Re: kernel panics at boot, how to specify dump device?

2000-05-11 Thread Greg Lehey
On Thursday, 11 May 2000 at 13:03:59 -0700, Brian O'Shea wrote: On Thu, May 11, 2000 at 12:20:38PM -0700, Marco Molteni wrote: I have a 4-STABLE kernel that panics at boot. How do I force the kernel to core dump? I know that the handbook says to build a debug kernel and to set the dump

Re: Can NMI drop a hanging FreeBSD kernel into DDB?

2000-05-11 Thread Sergey Babkin
Warner Losh wrote: In message [EMAIL PROTECTED] Sergey Babkin writes: : Seems like most of the modern machines just don't have that : pin on the PCI bus connected anywhere. But on most of them : (though not all) the pin on ISA works. Some high-end machines : like Unisys or Compaq have an

Re: Looking for advice on lpr/lpd changes

2000-05-11 Thread Tim Vanderhoek
On Thu, May 11, 2000 at 04:43:25PM -0400, Garance A Drosihn wrote: Hmm. I always assumed that was for "big freebsd architectural changes", as opposed to changes to a "little program" like lpr. I'd rather see a discussion about designing new features for lpr on -arch than I would see a

Dual ethernet tl on Compaq Server

2000-05-11 Thread Christopher T. Griffiths
Hello, I am getting the following error after I upgraded from 3.4 to 4.0 on my Firewall server: tl0: got an invalid interrupt! tl1: got an invalid interrupt! Network services seem ok, but it is throwing this error constantly. It is a cvsup of 4.0 -stable as of a few days ago. The hardware

Re: kernel SMP thread

2000-05-11 Thread Jake Burkholder
Jordan said that the kernel SMP thread is ready in CURRENT FreeBSD, but I could not find any document for the SMP kthread. By looking at the kern/kern_kthread.c code, it does not look like a SMP thread, and does not even have mutex functions in there. Does any one happen to know where is

Why this works?

2000-05-11 Thread FengYue
Hello, I've 3 small programs. First one writes 4K of data contains 'A's into a file /tmp/pagetest and then lseek() to the begin of the file. Second one writes 4K of 'Z' into the same file /tmp/pagetest and then lseek() to the begin of the file. They both do that in a tight loop. Now, the

Re: kernel SMP thread

2000-05-11 Thread FTG staff
I asked a question "Is FreeBSD working on SMP thread?" at both USENIX and FreeBSDcon last year, you answered that it is already in the kernel, but there is no API for userland. Maybe we misunderstund each other :-( I answered that we had *kernel* threads but that there was no native API

Re: Why this works?

2000-05-11 Thread Ville-Pertti Keinonen
[EMAIL PROTECTED] (FengYue) writes: I've 3 small programs. First one writes 4K of data contains 'A's into a file /tmp/pagetest and then lseek() to the begin of the file. Second one writes 4K of 'Z' into the same file /tmp/pagetest and then lseek() to the begin of the file. They both do

Re: Double buffered cp(1)

2000-05-11 Thread Kris Kennaway
On Mon, 24 Apr 2000, Kent Stewart wrote: This is what I see on a buildworld with 4.0-Stable Modified /etc/make.conf and commented out CFLAGS= -Os -pipe 3707.4u 799.6s 1:35:52.46 78.3% 1374+1477k 56974+173232io 2337pf+0w 3693.9u 800.5s 1:29:45.73 83.4% 1375+1477k 55201+173224io 2160pf+0w

Re: icmp-response error

2000-05-11 Thread void
On Thu, May 11, 2000 at 08:33:45AM +0200, [EMAIL PROTECTED] wrote: A while back, I wrote a simplistic, but effect script to print out information about who has a particular port open. There is already a nice program to do this as part of the standard FreeBSD distribution: sockstat. It

Re: FreeBSD Port: xosview-1.7.3

2000-05-11 Thread Arun Sharma
In muc.lists.freebsd.ports, you wrote: Do you happen to know if Xosview can be made to show both CPU's in SMP FreeBsd. I've just swapped from Linux to FreeBsd . See the patches I mailed to freebsd-hackers late last year. You need to patch both the kernel and the userland. I'm a little

Re: FreeBSD 4.0 and IBM PS/2 Model 65SX

2000-05-11 Thread Matthew N. Dodd
On Thu, 11 May 2000, Dutch Collins wrote: Gheorghe Ardelean wrote: can I install FreeBSD 4.0R on a IBM PS/2 Model 65SX with 8MB Ram and 2 SCSI HDD of 120MB each? The netowrk card is an WD8003 and the SCSI Controller is Based on Adaptec AIC-6250EL. NetBSD has a patch for their