Kernel version: raspberrypi 4.4.6-v7+ #871 Driver source file: drivers/input/misc/ati_remote2.c Umap2 command line: umap2vsscan -P <PHY> -s 0471:0602 After connecting such a device, NULL pointer dereference in the kernel and USB stops responding. Binyamin Sharet Cisco, STARE-C << Attached: 0471_0602_dmesg.log >>
[ 508.866035] usb 1-1.5: new high-speed USB device number 48 using dwc_otg [ 508.980538] usb 1-1.5: New USB device found, idVendor=0471, idProduct=0602 [ 508.980565] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 508.980582] usb 1-1.5: Product: UMAP2. PID:0x0602 [ 508.980598] usb 1-1.5: Manufacturer: UMAP2. VID:0x0471 [ 508.980614] usb 1-1.5: SerialNumber: 123456 [ 510.072098] Unable to handle kernel NULL pointer dereference at virtual address 00000070 [ 510.080281] pgd = af588000 [ 510.082994] [00000070] *pgd=00000000 [ 510.07209[ 510.086655] Internal error: Oops: 5 [#1] SMP ARM ] Unable to handle kernel NULL pointer dereference at virtual address 00000070 [ 510.080281] pgd = af588000 [ 510.082994] [00000070] *pgd=00000000 [ 510.086655] Internal error: Oops: 5 [#1] SMP ARM Message from syslogd@raspberrypi at Jun 20 09:25:26 ... kernel:[ 510.086655] Internal error: Oops: 5 [#1] SMP ARM [ 510.128098] Modules linked in: ati_remote2(+) gspca_jeilinj cxacru smsdvb smsusb crc_ccitt rio500 gspca_t613 gspca_main[ 510.12809 v4l2_common8] Modul videodeves linked in media[1m: ati_remote2( sg+) gspca_jeilinj bnep cxacru smsdvb sm bluetoothsusb smsmdtv gspc cfg80211a_benq tm6000 vid rfkilleobuf_vmalloc vid snd_bcm2835eobuf_core go7007 bcm2835_gpiomem_loader cypress_f snd_pcmirmware gspca_sun bcm2835_wdtplus gspca_nw80x snd_timergspca_jl2005bcd c sndatc ark3116 at76c uio_pdrv_genirq50x_usb gspca_mr9 uio7310a pegasus gsp i2c_devca_spca505 speedt fusech usbatm atm usblp i2400m_usb i240 0m wimax gspca_m[ 510.128392] CPU: 2 PID: 1272 Comm: systemd-udevd Tainted: G C 4.4.6-v7+ #871 5602 gspca_gl860[ 510.128396] Hardware name: BCM2709 joydev usbtouch[ 510.128403] task: b8f678c0 ti: a9de4000 task.ti: a9de4000 screen gspca_kin[ 510.128424] PC is at usb_driver_claim_interface+0x18/0x120 ect em28xx usb_d[ 510.128456] LR is at ati_remote2_probe+0x88/0x4a8 [ati_remote2] ebug usbserial g[ 510.128466] pc : [<8040a400>] lr : [<7f514880>] psr: 60000013 [ 510.128466] sp : a9de5c58 ip : a9de5c78 fp : a9de5c74 spca_mars ir_mce[ 510.128471] r10: 00000000 r9 : a9888800 r8 : a9888800 _kbd_decoder ir_[ 510.128478] r7 : af53e468 r6 : af53e400 r5 : b8ef43c8 r4 : 00000000 xmp_decoder ir_s[ 510.128485] r3 : 00000001 r2 : b5a54400 r1 : 00000000 r0 : 7f515914 harp_decoder ir_[ 510.128494] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user lirc_codec lirc_[ 510.128501] Control: 10c5387d Table: 2f58806a DAC: 00000055 dev ir_sanyo_dec[ 510.128508] Process systemd-udevd (pid: 1272, stack limit = 0xa9de4210) oder ir_jvc_deco[ 510.128515] Stack: (0xa9de5c58 to 0xa9de6000) der ir_sony_deco[ 510.128524] 5c40: b5a54400 b8ef43c8 der ir_rc6_decod[ 510.128537] 5c60: af53e400 af53e468 a9de5cbc a9de5c78 7f514880 8040a3f4 a9de5ca4 a9de5c88 er ir_rc5_decode[ 510.128550] 5c80: 8040ad70 8040ac7c 00000471 7f5159d8 a9888800 a9888820 af53e468 af53e400 r ir_nec_decoder[ 510.128563] 5ca0: 7f515948 a9888800 7f5159d8 00000000 a9de5cec a9de5cc0 8040af88 7f514804 evdev rc_hauppa[ 510.128577] 5cc0: 8040aea0 8099d880 a9888820 00000000 7f515948 0000004d 7f515a40 00000000 uge xc5000 au852[ 510.128590] 5ce0: a9de5d14 a9de5cf0 803a5e20 8040aeac 00000007 a9888820 7f515948 a9888854 2_dig au8522_dec[ 510.128603] 5d00: 00000000 7f515848 a9de5d34 a9de5d18 803a5fac 803a5c64 b958a45c 00000000 oder au8522_comm[ 510.128616] 5d20: 7f515948 803a5f04 a9de5d5c a9de5d38 803a3fec 803a5f10 b958a45c a9f27e34 on au0828 tveepr[ 510.128629] 5d40: b958a470 7f515948 a995af00 808ec0b4 a9de5d6c a9de5d60 803a58e8 803a3f7c om videobuf2_vma[ 510.128642] 5d60: a9de5d94 a9de5d70 803a552c 803a58c8 7f515848 a9de5d80 7f515948 00000000 lloc videobuf2_m[ 510.128656] 5d80: 808ec0b4 7f515948 a9de5dac a9de5d98 803a66e8 803a5384 7f515914 00000000 emops videobuf2_[ 510.128669] 5da0: a9de5dd4 a9de5db0 8040a8f4 803a666c 808a2398 808a2398 b5a3a500 7f518000 v4l2 videobuf2_c[ 510.128682] 5dc0: 00000001 4a5c5c1c a9de5de4 a9de5dd8 7f518024 8040a880 a9de5e64 a9de5de8 ore dvb_core rc_[ 510.128695] 5de0: 80009764 7f51800c 3a72e000 00000000 a9de5e3c a9de5e00 80105288 00006b2d core zd1211rw r8[ 510.128708] 5e00: 801394d8 a9ef6dc0 3a72e000 00000001 4a5c5c1c 80147e40 a9de5e64 a9de5e28 712u(C) gspca_ko[ 510.128721] 5e20: 80147e40 805e93d4 00000001 801394d8 00000005 00006b2d bc592000 7f515a40 nica p54usb p54c[ 510.128734] 5e40: 00000001 b5a3a4c0 7f515a40 00000001 4a5c5c1c b5a3a408 a9de5e8c a9de5e68 ommon mac80211[[ 510.128748] 5e60: 800fccc8 800096d0 a9de5e8c a9de5e78 801395d4 a9de5f44 00000001 b5a3a400 0m [ 510.[ 510.128761] 5e80: a9de5f3c a9de5e90 8009ec68 800fcc60 7f515a4c 00007fff 7f515a40 8009c34c 128307] [ 510.128774] 5ea0: 000000ad 00000000 7f515a4c 7f515a4c 7f515c40 7f515c24 7f515b58 7f515a88 crc_ccitt [ 510.128787] 5ec0: bc592000 00004c80 00041353 00000000 0b300002 00000000 00000000 00000000 [ 510.1283[ 510.128799] 5ee0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 10] rio[ 510.128811] 5f00: 00000000 00000000 00000000 00000000 00000028 00000000 00000007 76d79004 500 [ [ 510.128825] 5f20: 0000017b 8000fd08 a9de4000 00000000 a9de5fa4 a9de5f40 8009f44c 8009d2e8 510.128314] [0[ 510.128838] 5f40: 00000002 bc592000 00004c80 bc5966b8 bc5947e5 bc595424 00001c40 00001f00 m gspca_t613[ 510.128851] 5f60: 00000000 00000000 00000000 00001330 00000023 00000024 0000001c 00000019 [ 51[ 510.128863] 5f80: 00000013 00000000 00000000 54b4a04c 00000000 00020000 00000000 a9de5fa8 0.128317] [[ 510.128876] 5fa0: 8000fb40 8009f3e4 54b4a04c 00000000 00000007 76d79004 00000000 56a55dc0 1m gspca_main[0[ 510.128890] 5fc0: 54b4a04c 00000000 00020000 0000017b 76d79004 00020000 56a55dc0 00000000 m [ 510.1[ 510.128902] 5fe0: 7eee4200 7eee41f0 76d7109c 76ecdd40 60000010 00000007 00000000 00000000 28320] [ 510.128943] [<8040a400>] (usb_driver_claim_interface) from [<7f514880>] (ati_remote2_probe+0x88/0x4a8 [ati_remote2]) [ 510.129042] [<7f514880>] (ati_remote2_probe [ati_remote2]) from [<8040af88>] (usb_probe_interface+0xe8/0x1d4) [ 510.128[ 510.129064] [<8040af88>] (usb_probe_interface) from [<803a5e20>] (really_probe+0x1c8/0x2ac) 323] vi[ 510.129084] [<803a5e20>] (really_probe) from [<803a5fac>] (__driver_attach+0xa8/0xac) deodev [32[ 510.129103] [<803a5fac>] (__driver_attach) from [<803a3fec>] (bus_for_each_dev+0x7c/0xb0) m[ 510.128326] [ 510.129121] [<803a3fec>] (bus_for_each_dev) from [<803a58e8>] (driver_attach+0x2c/0x30) media[[ 510.129138] [<803a58e8>] (driver_attach) from [<803a552c>] (bus_add_driver+0x1b4/0x22c) 0m [ 510.[ 510.129157] [<803a552c>] (bus_add_driver) from [<803a66e8>] (driver_register+0x88/0x108) 128330] [ 510.129174] [<803a66e8>] (driver_register) from [<8040a8f4>] (usb_register_driver+0x80/0x144) sg [ [ 510.129201] [<8040a8f4>] (usb_register_driver) from [<7f518024>] (ati_remote2_driver_init+0x24/0x2c [ati_remote2]) 510.128333] [0[ 510.129242] [<7f518024>] (ati_remote2_driver_init [ati_remote2]) from [<80009764>] (do_one_initcall+0xa0/0x1ec) m bnep [ 510.129261] [<80009764>] (do_one_initcall) from [<800fccc8>] (do_init_module+0x74/0x1d8) [ 510.1283[ 510.129281] [<800fccc8>] (do_init_module) from [<8009ec68>] (load_module+0x198c/0x1fc8) 36] blu[ 510.129298] [<8009ec68>] (load_module) from [<8009f44c>] (SyS_finit_module+0x74/0x84) etooth [32[ 510.129317] [<8009f44c>] (SyS_finit_module) from [<8000fb40>] (ret_fast_syscall+0x0/0x1c) m[ 510.128339] [ 510.129331] Code: e24cb004 e52de004 e8bd4000 e1a04001 (e5911070) cfg8021[ 510.129423] ---[ end trace e9b2e497e58ac28b ]--- 1 [ 5 smsmdtv gspca_benq tm6000 videobuf_vmalloc videobuf_core go7007_loader cypress_firmware gspca_sunplus gspca_nw80x gspca_jl2005bcd catc ark3116 at76c50x_usb gspca_mr97310a pegasus gspca_spca505 speedtch usbatm atm usblp i2400m_usb i2400m wimax gspca_m5602 gspca_gl860 joydev usbtouchscreen gspca_kinect em28xx usb_debug usbserial gspca_mars ir_mce_kbd_decoder ir_xmp_decoder ir_sharp_decoder ir_lirc_codec lirc_dev ir_sanyo_decoder ir_jvc_decoder ir_sony_decoder ir_rc6_decoder ir_rc5_decoder ir_nec_decoder evdev rc_hauppauge xc5000 au8522_dig au8522_decoder au8522_common au0828 tveeprom videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core dvb_core rc_core zd1211rw r8712u(C) gspca_konica p54usb p54common mac8021110.128343] rfkill [ 510.128346] snd_bcm2835 [ 510.128350] bcm2835_gpiomem [ 510.128353] snd_pcm [ 510.128356] bcm2835_wdt [ 510.128359] snd_timer [ 510.128362] snd [ 510.128365] uio_pdrv_genirq [ 510.128368] uio [ 510.128371] i2c_dev [ 510.128374] fuse [ 510.128392] CPU: 2 PID: 1272 Comm: systemd-udevd Tainted: G C 4.4.6-v7+ #871 [ 510.128396] Hardware name: BCM2709 [ 510.128403] task: b8f678c0 ti: a9de4000 task.ti: a9de4000 [ 510.128424] PC is at usb_driver_claim_interface+0x18/0x120 [ 510.128456] LR is at ati_remote2_probe+0x88/0x4a8 [ati_remote2] [ 510.128466] pc : [<8040a400>] lr : [<7f514880>] psr: 60000013 sp : a9de5c58 ip : a9de5c78 fp : a9de5c74 [ 510.128471] r10: 00000000 r9 : a9888800 r8 : a9888800 [ 510.128478] r7 : af53e468 r6 : af53e400 r5 : b8ef43c8 r4 : 00000000 [ 510.128485] r3 : 00000001 r2 : b5a54400 r1 : 00000000 r0 : 7f515914 [ 510.128494] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user [ 510.128501] Control: 10c5387d Table: 2f58806a DAC: 00000055 [ 510.128508] Process systemd-udevd (pid: 1272, stack limit = 0xa9de4210) [ 510.128515] Stack: (0xa9de5c58 to 0xa9de6000) [ 510.128524] 5c40: b5a54400 b8ef43c8 [ 510.128537] 5c60: af53e400 af53e468 a9de5cbc a9de5c78 7f514880 8040a3f4 a9de5ca4 a9de5c88 [ 510.128550] 5c80: 8040ad70 8040ac7c 00000471 7f5159d8 a9888800 a9888820 af53e468 af53e400 [ 510.128563] 5ca0: 7f515948 a9888800 7f5159d8 00000000 a9de5cec a9de5cc0 8040af88 7f514804 [ 510.128577] 5cc0: 8040aea0 8099d880 a9888820 00000000 7f515948 0000004d 7f515a40 00000000 [ 510.128590] 5ce0: a9de5d14 a9de5cf0 803a5e20 8040aeac 00000007 a9888820 7f515948 a9888854 [ 510.128603] 5d00: 00000000 7f515848 a9de5d34 a9de5d18 803a5fac 803a5c64 b958a45c 00000000 [ 510.128616] 5d20: 7f515948 803a5f04 a9de5d5c a9de5d38 803a3fec 803a5f10 b958a45c a9f27e34 [ 510.128629] 5d40: b958a470 7f515948 a995af00 808ec0b4 a9de5d6c a9de5d60 803a58e8 803a3f7c [ 510.128642] 5d60: a9de5d94 a9de5d70 803a552c 803a58c8 7f515848 a9de5d80 7f515948 00000000 [ 510.128656] 5d80: 808ec0b4 7f515948 a9de5dac a9de5d98 803a66e8 803a5384 7f515914 00000000 [ 510.128669] 5da0: a9de5dd4 a9de5db0 8040a8f4 803a666c 808a2398 808a2398 b5a3a500 7f518000 [ 510.128682] 5dc0: 00000001 4a5c5c1c a9de5de4 a9de5dd8 7f518024 8040a880 a9de5e64 a9de5de8 [ 510.128695] 5de0: 80009764 7f51800c 3a72e000 00000000 a9de5e3c a9de5e00 80105288 00006b2d [ 510.128708] 5e00: 801394d8 a9ef6dc0 3a72e000 00000001 4a5c5c1c 80147e40 a9de5e64 a9de5e28 [ 510.128721] 5e20: 80147e40 805e93d4 00000001 801394d8 00000005 00006b2d bc592000 7f515a40 [ 510.128734] 5e40: 00000001 b5a3a4c0 7f515a40 00000001 4a5c5c1c b5a3a408 a9de5e8c a9de5e68 [ 510.128748] 5e60: 800fccc8 800096d0 a9de5e8c a9de5e78 801395d4 a9de5f44 00000001 b5a3a400 [ 510.128761] 5e80: a9de5f3c a9de5e90 8009ec68 800fcc60 7f515a4c 00007fff 7f515a40 8009c34c [ 510.128774] 5ea0: 000000ad 00000000 7f515a4c 7f515a4c 7f515c40 7f515c24 7f515b58 7f515a88 [ 510.128787] 5ec0: bc592000 00004c80 00041353 00000000 0b300002 00000000 00000000 00000000 [ 510.128799] 5ee0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 510.128811] 5f00: 00000000 00000000 00000000 00000000 00000028 00000000 00000007 76d79004 [ 510.128825] 5f20: 0000017b 8000fd08 a9de4000 00000000 a9de5fa4 a9de5f40 8009f44c 8009d2e8 [ 510.128838] 5f40: 00000002 bc592000 00004c80 bc5966b8 bc5947e5 bc595424 00001c40 00001f00 [ 510.128851] 5f60: 00000000 00000000 00000000 00001330 00000023 00000024 0000001c 00000019 [ 510.128863] 5f80: 00000013 00000000 00000000 54b4a04c 00000000 00020000 00000000 a9de5fa8 [ 510.128876] 5fa0: 8000fb40 8009f3e4 54b4a04c 00000000 00000007 76d79004 00000000 56a55dc0 [ 510.128890] 5fc0: 54b4a04c 00000000 00020000 0000017b 76d79004 00020000 56a55dc0 00000000 [ 510.128902] 5fe0: 7eee4200 7eee41f0 76d7109c 76ecdd40 60000010 00000007 00000000 00000000 [ 510.128943] [<8040a400>] (usb_driver_claim_interface) from [<7f514880>] (ati_remote2_probe+0x88/0x4a8 [ati_remote2]) [ 510.129042] [<7f514880>] (ati_remote2_probe [ati_remote2]) from [<8040af88>] (usb_probe_interface+0xe8/0x1d4) [ 510.129064] [<8040af88>] (usb_probe_interface) from [<803a5e20>] (really_probe+0x1c8/0x2ac) [ 510.129084] [<803a5e20>] (really_probe) from [<803a5fac>] (__driver_attach+0xa8/0xac) [ 510.129103] [<803a5fac>] (__driver_attach) from [<803a3fec>] (bus_for_each_dev+0x7c/0xb0) [ 510.129121] [<803a3fec>] (bus_for_each_dev) from [<803a58e8>] (driver_attach+0x2c/0x30) [ 510.129138] [<803a58e8>] (driver_attach) from [<803a552c>] (bus_add_driver+0x1b4/0x22c) [ 510.129157] [<803a552c>] (bus_add_driver) from [<803a66e8>] (driver_register+0x88/0x108) [ 510.129174] [<803a66e8>] (driver_register) from [<8040a8f4>] (usb_register_driver+0x80/0x144) [ 510.129201] [<8040a8f4>] (usb_register_driver) from [<7f518024>] (ati_remote2_driver_init+0x24/0x2c [ati_remote2]) [ 510.129242] [<7f518024>] (ati_remote2_driver_init [ati_remote2]) from [<80009764>] (do_one_initcall+0xa0/0x1ec) [ 510.129261] [<80009764>] (do_one_initcall) from [<800fccc8>] (do_init_module+0x74/0x1d8) [ 510.129281] [<800fccc8>] (do_init_module) from [<8009ec68>] (load_module+0x198c/0x1fc8) [ 510.129298] [<8009ec68>] (load_module) from [<8009f44c>] (SyS_finit_module+0x74/0x84) [ 510.129317] [<8009f44c>] (SyS_finit_module) from [<8000fb40>] (ret_fast_syscall+0x0/0x1c) [ 510.129331] Code: e24cb004 e52de004 e8bd4000 e1a04001 (e5911070) [ 510.129423] ---[ end trace e9b2e497e58ac28b ]--- [ 511.444639] usb 1-1.5: USB disconnect, device number 48 [ 511.444639] usb 1-1.5: USB disconnect, device number 48