asb / spindle

http://asbradbury.org/projects/spindle/
Other
185 stars 43 forks source link

modprobe timeout during boot with Realtek RTL8188CUS WLAN Adapter #108

Closed mrumpf closed 11 years ago

mrumpf commented 12 years ago

I noticed an issue with a tiny WLAN stick with the following chipset: USB: 0BDA:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter

Using the script "install-rtl8188cus-latest.sh" from the forum thread below enabled the device on the offical Debian 6 Raspberry Pi image: http://www.raspberrypi.org/phpBB3/viewtopic.php?f=26&t=6256&sid=85adf66d944a48285a706d8cb6884190&start=350

The message that appears (around 50 times) during startup is:

udevd[160]: timeout: killing '/sbin/modprobe -b usb:v0BDAp8176d0200dc00dsc00dp00icFFiscFFipFF' [188]

Regards, Michael

mrumpf commented 12 years ago

The dmesg output below shows a stacktrace during modprobe; http://pastebin.com/ym1zJiDi

[  364.452720] modprobe        D c03f5fec     0   186    159 0x00000001
[  364.452803] [<c03f5fec>] (__schedule+0x314/0x670) from [<c03f690c>] (schedule+0x58/0x70)
[  364.452841] [<c03f690c>] (schedule+0x58/0x70) from [<c03f6e44>] (schedule_timeout+0x1f0/0x34c)
[  364.452877] [<c03f6e44>] (schedule_timeout+0x1f0/0x34c) from [<c03f6704>] (wait_for_common+0xf0/0x1c4)
[  364.452925] [<c03f6704>] (wait_for_common+0xf0/0x1c4) from [<c03f688c>] (wait_for_completion_timeout+0x1c/0x20)
[  364.452970] [<c03f688c>] (wait_for_completion_timeout+0x1c/0x20) from [<c02dc2d0>] (usb_start_wait_urb+0x6c/0xd4)
[  364.453018] [<c02dc2d0>] (usb_start_wait_urb+0x6c/0xd4) from [<c02dc554>] (usb_control_msg+0xd4/0xf8)
[  364.453157] [<c02dc554>] (usb_control_msg+0xd4/0xf8) from [<bf0c553c>] (_usbctrl_vendorreq_sync_read.clone.24+0x50/0x80 [rtlwifi])
[  364.453313] [<bf0c553c>] (_usbctrl_vendorreq_sync_read.clone.24+0x50/0x80 [rtlwifi]) from [<bf0c55c0>] (_usb_read_sync+0x54/0x6c [rtlwifi])
[  364.453451] [<bf0c55c0>] (_usb_read_sync+0x54/0x6c [rtlwifi]) from [<bf0c5650>] (_usb_read8_sync+0x24/0x2c [rtlwifi])
[  364.453576] [<bf0c5650>] (_usb_read8_sync+0x24/0x2c [rtlwifi]) from [<bf0c11ac>] (read_efuse_byte+0x68/0x1c8 [rtlwifi])
[  364.453692] [<bf0c11ac>] (read_efuse_byte+0x68/0x1c8 [rtlwifi]) from [<bf0c15b0>] (read_efuse+0x2a4/0x544 [rtlwifi])
[  364.453806] [<bf0c15b0>] (read_efuse+0x2a4/0x544 [rtlwifi]) from [<bf0c189c>] (efuse_read_all_map+0x4c/0x64 [rtlwifi])
[  364.453922] [<bf0c189c>] (efuse_read_all_map+0x4c/0x64 [rtlwifi]) from [<bf0c191c>] (rtl_efuse_shadow_map_update+0x68/0xb8 [rtlwifi])
[  364.454076] [<bf0c191c>] (rtl_efuse_shadow_map_update+0x68/0xb8 [rtlwifi]) from [<bf0d5658>] (_rtl92cu_read_adapter_info+0x488/0xf4c [rtl8192cu])
[  364.454199] [<bf0d5658>] (_rtl92cu_read_adapter_info+0x488/0xf4c [rtl8192cu]) from [<bf0d6638>] (rtl92cu_read_eeprom_info+0x98/0x26c [rtl8192cu])
[  364.454311] [<bf0d6638>] (rtl92cu_read_eeprom_info+0x98/0x26c [rtl8192cu]) from [<bf0c5a68>] (rtl_usb_probe+0x174/0x7f0 [rtlwifi])
[  364.454404] [<bf0c5a68>] (rtl_usb_probe+0x174/0x7f0 [rtlwifi]) from [<c02ded18>] (usb_probe_interface+0xdc/0x140)
[  364.454468] [<c02ded18>] (usb_probe_interface+0xdc/0x140) from [<c029dcb8>] (driver_probe_device+0x88/0x18c)
[  364.454519] [<c029dcb8>] (driver_probe_device+0x88/0x18c) from [<c029de58>] (__driver_attach+0x9c/0xa0)
[  364.454558] [<c029de58>] (__driver_attach+0x9c/0xa0) from [<c029cd54>] (bus_for_each_dev+0x64/0x90)
[  364.454596] [<c029cd54>] (bus_for_each_dev+0x64/0x90) from [<c029d94c>] (driver_attach+0x28/0x30)
[  364.454641] [<c029d94c>] (driver_attach+0x28/0x30) from [<c029d504>] (bus_add_driver+0xb0/0x24c)
[  364.454679] [<c029d504>] (bus_add_driver+0xb0/0x24c) from [<c029e458>] (driver_register+0x88/0x14c)
[  364.454718] [<c029e458>] (driver_register+0x88/0x14c) from [<c02de2e0>] (usb_register_driver+0x7c/0x144)
[  364.454806] [<c02de2e0>] (usb_register_driver+0x7c/0x144) from [<bf0ee01c>] (rtl8192cu_init+0x1c/0x2c [rtl8192cu])
[  364.454886] [<bf0ee01c>] (rtl8192cu_init+0x1c/0x2c [rtl8192cu]) from [<c0008620>] (do_one_initcall+0x4c/0x1b0)
[  364.454943] [<c0008620>] (do_one_initcall+0x4c/0x1b0) from [<c006bc04>] (sys_init_module+0x100/0x1b64)
[  364.454990] [<c006bc04>] (sys_init_module+0x100/0x1b64) from [<c000e140>] (ret_fast_syscall+0x0/0x48)
mrumpf commented 11 years ago

OK, forget about the issue. I did not realize that the install script from the thread was working with the Debian wheezy package as well. My assumption was that the Debian wheezy image comes with the right version of the driver. After running the script, the WLAN stick is working again.