Another crash, with a different backtrace. with a different board, but
related USB implementation. Since the report above, the underlying USB
implementation on the boards has changed somewhat, but the circumstances
of the crash are similar:

[40859.232293] usb 1-1.3: USB disconnect, device number 34
[40859.250102] FAT-fs (sdc): unable to read boot sector to mark fs as dirty
[40862.270362] usb 1-1.3: new full-speed USB device number 35 using ehci-pci
[40862.387543] usb 1-1.3: New USB device found, idVendor=239a, idProduct=8014, 
bcdDevice= 1.00
[40862.387546] usb 1-1.3: New USB device strings: Mfr=2, Product=3, 
SerialNumber=1
[40862.387548] usb 1-1.3: Product: Metro M0 Express
[40862.387550] usb 1-1.3: Manufacturer: Adafruit Industries LLC
[40862.387552] usb 1-1.3: SerialNumber: DFAE9D970323D4050213E2932141E0FF
[40862.388969] cdc_acm 1-1.3:1.0: ttyACM0: USB ACM device
[40862.392200] usb-storage 1-1.3:1.2: USB Mass Storage device detected
[40862.392599] scsi host6: usb-storage 1-1.3:1.2
[40862.397276] input: Adafruit Industries LLC Metro M0 Express Keyboard as 
/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.3/0003:239A:8014.0016/input/input97
[40862.454787] input: Adafruit Industries LLC Metro M0 Express Mouse as 
/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.3/0003:239A:8014.0016/input/input98
[40862.455133] input: Adafruit Industries LLC Metro M0 Express Consumer Control 
as 
/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.3/0003:239A:8014.0016/input/input99
[40862.455322] input: Adafruit Industries LLC Metro M0 Express as 
/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.3/0003:239A:8014.0016/input/input100
[40862.455689] hid-generic 0003:239A:8014.0016: input,hidraw3: USB HID v1.11 
Keyboard [Adafruit Industries LLC Metro M0 Express] on 
usb-0000:00:1a.0-1.3/input3
[40863.416330] scsi host6: scsi scan: INQUIRY result too short (5), using 36
[40863.416338] scsi 6:0:0:0: Direct-Access     Adafruit Metro M0 Express 1.0  
PQ: 0 ANSI: 2
[40863.416732] sd 6:0:0:0: Attached scsi generic sg3 type 0
[40863.418307] sd 6:0:0:0: [sdc] 4089 512-byte logical blocks: (2.09 MB/2.00 
MiB)
[40863.419611] sd 6:0:0:0: [sdc] Write Protect is off
[40863.419615] sd 6:0:0:0: [sdc] Mode Sense: 03 00 00 00
[40863.420650] sd 6:0:0:0: [sdc] No Caching mode page found
[40863.420656] sd 6:0:0:0: [sdc] Assuming drive cache: write through
[40863.464434]  sdc: sdc1
[40863.472071] sd 6:0:0:0: [sdc] Attached SCSI removable disk
[40864.285807] FAT-fs (sdc1): Volume was not properly unmounted. Some data may 
be corrupt. Please run fsck.
[40866.329111] cdc_acm 1-1.3:1.0: failed to set dtr/rts
[40866.349335] general protection fault: 0000 [#1] SMP PTI
[40866.349339] CPU: 3 PID: 134345 Comm: systemd-udevd Kdump: loaded Not tainted 
5.4.0-28-generic #32-Ubuntu
[40866.349340] Hardware name: Dell Inc. OptiPlex 7010/0WR7PY, BIOS A29 
06/28/2018
[40866.349346] RIP: 0010:kmem_cache_alloc_trace+0x88/0x230
[40866.349348] Code: 65 49 8b 50 08 65 4c 03 05 fd 95 36 60 4d 8b 38 4d 85 ff 
0f 84 80 01 00 00 41 8b 59 20 49 8b 39 48 8d 4a 01 4c 89 f8 4c 01 fb <48> 33 1b 
49 33 99 70 01 00 00 65 48 0f c7 0f 0f 94 c0 84 c0 74 bd
[40866.349349] RSP: 0018:ffffa5f589357bf0 EFLAGS: 00010206
[40866.349350] RAX: 02f74afdcaf6e6c0 RBX: 02f74afdcaf6e6c0 RCX: 00000000001b8e41
[40866.349351] RDX: 00000000001b8e40 RSI: 0000000000000dc0 RDI: 000000000002f100
[40866.349352] RBP: ffffa5f589357c20 R08: ffff935a0e1af100 R09: ffff935a0c403180
[40866.349353] R10: 0000000000000001 R11: 0000000000000006 R12: 0000000000000dc0
[40866.349354] R13: 0000000000000098 R14: ffff935a0c403180 R15: 02f74afdcaf6e6c0
[40866.349355] FS:  00007f4619b2e880(0000) GS:ffff935a0e180000(0000) 
knlGS:0000000000000000
[40866.349356] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[40866.349357] CR2: 000055c433bfa8b0 CR3: 0000000111b80005 CR4: 00000000001606e0
[40866.349358] Call Trace:
[40866.349363]  ? kernfs_fop_open+0xc2/0x3b0
[40866.349366]  kernfs_fop_open+0xc2/0x3b0
[40866.349368]  ? kernfs_fop_read+0x1b0/0x1b0
[40866.349372]  do_dentry_open+0x143/0x3a0
[40866.349373]  vfs_open+0x2d/0x30
[40866.349376]  do_last+0x194/0x900
[40866.349392]  path_openat+0x8d/0x290
[40866.349394]  do_filp_open+0x91/0x100
[40866.349397]  ? __alloc_fd+0x46/0x150
[40866.349398]  do_sys_open+0x17e/0x290
[40866.349400]  __x64_sys_openat+0x20/0x30
[40866.349402]  do_syscall_64+0x57/0x190
[40866.349405]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[40866.349407] RIP: 0033:0x7f461a0a3d1b
[40866.349409] Code: 25 00 00 41 00 3d 00 00 41 00 74 4b 64 8b 04 25 18 00 00 
00 85 c0 75 67 44 89 e2 48 89 ee bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 
f0 ff ff 0f 87 91 00 00 00 48 8b 4c 24 28 64 48 33 0c 25
[40866.349410] RSP: 002b:00007ffd5b8a6190 EFLAGS: 00000246 ORIG_RAX: 
0000000000000101
[40866.349411] RAX: ffffffffffffffda RBX: 000055c433b7e9b0 RCX: 00007f461a0a3d1b
[40866.349412] RDX: 0000000000080000 RSI: 00007ffd5b8a6300 RDI: 00000000ffffff9c
[40866.349413] RBP: 00007ffd5b8a6300 R08: 0000000000000008 R09: 0000000000000001
[40866.349413] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000080000
[40866.349414] R13: 000055c432f13390 R14: 000055c433962e60 R15: 00007ffd5b8a6398
[40866.349416] Modules linked in: nls_iso8859_1 rfcomm cmac algif_hash 
algif_skcipher af_alg bnep intel_rapl_msr intel_rapl_common 
x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm mei_hdcp 
crct10dif_pclmul ghash_clmulni_intel snd_hda_codec_hdmi snd_hda_codec_realtek 
snd_hda_codec_generic aesni_intel ledtrig_audio crypto_simd cryptd glue_helper 
intel_cstate intel_rapl_perf snd_hda_intel snd_intel_dspcfg snd_hda_codec 
snd_usb_audio snd_hda_core snd_usbmidi_lib snd_hwdep snd_pcm snd_seq_midi btusb 
snd_seq_midi_event btrtl snd_rawmidi uvcvideo btbcm i915 snd_seq 
videobuf2_vmalloc videobuf2_memops btintel videobuf2_v4l2 dell_wmi binfmt_misc 
videobuf2_common dell_smbios snd_seq_device bluetooth drm_kms_helper videodev 
dcdbas snd_timer joydev i2c_algo_bit ecdh_generic cdc_acm input_leds snd mc ecc 
wmi_bmof serio_raw sparse_keymap fb_sys_fops dell_wmi_descriptor mei_me 
syscopyarea mei soundcore sysfillrect sysimgblt ie31200_edac mac_hid 
sch_fq_codel parport_pc ppdev lp parport drm sunrpc
[40866.349443]  ip_tables x_tables autofs4 uas usb_storage hid_generic usbhid 
hid crc32_pclmul psmouse i2c_i801 e1000e ahci libahci lpc_ich video wmi

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1871143

Title:
  Kernel crash during USB device enumeration or mounting

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Device is an Adafruit microcontroller board running
  https://github.com/adafruit/circuitpython, using the TinyUSB USB
  stack: https://github.com/hathach/tinyusb.

  Device presents a composite USB device that includes MSC, CDC, HID, and MIDI
  Device was commanded to forcibly reformat its MSC FAT12 filesystem and then 
reset, which causes a USB reset and re-enumeration.

  This causes some USB kernel code to crash, much of the time, though
  not quite all the time.

  I work for Adafruit and the maintainer of TinyUSB also works for
  Adafruit, so we can provide further help to track this down.

  Attached is the dmesg file for the crash. I tried uploading the dump file 
from kdump, but launchpad is timing out. The dump file is available at:
  https://drive.google.com/open?id=1ka3ySSccEMRSmnYgI9X16IndPDmIKTD6

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: linux-image-5.4.0-21-generic 5.4.0-21.25
  ProcVersionSignature: Ubuntu 5.4.0-21.25-generic 5.4.27
  Uname: Linux 5.4.0-21-generic x86_64
  ApportVersion: 2.20.11-0ubuntu24
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  halbert    1857 F.... pulseaudio
   /dev/snd/controlC2:  halbert    1857 F.... pulseaudio
  CurrentDesktop: X-Cinnamon
  Date: Mon Apr  6 11:09:43 2020
  HibernationDevice: RESUME=UUID=55694d39-bafe-45f8-ba05-ea5d54a93a85
  InstallationDate: Installed on 2017-09-19 (929 days ago)
  InstallationMedia: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64 
(20170215.2)
  IwConfig:
   eno1      no wireless extensions.
   
   lo        no wireless extensions.
  MachineType: Dell Inc. OptiPlex 7010
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-21-generic 
root=UUID=b3868153-c620-4efe-9dfc-8059dc6288a8 ro quiet splash 
crashkernel=512M-:192M vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-5.4.0-21-generic N/A
   linux-backports-modules-5.4.0-21-generic  N/A
   linux-firmware                            1.187
  RfKill:
   0: hci0: Bluetooth
        Soft blocked: yes
        Hard blocked: no
  SourcePackage: linux
  UpgradeStatus: Upgraded to focal on 2020-03-08 (28 days ago)
  dmi.bios.date: 06/28/2018
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A29
  dmi.board.name: 0WR7PY
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A01
  dmi.chassis.type: 15
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvrA29:bd06/28/2018:svnDellInc.:pnOptiPlex7010:pvr01:rvnDellInc.:rn0WR7PY:rvrA01:cvnDellInc.:ct15:cvr:
  dmi.product.name: OptiPlex 7010
  dmi.product.sku: OptiPlex 7010
  dmi.product.version: 01
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1871143/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to