Subject: kern/31010: iwi(4) stays silent after APM suspend/resume
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: netbsd-bugs
Date: 08/18/2005 18:15:01
>Number:         31010
>Category:       kern
>Synopsis:       iwi(4) stays silent after APM suspend/resume
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 18 18:15:00 +0000 2005
>Originator:     Lubomir Sedlacik
>Release:        NetBSD 3.99.7
>Environment:
System: NetBSD 3.99.7 Thu Aug 18 00:36:28 CEST 2005
Architecture: i386
Machine: i386
Revision: $NetBSD: if_iwi.c,v 1.13 2005/08/01 15:14:54 skrll Exp $
>Description:
after the recent net80211 and iwi(4) updates, the card completely stops
working after APM suspend/resume.  this used to work sans the need to free
enough memory to allow loading firmware, which manifested itself with
messages:

 iwi0: could not allocate firmware DMA memory
 iwi0: could not load main firmware

but there is no indication of such an issue this time.

removing the firmware using iwictl -k doesn't help either, the card just stays
silent.

if i repeat "ifconfig iwi0 down up" quick enough, from time to time i get the
following message from the driver:

 iwi0: timeout waiting for master

>How-To-Repeat:
update to recent -current,
try to use iwi(4) after apm suspend/resume

>Fix:
n/a