Re: showing full host names in output from who/finger/last

1999-04-11 Thread Matthew Dillon
:For some years I have been using patched utilities under SunOS to show :full host names in the output from the 'who', 'finger', and 'last' :commands. (Traditional UNIXes truncate host names to about 16 :characters.) : :I have been thinking of patching FreeBSD programs to do the same, but :since

WORLD fails at rpcsvc

1999-04-11 Thread S. Akmentins-Teilors
I've repeatedly cleared obj, clobbered, and whatnot. This has been a problem here for the last two days. Last cvsup was midnight PST on 11 Apr. === rpcsvc rpcgen -C -h -DWANT_NFS3 /usr/src/include/rpcsvc/key_prot.x -o key_prot.h

RE: WORLD fails at rpcsvc

1999-04-11 Thread Jeroen Ruigrok/Asmodai
On 11-Apr-99 S. Akmentins-Teilors wrote: I've repeatedly cleared obj, clobbered, and whatnot. This has been a problem here for the last two days. Last cvsup was midnight PST on 11 Apr. === rpcsvc rpcgen -C -h -DWANT_NFS3 /usr/src/include/rpcsvc/key_prot.x -o key_prot.h

RE: thread-safe libgcc

1999-04-11 Thread Jeroen Ruigrok/Asmodai
On 11-Apr-99 Luoqi Chen wrote: For threaded applications to work correctly, we need a thread-safe version of libgcc. It is straight forward to build: define _PTHREADS in CFLAGS. We can have both versions just like libc and libc_r, and use the thread-safe version when linking threaded

RE: DoS from local users

1999-04-11 Thread Daniel J. O'Connor
On 09-Apr-99 Dmitry Valdov wrote: cat qqq echo $$ echo ~/qqq|~/qqq|~/qqq|~/qqq|~/qqq Ctrl-D ./qqq Is there Any way to fix it? Give your users process limits. ie change the login class they use so it restricts the maximum number of processes they can run. --- Daniel

Re: msdosfs problems?

1999-04-11 Thread Oliver Fromme
adr...@freebsd.org wrote in list.freebsd-current: mpg123 is an ancient player. It won't play most newer MP3s. Use a newer player, like x11amp or xaudio. In its defense, mpg123 is not ancient, and is the _BEST_ MP3 player. I have no idea what kinda of b0rked up MP3s there are

Re: DoS from local users (fwd)

1999-04-11 Thread Daniel C. Sobral
Amancio Hasty wrote: It should be possible to prevent a user from hogging a system if the system's naive scheduler is improved. I think the problem is not related to the scheduler, but to the code path involved in running and reading the file at the same time, multiple times. -- Daniel C.

colour 'ls'

1999-04-11 Thread Oleg Ogurok
Hi there. Have you ever thought about putting colour listing in 'ls' command? First I saw it in linux and then there's a program called 'gnuls' in ports. It looks really cool when you do: gnuls --color=yes Files print as usual and directories print in colour ;-) I put ls as a symbolic link to

Panic from today's current

1999-04-11 Thread Martin Blapp
While running a make 'buildworld -j 10', my SMP box crashed. I had a running nfs-server and softupdates enabled when it happened. The kernel-configfile and dmesg-output is available from: http://www.attic.ch/fuchur_kernel.html panic at: generic_bcopy+0x1arepe movsl (%esi), %es:(%edi) db

Re: DoS from local users (fwd)

1999-04-11 Thread Kevin Day
In message 199904102057.paa27...@home.dragondata.com Kevin Day writes: : i.e. uid 1001 starts 40 processes eating as much cpu as they can. Then uid : 1002 starts up one process. Uid 1002's process gets 50% cpu, and uid 1001's : 40 processes get 50% cpu shared between them. I've seen some

Re: DoS from local users (fwd)

1999-04-11 Thread Warner Losh
In message 37106b7d.50b2f...@rcc.on.ca Rod Taylor writes: : I like this, but the problem with that fork bomb program still exists. : It was afterall system cpu that was doing all the work, not the users : cpu. System CPU still gets charged to the user, so this is a non-issue. Warner To

Re: DoS from local users (fwd)

