[Kernel-packages] [Bug 362875] Re: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset

2017-09-27 Thread Jay Foster
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


[Kernel-packages] [Bug 1374965] Re: nvidia-setting crashes on startup

2014-10-29 Thread Jay Foster
The bug appears to be a crash when unloading the vdpau library, either
via a dl_close() or dl_fini() call.  It also affects any application
using the vdpau library, such as mplayer and mythfrontend.

A backtrace from mythfrontend follows:
mythfrontend crash details:
*** Error in `/usr/bin/mythfrontend.real': free(): invalid pointer: 
0x7ffe734bc623 ***

Program received signal SIGABRT, Aborted.
0x73352bb9 in __GI_raise (sig=sig@entry=6) at 
../nptl/sysdeps/unix/sysv/linux/raise.c:56
56../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0  0x73352bb9 in __GI_raise (sig=sig@entry=6)
   at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x73355fc8 in __GI_abort () at abort.c:89
#2  0x7338fe14 in __libc_message (do_abort=do_abort@entry=1,
   fmt=fmt@entry=0x7349e668 *** Error in `%s': %s: 0x%s ***\n)
   at ../sysdeps/posix/libc_fatal.c:175
#3  0x7339c0ee in malloc_printerr (ptr=optimized out,
   str=0x7349a759 free(): invalid pointer, action=1) at malloc.c:4996
#4  _int_free (av=optimized out, p=optimized out, have_lock=0) at 
malloc.c:3840
#5  0x7ffe73460fb2 in ?? () from /usr/lib/vdpau/libvdpau_nvidia.so.1
#6  0x7ffe73433f3c in ?? () from /usr/lib/vdpau/libvdpau_nvidia.so.1
#7  0x77dea758 in _dl_fini () at dl-fini.c:257
#8  0x73358149 in __run_exit_handlers (status=0, listp=0x736db6c8 
__exit_funcs,
   run_list_atexit=run_list_atexit@entry=true) at exit.c:82
#9  0x73358195 in __GI_exit (status=optimized out) at exit.c:104
#10 0x7333decc in __libc_start_main (main=0x451ca4 main(int, char**), 
argc=1,
   argv=0x7fffe238, init=optimized out, fini=optimized out, 
rtld_fini=optimized out,
   stack_end=0x7fffe228) at libc-start.c:321
#11 0x00448079 in _start ()
(gdb)

I have observed the same with mplayer.  nvidia-settings crashes in a
call to dl_close().

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

Title:
  nvidia-setting crashes on startup

Status in “nvidia-settings” package in Ubuntu:
  Confirmed

Bug description:
  nvidia-settings 
  *** Error in `nvidia-settings': free(): invalid pointer: 0x7fd8a5b0f623 
***
  Aborted

  NVidia card: Asus GeForce GT 730 - 2 Go (DDR3)

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: nvidia-settings 331.20-0ubuntu8
  ProcVersionSignature: Ubuntu 3.13.0-36.63-generic 3.13.11.6
  Uname: Linux 3.13.0-36-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.14.1-0ubuntu3.4
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Sun Sep 28 14:35:00 2014
  InstallationDate: Installed on 2011-04-28 (1248 days ago)
  InstallationMedia: Ubuntu 11.04 Natty Narwhal - Release amd64 (20110427.1)
  SourcePackage: nvidia-settings
  UpgradeStatus: Upgraded to trusty on 2014-04-17 (163 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-settings/+bug/1374965/+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