Re: 4.x buildworlds broken on -current

2000-06-11 Thread Bruce Evans
On Sat, 10 Jun 2000, Kris Kennaway wrote: Recent compiler changes seem to have broken the ability to do 4.x buildworlds under -current - I've tested this on beast.freebsd.org and my own machines and got the same result. The build dies during the compiler phase with lots of stuff like:

Re: mktemp() patch

2000-06-11 Thread Mark Murray
Think about it. If you mix a random number with a non-random number, using xor, what you get is a random number. It's neither stronger nor weaker. No, you'll get weaker random number, it badly affects random distribution. OR or AND will affect more. What you say is

Re: mktemp() patch

2000-06-11 Thread Mark Murray
Only if predictable have the same bits number as random. If not all bits of random XOR-ed (i.e. half of random), it becomes weaker. Sigh. Exactly. The other half is _not_random_; I am not talking about it. BTW, if they have the same bits number, there is no reason to XOR random with

Re: mktemp() patch

2000-06-11 Thread Mark Murray
If it not weakers I can't see why it strenghthens. I.e. you can constantly strenghthens generator with passing it through XOR -1 ? If not, why any other value is better than -1? Huh? -1 is a constant, not random. Pass your data through _random_ bits, XORing it with them, and you have

Re: mktemp() patch

2000-06-11 Thread Mark Murray
BTW, if they have the same bits number, there is no reason to XOR random with predictable, random is not become more random. But still confirm this. If the random number is truly random, then you are correct. If there are attacks on your random number generator, then XORing other stuff

Re: mktemp() patch

2000-06-11 Thread Andrey A. Chernov
On Sun, Jun 11, 2000 at 09:24:37AM +0200, Mark Murray wrote: If it not weakers I can't see why it strenghthens. I.e. you can constantly strenghthens generator with passing it through XOR -1 ? If not, why any other value is better than -1? Huh? -1 is a constant, not random. Pass your

Re: mktemp() patch

2000-06-11 Thread Mark Murray
Huh? -1 is a constant, not random. Pass your data through _random_ bits, XORing it with them, and you have unbreakable crypto (one-time-pad) if you make a record of the random bits (the key). Yes, if passing _random_ through -1 _data_ not makes it strengthens, passing through

Re: Scheduler changes?

2000-06-11 Thread Jacob A. Hart
On Fri, Jun 09, 2000 at 08:28:06PM -0400, Brian Fundakowski Feldman wrote: The diff should make a process at -20 which uses all available CPU schedule just slightly the ahead of a process at +20 which uses no CPU. A process which uses full CPU at 0 niceness would have a priority of 128,

Re: Scheduler changes?

2000-06-11 Thread Vladimir Kostyrko
On Sun, Jun 11, 2000 at 08:03:22PM +1000, Jacob A. Hart wrote: Using idprio as Volodymyr suggested seems to be a viable workaround. You mentioned in another message that idprio could potentially deadlock my machine, though. Under what conditions could this happen (and how likely is it to

Re: Scheduler changes?

2000-06-11 Thread David Greenman
Using idprio as Volodymyr suggested seems to be a viable workaround. You mentioned in another message that idprio could potentially deadlock my machine, though. Under what conditions could this happen (and how likely is it to occur)? idprio can lead to a system hang due to priority

Newmidi Release Candidate is ready

2000-06-11 Thread Seigo Tanimura
The release candidate of newmidi is finally ready. The patch for -current can be found at: URI: http://people.FreeBSD.org/~tanimura/patches/newmidirc.diff.gz I will put this patch into the final test stage of 1 month. The date of merge is hence going to be 11th July 2000. -- Seigo Tanimura

word processor

2000-06-11 Thread IsDaPappy
unable to open word processor. pop-up says error has occurred and shuts down. have run system. clean up,scandisk,defrag,etc. but program still will not open. please help if possible To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the

Re: Scheduler changes?

2000-06-11 Thread Brian Fundakowski Feldman
On Sun, 11 Jun 2000, Jacob A. Hart wrote: On Fri, Jun 09, 2000 at 08:28:06PM -0400, Brian Fundakowski Feldman wrote: The diff should make a process at -20 which uses all available CPU schedule just slightly the ahead of a process at +20 which uses no CPU. A process which uses full

kernel config errors...

2000-06-11 Thread Donn Miller
After a recent cvsup, I'm getting this error after doing a config -r: ../../conf/files: coda/coda_fbsd.c must be optional, mandatory or standard - Donn To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message

Re: Scheduler changes?

2000-06-11 Thread Luigi Rizzo
Hi, i understand that this means maybe a somwthat large change in the system, but what do you think if we have a lok at implementing the CPU scheduler using weights instead of strict priorities ? Do we have parts of the kernel which rely on priority to implement locking etc ? This would not be

Re: kernel config errors...

2000-06-11 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], Donn Mi ller writes: After a recent cvsup, I'm getting this error after doing a config -r: ../../conf/files: coda/coda_fbsd.c must be optional, mandatory or standard recompile config(8). I don't know why peter didn't bump the magic-config-version-number. --

