Re: PR conf/107453 still pending

2007-04-17 Thread David Malone
> The PR conf/107453 (calendar.judaic is out of date) is still pending. I > submitted the patch to correct this bug back in January. It is just a > replacement of an ASCII text file and should not affect the operation of > the OS. Could some one with the commit bit please look at this and commit >

Re: Debugging times

2007-07-09 Thread David Malone
On Mon, Jul 09, 2007 at 11:25:46PM +0200, Ivan Voras wrote: > The date is set wrong either on boot or very early after the kernel has > booted (I've verified it's wrong before hostid rc.d script, which is one > of the first to be executed). I have some patches to make the code that reads the date

Re: Debugging times

2007-07-11 Thread David Malone
On Tue, Jul 10, 2007 at 12:29:26AM +0200, Ivan Voras wrote: > Yes, I'll test them. > > The problem is - the same kernel works when booted off a hard drive, so > unless the VMWare BIOS is very messed up (it's the first time I see such > problems) it may not help. Please, scatter debug printf's arou

Re: Debugging times

2007-07-12 Thread David Malone
On Thu, Jul 12, 2007 at 12:14:43AM +0200, Ivan Voras wrote: > I've got interesting results (in the bad sense of the phrase): I do get > the message "Invalid time in real time clock. Check and reset the time > immediately" (the i386 message) BUT my time gets reset to 0 (midnight > 1970.) Ah - that'

Re: Debugging times

2007-07-15 Thread David Malone
On Sun, Jul 15, 2007 at 11:37:57AM +0200, Dominique Goncalves wrote: > >Yes, it does! Setting ct.dow to -1 fixes the time in a correct way. > It works also for me with qemu 0.9.0. Great - I'll work on getting it merged in. David. ___ freebsd-ha

Re: new syslogd option for adding local timestamp

2008-02-20 Thread David Malone
Hi Thomas, The -T option looks reasonable to me - can you submit a PR and let me know what number it is. I'll have a look at making the change. David. ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd

Re: general i/o question

2008-05-07 Thread David Malone
On Wed, May 07, 2008 at 05:39:00PM +0200, [EMAIL PROTECTED] wrote: > i need to test (NOWAIT), the presence of keypressed/depressed on a terminal > and then read the scan code, like for a piano pc keyboard. > > my questions are as follows: > > 1. is it a general C function which may scan a termina

Re: Benchmarking server app on FreeBSD

1999-07-16 Thread David Malone
On Fri, Jul 16, 1999 at 03:08:41PM -0700, Ken Bolingbroke wrote: > However, I'm running into an unexpected problem on a server running > FreeBSD 3.2-RELEASE. If a single client opens 200 simultaneous > connections to the FreeBSD server, all but 30 to 40 of those get an > immediate "Connection ref

Re: amandad zombies (fwd)

1999-07-21 Thread David Malone
On Tue, Jul 20, 1999 at 05:15:46PM -0400, David E. Cross wrote: > We had a similiar problem here. We had meant to submit-pr it but forgot. > In our case it was because inetd had only the amanda line in it (inetd was > not responsible for any other services. Our guess was that it is an off by > on

Re: cvs commit: src/usr.sbin/inetd builtins.c inetd.

1999-07-23 Thread David Malone
On Fri, Jul 23, 1999 at 02:29:19PM +0200, Sheldon Hearn wrote: > Well, you did ask for them (inetd -l). :-) > > > Jul 23 11:21:28 printfix inetd[1743]: time from [...] > > Jul 23 11:21:28 printfix inetd[1743]: daytime from [...] > > Usually syslog will give you "last message repeated X times".

Re: cvs commit: src/usr.sbin/inetd builtins.c inetd.

1999-07-23 Thread David Malone
On Fri, Jul 23, 1999 at 03:06:02PM +0200, Andre Albsmeier wrote: > It's only nearly 50% because syslogd gets most of the other half :-) > > But when inetd is run without -l it get 100%. Interesting - does it still answer requests during this time? David. To Unsubscribe: send mail to m

Re: cvs commit: src/usr.sbin/inetd builtins.c inetd.

1999-07-23 Thread David Malone
On Fri, Jul 23, 1999 at 03:57:19PM +0200, Dag-Erling Smorgrav wrote: > Andre Albsmeier writes: > > Just to overcome speculations :-) I just tested it on another machine > > with the same result. If have tested it now between all 3 machines in > > each direction. Same result. > > Weird. I'm unable

Re: cvs commit: src/usr.sbin/inetd builtins.c inetd.h

1999-07-23 Thread David Malone
I've found the problem - it looks like a bug in the code for matching internal service names to /etc/service names. The code says: if ((bi->bi_socktype == sep->se_socktype && strcmp(bi->bi_service, sep->se_service) == 0) ||

Re: mbuf leakage in NFSv3 writes, possbile?

1999-07-23 Thread David Malone
On Fri, Jul 23, 1999 at 09:06:01AM -0700, Matthew Dillon wrote: > There is a good chance the leakage is in nfs_serv.c, which I fixed for > -current. > > I do not think those changes have been backported to -STABLE. julian 1999/06/30 15:05:20 PDT Modified files:(Branch

Re: Need some advice regarding portable user IDs

1999-08-18 Thread David Malone
On Wed, Aug 18, 1999 at 07:39:11AM -0400, Marc Ramirez wrote: > Oh! I was under the impression that it just didn't work, even with > correct perms, but I use FreeBSD. Lemme try it... Can't mount, even > with 0666 on /dev/fd0. Maybe I'm being stupid. Wouldn't be the first > time! You have to tu

Re: Gigabit ethernet support?

1999-08-18 Thread David Malone
On Wed, Aug 18, 1999 at 06:43:24PM -0400, Bill Paul wrote: Just out of curiosity, I thought I saw that you could get Intel Etherexpress 1Gb/s cards. Do these exist and if so would they work with the fxp driver as it is? David. To Unsubscribe: send mail to majord...@freebsd.org with "uns

Re: proposed change for /etc/periodic/* scripts

1999-08-23 Thread David Malone
On Mon, Aug 23, 1999 at 09:59:29AM +0100, Cillian Sharkey wrote: > * if there are no passwd/group diffs found, don't print anything > out (not even the header). Same for setuid etc. diffs. > > * For the 'df' status, only report filesystems that are over > a certain capacity (95% or only xxMb

vm_fault: pager read error on NFS filesystems.

1999-08-24 Thread David Malone
I tried mailing this to freebsd-stable but got no response. There is a problem when you remove a running executable on an NFS filesystem. Basically you end up with lots of "vm_fault: pager read error" messages - and I mean lots - I've seen 184888 messages in a little under and hour, and the perfor

Re: vm_fault: pager read error on NFS filesystems.

1999-08-24 Thread David Malone
> : 1) Stop vm_fault logging so much stuff. > : 2) Change sendsig to check if catching SIGBUS of SIGSEGV > : will cause a SIGBUS or SIGSEGV. If it will send the process > : a SIGKILL. > > Well, we can't do #2 - that would make us incompatible with > the API. I don't see ho

Re: Looking for good QA tests...

1999-08-26 Thread David Malone
On Thu, Aug 26, 1999 at 10:41:58AM -0700, Matthew Jacob wrote: > > I have a filesystem stress tests that are worth incorporating. I also have > a raw disk pattern checker, but that's less of a test than analysis tool. Does it check do things that should fail aswell as things that should work? One

Re: STABLE kern/13546: Too-verbose output from PCI probe at bootup

1999-09-07 Thread David Malone
On Tue, Sep 07, 1999 at 10:24:53AM -0700, Parag Patel wrote: > So I think my patch for simply wrapping the "Probing PCI bus" message > with an "if (bootverbose)" is the right solution/workaround for systems > like mine running STABLE. Not that it's a big deal - it's easy enough > for me to patch

Re: STABLE kern/13546: Too-verbose output from PCI probe at bootup

1999-09-08 Thread David Malone
> >The code which figures out the bushigh stuff for your machine > >probably needs a similar kludge, unless someone can say for certain > >that it isn't harful for the SMP case. > > Probably not worth the effort, since for this system at least, SMP works > just fine after probing for 253 non-exist

Re: restore of file system into USB key terrible slow

2008-08-07 Thread David Malone
On Tue, Aug 05, 2008 at 11:40:13AM +0200, Matthias Apitz wrote: > What means 'Header with wrong dumpdate'? It's a warning message that probably shouldn't be printed, but has no impact other than the printing of the warning. We've fixed bug that causes it to be printed recently. David. ___

Re: IPv6 CVS

2008-08-07 Thread David Malone
On Tue, Aug 05, 2008 at 10:34:09PM +0100, Bruce Cran wrote: > The problem is cvsupd - since it's written in Modula3 and doesn't > support IPv6 you have to use an inetd/netcat hack to accept IPv6 > connections on the server. As mentioned in > http://lists.freebsd.org/pipermail/freebsd-current/2008-J

Re: bad NFS/UDP performance

2008-09-26 Thread David Malone
On Fri, Sep 26, 2008 at 04:35:17PM +0300, Danny Braniss wrote: > I know, but I get about 1mgb, which seems somewhat low :-( Since UDP has no way to know how fast to send, you need to tell iperf how fast to send the packets. I think 1Mbps is the default speed. David. __

Re: Unprivileged user can't set sticky bit on a file; why?

2008-11-14 Thread David Malone
On Thu, Nov 13, 2008 at 11:05:21PM -0800, Nate Eldredge wrote: > since root is able to do it. src/sys/ufs/ufs/ufs_vnops.c has the > following comment: > > /* > * Privileged processes may set the sticky bit on non-directories, > * as well as set the setgid bit on a file

Re: C99: Suggestions for style(9)

2009-05-02 Thread David Malone
FWIW, I'd rarely support changing style(9), unless it is actually causing people to write bad code. It's designed to produce consistent code, and changing it does not encourage consistency. > >-Do not put declarations > >-inside blocks unless the routine is unusually complicated. > >+Prefer declar

Re: C99: Suggestions for style(9)

2009-05-02 Thread David Malone
> > I'm not sure I buy this - the initialisation is unlikely to move in > > a piece of code, so it's as hard to find now as it was before. Editors > > supporting finding declarations should be able to find initialisations > > just as easily. (I'm old fashioned and do it via regexps.) > But why not

Re: Patch for MS Hyper V (virtualization)

2009-05-05 Thread David Malone
I was talking about the Hyper-V problem with a guy from MS, and he followed up on it for me. It seems this is a known issue, which should be fixed in the latest version of Hyper-V (i.e. the RC of Windows Server 2008 R2 that was released on TechNet last week). David. ___

Inetd and wrapping.

1999-06-18 Thread David Malone
Sheldon and myself have been looking at the wrapping support in inetd, and I'd be interested to hear what people think on the following issues. David. Making wrapping a run time option: It seems strange to make wrapping a compile time option, when it could be a command li

Re: Inetd and wrapping.

1999-06-18 Thread David Malone
On Fri, Jun 18, 1999 at 03:30:03PM +0200, Sheldon Hearn wrote: > Is the general consensus that we absolutely must have wrapper support > built into inetd? What we've got right now isn't doing a fantastic job, > and trying to wedge in the job tcpd did before is getting progressively > uglier. :-( I

Re: Inetd and wrapping.

1999-06-19 Thread David Malone
> The support (after the patches Sheldon brought in) now is > pretty good; is there any reason why the existing functionality should be > extended ? We should support atleast as much as tcpd did. I think the only thing we're missing now is wrapping the first connection of a udp/wait service and t

Re: inetd/tcpd...changing hosts.allow...plus a documentation issue

1999-06-21 Thread David Malone
There was a bug in inetd in which ment that if you HUPed inetd it could get confuesed about the name of the services. This is probably what you are seeing. Sheldon has just committed a fix for this. The wrapping of internal services isn't quite working properly yet. Sheldon has committed a partia

Re: inetd/tcpd...changing hosts.allow...plus a documentation issue

1999-06-21 Thread David Malone
> In message <19990621110303.a7...@walton.maths.tcd.ie>, David Malone writes: > > >wrapped (and it isn't possible to wrap tcp nowait services even with tcdp). > > Is that what you meant to say, or am I getting confused? Did you mean udp, > or wait? Of c

Re: Inetd and wrapping.

1999-06-21 Thread David Malone
> Folks, public feedback on the following portion of David's mail would be > much appreciated. Since resolution of UDP wrapping would bring about the > execution of the "we want tcpd" campaign, it's obviously something that > both David and I would like to see finished off. I got one person who su

Re: Inetd and wrapping.

1999-06-25 Thread David Malone
On Fri, Jun 25, 1999 at 11:02:04AM -0700, Aaron Smith wrote: > i have no problem with -w options, but i am still surprised that you want > to go ahead with the conf format change. This isn't so much a conf format change, as a conf format extension. It is the same type of extension as was added to

Re: Replacement for grep(1) (part 2)

1999-07-13 Thread David Malone
On Tue, Jul 13, 1999 at 02:47:20PM -0400, Brian F. Feldman wrote: > But I have a valid point: can we do something better than posting a SIGKILL > to the largest process? I think AIX sends all running processes a magic signal (SIGDANGER?) which indicates that the system is short of resources, and

Re: a BSD identd

1999-07-13 Thread David Malone
On Tue, Jul 13, 1999 at 03:12:51PM -0400, Brian F. Feldman wrote: > > Why not actually store the fake ID in a symbolic link? That way you just > > do a readlink(), which would be safer, neater and faster than reading a > > file. A user can set up a fake ID with something like: > > > > ln

Re: rm: Directory not empty ..(had tried chflag ...)

2005-12-06 Thread David Malone
On Tue, Dec 06, 2005 at 07:14:26PM +0800, K.C.Huang-MLC wrote: > Dear All: > I running fsck -y to a device, and I delete some files in the same time . > I found there were some files could'nt be delete.. > > message: > rm: old_files: Directory not empty > > I had tried > chfla

Re: Invalid ipfirewall rule?

2006-01-05 Thread David Malone
On Wed, Jan 04, 2006 at 05:59:44PM -0700, Dan Joumaa wrote: >entry->fw_prot = IPPROTO_TCP|IPPROTO_UDP; This may not be your problem, but I think you need two rules to do this the protocol number is a 8 bit number, not a bit field (ie. IPPROTO_TCP is 6 and IPPROTO_UDP is 17, so oring them toget

Re: Fastest timecounter ?

2006-02-28 Thread David Malone
On Mon, Feb 27, 2006 at 06:09:26PM +0200, Vlad GALU wrote: > I wrote a piece of software that has to get the current > timestamp, one way or the other, a huge number of times per second. > Apart from the empyrical tests one can perform to find out the > timekeeping scheme with the less per

Re: The 'ln -s' command

2006-05-24 Thread David Malone
On Wed, May 24, 2006 at 01:21:59AM +, [EMAIL PROTECTED] wrote: > I tried the 'ln -s' command in bothe 4.3 & 4.7 in a situation > where it should fail and it did, but it still had a return/exit > code of 0 , I think it should have been nonzero. I tried 'ln -s > a b' where the file b exis

Re: security.bsd.see_other_uids for jails

2006-05-28 Thread David Malone
On Sun, May 28, 2006 at 03:46:06PM +0200, Anatoli Klassen wrote: > if security.bsd.see_other_uids is set to 0, users from the main system > can still see processes from jails if they have (by accident) the save uid. > > For me it's wrong behavior because the main system and the jail are two > di

Re: security.bsd.see_other_uids for jails

2006-05-31 Thread David Malone
> Mostly off-topic, but couldn't you simplify the logic here slightly: Definitely! I was originally going to compare jail IDs, but realized I could just compare the jail pointers. Evidently my fingers were still thinking about how to implement it the other way. ;-) David.

Re: contiguous memory allocation problem

2006-07-01 Thread David Malone
On Sat, Jul 01, 2006 at 10:44:54AM +0200, Hans Petter Selasky wrote: > > The latest concensus seems to be that the USB system should make use of > > the scatter-gather facilities in the hardware to avoid the need to > > allocate large contiguous memory chunks. iedowse@ had mostly finished > > impl

Re: File trees: the deeper, the weirder

2006-10-29 Thread David Malone
On Sun, Oct 29, 2006 at 05:07:16PM +0300, Yar Tikhiy wrote: > Weird, eh? Any ideas what's going on? I would guess that you need a new vnode to create the new file, but no vnodes are obvious candidates for freeing because they all have a child directory in use. Is there some sort of vnode clearing

Re: ipv6 connection hash function wanted ...

2006-11-14 Thread David Malone
On Tue, Nov 14, 2006 at 05:09:20PM +0100, Max Laier wrote: > Any ideas? Any papers that deal with this problem? Assuming you don't want to use one of the standard cryptographic ones (which I can imagine being a bit slow for something done per-packet), then one option might be to use a simpler has

Re: ipv6 connection hash function wanted ...

2006-11-16 Thread David Malone
On Thu, Nov 16, 2006 at 05:52:32PM +0900, JINMEI Tatuya / [EMAIL PROTECTED]@C#:H wrote: > If you want something whose behavior is mathematically guaranteed, I'd > recommend universal hashing as already suggested in this thread. Yep - I agree. I'll try and sort something out for Max - it may need

Re: ufs_rename: fvp == tvp (can't happen), but it did

2007-01-12 Thread David Malone
On Sat, Jan 06, 2007 at 11:28:47PM +0100, Attila Nagy wrote: > The strange thing happens when both the local and FC disks are working > in the mirrors. I get the following warning very often: > ufs_rename: fvp == tvp (can't happen) We get these occasionally on a 4.11 NFS server, and we've been ge

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

2001-01-17 Thread David Malone
On Wed, Jan 17, 2001 at 10:33:30AM +0200, Peter Pentchev wrote: > I've actually been thinking along the lines of something like that. > A bit more strict access control though - bind() on AF_INET and/or AF_INET6 > disabled by default, except for certain uid/sockaddr pairs. A kernel module > keep

Re: Permissions on crontab..

2001-01-17 Thread David Malone
On Wed, Jan 17, 2001 at 12:18:42AM -0500, [EMAIL PROTECTED] wrote: > Why is crontab suid root? > > I say to myself "To update /var/cron/tabs/ and to signal cron". > > Could crontab run suid 'cron'? > > If those are the only two things it needs to do, run cron as > gid 'cron' and make /var/cron

Re: Permissions on crontab..

2001-01-17 Thread David Malone
> ..or did you mean some kind of unintended/faulty behavior? Yes, I ment unintended. > running crontab setgid does open a window of opportunity for errors, > but no more, I think, than running it setuid, as it currently is. True - but I'd say it provides a false sense of security, which might

Re: Permissions on crontab..

2001-01-18 Thread David Malone
> They do own their own crontab file. The setgid is for adjusting the > modification time on the crontab directory, to signal to cron that there > has been a change. I think there may be a neat way of dealing with all of this stuff using unix domain sockets with credential and discriptor passing

Re: gprof & granularity of output

2001-02-05 Thread David Malone
On Mon, Feb 05, 2001 at 01:52:43PM +0300, Lev Serebryakov wrote: > Is here method to decrease granularity of grpof output for some > function? I need know time of execution of every statement (loop, > if-then-else, etc.) of one function in my c program... You could try using gcov - it tell

Re: echo request deny

2001-02-06 Thread David Malone
On Tue, Feb 06, 2001 at 12:05:47PM +, milunovic wrote: > Is there anyway to deny echo request on FreeBSD (except ipfw add deny > icmp from any to any) ? > On Linux It was simple,just echo 1>/proc/.../icmp_echo_request You can limit the icmp response rate with: sysctl -w net.inet.icmp

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

2001-02-08 Thread David Malone
On Thu, Feb 08, 2001 at 02:47:59PM +, Josef Karthauser wrote: > > what does systat -vmstat or vmstat 1 > > show? > > Better still, I guess we could do a linux-truss > > and see what it's doing... > > I believe that it's strace under linux. If someone can provide me > with a binary of this to

Re: Handspring.

2001-02-10 Thread David Malone
On Fri, Feb 09, 2001 at 11:17:00PM -0500, Kenny Drobnack wrote: > claims that it works with Visors too. When I run coldsync, I get a > message "Please press the hotsync button" and when I hit the button I > get the message two more times, and then either it locked up or the > whole system locks u

Re: Build timings - FreeBSD 4.2 vs. Linux

2001-02-21 Thread David Malone
On Wed, Feb 21, 2001 at 09:36:18AM -0800, Alfred Perlstein wrote: > * Robin Cutshaw <[EMAIL PROTECTED]> [010221 06:07] wrote: > > > > OK, I set softupdates on the disk/partition that the build source/target > > is on. It made no difference in timing. I then created a memory disk, > > set softup

Re: Question regarding the funcation socket()...

2001-03-13 Thread David Malone
On Mon, Mar 12, 2001 at 05:50:05PM -0800, Alfred Perlstein wrote: > Can you explain _why_ this isn't working, like an error message, maybe? It doesn't work 'cos the socket library call is not written in C, so grepping/cscoping won't find it. It is generated from socket.S, which seems to be produ

Re: Question regarding the funcation socket()...

2001-03-13 Thread David Malone
On Tue, Mar 13, 2001 at 03:45:41AM -0800, Alfred Perlstein wrote: > David, I was asking Shankar to give more reasonable explanations > as to why things weren't working. If you check my first message > to him there's the suggestion to do a "make world" and pipe the > output to a file to look for

Re: sysctl_kern_proc doesn't handle the case when no procs match given criteria

2001-03-17 Thread David Malone
On Fri, Mar 16, 2001 at 08:23:51PM -0800, Dima Dorfman wrote: > Obviously, this isn't the desired mode of failure. Attached is a > patch that will make sysctl_kern_proc return ESRCH if it didn't find > any processes. AFAIK, without the patch, the only way to detect this > condition (no processe

Re: gzip's custom i386 asm should be disabled

2001-03-21 Thread David Malone
On Tue, Mar 20, 2001 at 09:08:49PM -0500, Matthew Emmerton wrote: > > Since I would imagine a large percentage of FreeBSD users run on i686 > > cores, it'd be great to get this pretty significant speed increase into > our > > tree. > > I sure hope I'm not the only one with a "lab" of 4 FreeBSD ma

Re: Help please (Server crash)

2001-03-22 Thread David Malone
On Thu, Mar 22, 2001 at 03:33:14PM +0300, Dmitry Samersoff wrote: > Any ideas? With hangs like this using the debugger to find out what the kernel is doing is often the best bet. You'll need to compile the debugger into the kernel and then leave the server on a vty that doesn't have X running. W

Control messages.

2001-03-27 Thread David Malone
I was looking at our implimention of passing descriptors and credentials over unix domain sockets (I want to add the ability to pass more than one message at a time). According to Steven's book you should use the CMSG_DATA macro to find the data in associated with a struct cmsghdr. We define this

Re: Control messages.

2001-03-27 Thread David Malone
> I can't see where in the kernel we're *not* using CMSG_DATA(). This > was fixed a while ago and tested ok on beast (for 3 descriptors > AFAIR). Are we looking at the same code (I'm looking in /sys/kern) ? Have a look in uipc_usrreq.c:unp_internalize(), it uses (cm+1) to find where the data

Re: Control messages.

2001-03-28 Thread David Malone
On Wed, Mar 28, 2001 at 08:34:53AM +0100, David Malone wrote: > I've had a look at what other people have done about this issue. > The NetBSD people seem to have taken the fix I'm proposing. Solaris > and BSD/OS don't provide the required alignment and just define >

Re: Security problems with access(2)?

2001-03-31 Thread David Malone
On Sat, Mar 31, 2001 at 11:18:09AM -0700, Warner Losh wrote: > In message <[EMAIL PROTECTED]> Paul >Herman writes: > : Shouldn't the stat(2) manpage then also carry the same warning that > : access(2) has (apparently dating back to 4.4BSD-Lite)? ...or maybe > : even a suggestion to use fstat(2)

Re: Diskless station!!!

2001-04-02 Thread David Malone
On Mon, Apr 02, 2001 at 12:54:35AM +0300, petro wrote: > May be some of you can advice me where I can get nb3c509.com file for my > diskless station with 3Com509 Ethernet, beceuse I can't run make in > netboot directory. Have you looked at the etherboot port? David. To Unsubscribe: sen

Re: login.c

2001-04-24 Thread David Malone
On Tue, Apr 24, 2001 at 04:03:32PM +0100, Jamie Heckford wrote: > Noticed getpass() is in libc, is there a definition somewhere > else that would prevent me from changing the Password: prompt? Login probably uses pam to get and check the password. You could try recompiling the pam_unix.c module a

Re: FPU exception, kernel panic

2001-05-07 Thread David Malone
On Mon, May 07, 2001 at 08:32:06AM +0300, Valentin Nechayev wrote: > Sun, May 06, 2001 at 17:14:08, rakshe (Rohit Rakshe) wrote about "Re: FPU >exception, kernel panic": > > (I cannot even guarantree 50% this is the same problem, but...) > There were some reports in current@ about incorrect us

Re: Realy LARGE TCP/IP Window Size?

2001-05-07 Thread David Malone
On Mon, May 07, 2001 at 04:20:05PM -0500, Bob Willcox wrote: > root@sebulba:p0 /root> ftp 192.168.1.2 > ftp: socket: No buffer space available One possibility is that your process limits for sbsize are too low. You could check what it says in login.conf. (I note that our tcsh doesn't support sbs

Re: Memory organization in case of large amount of data (jumbo grams)

2001-05-15 Thread David Malone
On Tue, May 15, 2001 at 08:15:56AM -0400, [EMAIL PROTECTED] wrote: > My doubt is whether freebsd uses the normal mbuf & clusters in case > of large amount of data (like jumbogram in ipv6 or the maximum ipv4 > datagram size of 65536 bytes)? FreeBSD provides two standard types of storage (mbufs and

Re: RE: vmspace leak (+ tentative fix)

2001-05-21 Thread David Malone
On Mon, May 21, 2001 at 12:35:17PM -0700, Matt Dillon wrote: > It's important to release resources as early as possible, so zombied > processes don't run the machine out of memory if a parent forgets to > reap its children. I've found one other reason for releasing resources early. F

Re: sysctl to disable reboot

2001-05-21 Thread David Malone
On Mon, May 21, 2001 at 03:48:16PM -0600, Warner Losh wrote: > In message <[EMAIL PROTECTED]> Jon Parise writes: > : I thought it would be useful to have a sysctl for disabling the > : keyboard reboot sequence. This functionality is currently > : available through the SC_DISABLE_REBOOT config opt

Re: sysctl to disable reboot

2001-05-21 Thread David Malone
> That's a good point. A more sophisticated sysctl again would be one that > would prevent the loading of a new keymap which enabled rebooting where > the previous one did not. > cons.keymap.protected perhaps? I could impliment a cons.keymap.securelevel which did: 0: Anyone can chang

Re: Linux getcwd problems

2001-05-23 Thread David Malone
On Wed, May 23, 2001 at 01:02:01PM +0100, Koster, K.J. wrote: The problem seems to be that FreeBSD's getcwd library call will impliment the getcwd userland if the syscall fails or is unimplimented. There are times when the syscall fails in normal operation and you don't see this with the BSD stu

Re: sys/uio.h UIO_MAXIOV hidden inside _KERNEL

2001-05-25 Thread David Malone
On Thu, May 24, 2001 at 10:36:13PM -0400, John wrote: >Can someone provide some insight as to why UIO_MAXIOV > is hidden inside _KERNEL? According to SUSv2 the corect #define to use here is IOV_MAX, which unfortunately we don't seem to define anywhere. Steven's Unix programming book says:

Re: signal(SIGCHLD, SIG_IGN) patch solving SUSv2 compatibility issue

2001-06-11 Thread David Malone
On Sun, Jun 10, 2001 at 05:20:50PM -0700, Peter Wemm wrote: > I agree totally. This should have been done ages ago, I've been burned on > it a few times, but never badly enough to go fix it. I've committed this - I'll let Matt do the MFC when he feels ready. David. To Unsubscribe: send

Re: signal(SIGCHLD, SIG_IGN) patch solving SUSv2 compatibility issue

2001-06-13 Thread David Malone
> I'll take a look at them tonight and (unless Dave wants to) I'll > commit an update to -current and hold off the -stable MFC another > few days. I recieved some mail from Garrett on the standards side of the thing, so I'll read and digest that. I should be able to look after the -c

Re: Quick question on kgdb

2001-06-30 Thread David Malone
On Sat, Jun 30, 2001 at 12:14:51AM -0400, [EMAIL PROTECTED] wrote: > when I load up the installed kernel in / with 'gdb -k kernel' .. it says debugging >symbols not found The kernel which is installed is stripped of debugging symbols - you sound find a kernel.debug with symbols in teh compil

Re: hostname lookup problem

2004-12-07 Thread David Malone
On Mon, Dec 06, 2004 at 07:57:09PM +0100, Hans Petter Selasky wrote: > I have come across a problem where res_send() goes into a minute-long wait > loop, waiting for the hostname to be looked up, after a getaddrinfo() call. I > have captured the packets sent/received, and according to the code th

Re: hostname lookup problem

2004-12-07 Thread David Malone
> > It looks like the recursive name server is doing something weird. > The nameservers I use are 193.216.1.10 (primary DNS) (nic.daxnet.no) and > 193.216.69.10 (secondary DNS) (ns.tele2.no) Wired - when I dig at those two machines they respond with the correct answer. Could there be some sort o

Re: Benchmark: NetBSD 2.0 beats FreeBSD 5.3

2005-01-08 Thread David Malone
On Sat, Jan 08, 2005 at 01:21:14PM -0500, Charles Sprickman wrote: > Any idea what type of impact this patch would have on say, a large qmail > server that's drowning in context-switches? It will depend on how many processes you have running at any one moment and how often processes are created/d

Re: Patch for linux ABI for MSG_NOSIGNAL and out of order tcp packet issue

2005-01-18 Thread David Malone
On Tue, Jan 18, 2005 at 03:18:42PM -, Steven Hartland wrote: > The attached patch checks for > MSG_NOSIGNAL and if set enables SO_NOSIGPIPE > for the duration of send call. I just had a quick look at the patch. The patch should probably use kern_setsockopt, which will simplify it considerably.

Re: syslogd pipelines losing messages

2005-01-24 Thread David Malone
On Mon, Jan 24, 2005 at 10:39:23AM -0500, Felix Hernandez-Campos wrote: > Anyway, I think I did all the homework, and I just need someone to > suggest an elegant solution rather than my usleep (is there a > yield-type syscall?). I'm more than willing to try out your ideas in > our environment and p

Re: function prototype of fdrop() and fdrop_locked() in kern_descrip.c

2005-02-27 Thread David Malone
On Sat, Feb 26, 2005 at 11:22:03PM -0800, Yan Yu wrote: > I am wondering about what is the motivation of fdrop is defined as > A) as opposed to B).. or it is an arbitrary design choice? > it seems to me fdrop is called usually when an fd is freed(or is there > other reason that fdrop get called?),

Re: passwd & permissions

2005-03-20 Thread David Malone
On Sun, Mar 20, 2005 at 01:26:57PM -0600, H. S. wrote: > I'm using FreeBSD on various servers for many time now, and there is > something that always bothered me. It is related to /etc/passwd and > /etc/pwd.db permissions. > > I have custom (0640) permissions on these files. However, each time a u

Re: passwd & permissions

2005-03-21 Thread David Malone
On Mon, Mar 21, 2005 at 07:33:25AM -0500, c0ldbyte wrote: > About the easiest way to go about it would be to set the umask for passwd > command well in operation. Unfortunately, I don't think this will work because pwd_mkdb explicitly sets the permissions on the files in question. David.

Re: Fwd: 5-STABLE kernel build with icc broken

2005-03-29 Thread David Malone
On Tue, Mar 29, 2005 at 09:11:07PM +1000, Peter Jeremy wrote: > That's almost a year ago and specifically for the amd64. Does anyone > know what the results were? I had a quick dig around on cvsweb this morning: http://grappa.unix-ag.uni-kl.de/cgi-bin/cvsweb/src/sys/i386/i386/bcopy.s?cv

Re: Google SoC idea

2005-06-07 Thread David Malone
On Tue, Jun 07, 2005 at 09:40:05PM +0200, Pawel Jakub Dawidek wrote: > +> Does it make sense to do it this way? Is it worth applying for the SoC? > > Not sure. Basically this is simlar what softupdate does, I think. > From another point of view softupdates are only available for UFS. > You probabl

Re: Google SoC idea

2005-06-07 Thread David Malone
> The problem with journalling at the block layer is that you pretty much > become forced to journal metadata and data, since the block layer really > doesn't know the distinction, Definitely - I guess I should have stated that explicitly. > Full journalling has many drawbacks from the viewpoin

Re: Atheros, hardware access layer, collisions

2005-07-20 Thread David Malone
On Wed, Jul 20, 2005 at 10:03:49PM -0500, Sam Pierson wrote: > I think there is still collision detection happening on the hardware > level. I think I have to disable the retransmission of frames > which are lost due to collisions. Here's my reasoning: In the lab, two > hosts are sending packe

Re: Atheros, hardware access layer, collisions

2005-07-21 Thread David Malone
> I've got two computers synchronized to send one packet each to this > machine sitting between them. This machine responds with a packet > to each that it receives (on the application level, not in the control frame > space), so if there is a collision, I don't want the middle machine to > respon

Re: Atheros, hardware access layer, collisions

2005-07-21 Thread David Malone
> I was looking for this in the ah.h and the ah_desc.h files. Are they > someplace else, or maybe this is a system call? I can't find anything > about the retry limit (<-- CWmin = retry?) Thanks, CWmin is a setting that controls the random delay before packets are transmitted. Search for tqi_cw

Re: Atheros, hardware access layer, collisions

2005-07-26 Thread David Malone
> I just had a lengthy discussion with a couple of guys about the 802.11 > protocol. One had said that the random delays inserted before > transmission was one of the *IFS delays (can't remember which > now), and that it was a standard 802.11 number, not a random > delay. Yep - in 802.11b CWmin

Re: How to do proper locking

2005-08-04 Thread David Malone
On Thu, Aug 04, 2005 at 06:50:12PM +0200, Hans Petter Selasky wrote: > 2) nonblocking: increment some other refcount that the >callback checks before accessing any data. I think people usually call this something like a "generation count". This sort of scheme used to be used for vnodes in Free

Re: bge driver internal routing issues?

2005-08-29 Thread David Malone
On Sun, Aug 28, 2005 at 09:06:47PM +0100, Steven Hartland wrote: > Having a really odd problem here where udp queries to > servers running on machines with bge cards dont respond > via ip address that are being bound on: Can you run "tcpdump -s 0 -vvv port 1234" on the client (replace port 1234 wi

Re: BGP & reverse dns

2005-09-22 Thread David Malone
On Wed, Sep 21, 2005 at 09:51:49AM -0600, Steve Suhre wrote: > I don't want to turn off reverse lookups, is there anyway to get around > this? Or a simple fix on their end? I know nothing about BGP routing... > We're running sendmail, and spammassassin through procmail. The mail > problem starte

Re: kernel hack

2005-09-25 Thread David Malone
On Sun, Sep 25, 2005 at 03:31:51AM -0700, kamal kc wrote: > does anybody know what is the best way > to start kernel hack. It isn't quite clear what you mean, but presuming you mean "make a change to the FreeBSD kernel that you use" then: 1) First learn how to recompile your kernel. You can ge

Re: journaling fs and large mailbox format

2005-09-30 Thread David Malone
On Fri, Sep 30, 2005 at 09:43:13PM +0200, Vaclav Haisman wrote: > I don't think that frag, inode and block size is the main factor that makes > XFS work well in many small files situations. From what I have read about > XFS I gather that it allocates inodes on demand, that it doesn't have fixed

  1   2   3   >