Re: pstat(8) depends on loader(8)???

2000-02-20 Thread Bruce Evans
On Fri, 18 Feb 2000, Ruslan Ermilov wrote: > Hi! > > Why then it works on 3.4-STABLE (booting without loader(8) and > having kvm(3) programs like pstat(8) and top(1) working). > What makes a difference here? RCS file: /home/ncvs/src/lib/libkvm/kvm_file.c,v Working file: kvm_file.c head: 1.10 ..

Re: pstat(8) depends on loader(8)???

2000-02-18 Thread Ruslan Ermilov
Hi! Why then it works on 3.4-STABLE (booting without loader(8) and having kvm(3) programs like pstat(8) and top(1) working). What makes a difference here? On Sun, Feb 06, 2000 at 09:38:41PM -0500, Garrett Wollman wrote: > < said: > > > If I boot with loader(8), everything is ok. > > Ideas? > >

Re: pstat(8) depends on loader(8)???

2000-02-07 Thread Peter Wemm
John Baldwin wrote: > > On 07-Feb-00 Bruce Evans wrote: > > On Mon, 7 Feb 2000, Ruslan Ermilov wrote: > > > >> If I boot the system without loader(8), e.g. with /boot.config=kernel, > >> or by interrupting boot blocks and typing /kernel, swapinfo(8) fails: > >> > >> swapinfo: undefined symbol:

Re: pstat(8) depends on loader(8)???

2000-02-07 Thread Peter Wemm
Garrett Wollman wrote: > < said: > > > If I boot with loader(8), everything is ok. > > Ideas? > > loader loads the kernel symbol table; boot2 does not. > > -GAWollman More to the point, a non-stripped kernel has *two* symbol tables. One that has the global symbols and is used for dynamic link

Re: pstat(8) depends on loader(8)???

2000-02-06 Thread Bruce Evans
On Mon, 7 Feb 2000, John Baldwin wrote: > On 07-Feb-00 Bruce Evans wrote: > > This is because the elf format puts static symbols in an out-of-the-way > > section, and the boot2 stage of the bootstrap loads sections naively. > > Static symbols end up in a place where the kernel linker can't find >

Re: pstat(8) depends on loader(8)???

2000-02-06 Thread John Baldwin
On 07-Feb-00 Bruce Evans wrote: > On Mon, 7 Feb 2000, Ruslan Ermilov wrote: > >> If I boot the system without loader(8), e.g. with /boot.config=kernel, >> or by interrupting boot blocks and typing /kernel, swapinfo(8) fails: >> >> swapinfo: undefined symbol: _numvnodes > > This is because the

Re: pstat(8) depends on loader(8)???

2000-02-06 Thread Bruce Evans
On Mon, 7 Feb 2000, Ruslan Ermilov wrote: > If I boot the system without loader(8), e.g. with /boot.config=kernel, > or by interrupting boot blocks and typing /kernel, swapinfo(8) fails: > > swapinfo: undefined symbol: _numvnodes This is because the elf format puts static symbols in an out-of-t

RE: pstat(8) depends on loader(8)???

2000-02-06 Thread John Baldwin
On 06-Feb-00 Ruslan Ermilov wrote: > Hi! > > Fresh -current, GENERIC kernel. > > If I boot the system without loader(8), e.g. with /boot.config=kernel, > or by interrupting boot blocks and typing /kernel, swapinfo(8) fails: > > swapinfo: undefined symbol: _numvnodes > > top(8) fails as well w