Re: VMware detection code in boot loader

2000-06-11 Thread Daniel C. Sobral
Mike Smith wrote: VMware intercepts the inb/outb instruction to port 0x5658 when the eax register is set to a magic value, otherwise it would be handled as any other ports. I think, again, that adding an i386-specific word that detects the presence of VMware is a perfectly sensible

Upgrading from 4.0-RELEASE broken

2000-06-11 Thread Andre Oppermann
I always get bitten by these bugs while trying to upgrade a 4.0-RELEASE box to 5.0-CURRENT via make world: Problem #1: === libcrypto perl /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/objects/obj_dat. pl

Re: RE: Strange rpc.statd and mount_nfs

2000-06-11 Thread Jonathan Hanna
On 11-Jun-00 Matthew Dillon wrote: :Here is a rather suspicious fix, I have not looked at rpc call :use in detail: : :--- mount_nfs.c.origSat Jun 10 11:08:19 2000 :+++ mount_nfs.c Sat Jun 10 11:09:06 2000 :@@ -784,10 +784,11 @@ :warnx("%s",

static linked files in /usr/bin

2000-06-11 Thread Juriy Goloveshkin
Hi all! Why a lot of files in /usr/bin(sbin) are static linked? for example, tar: static - 272832 bytes(83416 dynamic) is it magic of /usr/src/gnu folder? Bye Juriy Goloveshkin To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message

Re: VMware detection code in boot loader

2000-06-11 Thread Louis A. Mamakos
Mike Smith wrote: VMware intercepts the inb/outb instruction to port 0x5658 when the eax register is set to a magic value, otherwise it would be handled as any other ports. I think, again, that adding an i386-specific word that detects the presence of VMware is a perfectly

Re: Newmidi Release Candidate is ready

2000-06-11 Thread Donn Miller
Seigo Tanimura wrote: The release candidate of newmidi is finally ready. The patch for -current can be found at: URI: http://people.FreeBSD.org/~tanimura/patches/newmidirc.diff.gz I tried this patch out. When I added nothing to my kernel config file other than device sbc0

Problems with PCM and ESS 1868

2000-06-11 Thread Donn Miller
The recent commits to PCM, as of a few days back, have given me problems with my ESS 1868. When I play MP3's with mpg123, I get a lot of loud pops and clicks during playback. Otherwise, the MP3s DO play all the way through. However, when I try to play MP3s with Real Player 7, it just hangs at

Re: strange messages at bootup

2000-06-11 Thread Mike Smith
I would hazard the guess that you now have the PNPBIOS directive in your kernel config file... Actually, I don't have PnP in my config file. That's why I think this is so weird... It's on by default now. Can I turn it off somehow? Or otherwise fix it? No. The messages

Re: VMware detection code in boot loader

2000-06-11 Thread Peter Wemm
"Daniel C. Sobral" wrote: Mike Smith wrote: VMware intercepts the inb/outb instruction to port 0x5658 when the eax register is set to a magic value, otherwise it would be handled as any other ports. I think, again, that adding an i386-specific word that detects the presence of

Re: VMware detection code in boot loader

2000-06-11 Thread Mike Smith
Mike Smith wrote: VMware intercepts the inb/outb instruction to port 0x5658 when the eax register is set to a magic value, otherwise it would be handled as any other ports. I think, again, that adding an i386-specific word that detects the presence of VMware is a perfectly

Re: kernel config errors...

2000-06-11 Thread Peter Wemm
Poul-Henning Kamp wrote: In message [EMAIL PROTECTED], Donn Mi ller writes: After a recent cvsup, I'm getting this error after doing a config -r: ../../conf/files: coda/coda_fbsd.c must be optional, mandatory or standard recompile config(8). I don't know why peter

Re: VMware detection code in boot loader

2000-06-11 Thread Daniel C. Sobral
Peter Wemm wrote: 2) Add the VMware detecting to FICL, as originally suggested. Why make #2 vmware specific? Why not set $emulation to native,vmware,bochs, etc. This is applicable to any platform that may have some sort of emulator. Putting it in an environment variable has the

