From owner-freebsd-bugs@FreeBSD.ORG Sat Jul 8 13:40:24 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9D9E516A4DA for ; Sat, 8 Jul 2006 13:40:24 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D3D643D45 for ; Sat, 8 Jul 2006 13:40:24 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k68DeNQD080376 for ; Sat, 8 Jul 2006 13:40:23 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k68DeNlx080369; Sat, 8 Jul 2006 13:40:23 GMT (envelope-from gnats) Date: Sat, 8 Jul 2006 13:40:23 GMT Message-Id: <200607081340.k68DeNlx080369@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Paulo Fragoso 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 Reply-To: Paulo Fragoso List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Jul 2006 13:40:24 -0000 The following reply was made to PR kern/87758; it has been noted by GNATS. From: Paulo Fragoso To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-bugs@FreeBSD.org Cc: Subject: Re: kern/87758: Reboot problem with atheros wireless card (DWL-G520) Date: Sat, 08 Jul 2006 10:36:49 -0300 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 >>