gcc -O bug

2001-04-26 Thread Dag-Erling Smorgrav
|## 2446 22 |## 500 23 |## 326 DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] /* * Copyright (c) 2001 ThinkSec AS. All rights reserved. * * $ThinkSec$ */ #include err.h #include time.h #include stdio.h #include stdlib.h static int accepted

Re: Debuging kernel crashes

2001-03-20 Thread Dag-Erling Smorgrav
and committing them. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: kernel panic

2001-03-20 Thread Dag-Erling Smorgrav
Peter Pentchev [EMAIL PROTECTED] writes: You could take a look at www.FreeBSD.org/handbook/kerneldebug.html and provide a bit more details about that crash; at the very least, a 'where' or 'bt' would be useful. That, and a dmesg, or at least uname -a. DES -- Dag-Erling Smorgrav - [EMAIL

Re: httpfs

2001-03-17 Thread Dag-Erling Smorgrav
Peter Pentchev [EMAIL PROTECTED] writes: There was at the time - socketpair(2) had totally slipped my mind ;) Umm, you want pipe(2), not socketpair(2). DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" i

Re: httpfs

2001-03-17 Thread Dag-Erling Smorgrav
Peter Pentchev [EMAIL PROTECTED] writes: On Sat, Mar 17, 2001 at 04:53:34PM +0100, Dag-Erling Smorgrav wrote: Peter Pentchev [EMAIL PROTECTED] writes: There was at the time - socketpair(2) had totally slipped my mind ;) Umm, you want pipe(2), not socketpair(2). Actually, I want

Re: Greater than 2GB per process