Re: VMware detection code in boot loader

2000-06-11 Thread Daniel C. Sobral
Mike Smith wrote: ...VMware is a port. For some reason, I dislike the idea of having support targetted at exclusively one specific port. Though we have features added specifically to deal with certain ports, they were all more generic features. It's not a port, it's a platform. We

Re: VMware detection code in boot loader

2000-06-11 Thread Mike Smith
Mike Smith wrote: ...VMware is a port. For some reason, I dislike the idea of having support targetted at exclusively one specific port. Though we have features added specifically to deal with certain ports, they were all more generic features. It's not a port, it's a

OpenSSH b0rked 6/11

2000-06-11 Thread Ade Lovett
From today's buildworld: [...] cc -O -pipe -DLIBWRAP -DLOGIN_ACCESS -I/usr/src/secure/usr.sbin/sshd/../../../usr.bin/login -DSKEY -c /usr/src/secure/usr.sbin/sshd/../../../crypto/openssh/session.c /usr/src/secure/usr.sbin/sshd/../../../crypto/openssh/session.c: In function `do_exec_pty':

Re: RE: Strange rpc.statd and mount_nfs

2000-06-11 Thread Matthew Dillon
::- auth_destroy(clp-cl_auth); ::- clnt_destroy(clp); ::retrycnt = 0; ::} ::+ auth_destroy(clp-cl_auth); ::+

Re: Panic during boot under current

2000-06-11 Thread Paul Richards
Brian Somers wrote: In article [EMAIL PROTECTED], Archie Cobbs [EMAIL PROTECTED] writes Brian Somers writes: Also (Mark sits beside me at work), is there anyone else out there that actually runs FreeBSD-current under VMWare (irrespective of the host OS) ? This problem has now

Re: Problems with PCM and ESS 1868

2000-06-11 Thread Wes Morgan
I was about to post something like this myself. I've got an SBLive and I hear the same pops and clicks during any audio playback (mp3/wav/whatever). It all worked great up until a couple days ago. On Sun, 11 Jun 2000, Donn Miller wrote: The recent commits to PCM, as of a few days back, have

Re: Problems with PCM and ESS 1868

2000-06-11 Thread Christopher Shumway
On Sun, 11 Jun 2000, Donn Miller wrote: The recent commits to PCM, as of a few days back, have given me problems with my ESS 1868. When I play MP3's with mpg123, I get a lot of loud pops and clicks during playback. Otherwise, the MP3s DO play all the way through. However, when I try to

Re: VMware detection code in boot loader

2000-06-11 Thread Garance A Drosihn
At 10:47 AM -0700 6/11/00, Mike Smith wrote: It's not a port, it's a platform. We probably want to add extra words to detect other platform features, eg. i386, alpha, ia64, etc. but that doesn't invalidate the basic idea. For instance, I might be running the vmware program itself under linux,

setsockopt(IP_FW_ADD)

2000-06-11 Thread Edwin Culp
00050 divert 8668 ip from any to any via dc0 ipfw: setsockopt(IP_FW_ADD): Invalid argument I'm getting this error with ipfw running current as of this morning. Has something changed? Thanks, ed To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of

PCM problems (was Re: cvs commit: src/sys/dev/sound/pcm channel.c)

2000-06-11 Thread Richard Seaman, Jr.
Note: CC list has been trimmed, and moved to -current from -committers as there are related comments on this issue on -current. On Sat, Jun 10, 2000 at 07:15:58AM -0700, Jordan K. Hubbard wrote: I'm also finding that applications like mpg123 don't play audio anymore whereas that very

Re: setsockopt(IP_FW_ADD)

