Subject: port-sparc64/20617: SIR Reset on installation on Ultra1E
To: None <gnats-bugs@gnats.netbsd.org>
From: None <james.darcy@wraithbane.com>
List: netbsd-bugs
Date: 03/07/2003 18:29:10
>Number:         20617
>Category:       port-sparc64
>Synopsis:       SIR Reset on installation on Ultra1E
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    port-sparc64-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 07 10:30:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     James d'Arcy
>Release:        NetBSD (snapshot 25th Feb 2003)
>Organization:
-
>Environment:
as supplied in miniroot.fs
Architecture: sparc64
Machine: Ultra1E
>Description:
Console output from install follows

Sun Ultra 1 UPA/SBus (UltraSPARC 167MHz), No Keyboard
OpenBoot 3.25, 256 MB memory installed, Serial #8475203.
Ethernet address 8:0:20:81:52:43, Host ID: 80815243.

Initializing Memory \
Boot device: disk  File and args: 
The file just loaded does not appear to be executable.
ok boot disk1:b
Boot device: /sbus/SUNW,fas@e,8800000/sd@1,0:b  File and args: 
NetBSD IEEE 1275 Bootblock
..>> NetBSD/sparc64 OpenFirmware Boot, Revision 1.6
devopen: getdisklabel sez no disk label
devopen: search_label sez no disk label
loadfile: reading header
elf64_exec: Booting /sbus@1f,0/SUNW,fas@e,8800000/sd@1,0:b/netbsd
4516328@0x1000000+147392@0x1800000+4046912@0x1823fc0 
symbols @ 0xfef7c380+350832+188595+fb5a80
[ using 540440 bytes of netbsd ELF symbol table ]
console is /sbus@1f,0/zs@f,1100000:a
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
    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.6O (GENERIC) #0: Tue Feb 25 11:10:29 UTC 2003
    autobuild@cs20.apochromatic.org:/autobuilder/build/HEAD/sparc64/OBJ/autobuil
der/build/HEAD/src/sys/arch/sparc64/compile/GENERIC
total memory = 256 MB
avail memory = 227 MB
using 1651 buffers containing 13208 KB of memory
bootpath: /sbus@1f,0/SUNW,fas@e,8800000/sd@1,0:b
mainbus0 (root): SUNW,Ultra-1
cpu0 at mainbus0: SUNW,UltraSPARC @ 167.001 MHz, version 0 FPU
cpu0: 32K instruction (32 b/l), 16K data (32 b/l), 512K external (64 b/l)
timer0 at mainbus0 addr 0xfffc7c00 irq vectors 7f0 and 7f1
sbus0 at mainbus0 addr 0xfffcc000: clock = 25 MHz
DVMA map: ff800000 to ffffe000
IOTSB: 1362000 to 1364000
audiocs0 at sbus0 slot 13 offset 0xc000000 vector 24 ipl 13: CS4231A
audio0 at audiocs0: full duplex
auxio0 at sbus0 slot 15 offset 0x1900000
flashprom at sbus0 slot 15 offset 0x0 not configured
SUNW,fdtwo at sbus0 slot 15 offset 0x1400000 vector 29 ipl 11 not configured
clock0 at sbus0 slot 15 offset 0x1200000: mk48t59: hostid 80815243
zs0 at sbus0 slot 15 offset 0x1100000 vector 28 ipl 12 softpri 6
zstty0 at zs0 channel 0 (console i/o)
zstty1 at zs0 channel 1
zs1 at sbus0 slot 15 offset 0x1000000 vector 28 ipl 12 softpri 6
zstty2 at zs1 channel 0
kbd0 at zstty2
zstty3 at zs1 channel 1
ms0 at zstty3
sc at sbus0 slot 15 offset 0x1300000 not configured
SUNW,pll at sbus0 slot 15 offset 0x1304000 not configured
esp0 at sbus0 slot 14 offset 0x8800000 vector 20 ipl 3: FAS366/HME, 40MHz, SCSI 
ID 7
scsibus0 at esp0: 16 targets, 8 luns per target
hme0 at sbus0 slot 14 offset 0x8c00000 vector 21 ipl 6: Sun Happy Meal Ethernet 
(SUNW,hme)
hme0: Ethernet address 08:00:20:81:52:43
nsphy0 at hme0 phy 1: DP83840 10/100 media interface, rev. 0
nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
bpp0 at sbus0 slot 14 offset 0xc800000 vector 22 ipl 2: dma rev unknown (0x20000
000)
SUNW,ffb at mainbus0 addr 0xfec00000 not configured
pcons at mainbus0 not configured
Kernelized RAIDframe activated
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <SEAGATE, ST32550W SUN2.1G, 0418> disk fixed
sd0: 2048 MB, 3511 cyl, 11 head, 108 sec, 512 bytes/sect x 4194995 sectors
esp0: wide mode 1
sd0: sync (100.0ns offset 15), 16-bit (20.000MB/s) transfers
sd1 at scsibus0 target 1 lun 0: <FUJITSU, M2954ESP SUN4.2G, 2545> disk fixed
sd1: 4094 MB, 3882 cyl, 16 head, 135 sec, 512 bytes/sect x 8385121 sectors
esp0: wide mode 1
sd1: sync (100.0ns offset 15), 16-bit (20.000MB/s) transfers
cd0 at scsibus0 target 6 lun 0: <TOSHIBA, XM-5401TASUN4XCD, 2565> cdrom removabl
e
cd0: sync (248.0ns offset 15), 8-bit (4.032MB/s) transfers
root on sd1b dumps on sd1b
root file system type: ffs
erase ^?, werase ^W, kill ^U, intr ^C

