Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kobo making USB ports temporarily fail #70

Open
pgaskin opened this issue Feb 16, 2018 · 25 comments
Open

Kobo making USB ports temporarily fail #70

pgaskin opened this issue Feb 16, 2018 · 25 comments

Comments

@pgaskin
Copy link

pgaskin commented Feb 16, 2018

This issue affects every linux distro I have tried it with.

Usually the Kobo works fine. Once in a while (on both my Kobo Minis, Glo, and Aura ed2), it will cause issues with my usb ports, causing them to not work until I reboot my computer. This will continue to happen to every linux device I plug the Kobo into until I reboot the Kobo. This issue seems to be triggered randomly when copying and reading many small files from the Kobo, but it is hard for me to reproduce on purpose.

Here is the relevant dmesg messages from my computer:

[234491.933495] usb 3-2: new high-speed USB device number 25 using xhci_hcd
[234492.085920] usb-storage 3-2:1.0: USB Mass Storage device detected
[234492.086037] scsi host9: usb-storage 3-2:1.0
[234493.091407] scsi 9:0:0:0: Direct-Access     Kobo     eReader-4.7.1041 0110 PQ: 0 ANSI: 2
[234493.097291] sd 9:0:0:0: [sde] 6614013 512-byte logical blocks: (3.39 GB/3.15 GiB)
[234493.207912] sd 9:0:0:0: [sde] Write Protect is off
[234493.207918] sd 9:0:0:0: [sde] Mode Sense: 0f 00 00 00
[234493.317965] sd 9:0:0:0: [sde] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[234493.555737]  sde:
[234493.777956] sd 9:0:0:0: [sde] Attached SCSI removable disk
[234494.080519] FAT-fs (sde): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[234497.596998] usb 3-2: reset high-speed USB device number 25 using xhci_hcd
[234497.962943] usb usb3-port2: disabled by hub (EMI?), re-enabling...
[234497.962949] usb 3-2: USB disconnect, device number 25
[234498.080923] sd 9:0:0:0: [sde] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x01 driverbyte=0x00
[234498.080927] sd 9:0:0:0: [sde] tag#0 CDB: opcode=0x28 28 00 00 13 e8 fc 00 00 f0 00
[234498.080929] print_req_error: I/O error, dev sde, sector 1304828
[234498.080944] sd 9:0:0:0: [sde] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x01 driverbyte=0x00
[234498.080945] sd 9:0:0:0: [sde] tag#0 CDB: opcode=0x28 28 00 00 13 e9 ec 00 00 10 00
[234498.080946] print_req_error: I/O error, dev sde, sector 1305068
[234498.097048] sd 9:0:0:0: [sde] Synchronizing SCSI cache
[234498.097094] sd 9:0:0:0: [sde] Synchronize Cache(10) failed: Result: hostbyte=0x01 driverbyte=0x00
[234498.097372] FAT-fs (sde): Directory bread(block 12900) failed
[234498.097375] FAT-fs (sde): Directory bread(block 12901) failed
[234498.097377] FAT-fs (sde): Directory bread(block 12902) failed
[234498.097378] FAT-fs (sde): Directory bread(block 12903) failed
[234498.097379] FAT-fs (sde): Directory bread(block 12904) failed
[234498.097381] FAT-fs (sde): Directory bread(block 12905) failed
[234498.097382] FAT-fs (sde): Directory bread(block 12906) failed
[234498.097383] FAT-fs (sde): Directory bread(block 12907) failed
[234498.097391] FAT-fs (sde): Directory bread(block 1277548) failed
[234498.097392] FAT-fs (sde): Directory bread(block 1277549) failed
[234499.140196] usb usb3-port2: Cannot enable. Maybe the USB cable is bad?
[234500.033523] usb usb3-port2: Cannot enable. Maybe the USB cable is bad?
[234500.033551] usb usb3-port2: attempt power cycle
[234501.240163] usb usb3-port2: Cannot enable. Maybe the USB cable is bad?
[234502.133566] usb usb3-port2: Cannot enable. Maybe the USB cable is bad?
[234502.133608] usb usb3-port2: unable to enumerate USB device
@pgaskin
Copy link
Author