2000-06-11 Thread Will Andrews
On Sun, Jun 11, 2000 at 01:19:44PM -0700, Edwin Culp wrote: 00050 divert 8668 ip from any to any via dc0 ipfw: setsockopt(IP_FW_ADD): Invalid argument I'm getting this error with ipfw running current as of this morning. Has something changed? Other than that you forgot options

Re: setsockopt(IP_FW_ADD)

2000-06-11 Thread Luigi Rizzo
00050 divert 8668 ip from any to any via dc0 ipfw: setsockopt(IP_FW_ADD): Invalid argument I'm getting this error with ipfw running current as of this morning. Has something changed? well, there was a commit to dummynet few days ago, which requires you to recompile ipfw. cheers

Re: setsockopt(IP_FW_ADD)

2000-06-11 Thread Edwin Culp
Will Andrews wrote: On Sun, Jun 11, 2000 at 01:19:44PM -0700, Edwin Culp wrote: 00050 divert 8668 ip from any to any via dc0 ipfw: setsockopt(IP_FW_ADD): Invalid argument I'm getting this error with ipfw running current as of this morning. Has something changed? Other than that you

sshd broken in current

2000-06-11 Thread Michael Harnois
/usr/src/secure/usr.sbin/sshd/../../../crypto/openssh/session.c: In function `do _exec_pty': /usr/src/secure/usr.sbin/sshd/../../../crypto/openssh/session.c:651: warning: pa ssing arg 2 of `auth_ttyok' from incompatible pointer type /usr/src/secure/usr.sbin/sshd/../../../crypto/openssh/session.c:

Re: setsockopt(IP_FW_ADD)

2000-06-11 Thread Edwin Culp
Luigi Rizzo wrote: 00050 divert 8668 ip from any to any via dc0 ipfw: setsockopt(IP_FW_ADD): Invalid argument I'm getting this error with ipfw running current as of this morning. Has something changed? well, there was a commit to dummynet few days ago, which requires you to

Re: Newmidi Release Candidate is ready

2000-06-11 Thread Jeroen Ruigrok van der Werven
-On [2611 15:16], Seigo Tanimura ([EMAIL PROTECTED]) wrote: The release candidate of newmidi is finally ready. The patch for -current can be found at: URI: http://people.FreeBSD.org/~tanimura/patches/newmidirc.diff.gz I will put this patch into the final test stage of 1 month. The date

Re: mktemp() patch

2000-06-11 Thread David Scheidt
On Wed, 7 Jun 2000, Kris Kennaway wrote: :This patch was developed by Peter Jeremy and myself and increases the :number of possible temporary filenames which can be generated by the :mktemp() family, by more densely encoding the PID and using a larger set :of characters to randomly pad with. :

sshd unbroken

2000-06-11 Thread Kris Kennaway
Sorry for the world breakages, all, it turns out I was a bit eager to commit a security fix. World should be compilable again now (at least, if it breaks it should hopefully not be my fault :-) Kris -- In God we Trust -- all others must submit an X.509 certificate. -- Charles Forsythe

(thoughts on) the mktemp() patch.

2000-06-11 Thread David Gilbert
Maybe the soltion is to think out of the box. Maybe temporary filestore should be a more official OS service. Race conditions would be far less common if the OS itself was managing the namespace. You might even expand the capability somewhat. Provide process local, uid local and global

Worst case swapping.

2000-06-11 Thread David Gilbert
I'm running a 700Mhz K7 with 256M of RAM as my workstation. I have two fast SCSI drives with a Gig of swap between them. The system shouldn't normally be a bottleneck as a workstation. I find, however, that there seem to be some bad worst-case senerios popping up rather often. Netscape is a

Re: Worst case swapping.

2000-06-11 Thread Matthew Dillon
:I'm running a 700Mhz K7 with 256M of RAM as my workstation. I have :two fast SCSI drives with a Gig of swap between them. The system :shouldn't normally be a bottleneck as a workstation. : :I find, however, that there seem to be some bad worst-case senerios :popping up rather often. :...

Re: Worst case swapping.

2000-06-11 Thread David Gilbert
"Matthew" == Matthew Dillon [EMAIL PROTECTED] writes: Matthew :Now the application in question (Netscape) usually runs Matthew around 50 to :75 megs, so that swapping activity is Matthew effectively swapping an amount Matthew 50-75MB is a lot, but if you have 256MB of ram it can't Matthew