2001-03-17 Thread Dag-Erling Smorgrav
way around, actually (we increased KVM space from 256 MB to 1 GB - not 2 GB as you claim). And the problem with legacy BSDI binaries (newer ones don't have this problem) was fixed a long time ago, in 3.0 (before 3.0-RELEASE). DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail

Re: Intel PRO/100+ PCI problem

2001-03-10 Thread Dag-Erling Smorgrav
ons PNPBIOS' to your kernel. If that doesn't solve your problem, we have a bug. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: context or unified diffs in PRs?

2001-03-10 Thread Dag-Erling Smorgrav
--- 1,7 ! three ! ducks ! swim ! in ! a little ! pond des@flood ~% diff -u old new --- old Sun Mar 11 03:07:31 2001 +++ new Sun Mar 11 03:08:08 2001 @@ -1,7 +1,7 @@ -the +three +ducks +swim +in +a little -horse -jumped -over -the -fence +pond DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED

Re: systat -vmstat or iostat IO help

2001-03-05 Thread Dag-Erling Smorgrav
vmstat showing 100% busy and iostat showing 10% busy.. No, -vmstat and -iostat are showing 13 and 12 tps (transactions per second), respectively. -iostat doesn't show a "busy percentage". DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL

Re: how to actually find out whether data hit the disk?

2001-03-02 Thread Dag-Erling Smorgrav
it nevertheless does. OK, doing a stat and checking the mtime should give you the info at the expense of polling, I can't think of another way. Won't help. You'll get the same mtime no matter whether the file is actually written to disk or not. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED

Re: how to actually find out whether data hit the disk?

2001-03-02 Thread Dag-Erling Smorgrav
Anton Berezin [EMAIL PROTECTED] writes: So is there a way, or is not? No. If there was a way to tell it'd be a bug. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: how to actually find out whether data hit the disk?

2001-03-02 Thread Dag-Erling Smorgrav
Peter Dufault [EMAIL PROTECTED] writes: Won't help. You'll get the same mtime no matter whether the file is actually written to disk or not. No, the spec says: [...] Oops, I was thinking "regular file with softupdates", not "mmapped file" (note to self: get more sleep)

Re: Setting memory allocators for library functions.

2001-02-28 Thread Dag-Erling Smorgrav
Tony Finch [EMAIL PROTECTED] writes: What about setrlimit(RLIMIMT_DATA)? Yep, I'd forgotten about that. Malloc() will return NULL if you hit your data size limit. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-ha

Re: Compaq e500, 3com cardbus card help

2001-02-25 Thread Dag-Erling Smorgrav
Kenneth Wayne Culver [EMAIL PROTECTED] writes: On 24 Feb 2001, Dag-Erling Smorgrav wrote: Kenneth Wayne Culver [EMAIL PROTECTED] writes: FreeBSD supports cardbus in -CURRENT, but I wouldn't expect it to ever support cardbus in 4.x. If you are daring you can get -CURRENT, but from what

Re: Setting memory allocators for library functions.

2001-02-25 Thread Dag-Erling Smorgrav
"Daniel C. Sobral" [EMAIL PROTECTED] writes: It doesn't work. The application killed by reason of insufficient resources is not (necessarily) the one that causes the page fault leading to that. This is arguably a bug which needs to be fixed. DES -- Dag-Erling Smorgrav - [EMAIL

Re: Compaq e500, 3com cardbus card help

2001-02-24 Thread Dag-Erling Smorgrav
, but it takes some hand-holding. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Setting memory allocators for library functions.

2001-02-24 Thread Dag-Erling Smorgrav
d segfault. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Setting memory allocators for library functions.

2001-02-24 Thread Dag-Erling Smorgrav
of memory that's already mapped and you'll be fine, but sometimes (when allocating beyond what was previously used) it won't. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Setting memory allocators for library functions.

2001-02-24 Thread Dag-Erling Smorgrav
[EMAIL PROTECTED] (Peter Seebach) writes: In message [EMAIL PROTECTED], Dag-Erling Smorgrav writes: Malloc() does not overcommit - the kernel does. Malloc() doesn't know and doesn't care. But it could still probably force the behavior. Barring kernel changes, not easily, and only for single

Re: Setting memory allocators for library functions.

2001-02-24 Thread Dag-Erling Smorgrav
allocated. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: make bug? (dependency names with '$')

2001-02-20 Thread Dag-Erling Smorgrav
, my experience is that unless you're paying Sun significant amounts of $$, their reaction to bug reports is to close their eyes, hum real loud and hope they go away. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-ha

Re: make bug? (dependency names with '$')

2001-02-20 Thread Dag-Erling Smorgrav
other, you can also just specify that one file on the command line. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Switching from buildkernel to config seems to recompile the entire kernel

2001-02-20 Thread Dag-Erling Smorgrav
ethod uses a compile directory in /usr/src. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Build timings - FreeBSD 4.2 vs. Linux

2001-02-19 Thread Dag-Erling Smorgrav
Robin Cutshaw [EMAIL PROTECTED] writes: Any ideas as to why it would take almost three times longer to build on FreeBSD? Yup: 4.x sucks at SMP. Try the comparison again with uniprocessor kernels - I expect you'll see a much smaller difference. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED

Re: edit /usr/src/contrib/ipfiler requires full recompile.

2001-02-13 Thread Dag-Erling Smorgrav
by the kernel make process. Of course not. It's not part of the kernel. There's a duplicate of this file in /usr/src/sys/netinet which need to be kept in synch. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-ha

Re: soft updates performance

2001-02-12 Thread Dag-Erling Smorgrav
doing I/O, and if you're already doing I/O as fast as you can there's no room for improvement. On a machine with a slower CPU or a faster I/O system, you'd see improvement. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe fr

Re: soft updates performance

2001-02-12 Thread Dag-Erling Smorgrav
, not the old 486DX33 you have lying in a corner. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: soft updates performance

2001-02-12 Thread Dag-Erling Smorgrav
Jordan Hubbard [EMAIL PROTECTED] writes: [...] That implies to me, at least, that after a certain point the CPU is going to be the bottleneck. More likely RAM bandwidth. Those 133 Mhz FSBs ought to help, though. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe

Re: soft updates performance

2001-02-12 Thread Dag-Erling Smorgrav
. Stuff on disk has to be read into memory, and this is generally done by DMAing it off the disk, which locks the memroy bus, then copying it out into userland. With an MFS you skip the first part, unless MFS is stupider than I thought. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe

Re: syscall kernel modules on 3.0-release

2001-02-08 Thread Dag-Erling Smorgrav
down for however long you need to upgrade it (somewhere between half an hour and two hours depending on disk speeds and how much tinkering is needed). DES (been there, done that) -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe fr

Re: What's changed recently with vmware/linuxemu/file I/O

2001-02-08 Thread Dag-Erling Smorgrav
every page during startup. Unless some form of clustering is done, this causes 16384 write operations for a 64 MB virtual machine... DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: syscall kernel modules on 3.0-release

2001-02-08 Thread Dag-Erling Smorgrav
it eventually breaks.) Get a better job. Skilled IT workers are rare enough that they shouldn't need to put up with such crap, and shouldn't have any trouble getting a new job when the crap starts flying. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL

Re: syscall kernel modules on 3.0-release

2001-02-07 Thread Dag-Erling Smorgrav
half a year ago. If you absolutely must run RELENG_3, don't run anything but the very latest 3.5-STABLE (cvsup and cvs are your friends). DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: syscall kernel modules on 3.0-release

2001-02-07 Thread Dag-Erling Smorgrav
. Well, it was a stupid decision at that time, and the decision not to upgrade or replace these machines now is even stupider. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: What's changed recently with vmware/linuxemu/file I/O

2001-02-07 Thread Dag-Erling Smorgrav
the day (or even the week) on which it occurred? DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Bash2 removes SSH_CLIENT from the environment

2001-01-31 Thread Dag-Erling Smorgrav
Chet Ramey [EMAIL PROTECTED] writes: Bash uses the presence of SSH_CLIENT to decide whether or not to run the shell startup files for a non-interactive shell (like it attempts to do for rsh). [...] Feh. Here's a nickel, kid, get yourself a real shell. DES -- Dag-Erling Smorgrav - [EMAIL

Re: newbie - Audio CD question

2001-01-30 Thread Dag-Erling Smorgrav
vijay [EMAIL PROTECTED] writes: Hi, I am new to FreeBSD. I wanted to know if I can play audio CDs on "my" system. 'man cdcontrol' DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Kernel Hacking (i tried not to make it lame)

2001-01-27 Thread Dag-Erling Smorgrav
psychological block is a much bigger obstacle to overcome than actual technical complexity. (hmm, I must remember to drop by Mustang Jack next time I'm in NYC) DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: specify a different kernel to boot

2001-01-26 Thread Dag-Erling Smorgrav
Zhiui Zhang [EMAIL PROTECTED] writes: Is there a way to specify a kernel other than /kernel to boot from? I do not want to do this manually, I want to put it into some configuration file. Thanks, 'man loader' DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail

Re: Kernel programming

2001-01-23 Thread Dag-Erling Smorgrav
Alexander Langer [EMAIL PROTECTED] writes: Thus spake Dag-Erling Smorgrav ([EMAIL PROTECTED]): Alexander Langer [EMAIL PROTECTED] writes: There recently (last week or something) was a thread here or on another mailinglist on how to debug kernel moduls, which is a little bit tricky

Re: Possible bug in /usr/bin/makewhatis

2001-01-22 Thread Dag-Erling Smorgrav
Jos Backus [EMAIL PROTECTED] writes: This patch gets rid of the Broken pipe messages. No need to name the loop... DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: linux_connect() is broken

2001-01-21 Thread Dag-Erling Smorgrav
happens ? If the value you return is non-zero, see above. If it's zero, the userland syscall code returns p-p_retval[0] to the caller. * Does this logic also apply to the Linux syscall stuff in the kernel? I think so. Marcel would be better placed to answer that. DES -- Dag-Erling Smorgrav - [EMAIL

Re: Securelevel idea

2001-01-21 Thread Dag-Erling Smorgrav
ed setting some option in the kernel and compiling a new one. Congratulations, you just invented capabilities! :) http://www.trustedbsd.org/ DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: startx /dev/mem problem

