NetBSD Problem Report #55826

From john@amanda.zia.io  Thu Nov 26 16:40:12 2020
Return-Path: <john@amanda.zia.io>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id B60D01A9217
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 26 Nov 2020 16:40:11 +0000 (UTC)
Message-Id: <20201126164006.34646928BEE@amanda.zia.io>
Date: Thu, 26 Nov 2020 16:40:04 +0000 (UTC)
From: john@ziaspace.com
Reply-To: john@ziaspace.com
To: gnats-bugs@NetBSD.org
Subject: Serial console on landisk doesn't work in single user mode
X-Send-Pr-Version: 3.95

>Number:         55826
>Category:       port-sh3
>Synopsis:       Serial console on Landisk doesn't work in single user mode
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-sh3-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 26 16:45:00 +0000 2020
>Last-Modified:  Thu Nov 26 17:45:01 +0000 2020
>Originator:     John Klos
>Release:        NetBSD 9.1_STABLE
>Organization:

>Environment:


System: NetBSD amanda.zia.io 9.1_STABLE NetBSD 9.1_STABLE (GENERIC) #0: Wed Nov 25 21:35:58 UTC 2020 john@frigg.zia.io:/usr/obj-landisk/sys/arch/landisk/compile/GENERIC landisk
Architecture: sh3el
Machine: landisk
>Description:

When booting NetBSD 9.1 on landisk (Plextor) in single user mode, no console appears:

[   2.3903491] boot device: wd0
[   2.4216506] root on wd0a dumps on wd0b
(nothing - no response)

The serial console works when multi-user and in the boot menu, but not in single user.
The power button works, though:

[  37.3121311] pwrsw0: power button pressed, shutting down!
[  37.3683361] syncing disks... done
[  37.4081005] unmounting file systems...
[  37.4530922] unmounting done

>How-To-Repeat:

>Fix:


>Audit-Trail:
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: port-sh3/55826: Serial console on landisk doesn't work in single
 user mode
Date: Thu, 26 Nov 2020 17:54:07 +0100

 FWIW: works for me in -current with Model: I-O DATA LANDISK

 [   1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
 [   1.0000000]     2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017,
 [   1.0000000]     2018, 2019, 2020 The NetBSD Foundation, Inc.  All rights reserved.
 [   1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
 [   1.0000000]     The Regents of the University of California.  All rights reserved.

 [   1.0000000] NetBSD 9.99.75 (GENERIC) #78: Mon Nov 23 10:04:26 CET 2020
 [   1.0000000]  martin@seven-days-to-the-wolves.aprisoft.de:/work/src/sys/arch/landisk/compile/GENERIC
 [   1.0000000] Model: I-O DATA LANDISK
 [   1.0000000] total memory = 65536 KB
 [   1.0000000] avail memory = 59704 KB
 [..]
 [   1.0000000] scif0 at shb0
 [   1.0000000] scif0: console
 [..]
 [   4.7726661] root on wd0a dumps on wd0b
 [   4.8278763] kern.module.path=/stand/landisk/9.99.75/modules
 Enter pathname of shell or RETURN for /bin/sh: 
 We recommend that you create a non-root account and use su(1) for root access.
 # df
 Filesystem      1K-blocks         Used        Avail %Cap Mounted on
 root_device       7450878      4010666      3067670  56% /


 Martin

From: Valery Ushakov <uwe@stderr.spb.ru>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: port-sh3/55826: Serial console on landisk doesn't work in single
 user mode
Date: Thu, 26 Nov 2020 19:59:23 +0300

 Just in case, do you have both /dev/console and /dev/constty?

 -uwe

From: John Klos <john@ziaspace.com>
To: gnats-bugs@netbsd.org
Cc: port-sh3-maintainer@netbsd.org, gnats-admin@netbsd.org,
        netbsd-bugs@netbsd.org
Subject: Re: port-sh3/55826: Serial console on landisk doesn't work in single
 user mode
Date: Thu, 26 Nov 2020 17:43:31 +0000 (UTC)

 > Just in case, do you have both /dev/console and /dev/constty?

 crw-------   1 root  wheel       0,       0 Nov 26 16:40 console
 crw-------   1 root  wheel       0,       1 Nov 26 04:16 constty

 John

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.