Re: mremap help ? or no support for FreeBSD ? so do what ?

2000-05-12 Thread Alfred Perlstein
* [EMAIL PROTECTED] <[EMAIL PROTECTED]> [000512 21:54] wrote: > I know that this was discussed in the past but I can't find out what to > do ? > > In Linux if I have to resize a mmap 'ed object I can just use mremap > but in FreeBSD if, I want to resize it what do I do ? > > I have tried wr

Re: FreeBSD Port: xosview-1.7.3

2000-05-12 Thread Arun Sharma
On Thu, May 11, 2000 at 10:52:04PM -0700, Doug Barton wrote: > Arun Sharma wrote: > > 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 disappointed at > > the lack of response. I just assumed that no one is interested

Re: Funny Network Transit Delays

2000-05-12 Thread Mike Nowlin
> the other end is set to full. I wouldn't trust any "Auto" settings until > it can be assured that it doesn't hurt. Agreed -- from experience with a couple of HP Procurve 2424M switches and various 100Mb cards, the "Auto" setting is less than reliable... My Netgear FA310TX(?) and Intel Ethe

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

2000-05-12 Thread Brian Fundakowski Feldman
This is an easy problem to solve. Drop into ddb, and do a "show disk/device", e.g.: ddb> show disk/ad0s1b dev_t = 0xf000b444 This will return to you the dev_t for it. Take this value, and call setdumpdev(dev_t value): ddb> call setdumpdev(0xf000b444) The setdumpdev() call should return 0 for

Re: Funny Network Transit Delays

2000-05-12 Thread Adam
Are you sure the duplex settings are correct on all nics? If they are on coax or a hub, it should be set to half duplex. If you are connected to a switch or a crossover cable, you may use full duplex on the nic only if the other end is set to full. I wouldn't trust any "Auto" settings until it

mremap help ? or no support for FreeBSD ? so do what ?

2000-05-12 Thread nathan
I know that this was discussed in the past but I can't find out what to do ? In Linux if I have to resize a mmap 'ed object I can just use mremap but in FreeBSD if, I want to resize it what do I do ? I have tried writing past where I know the end is and it kinda works ? but why ? Is their

Funny Network Transit Delays

2000-05-12 Thread Yann Ramin
-BEGIN PGP SIGNED MESSAGE- Hi there. I have an interesting problem (figured it out myself) but I'm wondering why it is occuring. I have a setup with Two FreeBSD machines (3.2 and 4.0 RELEASE), a Windows machine, and a NetBSD machine. The NetBSD machine has three 3Com 3C509/B NICs (ISA)

Re: Why this works?

