Re: mktemp() patch

2000-06-09 Thread Boris Popov
On Thu, 8 Jun 2000, Kris Kennaway wrote: > > Count both, nwfs and smbfs, because any program can attempt to > > create temporary file on these filesystems. File with an invalid file name > > will be rejected, and this will cost an additional lookup operation(s). > > I'm not sure that weird f

Can't make installworld :(

2000-06-09 Thread Hostas Red
Hi! I can't make installworld for some time with following message: vm/vm_object.h -> vm/vm_object.ph vm/vm_page.h -> vm/vm_page.ph vm/vm_pageout.h -> vm/vm_pageout.ph vm/vm_pager.h -> vm/vm_pager.ph vm/vm_param.h -> vm/vm_param.ph vm/vm_prot.h -> vm/vm_prot.ph vm/vm_zone.h -> vm/vm_zone.ph vm/v

Latest pcm commits and ESS 1868...

2000-06-09 Thread Donn Miller
With the latest pcm commits, there's a lot of pops and clicks during the playing of MP3's. This is with the ESS 1868 sound card. - Donn To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message

Re: mktemp() patch

2000-06-09 Thread John LoVerso
> I still suggest not using symbols at all, since I'd like to be able to > quickly remove tempfiles by hand without worrying if I have to escape # > or ^, etc. Then disable globbing first. (csh et al) "set noglob" or (sh et al) "set -f noglob". John To Unsubscribe: send mail to [EMAIL PROTECTE

VMware detection code in boot loader

2000-06-09 Thread Luoqi Chen
Would anyone object if I add a ficl word to detect whether we're booting from a vmware virtual machine? I find it extremely useful when I'm running FreeBSD as a guest under NT. Because it is a dual cpu box, I can't use a single kernel to boot both directly or inside the virtual machine. With this

Re: VMware detection code in boot loader

2000-06-09 Thread Mike Smith
> Would anyone object if I add a ficl word to detect whether we're booting > from a vmware virtual machine? Sounds good to me! -- \\ Give a man a fish, and you feed him for a day. \\ Mike Smith \\ Tell him he should learn how to fish himself, \\ [EMAIL PROTECTED] \\ and he'll hate you for a

Re: mktemp() patch

2000-06-09 Thread Jeroen C. van Gelderen
Mark Murray wrote: > > > > What is the purpose of this? It looks hugely wasteful to me. If you > > > really need a single random bit, it is not good to waste a block of > > > hard-gained gryptographic randomness; can you not use a pseudo-random > > > bit-generator? > > > > arc4random() does not c

Re: VMware detection code in boot loader

2000-06-09 Thread Jeroen C. van Gelderen
Luoqi Chen wrote: > > Would anyone object if I add a ficl word to detect whether we're booting > from a vmware virtual machine? I find it extremely useful when I'm running > FreeBSD as a guest under NT. Because it is a dual cpu box, I can't use a > single kernel to boot both directly or inside th

Re: Can't make installworld :(

2000-06-09 Thread Vallo Kallaste
On Fri, Jun 09, 2000 at 01:53:35PM +0400, Hostas Red <[EMAIL PROTECTED]> wrote: > I can't make installworld for some time with following message: > > vm/vm_object.h -> vm/vm_object.ph > vm/vm_page.h -> vm/vm_page.ph > vm/vm_pageout.h -> vm/vm_pageout.ph > vm/vm_pager.h -> vm/vm_pager.ph > vm/vm_

Re: mktemp() patch

2000-06-09 Thread Andrey A. Chernov
On Thu, Jun 08, 2000 at 08:47:36PM -0700, Kris Kennaway wrote: > filesystems. For example, should we limit all FreeBSD file names to 8.3 > single-case in case someone wants to run from an old-style MSDOS > partition? Bad example. Not _all_ filenames but temp. ones only which allows to run FreeBS

Re: Can't make installworld :(

2000-06-09 Thread Ian Dowse
In message <[EMAIL PROTECTED]>, Hosta s Red writes: >I can't make installworld for some time with following message: > >vm/vm_object.h -> vm/vm_object.ph >vm/vm_page.h -> vm/vm_page.ph >vm/vm_pageout.h -> vm/vm_pageout.ph >vm/vm_pager.h -> vm/vm_pager.ph >vm/vm_param.h -> vm/vm_param.ph >vm/vm_pro

Re: mktemp() patch

2000-06-09 Thread Kris Kennaway
On Fri, 9 Jun 2000, Andrey A. Chernov wrote: > On Thu, Jun 08, 2000 at 08:47:36PM -0700, Kris Kennaway wrote: > > filesystems. For example, should we limit all FreeBSD file names to 8.3 > > single-case in case someone wants to run from an old-style MSDOS > > partition? > > Bad example. Not _all_

