#133 DWL-G122 fails to init with CONFIG_HZ > 250

v1.0_(example)
closed
nobody
1
2012-10-06
2005-09-30
Tux
No

"D-Link AirPlus G DWL-G122 Wireless USB Adapter(rev.B)"
fails to initialize when CONFIG_HZ kernel option
(>=2.6.13) is NOT equal to 250 (tried only on 1000, but
possible 100 will fail too). It fails with kprint()ing:
[timestamp] reset high speed device....... address xxx
[timestamp] reset high speed device....... address xxx
[timestamp] reset high speed device....... address xxx
[timestamp] reset high speed device....... address xxx
[timestamp] reset high speed device....... address xxx

after and module and the deivce itself are both plugged
in (the plugging sequence - doesn't matter). (Sorry -
have no the exact string now - the problem was found in
other place - but it doens't matter).

Please note, that these messages are being continued 4
(!!) times per second (1000 = 250*4). I've not
investigated the source code, but seems that some event
is expected to be only 250 times per second, but as
it's 4x times earlier - this restarts the device init
function in unlimited cycle w/o any result.

I think it's better to take a look into the kernel
variable with the HZ value during runtime ;) and expect
needed event frequency.

Please contact me about any more full info!
It's not a big prob. to keep my CONFIG_HZ in 250, but
I'd like this bug (feature??) was fixed in the next
release - as I can use my WiFi controller ONLY with
your perfect tool! :)

Discussion

  • Tux
    Tux
    2005-09-30

    Logged In: YES
    user_id=1354202

    I'd like to add that this problem is actual with or without
    PREEMPTION (any of three 2.6.13's kernel).

    UPDATE. And the driver wotks ok and with CONFIG_HZ=100

    Please keep me posted on gentuu@gmail.com

    Thanks

     
  • Tux
    Tux
    2005-09-30

    Logged In: YES
    user_id=1354202

    ah.... sorry for the main things:

    • ndiswrapper version 1.2 (gentoo:
      net-wireless/ndiswrapper-1.2)
    • kernel 2.6.13-gentoo-r2 (tested and on 2.6.13-gentoo)
    • DWL-G122 windoze drivers - your hardware support LIST
      adviced (btw, great thanks!)

    thinks thats all...

     
  • Logged In: YES
    user_id=918798

    1.2 is old; try 1.3-rc1 or latest snapshot/cvs.

     
  • Logged In: YES
    user_id=918798

    Since no further feedback is given, closing it. If problem persists,
    reopen it or file new one.