mindeswx |
06-28-2022 03:39 PM |
Reconnecting USB device quickly crashes the system
Hello! I am trying to reconnect several USB devices (ZTE MF823 modems) on the debian server and sometimes it makes the system crash ,
Linux hp10 4.9.0-15-amd64 #1 SMP Debian 4.9.258-1 (2021-03-08) x86_64 GNU/Linux
Below is the output of dmesg -Hw
Any related information would be greatly appreciated! I have been trying to google all of these error messages without any luck so far. Thank you!
P.s if someone knows someone who would be able to help for money I would be happy to pay!
Code:
[ +0.000001] usb 2-1.1.6.1: SerialNumber: MF8230ZTED000000
[ +0.019893] cdc_ether 2-1.1.6.1:1.0 usb12: register 'cdc_ether' at usb-0000:00:1d.0-1.1.6.1, ZTE CDC Ethernet Device, b6:e4:44:90:d3:51
[ +0.001162] usb-storage 2-1.1.6.1:1.2: USB Mass Storage device detected
[ +0.000250] scsi host8: usb-storage 2-1.1.6.1:1.2
[ +0.006212] usb 2-1.1.6.3: USB disconnect, device number 95
[ +0.006944] cdc_ether 2-1.1.6.3:1.0 usb10: unregister 'cdc_ether' usb-0000:00:1d.0-1.1.6.3, ZTE CDC Ethernet Device
[ +0.016000] usb 2-1.1.7.1: new high-speed USB device number 54 using ehci-pci
[ +0.101434] scsi 43:0:0:0: CD-ROM CWID USB SCSI CD-ROM 2.31 PQ: 0 ANSI: 2
[ +0.001492] scsi 43:0:0:1: Direct-Access ZTE MMC Storage 2.31 PQ: 0 ANSI: 2
[ +0.004754] sr 43:0:0:0: [sr11] scsi-1 drive
[ +0.000232] sr 43:0:0:0: Attached scsi CD-ROM sr11
[ +0.001007] sr 43:0:0:0: Attached scsi generic sg5 type 5
[ +0.000426] sd 43:0:0:1: Attached scsi generic sg22 type 0
[ +0.010837] ------------[ cut here ]------------
[ +0.000008] WARNING: CPU: 0 PID: 123 at /build/linux-oA5nb9/linux-4.9.258/fs/sysfs/dir.c:31 sysfs_warn_dup+0x5d/0x70
[ +0.000001] sysfs: cannot create duplicate filename '/devices/virtual/bdi/8:176'
[ +0.000001] Modules linked in: intel_rapl x86_pkg_temp_thermal hp_wmi intel_powerclamp joydev iTCO_wdt sparse_keymap iTCO_vendor_support coretemp arc4 kvm irqbypass crct10dif_p clmul crc32_pclmul snd_hda_codec_hdmi ghash_clmulni_intel intel_cstate rt2800pci rt2800mmio intel_uncore intel_rapl_perf evdev rt2800lib pcspkr rt2x00pci rt2x00mmio uvcvideo seri o_raw rt2x00lib videobuf2_vmalloc snd_hda_codec_idt eeprom_93cx6 snd_hda_codec_generic videobuf2_memops btusb btrtl videobuf2_v4l2 btbcm mac80211 videobuf2_core btintel i915 sg b luetooth cfg80211 snd_hda_intel videodev drm_kms_helper crc_ccitt jmb38x_ms snd_hda_codec media lpc_ich mfd_core snd_hda_core rfkill snd_hwdep memstick snd_pcm drm snd_timer snd i2c_algo_bit soundcore mei_me shpchp mei uas wmi hp_accel lis3lv02d input_polldev usb_storage cdc_ether
[ +0.000059] video usbnet ac battery button ip_tables x_tables autofs4 ext4 crc16 jbd2 crc32c_generic fscrypto ecb glue_helper lrw gf128mul ablk_helper cryptd aes_x86_64 mbcach e sr_mod sd_mod cdrom crc32c_intel ahci libahci xhci_pci libata psmouse xhci_hcd scsi_mod sdhci_pci r8169 mii sdhci ehci_pci ehci_hcd mmc_core usbcore usb_common thermal
[ +0.000036] CPU: 0 PID: 123 Comm: kworker/u16:4 Not tainted 4.9.0-15-amd64 #1 Debian 4.9.258-1
[ +0.000001] Hardware name: Hewlett-Packard HP ProBook 4330s/167E, BIOS 68SRR Ver. F.23 03/09/2012
[ +0.000004] Workqueue: events_unbound async_run_entry_fn
[ +0.000002] 0000000000000000 ffffffff89212017 ffffbca300aafae8 0000000000000000
[ +0.000003] ffffffff88c7a9eb ffff9607f48eb000 ffffbca300aafb40 ffff9607f53cc690
[ +0.000003] ffff9607f5249d80 0000000000000000 0000000000000000 ffffffff88c7aa6f
[ +0.000002] Call Trace:
[ +0.000005] [<ffffffff89212017>] ? dump_stack+0x66/0x81
[ +0.000004] [<ffffffff88c7a9eb>] ? __warn+0xcb/0xf0
[ +0.000001] [<ffffffff88c7aa6f>] ? warn_slowpath_fmt+0x5f/0x80
[ +0.000003] [<ffffffff88e8d60a>] ? kernfs_path_from_node+0x4a/0x60
[ +0.000002] [<ffffffff88e90d8d>] ? sysfs_warn_dup+0x5d/0x70
[ +0.000002] [<ffffffff88e90e60>] ? sysfs_create_dir_ns+0x70/0x80
[ +0.000002] [<ffffffff88f3929d>] ? kobject_add_internal+0x9d/0x300
[ +0.000002] [<ffffffff88f39575>] ? kobject_add+0x75/0xd0
[ +0.000002] [<ffffffff89083295>] ? device_add+0x135/0x610
[ +0.000002] [<ffffffff89083959>] ? device_create_groups_vargs+0xd9/0xf0
[ +0.000002] [<ffffffff89083988>] ? device_create_vargs+0x18/0x20
[ +0.000002] [<ffffffff88da8eec>] ? bdi_register+0x8c/0x180
[ +0.000004] [<ffffffffc02a7d97>] ? sd_revalidate_disk+0x277/0x1eb0 [sd_mod]
[ +0.000002] [<ffffffff88da92b1>] ? bdi_register_owner+0x31/0x50
[ +0.000002] [<ffffffff88f1a389>] ? device_add_disk+0x159/0x470
[ +0.000003] [<ffffffffc02a9ace>] ? sd_probe_async+0xfe/0x1b0 [sd_mod]
[ +0.000002] [<ffffffff88c9de6a>] ? async_run_entry_fn+0x3a/0x140
[ +0.000003] [<ffffffff88c9492a>] ? process_one_work+0x18a/0x430
[ +0.000001] [<ffffffff88c94c1d>] ? worker_thread+0x4d/0x490
[ +0.000002] [<ffffffff88c94bd0>] ? process_one_work+0x430/0x430
[ +0.000002] [<ffffffff88c9aec9>] ? kthread+0xd9/0xf0
[ +0.000003] [<ffffffff89221171>] ? __switch_to_asm+0x41/0x70
[ +0.000003] [<ffffffff88c9adf0>] ? kthread_park+0x60/0x60
[ +0.000002] [<ffffffff892211f7>] ? ret_from_fork+0x57/0x70
[ +0.000002] ---[ end trace 82e60e7984eddf04 ]---
[ +0.000001] kobject_add_internal failed for 8:176 with -EEXIST, don't try to register things with the same name in the same directory.
[ +0.000204] BUG: unable to handle kernel NULL pointer dereference at 0000000000000040
[ +0.000060] IP: [<ffffffff88e9107f>] sysfs_do_create_link_sd.isra.2+0x2f/0xb0
[ +0.000052] PGD 0
[ +0.000029] Oops: 0000 [#1] SMP
[ +0.000016] Modules linked in: intel_rapl x86_pkg_temp_thermal hp_wmi intel_powerclamp joydev iTCO_wdt sparse_keymap iTCO_vendor_support coretemp arc4 kvm irqbypass crct10dif_p clmul crc32_pclmul snd_hda_codec_hdmi ghash_clmulni_intel intel_cstate rt2800pci rt2800mmio intel_uncore intel_rapl_perf evdev rt2800lib pcspkr rt2x00pci rt2x00mmio uvcvideo seri o_raw rt2x00lib videobuf2_vmalloc snd_hda_codec_idt eeprom_93cx6 snd_hda_codec_generic videobuf2_memops btusb btrtl videobuf2_v4l2 btbcm mac80211 videobuf2_core btintel i915 sg b luetooth cfg80211 snd_hda_intel videodev drm_kms_helper crc_ccitt jmb38x_ms snd_hda_codec media lpc_ich mfd_core snd_hda_core rfkill snd_hwdep memstick snd_pcm drm snd_timer snd i2c_algo_bit soundcore mei_me shpchp mei uas wmi hp_accel lis3lv02d input_polldev usb_storage cdc_ether
[ +0.000424] video usbnet ac battery button ip_tables x_tables autofs4 ext4 crc16 jbd2 crc32c_generic fscrypto ecb glue_helper lrw gf128mul ablk_helper cryptd aes_x86_64 mbcach e sr_mod sd_mod cdrom crc32c_intel ahci libahci xhci_pci libata psmouse xhci_hcd scsi_mod sdhci_pci r8169 mii sdhci ehci_pci ehci_hcd mmc_core usbcore usb_common thermal
[ +0.000210] CPU: 0 PID: 123 Comm: kworker/u16:4 Tainted: G W 4.9.0-15-amd64 #1 Debian 4.9.258-1
[ +0.000042] Hardware name: Hewlett-Packard HP ProBook 4330s/167E, BIOS 68SRR Ver. F.23 03/09/2012
[ +0.000036] Workqueue: events_unbound async_run_entry_fn
[ +0.000023] task: ffff9607f5ad4080 task.stack: ffffbca300aac000
[ +0.000024] RIP: 0010:[<ffffffff88e9107f>] [<ffffffff88e9107f>] sysfs_do_create_link_sd.isra.2+0x2f/0xb0
[ +0.001411] RSP: 0018:ffffbca300aafd48 EFLAGS: 00010246
[ +0.001428] RAX: 0000000000000000 RBX: 0000000000000040 RCX: 0000000000000001
[ +0.001419] RDX: 0000000000000001 RSI: 0000000000000040 RDI: ffffffff89b15110
[ +0.001410] RBP: ffffffff896098fb R08: ffff9607f72b5d38 R09: 0000000000000000
[ +0.001878] R10: 0000000000000021 R11: 0000000000000000 R12: ffff9607f4f34078
[ +0.001592] R13: 0000000000000001 R14: ffff9607f49d0070 R15: ffff9607e1ccbea8
[ +0.001408] FS: 0000000000000000(0000) GS:ffff9607ff400000(0000) knlGS:0000000000000000
[ +0.002082] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ +0.001985] CR2: 0000000000000040 CR3: 0000000135d74000 CR4: 0000000000060670
[ +0.001987] Stack:
[ +0.001968] ffff9607f49d0000 ffff9607f5db8c90 ffff9607f49d0080 ffff9607f49d000c
[ +0.002006] ffff9607f49d0070 ffffffff88f1a41d ffff9607f49d0000 008000b0f6d03190
[ +0.001999] ffff9607f49d0000 0000000000000000 0000000000000001 115e00638b834649
[ +0.001986] Call Trace:
[ +0.001980] [<ffffffff88f1a41d>] ? device_add_disk+0x1ed/0x470
[ +0.001996] [<ffffffffc02a9ace>] ? sd_probe_async+0xfe/0x1b0 [sd_mod]
[ +0.002005] [<ffffffff88c9de6a>] ? async_run_entry_fn+0x3a/0x140
[ +0.001993] [<ffffffff88c9492a>] ? process_one_work+0x18a/0x430
[ +0.002001] [<ffffffff88c94c1d>] ? worker_thread+0x4d/0x490
[ +0.001999] [<ffffffff88c94bd0>] ? process_one_work+0x430/0x430
[ +0.001970] [<ffffffff88c9aec9>] ? kthread+0xd9/0xf0
[ +0.001971] [<ffffffff89221171>] ? __switch_to_asm+0x41/0x70
[ +0.001969] [<ffffffff88c9adf0>] ? kthread_park+0x60/0x60
[ +0.001957] [<ffffffff892211f7>] ? ret_from_fork+0x57/0x70
[ +0.001944] Code: 90 48 85 d2 74 75 48 85 ff 74 70 41 56 41 55 41 89 cd 41 54 55 49 89 fc 53 48 c7 c7 10 51 b1 89 48 89 f3 48 89 d5 e8 f1 fe 38 00 <48> 8b 1b 48 85 db 74 08 48 89 df e8 91 c5 ff ff 48 c7 c7 10 51
[ +0.004286] RIP [<ffffffff88e9107f>] sysfs_do_create_link_sd.isra.2+0x2f/0xb0
[ +0.002110] RSP <ffffbca300aafd48>
[ +0.002087] CR2: 0000000000000040
[ +0.010334] ---[ end trace 82e60e7984eddf05 ]---
|