Article 6N87N Strange issue with generic MP3 player

Strange issue with generic MP3 player

by
oldpink
from LinuxQuestions.org on (#6N87N)
I'm having a problem with a portable MP3 player that only allows me to mount it (USB) once, then after I unmount/eject the player and plug it in to remount it, the system goes into an endless loop of failing to get the MP3 player fully recognized to be able to mount again.
Dmesg shows multiple errors until it actually somehow forces a restart of the MP3 player itself (the player screen shows it resetting), and the cycle continues ad infinitum.
The only way to get the player able to mount again is a full reboot of the Linux Laptop that I'm using, but it still allows only one mount per bootup.
This is on a Slackware system, using "Current," with all packages install up to the date of this post, with kernel 6.9.3.

Wondering if this might be an issue of the MP3 player having severely buggy hardware, I took it to my other Slackware (also "Current" running kernel 6.9.3) Linux laptop, and I was able to repeatedly mount, unmount/eject, remount the MP3 player on that laptop without a single problem.

Going back to the laptop having problems and checking if it might be a problem with the MP3 player and that laptop having some kind of hardware interaction that causes problems not specific to the operating system, I then booted that laptop into Windows 10 (it's a dual-boot system, of course), and I confirmed that Windows had no problem mounting/ejecting/remounting the MP3 player.

I then took the extraordinary step of re-imaging the laptop having the problem back to my full image backup dated clear back to February 18, 2020, which had kernel version 5.4.20 and was Slackware base version 14.2 with "Current" updates up to date at that time, running kernel 5.4.20.
Even that didn't stop the perpetual reset problem once I had mounted/unmounted/ejected, then plugged the player back in.
Seeing that regressing over four years back failed to solve the USB issue, I restored my up-to-date "Current" version of Slackware to its drive.

Maybe there's some kind of way to sort this out beyond using the output of dmesg, but that's what I have at the moment, so I'll first include the output of dmesg in the first output (also in the first attachment to make it easier to examine outside of the thread) for the first (successful) time of being able to plug in the MP3 player, then eject, with the second output (also in the second attachment) being the output of dmesg to show what happens with dmesg with the endless reset cycle when I plug the MP3 player in after having ejected it the first time.

*****************DMESG OUTPUT OF FIRST SUCCESSFUL USE OF USB MP3 PLAYER**************
[ 62.203469] usb 1-1: new full-speed USB device number 6 using xhci_hcd
[ 67.661502] usb 1-1: new high-speed USB device number 7 using xhci_hcd
[ 67.788066] usb 1-1: New USB device found, idVendor=10d6, idProduct=1101, bcdDevice= 1.00
[ 67.788072] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 67.788074] usb 1-1: Product: HS USB FlashDisk
[ 67.788075] usb 1-1: Manufacturer: ACTIONS
[ 67.788076] usb 1-1: SerialNumber: YX4512482ADF0FEEEE
[ 69.758249] usb-storage 1-1:1.0: USB Mass Storage device detected
[ 69.758348] scsi host3: usb-storage 1-1:1.0
[ 69.758452] usbcore: registered new interface driver usb-storage
[ 70.792071] scsi 3:0:0:0: Direct-Access ACTIONS USB DISK FOB 2.0 0 PQ: 0 ANSI: 0 CCS
[ 70.792352] scsi 3:0:0:1: Direct-Access ACTIONS USB DISK FOB 2.0 0 PQ: 0 ANSI: 0 CCS
[ 70.793423] sd 3:0:0:0: [sdb] 16502784 1024-byte logical blocks: (16.9 GB/15.7 GiB)
[ 70.793537] sd 3:0:0:0: [sdb] Write Protect is off
[ 70.793541] sd 3:0:0:0: [sdb] Mode Sense: 00 c0 00 00
[ 70.793735] sd 3:0:0:1: [sdc] Media removed, stopped polling
[ 70.793855] sd 3:0:0:0: [sdb] Write cache: disabled, read cache: disabled, doesn't support DPO or FUA
[ 70.793917] sd 3:0:0:1: [sdc] Attached SCSI removable disk
[ 70.796516] sdb: sdb1
[ 70.796595] sd 3:0:0:0: [sdb] Attached SCSI removable disk

********DMESG OUTPUT OF SECOND UNSUCCESSFUL USE OF USB MP3 PLAYER AFTER EJECTING*****
[ 240.896547] usb 1-1: USB disconnect, device number 7
[ 275.102521] usb 1-1: new full-speed USB device number 8 using xhci_hcd
[ 280.562522] usb 1-1: new high-speed USB device number 9 using xhci_hcd
[ 280.689080] usb 1-1: New USB device found, idVendor=10d6, idProduct=1101, bcdDevice= 1.00
[ 280.689085] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 280.689087] usb 1-1: Product: HS USB FlashDisk
[ 280.689088] usb 1-1: Manufacturer: ACTIONS
[ 280.689090] usb 1-1: SerialNumber: YX4512482ADF0FEEEE
[ 280.691266] usb-storage 1-1:1.0: USB Mass Storage device detected
[ 280.691725] scsi host3: usb-storage 1-1:1.0
[ 281.736673] scsi 3:0:0:0: Direct-Access ACTIONS USB DISK FOB 2.0 0 PQ: 0 ANSI: 0 CCS
[ 281.737954] sd 3:0:0:0: [sdb] 16502784 1024-byte logical blocks: (16.9 GB/15.7 GiB)
[ 281.738686] scsi 3:0:0:1: Direct-Access ACTIONS USB DISK FOB 2.0 0 PQ: 0 ANSI: 0 CCS
[ 281.738877] sd 3:0:0:0: [sdb] Write Protect is off
[ 281.738882] sd 3:0:0:0: [sdb] Mode Sense: 00 c0 00 00
[ 281.739008] sd 3:0:0:0: [sdb] Write cache: disabled, read cache: disabled, doesn't support DPO or FUA
[ 281.739207] sd 3:0:0:1: [sdc] Media removed, stopped polling
[ 281.739445] sd 3:0:0:1: [sdc] Attached SCSI removable disk
[ 281.741946] sdb: sdb1
[ 281.742062] sd 3:0:0:0: [sdb] Attached SCSI removable disk
[ 282.940611] usb 1-1: reset high-speed USB device number 9 using xhci_hcd
[ 285.223410] usb 1-1: device descriptor read/64, error -71
[ 287.610500] usb 1-1: device descriptor read/64, error -71
[ 287.833591] usb 1-1: reset high-speed USB device number 9 using xhci_hcd
[ 290.116457] usb 1-1: device descriptor read/64, error -71
[ 292.507440] usb 1-1: device descriptor read/64, error -71
[ 292.729438] usb 1-1: reset high-speed USB device number 9 using xhci_hcd
[ 293.464910] usb 1-1: device descriptor read/8, error -71
[ 293.579942] usb 1-1: device descriptor read/8, error -71
[ 293.801751] usb 1-1: reset high-speed USB device number 9 using xhci_hcd
[ 294.536951] usb 1-1: device descriptor read/8, error -71
[ 294.652125] usb 1-1: device descriptor read/8, error -71
[ 294.759590] sd 3:0:0:0: [sdb] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x07 driverbyte=DRIVER_OK cmd_age=11s
[ 294.759613] sd 3:0:0:0: [sdb] tag#0 CDB: opcode=0x85 85 06 20 00 05 00 fe 00 00 00 00 00 00 40 ef 00
[ 294.759651] usb 1-1: USB disconnect, device number 9
[ 294.941531] usb 1-1: new high-speed USB device number 10 using xhci_hcd
[ 297.224607] usb 1-1: device descriptor read/64, error -71
[ 299.610597] usb 1-1: device descriptor read/64, error -71
[ 299.833538] usb 1-1: new high-speed USB device number 11 using xhci_hcd
[ 302.116500] usb 1-1: device descriptor read/64, error -71
[ 304.506626] usb 1-1: device descriptor read/64, error -71
[ 304.615536] usb usb1-port1: attempt power cycle
[ 305.003512] usb 1-1: new high-speed USB device number 12 using xhci_hcd
[ 305.739111] usb 1-1: device descriptor read/8, error -71
[ 305.859954] usb 1-1: device descriptor read/8, error -71
[ 306.081526] usb 1-1: new high-speed USB device number 13 using xhci_hcd
[ 306.817076] usb 1-1: device descriptor read/8, error -71
[ 306.932077] usb 1-1: device descriptor read/8, error -71
[ 307.039640] usb usb1-port1: unable to enumerate USB device
[ 307.174114] udevd[20141]: inotify_add_watch(6, /dev/sdb, 10) failed: No such file or directory
[ 307.174118] udevd[20142]: inotify_add_watch(6, /dev/sdc, 10) failed: No such file or directory
[ 307.177531] udevd[14998]: inotify_add_watch(6, /dev/sdb1, 10) failed: No such file or directory
[ 307.179212] udevd[13028]: inotify_add_watch(6, /dev/sdc, 10) failed: No such file or directory
[ 307.182630] udevd[20141]: inotify_add_watch(6, /dev/sdb, 10) failed: No such file or directory
[ 315.355511] usb 1-1: new full-speed USB device number 14 using xhci_hcd
Attached Files
txt.gif1.txt (1.3 KB)
txt.gif2.txt (3.8 KB)
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments