#1 DWL-650+ stop_net fails to unregister_netdevice()

closed
nobody
None
7
2004-03-05
2003-09-15
No

I am using version 0.1h of the acx100 driver. I haven't
been successful to make the driver work with WEP.
However, the card did work in WEP-less APs. When I
execute the stop_net script (specifically, invoking #
rmmod acx100), the console hangs. I can't switch
virtual consoles (to/from XFree's vc/7). The console
printed the following output:

unregister_netdevice: waiting for wlan0 to become free.
Usage count = 2

The message kept getting printed. I suppose there's a
loop timed about 12 seconds. I think it is triggered
from lines in acx100.c, i.e., the line
unregister_netdev(netdev) in function
acx100_remove_pci() (I assume cleanup_module() is used
for 2.5.22 and up... and I'm using 2.4.22, so that
rules it out).

Gentoo Linux 1.4

Kernel: 2.4.22_pre2

GLibC: 2.3.2

GCC: 3.2.3

PCMCIA-CS: 3.2.4
acx100 driver: 0.1h

I've already submitted the hardware info into the
matrix, but I decided to repost it here for convenience.

FCC-ID:KA2DWL-650PLUSB1

Discussion

  • Andreas Mohr

    Andreas Mohr - 2003-09-21

    Logged In: YES
    user_id=132674

    The new version 0.2.0pre2 contains a fix for
    unregister_netdevice() which *might* eventually fix it.
    Please report back if it is working now.

     
  • Nobody/Anonymous

    Logged In: NO

    Hi! The same happend to me using the kernel 2.4.22 in SuSE 8.2. After
    using the stop_net script I get the failed to unregister netdevice with
    *all* drivers.

    It never happens with the 2.4.20 Kernel. Everything works fine there...

    Strange....

     
  • Andreas Mohr

    Andreas Mohr - 2003-10-15

    Logged In: YES
    user_id=132674

    Strange, I'm also using 2.4.22, but it never happened to me
    with my PheeNet WL-0022. But then I'm never using stop_net,
    so maybe that's why...
    I'll test it this evening.

     
  • Andreas Mohr

    Andreas Mohr - 2003-11-10
    • priority: 5 --> 7
     
  • Andreas Mohr

    Andreas Mohr - 2003-11-10

    Logged In: YES
    user_id=132674

    Rank it a bit higher to make sure I won't miss it...

     
  • Nobody/Anonymous

    Logged In: NO

    I also got exactly the same problem on my machine using
    DWL-650+ on Gentoo linux 1.4, and kernel 2.4.22 .

     
  • Andreas Mohr

    Andreas Mohr - 2003-11-20

    Logged In: YES
    user_id=132674

    Does that problem still occur with pre6 or pre6_plus_fixes_3?
    I still don't have definitive information...
    It's very difficult to track with so many anonymous reports...

     
  • Anonymous - 2003-11-21

    Logged In: YES
    user_id=505295

    Worked in 0.2.0pre6 :)

    WEP-128 bit worked too.

    Thanx a lot!

    -Eddy

     
  • Nobody/Anonymous

    Logged In: NO

    Strange: I have 2 computers with Gentoo 1.4 kernel 2.4.22.
    One of them pentium4 does have this problem, other
    pentium3 (no SCSI support in the kernel on this one) doesn't.
    Pentium4 driver hang up ones in 5-6 hours and I must reboot
    system, because can't unload drive, pentium3 driver hang up
    every 30-40 min. and unload -> load driver helps... any
    explanation???
    Alex.

     
  • Andreas Mohr

    Andreas Mohr - 2003-12-02

    Logged In: YES
    user_id=132674

    Alex: are you using a current driver version?
    Maybe provide some logs about these issues...

     
  • Nobody/Anonymous

    Logged In: NO

    Yes, I'm using same pre6 driver and both kernels has
    supermount patch -- http://supermount-ng.sourceforge.net/
    (may be this info will useful), I don't have syslog on both
    systems, because a lot traffic make a log file huge -- more
    the couple Gb after two -- three day's! No any additional
    lines was found on 'dmes' on both system! Just stoped
    traffic...
    If You need any experiments, I'll glad to help, It is systems
    for fun still (waiting for working driver).
    Regards,
    Alex.

     
  • Enrico Cataldi

    Enrico Cataldi - 2003-12-18

    Logged In: YES
    user_id=815986

    Hi everyone, i've a problem with this card:
    When i run start_net, no probs, but when i do stop_net, pc
    freezes and dmesg says this:

    unregister_netdevice: waiting for wlan0 to become free.
    Usage count = 2

    Here is my .config of mine 2.4-22 kernel...
    http://ecataldi.web.cs.unibo.it/config.txt
    I enabled PCMCIA/CARDBUS support and Wireless non-ham radio
    (without building any driver) and alsa PCMCIA network device...

    What could be the problem? I think ther's something wrong in
    the kernel, but it seems to me that i choosed the option
    wrote on the README... thanks for the attention...

     
  • Andreas Mohr

    Andreas Mohr - 2004-03-05

    Logged In: YES
    user_id=132674

    It appears to be fixed and no more reports received, closing.

     
  • Andreas Mohr

    Andreas Mohr - 2004-03-05
    • status: open --> closed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks