Re: kernfs

2001-02-22 Thread David Malone
On Thu, Feb 22, 2001 at 10:39:47AM +0900, Daniel C. Sobral wrote: It seems the error for kernfs is activating a couple of other warnings: I think Des retired kernfs in -current in a commit on 2000/12/28. David. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe

Re: tcsh 6.10.00 echo;echo;echo; bug with fix

2001-03-14 Thread David Malone
On Tue, Mar 13, 2001 at 07:52:49AM -0500, Christos Zoulas wrote: Thanks so much! I wonder how come this bug remained unnoticed for such a long time! AFAIK, this isn't a bug. It's what csh has always done. (It's what IBM and Sun's csh do anyway...) To echo a newline in csh you do 'echo ""'.

Re: tcsh 6.10.00 echo;echo;echo; bug with fix

2001-03-14 Thread David Malone
Since internal 'echo' does nothing, it _not_ used in any old csh scripts, while 'echo ""' does the same thing in both old and new variants, so old scripts will works in the same way. Will it change what happens if you do: set null="" echo $null (this produces nothing in

Re: cvs commit: src/sys/i386/isa apic_vector.s icu_vector.s

2001-03-16 Thread David Malone
I'm still getting panics with a messed up stack in -current. I've made some progress on getting useful ktr traces though. No, the other handler on that swi is the softclock handler. This just means you are getting clock interrutps from the i8254, which is good. :) We just happen to hang

Re: very strange problem with ps

2001-03-17 Thread David Malone
On Fri, Mar 16, 2001 at 06:21:46PM -0800, Brooks Davis wrote: Ah, you are correct. I should have tried that. What a strange bug. It happens for any option which causes the sysctl to return no processes to libkvm. (Try ps -p 10). I think the following patch should fix the problem. (Kirk

Re: very strange problem with ps

2001-03-17 Thread David Malone
I actually prefer the ESRCH patch as a) it better describes what happens and b it returns a proper error when no processes are found, making it easier for other programs to detect this error condition. Programs should already be checking for a error return from the sysctlbyname() that they

Re: Interesting backtrace...

2001-03-18 Thread David Malone
On Sun, Mar 18, 2001 at 04:41:03PM +0100, Dag-Erling Smorgrav wrote: I finally caught a backtrace from one of those recurring stack smash panics. I've been getting a few of these every day for a couple of weeks now but never caught a dump; I caught this one by typing 'panic' immediately

Re: Interesting backtrace...

2001-03-18 Thread David Malone
On Sun, Mar 18, 2001 at 04:41:03PM +0100, Dag-Erling Smorgrav wrote: I finally caught a backtrace from one of those recurring stack smash panics. I've been getting a few of these every day for a couple of weeks now but never caught a dump; I caught this one by typing 'panic' immediately

Re: Interesting backtrace...

2001-03-22 Thread David Malone
On Wed, Mar 21, 2001 at 11:16:01PM +, David Malone wrote: The graph seems to peak at about 160kB/s, which seems plausable. The code is at: http://www.maths.tcd.ie/~dwmalone/comp/-time.S http://www.maths.tcd.ie/~dwmalone/comp/-time.c http://www.maths.tcd.ie/~dwmalone/comp

Re: problem report: optimization

2001-04-26 Thread David Malone
On Wed, Apr 25, 2001 at 10:47:06PM +0400, Ilya Naumov wrote: i've discovered that now the world cannot be built without any optimization options (-Oxx) due to a 'dirty' code in some places. one of good examples is usr.sbin/rpc.lockd. without -Oxx options kern.c fails compilation: Alfred

Re: panic: mutex vm not owned

2001-05-20 Thread David Malone
On Sun, May 20, 2001 at 12:59:51PM -0400, Mike Heffner wrote: The machine is up for about one minute and then I ran `startx' and the screen turned black and it appeared to lockup, after about 30 seconds plus some banging on the keyboard it rebooted. I have 256mb ram, so it shouldn't be

Re: panic: mutex vm not owned

2001-05-21 Thread David Malone
Please try the attached patch. I make no claims of its correctness, but this e-mail is coming to you via X on -current updated a few hours ago so it works here :-). I tried Dima's patch (the one which Alfred has committed) and I get an earlier mutex recursion panic, probably when a local

Re: panic: mutex vm not owned

2001-05-21 Thread David Malone
I tried Dima's patch (the one which Alfred has committed) and I get an earlier mutex recursion panic, probably when a local progam that uses shm forks and exits. I scribbled down this trace from it: Is there such a program in the base system? Nope - it's part of a radio refclock for

Re: panic: mutex vm not owned

2001-05-21 Thread David Malone
On Mon, May 21, 2001 at 01:44:16AM -0700, Dima Dorfman wrote: exit1 calls shmexit with vm_mtx held on line 228 of kern_exit.c (rev. 1.127). Actually, shmexit_myhook should always be called with vm_mtx held, so shm_delete_mapping can't assume it isn't held. The following seems to work. It's

Re: rm -rf question

2001-05-23 Thread David Malone
On Wed, May 23, 2001 at 05:51:40AM -0500, Storms of Perfection wrote: gary@trouble:~$ rm -rf /home/gary/public_html/mrtg/david/ Display all 2275 possibilities? (y or n) gary@trouble:~$ rm -rf /home/gary/public_html/mrtg/david/* bash: /bin/rm: Argument list too long Is this a bug with rm?

Re: worklist_remove panic

2001-05-27 Thread David Malone
Check your disk label. I got burned a few months back on a fairly old install where I created swap first, then root. This causes the swap partition to start at sector 0, with root straight after. For some reason, sysinstall or the kernel decided to += 64k on the start address of the swap

Re: support Pentium3 SSE

2001-06-21 Thread David Malone
On Wed, Jun 20, 2001 at 05:39:55PM -0400, Andrew Gallatin wrote: While we're at it, I know that the AMD AthlonMP supports SSE, but I can't seem to find which bits they're using in their features for it. It would be nice if somebody who knew that spoke up so that we supported SSE on Palamino

Re: syslogd and -a

2001-07-02 Thread David Malone
On Sun, Jul 01, 2001 at 09:20:44PM -0700, Crist J. Clark wrote: Hmmm... Looks like, # syslogd -a 192.168.1.0/29 Will work and, # syslogd -a 192.168.1.1/29 Won't. That's the standard behaviour of a netmask, isn't it? The usual way to check if host h is in network/netmask n/m is

Re: userconfig()

2001-07-13 Thread David Malone
On Fri, Jul 13, 2001 at 08:32:18PM +0900, Kazutaka YOKOTA wrote: options USERCONFIG, options VISUAL_USERCONFIG, and options INTRO_USERCONFIG were removed from /sys/conf/options.i386 and options.pc98 on 12 June. Does this mean we are going to ditch userconfig()? I think they were disabeled

Re: libedit replacement for libreadline

2001-07-16 Thread David Malone
On Mon, Jul 16, 2001 at 01:31:27AM -0700, Kris Kennaway wrote: I've just finished syncing up our libedit to the version in NetBSD, which includes a number of bugfixes, but perhaps more interestingly it can function as a drop-in (apparently binary compatible) replacement for GNU libreadline

Re: Make world hosed ?

2001-07-17 Thread David Malone
On Tue, Jul 17, 2001 at 08:38:13PM +0200, Poul-Henning Kamp wrote: Am I the only one who sees this ? I suspect that this is my fault for not doing a buildworld after turning on WARNS stuff in inetd. I think the problem must be that -nostdinc must cause errors to be issued for files which

Re: Make world hosed ?

2001-07-18 Thread David Malone
On Tue, Jul 17, 2001 at 07:55:18PM +0100, David Malone wrote: I suspect that this is my fault for not doing a buildworld after turning on WARNS stuff in inetd. YES! Why are you committing these very easy to break the build, as we've seen changes w/o full `make buildworld' testing?!? I

Re: Strange select(2) misbehaviour when linked with -pthread

