Subject: Re: netstat problem with ksyms.
To: Pavel Cahyna <pavel@netbsd.org>
From: Chavdar Ivanov <ci4ic4@gmail.com>
List: current-users
Date: 05/27/2006 21:07:48
On 5/27/06, Pavel Cahyna <pavel@netbsd.org> wrote:
> On Sat, May 27, 2006 at 01:13:12PM +0100, Chavdar Ivanov wrote:
> > Hi,
> >
> > It seems if one has
...
> > 12117      1 netstat  exit(0x1)
> > .....
> >
> > Obviously with no ksyms in the kernel, it cannot open /dev/ksyms and
> > carries on it's work.
> >
> > Any ideas?
> >
> > (BTW this is -current from yesterday, i386).
>
> - did it work before yesterday?
>
> - do you have "options MULTIBOOT"?
Yes, that is necessary now AFAIU:
...
options         MULTIBOOT       # Multiboot support (see multiboot(8))
options         MULTIBOOT_SYMTAB_SPACE=3D1048576
...

Boot yeilds:

NetBSD 3.99.20 (M0) #2: Sat May 27 00:54:24 BST 2006
        root@maggie:/usr/src/sys/arch/i386/compile/M0
multiboot: Information structure flags: 0x000007e7
multiboot: Boot loader: GNU GRUB 0.97
multiboot: Command line: /netbsd console=3Dpc root=3Dwd0a
multiboot: 638 KB lower memory, 523200 KB upper memory
total memory =3D 511 MB
avail memory =3D 495 MB
BIOS32 rev. 0 found at 0xfd82c
PCI BIOS rev. 2.1 found at 0xfd980
pcibios: config mechanism [1][x], special cycles [x][x], last bus 1
PCI IRQ Routing Table rev. 1.0 found at 0xfdf30, size 176 bytes (9 entries)
PCI Interrupt Router at 000:07:0 (Intel 82371FB (PIIX) PCI-ISA Bridge
compatible)
...

I'll try booting the same kernel without grub later.

>
> - what is the version of src/sys/arch/i386/conf/kern.ldscript ?

/*      $NetBSD: kern.ldscript,v 1.5 2006/05/26 09:22:42 pavel Exp $    */


> Pavel
>