2000-05-12 Thread FengYue
This is a silly question, but, Is there anyway to do read/write on the same file without the kernel lock? Thanks! On Fri, 12 May 2000, Alfred Perlstein wrote: > * Sergey Babkin <[EMAIL PROTECTED]> [000512 15:23] wrote: > > Alfred Perlstein wrote: > > > > > > * Ville-Pertti Keinonen <[EMAIL

Strange behaviour of mtree(8)?

2000-05-12 Thread Andrew L. Neporada
[posted to -questions several days ago, but still no response] It always seems to me that `mtree -c | mtree` should output nothing (because it compares current directory with itself). But recently I noticed very strange thing: andrew@sign> ls -la total 4 drwxr-xr-x 2 andrew wheel 512 4 May

Re: Why this works?

2000-05-12 Thread Alfred Perlstein
* Sergey Babkin <[EMAIL PROTECTED]> [000512 15:23] wrote: > Alfred Perlstein wrote: > > > > * Ville-Pertti Keinonen <[EMAIL PROTECTED]> [000511 22:49] wrote: > > > > > > [EMAIL PROTECTED] (FengYue) writes: > > > > > > > loop. Now, the third program reads 4K of data from /tmp/pagetest > > > > and

Re: BROKEN_KEYBOARD_RESET

2000-05-12 Thread Warner Losh
In message <[EMAIL PROTECTED]> Kazutaka YOKOTA writes: : >Speaking of AT keyboard controllers, does anybody know if the new : >legacy free PCs have this port available for compatibility reasons? : : I guess it depends on the level of compatiblity the BIOS offers I'm not sure how the BIOS wo

Re: Why this works?

2000-05-12 Thread Sergey Babkin
Alfred Perlstein wrote: > > * Ville-Pertti Keinonen <[EMAIL PROTECTED]> [000511 22:49] wrote: > > > > [EMAIL PROTECTED] (FengYue) writes: > > > > > loop. Now, the third program reads 4K of data from /tmp/pagetest > > > and exit if the 4K data does not contain all 'A's nor 'Z's. 3 programs > > >

Re: BROKEN_KEYBOARD_RESET

2000-05-12 Thread Kazutaka YOKOTA
>In message <[EMAIL PROTECTED]> >"Chris D. Faulhaber" writes: >: Since this has been brought up, any reason that BROKEN_KEYBOARD_RESET is >: not a recognized option (see kern/12927)? > >Likely fell through the cracks when Eivind made everything an option. >If it didn't, then someone likely broke

make question

2000-05-12 Thread Samuel Tardieu
I am having difficulties to implement the following rule in BSD make: to produce file foobar.o, then start from foobar.adb if it exists, foobar.ads otherwise. I want this to be compatible with both BSD and GNU make. I tried: .SUFFIXES: .adb .ads .lo .adb.lo: .ads.lo: but mak

mailing list?

2000-05-12 Thread Killingsworth Daniel
How can I begin getting mailings from this list? Regards, Daniel Killingsworth, MCP IS Desktop Support Specialist SCA Hygiene Products 610-499-3406 To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: rexec as root

2000-05-12 Thread Warner Losh
In message <[EMAIL PROTECTED]> Nick Sayer writes: : Warner Losh wrote: : : > [...] In the absense of this : > test, machines in a yp netowrk would be extremely vulnerable to root : > uid penetration when an intruder can hack the yp database, or spoof : > replies. : : Ok. How about adding an rexe

Re: rexec as root

2000-05-12 Thread Nick Sayer
Warner Losh wrote: > [...] In the absense of this > test, machines in a yp netowrk would be extremely vulnerable to root > uid penetration when an intruder can hack the yp database, or spoof > replies. Ok. How about adding an rexecd command line flag to disable that test (with suitable warnings

Re: BROKEN_KEYBOARD_RESET

2000-05-12 Thread Warner Losh
In message <[EMAIL PROTECTED]> "Chris D. Faulhaber" writes: : Since this has been brought up, any reason that BROKEN_KEYBOARD_RESET is : not a recognized option (see kern/12927)? Likely fell through the cracks when Eivind made everything an option. If it didn't, then someone likely broke it late

Re: Double buffered cp(1)

2000-05-12 Thread Warner Losh
In message <[EMAIL PROTECTED]> "Aleksandr A.Babaylov" writes: : > This is one reason I have TMPDIR set to "." when I'm running as me. : ...and lose a lot of files to delete... My sources are cvs controlled, and a cvs update -n tells me what to delete when gcc doesn't do it for me. And when I'm n

Re: rexec as root

2000-05-12 Thread Warner Losh
In message <[EMAIL PROTECTED]> Nick Sayer writes: : I put it to everyone that the first and third checks are equivalent and : redundant. They are not redundant. They provide a little (although not much) extra security for those sites that have had a root account added by intruders which the admi

Re: BROKEN_KEYBOARD_RESET

2000-05-12 Thread Chris D. Faulhaber
On Fri, 12 May 2000, Warner Losh wrote: > In message <[EMAIL PROTECTED]> FreeBSD MAIL writes: > : Is this the kernel setting to dislable ctrl-alt-delete from resetting > : a systtem? If so it seems to be broken in 4.0-RELEASE. > : is there another way of doing this? remaping keyboard perhaps? >

Re: Double buffered cp(1)

2000-05-12 Thread Aleksandr A.Babaylov
Warner Losh writes: > In message <[EMAIL PROTECTED]> Kris >Kennaway writes: > : (incidentally, another reason to use -pipe is that the above filenames are > : predictable and probably handled insecurely so that another user can cause > : any of your files to be overwritten when you compile someth

Re: BROKEN_KEYBOARD_RESET

2000-05-12 Thread Warner Losh
In message <[EMAIL PROTECTED]> FreeBSD MAIL writes: : Is this the kernel setting to dislable ctrl-alt-delete from resetting : a systtem? If so it seems to be broken in 4.0-RELEASE. : is there another way of doing this? remaping keyboard perhaps? : : # BROKEN_KEYBOARD_RESET disables the use of the

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

2000-05-12 Thread Marco Molteni
On Fri, 12 May 2000, Greg Lehey wrote: > 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? [..] > > From the L

Re: Double buffered cp(1)

2000-05-12 Thread Warner Losh
In message <[EMAIL PROTECTED]> Kris Kennaway writes: : (incidentally, another reason to use -pipe is that the above filenames are : predictable and probably handled insecurely so that another user can cause : any of your files to be overwritten when you compile something. This is : on my list of

more still breaks world

2000-05-12 Thread Steve Ames
buildworld still breaks in more (cvsup from around 12:30 EDT)... however it only breaks if you have obj directories: virtual-voodoo# make obj /usr/obj/source/src/usr.bin/more created for /source/src/usr.bin/more virtual-voodoo# make depend sed -e 's/\\//g' -e 's/\"/\\\"/g' -e 's/$/\\n\\/' <

Dual ethernet tl on Compaq Server (fwd)

2000-05-12 Thread Christopher T. Griffiths
I sent this in yesterday but got no info back. Any ideas? I am getting the following error after I upgraded from 3.4 -stable to 4.0 -stable cvsuped as of a few days ago. I am getting the following error: tl0: got an invalid interrupt! tl1: got an invalid interrupt! Network services seem ok, b

Re: rexec as root

2000-05-12 Thread Poul-Henning Kamp
>What you say is correct, but personally I think deprecated really should >mean deprecated. There are better alternatives to rexec (ssh - open or >otherwise) and they ought to be pushed. FreeBSD provides tools for people, we don't enforce our policy on them. I think the proposed change makes se

Re: rexec as root

2000-05-12 Thread Jan Grant
On Fri, 12 May 2000, Nick Sayer wrote: > I would like to gather some opinions in regards to _very slightly_ > backing off > on rexec's security. Don't do it? > rexec makes the following checks... [ uid==0, password blank, uname in /etc/ftpusers ] > I put it to everyone that the first and third

rexec as root

2000-05-12 Thread Nick Sayer
I would like to gather some opinions in regards to _very slightly_ backing off on rexec's security. rexec makes the following checks, and refuses to allow usage if any are true: uid == 0 password is blank user is in /etc/ftpusers I put it to everyone that the first and t

Re:BROKEN_KEYBOARD_RESET

2000-05-12 Thread FreeBSD MAIL
Sorry for the stupid quiestion. I figured it out from LINT that is the options SC_DISABLE_REBOOT # disable reboot key sequence Thanks Richard Puga [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: BROKEN_KEYBOARD_RESET

2000-05-12 Thread Marc Silver
The option you're looking for is: options SC_DISABLE_REBOOT BROKEN_KEYBOARD_RESET is used for something else. :) Cheers, Marc On Fri, May 12, 2000 at 04:29:40AM -1000, FreeBSD MAIL wrote: > Is this the kernel setting to dislable ctrl-alt-delete from resetting > a systtem? If so it se

BROKEN_KEYBOARD_RESET

2000-05-12 Thread FreeBSD MAIL
Is this the kernel setting to dislable ctrl-alt-delete from resetting a systtem? If so it seems to be broken in 4.0-RELEASE. is there another way of doing this? remaping keyboard perhaps? # BROKEN_KEYBOARD_RESET disables the use of the keyboard controller to # reset the CPU for reboot. This is

Re: Double buffered cp(1)

2000-05-12 Thread Aleksandr A.Babaylov
Kris Kennaway writes: > On Fri, 12 May 2000, Koster, K.J. wrote: > > > Unless this has been changed from 3.4 to 4.0, gcc defaults to /var/tmp. I > > never understood why, and the gcc manual page claims that it's /tmp (I > > think). MFS users, synchronize your TMPDIR variables ... now. :-) > > It

Re: newbusified rp driver

2000-05-12 Thread Seigo Tanimura
On Thu, 11 May 2000 06:55:48 -0700 (PDT), Chris Ptacek <[EMAIL PROTECTED]> said: Chris> I am currently working on a program to download the microcode into Chris> the RocketModem2 cards. One thing I noticed is that the RocketPort Chris> driver defaults the cards to 8 lines, I put in a small fix

Re: Double buffered cp(1)

2000-05-12 Thread Kent Stewart
Kris Kennaway wrote: > > 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 8

RE: ipfw and verbose mode (solved)

2000-05-12 Thread Gianmarco Giovannelli
At 12/05/00, you wrote: >On Fri, 12 May 2000, Gianmarco Giovannelli wrote: > > > I am missing these kind of logging which I require with the "log" keyword: > >Check your syslog.conf settings - ipfw didn't change the logging behaviour >with 4.0, AFAIK. Find it ! Thanks it logs everything in /var/l

Re: Why this works?

2000-05-12 Thread Alfred Perlstein
* Ville-Pertti Keinonen <[EMAIL PROTECTED]> [000511 22:49] wrote: > > [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

RE: ipfw and verbose mode

2000-05-12 Thread Kris Kennaway
On Fri, 12 May 2000, Gianmarco Giovannelli wrote: > I am missing these kind of logging which I require with the "log" keyword: Check your syslog.conf settings - ipfw didn't change the logging behaviour with 4.0, AFAIK. Kris In God we Trust -- all others must submit an X.509 certificate.

RE: Double buffered cp(1)

2000-05-12 Thread Kris Kennaway
On Fri, 12 May 2000, Koster, K.J. wrote: > Unless this has been changed from 3.4 to 4.0, gcc defaults to /var/tmp. I > never understood why, and the gcc manual page claims that it's /tmp (I > think). MFS users, synchronize your TMPDIR variables ... now. :-) It did. Compiling a simple test progr

RE: ipfw and verbose mode

2000-05-12 Thread Gianmarco Giovannelli
At 11/05/00, Conrad Sabatier wrote: >On 12-May-00 Gianmarco Giovannelli wrote: > > > > The problem is that ipfw, even if working, don't log me on > > the screen or in /var/log/messages the rules that are triggered > > (with the log keyword) like: > > > > ipfw -q add 1 deny log ip from any to

RE: Double buffered cp(1)

2000-05-12 Thread Koster, K.J.
> > Leaving out -pipe would be slower still, because the > compiler does data passing using temporary files in /tmp > instead of via a pipe. > Unless this has been changed from 3.4 to 4.0, gcc defaults to /var/tmp. I never understood why, and the gcc manual page claims that it's /tmp (I think).