I have experienced this bug on a non Ubuntu system for some time.  I
spent some time comparing the SparkLAN DPO driver source with the main
line kernel driver source and tried a couple of changes.

1) There were some places missing a lock (this change did not affect this bug, 
however).
2) The DPO driver performed the 32-bit register writes as two 16-bit single 
write commands instead of one four byte multi-write command.  I suspected that 
this might lead to race conditions setting the registers (not atomic) which was 
causing the Wi-Fi chip to hang.  I thought it possible that the Wi-Fi chip 
firmware might buffer the two 16-bit single writes and then perform a single 
32-bit write to the register, thus making it atomic.  I asked SparkLAN about 
this, but received no reply.  Note that the DPO driver performs the 32-bit 
register reads as a single four byte multi-read, just like the main line kernel 
driver does.

I tested the following patch and the problem went away, either because
it fixes the issue or it changes the timing to cover it up.  Perhaps a
distinction without a difference.


** Attachment added: "rt2x00usb.pat"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/362875/+attachment/4957754/+files/rt2x00usb.pat

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/362875

Title:
  rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for
  offset

Status in linux package in Ubuntu:
  Confirmed
Status in rt2x00 package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: linux-firmware

  Dear friends,

  [24225.012753] phy2 -> rt2x00usb_vendor_request: Error - Vendor Request 0x07 
failed for offset 0x308c with error -71.
  [24225.017901] phy2 -> rt2x00usb_vendor_request: Error - Vendor Request 0x06 
failed for offset 0x308c with error -71.
  [24225.022279] phy2 -> rt2x00usb_vendor_request: Error - Vendor Request 0x07 
failed for offset 0x308c with error -71.
  [24226.005773] phy2 -> rt2x00usb_vendor_request: Error - Vendor Request 0x07 
failed for offset 0x30c0 with error -71.
  [24226.011307] phy2 -> rt2x00usb_vendor_request: Error - Vendor Request 0x07 
failed for offset 0x30c4 with error -71.
  [24226.015147] phy2 -> rt2x00usb_vendor_request: Error - Vendor Request 0x07 
failed for offset 0x308c with error -71.
  [24226.020486] phy2 -> rt2x00usb_vendor_request: Error - Vendor Request 0x06 
failed for offset 0x308c with error -71.
  [24226.024151] phy2 -> rt2x00usb_vendor_request: Error - Vendor Request 0x07 
failed for offset 0x308c with error -71.
  [24227.003532] phy2 -> rt2x00usb_vendor_request: Error - Vendor Request 0x07 
failed for offset 0x30c0 with error -71.
  [24227.007269] phy2 -> rt2x00usb_vendor_request: Error - Vendor Request 0x07 
failed for offset 0x30c4 with error -71.
  [24227.020153] phy2 -> rt2x00usb_vendor_request: Error - Vendor Request 0x07 
failed for offset 0x308c with error -71.
  [24227.023895] phy2 -> rt2x00usb_vendor_request: Error - Vendor Request 0x06 
failed for offset 0x308c with error -71.
  [24227.027645] phy2 -> rt2x00usb_vendor_request: Error - Vendor Request 0x07 
failed for offset 0x308c with error -71.

  This is an example of the message I'm continually getting.

  ID 148f:2671 Ralink Technology, Corp. RT2601USB Wireless Adapter

  Many blessings.

  ProblemType: Bug
  Architecture: i386
  Dependencies:
   
  DistroRelease: Ubuntu 8.10
  Package: linux-restricted-modules None [modified: 
/var/lib/dpkg/info/linux-restricted-modules.list]
  ProcEnviron:
   SHELL=/bin/bash
   
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
   LANG=en_US.UTF-8
  SourcePackage: linux-meta
  Uname: Linux 2.6.27-7-generic i686

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/362875/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to