Subject: Re: still problems with booting NetBSD 1.4.2ALPHA on serial console (SS-1)
To: NetBSD/sparc Discussion List <port-sparc@netbsd.org>
From: Greg A. Woods <woods@most.weird.com>
List: port-sparc
Date: 01/22/2000 17:34:48
[ On Saturday, January 15, 2000 at 16:16:08 (-0800), Greywolf wrote: ]
> Subject: Re: still problems with booting NetBSD 1.4.2ALPHA on serial console  (SS-1)
>
> On Sat, 15 Jan 2000, Greg A. Woods wrote:
> 
> # I think this has been mentioned before, but I was just fooling around
> # with my old 1.3.1 SS-1 and thought I'd try the 1.4.2ALPHA kernel from
> # the sparc/snapshot directory to see if it worked any better than 1.4
> # did.  Unfortunately it doesn't:
> 
> What's your PROM rev?

1.1

> # 
> # ok boot /netbsd-1.4.2A-GENERIC -s
> # Booting from: sd(0,0,0)/netbsd-1.4.2A-GENERIC -s 
> # >> NetBSD/sparc Secondary Boot, Revision 1.7
> # >> (pk@flambard, Thu Mar 12 12:57:35 MET 1998)
> 
> ...!
> 
> That boot block looks kinda crufty...is that the most recent version of
> the boot blocks?

I have no idea.  It boots 1.3.1 (and 1.3.2 IIRC) just fine but not 1.4
or newer.  I remember someone describing what I think was an identical
problem with 1.4 on similar machines and I was hoping it would be fixed
for 1.4.2.

If indeed the boot blocks are part of the problem then they need to be
shipped with the kernel so folks upgrading like me can do so successfully.

> # Note that the PROM's input-device and output-device are both set to ttya
> 
> ...are you connected via serial console, or do you have an FB in there
> somewhere?

Of course I'm using the serial console -- thats why I mentioned "ttya"  :-)

No, there's no frame buffer or keyboard or mouse connected.  The machine
has just RAM and one very small internal SCSI disk connected.

Here's a complete boot of 1.3.1 from ttya (at 9600,8,n,1,-):

ok reset
SPARCstation 1
ROM Rev. 1.1, 16 MB memory installed, Serial #NNNNN.
Ethernet address 8:0:20:8:78:30, Host ID: FFFFFFFF.


Testing
Booting from: sd(0,0,0) 
>> NetBSD/sparc Secondary Boot, Revision 1.7
>> (pk@flambard, Thu Mar 12 12:57:35 MET 1998)
Booting netbsd @ 0x4000
1228800+87008+94440+[70596+80269]=0x181221
[ preserving 150876 bytes of netbsd symbol table ]
console is ttya
zs_kgdb_init: attaching ttyb at 38400 baud
Copyright (c) 1996, 1997 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.3.1 (MOST) #0: Tue Apr 14 00:14:18 EDT 1998
    woods@most:/usr/src-1.3/sys/arch/sparc/compile/MOST
real mem = 16728064
avail mem = 14217216
using 128 buffers containing 524288 bytes of memory
bootpath: /sbus0/esp0/sd@0,0
mainbus0 (root): Sun 4/60
cpu0 at mainbus0: MB86900/1A or L64801 @ 20 MHz, WTL3170/2 FPU
cpu0: 64K byte write-through, 16 bytes/line, sw flush: cache enabled
memreg0 at mainbus0 ioaddr 0xf4000000
clock0 at mainbus0 ioaddr 0xf2000000: mk48t02 (eeprom)
timer0 at mainbus0 ioaddr 0xf3000000 delay constant 7
auxreg0 at mainbus0 ioaddr 0xf7400000
zs0 at mainbus0 ioaddr 0xf1000000 pri 12, softpri 6
zstty0 at zs0 channel 0 (console)
zstty1 at zs0 channel 1 (kgdb)
zs1 at mainbus0 ioaddr 0xf0000000 pri 12, softpri 6
kbd0 at zs1 channel 0
ms0 at zs1 channel 1
fdc0 at mainbus0 ioaddr 0xf7200000 pri 11, softpri 4: chip 82072
audioamd0 at mainbus0 ioaddr 0xf7201000 pri 13, softpri 4
audio0 at audioamd0
sbus0 at mainbus0 ioaddr 0xf8000000: clock = 25 MHz
dma0 at sbus0 slot 0 offset 0x400000: rev 1
esp0 at sbus0 slot 0 offset 0x800000 pri 3: ESP100, 25MHz, SCSI ID 7
scsibus0 at esp0: 8 targets
sd0 at scsibus0 targ 3 lun 0: <MAXTOR, 7120SCS, 3235> SCSI1 0/direct fixed
sd0: 121MB, 1498 cyl, 4 head, 41 sec, 512 bytes/sect x 248502 sectors
le0 at sbus0 slot 0 offset 0xc00000 pri 5: address 08:00:20:08:78:30
le0: 8 receive buffers, 2 transmit buffers
root on sd0a dumps on sd0b
WARNING: clock gained 7 days -- CHECK AND RESET THE DATE!
root file system type: ffs
swapctl: adding /dev/sd0b as swap device at priority 0
Automatic boot in progress: starting file system checks.
/dev/rsd0a: file system is clean; not checking
/dev/rsd0g: file system is clean; not checking
setting tty flags
ttyflags: open /dev/ttyb: Device busy
starting network
hostname: hostname
domainname: .weird.coM
installing packet filter rules ... 
IP Filter: not initialized
IP Filter: initialized.  Default = pass all, Logging = enabled
configuring network interfaces: le0.
add net default: gateway 204.92.254.NNN
adding interface aliases:
add host 204.29.161.NNN: gateway 127.0.0.1
starting system logger
starting ipmon
checking for core dump...
savecore: no core dump
Setting date via ntp.
starting rpc daemons: portmap.
starting nfs daemons: nfsiod rpc.statd rpc.lockd.
creating runtime link editor directory cache.
checking quotas: done.
building databases...
clearing /tmp
updating motd.
standard daemons: update cron.
starting network daemons: xntpd rwhod inetd.
starting local daemons:.
Sat Jan 22 17:24:48 EST 2000
Jan 22 17:24:49 hostname init: kernel security level changed from 0 to 1

NetBSD/sparc (hostname) (console)

login: Jan 22 17:24:54 hostname /netbsd: zstty0: 1 silo overflow, 0 ibuf floods



-- 
							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>