If you are using a SUN type 4 keyboard, please enter "sun-type4".
Terminal type (just hit ENTER for 'sun'): 
/kern/rootdev: file system not clean (fs_clean=4); please fsck(8)
/kern/rootdev: lost blocks 0 files 0
^L^L
 Welcome to sysinst, the NetBSD-1.6N system installation tool.  This
 menu-driven tool is designed to help you install NetBSD to a hard disk, or
 upgrade an existing NetBSD system, with a minimum of work.  In the following
 menus, you may change the current selection by either typing the reference
 letter (a, b, c, ...).  Arrow keys may also work.  You activate the current
 selection from the menu by typing the enter key.

 If you booted from a floppy, you may now remove the disk.

 Thank you for using NetBSD!
 ESC-----------------------------------------------+
 ESC NetBSD-1.6N Install System
 ESC
 ESC a: Install NetBSD to hard disk
 ESC b: Upgrade NetBSD on a hard disk
 ESC c: Re-install sets or install additional sets
 ESC d: Reboot the computer
 ESC e: Utility menu
 ESC x: Exit Install System
 ESC-----------------------------------------------+

 You have chosen to install NetBSD on your hard disk.  This will change
 information on your hard disk.  You should have made a full backup before
 this procedure!  This procedure will do the following things:

 a) Partition your disk
 b) Create new BSD file systems
 c) Load and install distribution sets

 (After you enter the partition information but before your disk is changed,
 you will have the opportunity to quit this procedure.)

 Shall we continue?

 -> yes

 I have found the following disks: sd0 sd1

 On which disk do you want to install NetBSD?  [sd0]: 

 NetBSD uses a BSD disklabel to carve up the NetBSD portion of the disk into
 multiple BSD partitions.  You must now set up your BSD disklabel.  You have
 several choices.  They are summarized below.
 -- Standard: the BSD disklabel partitions are computed by this program.
 -- Standard with X: twice the swap space, space for X binaries.
 -- Custom: you specify the sizes of all the BSD disklabel partitions.
 -- Use existing: use current partitions.  You must assign mount points.

 The NetBSD part of your disk is 2036.65 Megabytes.
 Standard requires at least 270.00 Megabytes.
 Standard with X requires at least 350.00 Megabytes.

 -> Choose custom as already newfs'd disk many times, list in MB
 
 Don't forget to fill in the file system mount points for each of the file
 systems that are to be mounted.  Press <return> to continue.

 We now have your BSD-disklabel partitions as (Start, End and Size in MB):

    Start     End       Size      FStype Bsize Fsize Preserve Mount point
    --------- --------- --------- ------ ----- ----- -------- -----------
 a: 0         127       128       4.2BSD 8192  1024  No       /
 b: 128       255       128       swap   
 c: 0         2035      2036      unused 
 d: 256       383       127       4.2BSD 8192  1024  No       /tmp
 e: 384       511       128       4.2BSD 8192  1024  No       /var
 f: 512       1023      512       4.2BSD 8192  1024  No       /usr
 g: 1024      2035      1012      4.2BSD 8192  1024  No       /home
 
 ESC----------------------+
 ESC Partitions ok?       

 -> yes

 Please enter a name for your NetBSD disk [mydisk]: 

 Ok, we are now ready to install NetBSD on your hard disk (sd0).  Nothing has
 been written yet.  This is your last chance to quit this process before
 anything gets changed.

 Shall we continue?

 -> yes
 
 disklabel -w -r sd0 mydisk

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

