RE: IDE quirk in 3.2-STABLE kernel ?

1999-08-04 Thread Vince Vielhaber
On Wed, 4 Aug 1999, Biju Susmer wrote: hi, I tried yesterday to make the kernel understand my CD ROM drive.. but it refused. Here is the dmesg (of boot -v)... is my config wrong or i missed something? The drive is Acer 32X and connected as secondary slave. It is seen by Win98 and BIOS.

Re: Solution for mail pseudo-users?

1999-08-04 Thread Markus Stumpf
On Tue, Aug 03, 1999 at 02:22:17PM -0700, Alex Zepeda wrote: Also you'll have to run the script to allow users to change passwords as "root", which you probably will NOT want to do (same for adding/ deleting/changing users) So with your setup, any user can add/delete/modify existing

Re: Onstream?

1999-08-04 Thread Soren Schmidt
It seems Vince Vielhaber wrote: Out of curiousity, have there been any successes in the drivers for the OnStream tape drives (SCSI or IDE)? Working on it (for IDE that is), support is planned for, but I have no release date yet... I know that there is work done on the SCSI end too...

Re: Multiple versions of FreeBSD on one HDD

1999-08-04 Thread Mike Pritchard
At 8:01 PM +0200 8/3/99, Robert Nordier wrote: - If I select 3.2 at the PowerBoot menu, it comes up with two messages about "invalid partition", [...] It seems to want to boot 'da(0,a)/kernel', but if I type in 'da(0,e)/kernel', then it boots up fine. The

Re: BSD voice synthesis

1999-08-04 Thread Dag-Erling Smorgrav
Ville-Pertti Keinonen [EMAIL PROTECTED] writes: I certainly don't expect any of the available voices to be able to pronounce Finnish names correctly, even with phonetic specifications. If the software were *designed* to speak Finnish, I'd expect it to cope with Finnish much better than it

Re: Results of investigating optimizing calloc()...

1999-08-04 Thread Dag-Erling Smorgrav
"Kelly Yancey" [EMAIL PROTECTED] writes: [...] Which reminds me - has anyone thought of using DMA for zeroing pages, to avoid cache invalidation? The idea is to keep a chunk of zeroes on disk and DMA it into memory instead of clearing pages "manually". This assumes your disk supports DMA, of

Re: BSD voice synthesis

1999-08-04 Thread Ville-Pertti Keinonen
[EMAIL PROTECTED] (Dag-Erling Smorgrav) writes: Ville-Pertti Keinonen [EMAIL PROTECTED] writes: I certainly don't expect any of the available voices to be able to pronounce Finnish names correctly, even with phonetic specifications. If the software were *designed* to speak Finnish, I'd

Re: Tekram DC-390U2W support (80Mb/sec operation)

1999-08-04 Thread Stuart Henderson
Hey all, I purchased a Tekram DC-390U2W scsi controller to use with a FreeBSD server of mine. It uses the NCR 53c141 (and 53c895?) chipset(s). I see that ncr.c supports the NCR 53c8xx family of chipsets.. which the controller is seen as having a 53c895, which only supports 40Mb/sec

Re: Tekram DC-390U2W support (80Mb/sec operation)

1999-08-04 Thread Stuart Henderson
What makes you think you haven't got 80mbps? How would you tell? Something like this in your dmesg/boot output. da0: 80.000MB/s transfers (40.000MHz, offset 15, 16bit), Tagged Queueing Enabled To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the

Re: [Fwd: Please support FreeBSD 3.x as host OS]

1999-08-04 Thread Assar Westerlund
Alfred Perlstein [EMAIL PROTECTED] writes: I heard they have released the source to the kernel modules needed to run it. why not port them over? :) I started looking at the kernel modules and porting them, however, I must confess that I don't fully understand exactly what the linux kernel

fetch: default to passive mode?

1999-08-04 Thread Chuck Youse
I have a really strong urge to submit a PR to make fetch default to passive mode, instead of requiring a command-line switch ... In this day and age, with firewalls and NAT abound, it's a bit odd that such a change has not already been made. Am I missing something? Is there a reason we haven't

Re: [Fwd: Please support FreeBSD 3.x as host OS]

1999-08-04 Thread Milan Kopacka
On Wed, 4 Aug 1999, Alfred Perlstein wrote: I started looking at the kernel modules and porting them, however, I must confess that I don't fully understand exactly what the linux kernel module does, which makes it somewhat harder to implement the same functionality on FreeBSD :-) a

