/media/mmcblk1p1 # insmod snx_nvram.ko
sonix_nvram_init
kernel BUG at /home/dev/pwnhack/SN986_1.60_QR_Scan_019a_20160606_0951/snx_sdk/kernel/linux-2.6.35.12/src/arch/arm/mm/dma-mapping.c:415!
Unable to handle kernel NULL pointer dereference at virtual address 00000000
fcse pid: 7, 0x0e000000
pgd = c3f44000
[00000000] *pgd=03ddf031, *pte=00000000, *ppte=00000000
Internal error: Oops: 817 [#1]
last sysfs file: /sys/devices/platform/snx_sd/mmc_host/mmc0/mmc0:0007/block/mmcblk1/dev
Modules linked in: snx_nvram(+) snx_dhid snx_udc snx_wdt snx_sd snx_vc snx_vb2 snx111 snx_isp sc2135 snx_aud_r2r snx_aud_sigma snx_aud_core 8188eu snx_pwm snx_gpio snx_crypto [last unloaded: snx_dmsc]
CPU: 0 Tainted: G W (2.6.35.12 #5)
PC is at __bug+0x1c/0x28
LR is at __bug+0x18/0x28
pc : [] lr : [] psr: 60000013
sp : c3e27e90 ip : 00000007 fp : c3cade50
r10: c3e27f1c r9 : c051a32c r8 : 00000000
r7 : 00000300 r6 : c4af4000 r5 : c3cadc00 r4 : 000003d0
r3 : 00000000 r2 : 60000013 r1 : 000046cf r0 : 0000008e
Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
Control: 0005717f Table: 03f44000 DAC: 00000015
Process insmod (pid: 885, stack limit = 0xc3e26270)
Stack: (0xc3e27e90 to 0xc3e28000)
7e80: f0900000 c002afa0 000003d0 c01ebdc0
7ea0: c4802000 c0519f30 00fc0004 00000000 c0007128 c3cade54 22222222 c3d73000
7ec0: 00000000 00000000 000003d0 00fc0000 00000000 bf1c6000 00000000 c01de130
7ee0: 000003d0 c3e27f1c c4af4000 bf1c2ab8 00000004 00000000 c3d73000 00000000
7f00: c3e26000 bf1c2398 000003d0 c3e27f1c c4af4000 c052e000 c3e26000 00000000
7f20: bf1c6000 bf1c308c 00000000 c052e000 c3e26000 bf1c60c0 000003d0 c4af4000
7f40: bf1c2be8 000003d0 00000000 bf1c2f44 00000000 c0024440 c337a780 00000000
7f60: 00000000 bf1c2f44 00000000 bf1c2f44 00000000 0007423f 00002578 c00252e8
7f80: 00000000 c0061084 0000000f 00000001 01929f50 01929dc0 01929e64 00000069
7fa0: 00000080 c0025140 01929dc0 01929e64 0007f040 00002578 0007423f 00000000
7fc0: 01929dc0 01929e64 00000069 00000080 01929e68 0007423f 01929e68 00000000
7fe0: 008368fc 01929a94 00015044 0083690c 20000010 0007f040 e59f3494 e58dc000
[] (__bug+0x1c/0x28) from [] (___dma_single_cpu_to_dev+0x48/0x54)
[] (___dma_single_cpu_to_dev+0x48/0x54) from [] (snx_sf_read_dma+0xec/0x4a8)
[] (snx_sf_read_dma+0xec/0x4a8) from [] (part_read+0x60/0xe4)
[] (part_read+0x60/0xe4) from [] (sn_mtd_read_nm+0x4c/0x8c [snx_nvram])
[] (sn_mtd_read_nm+0x4c/0x8c [snx_nvram]) from [] (init_module+0xc0/0x1f0 [snx_nvram])
[] (init_module+0xc0/0x1f0 [snx_nvram]) from [] (do_one_initcall+0x30/0x1b0)
[] (do_one_initcall+0x30/0x1b0) from [] (sys_init_module+0xa8/0x1c0)
[] (sys_init_module+0xa8/0x1c0) from [] (ret_fast_syscall+0x0/0x2c)
Code: e59f0010 e1a01003 eb0e2724 e3a03000 (e5833000)
---[ end trace 10f067f53ebc636b ]---
Segmentation fault