Re: Possible optimization in VM?

2000-01-06 Thread Matthew Dillon
(repeating, Brett sent his original posting to freebsd.com instead of freebsd.org!) :As I read this, a question immediately occurred to me. I can understand why :C1 exists; when the child modifies pages, one must create COW copies for it :that are distinct from the parent's. But why cre

Re: Help, I'm stuck! Weird network/routing question.

2000-01-06 Thread Omachonu Ogali
Your netmask is probably causing problems. Try 255.0.0.0. Omachonu Ogali Intranova Networking Group On Thu, 6 Jan 2000, John Ioannidis wrote: > Here is the setup: > > Hosts alice and bob, running 3.4-STABLE, xl interfaces. > > on alice: > # ifconfig xl1 10.1.1.1 up netmask 255.255.255.255 >

Re: Help, I'm stuck! Weird network/routing question.

2000-01-06 Thread James E. Housley
John Ioannidis wrote: > > Here is the setup: > > Hosts alice and bob, running 3.4-STABLE, xl interfaces. > > on alice: > # ifconfig xl1 10.1.1.1 up netmask 255.255.255.255 > # netstat -r -n That is your problem, I think. try netmask of 255.255.255.0 Jim -- James E. Housley "The box said 'R

Re: Help, I'm stuck! Weird network/routing question.

2000-01-06 Thread John Ioannidis
> John, you say that you can't have a shorter subnet mask? As it is > you've specified all of the bits to be the subnetid, thus leaving The addresses were picked as examples, of course. /ji To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the

Help, I'm stuck! Weird network/routing question.

2000-01-06 Thread John Ioannidis
Here is the setup: Hosts alice and bob, running 3.4-STABLE, xl interfaces. on alice: # ifconfig xl1 10.1.1.1 up netmask 255.255.255.255 # netstat -r -n ... 10.1.1.1/32link#2 UC 00 xl1 ... # ping 10.1.1.1 (yes, it pings fine) # netstat -r -n ... 10.1.1.1

Question on mapping PCI interrupts... (or rather, not...)

2000-01-06 Thread Brian McGovern
I'm running in to a PCI interface question. I have a board that I can select whether it will run in Interrupt or "Polled mode" (ie - no interrupt assigned). It appears that when I have it in interrupt mode, the IRQ (cfg->intline) is set to a relatively valid (0-15) setting. When it is in polled

Re: syscons: SC_MOUSE_CHAR value rationale

2000-01-06 Thread Kelly Yancey
On Thu, 6 Jan 2000, Cejka Rudolf wrote: > > Marcin Cieslak wrote (2000/01/05): > > Is there any _particular_ reason why this is #define'd to (0xd0) > > in /sys/dev/syscons/syscons.c? > > >From syscons.c,v - 1998/02/11 (author: yokota): > > - another new option: SC_MOUSE_CHAR > Define the first

Re: syscons: SC_MOUSE_CHAR value rationale

2000-01-06 Thread Cejka Rudolf
Marcin Cieslak wrote (2000/01/05): > Is there any _particular_ reason why this is #define'd to (0xd0) > in /sys/dev/syscons/syscons.c? >From syscons.c,v - 1998/02/11 (author: yokota): - another new option: SC_MOUSE_CHAR Define the first character code of four consecutive codes to be used for th

Re: AIO was Re: Kernel threads

2000-01-06 Thread Christopher Sedore
On Thu, 6 Jan 2000, Arjan de Vet wrote: > Jordan K. Hubbard wrote: > > >This is very interesting data and I was just wondering about the > >actual state of functionality in our AIO code just the other day, > >oddly enough. Does anyone have a PR# for the mentioned patches? > > kern/12053 > >

major device number for pcfclock

2000-01-06 Thread Sascha Schumann
Hi, I'd like to see the new pcfclock driver be included into FreeBSD, so I need an official major device number. Shall I simply take the highest used number (139), increase it, and send you a tarball, including the driver and the patches against conf/files, conf/majors, MA

Re: VIPW user accounts