sysinst: read: No such file or directory
status: Running

Command: /sbin/newfs /dev/rsd0a

--------------------------------------------------------------------------------
Command: /sbin/newfs /dev/rsd0a

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

/dev/rsd0a:     262548 sectors in 221 cylinders of 11 tracks, 108 sectors
128.2MB in 4 cyl groups (72 c/g, 41.77MB/g, 8064 i/g)
super-block backups (for fsck -b #) at:
32,  85680, 171328, 256976,
sysinst: read: No such file or directory
Finished

 -> Same for other partitions

 Okay, the first part of the procedure is finished.  Sysinst has written a
 disklabel to the target disk, and newfs'ed and fsck'ed the new partitions you
 specified for the target disk.

 The next step is to fetch and unpack the distribution filesets.  Press
 <return> to proceed.
 
 The NetBSD distribution is broken into a collection of distribution sets.
 There are some re needed by all installations and there are
 some other sets that are not needed by all installations.  You may choose to
 install all of them (Full installation) or you select from the optional
 distribution sets.

 -> Custom install, as full but no games

  Distribution set   Use?
 ------------------ ----
 Kernel       :     Yes
 Base         :     Yes
 System (/etc):     Yes
 Compiler     :     Yes
 Games        :     No
 Manuals      :     Yes
 Miscellaneous:     Yes
 Text tools   :     Yes
 X11 clients  :     Yes
 X11 fonts    :     Yes
 X11 servers  :     Yes
 X11 contrib  :     Yes
 X programming:     Yes
 X11 Misc.    :     Yes

 During the extraction process, what do you want to see as each file is
 extracted?

 -> choose progress

 Your disk is now ready for installing the kernel and the distribution sets.
 As noted in your INSTALL notes, you have several options.  For ftp or nfs,
 you must be connected to a network with access to the proper machines.  If
 you are not ready to complete the installation at this time, you may select
 "none" and you will be returned to the main menu.  When you are ready at a
 later time, you may select "upgrade" from the main menu to complete the
 installation.
 
 -> cdrom

 Enter the CDROM device to be used and directory on the CDROM where the
 distribution is located.  Remember, the directory should contain the .tgz
 files.

 device: cd0 directory:  /sparc64/binary/sets
 
 sysinst: read: No such file or directory
 Status: Running
 Command: progress -zf /mnt2//sparc64/binary/sets/kern-GENERIC.tgz pax -rpe -
 --------------------------------------------------------------------------
SIR Reset

>How-To-Repeat:
Pick a miniroot and boot up on my machine :(
>Fix:
None known to me
>Release-Note:
>Audit-Trail:
>Unformatted: