Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Hard drive pauses. Everything else is fine.
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
Raymond R
n00b
n00b


Joined: 13 Apr 2003
Posts: 36
Location: Swift Current, Saskatchewan

PostPosted: Fri Apr 18, 2003 4:28 am    Post subject: Hard drive pauses. Everything else is fine. Reply with quote

Hello,
I searched around the forums, but I did not find anything related to this problem.

When I copy something from the network to my hard drive or from a CD to the hard drive, my whole computer seems to pause for a couple seconds, then it carries on, then it pauses, then it carries on, ad infinitum.

The data does get copied, there is no corruption-there is just the blasted pausing.
Does anyone have an idea of what could cause this?

NOTE: This computer used to run SuSE 8.0 and Windows XP Pro without this problem.
Athlon 1800+; 512MB RAM; 20 GB Hard drive; 40x DVD; Shuttle AK35GT2 MB; KT333 VIA chipset.

...and everything else is fine.
Back to top
View user's profile Send private message
Jimbow
Guru
Guru


Joined: 18 Feb 2003
Posts: 597
Location: Silver City, NM

PostPosted: Fri Apr 18, 2003 6:17 am    Post subject: Reply with quote

This could be because of the unmask-interrupt (-u) setting of hdparm:
Code:

emerge --update hdparm
man hdparm

and look for the -u option.
_________________
After Perl everything else is just assembly language.
Back to top
View user's profile Send private message
Raymond R
n00b
n00b


Joined: 13 Apr 2003
Posts: 36
Location: Swift Current, Saskatchewan

PostPosted: Fri Apr 18, 2003 6:43 am    Post subject: Reply with quote

I had the latest version of hdparm.
The results of hdparm -u /dev/hda was:
/dev/hda
unmask = 0 (off)

Should I turn it on? (my hard drive controller is not one of the ones listed as having an issue with file corruption)

Thanks for your reply.
Back to top
View user's profile Send private message
Jimbow
Guru
Guru


Joined: 18 Feb 2003
Posts: 597
Location: Silver City, NM

PostPosted: Fri Apr 18, 2003 7:13 am    Post subject: Reply with quote

The man page says A setting of 1 permits the driver to unmask other interrupts during processing of a disk interrupt, which greatly improves Linux's responsiveness. It also says that it might bork your filesystem.

Given everything you have said, I think it is very likely that setting -u to one will fix your problem and not bork your file system. On the other hand, if you have a spare partition lying around, this might be an excellent time to perform that backup you've been putting off.
_________________
After Perl everything else is just assembly language.
Back to top
View user's profile Send private message
Raymond R
n00b
n00b


Joined: 13 Apr 2003
Posts: 36
Location: Swift Current, Saskatchewan

PostPosted: Fri Apr 18, 2003 5:39 pm    Post subject: Reply with quote

I changed the setting. It appears to have worked.
I am just beginning in my Gentoo setup, so I don't have much to lose.

Thanks again.
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