From owner-freebsd-bugs@FreeBSD.ORG Sat Jul 8 13:37:05 2006 Return-Path: X-Original-To: freebsd-bugs@FreeBSD.org Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EECE316A4DA for ; Sat, 8 Jul 2006 13:37:05 +0000 (UTC) (envelope-from paulo@nlink.com.br) Received: from smtp.nlink.com.br (smtp.nlink.com.br [201.12.59.3]) by mx1.FreeBSD.org (Postfix) with SMTP id CA6D243D46 for ; Sat, 8 Jul 2006 13:37:04 +0000 (GMT) (envelope-from paulo@nlink.com.br) Received: (qmail 81264 invoked from network); 8 Jul 2006 13:36:58 -0000 Received: from j1.nlink.com.br (HELO ?201.12.59.126?) (paulo@intra.nlink.com.br@201.12.59.126) by smtp.nlink.com.br with SMTP; 8 Jul 2006 13:36:58 -0000 Message-ID: <44AFB4F1.4020104@nlink.com.br> Date: Sat, 08 Jul 2006 10:36:49 -0300 From: Paulo Fragoso User-Agent: Thunderbird 1.5.0.4 (X11/20060612) MIME-Version: 1.0 To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-bugs@FreeBSD.org References: <200510202100.j9KL0YUc076601@freefall.freebsd.org> In-Reply-To: <200510202100.j9KL0YUc076601@freefall.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: kern/87758: Reboot problem with atheros wireless card (DWL-G520) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Jul 2006 13:37:06 -0000 Hi, This problem are happening yet using FreeBSD 6.x, but there are some motherboards working fine like Gigabyte GA-K8NS. I'm using a perl script to workaround this problem on all motherboards: ================================================================= #!/usr/bin/perl -T $ENV{'PATH'} = '/bin:/sbin:/usr/bin:/usr/sbin'; delete @ENV{'IFS', 'CDPATH', 'ENV', 'BASH_ENV'}; $debug = 0; $wlans="ath"; $cmd = "/sbin/ifconfig -l"; print "DEBUG: Executa: $cmd\n" if $debug; $nics = qx( $cmd ); @tipos = split( /\s+/, $wlans ); @nic = split( /\s+/, $nics ); $k = 0; for( $i = 0 ; $i <= $#tipos ; $i++ ){ $tmp = $tipos[ $i ]; print "DEBUG: Veifica o tipo: $tmp\n" if $debug; for( $j = 0 ; $j <= $#nic ; $j++ ){ if( $nic[ $j ] =~ /$tmp/ ){ print "DEBUG: Encontrou: $nic[ $j ]\n" if $debug; if( $nic[ $j ] =~ /^(\w+)$/ ){ $interface[ $k++ ] = $1; } } } } for( $k = 0 ; $k <= $#interface ; $k++ ){ $cmd = "/sbin/ifconfig $interface[ $k ] down"; print "DEBUG: $cmd\n" if $debug; qx( $cmd ); } print "DEBUG: Reiniciando...\n" if $debug; qx( reboot ); ================================================================= All cards listed in $wlans have yours state changed to down before reboot, now we can reboot all servers with atheros card. Paulo. FreeBSD-gnats-submit@FreeBSD.org escreveu, Em 20/10/2005 18:00: > Thank you very much for your problem report. > It has the internal identification `kern/87758'. > The individual assigned to look at your > report is: freebsd-bugs. > > You can access the state of your problem report at any time > via this link: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=87758 > > >> Category: kern >> Responsible: freebsd-bugs >> Synopsis: Reboot problem with atheros wireless card (DWL-G520) >> Arrival-Date: Thu Oct 20 21:00:34 GMT 2005 >>