Linux driver of vt6656 from staging area causes system to freeze.

Philipp Hortmann philipp.g.hortmann at gmail.com
Thu Feb 3 14:19:39 EST 2022


On 2/3/22 09:54, Greg Kroah-Hartman wrote:
> On Thu, Feb 03, 2022 at 01:41:11AM +0100, Philipp Hortmann wrote:
>> I managed to get a device vt6656 (USB WiFi adapter). The device works OK
>> when the computer is started and driver loaded. When the WLAN is disabled
>> the system freezes often.
>>
>> I am using ubuntu 20.04 with kernel 5.17.0-rc1 x86_64
>> branch: staging-testing
>>
>> After some tries I found out that it is a function in vnt_stop() main_usb.c
>> with the following line that is causing this.
>> usb_kill_urb(priv→interrupt_urb);
>> But this memory is after this line still in use.
> 
> What "memory" do you mean?

They are calling usb_kill_urb(priv→interrupt_urb); while using 
priv→interrupt_urb and maybe also starting new 
usb_submit_urb(priv->interrupt_urb, GFP_ATOMIC);

Thanks for your quick answer.

Bye Philipp




More information about the Kernelnewbies mailing list