NetBSD Problem Report #35682
From ggm@garlique.algebras.org Sun Feb 18 06:06:23 2007
Return-Path: <ggm@garlique.algebras.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id BEF1863B8F2
for <gnats-bugs@gnats.NetBSD.org>; Sun, 18 Feb 2007 06:06:23 +0000 (UTC)
Message-Id: <20070218050410.752B91A476@garlique.algebras.org>
Date: Sun, 18 Feb 2007 15:04:10 +1000 (EST)
From: ggm@pobox.com
Reply-To: ggm@pobox.com
To: gnats-bugs@NetBSD.org
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
>Closed-Date:
>Last-Modified: Tue Sep 08 13:36:24 +0000 2009
>Originator: George Michaelson
>Release: NetBSD 4.99.10
>Organization:
>Environment:
System: NetBSD garlique.algebras.org 4.99.10 NetBSD 4.99.10 (GGM_ACPI) #0: Fri Feb 16 10:37:13 EST 2007 ggm@garlique.algebras.org:/data/Build/obj/usr/src/sys/arch/i386/compile/GGM_ACPI i386
Architecture: i386
Machine: i386
>Description:
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.
>How-To-Repeat:
as above. I reset my base to non_WEP, and this problem went
away, the network comes back fine.
>Fix:
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)
>Release-Note:
>Audit-Trail:
From: George Michaelson <ggm@apnic.net>
To: gnats-bugs@netbsd.org
Cc: ggm@pobox.com
Subject: Re: kern/35682: WEP enabled ath does not come back from acpi
sleep/wake.
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
works.
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.
cheers
-George
State-Changed-From-To: open->feedback
State-Changed-By: jmcneill@NetBSD.org
State-Changed-When: Tue, 25 Aug 2009 10:36:23 +0000
State-Changed-Why:
Is this still an issue with the new open source HAL?
From: George Michaelson <ggm@pobox.com>
To: gnats-bugs@gnats.netbsd.org
Cc:
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
-george
State-Changed-From-To: feedback->open
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Tue, 08 Sep 2009 13:36:24 +0000
State-Changed-Why:
submitter cannot test.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.