Subject: Re: Ok, got further with 20000821 kernel
To: Saku Setala <setala@elisa.fi>
From: Wayne Knowles <wknowles@paradise.net.nz>
List: port-mipsco
Date: 05/04/2001 20:31:37
Hi Saku,

You have it running -- Excellent!!! There isn't a NetBSD root
filesystem to continue with, that is why init fails

What you need to do to get a full system running is:

Download diskimage.gz from ftp.netbsd.org:/pub/NetBSD/arch/mipsco/snapshot/=
20001004/installation/diskimage

Unzip the image and dd it to the start of a SCSI Hard disk.  You can
attach the disk to the Mips machine at ID 1 and use dd from RISCos to do
this (from memory it is partition 10 in RISCos), or use another UNIX
machine with SCSI support.
I see you have a few disks on the machine so if you are prepared to blow
one away for a good cause...

With drive attached at the boot prompt type:

   boot -f dksd(,1,8)boot   (1 =3D SCSI ID of disk drive)

(you can also use 'setenv bootfile dksd(,1,8)boot' then type boot)

This will load a standard NetBSD install kernel onto the machine and you
can install the images from the 20001004 snapshot.   Before you do that
you have to change the disk partition settings.  The way I do it is as
follows:

- At bootup note the disk geometry data printed by the kernel
- From the NetBSD install menu select the option to escape to UNIX shell
- type "disklabel -i sd1"
- Type I to setup new disk geometry data
  Answer the geometry questions
- Type "W" to write the label and "y" to fonfirm
- Type "Q" to quit disklabel
- Type "^D" to return to sysinstall menu

The following procedure should work.  After the install has completed you
can boot the system like you did the install kernel.

Appologies about there not being a later snapshot available.   I hope to
update the installation documentation and build a new snapshot shortly now
that teh VM and SCSI subsystems have stabilized.

Regards,
Wayne



On Fri, 4 May 2001, Saku Setala wrote:

>     Monitor: Version 5.43 OPT Mon May 13 17:31:12 PDT 1991 root
> Memory size: 67108864 (0x4000000) bytes, 64 MB
> Icache size: 32768 (0x8000) bytes
> Dcache size: 32768 (0x8000) bytes
> >> boot dksd(,,0)/netbsd
> 210192+58672+230560 entry: 0xa0600000
> Standalone Shell: Version 5.03 OPT Tue Apr 16 21:09:10 EDT 1991 root
>
> Loading dksd(,,0)/netbsd
> 1173136+578931+146800 entry: 0x80021000
> Copyright (c) 1996, 1997, 1998, 1999, 2000
>     The NetBSD Foundation, Inc.  All rights reserved.
> Copyright (c) 1982, 1986, 1989, 1991, 1993
>     The Regents of the University of California.  All rights reserved.
>
> NetBSD 1.5E (RC3230) #51: Mon Aug 21 22:10:25 NZST 2000
>     wdk@grunt.zl2bkc.niwa.cri.nz:/home2/netbsd/src/sys/arch/mipsco/compil=
e/RC3230
> Mips 3230 Magnum (Pizazz)
> total memory =3D 67108864
> avail mem =3D 60268544
> using 844 buffers containing 3457024 bytes of memory
> mainbus0 (root)
> cpu0 at mainbus0: MIPS R3000 CPU (0x230) Rev. 3.0 with MIPS R3010 FPC Rev=
=2E 4.0
> cpu0: 32KB Instruction, 32KB Data, direct mapped cache
> obio0 at mainbus0
> le0 at obio0 addr 0xba000000: address 00:00:6b:81:5e:08
> le0: 16 receive buffers, 4 transmit buffers
> mkclock0 at obio0 addr 0xbd000000
> rambo0 at obio0 addr 0xbc000000: parity enabled
> fd0 at obio0 addr 0xbe000000: not fully implemented
> zsc0 at obio0 addr 0xbb000000
> zstty0 at zsc0 channel 0
> zstty1 at zsc0 channel 1 (console io)
> asc0 at obio0 addr 0xb8000000: NCR53C94, 24MHz, SCSI ID 7
> scsibus0 at asc0: 8 targets, 8 luns per target
> scsibus0: waiting 2 seconds for devices to settle...
> probe(asc0:0:0): max sync rate 4.80MB/s
> sd0 at scsibus0 target 0 lun 0: <MAXTOR, LXT-200S, 4.18> SCSI1 0/direct f=
ixed
> sd0: 191 MB, 1314 cyl, 7 head, 42 sec, 512 bytes/sect x 392056 sectors
> probe(asc0:1:0): max sync rate 4.80MB/s
> sd1 at scsibus0 target 1 lun 0: <MAXTOR, LXT-200S, 4.18> SCSI1 0/direct f=
ixed
> sd1: 191 MB, 1314 cyl, 7 head, 42 sec, 512 bytes/sect x 392056 sectors
> probe(asc0:2:0): max sync rate 4.90MB/s
> sd2 at scsibus0 target 2 lun 0: <QUANTUM, PD425S, 535A> SCSI2 0/direct fi=
xed
> sd2: 406 MB, 1520 cyl, 9 head, 60 sec, 512 bytes/sect x 833150 sectors
> probe(asc0:3:0): max sync rate 4.90MB/s
> sd3 at scsibus0 target 3 lun 0: <QUANTUM, EMPIRE_1080S, 1100> SCSI2 0/dir=
ect fixed
> sd3: 1029 MB, 2874 cyl, 8 head, 91 sec, 512 bytes/sect x 2109376 sectors
> boot device: sd0
> root on sd0a dumps on sd0b
> warning: using RISC/os disk label
> warning: using RISC/os disk label
> warning: using RISC/os disk label
> WARNING: clock gained 10957 days -- CHECK AND RESET THE DATE!
> root file system type: ffs
> init: not found
> panic: no init
> Stopped in init at      0x8011de10:     jr      ra
>                 bdslot: nop
> db>
>
>
> --
> Saku Set=E4l=E4
> System Planning Manager
> Kolumbus Oy =09http://www.kolumbus.com/
> Elisa Communications Group
>
>