Subject: port-sparc/9136: it's a wise system that knoweth where it comes (boots) from
To: None <gnats-bugs@gnats.netbsd.org>
From: Matthew Jacob <mjacob@feral.com>
List: netbsd-bugs
Date: 01/08/2000 03:49:39
>Number:         9136
>Category:       port-sparc
>Synopsis:       it's a wise system that knoweth where it comes (boots) from
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-sparc-maintainer (NetBSD/sparc Portmaster)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan  6 10:50:59 2000
>Last-Modified:
>Originator:     
>Organization:
	Feral Software
>Release:        6 January 1999
>Environment:
	
System: NetBSD pallet 1.4P NetBSD 1.4P (PALLET) #3: Thu Jan 6 09:21:03 PST 2000 mjacob@pallet:/usr/src/sys/arch/sparc/compile/PALLET sparc

64MB 390z55 Viking 50MHZ SS10.

OBP is early, but not too early: 2.13 Beta

NetBSD boot code is:
	NetBSD/sparc Secondary Boot, Revision 1.9
	(pk@flambard, Tue Oct 19 11:10:24 MEST 1999)

>Description:

I'm doing a bit of a tokyo two step to install 1.4.2, so I moved my
-current instanation from sd2 to sd7 on my Sparc 10. The boot line
which I have to give the prom has no devalias, so it's a direct OBP
path:

boot /iommu@f,e0000000/sbus@f,e0001000/QLGC,isp@2,10000/sd@b:a netbsd

So, all loads well and fine, but the kernel can't figure out
what root is (see below). It doesn't look like complicated OBP paths
are being parsed right. I vaguely recall filing a similar PR, maybe
even still open, years ago....


console is ttya
Copyright (c) 1996, 1997, 1998, 1999, 2000
    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.4P (PALLET) #3: Thu Jan  6 09:21:03 PST 2000
    mjacob@pallet:/usr/src/sys/arch/sparc/compile/PALLET
