NetBSD Problem Report #35045

From www@NetBSD.org  Mon Nov 13 10:26:21 2006
Return-Path: <www@NetBSD.org>
Received: by narn.NetBSD.org (Postfix, from userid 31301)
	id 6258063B400; Mon, 13 Nov 2006 10:26:21 +0000 (UTC)
Message-Id: <20061113102621.6258063B400@narn.NetBSD.org>
Date: Mon, 13 Nov 2006 10:26:21 +0000 (UTC)
From: 1@ipex.ru
Reply-To: 1@ipex.ru
To: gnats-bugs@NetBSD.org
Subject: Netbsd 4.99.3 panic on ath0 mediaopt change
X-Send-Pr-Version: www-1.0

>Number:         35045
>Category:       port-i386
>Synopsis:       Netbsd 4.99.3 panic on ath0 mediaopt change
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 13 10:30:00 +0000 2006
>Last-Modified:  Sat Jun 27 05:10:01 +0000 2020
>Originator:     veider
>Release:        NetBSD 4.99.3
>Organization:
Darkzone Labs
>Environment:
NetBSD darkzone-mobile 4.99.3 NetBSD 4.99.3 (DARKZONE_MOBILE) #0: Sun Nov 12 22:02:44 MSK 2006  root@darkzone-mobile:/usr/obj/sys/arch/i386/compile/DARKZONE_MOBILE i386
>Description:
When changing mediaopt on ath interface (maybe not only ath) NetBSD 4.99.3 panics:

panic: fixed rate 3 not in rate set
Stopped in pid 1118.1 (ifconfig) ath netbsd:cpu_Debugger 0x4: leave

function stack is as follows:
cpu_Debugger
panic
ath_rate_ctl_reset
ath_newstate
ath_init
ath_media_change
ifmedia_ioctl
ieee80211_ioctl
ath_ioctl
ifioctl
sys_ioctl
syscall_plain
>How-To-Repeat:
# ifconfig ath0 media DS11 mediaopt hostap
# ifconfig ath0 up
# ifconfig ath0 media DS11 mediaopt monitor

panic..
>Fix:

>Audit-Trail:
From: "Jukka Ruohonen" <jruoho@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/35045 CVS commit: src
Date: Sat, 27 Jun 2020 05:07:08 +0000

 Module Name:	src
 Committed By:	jruoho
 Date:		Sat Jun 27 05:07:08 UTC 2020

 Modified Files:
 	src/distrib/sets/lists/tests: mi
 	src/tests/sbin/ifconfig: Makefile
 Added Files:
 	src/tests/sbin/ifconfig: t_woptions.sh

 Log Message:
 Add test cases for different 802.11 options. These include cases for
 PR kern/35045, PR kern/45745, and PR kern/55424.


 To generate a diff of this commit:
 cvs rdiff -u -r1.854 -r1.855 src/distrib/sets/lists/tests/mi
 cvs rdiff -u -r1.5 -r1.6 src/tests/sbin/ifconfig/Makefile
 cvs rdiff -u -r0 -r1.1 src/tests/sbin/ifconfig/t_woptions.sh

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: gnats-precook-prs,v 1.4 2018/12/21 14:20:20 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.