NetBSD Problem Report #56545

From ocb@dc.localdomain  Sun Dec 12 01:30:26 2021
Return-Path: <ocb@dc.localdomain>
Received: from ( [])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "", Issuer " CA" (not verified))
	by (Postfix) with ESMTPS id 8C2841A923A
	for <>; Sun, 12 Dec 2021 01:30:26 +0000 (UTC)
Message-Id: <20211212003517.93B8A177F96@dc.localdomain>
Date: Thu,  9 Dec 2021 15:42:16 +0000 (UTC)
Subject: rpi return key fatal kernel 
X-Send-Pr-Version: 3.95

>Number:         56545
>Category:       port-evbarm
>Synopsis:       fatal kernel by holding return key on boot with keyboard attached
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-evbarm-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   unknown
>Arrival-Date:   Sun Dec 12 01:35:00 +0000 2021
>Last-Modified:  Sun Dec 12 07:59:28 +0000 2021
>Release:        NetBSD 9.9.92


the issue is observed on rpi 3a plus running 9.9.92. was unable to replicate with stable. when rpi is booted without usb keyboard attached and is attached later then login works. but if rpi is booted with usb keyboard attached and return key is pressed multiple times or holded before or after login prompt is shown then a fatal kernel will appear. 

Starting root file system check:
uhub0: port1, device not enabled
dwc_host_complete: unknown error status -54  ----> for every pressed return, message repeats up to 10 times in total
uhub0: device problem, disabling port 1
uhub0: port 1, device not enabled
uvm_fault(0x80beb0d0, 0, 2) -> e
Fatal kernel mode data abort: 'Translation fault (S)'
trapframe: 0xa5e0cc38
FSR=00000805, FAR=0000000a, spsr=20010013
r0 =00000000, r1 =f3980000, r2 =00000001, r3 =00000000
r4 =90bd4e80, r5 =00000000, r6 =90ed106c, r7 =00000000
r8 =8009fac0, r9 =90be8838, r10=90ed10c0, r11=ate0cc9c
r12=90b20380, ssp=a5e0cc88, slr=8038f71c, pc =80391798

Stopped in pid 0.203 (system) at netbsd:dwc2_queue_transaction+0x68
strb   r5,  [r3, #0x00a]

-- also happens by randomly disconnecting and connecting usb keyboard from the usb port on rpi, but stops at different place - usbd_get_interface_descriptor+0x1

image used:





 >System: NetBSD armv7 9.9.92 NetBSD 9.9.92 (GENERIC) #0: Tue Dec  7 23:56:06 UTC 2021 evbarm 
 >Architecture: earmv7hf
 >Machine: evbarm

NetBSD Home
NetBSD PR Database Search

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