NetBSD Problem Report #52106

From www@NetBSD.org  Thu Mar 23 13:42:03 2017
Return-Path: <www@NetBSD.org>
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 "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 816FD7A210
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 23 Mar 2017 13:42:03 +0000 (UTC)
Message-Id: <20170323134202.630187A2B0@mollari.NetBSD.org>
Date: Thu, 23 Mar 2017 13:42:02 +0000 (UTC)
From: prlw1@cam.ac.uk
Reply-To: prlw1@cam.ac.uk
To: gnats-bugs@NetBSD.org
Subject: iwn(4) goes to sleep
X-Send-Pr-Version: www-1.0

>Number:         52106
>Category:       kern
>Synopsis:       iwn(4) goes to sleep
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 23 13:45:00 +0000 2017
>Closed-Date:    Sun Jul 26 15:32:09 +0000 2020
>Last-Modified:  Sun Jul 26 15:32:09 +0000 2020
>Originator:     Patrick Welche
>Release:        NetBSD-7.99.66/amd64
>Organization:
>Environment:
-current of 21 Mar 2017
>Description:
Successfully configure a laptop with a iwn(4) Intel Centrino Advanced-N 6230
using wpa_supplicant and dhcpcd. Leave it alone for a while.

Pinging it fails until you go to the laptop and ping something.

It seems that emitting a packet of some sort is necessary to get networking going again.
>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:
From: coypu@SDF.ORG
To: gnats-bugs@netbsd.org
Cc: prlw1@cam.ac.uk
Subject: Re: kern/52106: iwn(4) goes to sleep
Date: Thu, 23 Mar 2017 18:10:29 +0000

 I am equally shocked this has any effect:
 try disabling powersave (ifconfig -powersave)

From: Patrick Welche <prlw1@cam.ac.uk>
To: coypu@SDF.ORG
Cc: gnats-bugs@netbsd.org
Subject: Re: kern/52106: iwn(4) goes to sleep
Date: Thu, 23 Mar 2017 18:20:47 +0000

 On Thu, Mar 23, 2017 at 06:10:29PM +0000, coypu@SDF.ORG wrote:
 > I am equally shocked this has any effect:
 > try disabling powersave (ifconfig -powersave)

 Thanks for the suggestion! (Would never have thought of that...)

From: Patrick Welche <prlw1@cam.ac.uk>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/52106: iwn(4) goes to sleep
Date: Tue, 4 Apr 2017 12:02:14 +0100

 Unfortunately I have reproduced this with powersave explicitely turned
 off. (It seems to be off by default for me, but issued the -powersave
 just in case.) (today's -current/amd64 on both ends)

From: Patrick Welche <prlw1@cam.ac.uk>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/52106: iwn(4) goes to sleep
Date: Tue, 25 Apr 2017 13:25:07 +0100

 Correction: I said

   "Pinging it fails until you go to the laptop and ping something."

 Actually, "something" isn't good enough.


 some box                         laptop with iwn
 ========                         ===============
 ssh laptop
 no login prompt
                                  ping www.foobar
 no login prompt
                                  ping box
 login prompt appears

State-Changed-From-To: open->closed
State-Changed-By: prlw1@NetBSD.org
State-Changed-When: Sun, 26 Jul 2020 15:32:09 +0000
State-Changed-Why:
That laptop has now expired after a good innings, so would no longer be
able to test a fix.


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