Re: Lack of real long double support

2002-10-26 Thread David Schultz
Thus spake M. Warner Losh [EMAIL PROTECTED]: : No. You should assume that for i386, at least, that long double will : have the right LDBL_ constants. I've had them in my local tree for : about 3 months now and just haven't found the time to commit to : -current. I'll find the time right

Re: Request: remove ssh1 fallback

2002-10-26 Thread David Schultz
Thus spake Tim Kientzle [EMAIL PROTECTED]: Thus spake Lucky Green [EMAIL PROTECTED]: ... remove ssh1 fallback from the default ... David Schultz [EMAIL PROTECTED] wrote: Removing SSH 1 ... is going to break compatibility ... POLA: before breaking compatibility, warn people. It's simple

Re: libc size

2002-10-30 Thread David Schultz
Thus spake Doug Rabson [EMAIL PROTECTED]: Move the resolver code out to ibresolv.so, and link libc.so against libresolv.so so that legacy applications are happy, as long as they are compiled shared. Non-network apps can ignore most of it. Internal use of some of the biggest chunks is

Re: libc size

2002-10-30 Thread David Schultz
Thus spake Terry Lambert [EMAIL PROTECTED]: David Schultz wrote: We've been over this before. To make this work right, we need to make /bin and /sbin dynamically linked. NetBSD's /rescue/* approach would solve the oops! and other foot shooting problems. Yes please. Our root

Re: Lack of real long double support

2002-10-31 Thread David Schultz
Thus spake Bruce Evans [EMAIL PROTECTED]: $ cc -o z z.c $ ./z LDBL_EPSILON failed test 1 with prec 2 $ cc -O -o z z.c. $ ./z LDBL_EPSILON failed test 1 with prec 2 DBL_EPSILON failed test 2 with prec 3 %%% The full brokenness only shows up with -O. Actually, the _full_ brokenness of

Re: libc size

2002-11-03 Thread David Schultz
Thus spake Miguel Mendez [EMAIL PROTECTED]: Why? I'd love to hear some real reasons for this. NetBSD-current has just gone fully dynamic, let's see how much space that needs... christine: {16} uname -srnm NetBSD christine.energyhq.tk 1.6J i386 christine: {17} du -h /bin /sbin /lib 999K

Re: libc size

2002-11-03 Thread David Schultz
Thus spake Robert Watson [EMAIL PROTECTED]: I can't come up right now with an idea of how exploiting LD_LIBRARY_PATH could be useful with any of these, but the possibility exists. OTOH, the recently added priviledge elevation feature should make it possible to have *no* setuid programs on

Re: SMP broken on PPro

2002-11-06 Thread David Schultz
Thus spake Glenn Johnson [EMAIL PROTECTED]: I have had no trouble with UP -STABLE running on a dual PPro system, but I'm getting an early panic in UP and SMP -CURRENT on the same system. I will post details to current@ soon if I can't figure out the problem. The problem on -STABLE is

Re: Kernel not booting....Immediate crash

2002-11-07 Thread David Schultz
Thus spake Michael G. Petry [EMAIL PROTECTED]: I'm noticing the same behavior on a PPro system I have and am following the thread SMP broken on PPro. It looks like the problem is not SMP specific, but it does seem PPro centric. I observed the problem on a PPro as well, but it is not specific

Re: Kernel not booting....Immediate crash

2002-11-08 Thread David Schultz
Thus spake Sidcarter [EMAIL PROTECTED]: Fatal trap 12: page fault while in vm86 mode fault virtual address = 0x9fdc8 ^^^ That's a region of memory right before the 640K mark, and your BIOS is trying to use it. This used to work, but revision 1.544 of

Re: Kernel not booting....Immediate crash

2002-11-09 Thread David Schultz
Thus spake Mitsuru IWASAKI [EMAIL PROTECTED]: Hmmm, I didn't notice that there is a BIOS which requires memory area below 640K even when calling INT 15H/E820. We cannot trust that today's BOISes have INT 12H, so it's difficult to determine base memory size w/o INT 15H/E820. You keep saying

Re: adaptec scsi - seagate da -- current

2002-11-10 Thread David Schultz
Thus spake Justin T. Gibbs [EMAIL PROTECTED]: I am running current cvsuped within this week. I have an adaptec builtin scsi controller and a seagate drive attached to it and after every bootup as soon as there is heavy disk activity the drive gets disabled for 1 or 2 minutes and

Re: machdep.c problem

2002-11-10 Thread David Schultz
Thus spake Mitsuru IWASAKI [EMAIL PROTECTED]: OK, it seems to be difficult to determine the region for any BIOSes. I've decided to introduce a new loader tunable to indicate that BIOS has broken int 12H. Attached patch back out 1.385.2.26 changes to support older BIOSes, and add support for

Re: machdep.c problem

2002-11-10 Thread David Schultz
Thus spake Mitsuru IWASAKI [EMAIL PROTECTED]: This approach is okay with me in the sense that it doesn't break anything that wasn't already broken, but as you say, I think we can do better. Below is a patch that merely extracts the basemem size from the bootinfo structure for the purposes

Re: adaptec scsi - seagate da -- current

2002-11-11 Thread David Schultz
Thus spake David Schultz [EMAIL PROTECTED]: I'm running into the same problems on a very light I/O load (running /usr/bin/less on certain files triggers it). There's also a timeout every time at bootup. I have included my dmesg below. [...] Here's some additional information: # camcontrol

Re: adaptec scsi - seagate da -- current

2002-11-11 Thread David Schultz
Thus spake Andre Albsmeier [EMAIL PROTECTED]: It seems to be a Quantum Atlas drive. IIRC, I have several of them running fine (I am not 100% sure, I am on holidays at the moment :-)). You might want to check the firmware of that drive. I have upgraded the FW on my Quantum Atlas I and II drives

Re: gcc 3.2.1 optimization bug ?

2002-11-14 Thread David Schultz
Thus spake TOMITA Yoshinori [EMAIL PROTECTED]: But unfortunately, that ugly code was contained in our inhouse library written by someone. It took me two days to debug and find out where difference comes from between gcc-2.95.4 and gcc-3.2.1. You can work around the problem by disabling

Re: Kernel not booting....Immediate crash

2002-11-15 Thread David Schultz
Thus spake Bruce Evans [EMAIL PROTECTED]: Perhaps the problem with int 0x12 is the same as the one with int 0x15. Old implementations of int 0x12 just read the word at 0x40:0x13 in real or vm86 mode. This only requires physical page 0 to be mapped readable to work in vm86 calls. New

Re: machdep.c problem

2002-11-15 Thread David Schultz
Thus spake Bruce Evans [EMAIL PROTECTED]: I retained the int 12h fallback just to be safe, but I think the bootinfo structure is initialized with a valid basemem for all loaders since at least 1998. (Maybe the fallbacks in the Since 1995, but not in boot2 since 2002/10/01. The

Re: /dev/acd*t* no longer available in -current?

2002-11-15 Thread David Schultz
Thus spake Robert Watson [EMAIL PROTECTED]: So one thing we could start doing is have sysinstall's adduser stuff offer to place new users in the operator group, and set up the default permissions on removable devices such that the operator group has read/write access to them (or even just

Re: Asking for tester (small patch to chown(8)/chgrp(1))

2002-11-19 Thread David Schultz
Thus spake Garrett Wollman [EMAIL PROTECTED]: I'm concerned about the used character: -r is similiar to -R Yes, `-r' would be a very poor choice for the reason you state. Agreed, but the precedent has already been set by touch(1) and truncate(1). If we're going to get it wrong some of the

Re: Asking for tester (small patch to chown(8)/chgrp(1))

2002-11-20 Thread David Schultz
Thus spake Alexander Leidinger [EMAIL PROTECTED]: I'm concerned about the used character: -r is similiar to -R Yes, `-r' would be a very poor choice for the reason you state. Agreed, but the precedent has already been set by touch(1) and truncate(1). If we're going to get it

Re: Asking for tester (small patch to chown(8)/chgrp(1))

2002-11-21 Thread David Schultz
Thus spake Tim Robbins [EMAIL PROTECTED]: On Wed, Nov 20, 2002 at 01:27:43PM +0100, Alexander Leidinger wrote: On Tue, 19 Nov 2002 10:27:00 -0800 David Schultz [EMAIL PROTECTED] wrote: I'm concerned about the used character: -r is similiar to -R Yes, `-r' would be a very

Re: gcc 3.2.1 release import?

2002-11-21 Thread David Schultz
Thus spake David O'Brien [EMAIL PROTECTED]: On Wed, Nov 20, 2002 at 05:57:41PM +0100, Marc Recht wrote: Hi! Will gcc 3.2.1/release be imported before 5.0R ? Just curious.. There will be no more GCC imports before 5.0-R. It is just too much code churn with too little road testing

Why isn't NOCLEAN the default? (was: Re: Cross-Development with NetBSD)

2002-11-21 Thread David Schultz
Thus spake John Baldwin [EMAIL PROTECTED]: Make release is a very poor example b/c make release goes to great efforts to create a clean-room environment for a release. make rerelease is quite helpful though and does do what you want to restart a previous release. :) Also, make buildworld

Re: Why isn't NOCLEAN the default? (was: Re: Cross-Development with NetBSD)

2002-11-21 Thread David Schultz
Thus spake Kris Kennaway [EMAIL PROTECTED]: I have long wondered why NOCLEAN isn't the default. There seem to be a few cases where it doesn't DTRT for kernel builds, but it seems a bit conservative to make incremental world builds require that an undocumented variable be defined. Any

Re: gcc 3.2.1 release import?

2002-11-22 Thread David Schultz
Thus spake David O'Brien [EMAIL PROTECTED]: On Fri, Nov 22, 2002 at 12:46:41PM +0100, Marc Recht wrote: Don't worry about it; it's being totally blown out of proportion; No problem.. :) there's no way anyone will commit to importing a 2 day old 3.2.1, which is why I put the smiley's

Re: No entries in /proc :: feature or problem ??

2002-11-22 Thread David Schultz
Thus spake Robert Watson [EMAIL PROTECTED]: The reasons to deprecate procfs are many-fold -- not least that there are existing interfaces in the kernel that provide most or all of its features at a substantially lower risk. You just have to see the kernel-related security advisories for

Re: malloc(0) broken?

2002-11-23 Thread David Schultz
Thus spake Bruce Evans [EMAIL PROTECTED]: Er, malloc(0) is defined as returning either a null pointer or a pointer to 0 bytes of allocated space. Which one it chooses to return is implementation-defined, not undefined. C90 has a bogus requirement that the pointer for malloc(0) be unique,

Re: Autodefaults in disklabel on 5.0dp2 install

2002-11-23 Thread David Schultz
Thus spake Garance A Drosihn [EMAIL PROTECTED]: I'm installing dp2 on a 4-gig disk. I want to split that in two, with dos for the first 2 gig and freebsd in the last 2 gig. When I got to the disklabel step, I tried the Auto Defaults option to split up the freebsd partition. It picked

Re: malloc(0) broken?

2002-11-23 Thread David Schultz
Thus spake Bruce Evans [EMAIL PROTECTED]: On Sat, 23 Nov 2002, David Schultz wrote: Thus spake Bruce Evans [EMAIL PROTECTED]: ... C90 has a bogus requirement that the pointer for malloc(0) be unique, whatever that means. C99 only requires that the objects pointed to by the results

Re: sysinstall + swap partition requirement

2002-12-01 Thread David Schultz
Thus spake Giorgos Keramidas [EMAIL PROTECTED]: You don't *HAVE* to create a swap partition. What you see is just a warning that sysinstall prints, if you have warnings enabled in the ``Options'' menu (they are enabled by default, if I'm not mistaken in my reading of the source). I'm pretty

Re: sysinstall + swap partition requirement

2002-12-01 Thread David Schultz
Thus spake Bruce Evans [EMAIL PROTECTED]: On Sun, 1 Dec 2002, David Schultz wrote: Thus spake Giorgos Keramidas [EMAIL PROTECTED]: You don't *HAVE* to create a swap partition. What you see is just a warning that sysinstall prints, if you have warnings enabled in the ``Options'' menu

Re: sysinstall + swap partition requirement

2002-12-01 Thread David Schultz
Thus spake Terry Lambert [EMAIL PROTECTED]: David Schultz wrote: Thus spake Bruce Evans [EMAIL PROTECTED]: On Sun, 1 Dec 2002, David Schultz wrote: Thus spake Giorgos Keramidas [EMAIL PROTECTED]: [ ... ] I meant to say that sysinstall forces you to have a swap partition

Re: swapoff code comitted.

2002-12-16 Thread David Schultz
Thus spake Christian Brueffer [EMAIL PROTECTED]: How about renaming swapon(8) into swapctl(8) after this function enhancement? This name reflects it's purpose much better and would be consistent with the other BSDs. It would be trivial to change the name, although I don't see what it buys you.

Re: patch #3 Re: swapoff code comitted.

2002-12-19 Thread David Schultz
Thus spake Matthew Dillon [EMAIL PROTECTED]: :Looks good to me, modulo a few nits. I try not to nitpick, but :I've mentioned a few of them below. (BDE does a better job of it :than I do anyway. :-) : :The patch puts identical functionality in two places, so maybe it :would make sense to

Re: sparc64 tinderbox failure

2002-12-29 Thread David Schultz
Thus spake Kris Kennaway [EMAIL PROTECTED]: On Mon, Dec 30, 2002 at 03:21:22AM +, Mike Barcroft wrote: === sbin/swapon cc1: warnings being treated as errors /tinderbox/sparc64/src/sbin/swapon/swapon.c: In function `swaplist': /tinderbox/sparc64/src/sbin/swapon/swapon.c:246: warning:

Re: sparc64 tinderbox failure

2002-12-29 Thread David Schultz
Thus spake Juli Mallett [EMAIL PROTECTED]: * De: Craig Rodrigues [EMAIL PROTECTED] [ Data: 2002-12-29 ] [ Subjecte: Re: sparc64 tinderbox failure ] I'm not sure if your patch will solve the problem. The offending code is here: 240 if (lflag) { 241

Re: sparc64 tinderbox failure

2002-12-29 Thread David Schultz
Thus spake David Schultz [EMAIL PROTECTED]: Right. The complaint is that hlen is 64 bits and the printf() expects the field length specifier to be an int. The same goes for getbsize(hlen, ...), so I'm not sure why the compiler didn't complain about a type mismatch. I guess it just coerced

Re: aligned_nblks calculations broken in vm_swap.c

2003-01-03 Thread David Schultz
Thus spake [EMAIL PROTECTED] [EMAIL PROTECTED]: I'm actually more than a bit of mind to rip out the entire bogus swap-stripe code: If you want swap on a striped disk, you should use hardware, controller, vinum, ccd or raidframe to stripe. Ccd is a nice simple solution, but by using it you

Re: panic with panic: kmem_malloc(4096): kmem_map too small...

2003-01-07 Thread David Schultz
Thus spake [EMAIL PROTECTED] [EMAIL PROTECTED]: And to that fact I have a question: At the moment 8% of the disk is reserved. It being a 170Gb raid, that wastes a good 13,6Gb, which I find at lot. tunefs lets me bring that down to 5% = 8,5Gb without speed penalty. But is for

Re: update from 4.7 to 5.0

2003-01-09 Thread David Schultz
Thus spake Odhiambo Washington [EMAIL PROTECTED]: The box runs prettier, but I have some output of dmesg that I'd appreciate some explanation on. I'll mark the portions where I seek some explanation on the dmesg output itself. The most important one is with USB interfaces, because they seem to

Re: update from 4.7 to 5.0

2003-01-09 Thread David Schultz
Thus spake Terry Lambert [EMAIL PROTECTED]: David Schultz wrote: Thus spake Odhiambo Washington [EMAIL PROTECTED]: acpi_cpu: CPU throttling enabled, 2 steps from 100% to 50.0% Where is that explained? I'd really love

Re: 5.0 without swap

2003-01-11 Thread David Schultz
Thus spake Lucky Green [EMAIL PROTECTED]: I am about to set up a FreeBSD 5.0 machine without a swap partition. The server has 1GB of RAM. Are there any caveats that I need to consider during installation or configuration? If you're using sysinstall, it might insist that you have swap. Then

Re: 5.0 without swap

2003-01-11 Thread David Schultz
Thus spake Lucky Green [EMAIL PROTECTED]: Miguel wrote: Having no swap will prevent you from getting crashdumps in case of panic which, if you run 5.0, is not that unusual. Besides these days harddrives cost $1/GB, so why not setup the swap partition anyway? I don't want cleartext

Re: 64 bit quantities in statfs ?

2003-08-25 Thread David Schultz
On Mon, Aug 18, 2003, Matthew Dillon wrote: As part of the DragonFly effort we are going to increase the mount path limit from 80 chars to 1024. This will change the statfs structure. I thought I would adopt the 64 bit changes that 5.x has made to keep things synchronized.

Re: 64 bit quantities in statfs ?

2003-08-26 Thread David Schultz
On Mon, Aug 25, 2003, Garrett Wollman wrote: On Sun, 24 Aug 2003 16:04:40 -0700, David Schultz [EMAIL PROTECTED] said: Yep, looks broken. In the POSIX standard, the functionality of statfs() is provided by statvfs(), so implementing the latter may be a way out that doesn't involve

Re: __fpclassifyd

2003-08-29 Thread David Schultz
On Fri, Aug 29, 2003, Christoph Kukulies wrote: I did a cvsup and rebuild of world and ports, portupgrade, reinstalled mod_php4, apache and still get this sh apache.sh start Syntax error on line 237 of /usr/local/etc/apache/httpd.conf: Cannot load /usr/local/libexec/apache/libphp4.so into

ATAng panic: ata_dmasetup: transfer active on this device!

2003-09-02 Thread David Schultz
I have a machine that panics reliably within ten minutes of operation with ATAng. It subsequently locks up, so I can't obtain a dump, and I get a small amount of random filesystem corruption upon rebooting. Everything was fine with ATAog. I don't have a serial cable handy at the moment, but the

Re: vm_map.c LOR

2003-10-27 Thread David Schultz
On Sat, Sep 27, 2003, Florian C. Smeets wrote: Hey guys, got this one with today's current: lock order reversal 1st 0xc28008ac vm object (vm object) @ /space/src/sys/vm/vm_map.c:2195 2nd 0xc082f110 system map (system map) @ /space/src/sys/vm/vm_kern.c:328 Stack backtrace:

Re: ata_dmasetup: transfer active on this device!

2003-10-27 Thread David Schultz
On Mon, Oct 27, 2003, Robert Watson wrote: Bumped into this panic on a kernel from Oct 4 running on my notebook. Unfortunately, I don't have a good trace because I didn't have access to a serial console, or a debugging kernel :-(. It might well already be fixed, but I figured I'd post

Re: __fpclassifyd problem

2003-10-27 Thread David Schultz
I'm just catching up on -CURRENT, but I wanted to point out that this was fixed last night in: src/lib/msun/src/e_scalbf.c,v1.8 src/lib/msun/src/e_scalb.c,v1.10 The fix was to use the old versions of isnan() and isinf() specifically in the two places in libm where they are

Re: __fpclassifyd problem

2003-10-31 Thread David Schultz
On Fri, Oct 31, 2003, John Angelmo wrote: But still after importing e_scalb.c or e_scalbf.c and rebuilding gives me this: cc -fpic -DPIC -O -pipe -march=pentium3 -D_IEEE_LIBM -D_ARCH_INDIRECT=i387_ -c i387_s_tan.S -o i387_s_tan.So building shared library libm.so.2 e_scalb.So: In

Re: CSTD=c99 breaks package creation

2003-06-13 Thread David Schultz
On Thu, Jun 12, 2003, Tim Robbins wrote: On Wed, Jun 11, 2003 at 07:37:01PM -0700, Kris Kennaway wrote: It's possible that there's either a bug in gcc or there is C code in the system that has a different meaning when interpreted to C99 standards. I think I may have found the problem,

Re: Problems tuning kmem_map on 5.1-REL box.

2003-06-18 Thread David Schultz
On Tue, Jun 17, 2003, Peter Losher wrote: Hi - If this sort of question is better asked on a more specialized list @freebsd.org, please let me know. (Since 5.1 is still considered a developmental release, one doesn't know if either -current or -stable would be more appropriate. So I am

Re: Problems tuning kmem_map on 5.1-REL box.

2003-06-19 Thread David Schultz
On Thu, Jun 19, 2003, Peter Losher wrote: On Wed, 18 Jun 2003, David Schultz wrote: To allow the kmem_map to exceed 200 MB, you'll also need to tweak VM_KMEM_SIZE_MAX to (for example) '(1024 * 1024 * 1024)'. BTW, the formula, which I stole from vmparam.h, is: min(max(VM_KMEM_SIZE

Re: write access to dos partition hangs system completely

2003-06-20 Thread David Schultz
On Sun, Jun 15, 2003, Andreas Klemm wrote: FreeBSD titan.klemm.apsfilter.org 5.1-RC FreeBSD 5.1-RC #0: Sun Jun 1 14:21:32 CEST 2003 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/TITAN5 i386 When I mount my dos partition read write and copy some data to it it immediately freezes the

Re: questions about VM_KMEM_SIZE_SCALE

2003-06-26 Thread David Schultz
On Tue, Jun 24, 2003, Jay Kuri wrote: Hi there, Can anyone shed some light on the implications of adjusting VM_KMEM_SIZE_SCALE? In particular I'm wondering if I increase this to, say, 2, what happens? I must admit I don't know how KVA is different from KVM or total RAM... so the note in

Re: Hyperthreading

2003-06-28 Thread David Schultz
On Fri, Jun 27, 2003, Brooks Davis wrote: On Fri, Jun 27, 2003 at 06:39:12PM -0500, Glenn Johnson wrote: Thanks. I had read the smp manual page. I know _how_ to enable HTT; I was wondering whether I _should_ enable it. It seems the answer is that it is not beneficial in its current state

Re: HEADS UP: new KSE signal code

2003-06-28 Thread David Schultz
On Sat, Jun 28, 2003, David Xu wrote: I begin to commit KSE signal code, libkse will be broken for a while. Umm...if it's known to be broken, then why did you commit it? If you want people to test KSE and report bugs, the version in the tree needs to be of consistently good quality.

Re: HEADS UP: new KSE signal code

2003-06-28 Thread David Schultz
On Sat, Jun 28, 2003, Julian Elischer wrote: he means that between the time the commits start and finish there may be an inconsistant period.. Why is everyone so eager to jump down everyone else's throat these days? The statement that ``libkse will be broken for a while'' gave me the

Re: HEADS UP: new KSE signal code

2003-06-28 Thread David Schultz
On Sat, Jun 28, 2003, David Leimbach wrote: Because we aren't working on anything and need something to do... so we find ways to think about how we can enforce quality without understanding how stuff works first maybe? Umm...no, but thanks for the insult. How about: Because we are working

Re: SMP page update

2003-07-16 Thread David Schultz
On Tue, Jul 15, 2003, Alp ATICI wrote: I was wondering whether the SMPng page at http://www.freebsd.org/smp is updated as those features are added. Because it seems like no feature update for long. For instance is the preemptible kernel going to be a part of 5.x series or going to be

Re: [-CURRENT tinderbox] failure on sparc64/sparc64

2003-07-17 Thread David Schultz
On Thu, Jul 17, 2003, Dag-Erling Smorgrav wrote: On Thu, Jul 17, 2003 at 09:58:10AM +0200, Harti Brandt wrote: I have no idea how a program can core in vfork(). Probably a vm problem? Most likely a KSE-related problem in vfork(). Try replacing vfork() with fork() in make(1) and see if the

Re: possible unionfs bug

2003-07-23 Thread David Schultz
On Sun, Jul 20, 2003, Divacky Roman wrote: Hi, I might be wrong but this: free(mp-mnt_data, M_UNIONFSMNT); /* XXX */ mp-mnt_data = 0; seems to me wrong and might cause crashes etc. am I correct or wrong? its from union_vfsops.c:384 What's wrong with

Re: maildir with softupdates

2003-07-23 Thread David Schultz
On Wed, Jul 23, 2003, Attila Nagy wrote: Hello, Is this statement still valid? ext3 is unsafe for maildir, and with softupdates, so is ffs. http://www.irbs.net/internet/postfix/0202/0358.html The statement is FUD; this is a topic that mailer people love to complain about. It's only true

Re: vfprintf() has a 4096-byte memory leak?

2003-08-04 Thread David Schultz
On Sat, Aug 02, 2003, Ryan T. Dean wrote: Poul-Henning Kamp wrote: In message 3F2B9C59.3060209 at cytherianage.net http://lists.freebsd.org/mailman/listinfo/freebsd-current, Ryan T. Dean writes: /Hey all- / /I was doing some app debugging tonight, and noticed what appears to / /be a

Re: warnpassword and warnexpire in 5.1 login.conf

2003-08-04 Thread David Schultz
On Sat, Aug 02, 2003, Mats Larsson wrote: Hello! Tried this question to the questions list with no response, perhaps current is the correct list for questions related to 5.1-RELEASE?? I am trying to use warnexpire and warnpassword in login.conf but with no result, are the warnexpire and

Re: warnpassword and warnexpire in 5.1 login.conf

2003-08-14 Thread David Schultz
On Tue, Aug 05, 2003, Mats Larsson wrote: Sure, run cap_mkdb on every edit on login.conf The values im trying to use there are the following: :warnexpire=28d:\ :warnpassword=14d:\ And with pw i use the following to test with: (also with -e option) pw usermod user -p +10d

Re: background fsck did not create lost+found

2003-01-20 Thread David Schultz
Thus spake Jan Srzednicki [EMAIL PROTECTED]: This massive disk mangling occured on /usr, but still, one file in /home got lost - which happened to be quite important file. Background fsck logged: Jan 20 16:06:30 stronghold root: /dev/ad1s1d: UNREF FILE I=1723065 OWNER=winfried MODE=100644

Re: background fsck did not create lost+found

2003-01-20 Thread David Schultz
Thus spake Matthew Dillon [EMAIL PROTECTED]: :However, when you are saving a new version of an important file, :you need to be careful that the new version (and its directory :entry) hits the disk before the old one goes away. I know that vi :saves files in a safe way, whereas ee and emacs do

Re: current- and BSD related stupid question

2003-01-20 Thread David Schultz
Thus spake Harald Schmalzbauer [EMAIL PROTECTED]: With 4.x I had a /etc/make.conf where I could force gcc to optimize for my CPU with -march. This file (/etc/defaults/make.conf) vanished, but I can see something similar now without any rule set. Does gcc (or any compiler stage like

Re: background fsck did not create lost+found

2003-01-22 Thread David Schultz
Thus spake Garrett Wollman [EMAIL PROTECTED]: On Wed, 22 Jan 2003 11:14:47 +0100 (CET), Jan Srzednicki [EMAIL PROTECTED] said: Would that be a big problem to allow some fsck option not to erase all these softupdates-pending inodes, but to put them in lost+found as usual? It certainly

Re: I've just had a massive file system crash

2003-01-24 Thread David Schultz
Thus spake Greg Lehey [EMAIL PROTECTED]: I've been thinking about what happened, and I have a possibility: the session before shutdown included a lot of writing to that file system, and I did a shutdown -p. It's possible that the shutdown powered off the system before the disk had flushed its

Re: I've just had a massive file system crash

2003-01-25 Thread David Schultz
Thus spake Nate Lawson [EMAIL PROTECTED]: On Fri, 24 Jan 2003, David Schultz wrote: Thus spake Greg Lehey [EMAIL PROTECTED]: I've been thinking about what happened, and I have a possibility: the session before shutdown included a lot of writing to that file system, and I did a shutdown

Re: [PATCH]: newfs(8) FS_OPTSPACE vs FS_OPTTIME bug

2003-01-27 Thread David Schultz
Thus spake Maxim Konovalov [EMAIL PROTECTED]: newfs(8) incorrectly claims that FS_OPTTIME is unavailable when minfree is less than MINFREE. MINFREE is defined in ufs/ffs/fs.h: #define MINFREE 8 But relevant code in ufs/ffs/ffs_alloc.c uses hardcoded value: 288 if (fs-fs_minfree

Re: I've just had a massive file system crash

2003-01-27 Thread David Schultz
Thus spake Greg Lehey [EMAIL PROTECTED]: I've been thinking about what happened, and I have a possibility: the session before shutdown included a lot of writing to that file system, and I did a shutdown -p. It's possible that the shutdown powered off the system before the disk had flushed

Re: boot delay when testing for ata devices

2003-01-27 Thread David Schultz
Thus spake Enache Adrian [EMAIL PROTECTED]: FreeBSD used to have an irritating boot delay in 4.4. It was gone in ~4.6, never reappeared in -STABLE, but is there in -CURRENT. (I've seen it also mentioned in some vmware documentation). Applying this patch fixes it: ---

Re: add ext2fs to the module list in modules/Makefile

2003-01-27 Thread David Schultz
Thus spake Juli Mallett [EMAIL PROTECTED]: * De: Max Khon [EMAIL PROTECTED] [ Data: 2003-01-27 ] [ Subjecte: Re: add ext2fs to the module list in modules/Makefile ] hi, there! On Tue, Jan 28, 2003 at 12:40:12AM +0200, Enache Adrian wrote: On Mon, Jan 27, 2003 at 01:36:35PM

Re: Seat-belt for source upgrades from stable to current

2003-01-30 Thread David Schultz
Thus spake Christopher Vance [EMAIL PROTECTED]: On Wed, Jan 29, 2003 at 10:35:40PM -0500, Garance A Drosihn wrote: : How about requiring the user to touch some file in / or /boot which : indicates the branch-tag that's acceptable for installworlds? Then : you just need to propagate the tag

Re: Seat-belt for source upgrades from stable to current

2003-01-30 Thread David Schultz
Thus spake Steve Kargl [EMAIL PROTECTED]: On Thu, Jan 30, 2003 at 07:09:16PM -0800, David Schultz wrote: OT: Is there a good way to get the CVS metadata in /usr/src and /usr/ports without transferring the entire source tree over the network? On some machines, I'd like to be able to do

Re: Seat-belt for source upgrades from stable to current

2003-01-30 Thread David Schultz
Thus spake Mike Makonnen [EMAIL PROTECTED]: Use the r version of the cvs commands (like cvs rlog and rdiff). They operate on the repository remotely, so you don't need to have the files checked out localy. That's a pretty good solution, and I use those occasionally. It would be a perfect

Re: Seat-belt for source upgrades from stable to current

2003-01-30 Thread David Schultz
Thus spake Christopher Vance [EMAIL PROTECTED]: On Thu, Jan 30, 2003 at 09:07:11PM -0800, Steve Kargl wrote: : On Thu, Jan 30, 2003 at 08:05:06PM -0800, David Schultz wrote: : Thus spake Steve Kargl [EMAIL PROTECTED]: : On Thu, Jan 30, 2003 at 07:09:16PM -0800, David Schultz wrote: :OT

Re: Seat-belt for source upgrades from stable to current

2003-01-31 Thread David Schultz
Thus spake Ruslan Ermilov [EMAIL PROTECTED]: On Thu, Jan 30, 2003 at 09:58:15PM -0800, David Schultz wrote: I don't know about Steve, but cvsup is the wrong answer for me because it's a mirroring tool and not a version control tool. Among the things I would like to do are: - Update

Re: Seat-belt for source upgrades from stable to current

2003-01-31 Thread David Schultz
Thus spake Giorgos Keramidas [EMAIL PROTECTED]: On 2003-01-30 21:38, David Schultz [EMAIL PROTECTED] wrote: Thus spake Mike Makonnen [EMAIL PROTECTED]: Use the r version of the cvs commands (like cvs rlog and rdiff). They operate on the repository remotely, so you don't need to have

Re: State of the Union Report (backout request department)

2003-01-31 Thread David Schultz
Thus spake Wesley Morgan [EMAIL PROTECTED]: On Fri, 31 Jan 2003, Mike Barcroft wrote: The archives might not be telling the whole story. A lot of times these things get handled behind closed doors, whether private e-mail or developer-only lists. Thankfully though, most conflicts *do*

Re: Seat-belt for source upgrades from stable to current

2003-01-31 Thread David Schultz
Thus spake Juli Mallett [EMAIL PROTECTED]: * De: Giorgos Keramidas [EMAIL PROTECTED] [ Data: 2003-01-31 ] [ Subjecte: Re: Seat-belt for source upgrades from stable to current ] On 2003-01-30 21:38, David Schultz [EMAIL PROTECTED] wrote: Thus spake Mike Makonnen [EMAIL PROTECTED

Re: rand() is broken

2003-02-02 Thread David Schultz
Thus spake Andrey A. Chernov [EMAIL PROTECTED]: Yes, first value correlation is there, but old formulae have even worse effect The random sequences do not vary much with the seed, as source file comments and whole discussion about old RNG bad effects shown. I.e. for different time+PID

Re: rand() is broken

2003-02-02 Thread David Schultz
Thus spake Bakul Shah [EMAIL PROTECTED]: As I said, I don't know how big a concern this is. But last time it was enough of a concern to make us keep rand() as it was. [I know you are talking about rand() but Mark Murray's earlier email about wanting to re-implement random() really

Re: rand() is broken

2003-02-02 Thread David Schultz
Thus spake Andrey A. Chernov [EMAIL PROTECTED]: On Sat, Feb 01, 2003 at 23:06:50 -0800, Kris Kennaway wrote: FreeBSD's rand() implementation has been broken for the past 23 months, since the following commit: i.e. the first value returned from rand() is correlated with the seed given to

Re: Final fix for correlation problem (was Re: rand() is broken)

2003-02-03 Thread David Schultz
Thus spake Thomas David Rivers [EMAIL PROTECTED]: I'm afraid I don't understand the fix... and how it seems to affect the historical behaviour of srand()/rand(). How does it address the understanding that if I use srand(28), I will get exactly the same sequence of numbers srand(28) produced

Re: rand() is broken

2003-02-03 Thread David Schultz
Thus spake Andrey A. Chernov [EMAIL PROTECTED]: On Sun, Feb 02, 2003 at 16:26:39 -0800, David Schultz wrote: The correlation is still present with your patch and NSHUFF set to 10. For instance, try seeding rand() with contiguous monotonically increasing integers, and observe the four

Re: rand() is broken

2003-02-03 Thread David Schultz
Thus spake Eric Hodel [EMAIL PROTECTED]: David Schultz ([EMAIL PROTECTED]) wrote: Rather than me showing you more semi-meaningful numbers from Marsaglia's tests, why don't you look at the following sequence, which I get by taking the lowest four bits of the 201st number in the rand

Re: rand() is broken

2003-02-04 Thread David Schultz
Thus spake Andrey A. Chernov [EMAIL PROTECTED]: On Mon, Feb 03, 2003 at 21:40:20 -0800, David Schultz wrote: I don't try to make rand() good for high-quality pseudo-randomness, because it can be done by price of speed and, more important, big state size. Due to rand_r() restriction state size

Re: Compiling with high optimization?

2003-02-08 Thread David Schultz
Thus spake Ray Kohler [EMAIL PROTECTED]: Has anyone tried building world/kernel with high optimizations (-O2, -O3) recently? What breaks? (Booby prize to whoever says common sense ;) I last tried it quite a few months ago and the resolver died on me, don't know what else. I'm not really

Re: Compiling with high optimization?

2003-02-08 Thread David Schultz
Thus spake Terry Lambert [EMAIL PROTECTED]: David Schultz wrote: Thus spake Ray Kohler [EMAIL PROTECTED]: Has anyone tried building world/kernel with high optimizations (-O2, -O3) recently? What breaks? (Booby prize to whoever says common sense ;) I last tried it quite a few months ago

Re: Compiling with high optimization?

2003-02-08 Thread David Schultz
Thus spake Terry Lambert [EMAIL PROTECTED]: David Schultz wrote: Thus spake Terry Lambert [EMAIL PROTECTED]: Actually, failure to use optimization suppresses some compilation warnings, particularly those which normally print from using some variables without initializing them. I

Re: Compiling with high optimization?

2003-02-09 Thread David Schultz
Thus spake Adrian Chadd [EMAIL PROTECTED]: On Sat, Feb 08, 2003, David Schultz wrote: Yes, the possibility of being bitten by compiler bugs is certainly higher with higher optimization levels. Alpha with -O2 seems to have been broken for years, and I have seen strange things happen

Re: Compiling with high optimization?

2003-02-09 Thread David Schultz
Thus spake Marcin Dalecki [EMAIL PROTECTED]: David Schultz wrote: Strangely, gcc in FreeBSD 5.0 actually generates *slower* code when compiling for more recent architectures than when compiling for a 386. I don't know whether that is a bug in gcc or whether gcc is using some fancy feature

Re: MSDOSFS wastes 256k when nothing is mounted!

2003-02-10 Thread David Schultz
Thus spake Poul-Henning Kamp [EMAIL PROTECTED]: Somebody: please fix so this doesn't suck. Does msdosfs even have an active maintainer? There seem to be about half a dozen PRs open against it, one of which is a semi-obvious 4-line patch I submitted last April. To Unsubscribe: send mail to

  1   2   >