NetBSD Problem Report #56210

From multix@isengard.localdomain  Wed May 26 07:50:48 2021
Return-Path: <multix@isengard.localdomain>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_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 0B2321A9239
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 26 May 2021 07:50:48 +0000 (UTC)
Message-Id: <20210526073214.6A7E2279EDF@isengard.localdomain>
Date: Wed, 26 May 2021 07:32:14 +0000 (UTC)
From: "Riccardo Mottola" <rm@gnu.org>
Reply-To: <rm@gnu.org>
To: gnats-bugs@NetBSD.org
Subject: wpi0: autoconfiguration error: fatal firmware error
X-Send-Pr-Version: 3.95

>Number:         56210
>Category:       kern
>Synopsis:       wpi0: autoconfiguration error: fatal firmware error
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 26 07:55:00 +0000 2021
>Last-Modified:  Wed May 26 08:45:01 +0000 2021
>Originator:     <rm@gnu.org>
>Release:        NetBSD 9.99.82
>Organization:

>Environment:


System: NetBSD isengard 9.99.82 NetBSD 9.99.82 (Aspire) #2: Mon May 24 14:53:23 UTC 2021 multix@isengard:/usr/obj/sys/arch/i386/compile/Aspire i386
Architecture: i386
Machine: i386
>Description:
At boot, wireless driver reports
wpi0: autoconfiguration error: fatal firmware error

Without having issued yet any configuration command to it. Later, if configured manually and brought down and up, it appears to work.

>How-To-Repeat:
Appears at every boot.

>Fix:


>Audit-Trail:
From: Riccardo Mottola <riccardo.mottola@libero.it>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/56210
Date: Wed, 26 May 2021 10:43:26 +0200

 Some updates. I worked with Martin to qualify this better, I enabled 
 more debug... and then print out the register.

 I copy here the last part of dmesg, including the final error and its 
 register

 [    20.619693] rx notification qid=82 idx=12 flags=2 type=27 len=308
 [    20.619693] rx intr: idx=20 len=308 stat len=269 rssi=19 rate=a 
 chan=3 tstamp=7949776
 [    20.619693] rx tail flags error 702
 [    20.619693] interrupt reg 80000008
 [    20.619693] rx notification qid=82 idx=13 flags=2 type=27 len=308
 [    20.619693] rx intr: idx=21 len=308 stat len=269 rssi=17 rate=a 
 chan=3 tstamp=7952191
 [    20.619693] rx tail flags error 702
 [    20.619693] interrupt reg 80000008
 [    20.619693] rx notification qid=82 idx=14 flags=2 type=27 len=460
 [    20.619693] rx intr: idx=22 len=460 stat len=424 rssi=21 rate=a 
 chan=3 tstamp=7957429
 [    20.619693] interrupt reg 80000008
 [    20.629694] rx notification qid=82 idx=15 flags=2 type=27 len=152
 [    20.629694] rx intr: idx=23 len=152 stat len=116 rssi=58 rate=a 
 chan=3 tstamp=7959001
 [    20.639693] interrupt reg 80000008
 [    20.639693] rx notification qid=82 idx=16 flags=0 type=131 len=20
 [    20.639693] interrupt reg 80000008
 [    20.639693] rx notification qid=82 idx=17 flags=0 type=132 len=16
 [    20.639693] scan finished nchan=1 status=1 chan=3
 [    20.639693] interrupt reg 80000008
 [    20.639693] rx notification qid=4 idx=118 flags=0 type=128 len=8
 [    20.639693] interrupt reg 80000008
 [    20.639693] rx notification qid=82 idx=18 flags=0 type=157 len=244
 [    20.639693] rx notification qid=82 idx=19 flags=0 type=130 len=24
 [    20.659693] interrupt reg 80000008
 [    20.659693] rx notification qid=82 idx=20 flags=0 type=131 len=20
 [    20.659693] interrupt reg 80000008
 [    20.659693] rx notification qid=82 idx=21 flags=0 type=132 len=16
 [    20.659693] scan finished nchan=1 status=1 chan=4
 [    20.659693] interrupt reg 80000008
 [    20.659693] rx notification qid=4 idx=119 flags=0 type=128 len=8
 [    20.669693] interrupt reg 20000000
 [    20.669693] wpi0: autoconfiguration error: fatal firmware error (r: 
 20000000)

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