j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
This prevents the Solaris 8 kernel from freezing during boot after detecting the serial ports.
Signed-off-by: Mark Cave-Ayland mark.cave-ayland@siriusit.co.uk --- openbios-devel/drivers/escc.c | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/openbios-devel/drivers/escc.c b/openbios-devel/drivers/escc.c index ef431b2..892dc8c 100644 --- a/openbios-devel/drivers/escc.c +++ b/openbios-devel/drivers/escc.c @@ -342,6 +342,16 @@ ob_zs_init(phys_addr_t base, uint64_t offset, int intr, int slave, int keyboard)
ob_intr(intr);
+ PUSH(0); + PUSH(0); + push_str("port-a-ignore-cd"); + fword("property"); + + PUSH(0); + PUSH(0); + push_str("port-b-ignore-cd"); + fword("property"); + fword("finish-device");
snprintf(nodebuff, sizeof(nodebuff), "/obio/zs@0,%x",
On 2011-Apr-22 02:58 , Mark Cave-Ayland wrote:
This prevents the Solaris 8 kernel from freezing during boot after detecting the serial ports.
You might be amused to note that when we powered on the first Positron (predecessor to the Ultra 30, back in the mid 90s), we spent two days debugging a frozen system. We could see it fetch instructions, but it never so much as peeped on the console.
It turned out that serial chip (early version of Siemens 82532) was hard-wired to not send characters if CTS was down. We knew that chip had the problem and had prepared for it. Then the day before powering up the freshly-arrived system, someone had moved stuff around and replaced the full serial cable with a longer "tip" cable that had only TxD and RxD, rather than the full complement of RS232 data set lead wires. The correct cable was too short to reach the new location of the debug station.
Much hilarity ensued.
Congratulations, by the way.
On Fri, Apr 22, 2011 at 9:58 AM, Mark Cave-Ayland mark.cave-ayland@siriusit.co.uk wrote:
This prevents the Solaris 8 kernel from freezing during boot after detecting the serial ports.
Signed-off-by: Mark Cave-Ayland mark.cave-ayland@siriusit.co.uk
This also matches OBP properties.
Reviewed-by: Blue Swirl blauwirbel@gmail.com