Re: Still kernel compilation failures

1999-07-22 Thread Bob Bishop
At 14:24 23/07/99 +1000, Bruce Evans wrote: >>> > Put -O back in the COPTFLAGS. >>> >>> It works now. Is there any explaination why -O is required? :) >> >>Noone compiles without -O, so(/and) it's not supported. My take is > >It is supported, but someone broke it. > >>that EGCS says "Hey, I am in

Re: Still kernel compilation failures

1999-07-22 Thread Bruce Evans
>> It is supported, but someone broke it. > >Since when? Every so often someone comes along (from a pool of maybe 5 >people who _don't_ use -O) and complains about it being broken. If My last fix for a -O related bug was on 1999/05/13 for brooktree.c (memcmp() was used, but memcmp() doesn't exist

Re: Still kernel compilation failures

1999-07-22 Thread Brian F. Feldman
On Fri, 23 Jul 1999, Bruce Evans wrote: > >> > Put -O back in the COPTFLAGS. > >> > >> It works now. Is there any explaination why -O is required? :) > > > >Noone compiles without -O, so(/and) it's not supported. My take is > > It is supported, but someone broke it. Since when? Every so often

Re: Still kernel compilation failures

1999-07-22 Thread Bruce Evans
>> > Put -O back in the COPTFLAGS. >> >> It works now. Is there any explaination why -O is required? :) > >Noone compiles without -O, so(/and) it's not supported. My take is It is supported, but someone broke it. >that EGCS says "Hey, I am in optimization level foobar! I can optimize >for unuse

RE: Still kernel compilation failures

1999-07-22 Thread David Schwartz
> Noone compiles without -O, so(/and) it's not supported. My take is > that EGCS says "Hey, I am in optimization level foobar! I can optimize > for unused code. Hmm... that's unused, so...". Either that or its > debugging support is really uNFed up. Actually, more likely at high enough o

Re: Still kernel compilation failures

1999-07-22 Thread Brian F. Feldman
On Fri, 23 Jul 1999, Thomas Schuerger wrote: > > > ... > > > vfs_init.o: In function `vfs_register': > > > vfs_init.o(.text+0x8a1): undefined reference to `sysctl(void, float, short)' > > > *** Error code 1 > > > 1 error > > > Exit 2 > > > > > > > > > What am I doing wrong? Any help is greatly

Re: Proposed floating point changes (Re: Using float emulator on a system with FPU?)

1999-07-22 Thread Douglas Thomas Crosher
> + * The macro to choose one of these values does these steps: 1) Throw > + * away status word bits that cannot be masked. 2) Throw away the bits > + * currently masked in the control word, assuming the user isn't > + * interested in them anymore. 3) Reinsert status word bit 7 (stack Throwi

Proposed floating point changes (Re: Using float emulator on a system with FPU?)

1999-07-22 Thread Martin Cracauer
In <[EMAIL PROTECTED]>, Bruce Evans wrote: > >Guessing from LINT's comments, you had to leave out npx and include > >one of the emulators, but -current's config refuses to config a kernel > >file without npx support. > > This was broken by adding "mandatory" to the npx line in file.i386. > > >I

Re: Still kernel compilation failures

1999-07-22 Thread Thomas Schuerger
> > ... > > vfs_init.o: In function `vfs_register': > > vfs_init.o(.text+0x8a1): undefined reference to `sysctl(void, float, short)' > > *** Error code 1 > > 1 error > > Exit 2 > > > > > > What am I doing wrong? Any help is greatly appreciated. > > > > Put -O back in the COPTFLAGS. It works n

Re: Anyone using the none-GPL FPU emulator in -current?

1999-07-22 Thread Bruce Evans
>It seems the non-GPL floating point emulator is completely broken in >4.0-current. > >While it still boots the kernel and brings up the system, it seems to >cause every floating-point using userlevel program to coredump (i.e. >ping). ping uses sqrt(), so it was broken by not preserving FreeBSD d

Re: Moving ipf(1) to ipf(8)?

1999-07-22 Thread Nik Clayton
On Tue, Jul 20, 1999 at 04:58:49PM -0700, John Polstra wrote: > In article <[EMAIL PROTECTED]>, > Nik Clayton <[EMAIL PROTECTED]> wrote: > > Assuming I did this, what's the approved method? > > > > Myself, I'd just > > > > # mv ipf.1 ipf.8 > > # cvs remove ipf.1 > > # cvs add ipf

