Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
01-06-2014, 12:43 PM
|
#1
|
Senior Member
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223
Rep: 
|
USB copying really really slow on Slackware
I know it is not the port nor the pendrive because on Windows it copies just fine. When I try to copy an archive to it, it starts at something like 30~40MiB/s (pretty impressive) but it starts to drop fast, in the middle it is at something like 5MiB/s (sort of like Windows if I recall it correctly). Unfortunately, it keeps dropping and then it goes to less than 1MiB/s. It can take more than 3 hours to copy 5GiB.
|
|
|
01-06-2014, 01:13 PM
|
#2
|
Member
Registered: Nov 2008
Location: USA
Distribution: Arch 64-bit
Posts: 159
Rep:
|
What filesystem is the drive formatted as (ex: NTFS, FAT32)? How are you mounting the drive (as what type with which options)?
|
|
|
01-06-2014, 01:40 PM
|
#3
|
Senior Member
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223
Original Poster
Rep: 
|
NTFS (since FAT32 can't handle larger files), usually mounted just double clicking on it on XFCE. It is so slow that is faster to transfer the file to the windows partition, boot on windows, copy the file.
|
|
|
01-06-2014, 01:52 PM
|
#4
|
Member
Registered: Nov 2008
Location: USA
Distribution: Arch 64-bit
Posts: 159
Rep:
|
Check and make sure you have ntfs-3g installed and up-to-date.
Could also you try mounting it manually through the command line instead and see if that helps, or returns any warnings/errors? Something like, mount -t ntfs-3g /dev/sdb1 /your/mountpoint/here -o rw,users,umask=0000
I would also try running the copy command through the CLI to see if it returns any warnings or errors there too.
|
|
|
01-06-2014, 03:06 PM
|
#5
|
Senior Member
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223
Original Poster
Rep: 
|
I have ntfs-3g working fine. I can access the windows's partition with no problem. Mounted the pendrive using the command line and it is fine too.
EDIT: I am copying it using dd and it started at 11Mb/s, 400 seconds later and now it is copying at 3,5Mb/s. Not really fast but that is more or less how it goes on windows. Still need to wait since it drops more at the end.
Last edited by moisespedro; 01-06-2014 at 03:08 PM.
|
|
|
01-06-2014, 03:12 PM
|
#6
|
Senior Member
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223
Original Poster
Rep: 
|
2,7 Mb/s and it doesn't stop dropping. Damn.
|
|
|
01-06-2014, 03:16 PM
|
#7
|
Member
Registered: Nov 2008
Location: USA
Distribution: Arch 64-bit
Posts: 159
Rep:
|
Have you tried mounting the drive with the option -o noatime?
|
|
|
01-06-2014, 03:19 PM
|
#8
|
Senior Member
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223
Original Poster
Rep: 
|
No, gonna try that later. Will wait until it gets near the end (when it drops to like 200Kb/s).
|
|
|
01-06-2014, 03:30 PM
|
#9
|
Senior Member
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223
Original Poster
Rep: 
|
Trying with noatime now, it makes me sad how it always starts copying at 12Mb/s. Lets see how it goes.
|
|
|
01-06-2014, 03:42 PM
|
#10
|
Senior Member
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223
Original Poster
Rep: 
|
noatime option is giving me the same results, that sucks.
|
|
|
01-06-2014, 03:47 PM
|
#11
|
Member
Registered: Aug 2007
Location: Brazil
Distribution: Slackware 14.1 x86_64
Posts: 38
Rep:
|
Just a question: are you using a initrd? If so maybe your usb modules are not being loaded in the correct order....
In my setup they are: modprobe ehci_hcd
modprobe ehci_pci
modprobe uhci_hcd
modprobe ohci_hcd
|
|
|
01-06-2014, 03:54 PM
|
#12
|
Senior Member
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223
Original Poster
Rep: 
|
Yes, I am using one. How exactly do I check/change that?
EDIT: By the way, it seems it will stop dropping at 1,9 Mb/s. Still sucks but it is less worse than before.
|
|
|
01-06-2014, 03:55 PM
|
#13
|
Member
Registered: Nov 2008
Location: USA
Distribution: Arch 64-bit
Posts: 159
Rep:
|
Anything related about the USB drive during mount/copy in dmesg | tail?
|
|
|
01-06-2014, 03:58 PM
|
#14
|
Senior Member
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223
Original Poster
Rep: 
|
This:
Code:
[13243.881008] sd 5:0:0:0: [sdd] Mode Sense: 23 00 00 00
[13243.881630] sd 5:0:0:0: [sdd] No Caching mode page found
[13243.881632] sd 5:0:0:0: [sdd] Assuming drive cache: write through
[13243.885254] sd 5:0:0:0: [sdd] No Caching mode page found
[13243.885256] sd 5:0:0:0: [sdd] Assuming drive cache: write through
[13243.906368] sdd: sdd1
[13243.912610] sd 5:0:0:0: [sdd] No Caching mode page found
[13243.912613] sd 5:0:0:0: [sdd] Assuming drive cache: write through
[13243.912616] sd 5:0:0:0: [sdd] Attached SCSI removable disk
[13692.254180] Peer 148.246.180.162:65243/62750 unexpectedly shrunk window 1115412022:1115417386 (repaired)
|
|
|
01-06-2014, 04:05 PM
|
#15
|
Member
Registered: Aug 2007
Location: Brazil
Distribution: Slackware 14.1 x86_64
Posts: 38
Rep:
|
Check if all modules are in your initrd. I have had that problem at various occasions due to an old brain forgetting to put them all in the initrd.
|
|
|
All times are GMT -5. The time now is 08:16 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|