From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oliver Neukum Subject: Re: usbnet: driver_info->stop required to stop USB interrupts? Date: Fri, 21 Mar 2014 09:33:45 +0100 Message-ID: <1395390825.5171.3.camel@linux-fkkt.site> References: <1394529263.16128.6.camel@linux-fkkt.site> <1395093343.3961.2.camel@linux-fkkt.site> <1395299705.5432.12.camel@linux-fkkt.site> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: netdev , Freddy Xin , "linux-usb@vger.kernel.org" , Allan Chou , Julius Werner To: Grant Grundler Return-path: Received: from cantor2.suse.de ([195.135.220.15]:37119 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751756AbaCUIdq (ORCPT ); Fri, 21 Mar 2014 04:33:46 -0400 In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: On Thu, 2014-03-20 at 14:19 -0700, Grant Grundler wrote: > On Thu, Mar 20, 2014 at 9:35 AM, Grant Grundler wrote: > > On Thu, Mar 20, 2014 at 12:15 AM, Oliver Neukum wrote: > > ... > >> I have an idea. Could you test this patch? > > ... > >> - if (dev->wait) { > > .. > >> + if (waitqueue_active(&dev->wait)) { > > > > Yes - building new image now (and transfer to USB and boot from USB). > > Should know in an hour or so (doing other things in parallel). > > Sorry...took a bit longer since my previous test method (bash > /tmp/reload_asix) was abusing a security exploit that is now > fixed...so had to move my script into a RO executable file system: > > for i in `seq 10000`; do echo -n "RELOAD $i " ; ssh $T > "/bin/reload_asix eth0 1000_full" ; J=$? ; if [ $J -eq 255 ] ; then > echo; " SSH timeout" ; break ; fi ; ssh $T "cat > /var/log/reload-asix.out" ; if [ $J -ne 0 ] ; then echo " ERROR $J" ; > fi ; sleep 3 ; done | tee ~/reload-AX88178-leon-192.168.1.100-06.out > > This is running now and things look happy so far. :) This will take > more than 30h to complete. Very well. Thorough testing is good. I'll wait for the result. Could you notify me of the final outcome? And, Julius, I owe you an apology. The check is necessary. Regards Oliver