pgaskin commented Mar 22, 2018

@gtalusan?

@pgaskin
Copy link
Author

pgaskin commented Apr 1, 2018

Also happens on macOS:

157717.344635 AppleUSBHostResources@: AppleUSBHostResources::allocateDownstreamBusCurrentGated: assuming successful wakeUnits 100 sleepUnits 0
USBMSC Identifier (non-unique): N236690147396 0x2237 0x4226 0x110, 2
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Label block readed disk MaxO=1536
Label block readed 1
Label block readed 1
Label block readed 1
Label block readed 1
Label block readed disk MaxO=1536
Label block readed 1
Label block readed 1
Label block readed 1
Label block readed 1
Label block readed disk MaxO=1536
Label block readed 1
Label block readed 1
Label block readed 1
Label block readed 1
Label block readed disk MaxO=1536
Label block readed 1
Label block readed 1
Label block readed 1
Label block readed 1
Label block readed disk MaxO=1536
Label block readed 1
Label block readed 1
Label block readed 1
Label block readed 1
Label block readed disk MaxO=1536
Label block readed 1
Label block readed 1
Label block readed 1
Label block readed 1
Label block readed disk MaxO=1536
Label block readed 1
Label block readed 1
Label block readed 1
Label block readed 1
Label block readed disk MaxO=1536
Label block readed 1
Label block readed 1
Label block readed 1
Label block readed 1
Label block readed disk MaxO=1536
Label block readed 1
Label block readed 1
Label block readed 1
Label block readed 1
Label block readed disk MaxO=1536
Label block readed 1
Label block readed 1
Label block readed 1
Label block readed 1
Label block readed disk MaxO=1536
Label block readed 1
Label block readed 1
Label block readed 1
Label block readed 1
Label block readed disk MaxO=1536
Label block readed 1
Label block readed 1
Label block readed 1
Label block readed 1
Label block readed disk MaxO=1536
Label block readed 1
Label block readed 1
Label block readed 1
Label block readed 1
Label block readed disk MaxO=1536
Label block readed 1
Label block readed 1
Label block readed 1
Label block readed 1
Label block readed disk MaxO=1536
Label block readed 1
Label block readed 1
Label block readed 1
Label block readed 1
Label block readed disk MaxO=1536
Label block readed 1
Label block readed 1
Label block readed 1
Label block readed 1
Label block readed disk MaxO=1536
Label block readed 1
Label block readed 1
Label block readed 1
Label block readed 1
Label block readed disk MaxO=1536
Label block readed 1
Label block readed 1
Label block readed 1
Label block readed 1
disk1: device/channel is not attached.
disk1: device/channel is not attached.
disk1: device/channel is not attached.
disk1: device/channel is not attached.
disk1: device/channel is not attached.
disk1: device/channel is not attached.
disk1: device/channel is not attached.
disk1: device/channel is not attached.
disk1: device/channel is not attached.
disk1: device/channel is not attached.
disk1: device/channel is not attached.
disk1: device/channel is not attached.
disk1: device/channel is not attached.
disk1: device/channel is not attached.
disk1: device/channel is not attached.
disk1: device/channel is not attached.
disk1: device/channel is not attached.
disk1: device/channel is not attached.
disk1: device/channel is not attached.
disk1: device/channel is not attached.
disk1: device/channel is not attached.
USB device 2237422614900000 - fConsecutiveResetCount = 1.
disk1: device/channel is not attached.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
msdosfs_fat_uninit_vol: error 6 from msdosfs_fat_cache_flush
157729.296859 AppleUSBHostResources@: AppleUSBHostResources::allocateDownstreamBusCurrentGated: assuming successful wakeUnits 100 sleepUnits 0
157729.299636 AppleUSBHostResources@: AppleUSBHostResources::allocateDownstreamBusCurrentGated: assuming successful wakeUnits 100 sleepUnits 0
USBMSC Identifier (non-unique): N236690147396 0x2237 0x4226 0x110, 2
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Label block readed disk MaxO=1536
Label block readed 1
Label block readed 1
Label block readed 1
Label block readed 1
USB device 2237422614900000 - will be reset!
157731.082050 AppleUSBHostResources@: AppleUSBHostResources::allocateDownstreamBusCurrentGated: assuming successful wakeUnits 100 sleepUnits 0
157731.084391 AppleUSBHostResources@: AppleUSBHostResources::allocateDownstreamBusCurrentGated: assuming successful wakeUnits 100 sleepUnits 0
USBMSC Identifier (non-unique): N236690147396 0x2237 0x4226 0x110, 2
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
USB device 2237422614900000 - fConsecutiveResetCount = 1.
Label block readed disk MaxO=1536
Label block readed 1
Label block readed 1
Label block readed 1
Label block readed 1
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
msdosfs_fat_uninit_vol: error 6 from msdosfs_fat_cache_flush
157739.569944 AppleUSBHostResources@: AppleUSBHostResources::allocateDownstreamBusCurrentGated: assuming successful wakeUnits 100 sleepUnits 0
157813.621037 AppleUSBHostResources@: AppleUSBHostResources::allocateDownstreamBusCurrentGated: assuming successful wakeUnits 100 sleepUnits 0
USBMSC Identifier (non-unique): N236690147396 0x2237 0x4226 0x110, 2
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Label block readed disk MaxO=1536
Label block readed 1
Label block readed 1
Label block readed 1
Label block readed 1
USB device 2237422614900000 - fConsecutiveResetCount = 1.
disk1: device/channel is not attached.
157815.228328 AppleUSBHostResources@: AppleUSBHostResources::allocateDownstreamBusCurrentGated: assuming successful wakeUnits 100 sleepUnits 0
157815.230999 AppleUSBHostResources@: AppleUSBHostResources::allocateDownstreamBusCurrentGated: assuming successful wakeUnits 100 sleepUnits 0
USBMSC Identifier (non-unique): N236690147396 0x2237 0x4226 0x110, 2
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Mass Storage: family specific matching fails
Label block readed disk MaxO=1536
Label block readed 1
Label block readed 1
Label block readed 1
Label block readed 1
Label block readed disk MaxO=1536
Label block readed 1
Label block readed 1
Label block readed 1
Label block readed 1
USB device 2237422614900000 - fConsecutiveResetCount = 1.
disk1: device/channel is not attached.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
disk1: media is not present.
msdosfs_fat_uninit_vol: error 6 from msdosfs_fat_cache_flush
157822.967957 AppleUSBHostResources@: AppleUSBHostResources::allocateDownstreamBusCurrentGated: assuming successful wakeUnits 100 sleepUnits 0
IOConsoleUsers: time(0) 0->0, lin 1, llk 0, 
IOConsoleUsers: gIOScreenLockState 1, hs 0, bs 0, now 0, sm 0x0
loginwindow is not entitledIOConsoleUsers: time(0) 0->0, lin 1, llk 0, 
IOConsoleUsers: gIOScreenLockState 1, hs 0, bs 0, now 0, sm 0x0

