This post was updated on .
Just looking for some advice on how to go about handling devices being plugged in and removed.
I'm currently using udev scripts to signal my deepstreem app that there is a new device plugged in, then going through the 4vl devices and starting a pipeline to save the data from each camera to disk. when i unplug a device, i receive an GST_MESSAGE_ERROR Error: Could not read from resource if i want to keep the main loop running (because there may be other pipelines running) - What would i need to do to nicely cleanup the (now errored) pipeline with the removed camera to be able to create a new pipeline once i detect it (or another camera) has been plugged in ? I tried if( sd->pipeline) gst_element_set_state( sd->pipeline, GST_STATE_NULL ); if( sd->bus) gst_bus_remove_signal_watch (sd->bus);after which i cleanup my internal structure of that pipeline. when i detect another camera , startup a new pipeline with new plugins, but as soon as i set the state to gst_element_set_state( sd->pipeline, GST_STATE_NULL ); it crashes without core file. (i did set ulimit -c unlimited ) what am i missing ? where should i look ? syslog once i plugin the device (second time): The WARNING: CameraProvider was not destroyed before client connection terminated seems to point to me needing to do something with the source of the pipeline ? Jul 22 14:51:59 yoda-desktop kernel: [21004.935060] usb 1-2.1: new high-speed USB device number 47 using tegra-xusb Jul 22 14:51:59 yoda-desktop kernel: [21005.178399] usb 1-2.1: New USB device found, idVendor=046d, idProduct=0825 Jul 22 14:51:59 yoda-desktop kernel: [21005.178423] usb 1-2.1: New USB device strings: Mfr=0, Product=0, SerialNumber=2 Jul 22 14:51:59 yoda-desktop kernel: [21005.178438] usb 1-2.1: SerialNumber: 2821F020 Jul 22 14:51:59 yoda-desktop kernel: [21005.181407] uvcvideo: Found UVC 1.00 device <unnamed> (046d:0825) Jul 22 14:51:59 yoda-desktop kernel: [21005.271081] uvcvideo 1-2.1:1.0: Entity type for entity Extension 4 was not initialized! Jul 22 14:51:59 yoda-desktop kernel: [21005.279141] uvcvideo 1-2.1:1.0: Entity type for entity Extension 6 was not initialized! Jul 22 14:51:59 yoda-desktop kernel: [21005.287277] uvcvideo 1-2.1:1.0: Entity type for entity Extension 7 was not initialized! Jul 22 14:51:59 yoda-desktop kernel: [21005.295424] uvcvideo 1-2.1:1.0: Entity type for entity Processing 2 was not initialized! Jul 22 14:51:59 yoda-desktop kernel: [21005.303682] uvcvideo 1-2.1:1.0: Entity type for entity Extension 3 was not initialized! Jul 22 14:51:59 yoda-desktop kernel: [21005.311830] uvcvideo 1-2.1:1.0: Entity type for entity Camera 1 was not initialized! Jul 22 14:51:59 yoda-desktop kernel: [21005.320214] input: UVC Camera (046d:0825) as /devices/70090000.xusb/usb1/1-2/1-2.1/1-2.1:1.0/input/input46 Jul 22 14:52:00 yoda-desktop kernel: [21006.667704] usb 1-2.1: set resolution quirk: cval->res = 384 Jul 22 14:52:00 yoda-desktop mtp-probe: checking bus 1, device 47: "/sys/devices/70090000.xusb/usb1/1-2/1-2.1" Jul 22 14:52:00 yoda-desktop mtp-probe: bus: 1, device: 47 was not an MTP device Jul 22 14:52:01 yoda-desktop pulseaudio[5746]: [pulseaudio] module-alsa-card.c: Failed to find a working profile. Jul 22 14:52:01 yoda-desktop pulseaudio[5746]: [pulseaudio] module.c: Failed to load module "module-alsa-card" (argument: "device_id="2" name="usb-046d_0825_2821F020-02" card_name="alsa_card.usb-046d_0825_2821F020-02" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes card_properties="module-udev-detect.discovered=1""): initialization failed. Jul 22 14:52:01 yoda-desktop pulseaudio[6518]: [pulseaudio] source.c: Default and alternate sample rates are the same. Jul 22 14:52:01 yoda-desktop rtkit-daemon[5748]: Supervising 4 threads of 1 processes of 1 users. Jul 22 14:52:01 yoda-desktop rtkit-daemon[5748]: Successfully made thread 30519 of process 6518 (n/a) owned by '1000' RT at priority 5. Jul 22 14:52:01 yoda-desktop rtkit-daemon[5748]: Supervising 5 threads of 1 processes of 1 users. Jul 22 14:52:03 yoda-desktop nvargus-daemon[5175]: === aethersprite[29820]: CameraProvider initialized (0x7f89bb5010)=== aethersprite[29820]: Connection closed (7F8EB1A1D0)=== aethersprite[29820]: WARNING: CameraProvider was not destroyed before client connection terminated.=== aethersprite[29820]: The client may have abnormally terminated. Destroying CameraProvider...=== aethersprite[29820]: CameraProvider destroyed (0x7f89bb5010)=== aethersprite[29820]: Connection cleaned up (7F8EB1A1D0)=== aethersprite[30395]: Connection established (7F8EB1A1D0)OFParserListModules: module list: /proc/device-tree/tegra-camera-platform/modules/module0 Jul 22 14:52:03 yoda-desktop nvargus-daemon[5175]: OFParserListModules: module list: /proc/device-tree/tegra-camera-platform/modules/module1 Jul 22 14:52:03 yoda-desktop nvargus-daemon[5175]: OFParserGetVirtualDevice: NVIDIA Camera virtual enumerator not found in proc device-tree Jul 22 14:52:03 yoda-desktop nvargus-daemon[5175]: ---- imager: No override file found. ---- Jul 22 14:52:03 yoda-desktop nvargus-daemon[5175]: (NvCamV4l2) Error ModuleNotPresent: V4L2Device not available (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function findDevice(), line 256) Jul 22 14:52:03 yoda-desktop nvargus-daemon[5175]: (NvCamV4l2) Error ModuleNotPresent: (propagating from /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function initialize(), line 60) Jul 22 14:52:03 yoda-desktop nvargus-daemon[5175]: (NvOdmDevice) Error ModuleNotPresent: (propagating from dvs/git/dirty/git-master_linux/camera-partner/imager/src/devices/V4L2SensorViCsi.cpp, function initialize(), line 107) Jul 22 14:52:03 yoda-desktop nvargus-daemon[5175]: NvPclDriverInitializeData: Unable to initialize driver v4l2_sensor Jul 22 14:52:03 yoda-desktop nvargus-daemon[5175]: NvPclInitializeDrivers: error: Failed to init camera sub module v4l2_sensor Jul 22 14:52:03 yoda-desktop nvargus-daemon[5175]: NvPclStartPlatformDrivers: Failed to start module drivers Jul 22 14:52:03 yoda-desktop nvargus-daemon[5175]: NvPclStateControllerOpen: Failed ImagerGUID 1. (error 0xA000E) Jul 22 14:52:03 yoda-desktop nvargus-daemon[5175]: NvPclOpen: PCL Open Failed. Error: 0xf Jul 22 14:52:03 yoda-desktop nvargus-daemon[5175]: SCF: Error BadParameter: Sensor could not be opened. (in src/services/capture/CaptureServiceDeviceSensor.cpp, function getSourceFromGuid(), line 582) Jul 22 14:52:03 yoda-desktop nvargus-daemon[5175]: SCF: Error BadParameter: (propagating from src/services/capture/CaptureService.cpp, function addSourceByGuid(), line 437) Jul 22 14:52:03 yoda-desktop nvargus-daemon[5175]: SCF: Error BadParameter: (propagating from src/api/CameraDriver.cpp, function addSourceByIndex(), line 303) Jul 22 14:52:03 yoda-desktop nvargus-daemon[5175]: SCF: Error BadParameter: (propagating from src/api/CameraDriver.cpp, function getSource(), line 466) Jul 22 14:52:03 yoda-desktop nvargus-daemon[5175]: Acquiring SCF Camera device source via index 0 has failed. ---- imager: No override file found. ---- Jul 22 14:52:03 yoda-desktop nvargus-daemon[5175]: (NvCamV4l2) Error ModuleNotPresent: V4L2Device not available (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function findDevice(), line 256) Jul 22 14:52:03 yoda-desktop nvargus-daemon[5175]: (NvCamV4l2) Error ModuleNotPresent: (propagating from /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function initialize(), line 60) Jul 22 14:52:03 yoda-desktop nvargus-daemon[5175]: (NvOdmDevice) Error ModuleNotPresent: (propagating from dvs/git/dirty/git-master_linux/camera-partner/imager/src/devices/V4L2SensorViCsi.cpp, function initialize(), line 107) Jul 22 14:52:03 yoda-desktop nvargus-daemon[5175]: NvPclDriverInitializeData: Unable to initialize driver v4l2_sensor Jul 22 14:52:03 yoda-desktop nvargus-daemon[5175]: NvPclInitializeDrivers: error: Failed to init camera sub module v4l2_sensor Jul 22 14:52:03 yoda-desktop nvargus-daemon[5175]: NvPclStartPlatformDrivers: Failed to start module drivers Jul 22 14:52:03 yoda-desktop nvargus-daemon[5175]: NvPclStateControllerOpen: Failed ImagerGUID 0. (error 0xA000E) Jul 22 14:52:03 yoda-desktop nvargus-daemon[5175]: NvPclOpen: PCL Open Failed. Error: 0xf Jul 22 14:52:03 yoda-desktop nvargus-daemon[5175]: SCF: Error BadParameter: Sensor could not be opened. (in src/services/capture/CaptureServiceDeviceSensor.cpp, function getSourceFromGuid(), line 582) Jul 22 14:52:03 yoda-desktop nvargus-daemon[5175]: SCF: Error BadParameter: (propagating from src/services/capture/CaptureService.cpp, function addSourceByGuid(), line 437) Jul 22 14:52:03 yoda-desktop nvargus-daemon[5175]: SCF: Error BadParameter: (propagating from src/api/CameraDriver.cpp, function addSourceByIndex(), line 303) Jul 22 14:52:03 yoda-desktop nvargus-daemon[5175]: SCF: Error BadParameter: (propagating from src/api/CameraDriver.cpp, function getSource(), line 466) Jul 22 14:52:03 yoda-desktop nvargus-daemon[5175]: Acquiring SCF Camera device source via index 1 has failed. ---- imager: No override file found. ---- Jul 22 14:52:03 yoda-desktop nvargus-daemon[5175]: initializeDevNode: Failed to open dev node '/dev/camera/video0'; No such file or directory, trying alternate default location Jul 22 14:52:03 yoda-desktop nvargus-daemon[5175]: (NvCamV4l2) Error BadParameter: Control 10094858 not found (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function findControlById(), line 1874) Jul 22 14:52:03 yoda-desktop nvargus-daemon[5175]: (NvCamV4l2) Error BadParameter: (propagating from /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function getControlRange(), line 331) Jul 22 14:52:03 yoda-desktop nvargus-daemon[5175]: initialize: focus query failed Jul 22 14:52:06 yoda-desktop pulseaudio[5746]: [pulseaudio] source.c: Default and alternate sample rates are the same. Jul 22 14:52:06 yoda-desktop rtkit-daemon[5748]: Supervising 5 threads of 1 processes of 1 users. Jul 22 14:52:13 yoda-desktop kernel: [21019.338607] usb 1-2.1: usb_suspend_both: status 0 syslog on first unplugging of usb looks like just some complaints of removing a device that was in-use Jul 22 15:03:34 yoda-desktop kernel: [21700.774367] usb 1-2.1: USB disconnect, device number 47 Jul 22 15:03:35 yoda-desktop kernel: [21700.802229] sysfs group 'power' not found for kobject 'event5' Jul 22 15:03:35 yoda-desktop kernel: [21700.808228] ------------[ cut here ]------------ Jul 22 15:03:35 yoda-desktop kernel: [21700.812847] WARNING: CPU: 2 PID: 31107 at /dvs/git/dirty/git-master_linux/kernel/kernel-4.9/fs/sysfs/group.c:237 sysfs_remove_group+0x98/0xa0 Jul 22 15:03:35 yoda-desktop kernel: [21700.825511] Modules linked in: bnep fuse zram overlay uvcvideo spidev userspace_alert nvgpu bluedroid_pm ip_tables x_tables Jul 22 15:03:35 yoda-desktop kernel: [21700.825535] Jul 22 15:03:35 yoda-desktop kernel: [21700.825542] CPU: 2 PID: 31107 Comm: aethersprite Tainted: G W 4.9.201-tegra #1 Jul 22 15:03:35 yoda-desktop kernel: [21700.825544] Hardware name: NVIDIA Jetson Nano Developer Kit (DT) Jul 22 15:03:35 yoda-desktop kernel: [21700.825547] task: ffffffc0ee8ee200 task.stack: ffffffc08a980000 Jul 22 15:03:35 yoda-desktop kernel: [21700.825552] PC is at sysfs_remove_group+0x98/0xa0 Jul 22 15:03:35 yoda-desktop kernel: [21700.825556] LR is at sysfs_remove_group+0x98/0xa0 Jul 22 15:03:35 yoda-desktop kernel: [21700.825559] pc : [<ffffff80082f5480>] lr : [<ffffff80082f5480>] pstate: 40400045 Jul 22 15:03:35 yoda-desktop kernel: [21700.825560] sp : ffffffc08a983b50 Jul 22 15:03:35 yoda-desktop kernel: [21700.825563] x29: ffffffc08a983b50 x28: ffffffc0ee8ee200 Jul 22 15:03:35 yoda-desktop kernel: [21700.825568] x27: ffffff8008f72000 x26: 0000000000000039 Jul 22 15:03:35 yoda-desktop kernel: [21700.825573] x25: 0000000000000123 x24: ffffffc0e5161558 Jul 22 15:03:35 yoda-desktop kernel: [21700.825577] x23: ffffffc0f94a8258 x22: ffffff8009fc1000 Jul 22 15:03:35 yoda-desktop kernel: [21700.825581] x21: ffffffc0e51c98c0 x20: ffffff8009f94a70 Jul 22 15:03:35 yoda-desktop kernel: [21700.825586] x19: 0000000000000000 x18: 0000000000000010 Jul 22 15:03:35 yoda-desktop kernel: [21700.825590] x17: 0000000000000000 x16: 0000000000000000 Jul 22 15:03:35 yoda-desktop kernel: [21700.825594] x15: ffffffffffffffff x14: ffffff808a14a5b7 Jul 22 15:03:35 yoda-desktop kernel: [21700.825598] x13: ffffff800a14a5c5 x12: 0000000000000000 Jul 22 15:03:35 yoda-desktop kernel: [21700.825602] x11: 0000000005f5e0ff x10: 00000000000028fa Jul 22 15:03:35 yoda-desktop kernel: [21700.825606] x9 : 00000000ffffffd0 x8 : ffffff80083d6638 Jul 22 15:03:35 yoda-desktop kernel: [21700.825610] x7 : ffffff8009eb4440 x6 : ffffffc0fefdbbf0 Jul 22 15:03:35 yoda-desktop kernel: [21700.825614] x5 : ffffffc0fefdbbf0 x4 : 0000000000000000 Jul 22 15:03:35 yoda-desktop kernel: [21700.825618] x3 : ffffffc0fefe17f8 x2 : ffffffc0fefdbbf0 Jul 22 15:03:35 yoda-desktop kernel: [21700.825622] x1 : ffffffc0ee8ee200 x0 : 0000000000000032 Jul 22 15:03:35 yoda-desktop kernel: [21700.825625] Jul 22 15:03:35 yoda-desktop kernel: [21700.825627] ---[ end trace 8557ba0125b788a0 ]--- Jul 22 15:03:35 yoda-desktop kernel: [21700.830232] Call trace: Jul 22 15:03:35 yoda-desktop kernel: [21700.830238] [<ffffff80082f5480>] sysfs_remove_group+0x98/0xa0 Jul 22 15:03:35 yoda-desktop kernel: [21700.830244] [<ffffff800878be28>] dpm_sysfs_remove+0x60/0x70 Jul 22 15:03:35 yoda-desktop kernel: [21700.830249] [<ffffff800877bc70>] device_del+0x48/0x248 Jul 22 15:03:35 yoda-desktop kernel: [21700.830254] [<ffffff8008ad5b44>] evdev_disconnect+0x2c/0x60 Jul 22 15:03:35 yoda-desktop kernel: [21700.830258] [<ffffff8008ace58c>] __input_unregister_device+0xb4/0x158 Jul 22 15:03:35 yoda-desktop kernel: [21700.830261] [<ffffff8008acf3d4>] input_unregister_device+0x5c/0x80 Jul 22 15:03:35 yoda-desktop kernel: [21700.830277] [<ffffff800111e92c>] uvc_status_cleanup+0x3c/0x48 [uvcvideo] Jul 22 15:03:35 yoda-desktop kernel: [21700.830288] [<ffffff80011133e8>] 0xffffff80011133e8 Jul 22 15:03:35 yoda-desktop kernel: [21700.830298] [<ffffff8001113640>] 0xffffff8001113640 Jul 22 15:03:35 yoda-desktop kernel: [21700.830304] [<ffffff8008b10648>] v4l2_device_release+0xd0/0x110 Jul 22 15:03:35 yoda-desktop kernel: [21700.830308] [<ffffff800877b184>] device_release+0x3c/0x98 Jul 22 15:03:35 yoda-desktop kernel: [21700.830313] [<ffffff800845e5cc>] kobject_put+0x94/0x1e8 Jul 22 15:03:35 yoda-desktop kernel: [21700.830316] [<ffffff800877b684>] put_device+0x24/0x30 Jul 22 15:03:35 yoda-desktop kernel: [21700.830319] [<ffffff8008b0f8e8>] v4l2_release+0x60/0xa0 Jul 22 15:03:35 yoda-desktop kernel: [21700.830324] [<ffffff800825e7f8>] __fput+0x90/0x1d0 Jul 22 15:03:35 yoda-desktop kernel: [21700.830328] [<ffffff800825e9b0>] ____fput+0x20/0x30 Jul 22 15:03:35 yoda-desktop kernel: [21700.830333] [<ffffff80080d8d84>] task_work_run+0xbc/0xd8 Jul 22 15:03:35 yoda-desktop kernel: [21700.830338] [<ffffff800808b2ec>] do_notify_resume+0xa4/0xb0 Jul 22 15:03:35 yoda-desktop kernel: [21700.830341] [<ffffff800808379c>] work_pending+0x8/0x10 Jul 22 15:03:35 yoda-desktop kernel: [21700.842252] sysfs group 'power' not found for kobject 'input46' Jul 22 15:03:35 yoda-desktop kernel: [21700.848279] ------------[ cut here ]------------ Jul 22 15:03:35 yoda-desktop kernel: [21700.852897] WARNING: CPU: 0 PID: 31107 at /dvs/git/dirty/git-master_linux/kernel/kernel-4.9/fs/sysfs/group.c:237 sysfs_remove_group+0x98/0xa0 Jul 22 15:03:35 yoda-desktop kernel: [21700.865561] Modules linked in: bnep fuse zram overlay uvcvideo spidev userspace_alert nvgpu bluedroid_pm ip_tables x_tables Jul 22 15:03:35 yoda-desktop kernel: [21700.865582] Jul 22 15:03:35 yoda-desktop kernel: [21700.865588] CPU: 0 PID: 31107 Comm: aethersprite Tainted: G W 4.9.201-tegra #1 Jul 22 15:03:35 yoda-desktop kernel: [21700.865590] Hardware name: NVIDIA Jetson Nano Developer Kit (DT) Jul 22 15:03:35 yoda-desktop kernel: [21700.865592] task: ffffffc0ee8ee200 task.stack: ffffffc08a980000 Jul 22 15:03:35 yoda-desktop kernel: [21700.865596] PC is at sysfs_remove_group+0x98/0xa0 Jul 22 15:03:35 yoda-desktop kernel: [21700.865599] LR is at sysfs_remove_group+0x98/0xa0 Jul 22 15:03:35 yoda-desktop kernel: [21700.865602] pc : [<ffffff80082f5480>] lr : [<ffffff80082f5480>] pstate: 40400045 Jul 22 15:03:35 yoda-desktop kernel: [21700.865603] sp : ffffffc08a983b80 Jul 22 15:03:35 yoda-desktop kernel: [21700.865605] x29: ffffffc08a983b80 x28: ffffffc0ee8ee200 Jul 22 15:03:35 yoda-desktop kernel: [21700.865610] x27: ffffff8008f72000 x26: 0000000000000039 Jul 22 15:03:35 yoda-desktop kernel: [21700.865614] x25: 0000000000000123 x24: ffffffc0e5161558 Jul 22 15:03:35 yoda-desktop kernel: [21700.865618] x23: ffffffc0f16f1c30 x22: ffffff8009fc1530 Jul 22 15:03:35 yoda-desktop kernel: [21700.865622] x21: ffffffc0f94a8268 x20: ffffff8009f94a70 Jul 22 15:03:35 yoda-desktop kernel: [21700.865626] x19: 0000000000000000 x18: 0000000000000010 Jul 22 15:03:35 yoda-desktop kernel: [21700.865630] x17: 0000000000000000 x16: 0000000000000000 Jul 22 15:03:35 yoda-desktop kernel: [21700.865634] x15: ffffffffffffffff x14: ffffff808a14a5b7 Jul 22 15:03:35 yoda-desktop kernel: [21700.865638] x13: ffffff800a14a5c5 x12: 0000000000000000 Jul 22 15:03:35 yoda-desktop kernel: [21700.865642] x11: 0000000005f5e0ff x10: 000000000000292b Jul 22 15:03:35 yoda-desktop kernel: [21700.865646] x9 : 00000000ffffffd0 x8 : ffffff80083d6638 Jul 22 15:03:35 yoda-desktop kernel: [21700.865650] x7 : ffffff8009eb4440 x6 : ffffffc0fefabbf0 Jul 22 15:03:35 yoda-desktop kernel: [21700.865654] x5 : ffffffc0fefabbf0 x4 : 0000000000000000 Jul 22 15:03:35 yoda-desktop kernel: [21700.865658] x3 : ffffffc0fefb17f8 x2 : ffffffc0fefabbf0 Jul 22 15:03:35 yoda-desktop kernel: [21700.865662] x1 : ffffffc0ee8ee200 x0 : 0000000000000033 Jul 22 15:03:35 yoda-desktop kernel: [21700.865666] Jul 22 15:03:35 yoda-desktop kernel: [21700.865667] ---[ end trace 8557ba0125b788a1 ]--- Jul 22 15:03:35 yoda-desktop kernel: [21700.870272] Call trace: Jul 22 15:03:35 yoda-desktop kernel: [21700.870278] [<ffffff80082f5480>] sysfs_remove_group+0x98/0xa0 Jul 22 15:03:35 yoda-desktop kernel: [21700.870284] [<ffffff800878be28>] dpm_sysfs_remove+0x60/0x70 Jul 22 15:03:35 yoda-desktop kernel: [21700.870288] [<ffffff800877bc70>] device_del+0x48/0x248 Jul 22 15:03:35 yoda-desktop kernel: [21700.870293] [<ffffff8008ace60c>] __input_unregister_device+0x134/0x158 Jul 22 15:03:35 yoda-desktop kernel: [21700.870297] [<ffffff8008acf3d4>] input_unregister_device+0x5c/0x80 Jul 22 15:03:35 yoda-desktop kernel: [21700.870314] [<ffffff800111e92c>] uvc_status_cleanup+0x3c/0x48 [uvcvideo] Jul 22 15:03:35 yoda-desktop kernel: [21700.870325] [<ffffff80011133e8>] 0xffffff80011133e8 Jul 22 15:03:35 yoda-desktop kernel: [21700.870336] [<ffffff8001113640>] 0xffffff8001113640 Jul 22 15:03:35 yoda-desktop kernel: [21700.870341] [<ffffff8008b10648>] v4l2_device_release+0xd0/0x110 Jul 22 15:03:35 yoda-desktop kernel: [21700.870344] [<ffffff800877b184>] device_release+0x3c/0x98 Jul 22 15:03:35 yoda-desktop kernel: [21700.870349] [<ffffff800845e5cc>] kobject_put+0x94/0x1e8 Jul 22 15:03:35 yoda-desktop kernel: [21700.870352] [<ffffff800877b684>] put_device+0x24/0x30 Jul 22 15:03:35 yoda-desktop kernel: [21700.870355] [<ffffff8008b0f8e8>] v4l2_release+0x60/0xa0 Jul 22 15:03:35 yoda-desktop kernel: [21700.870360] [<ffffff800825e7f8>] __fput+0x90/0x1d0 Jul 22 15:03:35 yoda-desktop kernel: [21700.870364] [<ffffff800825e9b0>] ____fput+0x20/0x30 Jul 22 15:03:35 yoda-desktop kernel: [21700.870369] [<ffffff80080d8d84>] task_work_run+0xbc/0xd8 Jul 22 15:03:35 yoda-desktop kernel: [21700.870375] [<ffffff800808b2ec>] do_notify_resume+0xa4/0xb0 Jul 22 15:03:35 yoda-desktop kernel: [21700.870378] [<ffffff800808379c>] work_pending+0x8/0x10 Jul 22 15:03:35 yoda-desktop kernel: [21700.870785] sysfs group 'id' not found for kobject 'input46' Jul 22 15:03:35 yoda-desktop kernel: [21700.876714] ------------[ cut here ]------------ Jul 22 15:03:35 yoda-desktop kernel: [21700.881335] WARNING: CPU: 0 PID: 31107 at /dvs/git/dirty/git-master_linux/kernel/kernel-4.9/fs/sysfs/group.c:237 sysfs_remove_group+0x98/0xa0 Jul 22 15:03:35 yoda-desktop kernel: [21700.893998] Modules linked in: bnep fuse zram overlay uvcvideo spidev userspace_alert nvgpu bluedroid_pm ip_tables x_tables Jul 22 15:03:35 yoda-desktop kernel: [21700.894020] Jul 22 15:03:35 yoda-desktop kernel: [21700.894025] CPU: 0 PID: 31107 Comm: aethersprite Tainted: G W 4.9.201-tegra #1 Jul 22 15:03:35 yoda-desktop kernel: [21700.894028] Hardware name: NVIDIA Jetson Nano Developer Kit (DT) Jul 22 15:03:35 yoda-desktop kernel: [21700.894031] task: ffffffc0ee8ee200 task.stack: ffffffc08a980000 Jul 22 15:03:35 yoda-desktop kernel: [21700.894036] PC is at sysfs_remove_group+0x98/0xa0 Jul 22 15:03:35 yoda-desktop kernel: [21700.894040] LR is at sysfs_remove_group+0x98/0xa0 Jul 22 15:03:35 yoda-desktop kernel: [21700.894042] pc : [<ffffff80082f5480>] lr : [<ffffff80082f5480>] pstate: 40400045 Jul 22 15:03:35 yoda-desktop kernel: [21700.894044] sp : ffffffc08a983b50 Jul 22 15:03:35 yoda-desktop kernel: [21700.894046] x29: ffffffc08a983b50 x28: ffffffc0ee8ee200 Jul 22 15:03:35 yoda-desktop kernel: [21700.894052] x27: ffffff8008f72000 x26: 0000000000000039 Jul 22 15:03:35 yoda-desktop kernel: [21700.894057] x25: 0000000000000123 x24: ffffffc0e5161558 Jul 22 15:03:35 yoda-desktop kernel: [21700.894062] x23: ffffffc0f16f1c30 x22: ffffff8009fc1570 Jul 22 15:03:35 yoda-desktop kernel: [21700.894066] x21: ffffffc0f94a8268 x20: ffffff8009fc1800 Jul 22 15:03:35 yoda-desktop kernel: [21700.894071] x19: 0000000000000000 x18: 0000000000000010 Jul 22 15:03:35 yoda-desktop kernel: [21700.894075] x17: 0000000000000000 x16: 0000000000000000 Jul 22 15:03:35 yoda-desktop kernel: [21700.894080] x15: ffffffffffffffff x14: ffffff808a14a5b7 Jul 22 15:03:35 yoda-desktop kernel: [21700.894085] x13: ffffff800a14a5c5 x12: 0000000000000000 Jul 22 15:03:35 yoda-desktop kernel: [21700.894089] x11: 0000000005f5e0ff x10: 000000000000295b Jul 22 15:03:35 yoda-desktop kernel: [21700.894094] x9 : 00000000ffffffd0 x8 : ffffff80083d6638 Jul 22 15:03:35 yoda-desktop kernel: [21700.894099] x7 : ffffff8009eb4440 x6 : ffffffc0fefabbf0 Jul 22 15:03:35 yoda-desktop kernel: [21700.894103] x5 : ffffffc0fefabbf0 x4 : 0000000000000000 Jul 22 15:03:35 yoda-desktop kernel: [21700.894108] x3 : ffffffc0fefb17f8 x2 : ffffffc0fefabbf0 Jul 22 15:03:35 yoda-desktop kernel: [21700.894112] x1 : ffffffc0ee8ee200 x0 : 0000000000000030 Jul 22 15:03:35 yoda-desktop kernel: [21700.894117] Jul 22 15:03:35 yoda-desktop kernel: [21700.894119] ---[ end trace 8557ba0125b788a2 ]--- Jul 22 15:03:35 yoda-desktop kernel: [21700.898725] Call trace: Jul 22 15:03:35 yoda-desktop kernel: [21700.898730] [<ffffff80082f5480>] sysfs_remove_group+0x98/0xa0 Jul 22 15:03:35 yoda-desktop kernel: [21700.898734] [<ffffff80082f54c4>] sysfs_remove_groups+0x3c/0x58 Jul 22 15:03:35 yoda-desktop kernel: [21700.898739] [<ffffff800877aff4>] device_remove_attrs+0x5c/0x80 Jul 22 15:03:35 yoda-desktop kernel: [21700.898743] [<ffffff800877bd30>] device_del+0x108/0x248 Jul 22 15:03:35 yoda-desktop kernel: [21700.898749] [<ffffff8008ace60c>] __input_unregister_device+0x134/0x158 Jul 22 15:03:35 yoda-desktop kernel: [21700.898752] [<ffffff8008acf3d4>] input_unregister_device+0x5c/0x80 Jul 22 15:03:35 yoda-desktop kernel: [21700.898770] [<ffffff800111e92c>] uvc_status_cleanup+0x3c/0x48 [uvcvideo] Jul 22 15:03:35 yoda-desktop kernel: [21700.898782] [<ffffff80011133e8>] 0xffffff80011133e8 Jul 22 15:03:35 yoda-desktop kernel: [21700.898793] [<ffffff8001113640>] 0xffffff8001113640 Jul 22 15:03:35 yoda-desktop kernel: [21700.898799] [<ffffff8008b10648>] v4l2_device_release+0xd0/0x110 Jul 22 15:03:35 yoda-desktop kernel: [21700.898802] [<ffffff800877b184>] device_release+0x3c/0x98 Jul 22 15:03:35 yoda-desktop kernel: [21700.898807] [<ffffff800845e5cc>] kobject_put+0x94/0x1e8 Jul 22 15:03:35 yoda-desktop kernel: [21700.898810] [<ffffff800877b684>] put_device+0x24/0x30 Jul 22 15:03:35 yoda-desktop kernel: [21700.898814] [<ffffff8008b0f8e8>] v4l2_release+0x60/0xa0 Jul 22 15:03:35 yoda-desktop kernel: [21700.898819] [<ffffff800825e7f8>] __fput+0x90/0x1d0 Jul 22 15:03:35 yoda-desktop kernel: [21700.898822] [<ffffff800825e9b0>] ____fput+0x20/0x30 Jul 22 15:03:35 yoda-desktop kernel: [21700.898827] [<ffffff80080d8d84>] task_work_run+0xbc/0xd8 Jul 22 15:03:35 yoda-desktop kernel: [21700.898831] [<ffffff800808b2ec>] do_notify_resume+0xa4/0xb0 Jul 22 15:03:35 yoda-desktop kernel: [21700.898834] [<ffffff800808379c>] work_pending+0x8/0x10 Jul 22 15:03:35 yoda-desktop kernel: [21700.899124] sysfs group 'capabilities' not found for kobject 'input46' Jul 22 15:03:35 yoda-desktop kernel: [21700.905790] ------------[ cut here ]------------ Jul 22 15:03:35 yoda-desktop kernel: [21700.910409] WARNING: CPU: 0 PID: 31107 at /dvs/git/dirty/git-master_linux/kernel/kernel-4.9/fs/sysfs/group.c:237 sysfs_remove_group+0x98/0xa0 Jul 22 15:03:35 yoda-desktop kernel: [21700.923072] Modules linked in: bnep fuse zram overlay uvcvideo spidev userspace_alert nvgpu bluedroid_pm ip_tables x_tables Jul 22 15:03:35 yoda-desktop kernel: [21700.923094] Jul 22 15:03:35 yoda-desktop kernel: [21700.923100] CPU: 0 PID: 31107 Comm: aethersprite Tainted: G W 4.9.201-tegra #1 Jul 22 15:03:35 yoda-desktop kernel: [21700.923102] Hardware name: NVIDIA Jetson Nano Developer Kit (DT) Jul 22 15:03:35 yoda-desktop kernel: [21700.923105] task: ffffffc0ee8ee200 task.stack: ffffffc08a980000 Jul 22 15:03:35 yoda-desktop kernel: [21700.923109] PC is at sysfs_remove_group+0x98/0xa0 Jul 22 15:03:35 yoda-desktop kernel: [21700.923112] LR is at sysfs_remove_group+0x98/0xa0 Jul 22 15:03:35 yoda-desktop kernel: [21700.923115] pc : [<ffffff80082f5480>] lr : [<ffffff80082f5480>] pstate: 40400045 Jul 22 15:03:35 yoda-desktop kernel: [21700.923117] sp : ffffffc08a983b50 Jul 22 15:03:35 yoda-desktop kernel: [21700.923119] x29: ffffffc08a983b50 x28: ffffffc0ee8ee200 Jul 22 15:03:35 yoda-desktop kernel: [21700.923125] x27: ffffff8008f72000 x26: 0000000000000039 Jul 22 15:03:35 yoda-desktop kernel: [21700.923129] x25: 0000000000000123 x24: ffffffc0e5161558 Jul 22 15:03:35 yoda-desktop kernel: [21700.923134] x23: ffffffc0f16f1c30 x22: ffffff8009fc1570 Jul 22 15:03:35 yoda-desktop kernel: [21700.923139] x21: ffffffc0f94a8268 x20: ffffff8009fc1668 Jul 22 15:03:35 yoda-desktop kernel: [21700.923144] x19: 0000000000000000 x18: 0000000000000010 Jul 22 15:03:35 yoda-desktop kernel: [21700.923148] x17: 0000000000000000 x16: 0000000000000000 Jul 22 15:03:35 yoda-desktop kernel: [21700.923153] x15: ffffffffffffffff x14: ffffff808a14a5b7 Jul 22 15:03:35 yoda-desktop kernel: [21700.923157] x13: ffffff800a14a5c5 x12: 0000000000000000 Jul 22 15:03:35 yoda-desktop kernel: [21700.923162] x11: 0000000005f5e0ff x10: 000000000000298c Jul 22 15:03:35 yoda-desktop kernel: [21700.923167] x9 : 00000000ffffffd0 x8 : ffffff80083d6638 Jul 22 15:03:35 yoda-desktop kernel: [21700.923171] x7 : ffffff8009eb4440 x6 : ffffffc0fefabbf0 Jul 22 15:03:35 yoda-desktop kernel: [21700.923176] x5 : ffffffc0fefabbf0 x4 : 0000000000000000 Jul 22 15:03:35 yoda-desktop kernel: [21700.923181] x3 : ffffffc0fefb17f8 x2 : ffffffc0fefabbf0 Jul 22 15:03:35 yoda-desktop kernel: [21700.923185] x1 : ffffffc0ee8ee200 x0 : 000000000000003a Jul 22 15:03:35 yoda-desktop kernel: [21700.923190] Jul 22 15:03:35 yoda-desktop kernel: [21700.923192] ---[ end trace 8557ba0125b788a3 ]--- Jul 22 15:03:35 yoda-desktop kernel: [21700.927796] Call trace: Jul 22 15:03:35 yoda-desktop kernel: [21700.927802] [<ffffff80082f5480>] sysfs_remove_group+0x98/0xa0 Jul 22 15:03:35 yoda-desktop kernel: [21700.927806] [<ffffff80082f54c4>] sysfs_remove_groups+0x3c/0x58 Jul 22 15:03:35 yoda-desktop kernel: [21700.927811] [<ffffff800877aff4>] device_remove_attrs+0x5c/0x80 Jul 22 15:03:35 yoda-desktop kernel: [21700.927815] [<ffffff800877bd30>] device_del+0x108/0x248 Jul 22 15:03:35 yoda-desktop kernel: [21700.927821] [<ffffff8008ace60c>] __input_unregister_device+0x134/0x158 Jul 22 15:03:35 yoda-desktop kernel: [21700.927824] [<ffffff8008acf3d4>] input_unregister_device+0x5c/0x80 Jul 22 15:03:35 yoda-desktop kernel: [21700.927839] [<ffffff800111e92c>] uvc_status_cleanup+0x3c/0x48 [uvcvideo] Jul 22 15:03:35 yoda-desktop kernel: [21700.927850] [<ffffff80011133e8>] 0xffffff80011133e8 Jul 22 15:03:35 yoda-desktop kernel: [21700.927861] [<ffffff8001113640>] 0xffffff8001113640 Jul 22 15:03:35 yoda-desktop kernel: [21700.927866] [<ffffff8008b10648>] v4l2_device_release+0xd0/0x110 Jul 22 15:03:35 yoda-desktop kernel: [21700.927869] [<ffffff800877b184>] device_release+0x3c/0x98 Jul 22 15:03:35 yoda-desktop kernel: [21700.927874] [<ffffff800845e5cc>] kobject_put+0x94/0x1e8 Jul 22 15:03:35 yoda-desktop kernel: [21700.927877] [<ffffff800877b684>] put_device+0x24/0x30 Jul 22 15:03:35 yoda-desktop kernel: [21700.927881] [<ffffff8008b0f8e8>] v4l2_release+0x60/0xa0 Jul 22 15:03:35 yoda-desktop kernel: [21700.927886] [<ffffff800825e7f8>] __fput+0x90/0x1d0 Jul 22 15:03:35 yoda-desktop kernel: [21700.927890] [<ffffff800825e9b0>] ____fput+0x20/0x30 Jul 22 15:03:35 yoda-desktop kernel: [21700.927895] [<ffffff80080d8d84>] task_work_run+0xbc/0xd8 Jul 22 15:03:35 yoda-desktop kernel: [21700.927900] [<ffffff800808b2ec>] do_notify_resume+0xa4/0xb0 Jul 22 15:03:35 yoda-desktop kernel: [21700.927903] [<ffffff800808379c>] work_pending+0x8/0x10 Jul 22 15:03:35 yoda-desktop kernel: [21700.928483] sysfs group 'power' not found for kobject 'media1' Jul 22 15:03:35 yoda-desktop kernel: [21700.934461] ------------[ cut here ]------------ Jul 22 15:03:35 yoda-desktop kernel: [21700.939082] WARNING: CPU: 0 PID: 31107 at /dvs/git/dirty/git-master_linux/kernel/kernel-4.9/fs/sysfs/group.c:237 sysfs_remove_group+0x98/0xa0 Jul 22 15:03:35 yoda-desktop kernel: [21700.951746] Modules linked in: bnep fuse zram overlay uvcvideo spidev userspace_alert nvgpu bluedroid_pm ip_tables x_tables Jul 22 15:03:35 yoda-desktop kernel: [21700.951768] Jul 22 15:03:35 yoda-desktop kernel: [21700.951774] CPU: 0 PID: 31107 Comm: aethersprite Tainted: G W 4.9.201-tegra #1 Jul 22 15:03:35 yoda-desktop kernel: [21700.951777] Hardware name: NVIDIA Jetson Nano Developer Kit (DT) Jul 22 15:03:35 yoda-desktop kernel: [21700.951780] task: ffffffc0ee8ee200 task.stack: ffffffc08a980000 Jul 22 15:03:35 yoda-desktop kernel: [21700.951784] PC is at sysfs_remove_group+0x98/0xa0 Jul 22 15:03:35 yoda-desktop kernel: [21700.951788] LR is at sysfs_remove_group+0x98/0xa0 Jul 22 15:03:35 yoda-desktop kernel: [21700.951790] pc : [<ffffff80082f5480>] lr : [<ffffff80082f5480>] pstate: 40400045 Jul 22 15:03:35 yoda-desktop kernel: [21700.951792] sp : ffffffc08a983b80 Jul 22 15:03:35 yoda-desktop kernel: [21700.951794] x29: ffffffc08a983b80 x28: ffffffc0ee8ee200 Jul 22 15:03:35 yoda-desktop kernel: [21700.951800] x27: ffffff8008f72000 x26: 0000000000000039 Jul 22 15:03:35 yoda-desktop kernel: [21700.951805] x25: 0000000000000123 x24: ffffffc0e5161558 Jul 22 15:03:35 yoda-desktop kernel: [21700.951810] x23: ffffffc0f16f1c30 x22: ffffffc0bc6bc1a8 Jul 22 15:03:35 yoda-desktop kernel: [21700.951814] x21: ffffffc0f9bb9420 x20: ffffff8009f94a70 Jul 22 15:03:35 yoda-desktop kernel: [21700.951819] x19: 0000000000000000 x18: 0000000000000010 Jul 22 15:03:35 yoda-desktop kernel: [21700.951824] x17: 0000000000000000 x16: 0000000000000000 Jul 22 15:03:35 yoda-desktop kernel: [21700.951828] x15: ffffffffffffffff x14: ffffff808a14a5b7 Jul 22 15:03:35 yoda-desktop kernel: [21700.951833] x13: ffffff800a14a5c5 x12: 0000000000000000 Jul 22 15:03:35 yoda-desktop kernel: [21700.951838] x11: 0000000005f5e0ff x10: 00000000000029bd Jul 22 15:03:35 yoda-desktop kernel: [21700.951842] x9 : 00000000ffffffd0 x8 : ffffff80083d6638 Jul 22 15:03:35 yoda-desktop kernel: [21700.951847] x7 : ffffff8009eb4440 x6 : ffffffc0fefabbf0 Jul 22 15:03:35 yoda-desktop kernel: [21700.951852] x5 : ffffffc0fefabbf0 x4 : 0000000000000000 Jul 22 15:03:35 yoda-desktop kernel: [21700.951856] x3 : ffffffc0fefb17f8 x2 : ffffffc0fefabbf0 Jul 22 15:03:35 yoda-desktop kernel: [21700.951861] x1 : ffffffc0ee8ee200 x0 : 0000000000000032 Jul 22 15:03:35 yoda-desktop kernel: [21700.951865] Jul 22 15:03:35 yoda-desktop kernel: [21700.951868] ---[ end trace 8557ba0125b788a4 ]--- Jul 22 15:03:35 yoda-desktop kernel: [21700.956473] Call trace: Jul 22 15:03:35 yoda-desktop kernel: [21700.956479] [<ffffff80082f5480>] sysfs_remove_group+0x98/0xa0 Jul 22 15:03:35 yoda-desktop kernel: [21700.956486] [<ffffff800878be28>] dpm_sysfs_remove+0x60/0x70 Jul 22 15:03:35 yoda-desktop kernel: [21700.956490] [<ffffff800877bc70>] device_del+0x48/0x248 Jul 22 15:03:35 yoda-desktop kernel: [21700.956495] [<ffffff8008b0d968>] media_devnode_unregister+0x48/0x68 Jul 22 15:03:35 yoda-desktop kernel: [21700.956499] [<ffffff8008b0d1e8>] media_device_unregister+0x158/0x190 Jul 22 15:03:35 yoda-desktop kernel: [21700.956513] [<ffffff8001113518>] 0xffffff8001113518 Jul 22 15:03:35 yoda-desktop kernel: [21700.956523] [<ffffff8001113640>] 0xffffff8001113640 Jul 22 15:03:35 yoda-desktop kernel: [21700.956528] [<ffffff8008b10648>] v4l2_device_release+0xd0/0x110 Jul 22 15:03:35 yoda-desktop kernel: [21700.956531] [<ffffff800877b184>] device_release+0x3c/0x98 Jul 22 15:03:35 yoda-desktop kernel: [21700.956537] [<ffffff800845e5cc>] kobject_put+0x94/0x1e8 Jul 22 15:03:35 yoda-desktop kernel: [21700.956539] [<ffffff800877b684>] put_device+0x24/0x30 Jul 22 15:03:35 yoda-desktop kernel: [21700.956543] [<ffffff8008b0f8e8>] v4l2_release+0x60/0xa0 Jul 22 15:03:35 yoda-desktop kernel: [21700.956548] [<ffffff800825e7f8>] __fput+0x90/0x1d0 Jul 22 15:03:35 yoda-desktop kernel: [21700.956552] [<ffffff800825e9b0>] ____fput+0x20/0x30 Jul 22 15:03:35 yoda-desktop kernel: [21700.956557] [<ffffff80080d8d84>] task_work_run+0xbc/0xd8 Jul 22 15:03:35 yoda-desktop kernel: [21700.956562] [<ffffff800808b2ec>] do_notify_resume+0xa4/0xb0 Jul 22 15:03:35 yoda-desktop kernel: [21700.956565] [<ffffff800808379c>] work_pending+0x8/0x10 |
Free forum by Nabble | Edit this page |