Re: AIO was Re: Kernel threads

2000-01-05 Thread John W. DeBoskey
With respect to AIO... we run a data server which multiplexes on the select() function, and uses AIO to do all it's I/O. This has been a very stable system. system : 4.0-19990827-SNAP start time : 1999/12/24 11:14:44 up time (days hh:mm:ss): 12 13:32:53

PCMCIA-ATA/USB support for SanDisk/Digital Cameras

1999-12-22 Thread John W. DeBoskey
Hi, I'm thinking about buying a digital camera, but of course it has to be usable from my FreeBSD box (-current). In looking at the Kodak series, they seem to support the PCMCIA-ATA standard. So, instead of communicating directly with the camera, I was thinking about purchasing a reader

Wine: What am I missing (lseek/write)

1999-11-11 Thread John W. DeBoskey
Hi, I'm working on wine on a 4.0-19990827-SNAP system. The application I have calls WriteFile(), in files/file.c, line 1145. The write() call is failing with: WriteFile: File too large[27] Note: I added the fprintf() to show the above... Well, this is happenning on filedesc 14, so for

Re: kern/13075 (was: Re: aio_*)

1999-09-20 Thread John W. DeBoskey
Well, another code fragment might be useful: /*--+ | Set up iocb for aio_write() call | +--*/ memset(iocb, 0,

Re: seek to negative offset? kern/6184

1999-09-19 Thread John W. DeBoskey
, Aug 24, 1999 at 04:25:26PM -0400, John W. DeBoskey wrote: The subject says it all... We have some code that scans files backwards... In looking through /usr/src/sys/kern/vfs_syscalls.c I can't see where we do any validation on the resulting seek location... Do the appropriate

seek to negative offset?

1999-08-24 Thread John W. DeBoskey
Hi, The subject says it all... We have some code that scans files backwards... On the systems we've been running this program on, the lseek man page typically lists: [EINVAL] The resulting file offset would be negative. The following program run under freebsd-current shows

seek to negative offset?

1999-08-24 Thread John W. DeBoskey
Hi, The subject says it all... We have some code that scans files backwards... On the systems we've been running this program on, the lseek man page typically lists: [EINVAL] The resulting file offset would be negative. The following program run under freebsd-current shows

Re: Proposal for new syscall to close files

1999-07-21 Thread John W. DeBoskey
Hi, I like this approach. I have a number of often spawned daemon processes that could benefit from this. One of the last process we debugged where we had unwanted open filedescriptors was in programs invoked by the cvs loginfo script. For naming convention considerations, I might suggest

Re: Proposal for new syscall to close files

1999-07-21 Thread John W. DeBoskey
Hi, I like this approach. I have a number of often spawned daemon processes that could benefit from this. One of the last process we debugged where we had unwanted open filedescriptors was in programs invoked by the cvs loginfo script. For naming convention considerations, I might suggest

Re: tcp windowsize query?

1999-07-15 Thread John W. DeBoskey
Hi, Thanks for the reply(s)... If I understand you correctly, then: %route -n get netapp01 route to: 192.168.21.52 destination: 192.168.21.52 interface: fxp1 flags: UP,HOST,DONE,LLINFO,WASCLONED recvpipe sendpipe ssthresh rtt,msecrttvar hopcount mtu expire

tcp windowsize query?

1999-07-14 Thread John W. DeBoskey
Hi, I'm trying to dynamically determine the tcp windowsize. Sysctl has the following to say, but the name/value pairs are not documented. net.inet.tcp.rfc1323: 0 net.inet.tcp.rfc1644: 0 net.inet.tcp.mssdflt: 512 net.inet.tcp.rttdflt: 3 net.inet.tcp.keepidle: 14400 net.inet.tcp.keepintvl: 150

tcp windowsize query?

1999-07-14 Thread John W. DeBoskey
Hi, I'm trying to dynamically determine the tcp windowsize. Sysctl has the following to say, but the name/value pairs are not documented. net.inet.tcp.rfc1323: 0 net.inet.tcp.rfc1644: 0 net.inet.tcp.mssdflt: 512 net.inet.tcp.rttdflt: 3 net.inet.tcp.keepidle: 14400 net.inet.tcp.keepintvl: 150

Strange select/poll behaviour [EBADF inconsistancy]

1999-07-08 Thread John W. DeBoskey
Hi, The following program returns an inconsistant rc/errno value. Setting a bit corresponding to filedescriptor which is not open is only found when it is less than 20. ie: Some example output follows along with the program. This is being run on a -current system. If I open a file on fd

sigaction inconsistancy (here I go again)

1999-07-08 Thread John W. DeBoskey
Hi, Running -current... I'm trying to verify SIGFPE handling and am finding some interesting issues. In the following test program, a divide by zero is done and the SIGFPE delivered. $ ./fp sig == 8 code== 0 z has the value 1.00 It seems that from machine/trap.h the value of

Strange select/poll behaviour [EBADF inconsistancy]

1999-07-08 Thread John W. DeBoskey
Hi, The following program returns an inconsistant rc/errno value. Setting a bit corresponding to filedescriptor which is not open is only found when it is less than 20. ie: Some example output follows along with the program. This is being run on a -current system. If I open a file on fd

sigaction inconsistancy (here I go again)

1999-07-08 Thread John W. DeBoskey
Hi, Running -current... I'm trying to verify SIGFPE handling and am finding some interesting issues. In the following test program, a divide by zero is done and the SIGFPE delivered. $ ./fp sig == 8 code== 0 z has the value 1.00 It seems that from machine/trap.h the value of code

Re: Connect and so on..

1999-07-06 Thread John W. DeBoskey
Ahhh.. RACF... MVS... Music to my ears... And speaking of resource managers... don't forget the ESM on CMS for SFS... :-) I would have spared the bandwidth.. but it's worth noting that we run a production system that installs user exits into the Shared File System on CMS via the Callable

Login validation by home directory location (PAM?)

1999-06-23 Thread John W. DeBoskey
Hi, I have an administration problem that I'm trying to solve and I'm looking for comments and ideas. I have about 6000 users in the passwd file. We have a number of compute servers available to these users which (the boss) wants to have allocated according to where the users home

Re: sgmlformat making release

1999-06-07 Thread John W. DeBoskey
Hi, I too see this type of failure until I can download the appropriate distfiles into /usr/ports/distfiles... The file /etc/resolv.conf is copied from /etc to the chroot area and is probably ok. I typically find that my upstream domain name server is not responding correctly when this

ECC drive data recovery?

1999-06-01 Thread John W. DeBoskey
Hi, We're seeing the following message on one of the drives we have mounted in a server system. (da23:ahc1:0:14:0): READ(10). CDB: 28 0 0 46 aa 50 0 0 40 0 (da23:ahc1:0:14:0): RECOVERED ERROR info:46aa77 asc:18,7 (da23:ahc1:0:14:0): Recovered data with ECC - data rewritten