Re: [Fwd: Please support FreeBSD 3.x as host OS]

1999-08-04 Thread Alfred Perlstein
On Wed, 4 Aug 1999, Milan Kopacka wrote: On Wed, 4 Aug 1999, Alfred Perlstein wrote: I started looking at the kernel modules and porting them, however, I must confess that I don't fully understand exactly what the linux kernel module does, which makes it somewhat harder to implement

Re: Multiple versions of FreeBSD on one HDD

1999-08-04 Thread Graham Wheeler
Robert Nordier wrote: Because most modern BIOSes do CHS translation, the BIOS geometry is not always evident from the geometry reported by the drive, and FreeBSD may get this wrong, particularly if no existing partitions are defined. Since you are installing to a drive with no

Re: Jail syscalls

1999-08-04 Thread Brian F. Feldman
On 4 Aug 1999, Assar Westerlund wrote: "Brian F. Feldman" [EMAIL PROTECTED] writes: On Tue, 3 Aug 1999, Mike Smith wrote: Actually, with interfaces like this you should generally pass a pointer to the structure in userspace, and stick a version number constant in the beginning

Re: Jail syscalls

1999-08-04 Thread Brian F. Feldman
On Wed, 4 Aug 1999, Doug Rabson wrote: The argument for versioning is not simply because the size of ip_number might change (it should be a sockaddr) but because other fields might be added or removed. To avoid allocating a new syscall whenever this happens, the structure should be

Re: [Fwd: Please support FreeBSD 3.x as host OS]

1999-08-04 Thread Assar Westerlund
Soren Schmidt [EMAIL PROTECTED] writes: I started looking at the kernel modules and porting them, however, I must confess that I don't fully understand exactly what the linux kernel module does, which makes it somewhat harder to implement the same functionality on FreeBSD :-) If you

Re: Jail syscalls

