This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

wl12xx 模块加载

Backport based on wl12xx.git ol_R5.SP3.03
[ 4.181894] cfg80211: Calling CRDA to update world regulatory domain
[ 4.580316] wl12xx: driver version: ol_R5.SP4.01-dirty
[ 4.585790] wl12xx: compilation time: Thu Apr 4 23:19:18 2013
[ 4.602549] ***** wl12xx_set_power*****
[ 4.606661] 1 enable_gpio into _on****
[ 4.795773] warning: `rild' uses 32-bit capabilities (legacy support in use)
[ 4.813559] ***** wl12xx_set_power*****
[ 4.817607] 1 enable_gpio into _on****
[ 12.099499] ------------[ cut here ]------------
[ 12.104423] WARNING:`at /root/Desktop/ti-compat-wireless-wl12xx-r5.sp4.01/drivers/net/wireless/wl12xx/sdio.c:126 wl12xx_sdio_raw_write+0xa8/0xe0 [wl12xx_sdio]()
[ 12.119469] Modules linked in: omaplfb(O) pvrsrvkm(O) wl12xx_sdio(O+) wl12xx(O) mac80211(O) cfg80211(O) compat(O)
[ 12.130258] Backtrace:
[ 12.132849] [<c00176e8>] (dump_backtrace+0x0/0x114) from [<c05a75bc>] (dump_stack+0x20/0x24)
[ 12.141691] r6:0000007e r5:bf0ef1e0 r4:00000000 r3:c080b060
[ 12.147662] [<c05a759c>] (dump_stack+0x0/0x24) from [<c0043bc4>] (warn_slowpath_common+0x5c/0x74)
[ 12.156965] [<c0043b68>] (warn_slowpath_common+0x0/0x74) from [<c0043c08>] (warn_slowpath_null+0x2c/0x34)
[ 12.166986] r8:00000004 r7:de0f69c0 r6:de165208 r5:0001ffc4 r4:df356a00
[ 12.173840] r3:00000009
[ 12.176594] [<c0043bdc>] (warn_slowpath_null+0x0/0x34) from [<bf0ef1e0>] (wl12xx_sdio_raw_write+0xa8/0xe0 [wl12xx_sdio])
唙笙&喢朝蹚簧矬+泼z喛c旅慘{毳 from [<bf0bf62c>] (wl1271_set_partition+0x88/0x3fc [wl12xx])
[ 12.200573] r8:0000030e r7:00000001 r6:bf0dd54c r5:bf0dd380 r4:de025780
[ 12.207669] [<bf0bf5a4>] (wl1271_set_partition+0x0/0x3fc [wl12xx]) from [<bf0b5e04>] (wl12xx_set_power_on+0x7c/0x15c [wl12xx])
[ 12.219606] r6:de024100 r5:00000000 r4:de025780
[ 12.224498] [<bf0b5d88>] (wl12xx_set_power_on+0x0/0x15c [wl12xx]) from [<bf0d16a0>] (wl12xx_probe+0xa78/0x12b8 [wl12xx])
[ 12.235882] r5:de02600c r4:de025780
[ 12.239656] [<bf0d0c28>] (wl12xx_probe+0x0/0x12b8 [wl12xx]) from`[<c02d726c>] (pla|for韄drv_probe+0x28/0x2c)
[ 12.249970] [<c02d7244>] (platform_drv_probe+0x0/0x2c) from [<c02d5d30>] (driver_probe_device+0xa0/0x1bc)
[ 12.260004] [<c02d5c90>] (driver_probe_device+0x0/0x1bc) from [<c02d5f38>] (__device_attach+0x4c/0x50)
[ 12.269749] r8:c08949f4 r7:00000000 r6:c02d5eec r5:de165208 r4:bf0dcd8c
[ 12.276605] r3:c02d7b4c
[ 12.279357] [<c02d5eec>] (__device_attach+0x0/0x50) from [<c02d4a70>] (bus_for_each_drv+0x6c/0x98)
[ 12.288738] r5:00000000 r4:de165208
[ 12.292494] [<c02d4a04>] (bus_for_each_drv+0x0/0x98) from [<c02d5c3c>] (device_attach+0xa4o0xc8)
[ 12.301693] r6:df356a08 r5:de16523c r4:de165208
[ 12.306550] [<c02d5b98>] (device_attach+0x0/0xc8) from [<c02d53bc>] (bus_probe_device+0x34/0x50)
[ 12.315753] r6:df356a08 r5:de165210 r4:de165208 r3:00000001
[ 12.321698] [<c02d5388>] (bus_probe_device+0x0/0x50) fr飉 [<c02d378c>] (device_add+0x4c4o0x590)
[ 12.330819] [<c02d32c8>] (device_add+0x0/0x590) from [<c02d78d4>] (platform_device_add+0x108/0x1b8)
[ 12.340308] [<c02d77cc>] (platform_device_add+0x0/0x1b8) from [<bf0ef594>] (wl1271_probe+0x1b8/0x210 [wl12xx_sdio])
[ 12.351239] r7:df356a08 r6:df7fd300 r5:de0f6cc0 r4:00000000
[ 12.357198] [<bf0ef3dc>] (wl1271_probe+0x0/0x210 [wl1粁x_sdio]) from [<c03f2e90>] (sdio_bus_probe+0xdc/0x108i
[ 12.367583] r7:bf0ef64c r6:bf0ef860 r5:df356a00 r4:df356a08
[ 12.373535] [<c03f2db4>] (sdio_bus_probe+0x0/0x108) from [<c02d5d30>] (driver_probe_device+0xa0/0x1bc)
[ 12.383275] r8:bf0ef860 r7:00000000 r6:df356a3c r5:c0894a18 r4:df356a08
[ 12.390131] r3:c03f2db4
[ 12.392882] [<c02d5c90>] (driver_probe_device+0x0/0x1bc) from [<c02d5ee8>] (__driver_attach+0x9c/0xa0)
[ 12.402629] r8:00000001 r7:00000000 r6:df356a3c r7:bf0ef860 r4:df356a08
[ 12.409485] r3:00000000
[ 12.412234] [<c02d5e4c>] (__driver_attach+0x0/0xa0) from [<c02d4dd4>] (bus_for_each_dev+0x6c/0x98)
[ 12.421617] r6:c02d5e4c r5:00000000 r4:bf0ef860 r3:c02d5e4c
[ 12.427577] [<c02d瀌68>] (b鮯_for_each_dev+0x0/0x98) from [<c02d59a4>] (driver_attach+0x2c/0x30)
[ 12.436776] r6:df353240 r5:c083c7d4 r4:bf0ef860
12.441627] [<c02d5978>] (driver_attach+0x0/0x30) from [<c02d563c>] (bus_add_driver+0x188/0x248)
[ 12.450839] [<c02d54b4>] (bus_add_driver+0x0/0x248) from [<c02d642c>] (driver_register+0x88/0x140)
[ 12.460233] [<c02d63a4>] (driver_register+0x0/0x140) from [<c03f3014>] (骴io_register_driver+0x34/0x38)
[ 12.470070] r8:00000001 r7:00000001 r6:00000000 r5:c084d700 r4:df06a000
[ 12.476927] r3:bf0ef850
[ 12.479680] [<c03f2fe0>] (sdio_register_driver+0x0/0x38) from`[<bf0f1014>] (wl327q遡nit+0x14/0x1c [wl12xx_sdio])
[ 12.490351] [<bf0f1000>] (wl1271_init+0x0/0x1c [wl12xx_sdio]) from [<c0008780>] (do_one_initcall+0x124/0x18c)
[ 12.500750] [<c000865c>] (do_one_initcall+0x0/0x18c) from [<c00777e8>] (sys_init_module+0x3ec/0x1bd8)
[ 12.510430] [<c00773fc>] (sys_init_module+0x0/0x1bd8) from [<c00138e0>] (ret_fast_syscall+0x0/0x30)
[ 12.519910] ---[ end trace d93c49428bf328ea ]---
[ 12.524754] wl1271_sdio`mmc1:0001z2: sdio write fao[66喼瀶哯[ 12.532340] ***** wl12xx_set_power*****
[ 12.536417] else 0******
[ 12.541007] wl12xx: ERROR couldn't get hw info
[ 12.546035] wl12xx_driver: probe of wl12xx failed with error -110
[ 12.689704] android_usb: already disabled
[ 12.694619] android_usb: already disabled
[ 12.699440] android_usb: already disabled
[ 12.704122] mtp_bind_config
[ 12.707113] adb_bind_config
root@android:/ # [ 13.016204] adb_open
[ 26.430770] request_suspend_state: wakeup (3->0) at 26397239297 (2000-01-01 00:00:24.740067837 UTC)
[ 27.346903] acc_open
[ 27.349236] acc_release

root@android:/ # [ 39.634401] adb_release
[ 39.639481] mtp_bind_config
[ 39.642520] adb_bind_config
[ 39.700396] init: untracked pid 313 exited
[ 39.704911] adb_open
[ 39.804955] init: sys_prop: permission denied uid:1003 name:service.bootanim.exit

root@android:/ #

上面是模块自动加载时会出现的问题。如果自己手动加载的话,就不会出现上面的情况。而是加载成功。

insmod /system/lib/modules/wl12xx_sdio.ko <
[ 892.095861] ***** wl12xx_set_power*****
[ 892.099889] 1 enable_gpio into _on****
[ 892.253620] ***** wl12xx_set_power*****
[ 892.257677] 1 enable_gpio into _on****
[ 892.586213] ***** wl12xx_set_power*****
[ 892.590253] else 0******
[ 892.603887] wl12xx: loaded

请问是什么原因造成的。谢谢