NetBSD Problem Report #35682

From  Sun Feb 18 06:06:23 2007
Return-Path: <>
Received: from ( [])
	by (Postfix) with ESMTP id BEF1863B8F2
	for <>; Sun, 18 Feb 2007 06:06:23 +0000 (UTC)
Message-Id: <>
Date: Sun, 18 Feb 2007 15:04:10 +1000 (EST)
Subject: WEP enabled ath does not come back from acpi sleep/wake.
X-Send-Pr-Version: 3.95

>Number:         35682
>Category:       kern
>Synopsis:       WEP enabled ath does not come back from acpi sleep/wake
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 18 06:10:01 +0000 2007
>Last-Modified:  Tue Sep 08 13:36:24 +0000 2009
>Originator:     George Michaelson
>Release:        NetBSD 4.99.10

System: NetBSD 4.99.10 NetBSD 4.99.10 (GGM_ACPI) #0: Fri Feb 16 10:37:13 EST 2007 i386
Architecture: i386
Machine: i386

	Attach an ath card to a Linksys WRT54G base-station with
	a non-broadcast SSID, and a 128 bit WEP key. go into ACPI
	sleep mode, then on re-awake, although you can DHCP an
	address, your arp cache never has complete entries, and you
	have no functional 'route to host' for the entire local net.

	as above. I reset my base to non_WEP, and this problem went
	away, the network comes back fine.

	NFI. I wonder if the ACPI restore-state matrix is excluding
	something from the state recovery, or if in userspace its
	neccessary to clear and re-bind the WEP state. If WEP has
	session-keys, possibly it has to be a clean re-bind to avoid
	re-use of a stale key (this is hypothesis, I really have NFI)


From: George Michaelson <>
Subject: Re: kern/35682: WEP enabled ath does not come back from acpi
Date: Thu, 22 Feb 2007 10:06:01 +1000

 I've done some more debug after discussing this problem with 
 Steve Bellovin. If I pre-load all 4 WEP keyslots in the ath card with
 the same WEP key, using the command:

 ifconfig ath0 nwkey 1:foobar,foobar,foobar,foobar

 and then do the ACPI sleep/wake, when I come back from sleep, there is
 only one WEP key in an ifconfig display instead of all 4, but, the key

 I think this shows that some basic state for the card isn't
 being saved cleanly across the ACPI sleep/wake, or that if not
 initialized, the default value isn't correctly saved.

 I'm going to play with setting the explicit keynumber on wake, and with
 using the in-card WEP keystore too later on.



State-Changed-From-To: open->feedback
State-Changed-When: Tue, 25 Aug 2009 10:36:23 +0000
Is this still an issue with the new open source HAL?

From: George Michaelson <>
Subject: Re: kern/35682
Date: Tue, 8 Sep 2009 15:04:56 +1000

 the IBM laptop is on long loan and I can't test this ACPI change.

 I suggest marking this closed. If/When I can get it back I will re- 
 test and only reopen if I find the problem still exists


State-Changed-From-To: feedback->open
State-Changed-When: Tue, 08 Sep 2009 13:36:24 +0000
submitter cannot test.


NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD:,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.