2001-07-26 Thread David Malone
On Wed, Jul 25, 2001 at 02:12:06PM +0300, Maxim Sobolev wrote: I found that the attached small program behaves very strangely when linked with -pthread - it chews 100% CPU cycles while waiting in select(2). This misbehaviour observed both on 5-CURRENT and 4-STABLE systems. *weird* The

Re: Problem with pxeboot and binutils-2.11

2001-08-09 Thread David Malone
On Thu, Aug 09, 2001 at 11:12:32AM -0700, John Baldwin wrote: It appears that gas is now properly padding the end of the text section (and inserting the jmp and nops). This, in turn, misaligns the loader that is tacked onto the end of the pxeldr. I'm currently not setup to test

Re: block device required

2001-08-18 Thread David Malone
On Sat, Aug 18, 2001 at 11:02:04AM -0400, Mikhail Teterin wrote: Now, this may be the wrong way to do it: # mount -oro -t msdos /dev/ugen0 /mnt But the error message is certainly misleading. Especially, since the are no block devices in -current any more :) msdosfs:

Re: block device required

2001-08-18 Thread David Malone
msdosfs: /dev/ugen0: Block device required This is caused by the kernel returning ENOTBLK, which I think still makes sense in the kernel. It's possible that the errno should be translated to a different string though... Just because there is no 'block' device representation in

Should UPDATING tell you to rerun MAKEDEV now?

1999-12-05 Thread David Malone
I recompiled -current today and had to rerun MAKEDEV - I think I've seen phk recommending this to people. Should there be an entry in UPDATING for this? David. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message

Re: Should UPDATING tell you to rerun MAKEDEV now?

1999-12-05 Thread David Malone
On Sun, Dec 05, 1999 at 02:18:07PM -0700, Warner Losh wrote: In message [EMAIL PROTECTED] David Malone writes: : I recompiled -current today and had to rerun MAKEDEV - I think I've : seen phk recommending this to people. Should there be an entry in : UPDATING for this? phk didn't recommend

Re: fsck not cleaning on first try

1999-12-22 Thread David Malone
I think I have a partial explaination of the fsck not working on the first try, and a reboot fixing it. I've been using Soren's new driver for some time, and did a MAKEDEV after the block device changes, but I found that it I booted with a dirty root filesystem then fsck would fix the problem,

Re: fsck not cleaning on first try

1999-12-23 Thread David Malone
Remake your devices in /dev with a fresh MAKEDEV Already done that - 3 times! I even blew away /dev and rebuilt it from scratch. David. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message

Re: fsck not cleaning on first try

1999-12-23 Thread David Malone
I have the problem on my system using pure scsi disks. You could try adding printfs to fsck to see if hotroot is being set and see if fsck is reloading the filesystem. You want to look in main.c (search for RELOAD) and preen.c (search for hotroot++). David. To Unsubscribe: send mail

Re: fsck not cleaning on first try

1999-12-23 Thread David Malone
So running ls -l /dev | grep '^b' gives no output ? I'll check and see - initially I did a "./MAKEDEV *" and then the first time I had problems after that I tried a "./MAKEDEV all". I think the two of these should have replaced all the old devices? I still had problems after that,

Re: fsck not cleaning on first try

1999-12-24 Thread David Malone
So running ls -l /dev | grep '^b' gives no output ? Appologies - I must have cocked up. I can't tell what devices I had there, but there must have been some block devices left. I'd guess I accidently ran "./MAKEDEV all" twice instead of "./MAKEDEV *", (either that or I had some

Re: fsck not cleaning on first try

1999-12-25 Thread David Malone
On Fri, Dec 24, 1999 at 09:14:01PM +0100, Poul-Henning Kamp wrote: In message [EMAIL PROTECTED], David Malone writes: Should fsck be changed to set the hotroot flag if the block device is given? I deliberately didn't do this for several reasons: 1. It would need to know

Lint still broken in -current (due to cpp).

2000-01-07 Thread David Malone
I tried lint again since David O'Brien committed the new /usr/bin/cpp, but it turns out that lint is hardwried to use /usr/libexec/cpp. I changed it to use /usr/bin/cpp, and it works, but gives some error messages. Is this still on the list of things to fix, or should I get more details and

Re: PAM'ized su(1)

2000-01-08 Thread David Malone
On Sat, Jan 08, 2000 at 02:14:10PM -0800, Kurt D. Zeilenga wrote: At 04:43 PM 1/8/00 -0500, Garrett Wollman wrote: Hmmm. I don't see any such module. Or are you proposing to write one? No. I'd just pull the pam_wheel from the Attic. If it came from the linux version of pam, then

Re: PAM'ized su(1)

2000-01-09 Thread David Malone
On Sat, Jan 08, 2000 at 03:48:33PM -0800, Kurt D. Zeilenga wrote: Did you try the "use_uid" option? Looks like you're dead right! I can't test it 'till tomorrow, but I'm sure it works. Oh, if only everything came with man pages, then I could RTFM. David. To Unsubscribe: send mail

Re: Lint still broken in -current (due to cpp).

2000-01-11 Thread David Malone
On Fri, Jan 07, 2000 at 09:28:47AM -0800, David O'Brien wrote: On Fri, Jan 07, 2000 at 01:29:27PM +0200, Sheldon Hearn wrote: I think lint(1) might work with this given the following small patch. I agree that lint might should continue to use /usr/libexec/cpp rather than switch to

Re: move portmap(8) from /usr/sbin to /sbin

2000-01-12 Thread David Malone
On Wed, Jan 12, 2000 at 01:23:14AM -0800, Rodney W. Grimes wrote: Also moving them to pass1 would bring up nfs exports before we brought up nfs mounts. syslogd would not be running to catch Shouldn't nfs exports happen before nfs mounts, so that machines which have nfs interdependencies

Re: move portmap(8) from /usr/sbin to /sbin

2000-01-12 Thread David Malone
If your talking about dead lock caused by mutual cross mounting between 2 systems via NFS the NFS rule book says ``don't do that, it hurts''. Independent of order of export/mounting the dead lock occurs. Cross mounting via NFS is a verbotten thing in the sysadmin world of production

Re: R/W mount of / denied, filesystem not clean (after fsck)

2000-01-12 Thread David Malone
On Wed, Jan 12, 2000 at 11:58:34AM -0800, Matthew Dillon wrote: Hmm. I was under the impression that this problem was fixed, but I am getting it again. When I have a crash and reboot fsck runs through all the filesystems but then mount refuses to mount / thinking that it's

Re: Problems attempting to upgrade from 3.4-stable to -current

2000-01-14 Thread David Malone
On Thu, Jan 13, 2000 at 11:38:29PM -0800, Lamont Lucas wrote: This is the consistant error off of today's -current tree: cc -O -pipe -elf -Wall -fkeep-inline-functions -I/usr/obj/usr/src/i386/usr/include -c /usr/src/lib/csu/i386-elf/crt1.c -o crt1.o cc: Internal compiler error: program

Re: NFS /usr/src and /usr/obj?

2000-01-26 Thread David Malone
On Wed, Jan 26, 2000 at 04:26:20PM -0600, [EMAIL PROTECTED] wrote: I'm wondering how one can do a buildworld on a machine, and then NFS mount /usr/src and /usr/obj on a client machine and do an installworld of the freshly built sources? I've been looking in the archives without much success,

Re: Panic (pmap)

2000-02-23 Thread David Malone
On Wed, Feb 23, 2000 at 11:01:39AM +0100, Jeroen Ruigrok van der Werven wrote: Current score: 1 tcp panic 1 pmap panic 4 ffs panics Such a mix might suggests bad hardware? (Mind you, we're seeing "freeing free block" panics on a NFS server with full disks on 3.4). David. To

Re: Panic (pmap)

2000-02-23 Thread David Malone
On Wed, Feb 23, 2000 at 09:25:12AM -0800, Matthew Dillon wrote: Looks like Ian has tracked down our problem, but that's unlikely to be the problem Jurgen is seeing. I think it may be worth having David do a quick patch to see if it helps. David, try the following brute-force patch

Re: NETGRAPH patches (proposal)

2000-02-23 Thread David Malone
On Tue, Feb 22, 2000 at 09:02:43PM -0800, Archie Cobbs wrote: It's because all packets sent by this node should have the node's address. If you don't have it then PPPoE cannot send a packet "FROM" thia node, as it has no idea of what this node's address is. So.. we can have two hooks,

Re: raw socket, bpf, netgraph, etc

2000-02-14 Thread David Malone
On Mon, Feb 14, 2000 at 10:33:47AM -0800, Archie Cobbs wrote: Yevmenkin, Maksim N, CSCIO writes: i was thinking about netgraph. would't it be nice to have netgraph interface in each network driver? You already do. See ng_ether(8). Compile your kernel with options NETGRAPH and then

Lots of panic: vrele: negative ref cnt

1999-02-05 Thread David Malone
We're getting lots of negative reference counts for 3.0-STABLE. We've been getting them since long before Christmas. We have 3 SMP machines, all heavy NFS clients, which are dieing about 1 per day with this panic. Several of these hangs have been provoked by me logging out - you can see the ^D in

Re: Lots of panic: vrele: negative ref cnt

1999-02-06 Thread David Malone
I've seen identical panics when using nmh's spost command to send mail. Instant panic saying negative ref cnt. This is using an NFS mounted home directory (containing the draft mail to be sent). Unfortunately, I didn't have time to investigate further, so I just switched over to using SMTP

Re: Lots of panic: vrele: negative ref cnt

1999-02-09 Thread David Malone
I've seen identical panics when using nmh's spost command to send mail. Instant panic saying negative ref cnt. This is using an NFS mounted home directory (containing the draft mail to be sent). Unfortunately, I didn't have time to investigate further, so I just switched over to using SMTP

Re: disk quota overriding

1999-03-17 Thread David Malone
We all know that there are oodles of security problems associated with file giveaways. As I recall, all the texts I have ever read on the subject say that unless there is a very good reason to allow giveaways, they should be disabled. You can play games with quotas anyway, because you are

New SiS 5591 ide chipset support.

1999-04-06 Thread David Malone
I'm having trouble with a kernel built from this mornings make world. It seems to be related to the new SiS 5591 ide chipset support. It gets as far as the automatic reboot in progress and then says: wd0: interrupt timeout (status 50rdy,seekdone error 0) wd0: wdtimeout() DMA status 0 wd0:

Re: New SiS 5591 ide chipset support.

1999-04-07 Thread David Malone
The first thing is that I guess the no_dam should be no_dma, My understanding is that it stands for no damage. OK - I just thought it might have been a typo. Backing out the last change to ide_pci.c seems to fix the problem. I've lots of flags turned on in the kernel config file

Re: New SiS 5591 ide chipset support.

1999-04-07 Thread David Malone
OK - I've made a little progress. It only seems to be the first drive that it doesn't like. I can boot the system fine with the new kernel as long as I don't go near wd0. I dunno if it likes wd2. I've included what seem to be the useful bits of a boot -v as seen by dmesg for both the new and the

Re: nice little kernel task for somebody

1999-04-22 Thread David Malone
Here's a thing I've missed a couple of times: I'd like to be able to see the limits for a process in /proc. I'd like to be able to open processes file discriptors too (so you can still get files back if all the filsystem references to it have gone, but a process still has it open). I might

Re: devfs(5) Permissions

2002-03-03 Thread David Malone
On Sun, Mar 03, 2002 at 05:36:04PM +0100, Poul-Henning Kamp wrote: In message [EMAIL PROTECTED], Crist J. Clark writes : I've checked the manpages, the files in /etc, and Googled, and I can't find the answer. I am begining to worry there isn't one. How does one change the permissions on

Re: devfs(5) Permissions

2002-03-03 Thread David Malone
Do you have any designs for this ruleset stuff? From what you said at BSDconEurope it will have to be fairly complicated to achieve the your aim of being better than a static permission for a given device. Not really, the basic idea is just a linked list of rules:

Re: devfs(5) Permissions

2002-03-04 Thread David Malone
On Sun, Mar 03, 2002 at 09:26:11PM +0100, Poul-Henning Kamp wrote: I presume you'd push the rules in using sysclt or did you have something more filesystem like in mind? Nope, just a sysctl. I guess then you just need a sysctl which lets you read the rules for a given devfs mount point and

Re: Superfast clock on current.

2002-03-26 Thread David Malone
On Tue, Mar 26, 2002 at 09:59:29AM +0100, Poul-Henning Kamp wrote: This is an interesting machine: A K6 wiht ACPI, havn't seen that before. I had one of these machines and concluded that the ACPI time counter was busted. I dunno if it is possible to sanity check the time counter before using

Re: Surefire -current panic...

2002-03-28 Thread David Malone
On Thu, Mar 28, 2002 at 03:29:50PM +0100, Poul-Henning Kamp wrote: On a diskless machine: ktrace ntpdate -d $someserver gives an sure-fire panic: Does this depend on NFS? David. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the

Odd problem with MTRR and ACPI

2002-04-22 Thread David Malone
I have an ASUS A7A266 motherboard with an Athlon XP processor which seems prone to weirdness. The BIOS seems to set the MTRRs to some undocumented values, which used to prevent X starting. I've now fixed the MTRR code and X works fine. Unfortunately, when X changes the MTRRs then ACPI stops

Re: new french calendar(1) breaks installword

2002-04-29 Thread David Malone
The commit was done abot 11 hours ago, but it was incomplete: the directory calendars/fr_FR.ISO_8859-1 does not exist. Here is the error message: Sorry about that - I think I've fixed the problem now. (Two breaks in one day - that will teach me to commit stuff late at night!) David.

Re: Odd problem with MTRR and ACPI

2002-05-04 Thread David Malone
Heh, finally someone that's actually trying to fix this. 8) ;-) The right thing is going to be to fix the MTRR code to preserve the extra MTRR bits; I've tried a few times to get some documentation on what these other bits mean without any luck. The code I added to the MTRR stuff

Re: GCC-3.1 Optimization -Os broken

2002-05-13 Thread David Malone
On Mon, May 13, 2002 at 09:57:08PM +0200, Daniel Rock wrote: - recompile libalias with -Os = NAT broken - recompile libalias with -O = NAT works again. I know any other optimization than -O isn't supported but this bug (either in libalias or in gcc) should be investigated. If you could

Re: Inetd configuration message logging (or lack thereof)

2002-05-19 Thread David Malone
On Sat, May 18, 2002 at 06:51:31PM -0700, John De Boskey wrote: Comments on the following patch. The messages are invisible with a default install. This patch gets them into /var/log/messages where they can be seen. I have a different fix for this at home, included below. It uses

Sandbox for rpc services?

1999-05-25 Thread David Malone
Since identd and talk have been sandboxed in -current I was wondering if rpc services could also be sandboxed, or is there something which says they have to run as root. I'm guessing, but it might be possible to run the following services with the following privilege. rstatd kmem

Re: net.inet.tcp.always_keepalive on as default ?

1999-06-01 Thread David Malone
On Tue, Jun 01, 1999 at 02:15:05PM -0600, Nate Williams wrote: Can people live with a one week TCP keepalive as default ? Compromise. I like it. One week is certainly adequate for me. If I leave a link 'active' for longer than that w/out activity, I deserve to lose the link Surely that

Re: net.inet.tcp.always_keepalive on as default ?

1999-06-04 Thread David Malone
On Fri, Jun 04, 1999 at 03:32:02PM +0200, Pierre Beyssac wrote: I don't see what this fuss is all about. If for _some_ big servers there are many dead connections around after a while (*), why don't THEY use a sysctl at boot-time to change the default state, rather than impose on the rest of

Re: net.inet.tcp.always_keepalive on as default ?

1999-06-04 Thread David Malone
In message 19990604170654.a8...@salmon.maths.tcd.ie, David Malone writes: It might be nice to have two keepalive timeouts like Nate suggested. You'd have a short one, which applies if the application turns on keepalive or you have alwayskeepalive on. Then you'd have a long one, which

<    1   2