`stale FS getpages' messages

1999-07-22 Thread Peter Jeremy
I've just received the following kernel messages (running a kernel from cvs-cur 5476 - about last Thursday): vnode_pager: *** WARNING *** stale FS getpages No strategy for buffer at 0xc1c03aa8 : 0xc6168380: type VREG, usecount 3, writecount 0, refcount 0, flags (VOBJBUF) tag VT_PROCFS, type 5, pi

Anyone using the none-GPL FPU emulator in -current?

1999-07-22 Thread Martin Cracauer
It seems the non-GPL floating point emulator is completely broken in 4.0-current. While it still boots the kernel and brings up the system, it seems to cause every floating-point using userlevel program to coredump (i.e. ping). The people in the recent thread about dropping non-FPU machines shou

Re: Still kernel compilation failures

1999-07-22 Thread Brian F. Feldman
On Thu, 22 Jul 1999, Thomas Schuerger wrote: > Hi! > > I updated the source tree, built and installed the world today > and tried to make a new kernel. Compilation stops when it > comes to linking: > > ... > vfs_init.o: In function `vfs_register': > vfs_init.o(.text+0x8a1): undefined reference

Still kernel compilation failures

1999-07-22 Thread Thomas Schuerger
Hi! I updated the source tree, built and installed the world today and tried to make a new kernel. Compilation stops when it comes to linking: ... cc -c -x assembler-with-cpp -DLOCORE -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winli

Re: Using float emulator on a system with FPU?

1999-07-22 Thread Bruce Evans
>I am now able to switch "npx_exists" between npx_probe1() and >npx_attach(), which let me run with the emulator on a Pentium. > >But only from serial kgdb, since as you noted in your other message, >symbols are not available to ddb in ELF kernels started with -d. > >I assume you use kdb_init() fr

Re: Using float emulator on a system with FPU?

1999-07-22 Thread Martin Cracauer
In <[EMAIL PROTECTED]>, Bruce Evans wrote: > >I'm going to work on FreeBSD's floating point support, but I need to > >test my changes on systems using the FPU emulators (non-GPL and GPL). > > > >Is there any way to use these emulators on a system that has a > >hardware FPU? > > Toggling `npx_ex

Re: PLIP is still broken :(

1999-07-22 Thread Bruce Evans
>> Possible quick fix (hack): change all the spltty()'s in lpt.c to >> splnet()'s. lpt isn't a tty driver; it just abuses spltty(). Abusing >> splnet() instead should work OK for lpt and fix if_plip. > >What about vpo? vpo uses only polled mode. I think its "interrupt" handler is attached to a

Re: 4.0-current [/usr/libexec/ld-elf.so.1: cc: Undefined symbol "mkstemps"]

1999-07-22 Thread Charles Henrich
On the subject of Re: 4.0-current [/usr/libexec/ld-elf.so.1: cc: Undefined symbol "mkstemps"], John Polstra stated: > That symbol should be defined in "/usr/lib/libc.so.3". Do a "nm" on the > library and see if that's the case. If not, then you must have an old libc. > (How did that happen?) T

Re: rootfs clean flag/mount problem

1999-07-22 Thread Poul-Henning Kamp
In message <[EMAIL PROTECTED]>, Bruce Evans writes: >>> Have you rebuilt your fsck after the last commit ? >> >>It turns out fsck was last built on Tuesday morning. I just >>rebuilt/reinstalled it and everything appears peachy again. > >I suppose current fsck's don't work with old kernels. This >

Re: rootfs clean flag/mount problem

1999-07-22 Thread Bruce Evans
>> Have you rebuilt your fsck after the last commit ? > >It turns out fsck was last built on Tuesday morning. I just >rebuilt/reinstalled it and everything appears peachy again. I suppose current fsck's don't work with old kernels. This is more annoying than ps not working. Bruce To Unsubscri

Re: DDB: How to find address of static symbol?

1999-07-22 Thread Martin Cracauer
In <[EMAIL PROTECTED]>, Bruce Evans wrote: > >I want to examine and switch a variable in ddb. The variable is static > >to a source file, I don't have a symbol in ddb. > > You should have static symbols in ddb, except in the following broken > cases: Ops, I did assume this isn't done due to the

Re: DDB: How to find address of static symbol?

1999-07-22 Thread Bruce Evans
>I want to examine and switch a variable in ddb. The variable is static >to a source file, I don't have a symbol in ddb. You should have static symbols in ddb, except in the following broken cases: 1) elf kernel booted with -d. There are no symbols at the initial breakpoint because elf symbo

Re: DDB: How to find address of static symbol?

1999-07-22 Thread Nick Hibma
what about putting a break point at the beginning of the routine. Once you are there, you should be able to access it and set it. I think. But then again, a lot of people tell me that I am not very good at that. Nick On Thu, 22 Jul 1999, Martin Cracauer wrote: > I want to examine and switch

DDB: How to find address of static symbol?

1999-07-22 Thread Martin Cracauer
I want to examine and switch a variable in ddb. The variable is static to a source file, I don't have a symbol in ddb. I see the address of the symbol with `nm /kernel | grep symname`, but the addresses listed here are obviously subject to file-specific offsets. The addresses show up twice and I

Re: rootfs clean flag/mount problem

1999-07-22 Thread Nick Hibma
Current from when? I remember having to reboot after a crash first before the filesystem was accepted as clean. but that is gone. And I have crashed a CURRENT machine fairly often lately. Nick On Thu, 22 Jul 1999, Jos Backus wrote: > After booting single-user after a crash: > > # mount >

Re: rootfs clean flag/mount problem

1999-07-22 Thread Jos Backus
On Thu, Jul 22, 1999 at 11:21:45AM +0200, Poul-Henning Kamp wrote: > Have you rebuilt your fsck after the last commit ? It turns out fsck was last built on Tuesday morning. I just rebuilt/reinstalled it and everything appears peachy again. fsck had not been updated yesterday because the make wor

Re: PLIP is still broken :(

1999-07-22 Thread Maxim Sobolev
Dag-Erling Smorgrav wrote: > Maxim Sobolev <[EMAIL PROTECTED]> writes: > > Bruce Evans wrote: > > > Possible quick fix (hack): change all the spltty()'s in lpt.c to > > > splnet()'s. lpt isn't a tty driver; it just abuses spltty(). Abusing > > > splnet() instead should work OK for lpt and fix i

Re: PLIP is still broken :(

1999-07-22 Thread Dag-Erling Smorgrav
Maxim Sobolev <[EMAIL PROTECTED]> writes: > Bruce Evans wrote: > > Possible quick fix (hack): change all the spltty()'s in lpt.c to > > splnet()'s. lpt isn't a tty driver; it just abuses spltty(). Abusing > > splnet() instead should work OK for lpt and fix if_plip. > It doesn't help much because

Re: PLIP is still broken :(

1999-07-22 Thread Maxim Sobolev
Bruce Evans wrote: > Possible quick fix (hack): change all the spltty()'s in lpt.c to > splnet()'s. lpt isn't a tty driver; it just abuses spltty(). Abusing > splnet() instead should work OK for lpt and fix if_plip. It doesn't help much because I'm not using lpt device in my kernel so lpt.c ne

Re: rootfs clean flag/mount problem

1999-07-22 Thread Poul-Henning Kamp
Have you rebuilt your fsck after the last commit ? In message <[EMAIL PROTECTED]>, Jos Backus writes: >After booting single-user after a crash: > ># mount >wd0s1a on / (local, read-only) ># fsck -p >/dev/rwd0s1a: FILESYSTEM CLEAN; SKIPPING CHECKS >/dev/rwd0s1a: clean, 12881 free (409 frags, 1559

rootfs clean flag/mount problem

1999-07-22 Thread Jos Backus
After booting single-user after a crash: # mount wd0s1a on / (local, read-only) # fsck -p /dev/rwd0s1a: FILESYSTEM CLEAN; SKIPPING CHECKS /dev/rwd0s1a: clean, 12881 free (409 frags, 1559 blocks, 1.3% fragmentation) # mount -u / WARNING: R/W mount of / denied. Filesystem is not clean - run fsck m