total memory = 64748 KB
avail memory = 57556 KB
using 834 buffers containing 3336 KB of memory
bootpath: /iommu@f,e0000000/sbus@f,e0001000/QLGC,isp@2,10000/sd@b,0
mainbus0 (root): SUNW,SPARCstation-10
cpu0 at mainbus0: TMS390Z50 v0 or TMS390Z55 @ 50 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 (eeprom)
timer0 at obio0 slot 0 offset 0x300000 delay constant 23
zs0 at obio0 slot 0 offset 0x100000 level 12 softpri 6
zstty0 at zs0 channel 0 (console)
zstty1 at zs0 channel 1
zs at obio0 slot 0 offset 0x0 level 12 not configured
SUNW,fdtwo at obio0 slot 0 offset 0x700000 level 11 not configured
auxreg0 at obio0 slot 0 offset 0x800000
power0 at obio0 slot 0 offset 0xa01000 level 2
iommu0 at mainbus0 ioaddr 0xe0000000: version 0x1/0x0, page-size 4096, range 64MB
sbus0 at iommu0: clock = 20 MHz
dma0 at sbus0 slot 15 offset 0x400000: rev 2
esp0 at dma0 slot 15 offset 0x800000 level 4: ESP200, 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 08:00:20:10:d8:0b
le0: 8 receive buffers, 2 transmit buffers
SUNW,bpp at sbus0 slot 15 offset 0x4800000 level 2 (ipl 3) not configured
SUNW,DBRId at sbus0 slot 15 offset 0x8010000 level 9 not configured
dma1 at sbus0 slot 0 offset 0x400000: rev 1+
esp1 at sbus0 slot 0 offset 0x800000 level 5: ESP200, 20MHz, SCSI ID 7
scsibus1 at esp1: 8 targets, 8 luns per target
PTI,sbs430 at sbus0 slot 0 offset 0x800000 not configured
dma2 at sbus0 slot 1 offset 0x400000: rev 1+
esp2 at sbus0 slot 1 offset 0x800000 level 5: ESP200, 20MHz, SCSI ID 7
scsibus2 at esp2: 8 targets, 8 luns per target
PTI,sbs430 at sbus0 slot 1 offset 0x800000 not configured
isp0 at sbus0 slot 2 offset 0x10000 level 3 (ipl 5) for QLGC,isp
isp0: Differential Mode
isp0: Board Revision 1020A, loaded F/W Revision 1.31.0
isp0: Last F/W revision was 1.16.0
isp0: 1040 max I/O commands supported
isp0: driver initiated bus reset of bus 0
scsibus3 at isp0: 16 targets, 8 luns per target
eccmemctl0 at mainbus0: version 0x0/0x1
scsibus0: waiting 2 seconds for devices to settle...
probe(esp0:0:0): max sync rate 10.00Mb/s
sd0 at scsibus0 targ 0 lun 0: <QUANTUM, PD1225S, 3142> SCSI2 0/direct fixed
sd0: 1169 MB, 2448 cyl, 14 head, 69 sec, 512 bytes/sect x 2395980 sectors
probe(esp0:1:0): max sync rate 5.00Mb/s
sd1 at scsibus0 targ 1 lun 0: <SEAGATE, ST1480   SUN0424, 7516> SCSI2 0/direct fixed
sd1: 411 MB, 1476 cyl, 9 head, 63 sec, 512 bytes/sect x 843284 sectors
probe(esp0:2:0): max sync rate 10.00Mb/s
sd2 at scsibus0 targ 2 lun 0: <MICROP, 2217-15MQ1091501, 4930> SCSI2 0/direct fixed
sd2: 1683 MB, 2372 cyl, 15 head, 96 sec, 512 bytes/sect x 3447008 sectors
probe(esp0:3:0): max sync rate 10.00Mb/s
sd3 at scsibus0 targ 3 lun 0: <SEAGATE, ST31200N SUN1.05, 9424> SCSI2 0/direct fixed
sd3: 1006 MB, 2700 cyl, 9 head, 84 sec, 512 bytes/sect x 2061108 sectors
scsibus1: waiting 2 seconds for devices to settle...
scsibus2: waiting 2 seconds for devices to settle...
scsibus3: waiting 2 seconds for devices to settle...
isp0: Bus 0 Target 8 Async Mode
sd4 at scsibus3 targ 8 lun 0: <SEAGATE, ST19171W SUN9.0G, 0776> SCSI2 0/direct fixed
sd4: 8637 MB, 4926 cyl, 27 head, 133 sec, 512 bytes/sect x 17689267 sectors
isp0: Bus 0 Target 9 Async Mode
sd5 at scsibus3 targ 9 lun 0: <SEAGATE, ST19171W SUN9.0G, 0776> SCSI2 0/direct fixed
sd5: 8637 MB, 4926 cyl, 27 head, 133 sec, 512 bytes/sect x 17689267 sectors
isp0: Bus 0 Target 10 Async Mode
sd6 at scsibus3 targ 10 lun 0: <SEAGATE, ST19171W SUN9.0G, 0776> SCSI2 0/direct fixed
sd6: 8637 MB, 4926 cyl, 27 head, 133 sec, 512 bytes/sect x 17689267 sectors
isp0: Bus 0 Target 11 Async Mode
sd7 at scsibus3 targ 11 lun 0: <SEAGATE, ST19171W SUN9.0G, 0776> SCSI2 0/direct fixed
sd7: 8637 MB, 4926 cyl, 27 head, 133 sec, 512 bytes/sect x 17689267 sectors
uk0 at scsibus3 targ 15 lun 0: <SYMBIOS, , 2> SCSI2 3/processor fixed
uk0: unknown device
root device: sd7a
	     ^^^^^ THIS HAD TO BE ENTERED BY HAND
dump device (default sd7b): 
file system (default generic): ffs
			       ^^^ THIS WAS HAND ADDED, BUT WASN'T NECESSARY
root on sd7a dumps on sd7b
isp0: Bus 0 Target 11 at 10MHz Max Offset 12, 16 bit wide, Tagged Queueing Enabled
isp0: Bus 0 Target 11 at 10MHz Max Offset 12, 16 bit wide, Tagged Queueing Enabled
isp0: Bus 0 Target 11 at 10MHz Max Offset 12, 16 bit wide, Tagged Queueing Enabled
isp0: Bus 0 Target 11 at 10MHz Max Offset 12, 16 bit wide, Tagged Queueing Enabled
swapctl: adding /dev/sd7b as swap device at priority 0
Automatic boot in progress: starting file system checks.
/dev/rsd7a: file system is clean; not checking
/dev/rsd7g: file system is clean; not checking
setting tty flags
starting network
hostname: pallet
domainname: YP.Feral.COM
configuring network interfaces: le0.
add net default: gateway 192.67.166.126
adding interface aliases:
building databases...
starting system logger
checking for core dump...
savecore: no core dump
Setting date via ntp.
starting rpc daemons: portmap ypbind.
starting nfs daemons: nfsiod.
setting securelevel: kern.securelevel: 0 -> 1
checking quotas: done.
clearing /tmp
updating motd.
standard daemons: update cron.
starting network daemons: xntpd inetd.
starting local daemons:.
Thu Jan  6 10:41:12 PST 2000

NetBSD/sparc (pallet) (console)

login: 


>How-To-Repeat:
	
>Fix:
	
>Audit-Trail:
>Unformatted: