Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 99746 - at76c503a and gentoo-source-2.6.12-r6 usb_unlink_urb badness
Summary: at76c503a and gentoo-source-2.6.12-r6 usb_unlink_urb badness
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-20 21:10 UTC by Steev Klimaszewski (RETIRED)
Modified: 2005-08-23 14:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch generated against at76c503a 12_beta19 (yes i realize its misnamed) (usb-kill-urb-at67c503a.patch,1.16 KB, text/plain)
2005-07-20 21:13 UTC, Steev Klimaszewski (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steev Klimaszewski (RETIRED) gentoo-dev 2005-07-20 21:10:07 UTC
With gentoo-sources-2.6.12-r6 and at76c503a-0.12_beta19, upon insertion or
removal of my usb wifi device (Netgear MA101) I get the following output in dmesg.

usb_unlink_urb() is deprecated for synchronous unlinks.  Use usb_kill_urb() instead.
Badness in usb_unlink_urb at drivers/usb/core/urb.c:461
 [<c034ac46>] usb_unlink_urb+0x96/0xa0
 [<eefd4d9f>] at76c503_delete_device+0x28f/0x3d0 [at76c503]
 [<c01793b1>] destroy_inode+0x51/0x60
 [<eefac198>] at76c50x_disconnect+0x38/0x60 [at76c503_i3861]
 [<c0344028>] usb_unbind_interface+0x78/0x80
 [<c02ee5a7>] device_release_driver+0x77/0x80
 [<c02ee849>] bus_remove_device+0x79/0xc0
 [<c02ed697>] device_del+0x57/0xb0
 [<c034c030>] usb_disable_device+0x90/0x110
 [<c03465da>] usb_disconnect+0xaa/0x160
 [<c0347a44>] hub_port_connect_change+0x334/0x440
 [<c0345168>] clear_port_feature+0x58/0x60
 [<c0347d52>] hub_events+0x202/0x410
 [<c0347f97>] hub_thread+0x37/0x110
 [<c0130f30>] autoremove_wake_function+0x0/0x60
 [<c0103192>] ret_from_fork+0x6/0x14
 [<c0130f30>] autoremove_wake_function+0x0/0x60
 [<c0347f60>] hub_thread+0x0/0x110
 [<c0101345>] kernel_thread_helper+0x5/0x10
/var/tmp/portage/at76c503a-0.12_beta19/work/at76c503a-0.12.beta19.orig/at76c503-fw_skel.c:
at76c503-i3861 disconnected

I also get the same (bottom part of the message is different) when I insert it.
 Normally, without the kernel debugging support included, this would lock up my
system.  I created a patch, and apply it before the other epatch line in the
ebuild, however, I believe since it inherits the linux kernel eclass in the
ebuild, that whatever kernel the usb_unlink_urb changes happened in, it could be
applied that way.  I am attaching a patch I generated.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Steev Klimaszewski (RETIRED) gentoo-dev 2005-07-20 21:13:04 UTC
Created attachment 63940 [details]
patch generated against at76c503a 12_beta19 (yes i realize its misnamed)
Comment 2 Steev Klimaszewski (RETIRED) gentoo-dev 2005-08-23 14:23:52 UTC
this is fixed in at76c503a_beta23, which I now use, so I am closing as fixed.