@pgaskin
Copy link
Author

pgaskin commented Apr 24, 2018

Are you there @gtalusan? And I'll test this with the new firmware and see if this issue is still there.

@pgaskin
Copy link
Author

pgaskin commented Apr 28, 2018

This issue does not appear to be there with the new firmware (I'm not 100% sure though), so I'll close this for now.

BTW, the new firmware was worth the wait. I didn't realise how useful the new Page Flip feature was until I tried it. The new firmware is also a lot more responsive and does not have the touchscreen offset issue which there was in the past few versions.

@pgaskin pgaskin closed this as completed Apr 28, 2018
@XenHat
Copy link

XenHat commented Jun 2, 2018

The issue seems to have been introduced or at least caused by USB3 (either the protocol or the kernel module for Linux). The bug traces back to RedHat Linux and others, quite a while ago.

I managed to fix this issue by disabling USB3.0 in my bios (therefore falling back to USB2.0 mode) since my laptop does not have USB2.0 ports.

@pgaskin
Copy link
Author

pgaskin commented Jun 2, 2018

@XenHat That might be the issue, but it also happened even when I turned off USB3...

Does it happen for you with the latest firmware with USB3 on? It seems to be fixed for me (as I said above).

@XenHat
Copy link

XenHat commented Jun 3, 2018

@geek1011 Yes it still happens. I truly have to disable usb3. Even USB3 (smart) modes fail on my Windows desktop machine (Device has encountered error thing)

My laptop runs Linux and is what lead me here, so perhaps not a software issue on the OS side. USB 2 seems to be the fastest mode that is reliable over time.

@pgaskin
Copy link
Author

pgaskin commented Jun 3, 2018

@XenHat Have you tried turning off legacy USB support in the BIOS? That has fixed it for some.

Also, see if turning off USB power saving in Windows helps anything your desktop.

I'll try to figure out why I haven't been getting this issue myself recently.

If @gtalusan knows anything about this, it would be nice if he could respond...

@XenHat
Copy link

XenHat commented Jun 4, 2018

Hmmm, my motherboard is only usb3, if I turn off some of those options, my BIOS is unusable. power saving is off though, and I haven't seen the issue since. I don't really need usb3 (I only use it for 2 usb sticks) so I don't really mind that much.

@CamilleScholtz
Copy link

CamilleScholtz commented Jun 7, 2018

I'm also running into the same issue, also on linux, running the newest firmware (4.8.11073) on my kobo Aura v2. This only seems to happen when I plug it into an usb 3.0 port..

@hmh
Copy link

hmh commented Jun 8, 2018

This could be a problem on the USB OTG implementation in the kobo (kernel or hardware), but it could also be an issue on the computer chipset / kernel driver you're using.

The usual workaround for issues with USB2 devices on USB3 ports is to have an USB2 high-quality hub connected to one of the USB3 ports, and connect your USB2 devices (kobo included) through the hub.

@pgaskin pgaskin reopened this Jun 8, 2018
@pgaskin
Copy link
Author

pgaskin commented Jun 29, 2018

@gtalusan do you know anything about this?

@esantoro
Copy link

esantoro commented Aug 3, 2018

I can confirm that by setting usb3 ports to work in compatibility (usb2) mode, I was able to access my Kobo Touch again (I was experiencing the same issue).

Tested with a Kobo Touch on an i7 ThinkPad T440.

@ghost
Copy link

ghost commented Aug 25, 2018

I confirm this issue with Kobo

Aura 514A462006943 4.8.11073 08/05/2018
Aura N2366C0317213 4.9.11311 28/06/2018
Aura N236770535232 4.9.11311 28/06/2018

And Linux Ubuntu 17.10

Using a USB2 Hub connected to USB3 is a good workaround but it would be nice if you could fixe this issue

Thank you

@ghost
Copy link

ghost commented Sep 26, 2018

Any news about this issue?

@pgaskin
Copy link
Author

pgaskin commented Sep 26, 2018

Nope. @gtalusan, can you at least say if this is planned to be fixed or not?

@pgaskin
Copy link
Author

pgaskin commented Nov 4, 2018

This issue just got worse (I don't know why). Now, instead of failing randomly, it just doesn't connect properly at all (with the same error as before). It goes completely read-only. On my chromebook with USB3 ports, it isn't even recognized.

At least I enabled telnet in the developer settings before, so I will install a sftp server on my Kobo and copy stuff that way.

@weskerfoot
Copy link

I had a similar issue (Arch Linux, etc). Nothing was recognized in my dmesg log. Not until I found the original cable that came with the Kobo did I get it to work. I'm curious why all other micro-usb cables would fail. Is there something non-standard about the USB connection?

@MostlyArmless
Copy link

I had to RMA my first Kobo due to connector issues of some kind, but while it was still working intermittently I found that, after trying 5 different cables, the only way to get a reliable data connection for transferring books to the device was to use the cable it came with.

I'm not 100% sure, but I think it had something to do with manufacturing tolerances in my case. The OEM cable fit snugly in the Kobo, none of my others did. When the slightest force was applied to the other cables while plugged in, the connection would be lost.

@plenaerts
Copy link

I have two cables: one I bought cheaply and one that I got with an expensive USB3 hub. It looks a lot more sturdy.
I have two linux machines, one with USB3 and one with USB2 only.

If I put the cheap cable in the USB3 machine and connect my kobo then dmesg shows all sorts of random I/O errors in dmesg. I can imagine the random errors can lead to very erratic behaviour and badness. I had a corrupt database on my kobo some time ago which might be caused by this issue.

If I put the cheap cable in the USB2 machine all goes well.
If I put the more sturdy looking cable in the USB3 machine all goes well.

So, my advice would be to buy a good micro USB cable.

@ouinouin
Copy link

hi, impacted by the same issue on my kobo.... y wasnt aware that emulating a mass storage support was so difficult.

73.858372] usb usb2-port2: disabled by hub (EMI?), re-enabling...
Jan 31 18:54:38 toshouin kernel: [ 73.858376] usb 2-2: USB disconnect, device number 3
Jan 31 18:54:38 toshouin kernel: [ 73.959342] sd 3:0:0:0: [sdc] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
Jan 31 18:54:38 toshouin kernel: [ 73.959346] sd 3:0:0:0: [sdc] tag#0 CDB: Read(10) 28 00 00 00 0a 07 00 00 f0 00
Jan 31 18:54:38 toshouin kernel: [ 73.959348] blk_update_request: I/O error, dev sdc, sector 2567 op 0x0:(READ) flags 0x84700 phys_seg 240 prio class 0
Jan 31 18:54:38 toshouin kernel: [ 73.959412] blk_update_request: I/O error, dev sdc, sector 2807 op 0x0:(READ) flags 0x80700 phys_seg 15 prio class 0
Jan 31 18:54:38 toshouin kernel: [ 73.959423] blk_update_request: I/O error, dev sdc, sector 2568 op 0x0:(READ) flags 0x84000 phys_seg 239 prio class 0
Jan 31 18:54:38 toshouin kernel: [ 73.959485] blk_update_request: I/O error, dev sdc, sector 2567 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
Jan 31 18:54:38 toshouin kernel: [ 73.959492] FAT-fs (sdc): FAT read failed (blocknr 2567)
Jan 31 18:54:38 toshouin kernel: [ 73.964483] sd 3:0:0:0: [sdc] Synchronizing SCSI cache
Jan 31 18:54:38 toshouin kernel: [ 73.964532] sd 3:0:0:0: [sdc] Synchronize Cache(10) failed: Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
Jan 31 18:54:38 toshouin kernel: [ 73.970302] FAT-fs (sdc): Directory bread(block 27570) failed
Jan 31 18:54:38 toshouin kernel: [ 73.970305] FAT-fs (sdc): Directory bread(block 27571) failed
Jan 31 18:54:38 toshouin kernel: [ 73.970307] FAT-fs (sdc): Directory bread(block 27572) failed
Jan 31 18:54:38 toshouin kernel: [ 73.970308] FAT-fs (sdc): Directory bread(block 27573) failed
Jan 31 18:54:38 toshouin kernel: [ 73.970309] FAT-fs (sdc): Directory bread(block 27574) failed
Jan 31 18:54:38 toshouin kernel: [ 73.970310] FAT-fs (sdc): Directory bread(block 27575) failed
Jan 31 18:54:38 toshouin kernel: [ 73.970311] FAT-fs (sdc): Directory bread(block 27576) failed
Jan 31 18:54:38 toshouin kernel: [ 73.970313] FAT-fs (sdc): Directory bread(block 27577) failed
Jan 31 18:54:38 toshouin kernel: [ 73.970327] FAT-fs (sdc): Directory bread(block 27570) failed
Jan 31 18:54:38 toshouin kernel: [ 73.970329] FAT-fs (sdc): Directory bread(block 27571) failed
Jan 31 18:54:38 toshouin udisksd[1002]: Cleaning up mount point /media/ouinouin/KOBOeReader (device 8:32 no longer exists)
Jan 31 18:54:38 toshouin kernel: [ 73.982775] FAT-fs (sdc): unable to read boot sector to mark fs as dirty
Jan 31 18:54:38 toshouin systemd[1]: media-ouinouin-KOBOeReader.mount: Succeeded.
Jan 31 18:54:38 toshouin systemd[1895]: media-ouinouin-KOBOeReader.mount: Succeeded.
Jan 31 18:54:38 toshouin systemd[1]: Stopping Clean the /media/ouinouin/KOBOeReader mount point...
Jan 31 18:54:38 toshouin systemd[1]: clean-mount-point@media-ouinouin-KOBOeReader.service: Succeeded.
Jan 31 18:54:38 toshouin systemd[1]: Stopped Clean the /media/ouinouin/KOBOeReader mount point.
Jan 31 18:54:39 toshouin kernel: [ 75.037733] usb usb2-port2: Cannot enable. Maybe the USB cable is bad?
Jan 31 18:54:40 toshouin kernel: [ 75.940727] usb usb2-port2: Cannot enable. Maybe the USB cable is bad?
Jan 31 18:54:40 toshouin kernel: [ 75.940773] usb usb2-port2: attempt power cycle
Jan 31 18:54:41 toshouin kernel: [ 77.163375] usb usb2-port2: Cannot enable. Maybe the USB cable is bad?
Jan 31 18:54:42 toshouin kernel: [ 78.062370] usb usb2-port2: Cannot enable. Maybe the USB cable is bad?
Jan 31 18:54:42 toshouin kernel: [ 78.062401] usb usb2-port2: unable to enumerate USB device

@ghost
Copy link

ghost commented Sep 10, 2021

Hi, I would like to mention that this bug still exists on my Kobo Forma, which is almost brand new (although it did sit in a box unopened until a month ago) with firmware 4.26.16704

I referenced this bug in a mobileread discussion where others had interpreted the lack of activity on this bug as evidence that it had "fixed itself" or something. I just want to confirm that the ball is still in Kobo's court.

Also -- and this may be key to fixing the bug -- the KOReader firmware, which has its own totally independent implementation of the USB mass storage stack -- does NOT exhibit this bug, on EXACTLY the same hardware, with exactly the same boxful of USB cables.

This is definitely a software bug. Some cables might be better than others at triggering it, but the fact that it can be fixed by using KOReader's USB Mass Storage stack instead of the native stack is incontrovertible evidence.

Kobo, please fix this bug, or (better) just start shipping KOReader instead of your own firmware. You guys make awesome hardware and KOReader makes awesome software. Together you could rule the world! Well, the world of eReaders at least. Which is close enough, really...

@NiLuJe
Copy link

NiLuJe commented Sep 10, 2021

Huh. We don't do things significantly differently, FWIW...

Basically, a real unmount instead of a lazy one, and that shouldn't really affect much on that front.

The only other difference was the stall option of the USBMS Linux gadget, but I switched that to 0, same as stock, because all hell broke loose on the Elipsa otherwise ;). (so, 2021.07 was using stall set to 1, which, AFAICT, is the kernel default, and newer releases set it to 0).

@StephenWoodruff
Copy link

An easier workaround for Libra 2 which can be seen in Finder but not in Calibre: from Calibre choose Connect/Share then 'Connect to folder'. Choose the root of the Kobo and continue as normal.

@MagiaPotagia
Copy link

I have a Kobo GLO and while attempting to download some dictionaries it updated the firmware, now the USB Port is totally broken.
With this USB Port bug this is basically useless, do I attempt to downgrade the firmware or what?
Can you just hotfix this and upload the hotfix firmware to the system so we can just download it and move on, it's been three years of this.
I am going to kill myself over this, I am tired of having to deal with these little problems every day of my life when I try to use anything, this is not a joke post.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests