Re: Overcommit and calloc()

1999-07-20 Thread Ville-Pertti Keinonen
[EMAIL PROTECTED] (Dag-Erling Smorgrav) writes: "Kelly Yancey" [EMAIL PROTECTED] writes: Ahh...but wouldn't the bzero() touch all of the memory just allocated functionally making it non-overcommit? No. If it were an "non-overcomitting malloc", it would return NULL and set errno to

Re: poor ethernet performance?

1999-07-20 Thread Vincent Poy
On Mon, 19 Jul 1999, Modred wrote: On Sat, 17 Jul 1999, Vincent Poy wrote: BITCHMODE By reading the man page? The manpage doesn't really say anything about how to use ttcp... I don't think manpage useage is -hackers-esque. I know. There is no ttcp binary

Re: poor ethernet performance?

1999-07-20 Thread Vincent Poy
On Mon, 19 Jul 1999, Modred wrote: I'm not sure if it shows the mac address of the cisco's port or the actual device connected to it... You see the MAC of the switch's port. It's been too long since I've played on a Catalyst... but what does 'sh arp' display? Any arp - port -

Re: poor ethernet performance?

1999-07-20 Thread sthaug
You see the MAC of the switch's port. It's been too long since I've played on a Catalyst... but what does 'sh arp' display? Any arp - port - host correlations? Good luck... :) Even if it did show the arp of the actual host, it's useless if it doesn't show the IP of the device

Re: bug in ip_forward() ?

1999-07-20 Thread Wim Livens
On Mon, Jul 19, 1999 at 01:11:02PM -0600, Wes Peters wrote: +--+ +--+ +--+ +--+ | |4.2 4.1| |2.1 2.2| |5.1 5.2| | |btm22t|-|btm22q|-|btm22r|-|btm22u| | | | | | |

Re: poor ethernet performance?

1999-07-20 Thread Vincent Poy
On Tue, 20 Jul 1999 [EMAIL PROTECTED] wrote: You see the MAC of the switch's port. It's been too long since I've played on a Catalyst... but what does 'sh arp' display? Any arp - port - host correlations? Good luck... :) Even if it did show the arp of the actual host, it's

Re: Sv: speed of file(1)

1999-07-20 Thread Warner Losh
Maybe the P60 is memory starved. Thrashing would cause this huge factor of speed difference... Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: PAO

1999-07-20 Thread Warner Losh
In message [EMAIL PROTECTED] Geoffrey Robinson writes: : pccardc: /dev/card0: Device not configured Rebuild your kernel with pccard support. Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Overcommit and calloc()

1999-07-20 Thread Dag-Erling Smorgrav
"Kelly Yancey" [EMAIL PROTECTED] writes: I don't know how many programs make use of calloc() but would not a more efficient algorithm be to better integrate it with malloc() such that if there is a fragment on the heap which can be used, bzero() it and return that, otherwise, simply call

Re: Overcommit and calloc()

1999-07-20 Thread Dag-Erling Smorgrav
John-Mark Gurney [EMAIL PROTECTED] writes: Dag-Erling Smorgrav scribbled this message on Jul 20: When I allocate memory, I usually intend to put something in it. There's always the odd struct sockaddr_in which I bzero() before filling it in, but they're usually on the stack. and even

Re: PAM LDAP in FreeBSD

1999-07-20 Thread Joe Abley
On Mon, Jul 19, 1999 at 06:00:26PM -0600, Oscar Bonilla wrote: I agree. In solaris (and linux by the way) all you do is set passwdldap files in /etc/nsswitch.conf and that's it. In Solaris, it's passwd: ldap files ^ nsswitch.conf(4), SunOS 5.5.1: ... There is an

Re: Overcommit and calloc()

1999-07-20 Thread Peter Dufault
Well, bzero could map all memory (outside the boundaries) to a single zeroed page marked copy on write. The statistics you could gather might then point out some grossly broken programs. Peter -- Peter Dufault ([EMAIL PROTECTED]) Realtime development, Machine control, HD Associates, Inc.

Re: OpenBSD's strlcpy(3) and strlcat(3)

1999-07-20 Thread Sheldon Hearn
On Thu, 15 Jul 1999 18:40:17 CST, Warner Losh wrote: I can see your point. I don't know if I'll like your man pages better or not, but I'd be willing to give them a spin. Bring on the humble pie. It really isn't practical to try to have these pages match the approach of the existing pages.

Re: glibc

1999-07-20 Thread Alexander Voropay
Has anybody done a port of glibc to FreeBSD? (I'm not interested in opinions about how poor it is or how evil the FSF are; I'm only asking to avoid duplicate work. Thanks.) Perhaps if you explain what it is you're trying to accomplish, there might be an easier option than porting *shudder*

KDE on FreeBSD (missing symbols)

1999-07-20 Thread eT
Greets .. I decided to compile KDE-1.1.1 for my 4.0-CURRENT. After compiling all (kde-1.1 and qt-1.44) I get the following errors when startx'ing: ld-elf.so complains about not finding these symbols: __ti6QFrame __ti7QObject __ti7Qblahblahblah I pressume there is something wrong with the way I

Re: PAM LDAP in FreeBSD

1999-07-20 Thread Oscar Bonilla
On Tue, Jul 20, 1999 at 10:59:30PM +1200, Joe Abley wrote: On Mon, Jul 19, 1999 at 06:00:26PM -0600, Oscar Bonilla wrote: I agree. In solaris (and linux by the way) all you do is set passwd ldap files in /etc/nsswitch.conf and that's it. In Solaris, it's passwd: ldap files

Re: POSIX threads question

1999-07-20 Thread Nick Hibma
Files are block buffered not line buffered. Switch on hot piping (sorry, don't know how to), or wait until you have written 64kb, of flush more often. Nick On Tue, 20 Jul 1999, Andrei Iltchenko wrote: Hi there, I have written a multithreaded application. In which, I have redirected

Re: POSIX threads question

1999-07-20 Thread Andy Doran
man 3 setvbuf - ad Hi there, I have written a multithreaded application. In which, I have redirected stdin, stdout and stderr to some files. Does anybody know why if I make a call to fprintf family of functions, I get nothing in the output files, until I call fflush? To Unsubscribe:

Re: PAM LDAP in FreeBSD

1999-07-20 Thread David E. Cross
Couldn't we do this with /etc/auth.conf? What's the real purpose of this file? From the man page: "auth.conf contains various attributes important to the authentication code, most notably kerberos(5) for the time being." Isn't this what PAM is about? authentication? or does auth.conf cover

Re: PAM LDAP in FreeBSD, and userfs too.

1999-07-20 Thread Jason Thorpe
On Tue, 20 Jul 1999 10:02:43 +0100 Dominic Mitchell [EMAIL PROTECTED] wrote: How will you get around one of the major bugbears of the Solaris implementation, that is nscd serialises access to these databases? I understand that the caching will allow you to return most responses

Re: USFS (User Space File System)

1999-07-20 Thread Matthew Dillon
: :David, : : Unless I am misunderstanding you, mfs does what you are :describing. : : --John No, MFS runs in supervisor mode. That mfs process that you see hanging there is just placemarking the VM space. -Matt To

RE: Overcommit and calloc()

1999-07-20 Thread Kelly Yancey
From: Charles Randall I have another post on this list which begs the question: if memory given to us from sbrk() is already zeroed, why zero it again if we don't have too if we make calloc() smarter, we could save come clock cycles. Because the memory returned from malloc() might be

RE: Overcommit and calloc()

1999-07-20 Thread Bob Bishop
Hi, At 1:28 pm -0400 20/7/99, Kelly Yancey wrote: [...] On recent thought though, I seem to recall having read in the 4.4BSD Daemon book that having the kernel zero memory is not the preferred practice, but present because when they tried to stop many progrems dies which assumed memory was

Re: RE: Overcommit and calloc()

1999-07-20 Thread Matthew Dillon
:Hi, : :At 1:28 pm -0400 20/7/99, Kelly Yancey wrote: :[...] : On recent thought though, I seem to recall having read in the 4.4BSD :Daemon book that having the kernel zero memory is not the preferred :practice, but present because when they tried to stop many progrems dies :which assumed memory

Re: USFS (User Space File System)

1999-07-20 Thread John Milford
Matthew Dillon [EMAIL PROTECTED] wrote: No, MFS runs in supervisor mode. That mfs process that you see hanging there is just placemarking the VM space. -Matt Well, I think there is a little more to it than that. I believe it

Re: USFS (User Space File System)

1999-07-20 Thread Matthew Dillon
: :Matthew Dillon [EMAIL PROTECTED] wrote: : : : No, MFS runs in supervisor mode. That mfs process that you see hanging : there is just placemarking the VM space. : : -Matt : : : Well, I think there is a little more to it than that. I

RE: RE: Overcommit and calloc()

1999-07-20 Thread Kelly Yancey
-Original Message- From: Matthew Dillon [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 20, 1999 1:53 PM To: Kelly Yancey Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: RE: Overcommit and calloc() I think this would be a waste of time. As I have said, very few

Re: Xircomm ethernet cards....

1999-07-20 Thread Kyle McPeek
Hi, The Xircom CreditCard Ethernet 10/100 seems to work in -Stable only. I had to burn a 3.2-RELEASE CD to install from, then put a 3.2-STABLE kernel on my laptop from another machine using the floppy. If you can make/get a 3.2-STABLE cd then that should work just fine, it is for me

Re: PAM LDAP in FreeBSD

1999-07-20 Thread John Polstra
In article [EMAIL PROTECTED], Oscar Bonilla [EMAIL PROTECTED] wrote: Couldn't we do this with /etc/auth.conf? The plan when PAM was brought in was to eliminate auth.conf. I don't think we should be looking for new uses for it. John -- John Polstra

wcs stuffs...

1999-07-20 Thread David E. Cross
Yes, I am still working on it, don't despair ;) This is the case of project creep... I am now working on the 'isw*()' functions, and I have a couple of questions regarding locale support in FreeBSD. Namely, how the heck do I get access to the database? I see that the LC_* databases have all

Re: glibc

1999-07-20 Thread Alex Zepeda
On Tue, 20 Jul 1999, Alexander Voropay wrote: glibc has better POSIX locale and I18N / L10N support : - localedef(1) and locale(1) utilities - nl_langinfo(3) XPG-4 function - gettext built-in into glibc Again this is just a handful of functions, that IMO are best not put into libc. Take

Re: USFS (User Space File System)

1999-07-20 Thread John Milford
Matthew Dillon [EMAIL PROTECTED] wrote: This seems like an unnecessary complication to me. It would be easier to simply make it a device that you can open(), read(), and write() as I first suggested. MFS is not a good template for any of this. MFS is very, very simple

Re: any docs on how to use bus_dma_tag_create e.a. ?

1999-07-20 Thread Justin T. Gibbs
In article [EMAIL PROTECTED] you wrote: I'm currently trying to hack a driver together for a PCI card that uses shared memory to communicate to the host. If I'm not completely offtrack I need to use (under newbus/-current) bus_dma_tag_create, bus_dma_alloc etc to get access to the cards

Re: PAM LDAP in FreeBSD

1999-07-20 Thread Oscar Bonilla
On Tue, Jul 20, 1999 at 11:49:42AM -0700, John Polstra wrote: In article [EMAIL PROTECTED], Oscar Bonilla [EMAIL PROTECTED] wrote: Couldn't we do this with /etc/auth.conf? The plan when PAM was brought in was to eliminate auth.conf. I don't think we should be looking for new uses for

Re: freebsd-hackers-digest V4 #553

1999-07-20 Thread Peter Jeremy
John-Mark Gurney [EMAIL PROTECTED] wrote: and even then, I don't believe in filling sockaddr_in w/ bzero, I believe in using getsockaddr on it so that you actually get all the fields filled out properly... % man getsockaddr No manual entry for getsockaddr % The only getsockaddr() I can find in

Re: freebsd-hackers-digest V4 #553

1999-07-20 Thread Brian F. Feldman
On Wed, 21 Jul 1999, Peter Jeremy wrote: John-Mark Gurney [EMAIL PROTECTED] wrote: and even then, I don't believe in filling sockaddr_in w/ bzero, I believe in using getsockaddr on it so that you actually get all the fields filled out properly... % man getsockaddr No manual entry for

Re: freebsd-hackers-digest V4 #553

1999-07-20 Thread John-Mark Gurney
Brian F. Feldman scribbled this message on Jul 20: On Wed, 21 Jul 1999, Peter Jeremy wrote: John-Mark Gurney [EMAIL PROTECTED] wrote: and even then, I don't believe in filling sockaddr_in w/ bzero, I believe in using getsockaddr on it so that you actually get all the fields filled out

Re: USFS (User Space File System)

1999-07-20 Thread Matthew Dillon
:On Mon, 19 Jul 1999, John Milford wrote: : : Unless I am misunderstanding you, mfs does what you are : describing. : :I'm pretty sure you're misunderstanding him. MFS is not even close. : :ron You know, none of us are being clear :-) The basic problem is that MFS is not a

Re: PAM LDAP in FreeBSD

1999-07-20 Thread John Polstra
Oscar Bonilla wrote: ok, so this clarifies a lot of things... let's get rid of /etc/auth.conf and go with /etc/pam.conf for the authentication and /etc/nsswitch.conf for the info on where to obtain the databases from. That seems reasonable to me. PAM actually is designed to serve four

Re: KDE on FreeBSD (missing symbols)

1999-07-20 Thread Alex Zepeda
On Tue, 20 Jul 1999, Doug Rabson wrote: You've gotta choose between the lesser of two evils. First, Qt 1.44 is *not* recommended you should use Qt 1.42. Second of all, TT's support of FreeBSD sucks, the FreeBSD port of Qt sucks. TT has enabled -fno-rtti which causes problems for

Re: linking question...

1999-07-20 Thread Wes Peters
"David E. Cross" wrote: I have a program (part of CDE)... we will call it 'foo', "foo" has library dependancies: libtt.so, libX11.so, libXt.so, libXext.so, and libwcs.so(this last one is mine). libtt.so depends on iswalpha() and iswspace() (which are defined in libwcs.so) If I link

problems with the integrated tcp-wrappers.

1999-07-20 Thread Greg Skafte
I've just recently switched from using the tcpwrappers port to the native tcpwrappers implemention the following config entries worked on the port but are not working with the native [EMAIL PROTECTED] ftpd [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] :\ KNOWN :\

Proposal for new syscall to close files

1999-07-20 Thread Peter Jeremy
It's fairly common, when spawning new processes, to want to make sure all unwanted FDs are closed. Currently, the options for doing this are: 1) Use fcntl(fd, F_SETFD, FD_CLOEXEC) to set the close-on-exec flag when the file is opened/cloned. This may not be practical if the FD must

Re: poor ethernet performance?

1999-07-20 Thread Modred
On Tue, 20 Jul 1999, Vincent Poy wrote: No idea but it seems like the people who sold the Cisco switches atleast claimed that each port is supposed to be secure to prevent packet sniffing by people on the other ports... Perhaps they were touting 'VLANs'? I can see seperate/many,

Re: glibc

1999-07-20 Thread Joel Ray Holveck
I know it isn't standard. But it works well, and is used by a lot of programs. Perhaps it should have been put in another library than libc, though. Actually, I'd better suggest this to the GNU people right ahead. There has been talking of having a libgnu.a to contain common routines like

understanding code related to forced COW for debugger

1999-07-20 Thread Zhihui Zhang
I have tried to understand the following code in vm_map_lookup() without much success: if (fault_type VM_PROT_OVERRIDE_WRITE) prot = entry-max_protection; else prot = entry-protection; if (entry-wired_count

Call for testers: Adaptec AIC-6915 fast ethernet driver

1999-07-20 Thread Bill Paul
A driver for FreeBSD 3.x and 4.0-current is now available for testing for fast ethernet adapters based on the Adaptec AIC-6915 "Starfire" ethernet controller. This includes the following Adaptec "Duralink" models: - ANA-62011 single port 64-bit adapter - ANA-62022 dual port 64-bit adapter -

Re: linking question...

1999-07-20 Thread David E. Cross
I have a program (part of CDE)... we will call it 'foo', "foo" has library dependancies: libtt.so, libX11.so, libXt.so, libXext.so, and libwcs.so(this last one is mine). libtt.so depends on iswalpha() and iswspace() (which are defined in libwcs.so) If I link with all of those

Re: KDE on FreeBSD (missing symbols)

1999-07-20 Thread eT
Alex Zepeda wrote: With whatever Qt version you're using go into the appropiate configs/freebsd-... file and remove -fno-rtti. Hi alex, thanks for the speedy response. I can't find any 'fno-rtti' to start with in the freebsd-g++-shared/static? So, I compiled it without that flag anyway. I

Re: Overcommit and calloc()

1999-07-20 Thread Ville-Pertti Keinonen
d...@flood.ping.uio.no (Dag-Erling Smorgrav) writes: Kelly Yancey kby...@alcnet.com writes: Ahh...but wouldn't the bzero() touch all of the memory just allocated functionally making it non-overcommit? No. If it were an non-overcomitting malloc, it would return NULL and set errno to

Re: poor ethernet performance?

1999-07-20 Thread Vincent Poy
On Mon, 19 Jul 1999, Modred wrote: On Sat, 17 Jul 1999, Vincent Poy wrote: BITCHMODE By reading the man page? The manpage doesn't really say anything about how to use ttcp... I don't think manpage useage is -hackers-esque. I know. There is no ttcp binary anywhere

Re: poor ethernet performance?

1999-07-20 Thread Vincent Poy
On Mon, 19 Jul 1999, Modred wrote: I'm not sure if it shows the mac address of the cisco's port or the actual device connected to it... You see the MAC of the switch's port. It's been too long since I've played on a Catalyst... but what does 'sh arp' display? Any arp - port - host

Re: poor ethernet performance?

1999-07-20 Thread sthaug
You see the MAC of the switch's port. It's been too long since I've played on a Catalyst... but what does 'sh arp' display? Any arp - port - host correlations? Good luck... :) Even if it did show the arp of the actual host, it's useless if it doesn't show the IP of the device

Re: bug in ip_forward() ?

1999-07-20 Thread Wim Livens
On Mon, Jul 19, 1999 at 01:11:02PM -0600, Wes Peters wrote: +--+ +--+ +--+ +--+ | |4.2 4.1| |2.1 2.2| |5.1 5.2| | |btm22t|-|btm22q|-|btm22r|-|btm22u| | | | | | |

Re: poor ethernet performance?

1999-07-20 Thread Vincent Poy
On Tue, 20 Jul 1999 sth...@nethelp.no wrote: You see the MAC of the switch's port. It's been too long since I've played on a Catalyst... but what does 'sh arp' display? Any arp - port - host correlations? Good luck... :) Even if it did show the arp of the actual host, it's

Re: PAM LDAP in FreeBSD, and userfs too.

1999-07-20 Thread Dominic Mitchell
On Mon, Jul 19, 1999 at 12:55:19PM -0700, Jason Thorpe wrote: On Mon, 19 Jul 1999 20:44:18 +0100 Dominic Mitchell dom.mitch...@palmerharvey.co.uk wrote: Lovely. Sounds like a much better way to do the Solaris/Linux (and NetBSD?) /etc/nsswitch.conf stuff. On Solaris at least, this is

Re: Sv: speed of file(1)

1999-07-20 Thread Warner Losh
Maybe the P60 is memory starved. Thrashing would cause this huge factor of speed difference... Warner To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-hackers in the body of the message

Re: PAO

1999-07-20 Thread Warner Losh
In message 3793dad7.67fba...@click2net.com Geoffrey Robinson writes: : pccardc: /dev/card0: Device not configured Rebuild your kernel with pccard support. Warner To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-hackers in the body of the message

Re: Overcommit and calloc()

1999-07-20 Thread Dag-Erling Smorgrav
Kelly Yancey kby...@alcnet.com writes: I don't know how many programs make use of calloc() but would not a more efficient algorithm be to better integrate it with malloc() such that if there is a fragment on the heap which can be used, bzero() it and return that, otherwise, simply call

Re: Overcommit and calloc()

1999-07-20 Thread John-Mark Gurney
Dag-Erling Smorgrav scribbled this message on Jul 20: When I allocate memory, I usually intend to put something in it. There's always the odd struct sockaddr_in which I bzero() before filling it in, but they're usually on the stack. and even then, I don't believe in filling sockaddr_in w/

Re: Overcommit and calloc()

1999-07-20 Thread Dag-Erling Smorgrav
John-Mark Gurney gurne...@efn.org writes: Dag-Erling Smorgrav scribbled this message on Jul 20: When I allocate memory, I usually intend to put something in it. There's always the odd struct sockaddr_in which I bzero() before filling it in, but they're usually on the stack. and even then,

Re: PAM LDAP in FreeBSD

1999-07-20 Thread Joe Abley
On Mon, Jul 19, 1999 at 06:00:26PM -0600, Oscar Bonilla wrote: I agree. In solaris (and linux by the way) all you do is set passwdldap files in /etc/nsswitch.conf and that's it. In Solaris, it's passwd: ldap files ^ nsswitch.conf(4), SunOS 5.5.1: ... There is an

Re: Overcommit and calloc()

1999-07-20 Thread Peter Dufault
Well, bzero could map all memory (outside the boundaries) to a single zeroed page marked copy on write. The statistics you could gather might then point out some grossly broken programs. Peter -- Peter Dufault (dufa...@hda.com) Realtime development, Machine control, HD Associates, Inc.

Re: OpenBSD's strlcpy(3) and strlcat(3)

1999-07-20 Thread Sheldon Hearn
On Thu, 15 Jul 1999 18:40:17 CST, Warner Losh wrote: I can see your point. I don't know if I'll like your man pages better or not, but I'd be willing to give them a spin. Bring on the humble pie. It really isn't practical to try to have these pages match the approach of the existing pages.

Re: glibc

1999-07-20 Thread Alexander Voropay
Has anybody done a port of glibc to FreeBSD? (I'm not interested in opinions about how poor it is or how evil the FSF are; I'm only asking to avoid duplicate work. Thanks.) Perhaps if you explain what it is you're trying to accomplish, there might be an easier option than porting *shudder*

KDE on FreeBSD (missing symbols)

1999-07-20 Thread eT
Greets .. I decided to compile KDE-1.1.1 for my 4.0-CURRENT. After compiling all (kde-1.1 and qt-1.44) I get the following errors when startx'ing: ld-elf.so complains about not finding these symbols: __ti6QFrame __ti7QObject __ti7Qblahblahblah I pressume there is something wrong with the way I

POSIX threads question

1999-07-20 Thread Andrei Iltchenko
Hi there, I have written a multithreaded application. In which, I have redirected stdin, stdout and stderr to some files. Does anybody know why if I make a call to fprintf family of functions, I get nothing in the output files, until I call fflush? Thank you in advance.

Re: m68k Support in FreeBSD

1999-07-20 Thread Adrian Filipi-Martin
On Mon, 19 Jul 1999, Brian F. Feldman wrote: On Mon, 19 Jul 1999, Jordan K. Hubbard wrote: website (http://www.freebsd.org/~green/FreeBSD-68k.txt). In about two weeks I'll have a spare Macintosh IIsi and would like to have a run at FreeBSD on it. So, to the point, where can I get

Re: PAM LDAP in FreeBSD

1999-07-20 Thread Oscar Bonilla
On Tue, Jul 20, 1999 at 10:59:30PM +1200, Joe Abley wrote: On Mon, Jul 19, 1999 at 06:00:26PM -0600, Oscar Bonilla wrote: I agree. In solaris (and linux by the way) all you do is set passwd ldap files in /etc/nsswitch.conf and that's it. In Solaris, it's passwd: ldap files

Re: POSIX threads question

1999-07-20 Thread Nick Hibma
Files are block buffered not line buffered. Switch on hot piping (sorry, don't know how to), or wait until you have written 64kb, of flush more often. Nick On Tue, 20 Jul 1999, Andrei Iltchenko wrote: Hi there, I have written a multithreaded application. In which, I have redirected

Re: POSIX threads question

1999-07-20 Thread Andy Doran
man 3 setvbuf - ad Hi there, I have written a multithreaded application. In which, I have redirected stdin, stdout and stderr to some files. Does anybody know why if I make a call to fprintf family of functions, I get nothing in the output files, until I call fflush? To Unsubscribe:

Re: PAM LDAP in FreeBSD

1999-07-20 Thread David E. Cross
Couldn't we do this with /etc/auth.conf? What's the real purpose of this file? From the man page: auth.conf contains various attributes important to the authentication code, most notably kerberos(5) for the time being. Isn't this what PAM is about? authentication? or does auth.conf cover the

Re: Setting up a firewall with dynamic IPs

1999-07-20 Thread Joel Ray Holveck
Usually if a connection succeeds the firewall isn't stopping it at all. How is nmap figuring out the service type? I assume by making a connection and probing it. Nothing so elegant. It uses /etc/services. Most of its scans never finish opening the connection. (This is why it will

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: PAM LDAP in FreeBSD

1999-07-20 Thread Kris Kennaway
On Tue, 20 Jul 1999, David E. Cross wrote: Couldn't we do this with /etc/auth.conf? What's the real purpose of this file? From the man page: auth.conf contains various attributes important to the authentication code, most notably kerberos(5) for the time being. Isn't this what PAM is

Re: PAM LDAP in FreeBSD, and userfs too.

1999-07-20 Thread Jason Thorpe
On Tue, 20 Jul 1999 10:02:43 +0100 Dominic Mitchell dom.mitch...@palmerharvey.co.uk wrote: How will you get around one of the major bugbears of the Solaris implementation, that is nscd serialises access to these databases? I understand that the caching will allow you to return most

Re: USFS (User Space File System)

1999-07-20 Thread Matthew Dillon
: :David, : : Unless I am misunderstanding you, mfs does what you are :describing. : : --John No, MFS runs in supervisor mode. That mfs process that you see hanging there is just placemarking the VM space. -Matt To

RE: Overcommit and calloc()

1999-07-20 Thread Kelly Yancey
From: Charles Randall I have another post on this list which begs the question: if memory given to us from sbrk() is already zeroed, why zero it again if we don't have too if we make calloc() smarter, we could save come clock cycles. Because the memory returned from malloc() might be

Re: Sv: speed of file(1)

1999-07-20 Thread Matthew Dillon
: :Maybe the P60 is memory starved. Thrashing would cause this huge :factor of speed difference... : :Warner No, I tested it on my 1G box - there was a very noticeable delay running 'file' on a simple text file. Something in the file program or in the data description is causing

RE: Overcommit and calloc()

1999-07-20 Thread David Wolfskill
From: Kelly Yancey kby...@alcnet.com Date: Tue, 20 Jul 1999 13:28:21 -0400 On recent thought though, I seem to recall having read in the 4.4BSD Daemon book that having the kernel zero memory is not the preferred practice, but present because when they tried to stop many progrems dies which

RE: Overcommit and calloc()

1999-07-20 Thread Bob Bishop
Hi, At 1:28 pm -0400 20/7/99, Kelly Yancey wrote: [...] On recent thought though, I seem to recall having read in the 4.4BSD Daemon book that having the kernel zero memory is not the preferred practice, but present because when they tried to stop many progrems dies which assumed memory was

Re: RE: Overcommit and calloc()

1999-07-20 Thread Matthew Dillon
I think this would be a waste of time. As I have said, very few large allocations use calloc(). Nearly all small allocations come off the heap. The cost of adding the complexity to calloc to avoid zeroing the data is not going to be worth the minor (and unnoticeable)

Re: RE: Overcommit and calloc()

1999-07-20 Thread Matthew Dillon
:Hi, : :At 1:28 pm -0400 20/7/99, Kelly Yancey wrote: :[...] : On recent thought though, I seem to recall having read in the 4.4BSD :Daemon book that having the kernel zero memory is not the preferred :practice, but present because when they tried to stop many progrems dies :which assumed memory

Xircomm ethernet cards....

1999-07-20 Thread crypt0genic
I have a Xircomm 10/100 pcmcia ethernet card for my laptop and after seraching the mailing lists it is pretty obivious that it is'nt supported. Does and one know of any new developments on this? hacks? If not can some one recommend a good card for freebsd, it would have to be 10/100 mbit and

Re: USFS (User Space File System)

1999-07-20 Thread John Milford
Matthew Dillon dil...@apollo.backplane.com wrote: No, MFS runs in supervisor mode. That mfs process that you see hanging there is just placemarking the VM space. -Matt Well, I think there is a little more to it than that. I

Re: USFS (User Space File System)

1999-07-20 Thread Matthew Dillon
: :Matthew Dillon dil...@apollo.backplane.com wrote: : : : No, MFS runs in supervisor mode. That mfs process that you see hanging : there is just placemarking the VM space. : : -Matt : : : Well, I think there is a little more to it than

RE: RE: Overcommit and calloc()

1999-07-20 Thread Kelly Yancey
-Original Message- From: Matthew Dillon [mailto:dil...@apollo.backplane.com] Sent: Tuesday, July 20, 1999 1:53 PM To: Kelly Yancey Cc: crand...@matchlogic.com; freebsd-hackers@FreeBSD.ORG Subject: Re: RE: Overcommit and calloc() I think this would be a waste of time. As I

Re: Xircomm ethernet cards....

1999-07-20 Thread Kyle McPeek
Hi, The Xircom CreditCard Ethernet 10/100 seems to work in -Stable only. I had to burn a 3.2-RELEASE CD to install from, then put a 3.2-STABLE kernel on my laptop from another machine using the floppy. If you can make/get a 3.2-STABLE cd then that should work just fine, it is for me

Re: PAM LDAP in FreeBSD

1999-07-20 Thread John Polstra
In article 19990720082825.b...@fisicc-ufm.edu, Oscar Bonilla oboni...@fisicc-ufm.edu wrote: Couldn't we do this with /etc/auth.conf? The plan when PAM was brought in was to eliminate auth.conf. I don't think we should be looking for new uses for it. John -- John Polstra

wcs stuffs...

1999-07-20 Thread David E. Cross
Yes, I am still working on it, don't despair ;) This is the case of project creep... I am now working on the 'isw*()' functions, and I have a couple of questions regarding locale support in FreeBSD. Namely, how the heck do I get access to the database? I see that the LC_* databases have all the

Re: glibc

1999-07-20 Thread Alex Zepeda
On Tue, 20 Jul 1999, Alexander Voropay wrote: glibc has better POSIX locale and I18N / L10N support : - localedef(1) and locale(1) utilities - nl_langinfo(3) XPG-4 function - gettext built-in into glibc Again this is just a handful of functions, that IMO are best not put into libc. Take

any docs on how to use bus_dma_tag_create e.a. ?

1999-07-20 Thread Wilko Bulte
I'm currently trying to hack a driver together for a PCI card that uses shared memory to communicate to the host. If I'm not completely offtrack I need to use (under newbus/-current) bus_dma_tag_create, bus_dma_alloc etc to get access to the cards shared memory. I'm looking for more detailed

Re: if_dl.h in stable causes sendmail segmentation

1999-07-20 Thread John Polstra
In article 199907201542.raa02...@oskar.nanoteq.co.za, Reinier Bezuidenhout rbezu...@oskar.nanoteq.co.za wrote: I have the following situation... ... [various userland SEGVs traced down to a change in if_dl.h] Just a guess: it sounds like the kind of thing that would happen if you updated your

Re: RE: Overcommit and calloc()

1999-07-20 Thread Bob Bishop
Hi again, At 10:54 am -0700 20/7/99, Matthew Dillon wrote: [...] It should also be noted that unless your system is entirely cpu-bound, there is no cost to the kernel to zero memory because it pre-zero's pages in its idle loop. Thanks to distributed.net, SETI. et al, idle cycles are

Re: USFS (User Space File System)

1999-07-20 Thread John Milford
Matthew Dillon dil...@apollo.backplane.com wrote: This seems like an unnecessary complication to me. It would be easier to simply make it a device that you can open(), read(), and write() as I first suggested. MFS is not a good template for any of this. MFS is very, very

Re: KDE on FreeBSD (missing symbols)

1999-07-20 Thread Alex Zepeda
On Tue, 20 Jul 1999, eT wrote: Greets .. I decided to compile KDE-1.1.1 for my 4.0-CURRENT. After compiling all (kde-1.1 and qt-1.44) I get the following errors when startx'ing: ld-elf.so complains about not finding these symbols: __ti6QFrame __ti7QObject __ti7Qblahblahblah I pressume

Re: any docs on how to use bus_dma_tag_create e.a. ?

1999-07-20 Thread Justin T. Gibbs
In article 199907201904.vaa03...@yedi.iaf.nl you wrote: I'm currently trying to hack a driver together for a PCI card that uses shared memory to communicate to the host. If I'm not completely offtrack I need to use (under newbus/-current) bus_dma_tag_create, bus_dma_alloc etc to get access

Re: any docs on how to use bus_dma_tag_create e.a. ?

1999-07-20 Thread Wilko Bulte
As Justin T. Gibbs wrote ... In article 199907201904.vaa03...@yedi.iaf.nl you wrote: I'm currently trying to hack a driver together for a PCI card that uses shared memory to communicate to the host. If I'm not completely offtrack I need to use (under newbus/-current)

Re: PAM LDAP in FreeBSD

1999-07-20 Thread Oscar Bonilla
It looks like we've got some good concurrent projects happening at the moment - markm and co working on PAM, the nsswitch.conf project you're talking about, and the stuff I'm working on with modularizing crypt() and supporting per-login class password hashes (I've rewritten the library since

Re: PAM LDAP in FreeBSD

1999-07-20 Thread Oscar Bonilla
On Tue, Jul 20, 1999 at 11:49:42AM -0700, John Polstra wrote: In article 19990720082825.b...@fisicc-ufm.edu, Oscar Bonilla oboni...@fisicc-ufm.edu wrote: Couldn't we do this with /etc/auth.conf? The plan when PAM was brought in was to eliminate auth.conf. I don't think we should be

  1   2   >