Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with 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.
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.
I've recently installed Mandrake 9.2 onto a brand new Maxtor hard drive.
No problems until today, but today I'll be typing away in Evolution and the characters stop appearing for 2-3 seconds, then all show up at once. When I watch 'top', there is nothing that is taking up more than a few percent of the CPU. Any ideas how to find out what the problem is?
The nearest I've come to symptoms like this when a disk was having trouble seeking, and eventually had to be replaced. If the disk is the problem now, where would the error messages go? there are no disk errors reported in dmesg.
BTW, / and /home are ext3, both (and swap) are on the same disk.
Does it do similar things in other programs, or just in Evolution? Might just be a problem with Evolution... Unless it occurs in other programs, I doubt it's a disk problem.
I tried to duplicate the problem with kwrite and by
$ cat > a.a
followed buy furious typing but didn't have any problems, but I can still reproduce it in an evolution new message window. Perhaps cat and kwrite don't updatte or save occasionally or ...?
I downloaded and ran Maxtor's PowerMax diagnostics and it finds no problems with the drive.
I didn't have this problem in the Evolution that came with Mandrake 9.1.
I'm still having problems typing messages in Evolution -- every now and then the characters I'm typing stop appearing, then they all appear a few seconds later.
I think it's not the hard drive because I don't have problems in other apps.
I've disabled spell check and disabled checking for new messages to eliminate those as the problem.
Is anyone else having this problem?
Any suggestions on where to look?
I recently experienced similar typing delays after installing a 2.6 kernel, but the problem went away when I finally figured out how to turn on the fast modes (dma, multi-sector, etc.) for the disk driver. (Actually, more like getting it to use the right driver instead of the generic one.)
Yes - building a 2.6.1 kernel, I ended up turning off (in configuration) all ide drivers except the one for my chipset (via); it had been using a generic driver before. This was 90% of the fix, then put a call to hdparm -c3 -m16 in my rc.local for more tuning. Not sure why this stuff was affecting terminal response but it was. Also if you don't want to build a kernel I'm sure there's a way to specify (modules.conf?) which driver module gets loaded but I'm still just learning about modules.
# hdparm /dev/hdb reported
multicount=16 (so hdparm -m16 is already set)
IO_support=1
unmaskirq=1
using_dma=1
keepsettings=0
readonly=0
readahead=8
These are the same as for /dev/hda. Both are ATA133 form different manufactuers (hdb is a 40 GB Maxtor, hda is Western Digital.)
I logged out and logged back in as root in safe mode and did
# hdparm -tT /dev/hdb
and got 57.81 MB/sec
# hdparm -c3 /dev/hdb
# hdparm -tT /dev/hdb
and still got 57.81 MB/sec, so the -c3 isn't helping, and the -m16 is already set.
I tried evolution again, just for fun, and timed it more accurately. It hangs for 5 seconds every 60 seconds. This is very repeatable. It even happens every 60 seconds if I type only a single character into the compose window. I think it's a software bug, and will pursue it that way.
Thanks for all your help, I learned a lot!
Oh, by the way, the Western Digital 60GB ATA133 drive got only 40 MB/sec!
I am getting exactly the same problem with evolution and MDK 9.2 with a stock kernel. On my system this does not occur in any other application. If anyone has the solution, let us know.
All,
Thank you for your suggestions. I got the solution to my problem on the evolution@lists.ximian.com mail list. :-) The solution is to add your host name to the first line in /etc/hosts, for example:
127.0.0.1 localhost myhostname
Here's the problem statement, and the answer, so that Adolfo Bello gets the credit:
____________________
On Sat, 2004-01-24 at 01:34, Adolfo Bello wrote:
> > On Wed, 2004-01-21 at 03:30, J Black wrote:
> > > Hello.
> > >
> > ...
> > > Whenever I'm editing a message and typing away, the compose window
> > > freezes for about 5 seconds every 60 seconds. The cursor stops
> > > blinking, and whatever I type doesn't appear until the 5 seconds is up.
> > > (It's done it twice just typing these sentences!) Even typing a single
> > > character into the message window is enough to trigger this behavior.
> > >
> > > I don't notice this in other apps like Mozilla or OpenOffice, and I
> > > didn't have this problem in Mandrake 9.1 (don't know which version of
> > > Evolution.)
> > >
> > I had a similar problem with Evolution (from red-carpet) in Mandrake
> > 9.1. I solved adding to /etc/hosts the line:
> > 127.0.0.1 myhostname myhostname.mydomainname
> >
> > HTH
> >
> > Adolfo
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.