NetBSD Problem Report #26434

Received: (qmail 19313 invoked by uid 605); 26 Jul 2004 14:55:57 -0000
Message-Id: <20040726145554.3273F3C82@orthanc.coris.org.uk>
Date: Mon, 26 Jul 2004 15:55:54 +0100 (BST)
From: jdc@coris.org.uk
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: jdc@coris.org.uk
To: gnats-bugs@gnats.netbsd.org
Subject: Cannot use serial ports with console on Ultra 60
X-Send-Pr-Version: 3.95

>Number:         26434
>Category:       port-sparc64
>Synopsis:       Trying to use serial ports breaks console input on Ultra 60
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-sparc64-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 26 14:56:00 +0000 2004
>Closed-Date:    
>Last-Modified:  Wed Jun 06 15:15:03 +0000 2007
>Originator:     Julian Coleman
>Release:        NetBSD 2.0G
>Organization:
>Environment:
System: NetBSD sirion 2.0G NetBSD 2.0G (ULTRA60) #0: Thu Jul 15 11:09:19 BST 200
4 root@sirion:/usr/obj/sys/arch/sparc64/compile/ULTRA60 sparc64
Architecture: sparc64
Machine: sparc64
>Description:
	When using keyboard/monitor as console on an Ultra 60, trying to
	use the serial ports makes keyboard/mouse input stop.

>How-To-Repeat:
	Attach keyboard/monitor to Ultra 60 and use as console.
	Type `cu -l /dev/ttyC00 dir`.
	Observe that keyboard input/mouse is no longer recognised.

>Fix:
	Unknown.
>Release-Note:
>Audit-Trail:

From: john heasley <heas@shrubbery.net>
To: jdc@coris.org.uk
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: port-sparc64/26434: Cannot use serial ports with console on Ultra 60
Date: Mon, 26 Jul 2004 08:02:57 -0700

 Mon, Jul 26, 2004 at 03:55:54PM +0100, jdc@coris.org.uk:
 > 	Attach keyboard/monitor to Ultra 60 and use as console.
 > 	Type `cu -l /dev/ttyC00 dir`.
 > 	Observe that keyboard input/mouse is no longer recognised.

 there are two serial chips on the u60, a com(4) which connects to
 the keyboard and mouse and a sab(4) that corresponds to the db25s
 on the back.  you want to use the correct devices for the sab ports,
 ttyh*

From: Julian Coleman <jdc@coris.org.uk>
To: john heasley <heas@shrubbery.net>
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: port-sparc64/26434: Cannot use serial ports with console on Ultra 60
Date: Mon, 26 Jul 2004 16:11:34 +0100

 > there are two serial chips on the u60, a com(4) which connects to
 > the keyboard and mouse and a sab(4) that corresponds to the db25s
 > on the back.  you want to use the correct devices for the sab ports,
 > ttyh*

 Argh!  Thanks.  Would it be sensible to rename these?  Maybe C00 -> kbd and
 C01 -> mouse?

 J

 -- 
   My other computer also runs NetBSD    /        Sailing at Newbiggin
         http://www.netbsd.org/        /   http://www.newbigginsailingclub.org/

From: john heasley <heas@shrubbery.net>
To: Julian Coleman <jdc@coris.org.uk>
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: port-sparc64/26434: Cannot use serial ports with console on Ultra 60
Date: Mon, 26 Jul 2004 08:58:43 -0700

 Mon, Jul 26, 2004 at 04:11:34PM +0100, Julian Coleman:
 > > there are two serial chips on the u60, a com(4) which connects to
 > > the keyboard and mouse and a sab(4) that corresponds to the db25s
 > > on the back.  you want to use the correct devices for the sab ports,
 > > ttyh*
 > 
 > Argh!  Thanks.  Would it be sensible to rename these?  Maybe C00 -> kbd and
 > C01 -> mouse?

 It is platform dependant; for example, the netra only has a com(4) chip,
 one port is the console and the other is "ttyb".  So you could rename
 them on your machine, but MAKEDEV(8) does not take the platform into
 consideration.
From: Pierre Pronchery <khorben@defora.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: port-sparc64/26434: Cannot use serial ports with console on Ultra
 60
Date: Wed, 06 Jun 2007 16:03:21 +0200

 Shouldn't this bug be closed now?

 Even though it's a bad thing that root can mangle with the keyboard and
 mouse devices, only root can do it by default; not much more can be done
 about it...

 HTH,
 -- 
 khorben

From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc: jdc@coris.org.uk
Subject: Re: port-sparc64/26434: Cannot use serial ports with console on Ultra 60
Date: Wed, 6 Jun 2007 17:12:52 +0200

 We should prevent the internally used ports to be opened from userland.

 Martin

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