LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-29-2005, 01:41 PM   #1
RoaCh Of DisCor
Member
 
Registered: Apr 2004
Location: Washington State
Distribution: SuSE 9.3 / Slackware-Current
Posts: 701

Rep: Reputation: 30
External Harddrive reads very slow


Hi

I've noticed since I've switched to slackware...my external hdd is very slow at reading. It practically took 30 minutes just to read all of my mp3's in amarok (to build a database)...and now I'm scanning my files on nicotine and it's taking a very long time. It was never this slow before.

Any suggestions?

-RoaCh
 
Old 06-29-2005, 01:50 PM   #2
ctkroeker
Senior Member
 
Registered: May 2005
Posts: 1,565
Blog Entries: 1

Rep: Reputation: 50
If you still have the box or the manual check the RPM speed, if it's below 7000 rpm then that will make it slower. What filesystem are you using? ext2 is slower, I think than something like ReiserFS or ext3.
 
Old 06-29-2005, 01:52 PM   #3
RoaCh Of DisCor
Member
 
Registered: Apr 2004
Location: Washington State
Distribution: SuSE 9.3 / Slackware-Current
Posts: 701

Original Poster
Rep: Reputation: 30
I'm using ReiserFS...and have no idea where the manual is .

It's a 'wego' and it's usb 2.0.
 
Old 06-29-2005, 01:54 PM   #4
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53


edit : oh, i don't think it (=usb) will have a dma setting then ?

egag

Last edited by egag; 06-29-2005 at 01:56 PM.
 
Old 06-29-2005, 01:57 PM   #5
RoaCh Of DisCor
Member
 
Registered: Apr 2004
Location: Washington State
Distribution: SuSE 9.3 / Slackware-Current
Posts: 701

Original Poster
Rep: Reputation: 30
Well..here is the output:

/dev/sda:
readonly = 0 (off)
readahead = 256 (on)
geometry = 14593/255/63, sectors = 234441648, start = 0


Doesn't say anything about DMA. I will look at the manpage though..and see.

Quote:
Originally posted by egag
edit : oh, i don't think it (=usb) will have a dma setting then ?

egag
If it doesn't say anything about DMA, does that mean it can't use it?
 
Old 06-29-2005, 02:03 PM   #6
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
it's just used the way usb devices are used.
maybe check the kerneloutput when you plug it in.

type " tail -f /var/log/messages " in a console and plug the drive in.
maybe post the output here...

egag
 
Old 06-29-2005, 02:06 PM   #7
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,799

Rep: Reputation: 944Reputation: 944Reputation: 944Reputation: 944Reputation: 944Reputation: 944Reputation: 944Reputation: 944
Is the ehci-hcd module loaded ?
see with lsmod
 
Old 06-29-2005, 02:06 PM   #8
RoaCh Of DisCor
Member
 
Registered: Apr 2004
Location: Washington State
Distribution: SuSE 9.3 / Slackware-Current
Posts: 701

Original Poster
Rep: Reputation: 30
Jun 29 12:05:28 darkstar kernel: usb 4-2: USB disconnect, address 3
Jun 29 12:05:37 darkstar kernel: usb 4-2: new full speed USB device using uhci_hcd and address 6
Jun 29 12:05:38 darkstar kernel: usb 4-2: not running at top speed; connect to a high speed hub
Jun 29 12:05:38 darkstar kernel: scsi1 : SCSI emulation for USB Mass Storage devices
Jun 29 12:05:43 darkstar kernel: Vendor: WDC WD12 Model: 00BB-00GUA0 Rev: 0811
Jun 29 12:05:43 darkstar kernel: Type: Direct-Access ANSI SCSI revision: 00
Jun 29 12:05:43 darkstar kernel: SCSI device sdb: 234441648 512-byte hdwr sectors (120034 MB)
Jun 29 12:05:43 darkstar kernel: SCSI device sdb: 234441648 512-byte hdwr sectors (120034 MB)
Jun 29 12:05:43 darkstar kernel: sdb: sdb2
Jun 29 12:05:43 darkstar kernel: Attached scsi disk sdb at scsi1, channel 0, id 0, lun 0
Jun 29 12:06:12 darkstar kernel: : rejecting I/O to dead device
 
Old 06-29-2005, 02:09 PM   #9
RoaCh Of DisCor
Member
 
