Received: by oss.sgi.com id ; Fri, 22 Sep 2000 20:42:58 -0700 Received: from mrelay.cc.umr.edu ([131.151.1.89]:46344 "EHLO smtp.umr.edu") by oss.sgi.com with ESMTP id ; Fri, 22 Sep 2000 20:42:28 -0700 Received: from d-131-151-189-65.dynamic.umr.edu (d-131-151-189-65.dynamic.umr.edu [131.151.189.65]) via ESMTP by mrelay.cc.umr.edu (8.9.3/R.4.20) id WAA24088; Fri, 22 Sep 2000 22:42:24 -0500 Received: (from david@localhost) by d-131-151-189-65.dynamic.umr.edu (8.11.0/8.11.0/Debian 8.11.0-1) id e8N3fKl30701; Fri, 22 Sep 2000 22:41:20 -0500 Date: Fri, 22 Sep 2000 22:41:20 -0500 From: David Fries To: Andrew Morton Cc: vortex@scyld.com, netdev@oss.sgi.com Subject: Re: [vortex] can't unload module Message-ID: <20000922224120.C24813@d-131-151-189-65.dynamic.umr.edu> References: <20000921002752.A10927@d-131-151-189-65.dynamic.umr.edu> <39CB524E.2EB250E0@uow.edu.au> <20000922153900.A24813@d-131-151-189-65.dynamic.umr.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20000922153900.A24813@d-131-151-189-65.dynamic.umr.edu>; from dfries@umr.edu on Fri, Sep 22, 2000 at 03:39:00PM -0500 Sender: owner-netdev@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;netdev-outgoing Content-Length: 1787 Lines: 49 On Fri, Sep 22, 2000 at 03:39:00PM -0500, David Fries wrote: > The new problem about 'unregister_netdevice: waiting ...' I can > reproduce it by, > insmod 3c59x > ifconfig eth0 ... > (on another console) ping -s 15000 -f aerospace > ifconfig eth0 down; rmmod 3c59x > > That usually gives about two lines of 'unregister_netdevice...' before > is able to be removed. > > Odd thing about the 'unregister_netdevice' problem is I was still able > to unload the module until I inserted my ne2000 card and ifconfiged it > up. It looks like I have to unload the network modules in the opposite order I loaded them. That doesn't sound right. > I did, > insmod 3c59x > modprobe ne io=0x300 irq=111 > ifconfig eth0 ... > ifconfig eth1 ... > ifconfig eth0 down > rmmod 3c59x > and it keep giving, 'unregister_netdevice' message over and over until > I rebooted. > The the driver for this network card 3c905b, uses a circular buffer > list for it's receive buffer right? Could you modify the receive > routine to build a histogram that records which buffer each packet is > being received from? Each second spit out a list that gives each > buffer number and the total number of packets received from that buffer. > > I'm wondering if in my case buffers and getting stuck and it has less > buffers to work with causing lower network performance and sometimes > everything is full and it stops receiving. > > Then again I haven't looked at the card in detail or driver. That doesn't look like the case. I implimented the histogram and in boomerang_rx I counted which entry it dealt with and they were all with in one of each other. -- +---------------------------------+ | David Fries | | dfries@umr.edu | +---------------------------------+