1999-08-04 Thread Assar Westerlund
"Brian F. Feldman" [EMAIL PROTECTED] writes: As I read it, sockaddr is a transparent type (overloaded, as it were). So we would use something like: struct jail { ... struct sockaddr; char [SOCK_MAXADDRLEN - sizeof(struct sockaddr)];

Re: NSS Project

1999-08-04 Thread Assar Westerlund
Peter Jeremy [EMAIL PROTECTED] writes: We need to be able to build an application that has no dynamically loaded code for recovery purposes (/stand and /sbin) as well as for security. Isn't that the same problem as with PAM? /assar To Unsubscribe: send mail to [EMAIL PROTECTED] with

Re: Multiple versions of FreeBSD on one HDD

1999-08-04 Thread Robert Nordier
Because most modern BIOSes do CHS translation, the BIOS geometry is not always evident from the geometry reported by the drive, and FreeBSD may get this wrong, particularly if no existing partitions are defined. Since you are installing to a drive with no pre-existing non-FreeBSD

NSS Project update

1999-08-04 Thread Oscar Bonilla
After collecting a bunch of emails from the list, this is the approach I'll be taking: 1. use the existing nsdispatch code obtained from NetBSD as a base for parsing the /etc/nsswitch.conf file. 2. Make the C library nsdispatch aware. The dtab[] array will be filled dynamicaly from the

Re: TCP stack hackers take a bow

1999-08-04 Thread Nik Clayton
On Tue, Aug 03, 1999 at 07:52:26PM -0400, Bill Fumerola wrote: On Tue, 3 Aug 1999, Ted Faber wrote: http://www.sciencedaily.com/releases/1999/08/990802072727.htm The Duke release credits one Andrew Gallatin for a couple quotes. Not only FreeBSD in the news, but one of our own

Re: Building a new kernel

1999-08-04 Thread David Scheidt
On Wed, 4 Aug 1999, Warner Losh wrote: I have a freebsd-stable system. I can't build a kernel for freebsd-current on that system unless I upgrade my compiler to egcs. Will this cause problems for our upgrade proceedure? gcc 2.7.2.3 doesn't like i386/include/atomic.h. It complains about

Re: Building a new kernel

1999-08-04 Thread Osokin Sergey
On Wed, 4 Aug 1999, Warner Losh wrote: I have a freebsd-stable system. I can't build a kernel for freebsd-current on that system unless I upgrade my compiler to egcs. Will this cause problems for our upgrade proceedure? gcc 2.7.2.3 doesn't like i386/include/atomic.h. It complains

Re: Results of investigating optimizing calloc()...

1999-08-04 Thread Wilko Bulte
As Dag-Erling Smorgrav wrote ... "Kelly Yancey" [EMAIL PROTECTED] writes: [...] Which reminds me - has anyone thought of using DMA for zeroing pages, to avoid cache invalidation? The idea is to keep a chunk of zeroes on disk and DMA it into memory instead of clearing pages "manually".

Re: Building a new kernel

1999-08-04 Thread Warner Losh
In message [EMAIL PROTECTED] Osokin Sergey writes: : try to cvsup your source tree to 4.0, then rebuild your system : with simply make world procedure. I can't do that. This system *MUST* be a 3.2-stable system. I was building the kernel to test to see if a nasty NFS bug I've found in -stable

Re: no getkerninfo() man page (docs/12220)

1999-08-04 Thread Jonathan Lemon
In article local.mail.freebsd-hackers/[EMAIL PROTECTED] you write: -hackers, As docs/12220 points out; We want to extract routing information by specifying a particular destination IP address. The man page on Route and Rtentry mention that this information can be acquired using

Re: Building a new kernel

1999-08-04 Thread Warner Losh
In message [EMAIL PROTECTED] David Scheidt writes: : Read the docs? Who me? It sounds like the 3.X to 4.0-RELEASE documentation : should say not to do this. Unless, of course, gcc-2.95 is imported before : t hen. Give me a F*ing break. No such documetation exists and the more that we

Re: NSS Project

1999-08-04 Thread Peter Jeremy
Assar Westerlund [EMAIL PROTECTED] wrote: Peter Jeremy [EMAIL PROTECTED] writes: We need to be able to build an application that has no dynamically loaded code for recovery purposes (/stand and /sbin) as well as for security. Isn't that the same problem as with PAM? Quite probably PAM has

memory leak in the routing table ?

1999-08-04 Thread jayanth
Were there any issues related to a memory leak in the routing table ? I am running freebsd-stable. After a few days vmstat -m shows the memory used by routing table to be very high and log messages "arpresolve: cant allocate llinfo for a.b.c.d" "arplookup a.b.c.d failed could not allocate

Re: Jail syscalls

1999-08-04 Thread Daniel O'Connor
On 04-Aug-99 Matthew Dillon wrote: I kinda like the second choice the best but the first choice is what most other system calls use. That doesn't make it right =) The second avoids the 'the data is different but the size is the same' problem which would seem to be not too

Re: NSS Project

1999-08-04 Thread Peter Jeremy
John Polstra [EMAIL PROTECTED] wrote: Peter Jeremy [EMAIL PROTECTED] wrote: Assar Westerlund [EMAIL PROTECTED] wrote: Peter Jeremy [EMAIL PROTECTED] writes: We need to be able to build an application that has no dynamically loaded code for recovery purposes (/stand and /sbin) as well as

Re: no getkerninfo() man page (docs/12220)

1999-08-04 Thread Nik Clayton
On Wed, Aug 04, 1999 at 03:59:00PM -0500, Jonathan Lemon wrote: getkerninfo() is depreciated, we use sysctl() instead. In fact, most of the information provided by getkerninfo() is implemented in terms of sysctl(). snip The route(4) manpage says: User processes can obtain

Re: NSS Project

1999-08-04 Thread Max Khon
hi, there! On Tue, 3 Aug 1999, Oscar Bonilla wrote: *Step One: I ported the NetBSD implementation of nsdispatch(3) as implemented by Luke Mewburn. See attached patch to libc and new header file. I'm also attaching the man page for /etc/nsswitch.conf. Right now it compiles, installs, and

Re: What's new in Linux 2.4

1999-08-04 Thread Jeroen Ruigrok/Asmodai
* Peter Jeremy (jere...@gsmx07.alcatel.com.au) [990804 01:13]: Jordan recently mentioned Wonderful World of Linux 2.4 (Second Edition) http://features.linuxtoday.com/stories/8191.html. This article makes the statement Linux is still the only operating system completely compatible with the

Re: So, back on the topic of enabling bpf in GENERIC...

1999-08-04 Thread Mark Murray
This is a clear security vs functionality issue and I need to get a good feel for which cause is ascendent here in knowing which way to jump on the matter. Can we now hear the closing arguments from the pro and con folks? I am pro. It takes a root compromise to use it anyway, and its

Re: So, back on the topic of enabling bpf in GENERIC...

1999-08-04 Thread Jordan K. Hubbard
I am pro. It takes a root compromise to use it anyway, and its usefulness for DHCP and rarpd is too compelling. Perhaps the comments in the GENERIC file could be updated. Well, given that I've gotten primarily positive support for this I guess it's time to do it. Warner, do you want to

Re: Jail syscalls

1999-08-04 Thread Brian F. Feldman
On Tue, 3 Aug 1999, Mike Smith wrote: Speaking of the jail() syscall -- it really needs to be revamped a little before people really start using it wholeheartedly. The size of the jail structure needs to be passed in the syscall to allow backwards compatibility when

Re: Jail syscalls

1999-08-04 Thread Doug Rabson
On Wed, 4 Aug 1999, Brian F. Feldman wrote: On Tue, 3 Aug 1999, Mike Smith wrote: Speaking of the jail() syscall -- it really needs to be revamped a little before people really start using it wholeheartedly. The size of the jail structure needs to be passed in the

[Fwd: Please support FreeBSD 3.x as host OS]

1999-08-04 Thread Niall Smart
Olivia Cheriton wrote: Niall, VMware will support FreeBSD as a guest operating system, but unfortunately we currently do not have plans to support FreeBSD as a host operating system. I have noted your request of FreeBSD host support in case we review this in the future. Best regards,

RE: IDE quirk in 3.2-STABLE kernel ?

1999-08-04 Thread Vince Vielhaber
On Wed, 4 Aug 1999, Biju Susmer wrote: hi, I tried yesterday to make the kernel understand my CD ROM drive.. but it refused. Here is the dmesg (of boot -v)... is my config wrong or i missed something? The drive is Acer 32X and connected as secondary slave. It is seen by Win98 and BIOS.

Re: BSD voice synthesis

1999-08-04 Thread Ville-Pertti Keinonen
w...@softweyr.com (Wes Peters) writes: available for home computers decades ago. (Anyone else here ever use SAM the Software Automated Mouth for the Atari 800 or Commodore 64?) Yes. It's almost surprising how little speech synthesis has improved, at least judging from the festival demos (it

Re: Solution for mail pseudo-users?

1999-08-04 Thread Markus Stumpf
On Tue, Aug 03, 1999 at 02:22:17PM -0700, Alex Zepeda wrote: Also you'll have to run the script to allow users to change passwords as root, which you probably will NOT want to do (same for adding/ deleting/changing users) So with your setup, any user can add/delete/modify existing users?

Onstream?

1999-08-04 Thread Vince Vielhaber
Out of curiousity, have there been any successes in the drivers for the OnStream tape drives (SCSI or IDE)? Vince. -- == Vince Vielhaber -- KA8CSH email: v...@michvhf.com flame-mail: /dev/null # include

Re: Onstream?

1999-08-04 Thread Soren Schmidt
It seems Vince Vielhaber wrote: Out of curiousity, have there been any successes in the drivers for the OnStream tape drives (SCSI or IDE)? Working on it (for IDE that is), support is planned for, but I have no release date yet... I know that there is work done on the SCSI end too... -Søren

Re: Multiple versions of FreeBSD on one HDD

1999-08-04 Thread Mike Pritchard
At 8:01 PM +0200 8/3/99, Robert Nordier wrote: - If I select 3.2 at the PowerBoot menu, it comes up with two messages about invalid partition, [...] It seems to want to boot 'da(0,a)/kernel', but if I type in 'da(0,e)/kernel', then it boots up fine. The

Re: BSD voice synthesis

1999-08-04 Thread Dag-Erling Smorgrav
Ville-Pertti Keinonen w...@iki.fi writes: I certainly don't expect any of the available voices to be able to pronounce Finnish names correctly, even with phonetic specifications. If the software were *designed* to speak Finnish, I'd expect it to cope with Finnish much better than it currently

Re: Jail syscalls

1999-08-04 Thread Assar Westerlund
Brian F. Feldman gr...@freebsd.org writes: On Tue, 3 Aug 1999, Mike Smith wrote: Actually, with interfaces like this you should generally pass a pointer to the structure in userspace, and stick a version number constant in the beginning of the structure. The size is often not enough

Re: Results of investigating optimizing calloc()...

1999-08-04 Thread Dag-Erling Smorgrav
Kelly Yancey kby...@alcnet.com writes: [...] Which reminds me - has anyone thought of using DMA for zeroing pages, to avoid cache invalidation? The idea is to keep a chunk of zeroes on disk and DMA it into memory instead of clearing pages manually. This assumes your disk supports DMA, of course.

Tekram DC-390U2W support (80Mb/sec operation)

1999-08-04 Thread Kevin
Hey all, I purchased a Tekram DC-390U2W scsi controller to use with a FreeBSD server of mine. It uses the NCR 53c141 (and 53c895?) chipset(s). I see that ncr.c supports the NCR 53c8xx family of chipsets.. which the controller is seen as having a 53c895, which only supports 40Mb/sec operation(?)

Re: NSS Project

1999-08-04 Thread Alfred Perlstein
On Wed, 4 Aug 1999, Peter Jeremy wrote: Oscar Bonilla oboni...@fisicc-ufm.edu wrote: If anyone has any comments, suggestions, etc. I would appreciate it. Overall, I like the idea of NSS. But, having worked on Solaris 2.x for some time, we need to avoid some of the blunders Sun made: The

Re: BSD voice synthesis

1999-08-04 Thread Ville-Pertti Keinonen
d...@flood.ping.uio.no (Dag-Erling Smorgrav) writes: Ville-Pertti Keinonen w...@iki.fi writes: I certainly don't expect any of the available voices to be able to pronounce Finnish names correctly, even with phonetic specifications. If the software were *designed* to speak Finnish, I'd

Re: [Fwd: Please support FreeBSD 3.x as host OS]

1999-08-04 Thread Alfred Perlstein
On Wed, 4 Aug 1999, Niall Smart wrote: Olivia Cheriton wrote: Niall, VMware will support FreeBSD as a guest operating system, but unfortunately we currently do not have plans to support FreeBSD as a host operating system. I have noted your request of FreeBSD host support in case

Re: Tekram DC-390U2W support (80Mb/sec operation)

1999-08-04 Thread Stuart Henderson
Hey all, I purchased a Tekram DC-390U2W scsi controller to use with a FreeBSD server of mine. It uses the NCR 53c141 (and 53c895?) chipset(s). I see that ncr.c supports the NCR 53c8xx family of chipsets.. which the controller is seen as having a 53c895, which only supports 40Mb/sec

RE: Tekram DC-390U2W support (80Mb/sec operation)

1999-08-04 Thread Nigel Roles
The 53c141 is an auto-sensing single-ended/LVDS terminator, permitting you to connect single-ended and LVDS drives to the same cable. It is transparent. If you want 80mbps you need 1. a wide LVDS (aka Ultra2 or fast40) drive 2. a wide LVDS terminator The 40 in the portion of ncr.c you quote is

Re: Multiple versions of FreeBSD on one HDD

1999-08-04 Thread Graham Wheeler
Robert Nordier wrote: It's usually best to temporarily change fdisk partition types, so that sysinstall sees no existing FreeBSD slice on the drive. However, there may be other problems involved here as well. Hmmm. This sounds a good plan. Would the following then work (I'm using `partition'

double vfs_object_create in open syscall?

1999-08-04 Thread Alfred Perlstein
Why does open() at sys/kern/vfs_syscalls.c line 1023 call vfs_object_create() when vnopen() (sys/kern/vfs_vnops.c line 174) already does so? vfs_object_create checks for this and doesn't leak, but it looks funny to me. -Alfred Perlstein - [bri...@rush.net|bri...@wintelcom.net] systems

Re: Tekram DC-390U2W support (80Mb/sec operation)

1999-08-04 Thread Stuart Henderson
What makes you think you haven't got 80mbps? How would you tell? Something like this in your dmesg/boot output. da0: 80.000MB/s transfers (40.000MHz, offset 15, 16bit), Tagged Queueing Enabled To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-hackers in the body of

Re: [Fwd: Please support FreeBSD 3.x as host OS]

1999-08-04 Thread Assar Westerlund
Alfred Perlstein bri...@rush.net writes: I heard they have released the source to the kernel modules needed to run it. why not port them over? :) I started looking at the kernel modules and porting them, however, I must confess that I don't fully understand exactly what the linux kernel

Re: Multiple versions of FreeBSD on one HDD

1999-08-04 Thread Graham Wheeler
Graham Wheeler wrote: Robert Nordier wrote: It's usually best to temporarily change fdisk partition types, so that sysinstall sees no existing FreeBSD slice on the drive. However, there may be other problems involved here as well. Hmmm. This sounds a good plan. Would the following

Re: [Fwd: Please support FreeBSD 3.x as host OS]

1999-08-04 Thread Soren Schmidt
It seems Assar Westerlund wrote: Alfred Perlstein bri...@rush.net writes: I heard they have released the source to the kernel modules needed to run it. why not port them over? :) I started looking at the kernel modules and porting them, however, I must confess that I don't fully

Re: [Fwd: Please support FreeBSD 3.x as host OS]

1999-08-04 Thread Alfred Perlstein
On 4 Aug 1999, Assar Westerlund wrote: Alfred Perlstein bri...@rush.net writes: I heard they have released the source to the kernel modules needed to run it. why not port them over? :) I started looking at the kernel modules and porting them, however, I must confess that I don't

Re: Multiple versions of FreeBSD on one HDD

1999-08-04 Thread Robert Nordier
It's usually best to temporarily change fdisk partition types, so that sysinstall sees no existing FreeBSD slice on the drive. However, there may be other problems involved here as well. Hmmm. This sounds a good plan. Would the following then work (I'm using `partition' to refer to

fetch: default to passive mode?

1999-08-04 Thread Chuck Youse
I have a really strong urge to submit a PR to make fetch default to passive mode, instead of requiring a command-line switch ... In this day and age, with firewalls and NAT abound, it's a bit odd that such a change has not already been made. Am I missing something? Is there a reason we haven't

Re: [Fwd: Please support FreeBSD 3.x as host OS]

1999-08-04 Thread Milan Kopacka
On Wed, 4 Aug 1999, Alfred Perlstein wrote: I started looking at the kernel modules and porting them, however, I must confess that I don't fully understand exactly what the linux kernel module does, which makes it somewhat harder to implement the same functionality on FreeBSD :-) a

Re: [Fwd: Please support FreeBSD 3.x as host OS]

1999-08-04 Thread Alfred Perlstein
On Wed, 4 Aug 1999, Milan Kopacka wrote: On Wed, 4 Aug 1999, Alfred Perlstein wrote: I started looking at the kernel modules and porting them, however, I must confess that I don't fully understand exactly what the linux kernel module does, which makes it somewhat harder to implement

Re: [Fwd: Please support FreeBSD 3.x as host OS]

1999-08-04 Thread Milan Kopacka
On Wed, 4 Aug 1999, Alfred Perlstein wrote: so one must purchase the program to get the kernel mods, is there an evaluation that can be downloaded? They have all described on website. The program is key-protected, you can buy a key, or ask for evaluation key, which will work one month. You

Re: Multiple versions of FreeBSD on one HDD

1999-08-04 Thread Graham Wheeler
Robert Nordier wrote: Because most modern BIOSes do CHS translation, the BIOS geometry is not always evident from the geometry reported by the drive, and FreeBSD may get this wrong, particularly if no existing partitions are defined. Since you are installing to a drive with no

Re: Jail syscalls

1999-08-04 Thread Brian F. Feldman
On 4 Aug 1999, Assar Westerlund wrote: Brian F. Feldman gr...@freebsd.org writes: On Tue, 3 Aug 1999, Mike Smith wrote: Actually, with interfaces like this you should generally pass a pointer to the structure in userspace, and stick a version number constant in the beginning of

Re: Jail syscalls

1999-08-04 Thread Brian F. Feldman
On Wed, 4 Aug 1999, Doug Rabson wrote: The argument for versioning is not simply because the size of ip_number might change (it should be a sockaddr) but because other fields might be added or removed. To avoid allocating a new syscall whenever this happens, the structure should be versioned.

Re: [Fwd: Please support FreeBSD 3.x as host OS]

1999-08-04 Thread Assar Westerlund
Soren Schmidt s...@freebsd.dk writes: I started looking at the kernel modules and porting them, however, I must confess that I don't fully understand exactly what the linux kernel module does, which makes it somewhat harder to implement the same functionality on FreeBSD :-) If you

Re: Jail syscalls

1999-08-04 Thread Assar Westerlund
Brian F. Feldman gr...@freebsd.org writes: As I read it, sockaddr is a transparent type (overloaded, as it were). So we would use something like: struct jail { ... struct sockaddr; char [SOCK_MAXADDRLEN - sizeof(struct sockaddr)];

Re: NSS Project

1999-08-04 Thread Assar Westerlund
Peter Jeremy jere...@gsmx07.alcatel.com.au writes: We need to be able to build an application that has no dynamically loaded code for recovery purposes (/stand and /sbin) as well as for security. Isn't that the same problem as with PAM? /assar To Unsubscribe: send mail to

Re: Multiple versions of FreeBSD on one HDD

1999-08-04 Thread Robert Nordier
Because most modern BIOSes do CHS translation, the BIOS geometry is not always evident from the geometry reported by the drive, and FreeBSD may get this wrong, particularly if no existing partitions are defined. Since you are installing to a drive with no pre-existing non-FreeBSD

Re: Jail syscalls

1999-08-04 Thread Matthew Dillon
:The argument for versioning is not simply because the size of ip_number :might change (it should be a sockaddr) but because other fields might be :added or removed. To avoid allocating a new syscall whenever this happens, :the structure should be versioned. : :Putting sizeof(whatever) at the

NSS Project update

1999-08-04 Thread Oscar Bonilla
After collecting a bunch of emails from the list, this is the approach I'll be taking: 1. use the existing nsdispatch code obtained from NetBSD as a base for parsing the /etc/nsswitch.conf file. 2. Make the C library nsdispatch aware. The dtab[] array will be filled dynamicaly from the

no getkerninfo() man page (docs/12220)

1999-08-04 Thread Nik Clayton
-hackers, As docs/12220 points out; We want to extract routing information by specifying a particular destination IP address. The man page on Route and Rtentry mention that this information can be acquired using getkerninfo command. But there is no such man page. Is it

Re: TCP stack hackers take a bow

1999-08-04 Thread Nik Clayton
On Tue, Aug 03, 1999 at 07:52:26PM -0400, Bill Fumerola wrote: On Tue, 3 Aug 1999, Ted Faber wrote: http://www.sciencedaily.com/releases/1999/08/990802072727.htm The Duke release credits one Andrew Gallatin for a couple quotes. Not only FreeBSD in the news, but one of our own

Building a new kernel

1999-08-04 Thread Warner Losh
I have a freebsd-stable system. I can't build a kernel for freebsd-current on that system unless I upgrade my compiler to egcs. Will this cause problems for our upgrade proceedure? gcc 2.7.2.3 doesn't like i386/include/atomic.h. It complains about bad assmbler contraints. Warner To

Re: Building a new kernel

1999-08-04 Thread David Scheidt
On Wed, 4 Aug 1999, Warner Losh wrote: I have a freebsd-stable system. I can't build a kernel for freebsd-current on that system unless I upgrade my compiler to egcs. Will this cause problems for our upgrade proceedure? gcc 2.7.2.3 doesn't like i386/include/atomic.h. It complains about

Re: Building a new kernel

1999-08-04 Thread Osokin Sergey
On Wed, 4 Aug 1999, Warner Losh wrote: I have a freebsd-stable system. I can't build a kernel for freebsd-current on that system unless I upgrade my compiler to egcs. Will this cause problems for our upgrade proceedure? gcc 2.7.2.3 doesn't like i386/include/atomic.h. It complains

Re: Results of investigating optimizing calloc()...

1999-08-04 Thread Wilko Bulte
As Dag-Erling Smorgrav wrote ... Kelly Yancey kby...@alcnet.com writes: [...] Which reminds me - has anyone thought of using DMA for zeroing pages, to avoid cache invalidation? The idea is to keep a chunk of zeroes on disk and DMA it into memory instead of clearing pages manually. This

Re: Building a new kernel

1999-08-04 Thread Warner Losh
In message pine.neb.3.96.990804145111.73456a-100...@shell-3.enteract.com David Scheidt writes: : I upgraded a -STABLE system to -CURRENT using source a month or two : ago. The first step is to build the new toolchain, so you shouldn't : ever be compiling a new kernel with an old compiler.

Re: Building a new kernel

1999-08-04 Thread Warner Losh
In message pine.bsf.4.10.9908042352560.1550-100...@ozz.etrust.ru Osokin Sergey writes: : try to cvsup your source tree to 4.0, then rebuild your system : with simply make world procedure. I can't do that. This system *MUST* be a 3.2-stable system. I was building the kernel to test to see if a

Re: no getkerninfo() man page (docs/12220)

1999-08-04 Thread Jonathan Lemon
In article local.mail.freebsd-hackers/19990804165905.a16...@kilt.nothing-going-on.org you write: -hackers, As docs/12220 points out; We want to extract routing information by specifying a particular destination IP address. The man page on Route and Rtentry mention that this

Re: Building a new kernel

1999-08-04 Thread David Scheidt
On Wed, 4 Aug 1999, Warner Losh wrote: In message pine.neb.3.96.990804145111.73456a-100...@shell-3.enteract.com David Scheidt writes: : I upgraded a -STABLE system to -CURRENT using source a month or two : ago. The first step is to build the new toolchain, so you shouldn't : ever be

Re: Results of investigating optimizing calloc()...

1999-08-04 Thread Peter Jeremy
Dag-Erling Smorgrav d...@flood.ping.uio.no wrote: Which reminds me - has anyone thought of using DMA for zeroing pages, This sounds reasonable. Some DMA engines support filling regions and memory-memory copies, but I'm not sure about what can be done with the DMA engine(s) in PCs. The idea is

Re: Building a new kernel

1999-08-04 Thread Warner Losh
In message pine.neb.3.96.990804161056.80097a-100...@shell-3.enteract.com David Scheidt writes: : Read the docs? Who me? It sounds like the 3.X to 4.0-RELEASE documentation : should say not to do this. Unless, of course, gcc-2.95 is imported before : t hen. Give me a F*ing break. No such

Re: NSS Project

1999-08-04 Thread Peter Jeremy
Assar Westerlund as...@sics.se wrote: Peter Jeremy jere...@gsmx07.alcatel.com.au writes: We need to be able to build an application that has no dynamically loaded code for recovery purposes (/stand and /sbin) as well as for security. Isn't that the same problem as with PAM? Quite probably PAM

memory leak in the routing table ?

1999-08-04 Thread jayanth
Were there any issues related to a memory leak in the routing table ? I am running freebsd-stable. After a few days vmstat -m shows the memory used by routing table to be very high and log messages arpresolve: cant allocate llinfo for a.b.c.d arplookup a.b.c.d failed could not allocate llinfo ,

ignoretime in login.conf??

1999-08-04 Thread Doug
I'm doing some research on resource limits and I can't find any information at all on the ignoretime capability that's in /usr/src/etc/login.conf. A 'grep -iR ignoretime *' in /usr/src didn't return any hits outside of the login.conf files in /usr/src/etc and the picobsd stuff. Does anyone

netstat broken for -N -M?

1999-08-04 Thread Warner Losh
I'm seeing on a -stable system that netstat will always print values obtained from sysctl rather than from the core file specified. Can anybody confirm this? It doesn't seem like feature to me... Warner To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-hackers in

Re: Jail syscalls

1999-08-04 Thread Daniel O'Connor
On 04-Aug-99 Matthew Dillon wrote: I kinda like the second choice the best but the first choice is what most other system calls use. That doesn't make it right =) The second avoids the 'the data is different but the size is the same' problem which would seem to be not too

Re: NSS Project update

1999-08-04 Thread Boris Popov
On Wed, 4 Aug 1999, Oscar Bonilla wrote: [skip] 2. Make the C library nsdispatch aware. The dtab[] array will be filled dynamicaly from the contents of /etc/nsswitch.conf. I'm still not sure if this has to be done whithin the C library or if nsdispatch should fill the dtab[] array

Re: Results of investigating optimizing calloc()...

1999-08-04 Thread Arun Sharma
On Wed, Aug 04, 1999 at 01:20:59PM +0200, Dag-Erling Smorgrav wrote: Kelly Yancey kby...@alcnet.com writes: [...] Which reminds me - has anyone thought of using DMA for zeroing pages, to avoid cache invalidation? The idea is to keep a chunk of zeroes on disk and DMA it into memory instead

Re: Results of investigating optimizing calloc()...

1999-08-04 Thread John-Mark Gurney
Dag-Erling Smorgrav scribbled this message on Aug 4: Kelly Yancey kby...@alcnet.com writes: [...] Which reminds me - has anyone thought of using DMA for zeroing pages, to avoid cache invalidation? The idea is to keep a chunk of zeroes on disk and DMA it into memory instead of clearing

Re: NSS Project

1999-08-04 Thread John Polstra
In article 99aug5.074611est.40...@border.alcanet.com.au, Peter Jeremy jere...@gsmx07.alcatel.com.au wrote: Assar Westerlund as...@sics.se wrote: Peter Jeremy jere...@gsmx07.alcatel.com.au writes: We need to be able to build an application that has no dynamically loaded code for recovery

Re: NSS Project

1999-08-04 Thread Peter Jeremy
John Polstra j...@polstra.com wrote: Peter Jeremy jere...@gsmx07.alcatel.com.au wrote: Assar Westerlund as...@sics.se wrote: Peter Jeremy jere...@gsmx07.alcatel.com.au writes: We need to be able to build an application that has no dynamically loaded code for recovery purposes (/stand and