2001-01-20 Thread Dag-Erling Smorgrav
"Crist J. Clark" [EMAIL PROTECTED] writes: On Sat, Jan 20, 2001 at 01:51:43AM +0100, Dag-Erling Smorgrav wrote: Chris Stenton [EMAIL PROTECTED] writes: Fatal server error: xf86OpenConsole: Server must be suid root This is your

Re: Protections on inetd (and /sbin/* /usr/sbin/* in general)

2001-01-19 Thread Dag-Erling Smorgrav
'm tempted to reply "not much more than it already is". Eivind and I rewrote it for our previous employer, but the mod is part of a large chunk of proprietary code, unfortunately. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "un

Re: Protections on inetd (and /sbin/* /usr/sbin/* in general)

2001-01-19 Thread Dag-Erling Smorgrav
the scripts so we're reasonably confident that they can't do much harm except to themselves. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: startx /dev/mem problem

2001-01-19 Thread Dag-Erling Smorgrav
Chris Stenton [EMAIL PROTECTED] writes: Fatal server error: xf86OpenConsole: Server must be suid root This is your clue. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe fr

Re: Clustering FreeBSD

2001-01-18 Thread Dag-Erling Smorgrav
ll notice" DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Protections on inetd (and /sbin/* /usr/sbin/* in general)

2001-01-18 Thread Dag-Erling Smorgrav
; nor does it chroot as far as I recall. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: *Help* Limits on FreeBSD

2001-01-17 Thread Dag-Erling Smorgrav
told me to store these limits (above) in a etc/sysctl.conf file but when I went to etc that file wasn't in there .. do I have to newly create the file or should it already be there? 'man sysctl.conf' DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL

Re: One thing linux does better than FreeBSD...

2001-01-17 Thread Dag-Erling Smorgrav
"Julian Stacey [EMAIL PROTECTED]" [EMAIL PROTECTED] writes: Penguin mascot has enough advantages over Chuck already ! Then why do I get this urge to go bowling every time I see Tux? DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL

Re: Clustering FreeBSD

2001-01-17 Thread Dag-Erling Smorgrav
Jamie Heckford [EMAIL PROTECTED] writes: In all honesty, I am just looking for something to play with and see how fast FreeBSD can go. I'd say about 2.8 m/s/s, given sufficient height. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED

Re: Clustering FreeBSD

2001-01-17 Thread Dag-Erling Smorgrav
Dag-Erling Smorgrav [EMAIL PROTECTED] writes: Jamie Heckford [EMAIL PROTECTED] writes: In all honesty, I am just looking for something to play with and see how fast FreeBSD can go. I'd say about 2.8 m/s/s, given sufficient height. Doh! I mean 9.8 m/s/s, of course. DES -- Dag-Erling

Re: One thing linux does better than FreeBSD...

2001-01-15 Thread Dag-Erling Smorgrav
and 3.2-RELEASE CD sets had the "waiter beastie" graphic (the one on 3.1 had no tail!), but by 3.3 WC had reverted to Hosokawa-san's "beastie coming out of a CD" artwork. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "un

Re: waiting for new files in a directory

2000-12-28 Thread Dag-Erling Smorgrav
if the directory exists; make sure to differentiate between "somebody already holds the lock" and "the lock can't be created due to permission errors or some other problem" by examining $!) DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTE

Re: waiting for new files in a directory

2000-12-28 Thread Dag-Erling Smorgrav
Volker Stolz [EMAIL PROTECTED] writes: On Thu, Dec 28, 2000 at 01:35:08PM +0100, Dag-Erling Smorgrav wrote: What are you guys smoking? *shrug* Can you spell "event-driven"? There are ways to do things much more elegantly today (see all the references to kevent()). I cho

Re: waiting for new files in a directory

2000-12-28 Thread Dag-Erling Smorgrav
Peter Pentchev [EMAIL PROTECTED] writes: On Thu, Dec 28, 2000 at 01:44:34PM +0100, Dag-Erling Smorgrav wrote: Volker Stolz [EMAIL PROTECTED] writes: On Thu, Dec 28, 2000 at 01:35:08PM +0100, Dag-Erling Smorgrav wrote: What are you guys smoking? *shrug* Can you spell "event-d

Re: FreeBSD vs Linux, Solaris, and NT

2000-12-22 Thread Dag-Erling Smorgrav
can write a program exactly like another, if you can prove you never saw the other program. If you saw the similar program you are dirty. ATT (or Novell, don't remember if it was before or after the sale of USL) tried to use that argument against UCB. It was rejected. DES -- Dag-Erling Smorgra

Re: keeping lots of systems all the same...

2000-12-21 Thread Dag-Erling Smorgrav
Netscape and StarOffice at the same time, 128MB isn't enough. Sigh. Avoid StarOffice like the plague. It's neat, but it leaks like a sieve, and barely crawls along on my 450 MHz K6-2. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubs

Re: Supporting VirtualPC...

2000-12-21 Thread Dag-Erling Smorgrav
ctly sets cpu_vendor to "ConnectixCPU" (rather than e.g. "GenuineIntel" or "AuthenticAMD") you can just check against that. It's declared in machine/md_var.h. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Supporting VirtualPC...

2000-12-21 Thread Dag-Erling Smorgrav
cpu_is_vpc; #endif and not break anyone's heart? No. Check cpu_vendor at probe/attach time and set a flag in the interface's softc that indicates that it needs to be treated as a VPC emulated interface. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL

Re: ata weirdness

2000-12-19 Thread Dag-Erling Smorgrav
ta0-master: ata_command: identify failed ad2: 39082MB Maxtor 54098U8 [79406/16/63] at ata1-master UDMA66 snip I bet your CD-ROM is incorrectly configured as master. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe

Re: very big mail spool directory

2000-12-14 Thread Dag-Erling Smorgrav
an odd (and preferably prime) stripe size on RAIDs to (amongst other reasons) avoid having all the superblock backups end up on the same disk. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" i

Re: very big mail spool directory

2000-12-13 Thread Dag-Erling Smorgrav
(724 in your case - closest primes are 719 and 727), create that many bucket directories, and place each user in bucket ID mod K. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: eye-candy hack - warp_saver changing direction :)

2000-12-11 Thread Dag-Erling Smorgrav
is called to do its dance.. kern.* is not the right place for this. It should go in user.*, unless that is reserved for userland, in which case a subtree of kern.* is probably the Right Thing. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED

Re: eye-candy hack - warp_saver changing direction :)

2000-12-11 Thread Dag-Erling Smorgrav
s/sysctl.h. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Kernel question (detecting a user log-on)

2000-12-08 Thread Dag-Erling Smorgrav
if a user logged on? I'm pretty unsure about this.. Why don't you tell us what you want to do, instead of how you think it must be done? DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: free() not freing pagedirs pages.

2000-12-07 Thread Dag-Erling Smorgrav
(or was it /dev/null?) DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: free() not freing pagedirs pages.

2000-12-07 Thread Dag-Erling Smorgrav
Dag-Erling Smorgrav [EMAIL PROTECTED] writes: Remy Nonnenmacher [EMAIL PROTECTED] writes: Well, I may think using this solution if it remains portable between Unixes. It's perfectly portable, with one small variation - on BSD systems, you pass -1 instead of a file descriptor, while on SysV

Re: pipe

2000-12-06 Thread Dag-Erling Smorgrav
"G. Adam Stanislav" [EMAIL PROTECTED] writes: On Tue, Dec 05, 2000 at 06:11:06PM +0100, Dag-Erling Smorgrav wrote: The second and third sentences of the second paragraph (the one that starts on line 23), as well as the entire eighth paragraph (that starts on line 45), address the

Re: nslookup deprecation [was 4.2 complaint]

2000-12-05 Thread Dag-Erling Smorgrav
this case, the hype that an Internet year is only a few weeks of wallclock time. I'm sure there must be some meaning to what you write, but it keeps eluding me. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: pipe

2000-12-05 Thread Dag-Erling Smorgrav
an address to the function. I don't get it... What address? I want it to allocate memory for me and tell me its address. How am I supposed to know what address is available??? Did you even read the man page? DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL

Re: nslookup deprecation [was 4.2 complaint]

2000-12-05 Thread Dag-Erling Smorgrav
Brandon Fosdick [EMAIL PROTECTED] writes: Dag-Erling Smorgrav wrote: "Recently"? nslookup has been officially deprecated for about a year and a half, I believe. Will a replacement be added to the base distro? When? 1) nslookup is still in the base FreeBSD distribution, and will

Re: pipe

2000-12-05 Thread Dag-Erling Smorgrav
"G. Adam Stanislav" [EMAIL PROTECTED] writes: On Tue, Dec 05, 2000 at 04:32:29PM +0100, Dag-Erling Smorgrav wrote: Did you even read the man page? Many times, actually. And on different days, too. :) No, you didn't. You probably read the first line, then your eyes glazed over and y

Re: Couple of config questions...

2000-11-28 Thread Dag-Erling Smorgrav
r messages, with timestamps, to various log files located in /var/log (most prominently /var/log/messages) as specified in /etc/syslogd.conf. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: iowait CPU state

2000-11-10 Thread Dag-Erling Smorgrav
void [EMAIL PROTECTED] writes: Is there any reason top couldn't add these up and report a %iowait like Solaris'? Yes. It would conceal valuable information. Do the adding up in your head. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED

Re: printf()

2000-11-10 Thread Dag-Erling Smorgrav
[EMAIL PROTECTED] writes: [...] Jessem. Amazing what people will do to evade killfiles. Plonk. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Mounting a md as a root filesystem.

2000-11-07 Thread Dag-Erling Smorgrav
Josef Karthauser [EMAIL PROTECTED] writes: # load -t md /filesystemfile Shouldn't that be 'load -t md_root'? DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: iowait CPU state

2000-11-07 Thread Dag-Erling Smorgrav
ch a state? It has several, depending on the type of I/O the process is waiting for: biord (waiting for a read operation to complete), biowr (waiting for a write operation to complete), select (waiting for descriptors to become readable / writable), etc. DES -- Dag-Erling Smorgrav - [EMAIL

Re: Help writing a screen saver module

2000-11-07 Thread Dag-Erling Smorgrav
-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Kernel calls, are they documented somewhere?

2000-11-02 Thread Dag-Erling Smorgrav
(2) returned 2, which is ENOENT, i.e. the file didn't exist). If it succeeded, the value returned is the result (a file descriptor in open(2)'s case). DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" i

Re: FreeBSD vs. Linux

2000-10-22 Thread Dag-Erling Smorgrav
James Housley [EMAIL PROTECTED] writes: I believe a correct and true statement is "FreeBSD is a direct decendant of Unix(TM). Based on the BSD sources" I don't think there's all that much left of the original BSD sources... at least not in the kernel. DES -- Dag-Erling Smorgra

I'm convinced 'gcc' is meant to be pronounced 'ARRRRGGGHHH!'

2000-10-17 Thread Dag-Erling Smorgrav
Will someone please inform the gcc developers of the last decade's advances in C standardization? Yes, Virginia, ISO C (it's not ISO C any more, and hasn't been since 1989) does support 'long long' and the 'll' format. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail

Re: I'm convinced 'gcc' is meant to be pronounced 'ARRRRGGGHHH!'

2000-10-17 Thread Dag-Erling Smorgrav
) on December 16th, 1999, but gcc still seems to live in 1989-land. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: XFreeBSD Install - 4.1-RELEASE #:0 Fri Jul 28 14:30:31 GMT 2000

2000-10-03 Thread Dag-Erling Smorgrav
expect 4.2 will as well. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: 4.1-stable crash.

2000-10-03 Thread Dag-Erling Smorgrav
--- #0 0xc0132df8 in boot () (kgdb) where #0 0xc0132df8 in boot () Cannot access memory at address 0xce51d9b8. (kgdb) This probably means the panic was in a KLD. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe

Re: Need some help developing my ethernet driver.

2000-10-03 Thread Dag-Erling Smorgrav
somewhere?). You might want to look at src/sys/i386/isa/if_rdp.c instead. And yes, dl is available, though there's a header file called if_dl.h; if your driver needs its own header file, call it if_dlreg.h. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL

Re: 4.1-stable crash.

2000-10-03 Thread Dag-Erling Smorgrav
FengYue [EMAIL PROTECTED] writes: On 3 Oct 2000, Dag-Erling Smorgrav wrote: - panic messages: - --- - Where are the panic messages? Unfortunately, there is no panic messages. I compiled the kernel with -g (without DDB), and set the dumpdev in rc.conf. Did I do anything wrong

Re: finding source to functions

2000-10-02 Thread Dag-Erling Smorgrav
Marc Tardif [EMAIL PROTECTED] writes: How can I find the source to specific functions in /usr/src/sys? URL:http://lxr.linux.no/freebsd/source DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" i

Re: finding source to functions

2000-10-02 Thread Dag-Erling Smorgrav
has paid off :) DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: virtual console 'snapshot'?

2000-09-25 Thread Dag-Erling Smorgrav
that, the only ugliness is the need to fondle syscons' privates. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: PEACE - Portable Executable win32 API Compatible Environment.

2000-09-18 Thread Dag-Erling Smorgrav
to NetBSD native system call. What is the difference between PEACE and WINE? DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Netfinity 5600 patches

2000-05-09 Thread Dag-Erling Smorgrav
/freebsd-smp/2423.freebsd-smp Looks like it - and Andrew's the one who added support for the RCC in the first place. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

newsyslog(8) hack

2000-05-08 Thread Dag-Erling Smorgrav
I've hacked newsyslog(8) to accept a list of log files to process on the command line (very useful in combination with -F). See attached patches. I'll commit this in a few days if noone objects. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] Index: newsyslog.8

Re: ILOVEYOU

2000-05-05 Thread Dag-Erling Smorgrav
though... DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Linprocfs observation.

2000-03-28 Thread Dag-Erling Smorgrav
, and a severe oversight on my part. 2) Make the "exe" file in /linproc/pid/ a symlink to "./private/exe", which is the file which gives you the executables real vnode. Sounds good. I'll get to it. DES -- Dag-Erling Smorgrav - [EMAIL PROTECT

IBM Netfinity 5600

2000-03-21 Thread Dag-Erling Smorgrav
gnore this one! What is it, anyway ??? */ DES (half past six aye emm, still at work...) -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

New option to ping(8): dump packet contents

2000-01-19 Thread Dag-Erling Smorgrav
to report the load average in echo reply packets. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] Index: ping.c === RCS file: /home/ncvs/src/sbin/ping/ping.c,v retrieving revision 1.49 diff -u -r1.49 ping.c --- ping.c 2000/01/14 23

Re: new IPFW

1999-11-29 Thread Dag-Erling Smorgrav
when running in "Network secure mode" (securelevel 3 or higher). DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] Index: if.c === RCS file: /home/ncvs/src/sys/net/if.c,v retrieving revision 1.77 diff -u -r1.77 if.c --- if.c

Re: new IPFW

1999-11-29 Thread Dag-Erling Smorgrav
monstrates the inadequacy of the secure level mechanism. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

<    1   2   3   4   5   >