1999-04-11 Thread Warner Losh
In message 199904102057.paa27...@home.dragondata.com Kevin Day writes: : i.e. uid 1001 starts 40 processes eating as much cpu as they can. Then uid : 1002 starts up one process. Uid 1002's process gets 50% cpu, and uid 1001's : 40 processes get 50% cpu shared between them. I've seen some

Re: AIC

1999-04-11 Thread Bob Willcox
On Wed, Mar 31, 1999 at 12:28:47PM -0800, Brian Beattie wrote: On Wed, 31 Mar 1999, Warner Losh wrote: The aic driver will likely oneday be ported. However, no one has come forward to do it. It is a highly desirable driver to have (even if Umm, I'm still working on the aic driver.

swap-related problems

1999-04-11 Thread Brian Feldman
It seems that something has broken the good ol' swap behavior. For instance, I have my user-limits set to unlimited and I run something which uses up all RAM. Mallocing never FAILS in the program, as brk() doesn't fail, as etc etc etc. But mallocing continues, all swap space gets used, and both

Re: showing full host names in output from who/finger/last

1999-04-11 Thread Robert Watson
On Sat, 10 Apr 1999, Rahul Dhesi wrote: For some years I have been using patched utilities under SunOS to show full host names in the output from the 'who', 'finger', and 'last' commands. (Traditional UNIXes truncate host names to about 16 characters.) I have been thinking of patching

Re: colour 'ls'

1999-04-11 Thread Travis Cole
On Sun, Apr 11, 1999 at 10:04:15AM -0400, Oleg Ogurok wrote: Files print as usual and directories print in colour ;-) I put ls as a symbolic link to gnuls, but every time I make world, the old 'ls' puts back ;-) Instead of the symlink just try using a shell alias for it. alias ls=gnuls

Re: Panic from today's current

1999-04-11 Thread Steven P. Donegan
Well, a kernel built today results in an infinite boot/re-boot cycle on my system (SMP, Tomcat IV). Never gets to a point where a proper dump/tombstone happens. Sorry, no definitive trace here... To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of

Re: colour 'ls'

1999-04-11 Thread Matthew Dillon
:Hi there. : :Have you ever thought about putting colour listing in 'ls' command? First :I saw it in linux and then there's a program called 'gnuls' in ports. It :looks really cool when you do: :gnuls --color=yes :Files print as usual and directories print in colour ;-) :I put ls as a symbolic

Re: DoS from local users (fwd)

1999-04-11 Thread Brian Feldman
On Sun, 11 Apr 1999, Kevin Day wrote: In message 199904102057.paa27...@home.dragondata.com Kevin Day writes: : i.e. uid 1001 starts 40 processes eating as much cpu as they can. Then uid : 1002 starts up one process. Uid 1002's process gets 50% cpu, and uid 1001's : 40 processes get 50%

CTM problem(?)

1999-04-11 Thread Peter Jeremy
I haven't received anything from CTM for cvs-cur since around 0110 PDT yesterday (11th April). The last thing I got was ctm-mail cvs-cur.5226.gz 29/39 and the ftp server shows that up to 5230 (at least) have been generated. Is anyone else having problems? Peter To Unsubscribe: send mail to

Re: swap-related problems

1999-04-11 Thread Matthew Dillon
:It seems that something has broken the good ol' swap behavior. For instance, :I have my user-limits set to unlimited and I run something which uses up :all RAM. Mallocing never FAILS in the program, as brk() doesn't fail, as etc :etc etc. But mallocing continues, all swap space gets used, and

Re: CTM problem(?)

1999-04-11 Thread Peter Jeremy
I wrote: I haven't received anything from CTM for cvs-cur since around 0110 PDT yesterday (11th April). Two minutes after posting this, the CTM backlog started appearing. It looks like it Chi.Alameda.net was sitting on it (possibly because hub.freebsd.org wouldn't accept it). Peter To

Re: colour 'ls'

1999-04-11 Thread Dag-Erling Smorgrav
Oleg Ogurok o...@ogurok.com writes: I put ls as a symbolic link to gnuls, but every time I make world, the old 'ls' puts back ;-) Don't do that. Instead, do: # cd /usr/local/bin # ln -s gnuls ls and fix your PATH so /usr/local/bin comes before /bin. DES -- Dag-Erling Smorgrav -

