Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kernel panic during AP6210 startup #5

Open
rosterloh opened this issue Feb 11, 2014 · 0 comments
Open

Kernel panic during AP6210 startup #5

rosterloh opened this issue Feb 11, 2014 · 0 comments

Comments

@rosterloh
Copy link

Firstly thanks for all your work on this but I was wondering if you had any insight into this error I am having with your kernel sources on a MK802IV. I have rebuilt this kernel and repacked it with the ramdisk from the stock boot.img. It's crashing when initialising the bus for the AP6210 device.

[   17.880040] =========== WLAN placed in RESET ========
[   18.077627] dhd_bus_select_firmware_name_by_chip: firmware_path=/system/etc/firmware/fw_RK901a2.bin
[   18.077705] 
[   18.077710] Dongle Host Driver, version 1.28.23.6 (r)
[   18.077723] Compiled in drivers/net/wireless/bcmdhd on Sep 11 2013 at 14:36:36
[   18.077839] wl_android_wifi_on in 1
[   18.077869] wl_android_wifi_on in 2: g_wifi_on=0
[   18.077902] ANDROID-ERROR) wifi_set_power = 1
[   18.077939] rk29sdk_wifi_power: 1
[   18.330193] wifi turn on power
[   18.430381] =========== WLAN going back to live  ========
[   18.430412] sdio_reset_comm():
[   18.430451] rk29_sdmmc_change_clk_div..1935..  newDiv=42, newCLK=294Khz [sdio]
[   18.436366] rk29_sdmmc_change_clk_div..1935..  newDiv=0, newCLK=24750Khz [sdio]
[   18.436689] 
[   18.436693] 
[   18.436695] dhd_bus_devreset: == WLAN ON ==
[   18.436728] dhd_bus_devreset called when dongle is not in reset
[   18.436757] Will call dhd_bus_start instead
[   18.436812] bcmsdh_config_hw_oob_intr: Enable HW OOB for 43362
[   18.436989] dhd_bus_select_firmware_name_by_chip: firmware_path=/system/etc/firmware/fw_RK901a2.bin
[   18.437074] Final fw_path=/system/etc/firmware/fw_RK901a2.bin
[   18.437107] Final nv_path=/system/etc/firmware/nvram_AP6210.txt
[   18.437136] Final conf_path=/system/etc/firmware/config.txt
[   18.499856] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.
[   18.617139] Unable to handle kernel NULL pointer dereference at virtual address 00000394
[   18.632597] pgd = c0404000
[   18.635303] [00000394] *pgd=00000000
[   18.638888] Internal error: Oops: 5 [#1] PREEMPT SMP
[   18.643855] CPU: 0    Tainted: G         C   (3.0.36+ #279)
[   18.649437] PC is at __raw_spin_lock_irqsave+0x34/0xb8
[   18.654578] LR is at try_to_wake_up+0x28/0x358
[   18.659020] pc : [<c092e730>]    lr : [<c04680f4>]    psr: 60000193
[   18.659026] sp : c0acde28  ip : 02d0f000  fp : c0acde74
[   18.670506] r10: 00000000  r9 : 00000000  r8 : c0acc028
[   18.675729] r7 : c0acc000  r6 : 00000001  r5 : 00000394  r4 : c0acc028
[   18.682255] r3 : c0acc000  r2 : 00010003  r1 : 0000000f  r0 : 60000193
[   18.688773] Flags: nZCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
[   18.696171] Control: 10c5387d  Table: 8b51004a  DAC: 00000015
[   18.701915] 
[   18.701917] PC: 0xc092e6b0:
[   18.706193] e6b0  e5903004 e3530000 e5903000 05805004 e3530000 1a000003 eaffffe3 e5903000
[   18.714457] e6d0  e3530000 0affffe0 e5903004 e3530000 1afffff9 eaffffdc e58d0004 ebfff74e
[   18.722722] e6f0  e59d0004 eaffffed eaffffd0 e92d41f0 e1a0300d e3c34d7f e1a05000 e1a08004
[   18.730986] e710  e3c4703f e3a06001 e3c4303f e5932004 e2822001 e5832004 e10f0000 f10c0080
[   18.739254] e730  e1953f9f e3330000 01853f96 e3530000 0a000016 e121f000 e3c4403f e5943004
[   18.747520] e750  e2433001 e5843004 e5973000 e1a04008 e3130002 1a000010 e5953004 e3530000
[   18.755786] e770  e5953000 05856004 e3530000 1a000003 eaffffe4 e5953000 e3530000 0affffe1
[   18.764048] e790  e5953004 e3530000 1afffff9 eaffffdd f57ff05f e5853004 e8bd81f0 ebfff71e
[   18.772314] 

The stock system's boot messages after the panic look as follows:

[   55.633184] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.
[   55.858992] dhd_bus_init: enable 0x06, ready 0x06 (waited 0us)e
[   55.859308] bcmsdh_set_drvdata: Enter 
[   55.859381] bcmsdh_register_oob_intr: Enter 
[   55.859463] bcmsdh_register_oob_intr: IRQ=282 Type=4 
[   55.865498] Set country ALL, revision 0
[   55.938833] Country code: ALL (ALL/0)
[   55.949127]   Driver: 1.28.23.6 (r)
[   55.949135]   Firmware: wl0: Jul  5 2013 17:55:22 version 5.90.195.89.10 FWID 01-f4d31c13 
[   55.949222] wl_android_wifi_on: Success
[   55.951115] wl_cfg80211_attach_post: p2p0 p2p_dev_addr=02:22:f4:aa:65:d7
[   57.958224] wl_bss_connect_done succeeded with e0:3f:49:95:5e:f8
[   57.964221] wl_bss_connect_done succeeded with e0:3f:49:95:5e:f8
[   58.651719] acc_open
[   58.651814] acc_release
[   58.780885] init: no such service 'dhcpcd_'
[   65.064983] qtaguid: ctrl_counterset(s 1 10012): insufficient priv from pid=418 tgid=357 uid=1000
[   66.540371] init: sys_prop: permission denied uid:1001  name:media.cfg.audio.soundeffect
[   73.625437] init: sys_prop: permission denied uid:1003  name:service.bootanim.exit
[   86.911092] binder: 357:421 transaction failed 29189, size 100-4

I would really appreciate any help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant