Crash on connecting Intel Realsense cameras

userHead eap 2020-10-27 17:16:54 1002 Views1 Replies
Hi there,

My system runs on:
LP Alpha 864s (ubuntu 16.04 server on the M.2 extension)

I followed all the instructions on installing the intel realsense camera, which I also successfully installed on similar Ubuntu laptops.

With my new and shiny LP, when I plug the camera in I get the following logs in dmesg:
[ 1060.072924] usb 2-4: new SuperSpeed USB device number 3 using xhci_hcd
[ 1060.089384] usb 2-4: New USB device found, idVendor=8086, idProduct=0ad3
[ 1060.089398] usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1060.089408] usb 2-4: Product: Intel(R) RealSense(TM) Depth Camera 415
[ 1060.089417] usb 2-4: Manufacturer: Intel(R) RealSense(TM) Depth Camera 415
[ 1060.089425] usb 2-4: SerialNumber: 832513022100
[ 1060.092631] uvcvideo: Found UVC 1.50 device Intel(R) RealSense(TM) Depth Camera 415 (8086:0ad3)
[ 1060.092639] ------------[ cut here ]------------
[ 1060.092660] WARNING: CPU: 2 PID: 1712 at /build/linux-r6c22l/linux-4.4.0/drivers/media/media-device.c:380 __media_device_register+0xf0/0x140 [media]()
[ 1060.092665] Modules linked in: uvcvideo(OE) videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core v4l2_common videodev(OE) media i915 drm_kms_helper drm i2c_algo_bit fb_sys_fops syscopyarea sysfillrect sysimgblt ipt_MASQUERADE nf_nat_masquerade_ipv4 xt_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp iptable_filter nf_nat_h323 nf_conntrack_h323 nf_nat_pptp nf_nat_proto_gre nf_conntrack_pptp nf_conntrack_proto_gre nf_nat_tftp nf_conntrack_tftp nf_nat_sip nf_conntrack_sip nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack ip_tables x_tables drbg ansi_cprng ctr ccm bnep binfmt_misc arc4 8250_dw i2c_designware_platform i2c_designware_core iwlmvm mac80211 iwlwifi cfg80211 intel_rapl x86_pkg_temp_thermal intel_powerclamp
[ 1060.092791] coretemp kvm_intel kvm irqbypass serio_raw btusb btrtl btbcm btintel idma64 virt_dma mei_me bluetooth shpchp joydev mei intel_lpss_pci intel_lpss input_leds xr_usb_serial_common ecdh_generic cdc_acm goodix mac_hid acpi_pad ib_iser rdma_cm iw_cm ib_cm ib_sa ib_mad ib_core ib_addr iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi autofs4 btrfs raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear hid_microsoft hid_generic uas usbhid usb_storage hid mmc_block crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd sdhci_pci sdhci r8169 nvme mii wmi video pinctrl_sunrisepoint pinctrl_intel fjes
[ 1060.092982] CPU: 2 PID: 1712 Comm: kworker/2:5 Tainted: G W OE 4.4.0-193-generic #224-Ubuntu
[ 1060.092989] Hardware name: LattePanda Alpha/Alpha, BIOS CDJQ-BS-7-S70KR300-KF65A-101-I 06/12/2019
[ 1060.093003] Workqueue: usb_hub_wq hub_event
[ 1060.093009] 0000000000000286 7cc74c185263db15 ffff88003fcd7710 ffffffff8140f0ab
[ 1060.093019] 0000000000000000 ffffffffc08bb380 ffff88003fcd7748 ffffffff810864b2
[ 1060.093030] ffff8800aefd5070 ffff8800aefd5070 ffff8800aefd5000 0000000000000004
[ 1060.093040] Call Trace:
[ 1060.093057] [<ffffffff8140f0ab>] dump_stack+0x6d/0x92
[ 1060.093071] [<ffffffff810864b2>] warn_slowpath_common+0x82/0xc0
[ 1060.093082] [<ffffffff810865fa>] warn_slowpath_null+0x1a/0x20
[ 1060.093095] [<ffffffffc08b9a40>] __media_device_register+0xf0/0x140 [media]
[ 1060.093111] [<ffffffffc0a87b30>] uvc_probe+0x490/0x2aa0 [uvcvideo]
[ 1060.093125] [<ffffffff81649e7d>] usb_probe_interface+0x11d/0x300
[ 1060.093137] [<ffffffff8157db62>] driver_probe_device+0x1c2/0x4b0
[ 1060.093149] [<ffffffff8157df54>] __device_attach_driver+0x74/0xa0
[ 1060.093160] [<ffffffff8157dee0>] ? __driver_attach+0x90/0x90
[ 1060.093170] [<ffffffff8157b8a9>] bus_for_each_drv+0x69/0xb0
[ 1060.093181] [<ffffffff8157d89c>] __device_attach+0xdc/0x170
[ 1060.093192] [<ffffffff8157dfc3>] device_initial_probe+0x13/0x20
[ 1060.093202] [<ffffffff8157cb45>] bus_probe_device+0x95/0xa0
[ 1060.093212] [<ffffffff8157a64e>] device_add+0x3de/0x640
[ 1060.093223] [<ffffffff81638dcc>] ? usb_enable_lpm+0x8c/0xa0
[ 1060.093233] [<ffffffff81647d36>] usb_set_configuration+0x516/0x8e0
[ 1060.093243] [<ffffffff81652d2e>] generic_probe+0x2e/0x80
[ 1060.093253] [<ffffffff81649d28>] usb_probe_device+0x38/0x70
[ 1060.093264] [<ffffffff8157db62>] driver_probe_device+0x1c2/0x4b0
[ 1060.093275] [<ffffffff8157df54>] __device_attach_driver+0x74/0xa0
[ 1060.093285] [<ffffffff8157dee0>] ? __driver_attach+0x90/0x90
[ 1060.093294] [<ffffffff8157b8a9>] bus_for_each_drv+0x69/0xb0
[ 1060.093305] [<ffffffff8157d89c>] __device_attach+0xdc/0x170
[ 1060.093316] [<ffffffff8157dfc3>] device_initial_probe+0x13/0x20
[ 1060.093326] [<ffffffff8157cb45>] bus_probe_device+0x95/0xa0
[ 1060.093336] [<ffffffff8157a64e>] device_add+0x3de/0x640
[ 1060.093347] [<ffffffff81541d00>] ? add_device_randomness+0xd0/0x150
[ 1060.093358] [<ffffffff8163c927>] usb_new_device+0x277/0x4b0
[ 1060.093369] [<ffffffff8163e107>] hub_port_connect+0x5e7/0xaf0
[ 1060.093380] [<ffffffff8163ece1>] hub_event+0x6d1/0xb20
[ 1060.093392] [<ffffffff810a0d5b>] process_one_work+0x16b/0x4e0
[ 1060.093400] [<ffffffff810a111e>] worker_thread+0x4e/0x590
[ 1060.093409] [<ffffffff810a10d0>] ? process_one_work+0x4e0/0x4e0
[ 1060.093419] [<ffffffff810a7857>] kthread+0xe7/0x100
[ 1060.093430] [<ffffffff81865b21>] ? __schedule+0x301/0x810
[ 1060.093441] [<ffffffff810a7770>] ? kthread_create_on_node+0x1e0/0x1e0
[ 1060.093450] [<ffffffff8186aea5>] ret_from_fork+0x55/0x80
[ 1060.093460] [<ffffffff810a7770>] ? kthread_create_on_node+0x1e0/0x1e0
[ 1060.093467] ---[ end trace b328fd408f5e8ab4 ]---
[ 1060.100358] uvcvideo: Found UVC 1.50 device Intel(R) RealSense(TM) Depth Camera 415 (8086:0ad3)
[ 1060.100366] ------------[ cut here ]------------
[ 1060.100382] WARNING: CPU: 2 PID: 1712 at /build/linux-r6c22l/linux-4.4.0/drivers/media/media-device.c:380 __media_device_register+0xf0/0x140 [media]()
[ 1060.100386] Modules linked in: uvcvideo(OE) videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core v4l2_common videodev(OE) media i915 drm_kms_helper drm i2c_algo_bit fb_sys_fops syscopyarea sysfillrect sysimgblt ipt_MASQUERADE nf_nat_masquerade_ipv4 xt_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp iptable_filter nf_nat_h323 nf_conntrack_h323 nf_nat_pptp nf_nat_proto_gre nf_conntrack_pptp nf_conntrack_proto_gre nf_nat_tftp nf_conntrack_tftp nf_nat_sip nf_conntrack_sip nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack ip_tables x_tables drbg ansi_cprng ctr ccm bnep binfmt_misc arc4 8250_dw i2c_designware_platform i2c_designware_core iwlmvm mac80211 iwlwifi cfg80211 intel_rapl x86_pkg_temp_thermal intel_powerclamp
[ 1060.100485] coretemp kvm_intel kvm irqbypass serio_raw btusb btrtl btbcm btintel idma64 virt_dma mei_me bluetooth shpchp joydev mei intel_lpss_pci intel_lpss input_leds xr_usb_serial_common ecdh_generic cdc_acm goodix mac_hid acpi_pad ib_iser rdma_cm iw_cm ib_cm ib_sa ib_mad ib_core ib_addr iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi autofs4 btrfs raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear hid_microsoft hid_generic uas usbhid usb_storage hid mmc_block crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd sdhci_pci sdhci r8169 nvme mii wmi video pinctrl_sunrisepoint pinctrl_intel fjes
[ 1060.100607] CPU: 2 PID: 1712 Comm: kworker/2:5 Tainted: G W OE 4.4.0-193-generic #224-Ubuntu
[ 1060.100611] Hardware name: LattePanda Alpha/Alpha, BIOS CDJQ-BS-7-S70KR300-KF65A-101-I 06/12/2019
[ 1060.100624] Workqueue: usb_hub_wq hub_event
[ 1060.100629] 0000000000000286 7cc74c185263db15 ffff88003fcd7710 ffffffff8140f0ab
[ 1060.100637] 0000000000000000 ffffffffc08bb380 ffff88003fcd7748 ffffffff810864b2
[ 1060.100645] ffff8800aefd5070 ffff8800aefd5070 ffff8800aefd5000 0000000000000004
[ 1060.100653] Call Trace:
[ 1060.100668] [<ffffffff8140f0ab>] dump_stack+0x6d/0x92
[ 1060.100679] [<ffffffff810864b2>] warn_slowpath_common+0x82/0xc0
[ 1060.100687] [<ffffffff810865fa>] warn_slowpath_null+0x1a/0x20
[ 1060.100698] [<ffffffffc08b9a40>] __media_device_register+0xf0/0x140 [media]
[ 1060.100711] [<ffffffffc0a87b30>] uvc_probe+0x490/0x2aa0 [uvcvideo]
[ 1060.100721] [<ffffffff81649e7d>] usb_probe_interface+0x11d/0x300
[ 1060.100731] [<ffffffff8157db62>] driver_probe_device+0x1c2/0x4b0
[ 1060.100739] [<ffffffff8157df54>] __device_attach_driver+0x74/0xa0
[ 1060.100749] [<ffffffff8157dee0>] ? __driver_attach+0x90/0x90
[ 1060.100757] [<ffffffff8157b8a9>] bus_for_each_drv+0x69/0xb0
[ 1060.100766] [<ffffffff8157d89c>] __device_attach+0xdc/0x170
[ 1060.100774] [<ffffffff8157dfc3>] device_initial_probe+0x13/0x20
[ 1060.100782] [<ffffffff8157cb45>] bus_probe_device+0x95/0xa0
[ 1060.100789] [<ffffffff8157a64e>] device_add+0x3de/0x640
[ 1060.100798] [<ffffffff81647d36>] usb_set_configuration+0x516/0x8e0
[ 1060.100805] [<ffffffff81652d2e>] generic_probe+0x2e/0x80
[ 1060.100813] [<ffffffff81649d28>] usb_probe_device+0x38/0x70
[ 1060.100821] [<ffffffff8157db62>] driver_probe_device+0x1c2/0x4b0
[ 1060.100829] [<ffffffff8157df54>] __device_attach_driver+0x74/0xa0
[ 1060.100837] [<ffffffff8157dee0>] ? __driver_attach+0x90/0x90
[ 1060.100844] [<ffffffff8157b8a9>] bus_for_each_drv+0x69/0xb0
[ 1060.100852] [<ffffffff8157d89c>] __device_attach+0xdc/0x170
[ 1060.100860] [<ffffffff8157dfc3>] device_initial_probe+0x13/0x20
[ 1060.100868] [<ffffffff8157cb45>] bus_probe_device+0x95/0xa0
[ 1060.100875] [<ffffffff8157a64e>] device_add+0x3de/0x640
[ 1060.100883] [<ffffffff81541d00>] ? add_device_randomness+0xd0/0x150
[ 1060.100893] [<ffffffff8163c927>] usb_new_device+0x277/0x4b0
[ 1060.100901] [<ffffffff8163e107>] hub_port_connect+0x5e7/0xaf0
[ 1060.100910] [<ffffffff8163ece1>] hub_event+0x6d1/0xb20
[ 1060.100918] [<ffffffff810a0d5b>] process_one_work+0x16b/0x4e0
[ 1060.100924] [<ffffffff810a111e>] worker_thread+0x4e/0x590
[ 1060.100930] [<ffffffff810a10d0>] ? process_one_work+0x4e0/0x4e0
[ 1060.100938] [<ffffffff810a7857>] kthread+0xe7/0x100
[ 1060.100949] [<ffffffff81865b21>] ? __schedule+0x301/0x810
[ 1060.100957] [<ffffffff810a7770>] ? kthread_create_on_node+0x1e0/0x1e0
[ 1060.100963] [<ffffffff8186aea5>] ret_from_fork+0x55/0x80
[ 1060.100971] [<ffffffff810a7770>] ? kthread_create_on_node+0x1e0/0x1e0
[ 1060.101009] ---[ end trace b328fd408f5e8ab5 ]---

This happens on all ports of the board. I saw that some people managed to get Realsense working with it by upgrading the BIOS. I upgraded mine to latest one on github (the auto-poweron one) yet it didn't help.

Any ideas? I'd really appreciate the help as otherwise I'd have to switch to another board.