__getcwd & errno 20 (Not a directory) vfs_cache.c

2001-09-06 Thread John W. De Boskey
Hi, I'm in the middle of trying to debug a java problem and have found something I don't quite understand. Basically, __getcwd() is returning errno 20, Not a directory. man getcwd doesn't list ENOTDIR so I started looking in the sources and found kern/vfs_cache.c: if (vp-

cvsup-devel port build problem (pm3-base)

2001-11-18 Thread John W. De Boskey
Hi, I ran into some problems building the cvsup-devel port. In one of it's dependants, the c file is attempting to include which is nolonger valid. /usr/ports/lang/pm3-base/work/pm3-1.1.15/boot-FreeBSD4/m3core/FreeBSD4/RTHeapDepC.c As a quick fix I symlinked nfs.h -> ../nfsclient/nfs.h

FIO* doc added to tty.4 (review)

2001-04-15 Thread John W. De Boskey
Hi, I've been doing some tty related work and found the FIO* requests don't seem to be documented. I've added some reasonable doc to tty.4 and put up the the diff and html forms: http://people.freebsd.org/~jwd/doc/tty.4.html http://people.freebsd.org/~jwd/doc/tty.4.diff Any comments a

Re: FIO* doc added to tty.4 (review)

2001-04-17 Thread John W. De Boskey
Hi, I wondered about this. However, after looking around what I found was that the FIO* requests seemed to be documented in driver pages (and only a handful at that), and not documented with ioctl. Since I don't want to change the other existing driver man pages, what if I add generic docu

cp -d dir patch for review

2001-04-19 Thread John W. De Boskey
Hi, I have added a -d dir option to cp. This allows the target directory to be specified at the head of the command line instead of the tail. This makes cp work much more nicely with tools like xargs... (allowing for major performance improvements over inline shell loops). The patch is at:

Re: cp -d dir patch for review (or 'xargs'?)

2001-04-20 Thread John W. De Boskey
If you just want an xargs that supports --replstr/-i simply install: ftp://ftp.gnu.org/gnu/findutils or even more easily: /usr/ports/misc/findutils two comments: I don't want to enter a protracted discussion over the benefits/drawbacks of the current xargs vs an updated xargs, no

Updated: cp -t patch (w/ commentary)

2001-04-23 Thread John W. De Boskey
Hello, After some feedback, I have changed the patch slightly. Rename -d to -t and remove the requirement for the option to have a value. -t aquire the target from *argv++ instead of argv[argc--] The patch can be found at: http://people.freebsd.org/~jwd/cp-t.patch Some comments:

Re: Updated: cp -t patch (w/ commentary)

2001-04-25 Thread John W. De Boskey
dside... I hope I haven't rambled to much. And again, thanks for taking the time to respond. -John - Current List's Original Message - > On Mon, Apr 23, 2001 at 11:33:24AM -0700, John W. De Boskey wrote: > >After some feedback, I have changed the patch slightly.

4.3-RELEASE will not boot after install (boot0 ?)

2001-04-25 Thread John W. De Boskey
Hi, I have a Dell Optiplex GXi 200Mhz machine which will not boot after installing 4.3-RELEASE. After rebooting, the normal F1 FreeBSD prompt comes up with a beep. Pressing F1 causes the machine to beep again. I believe the following code sequence is the failure location: /usr/src/sys/boot

Re: cp -u patch

2001-04-26 Thread John W. De Boskey
You are one brave soul if the only precedent you have for this patch is GNU cp. Personally, I see nothing wrong with it. With respect to how you short circuit the copy if the mtimes are 'ok', you probably need to return a value different than 1 so that your caller can distinquish between a faile

Minor read.2 (readv) doc update w/patch

2001-05-21 Thread John W. De Boskey
I ran into a minor error in the doc for readv. I double checked the kernel code and it checks against UIO_MAXIOV. writev.2 is correct. -john Index: read.2 === RCS file: /home/ncvs/src/lib/libc/sys/read.2,v retrieving revision 1.

Re: Correctness of UIO_MAXIOV definition?

2001-05-29 Thread John W. De Boskey
- Garrett Wollman's Original Message - > < said: > > >The second question I have is more standards based. > > Should we consider changing UIO_MAXIOV to IOV_MAX or > > _XOPEN_IOV_MAX and deprecating the 1st? I am unclear > > on what the standard is for this. > > UIO_MAXIOV is what the

Signal handler context restore difference - pthreads/non-pthreads

2001-07-17 Thread John W. De Boskey
Hi, I have run into an issue with the difference between what happens when a signal handler returns from a program converted to use pthreads (vs non-pthreads). Basically, in the non-pthread case, a change made to the sc_eip element of the scp struct is honored when the kernel restores the

Passing -I option to dependant pkg_add invocations

2001-08-23 Thread John W. De Boskey
Hi, Currently, the only option passed on to dependant pkg_add invocations is the '-v' verbose option. During an automated install, we use the '-I' option to ignore any pre/post installation scripts for certain packages. The following patch allows the '-I' option to be passed on to dependan

Cleanout & rebuild of /dev on -current

2000-10-18 Thread John W. De Boskey
Hi, Interesting question was posed to me which I can't locate a straight answer to. We've been following -current for a few years now. Over time, the devices in /dev have moved around, new added, and old deleted (ie: we've never had to restage one of these machines and/or purge it and re

-current GENERIC failure (bktr_os.c:484)

2000-10-19 Thread John W. De Boskey
Hi, I'm seeing the following failure with sources current as of 19:39pm EDT (Oct 19). Occurs when building the GENERIC kernel. cc -pipe -g -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extension

fsck not rewriting super block?

2000-10-20 Thread John W. De Boskey
Hi, I've run into an interesting problem: ad0: 19473MB [39566/16/63] at ata0-master UDMA33 ad1: 19541MB [39703/16/63] at ata0-slave UDMA33 I have swap and two large partitions on ad1: #size offsetfstype [fsize bsize bps/cpg] b: 104857600 swap

newfs/fsck problem (bad superblocks)

2000-10-21 Thread John W. De Boskey
Hi, I posted a question concerning fsck yesterday. A number of people replied with the 'bad harddisk' comment. I have followed up some more on the problem, and can now reproduce it on different filesystems. Below, I umount my /usr/obj, newfs it, mount it, unmount it, and then fsck it.

Re: newfs/fsck problem (bad superblocks)

2000-10-21 Thread John W. De Boskey
Reverting src/sbin/newfs/mkfs.c to revision 1.29 fixes the problem. With just a quick review of the patch, I'm not sure I understand what forces the last dirty buffer to be written. revert the patch? try to fix it? comments? -John - John W. De Boskey's Original Message - > Hi, > >

Re: newfs/fsck problem (bad superblocks)

2000-10-22 Thread John W. De Boskey
Patch appears to fix the problem. Do you want to commit it? Peter? me? Thanks, John ps: it would be interesting to add a statistic to determine how often the cache block is flushed due to size or read interference. May determine that the cache should be larger (or smaller). Did you

Re: -current hangs during boot

2000-10-22 Thread John W. De Boskey
- Leif Neland's Original Message - > > > On Sun, 22 Oct 2000, Donny Lee wrote: > > > > > Hi there, > > > > I've done a very recent week's make world(S) on -current, making > > and installing world and kernel go fine, but all hang on boot, > > with no error codes or msgs. > > > So

Re: -current hangs during boot

2000-10-22 Thread John W. De Boskey
- David O'Brien's Original Message - > On Sun, Oct 22, 2000 at 04:14:08PM +0800, Donny Lee wrote: > > with the mfs enable, it hangs there right after FILESYSTEM > > checking, and with random_load set to YES, it hangs at ldconfig. > > mount_mfs is blocking on "rndblk". Our /dev/*random

Re: -current hangs during boot (UPDATING entry)

2000-10-23 Thread John W. De Boskey
ove are not done. -John - Brian O'Shea's Original Message - > On Sun, Oct 22, 2000 at 07:35:39PM -0400, John W. De Boskey wrote: > > - David O'Brien's Original Message - > > > On Sun, Oct 22, 2000 at 04:14:08PM +0800, Donny Lee wro

Re: -current hangs during boot (UPDATING entry)

2000-10-23 Thread John W. De Boskey
- Makoto MATSUSHITA's Original Message - > > jwd> 5. At this time, remove ALL MFS filesystems from /etc/fstab. > jwd>They can be hand mounted after bootup or via a local rc > jwd>startup script. > > Is there any chance to mount MFS filesystem listed in /etc/fstab just > after the

Re: newfs/fsck problem (bad superblocks)

2000-10-23 Thread John W. De Boskey
See below.. - Bruce Evans's Original Message - > On Sun, 22 Oct 2000 [EMAIL PROTECTED] wrote: > > > > Reverting src/sbin/newfs/mkfs.c to revision 1.29 fixes > > > the problem. > > > > > > With just a quick review of the patch, I'm not sure I > > > understand what forces the last dirty

Re: "make release" breakage on today's -current

2000-10-24 Thread John W. De Boskey
The following patch brings the floppy size down enough to fix the problem. One is a leftover from the config file syntax change. Also, I don't know how useful INET6 is to a GENERIC kernel on todays' networks (faith & gif are already removed). Index: dokern.sh =

"make release" breakage - dokern.sh patch 2

2000-10-24 Thread John W. De Boskey
Ok, folks want INET6. It's back.. It's been pointed out to me by "Thomas D. Dean" <[EMAIL PROTECTED]> that the 'le' driver does not work. Can someone provide additional information about why it's in GENERIC? Other candidates I've been pointed to include the removal of /boot/boot[12] and NFS (wh

Re: -current hangs during boot (UPDATING entry)

2000-10-24 Thread John W. De Boskey
It didn't work without the device line when I tested it last week(Thursday/Friday). -John - David O'Brien's Original Message - > On Mon, Oct 23, 2000 at 06:30:29PM -0400, John W. De Boskey wrote: > > 2. Make sure your kernel includes: > >

Re: "make release" breakage - dokern.sh patch 2

2000-10-24 Thread John W. De Boskey
- David O'Brien's Original Message - > On Tue, Oct 24, 2000 at 02:36:44PM -0400, John W. De Boskey wrote: > > > > the 'le' driver does not work. Can someone provide additional > > information about why it's in GENERIC? > > Get confirm

src/release/Makefile patch so cdrom will autoboot

2000-10-25 Thread John W. De Boskey
Don't want to step on toes.. Someone please commit. I believe we need to 'load /kernel' no matter what... it's the 'read' that's in question. Allows a cdrom to autoboot. patch also located at ~jwd/src/src/release/Makefile.patch so you don't have to cut'n'paste. -John Index: Makefile ===

Re: entropy reseeding is totally broken

2000-10-25 Thread John W. De Boskey
Also, what rev of /etc/rc do you have installed? -john - Mark Murray's Original Message - > > I'm not knocking anyone or any code, especially considering this IS > > -current... BUT... I don't need to read the code to know that I am seeing > > the same fortunes on first login after reboo

Re: -current hangs during boot (UPDATING entry)

2000-10-25 Thread John W. De Boskey
Thanks for the updates. A few questions below. -John - Mark Hittinger's Original Message - > > It does look like an updating entry is needed for this badly. > > I did the following things, some of which may not be needed, and now my > -current boxes boot OK. > > 1. update MAKEDEV fr

ftp vs. nfs install times

2000-10-25 Thread John W. De Boskey
Hi, I've tested last nights make release built install via both ftp and nfs and am seeing some rather strange results timeing wise: A full install (ie: select ALL) w/ ports. NFS: about 18 minutes. (ave. about 1000KB/sec) FTP: about 70 minutes. (ave. about 45KB/sec) on the sam

Re: entropy reseeding is totally broken

2000-10-26 Thread John W. De Boskey
Jordan writes a nice piece of mail... If this was happening in -stable I'd be in total agreement. However, we're talking -current, and is not -current the integration area for new technologies, whether they be rough or round edged? This reminds me of the old development arguement: Don't do

make release failure - ipfilter(osreldate.h)

2000-10-28 Thread John W. De Boskey
Subject says it. I'll try to look at it later this evenning. ===> ipfilter cc -O -pipe -DIPFILTER=1 -DIPFILTER_LKM -DIPFILTER_LOG -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -DKLD_MOD

Re: /stand/sysinstall fdisk won't work

2000-10-29 Thread John W. De Boskey
I believe you need to update sysinstall. The following is what I do to update sysinstall on our 'make release' machine. Similar should work for you (change sysinstalldir & MAKEOBJDIR). -John # # Install sysinstall into /s

vinum & fsck wrappers strangeness

2000-10-29 Thread John W. De Boskey
Hi, I ran into an interesting gotcha with fsck and vinum... I have the following line in /etc/fstab: /dev/vinum/raid5/pubufs rw 2 2 and during an upgrade (old current to current), I commented the line out during the reboot process. After brin

boot_crunch & make release & ppp

2000-10-30 Thread John W. De Boskey
... are not liking each other after the lastest ppp commits. I do not have time to look into this until late tomorrow (and no, I don't see any commits which would appear to fix this yet). -John crunchide -k _crunched_usbdevs_stub usbdevs.lo cc -static -o boot_crunch boot_crunch.o sh.lo find.lo

tar : needs some attention?

2000-11-06 Thread John W. De Boskey
Hi, Each night I run a 'make release' and then tar it off to a public storage area... For some time now, tar has been complaining... tar: cdrom/disc2/dev/acd0t32: minor number too large; not dumped tar: cdrom/disc2/dev/acd0t33: minor number too large; not dumped tar: cdrom/disc2/dev/acd0t

getty bug when run by hand

2000-11-13 Thread John W. De Boskey
Hi, I've been working on serial ports/consoles the last few days and have run into what I consider a bug in getty (-current).. When the following command is run as root: /usr/obj/usr/src/libexec/getty/getty std.38400 ttyd1 the call to login_tty() fails in the opentty() function:

Re: getty bug when run by hand

2000-11-14 Thread John W. De Boskey
- Bruce Evans's Original Message - > On Mon, 13 Nov 2000, John W. De Boskey wrote: > > >When the following command is run as root: > > > > /usr/obj/usr/src/libexec/getty/getty std.38400 ttyd1 > > > >the call to login_tty() fails in the

Highspeed serial consoles and -current

2000-11-18 Thread John W. De Boskey
Hi, I'm trying to increase the speed of the serial console on a -current box from 9600 to 38400. I've put the following in /etc/make.conf: BOOT_COMCONSOLE_SPEED=38400 # serial console speed Unfortunately, it doesn't work. It still runs at 9600. I remember seeing something about t

No console on AlphaServer 2000 4/233 4.2-RC2

2000-11-21 Thread John W. De Boskey
Hi, Console, console, where's the console? We are attempting to use FreeBSD 4.2-RC2 on an AlphaServer 2000 4/233 and are running into trouble with the console device. When we boot from the CD, it comes up to the boot prompt on the console where we tell it to boot from the cd device. T

Re: No console on AlphaServer 2000 4/233 4.2-RC1

2000-11-21 Thread John W. De Boskey
Grr... make that 4.2-RC1 FreeBSD 4.2-RC1 #0: Thu Nov 16 06:10:10 EST 2000 -john - John W. De Boskey's Original Message - > > Hi, > >Console, console, where's the console? > >We are attempting to use FreeBSD 4.2-RC2 on an > AlphaServer 2000 4/233 and are running into trouble

-current kernel panic: ufs_ihashget

2000-12-04 Thread John W. De Boskey
Hi, I'm getting the following panic when I run the following command: tar -cvf - . | compress | dd bs=64m of=/dev/sa0 running with a blocksize of 2,4,8,16, or 32meg on the dd command run to completion with no problems. Fatal trap 12: page fault while in kernel mode fault virtual address

make release - no luck

2001-01-08 Thread John W. De Boskey
Hi, I've been trying to create a -current release for awhile now and have run into numerouse problems. However, this one seems to be reproducible (last 3 days or so): -- >>> stage 4: populating /usr/obj/usr/src/i386/usr/include

disklabel.c & disklabel.8 patch

2001-02-09 Thread John W. De Boskey
Hi, I've been using the disklabel.c patch which allows easier configuration by being able to specify a new disklabel of the form: #size offsetfstype [fsize bsize bps/cpg] a: 400M04.2BSD 4096 1638475 # (Cyl.0 - 812*) b: 1G* swa