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.
Created attachment 63940 [details] patch generated against at76c503a 12_beta19 (yes i realize its misnamed)
this is fixed in at76c503a_beta23, which I now use, so I am closing as fixed.