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.
|
 |
|
06-29-2005, 01:41 PM
|
#1
|
Member
Registered: Apr 2004
Location: Washington State
Distribution: SuSE 9.3 / Slackware-Current
Posts: 701
Rep:
|
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
|
|
|
06-29-2005, 01:50 PM
|
#2
|
Senior Member
Registered: May 2005
Posts: 1,565
Rep:
|
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.
|
|
|
06-29-2005, 01:52 PM
|
#3
|
Member
Registered: Apr 2004
Location: Washington State
Distribution: SuSE 9.3 / Slackware-Current
Posts: 701
Original Poster
Rep:
|
I'm using ReiserFS...and have no idea where the manual is  .
It's a 'wego' and it's usb 2.0.
|
|
|
06-29-2005, 01:54 PM
|
#4
|
Senior Member
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721
Rep:
|
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.
|
|
|
06-29-2005, 01:57 PM
|
#5
|
Member
Registered: Apr 2004
Location: Washington State
Distribution: SuSE 9.3 / Slackware-Current
Posts: 701
Original Poster
Rep:
|
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?
|
|
|
06-29-2005, 02:03 PM
|
#6
|
Senior Member
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721
Rep:
|
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
|
|
|
06-29-2005, 02:06 PM
|
#7
|
LQ Guru
Registered: Mar 2004
Distribution: Slackware
Posts: 6,799
|
Is the ehci-hcd module loaded ?
see with lsmod
|
|
|
06-29-2005, 02:06 PM
|
#8
|
Member
Registered: Apr 2004
Location: Washington State
Distribution: SuSE 9.3 / Slackware-Current
Posts: 701
Original Poster
Rep:
|
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
|
|
|
06-29-2005, 02:09 PM
|
#9
|
Member
Registered: Apr 2004
Location: Washington State
Distribution: SuSE 9.3 / Slackware-Current
Posts: 701
Original Poster
Rep:
|
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 
|
|
|
06-29-2005, 02:13 PM
|
#10
|
LQ Guru
Registered: Mar 2004
Distribution: Slackware
Posts: 6,799
|
Try dmesg just after you modprobe the module or tail /var/log/syslog
there is surelly an explanation
|
|
|
06-29-2005, 02:28 PM
|
#11
|
Member
Registered: Apr 2004
Location: Washington State
Distribution: SuSE 9.3 / Slackware-Current
Posts: 701
Original Poster
Rep:
|
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?
|
|
|
06-29-2005, 02:40 PM
|
#12
|
LQ Guru
Registered: Mar 2004
Distribution: Slackware
Posts: 6,799
|
Have you a laptop ?
How many USB port are physically present ?
What is the output with :
/sbin/lspci -v | grep -i usb
|
|
|
06-29-2005, 02:44 PM
|
#13
|
Senior Member
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721
Rep:
|
...and did you try other usb ports..?
egag
|
|
|
06-29-2005, 02:45 PM
|
#14
|
Member
Registered: Apr 2004
Location: Washington State
Distribution: SuSE 9.3 / Slackware-Current
Posts: 701
Original Poster
Rep:
|
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.
|
|
|
06-29-2005, 02:55 PM
|
#15
|
LQ Guru
Registered: Mar 2004
Distribution: Slackware
Posts: 6,799
|
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
|
|
|
All times are GMT -5. The time now is 02:19 PM.
|
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
|
|