Re: CTM problem(?)

1999-04-11 Thread Chuck Robey
On Mon, 12 Apr 1999, Peter Jeremy wrote: I wrote: I haven't received anything from CTM for cvs-cur since around 0110 PDT yesterday (11th April). Two minutes after posting this, the CTM backlog started appearing. It looks like it Chi.Alameda.net was sitting on it (possibly because

have live system with NFS client cache problems what do i do?

1999-04-11 Thread Alfred Perlstein
Hey, i was just doing a kernel compile over NFS and i have a weird situtation. After compiling everything the linker barfs on linking. gensetdefs: cd9660_bmap.o: not an ELF file for about 12 files... the compile is being done on a laptop that has my desktop's src dir NFS mounted. the card in

Re: have live system with NFS client cache problems what do i do?

1999-04-11 Thread Matthew Dillon
:Hey, i was just doing a kernel compile over NFS and i have a weird :situtation. After compiling everything the linker barfs on linking. : :gensetdefs: cd9660_bmap.o: not an ELF file What exact release of the kernel is running on the client and on the server? What is being NFS

Re: swap-related problems

1999-04-11 Thread Brian Feldman
On Sun, 11 Apr 1999, Matthew Dillon wrote: :It seems that something has broken the good ol' swap behavior. For instance, :I have my user-limits set to unlimited and I run something which uses up :all RAM. Mallocing never FAILS in the program, as brk() doesn't fail, as etc :etc etc. But

Re: DoS from local users (fwd)

1999-04-11 Thread Stephen Hocking-Senior Programmer PGS Tensor Perth
Mikhail Teterin wrote: What about a new login-class capability specifying the maximum percentage of CPU time a class of users can utilize? With standard class having 90% (or 95%)? The machine would appear (to most of the users) as if it had 10% slower CPU, with the remaining usable by the

Re: swap-related problems

1999-04-11 Thread Matthew Dillon
:I use the memory as soon as it's malloced. If it reserves a page, then :pagefaults it into existence, the VM system knows that that page is now :allocated. When I malloc the last available page for user use, the VM :system knows that it's the last page. I dirty it, and there are none :free. If I

Re: have live system with NFS client cache problems what do i do?

1999-04-11 Thread Alfred Perlstein
On Sun, 11 Apr 1999, Matthew Dillon wrote: :Hey, i was just doing a kernel compile over NFS and i have a weird :situtation. After compiling everything the linker barfs on linking. : :gensetdefs: cd9660_bmap.o: not an ELF file What exact release of the kernel is running on the client

Re: showing full host names in output from who/finger/last

1999-04-11 Thread Brian Somers
For some years I have been using patched utilities under SunOS to show full host names in the output from the 'who', 'finger', and 'last' commands. (Traditional UNIXes truncate host names to about 16 characters.) I have been thinking of patching FreeBSD programs to do the same, but since

Re: have live system with NFS client cache problems what do i do?

1999-04-11 Thread Matthew Dillon
:-current as of tuesday night. although the laptop is now moved :to -current as of today. : :i have 192.168.1.44:/usr/src on /usr/src : :this is only building the kernel in /usr/src/sys/compile/laptop : :server: :FreeBSD myname.my.domain 4.0-CURRENT FreeBSD 4.0-CURRENT #0: Fri Apr 9 11:34:01 PDT

Re: have live system with NFS client cache problems what do i do?

1999-04-11 Thread Alfred Perlstein
On Sun, 11 Apr 1999, Matthew Dillon wrote: :-current as of tuesday night. although the laptop is now moved :to -current as of today. : :i have 192.168.1.44:/usr/src on /usr/src : :this is only building the kernel in /usr/src/sys/compile/laptop : :server: :FreeBSD myname.my.domain

Re: have live system with NFS client cache problems what do i do?