2000-01-06 Thread Sheldon Hearn
On Thu, 06 Jan 2000 09:41:21 CST, "Aaron Sonntag" wrote: > I usually edit VIPW by hand. I have set up mail only accounts using > /usr/bin/passwd shell. > Along the same lines how do I go about setting up the following accounts: > > ftp only > ftp and mail only I've wr

VIPW user accounts

2000-01-06 Thread Aaron Sonntag
I usually edit VIPW by hand. I have set up mail only accounts using /usr/bin/passwd shell. Along the same lines how do I go about setting up the following accounts: ftp only ftp and mail only Thanks Aaron To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe

Re: Natd with Pmtu Discovery

2000-01-06 Thread Jim Flowers
OK. I followed this a little further. The problem is that the natd read of the interface mtu precedes the skip routine that modifies it. Unfortunately, when the skip routine modifies the interface mtu it does not send a message to the socket as it does when the address is changed so the -dy

Re: Reading kbd scancodes from userland

2000-01-06 Thread Peter da Silva
>Its really annoying having to find another machine when your app >coredumps so you can restore the keyboard to sanity :) If your keyboard is too borked for "^Jstty sane^J", let me know so I can avoid the app that does this. I remember running into a shell, once upon a time, that saved and resto

Re: alt. C compiler

2000-01-06 Thread Peter da Silva
> We're talking about making it easier to use the FreeBSD library code > in other programs (i.e. `port' it somewhere) - presumably with a > strict ANSI C compiler other than gcc. Or to use an ANSI C compiler other than GCC on a FreeBSD system. > While that is certainly a laudable goal - I quest

Re: alt. C compiler

2000-01-06 Thread Peter da Silva
>Many system include files are *NOT* for public consumption. Then it would be nice if people didn't have to grovel around system include files to find things. > Also, >include files should never include other include files, as this messes >up dependencies. That just means you need a smarter dep

Re: USB vs. parallel port

2000-01-06 Thread Nick Hibma
Except that I doubt whether UHCI will survive USB2.0. Nick On Wed, 5 Jan 2000, Peter Wemm wrote: > Nick Hibma wrote: > > > By the way, at the moment it is better to have a UHCI controller on > > your motherboard. Allthough the OHCI controller is much smarter and more > > efficient, support fo

Re: Limited amount of variables in a multithreaded programm?

2000-01-06 Thread Peter da Silva
>"This really is C-101 type stuff." :-) ) if you could tell me a book about >programming FreeBSD. I have Stevens "Advanced programming..." and >Haviland's "Unix System programming" but there is not much about threads >in these books. Moreover there is nothing about variable stack sizes in >thread

Re: Natd with Pmtu Discovery

2000-01-06 Thread Ruslan Ermilov
On Sat, Dec 18, 1999 at 05:19:28PM -0500, Jim Flowers wrote: > Natd does not handle pmtu discovery well when the mtu for the interface > it is using is changed, either manually or under program control, after > natd is started. The following provides details of why, and a work-around. > Thanks

newfs panics

2000-01-06 Thread Kun Limfjordsporter
Moin moin... I'm not sure where is the best list to send this, since I've seen it under both -current and -stable, so you'll have to do. Has anyone seen panics like panic: vinvalbuf: dirty bufs mp_lock = 0001; cpuid = 0; lapic.id = 01 I get this regularly when newfs'ing a disk t

Re: AIO was Re: Kernel threads

2000-01-06 Thread Arjan de Vet
Jordan K. Hubbard wrote: >This is very interesting data and I was just wondering about the >actual state of functionality in our AIO code just the other day, >oddly enough. Does anyone have a PR# for the mentioned patches? kern/12053 A Dec 16 version of the patch can be found at: http

Re: Should -mieee-fp equal fpsetmask(0) to avoid SIGFPE on FreeBSD?

2000-01-06 Thread Martin Cracauer
Ok, Folks, first of all I apologize for getting carried away and proposing replacement functions that incompletely implemented the requested behaviour. The equivalent macro with range check is 40% slower (why isn't the MS VC++ specific test case #unifdef'ed for other platforms?). Then, I am not