Re: mktemp() patch

2000-06-11 Thread Peter Wemm
David Scheidt wrote: On Wed, 7 Jun 2000, Kris Kennaway wrote: :This patch was developed by Peter Jeremy and myself and increases the :number of possible temporary filenames which can be generated by the :mktemp() family, by more densely encoding the PID and using a larger set :of

Re: mktemp() patch

2000-06-11 Thread Kris Kennaway
On Sun, 11 Jun 2000, Peter Wemm wrote: These could matter in the light of mktemp(1). file=`mktemp foo.` You guys are responding to old messages..I've already changed my mind about this. Why 74 characters? Why not 64? The more characters we have in the sample set the larger the

Re: mktemp() patch

2000-06-11 Thread Matthew Dillon
:You guys are responding to old messages..I've already changed my mind :about this. : : Why 74 characters? Why not 64? : :The more characters we have in the sample set the larger the namespace and :the better the statistical protection afforded by mktemp() : :Kris There's reasonable, and

Re: Problems with PCM and ESS 1868

2000-06-11 Thread Idea Receiver
my SBLive just wont play any mp3. it just simplye stop immediantly. It was ok before my recent make world. On Sun, 11 Jun 2000, Donn Miller wrote: The recent commits to PCM, as of a few days back, have given me problems with my ESS 1868. When I play MP3's with mpg123, I get a lot of loud

Re: Worst case swapping.

2000-06-11 Thread Matthew Dillon
:Believe me, I look at these things. Yes there is a lot going on and a :lot using memory. I normally have about 20% to 25% of my Gig of swap :used... meaning that I have allocated roughly double my RAM in :applications. : :And when this worst-case happens, memory is full... but the only

Re: Worst case swapping.

2000-06-11 Thread Kent Stewart
Matthew Dillon wrote: :Believe me, I look at these things. Yes there is a lot going on and a :lot using memory. I normally have about 20% to 25% of my Gig of swap :used... meaning that I have allocated roughly double my RAM in :applications. : :And when this worst-case happens, memory

Re: Worst case swapping.

2000-06-11 Thread Brian Hechinger
Kent Stewart drunkenly mumbled... Netscape reallys goes to pot in a hurry if you allow it to use more than 1-2MB of memory cache. A friend was seeing a terrible response and tracked it back to Netscape's memory cache. He had a lot of memory and started out with something on the order of

Re: static linked files in /usr/bin

2000-06-11 Thread David O'Brien
On Sun, Jun 11, 2000 at 09:00:34PM +0400, Juriy Goloveshkin wrote: Why a lot of files in /usr/bin(sbin) are static linked? for example, tar: static - 272832 bytes(83416 dynamic) IMO tar should live in /bin as it is used to restore a system from tape. I don't know why ``dump'' is in /usr/sbin

Re: 4.x buildworlds broken on -current

2000-06-11 Thread David O'Brien
On Sun, Jun 11, 2000 at 04:43:41PM +1000, Bruce Evans wrote: Building old kernels under -current is becoming difficult. I build kernels for RELENG_3 and RELENG_4. This causes a lot of new warnings about invalid assembler, but still works, at least a week ago. Don't worry, the plan is to

VT520 support

2000-06-11 Thread Otter
Does FreeBSD support the vt520? I've looked around in documentation, but haven't been able to find anything about it. If it isn't yet, I could probably get my hands on a spare (note single, not plural) if someone is seriously interested in supporting it. TIA. -Otter To Unsubscribe: send mail

Re: Worst case swapping.

2000-06-11 Thread David Scheidt
On Sun, 11 Jun 2000, Brian Hechinger wrote: :Kent Stewart drunkenly mumbled... : : Netscape reallys goes to pot in a hurry if you allow it to use more : than 1-2MB of memory cache. A friend was seeing a terrible response : and tracked it back to Netscape's memory cache. He had a lot of memory :

Re: VT520 support

2000-06-11 Thread Brandon D. Valentine
On Mon, 12 Jun 2000, Otter wrote: Does FreeBSD support the vt520? I've looked around in documentation, but haven't been able to find anything about it. If it isn't yet, I could probably get my hands on a spare (note single, not plural) if someone is seriously interested in supporting it. TIA.