1999-04-11 Thread Matthew Dillon
:/usr/obj isn't mounted, i'm just compiling a kernel. : :no i have no msdos mounted filesystems, i do however have an :unmounted win98 partition and a cdrom with joliet extentions mounted :however the cdrom only contains mp3s. : :After doing more data manipulation (copying files around to flush

EGCS

1999-04-11 Thread Kenneth Wayne Culver
I'm not sure what I'm doing wrong here, but I still can't get the EGCS make world to work properly I just cvsupped like 20 minutes ago, and I typed make -DNOGAMES world. I forgot the particular error, but I don't think I'm doing it right. Is there something that I have to do before I do a

Re: swap-related problems

1999-04-11 Thread Brian Feldman
On Sun, 11 Apr 1999, Matthew Dillon wrote: :I use the memory as soon as it's malloced. If it reserves a page, then :pagefaults it into existence, the VM system knows that that page is now :allocated. When I malloc the last available page for user use, the VM :system knows that it's the last

Re: have live system with NFS client cache problems what do i do?

1999-04-11 Thread Brian Feldman
On Sun, 11 Apr 1999, Matthew Dillon wrote: :-current as of tuesday night. although the laptop is now moved :to -current as of today. : :i have 192.168.1.44:/usr/src on /usr/src : :this is only building the kernel in /usr/src/sys/compile/laptop : :server: :FreeBSD myname.my.domain

Re: have live system with NFS client cache problems what do i do?

1999-04-11 Thread Brian Feldman
On Sun, 11 Apr 1999, Matthew Dillon wrote: :/usr/obj isn't mounted, i'm just compiling a kernel. : :no i have no msdos mounted filesystems, i do however have an :unmounted win98 partition and a cdrom with joliet extentions mounted :however the cdrom only contains mp3s. : :After doing more

Re: EGCS

1999-04-11 Thread Jordan K. Hubbard
I forgot the particular error, but I don't think I'm doing it right. Is The actual error would be most helpful, otherwise this is sort of a waste of email. :( there something that I have to do before I do a make world? Thanks. A make world, assuming that you're already ELF, should do it. -

Re: swap-related problems

1999-04-11 Thread Matthew Dillon
: : I ran your program. malloc() appears to work properly -- returns NULL when : the datasize limit is reached. In my case, I set the datasize limit : to 64MB and ran the program. : :Unset the datasize limit. Now what happens? It used to return NULL, now :it gets SIGKILLed.

Re: have live system with NFS client cache problems what do i do?

1999-04-11 Thread Matthew Dillon
: corruption is occuring on the client. But if the make procedure is not : accessing (much of) the client's hard drive, where on the client could : the corruption be coming from? : :This has nothing to do with DOS. In case you didn't get my other hint: :{/home/green}$ dd if=/dev/zero

Re: EGCS

1999-04-11 Thread Warner Losh
In message pine.bsf.4.05.9904112257120.2543-100...@culverk.student.umd.edu Kenneth Wayne Culver writes: : I forgot the particular error, but I don't think I'm doing it right. Is : there something that I have to do before I do a make world? Thanks. Read src/UPDATING for a start. If the error

Re: have live system with NFS client cache problems what do i do?

1999-04-11 Thread Stephen McKay
On Sunday, 11th April 1999, Alfred Perlstein wrote: On Sun, 11 Apr 1999, Matthew Dillon wrote: doing a 'file cd9660_bmap.o' on laptop (NFS client) gives me a cd9660_bmap.o: MS Windows COFF Unknown CPU An MS Windows binary? Do you have any msdos mounts on the client or server?

Re: have live system with NFS client cache problems what do i do?

1999-04-11 Thread Stephen McKay
On Sunday, 11th April 1999, Brian Feldman wrote: This has nothing to do with DOS. In case you didn't get my other hint: {/home/green}$ dd if=/dev/zero count=1 2/dev/null | file - standard input: MS Windows COFF Unknown CPU Don't ya just hate it when your mail is slow! Sigh...

Re: have live system with NFS client cache problems what do i do?

1999-04-11 Thread Brian Feldman
On Mon, 12 Apr 1999, Stephen McKay wrote: On Sunday, 11th April 1999, Brian Feldman wrote: This has nothing to do with DOS. In case you didn't get my other hint: {/home/green}$ dd if=/dev/zero count=1 2/dev/null | file - standard input: MS Windows COFF Unknown CPU Don't ya