Subject: port-sparc/7409: SS2, PROM version 2.2 serial console problems
To: None <firstname.lastname@example.org>
From: Brad Spencer <email@example.com>
Date: 04/17/1999 07:50:54
>Synopsis: SS2, PROM version 2.2 serial console problems
>Responsible: port-sparc-maintainer (NetBSD/sparc Portmaster)
>Arrival-Date: Sat Apr 17 07:50:01 1999
>Originator: Brad Spencer
Sitting at home
>Release: NetBSD-1.4_ALPHA supped around 4/14/1999
System: NetBSD valinor.eldar.org 1.4_ALPHA NetBSD 1.4_ALPHA (VALINOR) #2: Fri Apr 16 23:45:35 EDT 1999 firstname.lastname@example.org:/usr/src/sys/arch/sparc/compile/VALINOR sparc
When updating my Sparc 2, which uses a serial console, with PROM
version 2.2 from NetBSD 1.3E to NetBSD 1.4_ALPHA, the new kernel would
not boot. It complained with the following lines:
ok boot netbsd.new2 -s
Boot device: /sbus/esp@0,800000/sd@3,0 File and args: netbsd.new2 -s
Boot a new kernel on a Sparc 2 with older PROMs.
Well... I don't have a proper fix, however, the PROM does have a
couple of "variables" that are set to ttya. If possible, falling back
to those might be a good thing.
[BTW - this particular machine appears to *not* fall back to the
serial console when the keyboard is removed. When I fist installed
this machine, I had to borrow a 13W3<->HD-15 video adaptor so I could
set the eeprom to use ttya as the console input and output device]
>> NetBSD BOOT [$Revision: 1.4 $]
Booting netbsd.new2 @ 0x4000
OBP version 2, revision 2.2 (plugin rev 2)
Warning: unparseable stdin-path property
Warning: unparseable stdout-path property
cninit: invalid inSource=0xffffffff
Type 'go' to resume
The messages are from /sys/arch/sparc/dev/zs.c. In particular, the
failed to figure out anything from the properties 'stdin-path' and
'stdout-path'. Adding some more debugging would seem to indicate that
these properties do not exist or are set to nothing.
Wiring down the above function to return PROMDEV_TTYA allowed things
to proceed along.
Prior to updating my Sparc 2, I updated my IPX which is basically the
same in terms of OS and the like. Except that it has PROM version
2.3. There was not a single complaint.