Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
unstable usb3 connection
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Vrenn
Apprentice
Apprentice


Joined: 15 Dec 2004
Posts: 286

PostPosted: Tue Dec 22, 2015 12:58 pm    Post subject: unstable usb3 connection Reply with quote

Dear Gentoo experts!

I solved many problems with my Asus ROG 751JY (Haswell, just usb3). But some remain.
I use dirvish (rsync based backup)
My Backup disks are unstable in usb3 mode (sometimes loose connection to mounted hdd)

Reproducible on two gentoo-machines, two Seagate backup+ drives, one WD My Book Essential external powered, about 4 cables (one short from hama)

Slowing the connection with an USB2-hub down makes the backup 100% stable.

Any Idea where that can come from?
Is unstable USB3 normal?
What I am might missing? DMA-options?

Thanks for your help!
_________________
With nice greetings
Vrenn
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43195
Location: 56N 3W

PostPosted: Tue Dec 22, 2015 1:47 pm    Post subject: Reply with quote

Vrenn,

A couple of things to try.

a) turn off power management.
b) turn on Persistent USB Device Names. (The one marked as unsafe)
This allows USB devices to come and go (as they would with a power save power down) without getting a new name.
It may not stop the filesystem being trashed though.
c) try a newer kernel.

Just one problem at a time please.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Vrenn
Apprentice
Apprentice


Joined: 15 Dec 2004
Posts: 286

PostPosted: Tue Dec 22, 2015 3:08 pm    Post subject: Reply with quote

As I looked I used tip a) and b) already. Then I will wait for a newer kernel when I can use it.
gentoo kernel 3.15.58:
cat /usr/src/linux/.config | grep PM
CONFIG_ARCH_WANT_HUGE_PMD_SHARE=y
CONFIG_ARCH_ENABLE_SPLIT_PMD_PTLOCK=y
# CONFIG_PM_RUNTIME is not set
CONFIG_X86_PM_TIMER=y
CONFIG_PCIEASPM=y
# CONFIG_PCIEASPM_DEBUG is not set
CONFIG_PCIEASPM_DEFAULT=y
# CONFIG_PCIEASPM_POWERSAVE is not set
# CONFIG_PCIEASPM_PERFORMANCE is not set
CONFIG_SATA_PMP=y
CONFIG_IWLWIFI_OPMODE_MODULAR=y
# CONFIG_IPMI_HANDLER is not set
# CONFIG_TCG_TPM is not set
# CONFIG_PMBUS is not set
# CONFIG_PMIC_ADP5520 is not set
# CONFIG_PMIC_DA903X is not set
# CONFIG_MFD_88PM800 is not set
# CONFIG_MFD_88PM805 is not set
# CONFIG_MFD_88PM860X is not set
# CONFIG_FB_PM2 is not set
# CONFIG_FB_PM3 is not set
# CONFIG_SND_HDSPM is not set
# CONFIG_PM_DEVFREQ is not set
Sorry for the problem-confusion, I don't want to make one.
_________________
With nice greetings
Vrenn
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43195
Location: 56N 3W

PostPosted: Tue Dec 22, 2015 4:58 pm    Post subject: Reply with quote

Vrenn,

Think about keywording the testing kernel. 3.15.58 is very old. Its not even in portage any more. Portage has

Code:
# eix gentoo-sources
[?] sys-kernel/gentoo-sources
     Available versions: 
     (3.4.110) (~)3.4.110^bs
     (3.4.9999) **3.4.9999^bs
     (3.10.92) 3.10.92^bs
     (3.10.93) (~)3.10.93^bs
     (3.10.94) (~)3.10.94^bs
     (3.12.49) 3.12.49^bs
     (3.12.50) (~)3.12.50^bs
     (3.12.9999) **3.12.9999^bs
     (3.14.56) 3.14.56^bs
     (3.14.57) (~)3.14.57^bs
     (3.14.58) (~)3.14.58^bs
     (3.18.21) (~)3.18.21^bs
     (3.18.22) (~)3.18.22^bs
     (3.18.23) (~)3.18.23^bs
     (3.18.24) (~)3.18.24^bs
     (3.18.25) (~)3.18.25^bs
     (4.0.4) (~)4.0.4^bs{tbz2}
     (4.0.9) 4.0.9^bs
     (4.1.12) 4.1.12^bs
     (4.1.13) (~)4.1.13^bs
     (4.1.14) (~)4.1.14^bs
     (4.1.15) (~)4.1.15^bs
     (4.2.4) (~)4.2.4^bs
     (4.2.5) (~)4.2.5^bs{tbz2}
     (4.2.6) (~)4.2.6^bs
     (4.2.7) (~)4.2.7^bs
     (4.2.8) (~)4.2.8^bs
     (4.3.0) (~)4.3.0^bs{tbz2}
     (4.3.2) (~)4.3.2^bs{tbz2}
     (4.3.3) (~)4.3.3^bs{tbz2}

The (~) means testing. The stable kernel is version 4.1.12, the testing one is 4.3.3.
You need a kernel update to 4.1.12 at least.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum