NetBSD Problem Report #48736

From www@NetBSD.org  Sat Apr 12 05:49:02 2014
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id D33A2A580D
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 12 Apr 2014 05:49:01 +0000 (UTC)
Message-Id: <20140412054832.D9310A5814@mollari.NetBSD.org>
Date: Sat, 12 Apr 2014 05:48:32 +0000 (UTC)
From: dvollen@gmail.com
Reply-To: dvollen@gmail.com
To: gnats-bugs@NetBSD.org
Subject: System freezes when a devices connects to ath0 in hostap mode
X-Send-Pr-Version: www-1.0

>Number:         48736
>Category:       port-i386
>Synopsis:       System freezes when a devices connects to ath0 in hostap mode
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 12 05:50:00 +0000 2014
>Last-Modified:  Mon Jan 23 11:15:01 +0000 2023
>Originator:     Dave Vollenweider
>Release:        NetBSD 6.1
>Organization:
>Environment:
NetBSD shinji.studiolab45.net 6.1 NetBSD 6.1 (GENERIC) i386
>Description:
The system will completely freeze if a host connects to a wireless card using the ath driver when it is set in hostap mode.  There's not even a kernel panic; the whole system freezes.  This does not happen if the card is in adhoc or infrastructure  mode.

This issue also exists in NetBSD 6.0.  It did not exist in NetBSD 5.1 or 5.0.
>How-To-Repeat:
Set the card using the ath driver to hostap mode and have a device connect to it.
>Fix:

>Audit-Trail:
From: nervoso <nervoso@k1.com.br>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/48736
Date: Mon, 23 Jan 2023 08:12:03 -0300

 machine freezes when using ath in hostap 

 the ath  driver  freezes the machine when switch to hostap mode using
 NetBSD-10.0_BETA
 steps:
 boot the macine, (it show ath0)
 ifconfig ath0 mediaopt hostap mode autoselect  192.168.168.1
 ===========/etc/dhcp.conf==============

 ddns-update-style interim;
 authoritative;
 option domain-name-servers 192.168.6.1;
 option domain-name "homecasa";
 subnet 192.168.168.0 netmask 255.255.255.0 {
 	option routers 192.168.168.1;
 	range 192.168.168.2 192.168.168.120;
 	next-server 192.168.168.1;
 }
 =============/etc/hostapd.conf==========
 interface=ath0
 driver=bsd
 logger_stdout=-1
 logger_stdout_level=0
 debug=0
 ctrl_interface=/var/run/hostadp
 ctrl_interface_group=wheel
 ssid=NetBSD
 macaddr_acl=0
 auth_algs=1
 ieee8021x=0
 wpa=1
 wpa_passphrase=THE_SECRET_KEY
 wpa_key_mgmt=WPA-PSK
 wpa_pairwise=CCMP TKIP
 =======================================
 RUNNING.....
 service dhcpd onestart
 service hostapd onestart

 the system continues running, shows the network
 in AP mode on the android phone...  

 When connect to the network ssid=NetBSD asks for password.....
 the android phone gets the address and the machine
 freezes, only return after a hardware RESET of power-off-on

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.