Subject: recompiled kernel & ps
To: None <netbsd-bugs@sun-lamp.cs.berkeley.edu>
From: Jean-Marc Zucconi <jmz@cabri.obs-besancon.fr>
List: netbsd-bugs
Date: 11/05/1993 23:00:01
Hello,

I have a problem with ps and a recompiled kernel (0.9). the 'ps -au' command
gives a floating point exception. It appears that the mempages value
returned by kvm_read(...) is 0.
I am sure I have make a mistake in my config file but I can't see
where. Here are my changes with respect to GENERICAHA:

timezone 	-1 dst       instead of 8 dst (but this doesnt solve the
			     discrepancy cmos-date/netbsd-date)
pseudo-device	pty     12   instead of 4   

I have removed the following:

# i only have wd and aha
#controller      uha0    at isa? port "IO_UHA0" bio irq 11 drq 5 vector uhaintr
#disk            sd0     at uha0 flags 0 drive ?
#disk            sd1     at uha0 flags 0 drive ?
#disk            sd2     at uha0 flags 0 drive ?
#disk            sd3     at uha0 flags 0 drive ?
#tape            st0     at uha0 flags 1 drive ?
#tape            st1     at uha0 flags 1 drive ?
#disk            cd0     at uha0 flags 2 drive ?
#disk            cd1     at uha0 flags 2 drive ?

# no need of 4 com ports
#device          com2    at isa? port "IO_COM3" tty irq 5 vector comintr
#device          com3    at isa? port "IO_COM4" tty irq 9 vector comintr

# no ethernet
#device ed0 at isa? port 0x280 net irq 9 iomem 0xd0000 vector edintr
#device we0 at isa? port 0x280 net irq 9 iomem 0xd0000 iosiz 8192 vector weintr
#device ec0 at isa? port 0x250 net irq 9 iomem 0xd8000 iosiz 8192 vector ecintr
#device ne0 at isa? port 0x300 net irq 9 vector neintr
#device is0 at isa? port 0x320 net irq 10 drq 7 vector isintr

# ??
#device         wt0     at isa? port 0x300 bio irq 5 drq 1 vector wtintr

Any advice will be greatly appreciated!.
Cheers,
	Jean-Marc.


    ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
    Jean-Marc Zucconi             |    internet: jmz@cabri.obs-besancon.fr
    Observatoire de Besancon      |        or    jmz@obsbec.dnet.nasa.gov
    F 25010 Besancon cedex        | PGP Key: finger jmz@cabri.obs-besancon.fr
    ======================================================================



------------------------------------------------------------------------------