Re: Indigo R3000, Indigo R4000 and Indy R5000
Frank Scheiner <[email protected]> Sun, 26 Aug 2018 15:08:02 +0200
| Newsgroups | gmane.os.netbsd.ports.sgimips |
|---|---|
| Message-ID | <[email protected]> |
Dear Naruaki, On 08/25/2018 01:41 PM, Frank Scheiner wrote: > I'll try to do more testing as soon as I find out how to use the > non-original disk. Ok, in the end I used another narrow SCSI disk (a ST39216N, the original disk is a ST1280N) that just worked. As I don't have my Indys at hand currently, I followed "Installing without sysinst" ([1]) and installed NetBSD (NetBSD-daily/HEAD /201808230630Z) on disk from my working diskless NetBSD installation - actually two times, as I didn't anticipate that one needs to reserve some space at the beginning of the disk for the SGI volume header as mentioned on [2]. :-D [1]: http://web.mclink.it/MG2508/nbsdeng/ap-inst.html [2]: https://www.netbsd.org/ports/sgimips/faq.html#sgivol The result is working: ``` >> boot -f dksc(0,1,8)irisboot dksc(0,1,0)/netbsd 56784+0+1832 entry: 0x80368000 NetBSD/sgimips 8.99.24 Yet another Bootstrap, Revision 1.0 (Sun Aug 19 08:53:34 UTC 2018) 2829712+82768 [185024+176400]=0x31fa74 [ 1.0000000] arcemu: unknown console "", using serial [ 1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, [ 1.0000000] 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, [ 1.0000000] 2018 The NetBSD Foundation, Inc. All rights reserved. [ 1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993 [ 1.0000000] The Regents of the University of California. All rights reserved. [ 1.0000000] NetBSD 8.99.24 (GENERIC32_IP12) #3: Sun Aug 19 13:04:21 UTC 2018 [ 1.0000000] naruaki@:/usr/obj.sgimips/sys/arch/sgimips/compile /GENERIC32_IP12 [ 1.0000000] total memory = 24576 KB [ 1.0000000] (0 reserved for ARCS) [ 1.0000000] avail memory = 21124 KB [ 1.0000000] WARNING: module error: sequencer: can't find builtin dependency `midi' [ 1.0000000] mainbus0 (root): SGI-IP12 [SGI, IP12], 1 processor [ 1.0000000] cpu0 at mainbus0: MIPS R3000A CPU (0x230) Rev. 3.0 with MIPS R3010 FPC Rev. 4.0 [ 1.0000000] cpu0: 32KB/4B direct-mapped Instruction cache, 64 TLB entries [ 1.0000000] cpu0: 32KB/4B direct-mapped write-through Data cache [ 1.0000000] int0 at mainbus0 addr 0x1fb801c0 [ 1.0000050] pic0 at mainbus0 addr 0x1fa00000 [ 1.0000050] pic0: Revision B: dblk (0x2), iblk (0x8) [ 1.0000050] pic0: Indigo R3000, board revision 1 [ 1.0000050] pic0: cache disabled, store partial, bus drive [ 1.0000050] gio0 at pic0 [ 1.0000050] light0 at gio0: SGI LG2 (board revision 3) [ 1.0000050] wsdisplay0 at light0 kbdmux 1 [ 1.0000050] hpc0 at gio0: SGI HPC1.5 (onboard) [ 1.0000050] zsc0 at hpc0 offset 0xd10arcemu: unknown console "", using serial [ 1.0000050] zstty0 at zsc0 channel 1 (console i/o) [ 1.0000050] zstty1 at zsc0 channel 0 [ 1.0000050] zsc1 at hpc0 offset 0xd00arcemu: unknown console "", using serial [ 1.0000050] zsms0 at zsc1 channel 1: baud rate 4800 [ 1.0000050] wsmouse0 at zsms0 mux 0 [ 1.0000050] zskbd0 at zsc1 channel 0: baud rate 600 [ 1.0000050] wskbd0 at zskbd0 mux 1 [ 1.0000050] sq0 at hpc0 offset 0x100: SGI Seeq 8003 [ 1.0000050] sq0: Ethernet address 00:00:00:00:00:00 [ 1.0000050] wdsc0 at hpc0 offset 0x11f: WD33C93A (20.0 MHz clock, BURST DMA, SCSI ID 0) [ 1.0000050] scsibus0 at wdsc0: 8 targets, 8 luns per target [ 1.0000050] dpclock0 at mainbus0 addr 0x1fb80e00 [ 1.8153090] scsibus0: waiting 2 seconds for devices to settle... [ 2.5052930] WARNING: module error: sequencer: can't find builtin dependency `midi' [ 3.9452370] sd0 at scsibus0 target 1 lun 0: <SEAGATE, ST39216N, 0010> disk fixed [ 4.0356210] sd0: 8761 MB, 14384 cyl, 3 head, 415 sec, 512 bytes/sect x 17942584 sectors [ 4.1360770] sd0: sync (200.00ns offset 12), 8-bit (5.000MB/s) transfers, tagged queueing [ 5.7552450] boot device: <unknown> [ 5.8006450] root device: sd0a [ 7.5666370] dump device (default sd0b): [ 8.0452930] file system (default generic): [ 8.7961810] root on sd0a dumps on sd0b [ 8.8768690] root file system type: ffs [ 8.9268690] kern.module.path=/stand/sgimips/8.99.24/modules [ 9.0068690] warning: no /dev/console [ 9.0539810] init path (default /sbin/init): [ 9.5830610] init: trying /sbin/init Created tmpfs /dev (245760 byte, 448 inodes) /etc/rc.conf is not configured. Multiuser boot aborted. Enter pathname of shell or RETURN for /bin/sh: We recommend that you create a non-root account and use su(1) for root access. # mount root_device on / type ffs (read-only, local) tmpfs on /dev type tmpfs (union, local) # ``` ...apart from the MAC address patch that is not yet included in the ELF image. I have not yet managed to configure the NVRAM vars in a way that would allow to just issue `boot` in the PROM monitor to boot the installed NetBSD. The kernel name and path is not actually hardcoded in `irisboot`, right? Because with an adapted default NVRAM config it doesn't work to just use `boot` like for IRIX: ``` >> printenv netaddr=192.0.2.1 dbaud=9600 rbaud=1200 bootfile=dksc(0,1,8)irisboot bootmode=c diskless=0 volume=128 path=dksc(0,1,8) cpufreq=33 gfx=dead (No keyboard) console=d >> boot 56784+0+1832 entry: 0x80368000 NetBSD/sgimips 8.99.24 Yet another Bootstrap, Revision 1.0 (Sun Aug 19 08:53:34 UTC 2018) EXCEPTION: <vector=UTLBMiss> Exception pc: 0x803742b4 Cause register: 0x8<CE=0,EXC=RMISS> Status register: 0x8004<IM8,IPL=7,IEp> Bad Vaddress: 0x0 Local I/O interrupt register 0: 0x0 <> Local I/O interrupt register 1: 0x0 <> Registers (in hex): arg: 80375686 80375680 80375ddc 1 tmp: 9f008000 0 0 88001 0 0 a03816c8 0 sve: 80375681 0 1 64 4 bfc36690 bfc36694 bfc32c04 t8 bfb80d13 t9 803681c8 at a0000000 v0 4 v1 80375682 k1 bfc00828 gp 80375dd0 fp 1 sp 8037ff6c ra 803742ac PANIC: Unexpected exception [Press reset or RETURN to restart.] ``` Again much thanks for making NetBSD on Indigo R3K possible again! If you need me to test future revisions, just let me know. Cheers, Frank