NetBSD Problem Report #39849

From www@NetBSD.org  Sun Nov  2 05:46:23 2008
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 1EED263BAB3
	for <gnats-bugs@gnats.netbsd.org>; Sun,  2 Nov 2008 05:46:23 +0000 (UTC)
Message-Id: <20081102054622.E883663B88A@narn.NetBSD.org>
Date: Sun,  2 Nov 2008 05:46:22 +0000 (UTC)
From: dross@pobox.com
Reply-To: dross@pobox.com
To: gnats-bugs@NetBSD.org
Subject: netbsd-ATARITT kernel fails on Atari TT030
X-Send-Pr-Version: www-1.0

>Number:         39849
>Category:       port-atari
>Synopsis:       netbsd-ATARITT kernel fails with serial port connected
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    tsutsui
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 02 05:50:01 +0000 2008
>Closed-Date:    Sat Nov 20 02:01:54 +0000 2010
>Last-Modified:  Sat Nov 20 02:01:54 +0000 2010
>Originator:     David Ross
>Release:        4.0
>Organization:
>Environment:
n/a
>Description:
There are several versions of the NetBSD Atari kernel.  I frequently use the "BOOT" and "ATARITT" versions on my Atari TT030.  The ATARITT verion of the kernel is necessary for me to do an install via ethernet.  On NetBSD 1.6.1, both kernels work great, however I've recently been working on getting up to NetBSD 4.0 and I've hit a blocker.  Specifically, while the BOOT kernel works just fine on 4.0, the ATARITT kernel does not.  Before displaying any text, the 4.0 ATARITT kernel displays garbled video and fails.

Note that this problem occurs with 4.0 and the daily "head" release, in this case: ftp://ftp.netbsd.org/pub/NetBSD-daily/HEAD/200810310002Z/atari/binary/kernel/netbsd-ATARITT.gz
>How-To-Repeat:
1.  Get on an ATARI TT030 with enough RAM to run NetBSD properly.
2.  Use loadbsd.ttp from TOS to boot the netbsd-BOOT kernel from:
ftp://ftp.netbsd.org/pub/NetBSD-daily/HEAD/200810310002Z/atari/binary/kernel/
3.  Observe that the kernel boots to the root filesystem prompt.
4.  Use loadbsd.ttp from TOS to boot the netbsd-ATARITT kernel from the same directory as above.
5.  Observe garbled video and the boot fails.
>Fix:
Unknown

>Release-Note:

>Audit-Trail:
From: "David Ross" <dross@pobox.com>
To: <gnats-bugs@NetBSD.org>
Cc: 
Subject: Re: port-atari/39849: netbsd-ATARITT kernel fails on Atari TT030
Date: Sun, 2 Nov 2008 12:41:15 -0800

 It turns out that this was due to a cable plugged into the serial port (null 
 modem to a PC).  Removing this allows the kernel to boot just fine.

 So please lower the severity on this PR or close it down entirely.

 Thank you!

 David Ross
 dross@pobox.com

 ----- Original Message ----- 
 From: <gnats-admin@netbsd.org>
 To: <dross@pobox.com>
 Sent: Saturday, November 01, 2008 9:50 PM
 Subject: Re: port-atari/39849: netbsd-ATARITT kernel fails on Atari TT030


 > Thank you very much for your problem report.
 > It has the internal identification `port-atari/39849'.
 > The individual assigned to look at your
 > report is: port-atari-maintainer.
 >
 >>Category:       port-atari
 >>Responsible:    port-atari-maintainer
 >>Synopsis:       netbsd-ATARITT kernel fails on Atari TT030
 >>Arrival-Date:   Sun Nov 02 05:50:01 +0000 2008
 >
 > 

From: David Brownlee <abs@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc: dross@pobox.com, tjamaloo@gmail.com
Subject: Re: port-atari/39849: netbsd-ATARITT kernel fails with serial port
 connected
Date: Tue, 4 Nov 2008 15:25:35 +0000 (GMT)

  	I've adjusted the Synopsis and priority for this bug.

  	I wonder if the kernel might be trying to enable that serial
  	port as the serial console.

  	Could you repeat the test and run some terminal program on the
  	other end. If you are using Windows you may want to look at
  	PuTTY as an ssh and serial client:

 http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
 http://the.earth.li/~sgtatham/putty/0.60/htmldoc/Chapter3.html#using-serial

  	As a first test you may want to add the following to /etc/ttys

 ttyA0    "/usr/libexec/getty std.9600"   unknown on secure
 ttyA1    "/usr/libexec/getty std.9600"   unknown on secure

  	then boot normally and finally connect up the serial line to the
  	PC. The above change should try to run getty to permit login on
  	channel a and b on zs0. If you get a login prompt on putty then
  	you know the serial link and settings are good, then you can try
  	booting with the null-modem attached.



 -- 
  		David/absolute       -- www.NetBSD.org: No hype required --

From: Izumi Tsutsui <tsutsui@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/39849 CVS commit: src/sys/arch/atari/dev
Date: Fri, 9 Apr 2010 11:09:03 +0000

 Module Name:	src
 Committed By:	tsutsui
 Date:		Fri Apr  9 11:09:03 UTC 2010

 Modified Files:
 	src/sys/arch/atari/dev: ser.c

 Log Message:
 Make options SERCONSOLE (force serial console if DCD is detected)
 patchable by binpatch(8) like:
 ---
 # binpatch -s serconsole -r 0 /netbsd
 serconsole(0x23bac4): 0x00000001 (1), at offset 0x23bb44 in /netbsd
 new value: 0x00000000 (0)
 #
 ---

 May work around PR port-atari/39849
 (netbsd-ATARITT kernel fails with serial port connected)
 and some old TT030 with early revision boards.


 To generate a diff of this commit:
 cvs rdiff -u -r1.48 -r1.49 src/sys/arch/atari/dev/ser.c

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: Izumi Tsutsui <tsutsui@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/39849 CVS commit: src/sys/arch/atari/conf
Date: Sat, 10 Apr 2010 02:27:52 +0000

 Module Name:	src
 Committed By:	tsutsui
 Date:		Sat Apr 10 02:27:52 UTC 2010

 Modified Files:
 	src/sys/arch/atari/conf: GENERIC.in

 Log Message:
 Disable options SERCONSOLE (force serial console if DCD is detected)
 because now it's patchable by binpatch(8).

 Enabling serial console by DCD signal could be problematic
 on some earlier TT030 (with revision A board), and it's also
 annoying for users who connect an active device on the serial port
 as mentioned in PR port-atari/39849.

 XXX: Eventually serial console should be enabled by MD bootloader flags,
 XXX: but I have no idea how to build bootloader binaries for TOS.


 To generate a diff of this commit:
 cvs rdiff -u -r1.85 -r1.86 src/sys/arch/atari/conf/GENERIC.in

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

Responsible-Changed-From-To: port-atari-maintainer->tsutsui
Responsible-Changed-By: tsutsui@NetBSD.org
Responsible-Changed-When: Mon, 10 May 2010 01:02:50 +0900
Responsible-Changed-Why:
I committed changes.


State-Changed-From-To: open->pending-pullups
State-Changed-By: tsutsui@NetBSD.org
State-Changed-When: Mon, 10 May 2010 01:02:50 +0900
State-Changed-Why:
pullup-5 #1368


From: "Jeff Rizzo" <riz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/39849 CVS commit: [netbsd-5] src/sys/arch/atari
Date: Sat, 20 Nov 2010 00:47:57 +0000

 Module Name:	src
 Committed By:	riz
 Date:		Sat Nov 20 00:47:56 UTC 2010

 Modified Files:
 	src/sys/arch/atari/conf [netbsd-5]: GENERIC.in
 	src/sys/arch/atari/dev [netbsd-5]: ser.c

 Log Message:
 Pull up following revision(s) (requested by tsutsui in ticket #1368):
 	sys/arch/atari/dev/ser.c: revision 1.49
 	sys/arch/atari/conf/GENERIC.in: revision 1.86
 Make options SERCONSOLE (force serial console if DCD is detected)
 patchable by binpatch(8) like:
 ---
 serconsole(0x23bac4): 0x00000001 (1), at offset 0x23bb44 in /netbsd
 new value: 0x00000000 (0)
 ---
 May work around PR port-atari/39849
 (netbsd-ATARITT kernel fails with serial port connected)
 and some old TT030 with early revision boards.
 Disable options SERCONSOLE (force serial console if DCD is detected)
 because now it's patchable by binpatch(8).
 Enabling serial console by DCD signal could be problematic
 on some earlier TT030 (with revision A board), and it's also
 annoying for users who connect an active device on the serial port
 as mentioned in PR port-atari/39849.
 XXX: Eventually serial console should be enabled by MD bootloader flags,
 XXX: but I have no idea how to build bootloader binaries for TOS.


 To generate a diff of this commit:
 cvs rdiff -u -r1.73.4.7 -r1.73.4.8 src/sys/arch/atari/conf/GENERIC.in
 cvs rdiff -u -r1.39 -r1.39.6.1 src/sys/arch/atari/dev/ser.c

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: pending-pullups->closed
State-Changed-By: tsutsui@NetBSD.org
State-Changed-When: Sat, 20 Nov 2010 11:01:54 +0900
State-Changed-Why:
pullup done.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.