Subject: NWS 3410 install : still trying
To: None <port-newsmips@netbsd.org>
From: Emmanuel Chaput <Emmanuel.Chaput@enseeiht.fr>
List: port-newsmips
Date: 05/21/2003 09:09:44
    Hi !

    I am still trying to install NetBSD-1.6.1 on a 3410 ; I am using
snapshot 20030419. Here are some notes about the process :

    I think I have finally installed NetBSD/NewsMIPS on my 3410 box !
Well ... It looks like ! As a matter of fact, I can not boot
the installed system :

NEWS> bo sd

Reserved instruction exception
cause=30000028, sr=40c404, badvaddr=80ffe50e, epc=a0000000
NEWS>

    But if I "bo fh" with the install boot floppy, I can mount
the hard drive, and it looks good :

# mount /dev/sd0a /mnt
# mount /dev/sd0g /mnt/usr
# mount /dev/cd0a /mnt/mnt
cd0: no disk label
# mount
/dev/md0a on / type ffs (local)
mfs:13 on /tmp type mfs (synchronous, local)
/dev/sd0a on /mnt type ffs (local)
/dev/sd0g on /mnt/usr type ffs (local)
/dev/cd0a on /mnt/mnt type cd9660 (read-only, local)
# df -h
Filesystem    Size     Used     Avail Capacity  Mounted on
/dev/md0a     2.4M     2.3M      125K    95%    /
mfs:13        7.6M     1.0K      7.3M     0%    /tmp
/dev/sd0a      62M      16M       43M    27%    /mnt
/dev/sd0g     273M     167M       92M    64%    /mnt/usr
/dev/cd0a      75M      75M      0.0B   100%    /mnt/mnt
# ls /mnt/mnt
CHANGES         CHANGES.prev    README.files    shared
CHANGES-1.6.1   LAST_MINUTE     newsmips
# ls /mnt
.cshrc  bin     dev     kern    libexec netbsd  root    stand   usr
altroot boot    etc     lib     mnt     rescue  sbin    tmp     var
# ls /mnt/usr
bin     games   include lib     libdata libexec lkm     mdec    sbin 
share
#

    So I wonder if there is a problem with the installed kernel or
with the bootloader, and if I could boot the system from the floppy
with an option like the "root=/dev/sda0" of linux. I've tried to
use installboot to re-install the bootloader :

# chroot /mnt
# installboot -v -m newsmips /dev/rsd0a /usr/mdec/bootxx /boot
File system:         /dev/rsd0a
File system type:    ffs (blocksize 8192, needswap 0)
Primary bootstrap:   /usr/mdec/bootxx
Secondary bootstrap: /boot
Bootstrap start sector: 0
Bootstrap byte count:   4684
Bootstrap block table:  118 entries of 8192 bytes available, 7 used: 
1136 1152 1168 1184 1200 1216 1106
Writing bootstrap
# halt

NEWS> bo sd

Reserved instruction exception
cause=30000028, sr=40c404, badvaddr=80ffe50e, epc=a0000000
NEWS>

    No change !

    By the way, the frame buffer seems to work fine ! I used it to
install NetBSD ... On the other hand I had problems with serial port
during install (something like the problems described by Mauricio a
few weeks ago ...).

    Any hint ?

    Thanks a lot !

-- 
Emmanuel Chaput, Maître de Conférences - Dépt Télécom & Réseau, ENSEEIHT
*5 61 58 82 10 (Fax *5 61 58 80 14)          Emmanuel.Chaput@enseeiht.fr