Registered: Apr 2004
Location: Washington State
Distribution: SuSE 9.3 / Slackware-Current
Posts: 701

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by keefaz
Is the ehci-hcd module loaded ?
see with lsmod
Well, I typed that...and it wasn't in the list...so I modprobed it. Checked again and it still wasn't listed by lsmod
 
Old 06-29-2005, 02:13 PM   #10
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,799

Rep: Reputation: 944Reputation: 944Reputation: 944Reputation: 944Reputation: 944Reputation: 944Reputation: 944Reputation: 944
Try dmesg just after you modprobe the module or tail /var/log/syslog
there is surelly an explanation
 
Old 06-29-2005, 02:28 PM   #11
RoaCh Of DisCor
Member
 
Registered: Apr 2004
Location: Washington State
Distribution: SuSE 9.3 / Slackware-Current
Posts: 701

Original Poster
Rep: Reputation: 30
Hmm..one thought. Recently..I installed ubuntu..and for the first time kept getting the error

"hub 1-0:1.0: over-current change on port 2
hub 1-0:1.0: over-current change on port 2
hub 1-0:1.0: over-current change on port 2
"

Flood in virtual consoles. I switched to slack...and still get the message..like if I type dmesg. I also get it when restarting or shutting down. Could this have something to do with it?
 
Old 06-29-2005, 02:40 PM   #12
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,799

Rep: Reputation: 944Reputation: 944Reputation: 944Reputation: 944Reputation: 944Reputation: 944Reputation: 944Reputation: 944
Have you a laptop ?
How many USB port are physically present ?
What is the output with :
/sbin/lspci -v | grep -i usb
 
Old 06-29-2005, 02:44 PM   #13
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
...and did you try other usb ports..?

egag
 
Old 06-29-2005, 02:45 PM   #14
RoaCh Of DisCor
Member
 
Registered: Apr 2004
Location: Washington State
Distribution: SuSE 9.3 / Slackware-Current
Posts: 701

Original Poster
Rep: Reputation: 30
root@darkstar:/home/ravencrow# /sbin/lspci -v | grep -i usb
00:1f.2 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #1) (rev 04) (prog-if 00 [UHCI])
00:1f.4 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #2) (rev 04) (prog-if 00 [UHCI])
02:07.0 USB Controller: NEC Corporation USB (rev 41) (prog-if 10 [OHCI])
02:07.1 USB Controller: NEC Corporation USB (rev 41) (prog-if 10 [OHCI])
02:07.2 USB Controller: NEC Corporation USB 2.0 (rev 02) (prog-if 20 [EHCI])


Hope that helps.

I have one USB card in the back that has 4 plugs (one is broken). Then another in the back with 2..that I'm guessing are 1.0. Then I have 2 in the front as well.


Quote:
Originally posted by egag
...and did you try other usb ports..?

egag
Actually, I did awhile ago. I had my hddrive plugged into a 1.0 port I think! Go figure..I should have checked that first. The performance is better now.

However, that error...does that make a difference? Also...that module that isn't being loaded...is that also a problem?

Last edited by RoaCh Of DisCor; 06-29-2005 at 02:47 PM.
 
Old 06-29-2005, 02:55 PM   #15
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,799

Rep: Reputation: 944Reputation: 944Reputation: 944Reputation: 944Reputation: 944Reputation: 944Reputation: 944Reputation: 944
Quote:
I have one USB card in the back that has 4 plugs (one is broken)
That would explain the log message 'hub 1-0:1.0: over-current change on port 2'
it means that the (maximum) voltage has changed, this is detected by the usb chipset
built to provide electricity for all your USB port.

ehci-hcd is the USB 2.0 linux driver
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slow ATAPI reads with 2.6.13 Skybolt Slackware 1 10-23-2005 04:56 AM
Usb External Harddrive - Extremely slow when reading files. RoaCh Of DisCor Linux - Hardware 1 04-26-2005 06:14 AM
Very slow disk reads? - hdparm Ada Linux - General 4 09-13-2004 10:48 PM
Problems using an external burner (reads, but doesn't burn) JenK Linux - Newbie 3 03-18-2004 10:53 PM
Nautilus slow-mo (Reads too much) Kujila Linux - Software 1 02-05-2004 02:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration