Re: Junior Annoying Hacker Task

2002-02-04 Thread David Schultz
Thus spake Miguel Mendez <[EMAIL PROTECTED]>: > On Sat, 02 Feb 2002 03:29:50 -0800 > Terry Lambert <[EMAIL PROTECTED]> wrote: > > Hi Terry et al, > > > Let me know the form you want the hierarchy to take, so > > you can stick it into the GTK hierarchy thingy; I'll be > > happy to crank out some

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:2

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

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. > >

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 se

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% > > > ^

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

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=1

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 ema

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 lik

Re: background fsck did not create lost+found

2003-01-22 Thread David Schultz
Thus spake Garrett Wollman <[EMAIL PROTECTED]>: > <<[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 couldn't be done with the background fsck, becau

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 flushe

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 l

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->

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 flush

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: > > --- /arc/freebsd/

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 a

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 t

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 ma

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 so

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 a

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. > > Am

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 > &g

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 conflict

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: > >

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 >

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) p

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 > >

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

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 ran

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

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

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,

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

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 [E

Re: Best method to produce patches?

2003-02-10 Thread David Schultz
Thus spake David Leimbach <[EMAIL PROTECTED]>: > I am about to try to make some changes to FreeBSD current... > > Should I begin to use read-only CVS instead of CVSup for this work or > is it possible to generate diffs based on CVSup'd sources? > > What is the recommend method to use for playing

Re: PLEASE TEST - ATA driver patch (ATANG)...

2003-02-13 Thread David Schultz
Thus spake Soeren Schmidt <[EMAIL PROTECTED]>: > I've prepared a patch that brings the ATA driver to the next level. > > This is mainly to prepare for other platforms which demanded > some changes to the driver infrastructure. > > It also fixes lots of outstanding problems and adds support severa

Re: cvs commit: src/lib/libc/stdlib rand.c

2003-02-16 Thread David Schultz
Thus spake Kris Kennaway <[EMAIL PROTECTED]>: > I think we should commit this patch (to -current) and fix all the > problems that pop up. For example, it's used in awk (which started > this set of changes), and in some of the XFree86 libraries. ... > +__warn_references(rand_r, > + "warning: ra

Re: cvs commit: src/lib/libc/stdlib rand.c

2003-02-16 Thread David Schultz
Thus spake Kris Kennaway <[EMAIL PROTECTED]>: > On Mon, Feb 17, 2003 at 04:40:48PM +1100, Tim Robbins wrote: > > > I disagree. It's safe to use rand() in games and in certain kinds of > > simulations when you don't care that the distribution isn't quite > > uniform, or when you prefer speed over q

Re: devastating 5.0R crash

2003-02-17 Thread David Schultz
Thus spake Paul A. Mayer <[EMAIL PROTECTED]>: > I'm presently running fsck_ffs from a live cd. It fsck'ed / with some > complaints about an unreadable sector. It's now on /var and reporting > vast, vast numbers of sectors as unreadable, with "UNEXPECTED SOFT > UPDATE INCONSISTENCY". I've not

Re: cvs commit: src/lib/libc/stdlib rand.c

2003-02-17 Thread David Schultz
Thus spake Jacques A. Vidrine <[EMAIL PROTECTED]>: > On Mon, Feb 17, 2003 at 04:40:48PM +1100, Tim Robbins wrote: > > I disagree. It's safe to use rand() in games and in certain kinds of > > simulations when you don't care that the distribution isn't quite > > uniform, > > Safe, maybe. But I thin

Re: Posix testsuites?

2003-02-17 Thread David Schultz
Thus spake David Leimbach <[EMAIL PROTECTED]>: > I have been looking into helping with the C99 conformance stuff and I wondered if >the > following would be helpful? > > http://posixtest.sourceforge.net/ > > I am sure some of you knew about this... I guess I wonder if a link on the C99 web >pa

Re: -fno-builtin world breaks in gperf

2003-02-17 Thread David Schultz
Thus spake Dag-Erling Smorgrav <[EMAIL PROTECTED]>: > /usr/obj/usr/src/i386/usr/lib/libstdc++.so: undefined reference to `fabsl' > *** Error code 1 > > Our libm doesn't seem to support long double at all, yet our libstdc++ > requires long double support. It seems to correctly detect the > absence

Re: background fsck deadlocks with ufs2 and big disk

2003-02-18 Thread David Schultz
Thus spake Martin Blapp <[EMAIL PROTECTED]>: > I just wanted to tell that I can deadlock one of my current boxes > with a ufs2 filesystem on a 120GB ATA disk. I can reproduce > the problem. The background fsck process hangs some time at the > same place always at the same place, sometimes the box f

Re: Any ideas why we can't even boot a i386 ?

2003-02-27 Thread David Schultz
Just out of curiosity, is your agenda to convince everyone to nix 386 support altogether or to fix 386 support? I'm not against either, although I consider the latter goal to be a bit silly. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the messa

Re: sparc64 tinderbox failure

2003-02-27 Thread David Schultz
Thus spake Doug Barton <[EMAIL PROTECTED]>: > I made the suggestion in another forum that we create subscription lists > for these tinderbox messages so that those interested could see them, and > those not interested would not need to filter them out. > > Is anyone else interested in doing it tha

Re: Any ideas why we can't even boot a i386 ?

2003-02-27 Thread David Schultz
Thus spake Terry Lambert <[EMAIL PROTECTED]>: > John Baldwin wrote: > > I doubt the usefulness of this. i386 kernels were just accidentally > > broken for almost a month and a half without anyone noticing. > > People who build embedded devices that need to be supported in > the field, and want to

Re: Plea for base system trim

2003-03-05 Thread David Schultz
Thus spake Subscriber <[EMAIL PROTECTED]>: > Would the powers that be please consider removing sendmail, > bind and openssl from the base system, as was done for perl > with 5.0? Please don't restart this flamewar. When we have a better installer, then it may be possible in the future to select b

Re: 4.8-PRE upgrade to FreeBSD 5 errors

2003-03-06 Thread David Schultz
Thus spake Axel Gruner <[EMAIL PROTECTED]>: > Checking to see if your booted Kernel is fresh enough.. > /usr/obj/usr/src/bin/sh/sh -c 'echo "Testing installed kernel fpr new > sigaction(2) syscall"' pid 60424/sh),uid0: exited on signal 12 (core > dumped) Bad system call (core dumped) > ***Error cod

Re: 4.8-PRE upgrade to FreeBSD 5 errors

2003-03-06 Thread David Schultz
Thus spake Axel Gruner <[EMAIL PROTECTED]>: > > > link_elf: symbol lminor undefined > > > link_elf: symbol splhigh undefined > > You seem to be trying to load outdated modules. > > Hmm, well, so what to do here? I switched of any module in loader.conf. THe location of modules moved between 4.x an

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 w

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 onl

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

2003-08-03 Thread David Schultz
On Sat, Aug 02, 2003, Ryan T. Dean wrote: > "Poul-Henning Kamp" wrote: > >In message <3F2B9C59.3060209 at cytherianage.net > >>, "Ryan T. > >Dean" writes: > >>/Hey all- > /> >/I was doing some app debugging tonight, and noticed what a

Re: warnpassword and warnexpire in 5.1 login.conf

2003-08-03 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 warnexp

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 -

Re: 64 bit quantities in statfs ?

2003-08-24 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 synchroniz

Re: 64 bit quantities in statfs ?

2003-08-26 Thread David Schultz
On Mon, Aug 25, 2003, Garrett Wollman wrote: > < 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 breaking any ABIs. > > statfs() is a lot more useful interface t

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 i

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: > back

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 needed.

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:

Re: Unfortunate dynamic linking for everything

2003-11-18 Thread David Schultz
On Tue, Nov 18, 2003, Robert Watson wrote: > (2) Shells again, because they will be fork()d and exec()d frequently > during heavily scripted activities, such as system boot, periodic > events, large make jobs, etc. And presumably the only shell of > interest is sh, although some of the

Re: Unfortunate dynamic linking for everything

2003-11-18 Thread David Schultz
On Tue, Nov 18, 2003, Scott Long wrote: > > The additional hole of exploiting the system through the shared libs > > is a negative tradeoff. > > Exploits in libraries happen though. The LD_LIBRARY_PATH attack is an old > one that most Unixes are hopefully hardened against. FreeBSD had a lingerin

Re: Unfortunate dynamic linking for everything

2003-11-18 Thread David Schultz
On Tue, Nov 18, 2003, Robert Watson wrote: > On systems like Mac OS X, use of a "shared > region" permits not only use of prebinding, but assumptions of common load > addresses for common libraries. In addition, the "shared region" approach > allows the reuse of page table and VM meta-data across

Re: Port of Niels Provos's file descriptor allocation code

2003-12-04 Thread David Schultz
On Thu, Nov 27, 2003, Tim Robbins wrote: > I've ported Niels Provos's file descriptor allocation code to FreeBSD > in case anyone wants to try it out & run some benchmarks. If the performance > boost turns out to be worth the added complexity, I might clean it up a > bit and commit it. I've used a

Re: KSE test code?

2003-03-10 Thread David Schultz
Thus spake Ivan Voras <[EMAIL PROTECTED]>: > Is there any example code available that just tests (a "proof of > concept"-like) the KSE system on FreeBSD 5-current? See src/tools/KSE/ksetest. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the messa

Re: cvs commit: src/sys/vm vm_map.c vm_map.h vm_pageout.c

2003-03-13 Thread David Schultz
Thus spake Garrett Wollman <[EMAIL PROTECTED]>: > < said: > > > A real problem is that a swapped out process' uarea has to be > > paged back in, even when no memory is available. I don't think > > there's an easy way around that, given that you need the uarea and > > kernel stack to handle the si

Re: OSS SBLive driver causes kernel panic with 5.0 current

2003-03-15 Thread David Schultz
Thus spake Andre Guibert de Bruet <[EMAIL PROTECTED]>: > > On Fri, 7 Mar 2003, Jody Franklin wrote: > > > I'd been keeping up with current (world/kernel) every other week or so, > > and until this week I had no real problems. But after the build I did on > > March 3rd my soundcard driver (4Front'

Re: .2 isn't a valid double and other problems

2003-03-17 Thread David Schultz
Thus spake Franz Klammer <[EMAIL PROTECTED]>: > cvsup and build (kernel + userland, empty /usr/obj): > FreeBSD ds9.webonaut.com 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Sun Mar 16 > 17:53:22 CET 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/DS9 i386 > > > since my update from yesterday (above), fontco

Re: HEADS UP: Don't upgrade your Alphas!

2003-03-17 Thread David Schultz
Thus spake Ruslan Ermilov <[EMAIL PROTECTED]>: > Hold off upgrading your Alphas for a moment. > Something broke libc recently that results in > (at least) floating point exceptions from > awk(1) (this is not related to today's awk > upgrade). > > I've been able to reproduce this on beast.freebsd.o

Re: HEADS UP: Don't upgrade your Alphas!

2003-03-17 Thread David Schultz
Thus spake Ruslan Ermilov <[EMAIL PROTECTED]>: > Yes, as I have suspected, the gdtoa change is responsible > for a breakage. libc corresponding to this lib/libc works: > > cvs -q up -P -d -D'2003/03/12 20:20:00' > > : Using /home/ru/w/f/usr.bin/awk/nawk nawk... > > This version, together

Re: HEADS UP: Don't upgrade your Alphas!

2003-03-18 Thread David Schultz
Thus spake Terry Lambert <[EMAIL PROTECTED]>: > David Schultz wrote: > > This is because floating point > > support on Alpha is broken unless you specifically tell gcc to > > unbreak it by specifying -mieee. > > Sounds like the ability to turn "-mieee&

Re: libm problem

2003-03-19 Thread David Schultz
Thus spake Till Riedel <[EMAIL PROTECTED]>: > [EMAIL PROTECTED] $ cat test.c > #include "math.h" > > int main() > { > int base=8; > int dim=2; > float res; > res=pow((float)base,(float)dim); > printf("%f\n",res); > return 0; > } > [EMAIL PROTECTED] $ gcc -lm test.c > [EMAIL PROTECTED]

Re: Port breakage (isnan undeclared)

2003-03-21 Thread David Schultz
Thus spake Tim Robbins <[EMAIL PROTECTED]>: > On Thu, Mar 20, 2003 at 12:55:22AM -0800, Kris Kennaway wrote: > > > Several ports have become broken recently with the following error: > > > > ../../../include/osg/Math:149: `isnan' undeclared (first use this function) > > > > http://bento.freebsd.

Re: libm problem

2003-03-21 Thread David Schultz
Thus spake Till Riedel <[EMAIL PROTECTED]>: > I now know the thing that makes it break. > > cc -O2 -pipe -mcpu=pentiumpro -c /usr/src/lib/msun/src/e_pow.c > works fine! > cc -O0 -pipe -march=pentium4 -c /usr/src/lib/msun/src/e_pow.c > ... works > but... > cc -O -pipe -march=pentium4 -c /usr/src/li

Re: libm problem

2003-03-22 Thread David Schultz
Thus spake Anti <[EMAIL PROTECTED]>: > On Sat, 22 Mar 2003 10:28:46 -0800 > Steve Kargl <[EMAIL PROTECTED]> wrote: > > > Pentium 4 is definitely broken on 5.x. Perhaps, we should remove > > the footshooting. > > > > --- bsd.cpu.mk.orig Sat Mar 22 10:23:42 2003 > > +++ bsd.cpu.mk Sat Mar 22

Re: "Just" building the lib part of world

2003-03-23 Thread David Schultz
Thus spake David Leimbach <[EMAIL PROTECTED]>: > Or even better would be just building libc. I have been working on my > getpwnam_r assignment... > examining implementations in both Darwin and NetBSD and started trying > to implement some of > this code for FreeBSD... Its not anywhere even near

Re: Unclean sync in current

2003-03-30 Thread David Schultz
Thus spake Kevin Oberman <[EMAIL PROTECTED]>: > I've been seeing this for a couple of weeks since I updated my laptop to > CURRENT. I do a normal shutdown (-p or -r) and reboot. The shutdown > looked normal, with no problems reported with the sync, but, when the > system is rebooted, the partitions

Re: several background fsck panics

2003-03-30 Thread David Schultz
Thus spake Alexander Langer <[EMAIL PROTECTED]>: > I had several panics related to background fsck now. Once I disabled > background fsck, all went ok. > > It began when I pressed the reset buttons on several boots while the > system was still doing fscks. [...] > Mar 24 21:48:59 fump kernel: pan

Re: [Re: several background fsck panics

2003-03-30 Thread David Schultz
Thus spake Terry Lambert <[EMAIL PROTECTED]>: > o Put a counter in the first superblock; it would be > incremented when the BG fsck is started, and reset > to zero when it completes. If the counter reaches > 3 (or some command line specified number), then the > BG flagg

Re: MIDI

2003-03-31 Thread David Schultz
Thus spake Thanjee Neefam <[EMAIL PROTECTED]>: > I was very happy when compiling my 5.0 kernel. For the first time "device > midi" compiled without giving any errors. This abnormal excitement only > led to misery when I discovered after rebooting that there still was no > MIDI. > Is MIDI going to

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

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 a

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 st

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-25 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 n

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

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 impress

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 wor

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

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

  1   2   >