Subject: Re: floating point exception
To: None <perry@piermont.com>
From: Jeffrey Goodwin <jeffg@osgroup.com>
List: port-i386
Date: 04/14/1998 12:33:37
>"Jeffrey Goodwin" writes:
>> Hi, I just installed NETBSD 1.3.1 off of the NET.
>
>Could you explain more about your installation?
>
>Was this machine previously running another version of NetBSD? When
>you say you installed "off the net", did you use NFS? FTP? Were you
>using the built in "sysinst" system?


1) I used rawrite to copy the bootimage to a 1.44 floppy.
2) I did an ftp installation off the net.
3) I took all the defaults, except the network configuration and
installed the 'sets'.  The only 'package' I didn't install was the games.

>
>> The install completed succussfully, and I rebooted.
>> 
>> Then, I did a
>> 
>> mount -a
>> TERM=pc3 ; export TERM
>
>If you rebooted and the system came up multiuser, why did you need to
>do this? Am I correct in assuming it did not come up multiuser?
Yes, it did not come up multi-user.  It came up as the documentation says.
The rc_configured variable in the rc.conf file is NO.

I'm following the exact instructions in the

ftp://ftp.NetBSD.ORG/pub/NetBSD/NetBSD-1.3/i386/INSTALL

document, section 9.  This expected behavior seems to be there, except
if I try to run any program which the loader must transfer from disk to
memory and run, I get:

Floating Point Exception - Core Dumped

However, shell commands can be run, and I can use ed to
edit rc.conf (the problem is I only know how to use vi ;) )

However, the docs say vi should work as long as you do the

mount -a, so I'm confused.

It appears that an terminal related functions like

clear or vi don' work.

But I can use cat to list out the file an re-direct to 
another file, so the file system i/o seem to be fine.

I tried setting TERM=vt100 and TERM=cons25 and got
the same results ;(

>
>> cd /etc
>> 
>> vi rc.conf
>> 
>> Then I get
>> 
>> Floating Point Exception - Core Dumped
>
>Were you using the standard "GENERIC" kernel? When you finished your
>mount, was /tmp mounted? was /var/tmp mounted?
>

Yes.


>> Is there a way I can load a diffrent kernel without re-installing ?
>
>The kernel is simply a file named /netbsd in your root partition. If
>you get a new kernel, you can simply copy it into place and reboot
>(although it is advisable to save the old kernel.).
>
>> I messed up the network configuration by accident on the last phase of
>> the install ;(,
>
>I believe you can re-run just that portion of sysinst if need be.

How ? 

Thanks,
Jeff

>
>Perry