Subject: Re: port-sparc/37080: second stage boot loader fails on SparcStation 2
To: None <port-sparc-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: Georg Brein <georg.brein@unibas.ch>
List: netbsd-bugs
Date: 10/12/2007 00:25:03
The following reply was made to PR port-sparc/37080; it has been noted by GNATS.

From: Georg Brein <georg.brein@unibas.ch>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: port-sparc/37080: second stage boot loader fails on SparcStation 2
Date: Thu, 11 Oct 2007 10:30:45 +0200

 >  [...]  Is it possible for you to capture the exact messages when
 >  your SS2 fails to boot?
 
 Here you are... unfortunately, there is only the message
 "Data Access Exception" which is AFAIK emitted by the firmware.
 The protocol shows two attempts to boot from a CD containing
 the RC1 ISO image, a successful boot from HD (using the
 second-stage boot loader from NetBSD 3.1) to show the configuration
 of my machine and an unsuccessful attempt to boot the RC1
 miniroot image.
 
 The only clue I get is that my SS2 has ROM revision 2.2,
 whereas yours has revision 2.9.
 
 Georg Brein
 
 
 =3D=3D=3D protocol starts here =3D=3D=3D
 WARNING: Unable to determine keyboard typeSPARCstation 2, No Keyboard
 ROM Rev. 2.2, 64 MB memory installed, Serial #197955.
 Ethernet address 8:0:20:5:80:43, Host ID: 55030543.
 
 
 Testing   0 megs of memory. Still to go    0	[break sent -- GB]
 
 Type  'go' to resume
 Type  help  for more information
 ok boot cdrom					[boot from RC1 CD -- GB]
 Boot device: /sbus/esp@0,800000/sd@6,0:c   File and args:
  >> NetBSD/sparc Secondary Boot, Revision 1.15
  >> (builds@wb35, Sat Sep  1 16:32:39 PDT 2007)
 Booting netbsd
 |=08Data Access Exception
 ok boot cdrom					[try again -- GB]
 SPARCstation 2, No Keyboard
 ROM Rev. 2.2, 64 MB memory installed, Serial #197955.
 Ethernet address 8:0:20:5:80:43, Host ID: 55030543.
 
 
 Rebooting from cdrom
 Boot device: /sbus/esp@0,800000/sd@6,0:c   File and args:
  >> NetBSD/sparc Secondary Boot, Revision 1.15
  >> (builds@wb35, Sat Sep  1 16:32:39 PDT 2007)
 Booting netbsd
 |=08Data Access ExceptionType  help  for more information
 ok boot -s	[boot from disk on which RC1 has been installed via net =
 boot]
 		[and on which the second-stage loader from NetBSD 3.1 =
 has]
 		[been installed -- GB]
 SPARCstation 2, No Keyboard
 ROM Rev. 2.2, 64 MB memory installed, Serial #197955.
 Ethernet address 8:0:20:5:80:43, Host ID: 55030543.
 
 
 Rebooting from -s
 Boot device: /sbus/esp@0,800000/sd@3,0   File and args: -s
  >> NetBSD/sparc Secondary Boot, Revision 1.15
  >> (builds@b3.netbsd.org, Tue Oct 31 08:41:58 UTC 2006)
 Booting netbsd
 3293264+106160+202172 [204304+191750]=3D0x3e0350	[turning baton =
 deleted =20
 -- GB]
 OBP version 2, revision 2.2 (plugin rev 2)
 Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, =20
 2005, 2006
      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 4.0_RC1 (GENERIC) #0: Sat Sep  1 17:25:44 PDT 2007
 	=
 builds@wb35:/home/builds/ab/netbsd-4-0-RC1/sparc/200709011431Z-obj/=20
 home/builds/ab/netbsd-4-0-RC1/src/sys/arch/sparc/compile/GENERIC
 total memory =3D 65452 KB
 avail memory =3D 59992 KB
 timecounter: Timecounters tick every 10.000 msec
 bootpath: /sbus0/esp@0,800000/sd@3,0
 mainbus0 (root): SUNW,Sun 4/75: hostid 55030543
 cpu0 at mainbus0: CY7C601 @ 40 MHz, TMS390C602A FPU
 cpu0: cache chip bug; trap page uncached
 cpu0: 64K byte write-through, 32 bytes/line, hw flush: cache enabled
 memreg0 at mainbus0 ioaddr 0xf4000000
 clock0 at mainbus0 ioaddr 0xf2000000: mk48t02
 timer0 at mainbus0 ioaddr 0xf3000000 ipl 10: delay constant 17, =20
 frequency =3D 1000000 Hz
 timecounter: Timecounter "timer-counter" frequency 1000000 Hz quality =20=
 
 100
 auxreg0 at mainbus0 ioaddr 0xf7400003
 zs0 at mainbus0 ioaddr 0xf1000000 ipl 12 softpri 6
 zstty0 at zs0 channel 0 (console i/o)
 zstty1 at zs0 channel 1
 zs1 at mainbus0 ioaddr 0xf0000000 ipl 12 softpri 6
 kbd0 at zs1 channel 0: baud rate 1200
 ms0 at zs1 channel 1: baud rate 1200
 audioamd0 at mainbus0 ioaddr 0xf7201000 ipl 13 softpri 4
 audio0 at audioamd0: full duplex
 sbus0 at mainbus0 ioaddr 0xf8000000: clock =3D 20 MHz
 le0 at sbus0 slot 0 offset 0xc00000 level 5: address 00:00:e0:07:00:00
 le0: 8 receive buffers, 2 transmit buffers
 dma0 at sbus0 slot 0 offset 0x400000: DMA rev 1+
 esp0 at sbus0 slot 0 offset 0x800000 level 3: ESP100A, 20MHz, SCSI ID 7
 scsibus0 at esp0: 8 targets, 8 luns per target
 le1 at sbus0 slot 1 offset 0xc00000 level 5: address 08:00:20:05:80:43
 le1: 8 receive buffers, 2 transmit buffers
 cgsix0 at sbus0 slot 2 offset 0x0 level 7: SUNW,501-1481, 1152 x 900, =20=
 
 rev 1
 cgsix0: attached to /dev/fb0
 cgsix0: framebuffer size: 1 MB
 cgsix0: FBC: 00295540
 fdc0 at mainbus0 ioaddr 0xf7200000 ipl 11 softpri 4: chip 82072
 timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
 Kernelized RAIDframe activated
 scsibus0: waiting 2 seconds for devices to settle...
 sd0 at scsibus0 target 3 lun 0: <DEC, DSP3210S, X442> disk fixed
 sd0: 2049 MB, 3045 cyl, 16 head, 86 sec, 512 bytes/sect x 4197520 =20
 sectors
 sd0: sync (248.00ns offset 15), 8-bit (4.032MB/s) transfers, tagged =20
 queueing
 cd0 at scsibus0 target 6 lun 0: <PLEXTOR, CD-ROM PX-12CS, 1.00> cdrom =20=
 
 removable
 cd0: sync (248.00ns offset 15), 8-bit (4.032MB/s) transfers
 root on sd0a dumps on sd0b
 root file system type: ffs
 WARNING: clock gained 2 days
 WARNING: CHECK AND RESET THE DATE!
 Enter pathname of shell or RETURN for /bin/sh:
 # mount -r -t cd9660 /dev/cd0c /mnt		[copy miniroot to swap =
 -- GB]
 # cd /mnt/sparc/installation/miniroot
 # gunzip -c miniroot.fs.gz | dd of=3D/dev/rsd0b
 16355+50 records in
 16384+0 records out
 8388608 bytes transferred in 192.676 secs (43537 bytes/sec)
 # sync
 # halt
 Oct 10 20:24:58 halt: halted by root
 syncing disks... done
 unmounting file systems... done
 halted
 
 Program terminated
 Type  help  for more information
 ok boot /sbus/esp/sd@3:b			[try to boot miniroot]
 SPARCstation 2, No Keyboard
 ROM Rev. 2.2, 64 MB memory installed, Serial #197955.
 Ethernet address 8:0:20:5:80:43, Host ID: 55030543.
 
 
 Rebooting from /sbus/esp/sd@3:b
 Boot device: /sbus/esp/sd@3:b   File and args:
  >> NetBSD/sparc Secondary Boot, Revision 1.15
  >> (builds@wb35, Sat Sep  1 16:32:39 PDT 2007)
 Booting netbsd
 |=08Data Access ExceptionType  help  for more information
 ok
 =3D=3D=3D protocol ends here =3D=3D=3D