Subject: yes, you do need to update your sparc boot blocks from those in the early ELF snapshots
To: NetBSD-current Discussion List <current-users@NetBSD.ORG>
From: Greg A. Woods <woods@weird.com>
List: port-sparc
Date: 03/27/2001 17:46:49
Following the failure to boot my new 2001/03/24 -current kernel (as
posted the other day to port-sparc) I finally got around to re-building
and updating the boot blocks on my development sparc and indeed my new
kernel now loads and runs just fine:


# reboot -- -s
syncing disks... done
rebooting

Resetting ... 
Axil-320 (1 X 390Z55), No Keyboard
ROM Rev. 2.19, 384 MB memory installed, Serial #9902402.
Ethernet address 0:0:3b:80:3c:56, Host ID: 72971942.



Rebooting with command: -s                                            
Boot device: /iommu/sbus/espdma@f,400000/esp@f,800000/sd@0,0  File and args: -s 
>> NetBSD/sparc Secondary Boot, Revision 1.9
>> (woods@sometimes, Tue Mar 27 17:22:23 EST 2001)
Booting netbsd
2546913+99092+233568 [68+163200+120191]=0x314564
OBP version 3, revision 2.19 (plugin rev 2)
pmap_bootstrap: installing kernel page tables...done.
[ using 283912 bytes of netbsd ELF symbol table ]
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001
    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.5T (GENERIC) #0: Mon Mar 26 01:38:17 EST 2001
    woods@sometimes:/proven/work/woods/NetBSD-src/sys/arch/sparc/compile/GENERIC
total memory = 383 MB
avail memory = 351 MB
using 896 buffers containing 19724 KB of memory
bootpath: /iommu@f,e0000000/sbus@f,e0001000/espdma@f,400000/esp@f,800000/sd@0,0
unknown option ` '
mainbus0 (root): SUNW,Axil-320
cpu0 at mainbus0: TMS390Z50 v0 or TMS390Z55 @ 75 MHz, on-chip FPU
cpu0: physical 20K instruction (64 b/l), 16K data (32 b/l), 1024K external (32 b/l): cache enabled
obio0 at mainbus0
clock0 at obio0 slot 0 offset 0x200000: mk48t08: hostid 72971942
timer0 at obio0 slot 0 offset 0x300000 delay constant 35
zs0 at obio0 slot 0 offset 0x100000 level 12 softpri 6
zstty0 at zs0 channel 0 (console i/o)
zstty1 at zs0 channel 1
zs1 at obio0 slot 0 offset 0x0 level 12 softpri 6
kbd0 at zs1 channel 0
ms0 at zs1 channel 1
fdc0 at obio0 slot 0 offset 0x700000 level 11 softpri 4: chip 82077
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
auxreg0 at obio0 slot 0 offset 0x800000
power0 at obio0 slot 0 offset 0xa01000 level 2
iommu0 at mainbus0 ioaddr 0xe0000000: version 0x1/0x1, page-size 4096, range 64MB
sbus0 at iommu0: clock = 25 MHz
dma0 at sbus0 slot 15 offset 0x400000: rev 2
esp0 at dma0 slot 15 offset 0x800000 level 4: ESP100A, 40MHz, SCSI ID 7
scsibus0 at esp0: 8 targets, 8 luns per target
ledma0 at sbus0 slot 15 offset 0x400010: rev 2
le0 at ledma0 slot 15 offset 0xc00000 level 6: address 00:00:3b:80:3c:56
le0: 8 receive buffers, 2 transmit buffers
bpp0 at sbus0 slot 15 offset 0x4800000 level 2 (ipl 3): rev 2
bpp: hcr 0 ocr 200a tcr 8 or 0
SUNW,DBRIe at sbus0 slot 15 offset 0x8010000 level 9 not configured
eccmemctl0 at mainbus0: version 0x1/0x1
scsibus0: waiting 2 seconds for devices to settle...
probe(esp0:0:0): unrecognized MESSAGE EXTENDED; sending REJECT
probe(esp0:0:0): max sync rate 20.83MB/s
esp0: target 0: sync negotiation
sd0 at scsibus0 target 0 lun 0: <WDIGTL, ENTERPRISE, 1.61> SCSI2 0/direct fixed
sd0(esp0:0:0): max sync rate 7.57MB/s
sd0: 4157 MB, 5720 cyl, 8 head, 186 sec, 512 bytes/sect x 8515173 sectors
esp0: target 1: sync negotiation
sd1 at scsibus0 target 1 lun 0: <SEAGATE, ST32430N, 0510> SCSI2 0/direct fixed
sd1(esp0:1:0): max sync rate 8.06MB/s
sd1: 2049 MB, 3992 cyl, 9 head, 116 sec, 512 bytes/sect x 4197405 sectors
st0 at scsibus0 target 4 lun 0: <EXABYTE, EXB-4200, 216> SCSI2 1/sequential removable
st0: density code 19, 512-byte blocks, write-enabled
esp0: target 6: sync negotiation
cd0 at scsibus0 target 6 lun 0: <PLEXTOR, CD-ROM PX-4XCH, 1.23> SCSI2 5/cdrom removable
probe(esp0:6:1): max sync rate 4.03MB/s
root on sd0a dumps on sd0b
mountroot: trying coda...
mountroot: trying msdos...
mountroot: trying cd9660...
mountroot: trying lfs...
mountroot: trying nfs...
mountroot: trying ffs...
WARNING: preposterous time in file system
WARNING: clock lost 7851 days -- CHECK AND RESET THE DATE!
root file system type: ffs
init: copying out flags `-s' 3
init: copying out path `/sbin/init' 11
Enter pathname of shell or RETURN for sh: /bin/ksh
#


-- 
							Greg A. Woods

+1 416 218-0098      VE3TCP      <gwoods@acm.org>      <robohack!woods>
Planix, Inc. <woods@planix.com>; Secrets of the Weird <woods@weird.com>