Re: mktemp() patch

2000-06-09 Thread Kris Kennaway
On Fri, 9 Jun 2000, Kris Kennaway wrote: > The point is the same. Files created by FreeBSD binaries during the course > of operation don't conform to an 8.3 monocase naming scheme (think of > dotfiles for example). I don't believe there's such a thing as a lowest > common denominator of file syst

Re: mktemp() patch

2000-06-09 Thread Mark Murray
> > But I repeat myself; are you still intending to use cryptographic security > > for one bit? What does that buy you? An attacker will laugh at the waste > > of resources that went into a coin-flip :-). Much better is to use something > > cheaper like time-of-day XOR 1 << whatever. > > Pseudo r

Boot Manager

2000-06-09 Thread John Hengstler
Greetings, What is the quick way to restore the boot manager (dual os). Lost it when I reloaded Win98. Have 4.0 CD, machine running 5.0-current. John Hengstler 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-09 Thread Christopher Masto
On Fri, Jun 09, 2000 at 01:14:35PM -0400, Jeroen C. van Gelderen wrote: > I'm not sure it is a good idea to name this variable VMWare as > that is implementation specific. It may be better to have a var > named 'emulation' set to 'none' or 'vmware' or 'bochs' or ... Mmm.. or, giving forth the abi

Re: VMware detection code in boot loader

2000-06-09 Thread Christopher Masto
> > extern void ficlOutb(FICL_VM *pVM); > > extern void ficlInb(FICL_VM *pVM); I'm an idiot. -- Christopher Masto Senior Network Monkey NetMonger Communications [EMAIL PROTECTED][EMAIL PROTECTED]http://www.netmonger.net Free yourself, free your machine, free the d

Re: Latest pcm commits and ESS 1868...

2000-06-09 Thread Otter
Donn Miller wrote: > > With the latest pcm commits, there's a lot of pops and clicks during > the playing of MP3's. This is with the ESS 1868 sound card. > > - Donn > I hate to send "me too" emails, but i think it's the driver. My SB Live has worked great until last night, when i caught my sou

Re: VMware detection code in boot loader

2000-06-09 Thread Peter Wemm
Christopher Masto wrote: > On Fri, Jun 09, 2000 at 01:14:35PM -0400, Jeroen C. van Gelderen wrote: > > I'm not sure it is a good idea to name this variable VMWare as > > that is implementation specific. It may be better to have a var > > named 'emulation' set to 'none' or 'vmware' or 'bochs' or ..

Re: mktemp() patch

2000-06-09 Thread Andrey A. Chernov
On Fri, Jun 09, 2000 at 12:58:27PM -0700, Kris Kennaway wrote: > > Bad example. Not _all_ filenames but temp. ones only which allows to run > > FreeBSD binary in MSDOS FS with MSDOS files. > > The point is the same. Files created by FreeBSD binaries during the course > of operation don't conform

Re: mktemp() patch

2000-06-09 Thread Andrey A. Chernov
On Fri, Jun 09, 2000 at 10:02:44PM +0200, Mark Murray wrote: > > > But I repeat myself; are you still intending to use cryptographic security > > > for one bit? What does that buy you? An attacker will laugh at the waste > > > of resources that went into a coin-flip :-). Much better is to use some

Re: mktemp() patch

2000-06-09 Thread Jeroen C. van Gelderen
"Andrey A. Chernov" wrote: > > On Fri, Jun 09, 2000 at 10:02:44PM +0200, Mark Murray wrote: > > > > But I repeat myself; are you still intending to use cryptographic security > > > > for one bit? What does that buy you? An attacker will laugh at the waste > > > > of resources that went into a coi

Re: mktemp() patch

2000-06-09 Thread Jeroen C. van Gelderen
Kris Kennaway wrote: > > On Fri, 9 Jun 2000, Andrey A. Chernov wrote: > > > On Thu, Jun 08, 2000 at 08:47:36PM -0700, Kris Kennaway wrote: > > > filesystems. For example, should we limit all FreeBSD file names to 8.3 > > > single-case in case someone wants to run from an old-style MSDOS > > > pa

Re: VMware detection code in boot loader

2000-06-09 Thread Jeroen C. van Gelderen
Peter Wemm wrote: > > Christopher Masto wrote: > > On Fri, Jun 09, 2000 at 01:14:35PM -0400, Jeroen C. van Gelderen wrote: > > > I'm not sure it is a good idea to name this variable VMWare as > > > that is implementation specific. It may be better to have a var > > > named 'emulation' set to 'non

Re: Scheduler changes?

2000-06-09 Thread Brian Fundakowski Feldman
On Sun, 28 May 2000, Jacob A. Hart wrote: > I remember the scheduler bug you're talking about. My system feels much > the same as it did during 4.0-CURRENT when that bug was active. I had a > collection of wrapper scripts for CPU intensive programs that suspended > rc5des, ran the program, then

Re: freezing and rebooting with vidcontrol -m on

2000-06-09 Thread Adam
On Sat, 10 Jun 2000, Matthew Thyer wrote: >Are you using power management (presumably so you can poweroff your >ATX system) ? > >You must not use APM with an SMP kernel currently. > >Remove the lines in your /etc/rc.conf that read: > >apm_enable="YES" >apmd_enable="YES" > >(Or change them to ="NO

ps2 mouse troubles

2000-06-09 Thread Ray Kohler
Just one more report to add to the ps2 mouse discussion: Today I moved from 4.0 to -CURRENT. Now my mouse jumps around like other people are reporting. It worked fine before. I tried using a different mouse. I tried using NOCHECKSYNC (even though I'm not getting the messages). I tried this both w

Re: VMware detection code in boot loader

2000-06-09 Thread Daniel C. Sobral
Luoqi Chen wrote: > > Would anyone object if I add a ficl word to detect whether we're booting > from a vmware virtual machine? I find it extremely useful when I'm running > FreeBSD as a guest under NT. Because it is a dual cpu box, I can't use a > single kernel to boot both directly or inside th

IPFW, sound, and modules

2000-06-09 Thread Kelly G.
Hi! Please excuse me, this is my first time posting a question. I know you people are only answering out of courtesy, and I appreciate any replies I may get. I was using FreeBSD 4.0 successfully with IPFW and Sound enabled. Recently I upgraded to 5.0 snapshot 2000/05/20 and my kernel now uses /

Re: mktemp() patch

2000-06-09 Thread Bruce Evans
On Fri, 9 Jun 2000, Kris Kennaway wrote: > dotfiles for example). I don't believe there's such a thing as a lowest > common denominator of file system naming conventions - either a filesystem > can support UFS names (perhaps through a translation later) or it's not > suitable for running FreeBSD

Re: freezing and rebooting with vidcontrol -m on

2000-06-09 Thread Adam
Okay, answering my own question for the sake of the archive, I believe it was an on combination of some of the options SC_something that vidcontrol -m on and my mouse and kernel didnt like. I was using some to save on kernel size and memory used but then decided to start using the computer on

Re: mktemp() patch

2000-06-09 Thread Andrey A. Chernov
On Fri, Jun 09, 2000 at 07:37:09PM -0400, Jeroen C. van Gelderen wrote: > > Why to XOR true random bits from arc4random() with non-random bits from > > getpid()? It only weakens. Better way is just remove any getpid() code and > > left arc4random() only. > > Then you will get collisions which you

Re: freezing and rebooting with vidcontrol -m on

2000-06-09 Thread Kazutaka YOKOTA
>Okay, answering my own question for the sake of the archive, I believe it >was an on combination of some of the options SC_something that >vidcontrol -m on and my mouse and kernel didnt like. I was using some to >save on kernel size and memory used but then decided to start using the >compu

Re: mktemp() patch

2000-06-09 Thread Andrey A. Chernov
On Fri, Jun 09, 2000 at 11:23:58PM -0700, Andrey A. Chernov wrote: > On Fri, Jun 09, 2000 at 07:37:09PM -0400, Jeroen C. van Gelderen wrote: > > > Why to XOR true random bits from arc4random() with non-random bits from > > > getpid()? It only weakens. Better way is just remove any getpid() code an

Re: freezing and rebooting with vidcontrol -m on

2000-06-09 Thread Adam
I dont recall exactly :( SC_NO_FONT_LOADING was one of them, I may have commented one of the others in the old conf trying to fix it. I have a spare comp with a freebsd install I could play around with it on and see if I can recreate it instead of goofing around with my server that had the proble

Re: mktemp() patch

2000-06-09 Thread Andrey A. Chernov
On Fri, Jun 09, 2000 at 11:23:58PM -0700, Andrey A. Chernov wrote: > > would be the way to go: 64^6 = 2^36 possibilities which is nice... > > 1) Just totally opposite: mixing random with non-random sources you'll get > into collision much faster then with random source only. 2) Yet, of course,

Re: mktemp() patch

2000-06-09 Thread Matthew Dillon
:1) Just totally opposite: mixing random with non-random sources you'll get :into collision much faster then with random source only. 2) Yet, of course, :the code handles collisions. : :-- :Andrey A. Chernov :<[EMAIL PROTECTED]> Think about it. If you mix a random number with a non-rando