Gentoo Archives: gentoo-security

From: Robert Larson <robert@×××××××××.com>
To: gentoo-security@l.g.o
Subject: Re: [gentoo-security] AMD64 + Hard Drive weirdness...
Date: Thu, 16 Feb 2006 16:04:35
Message-Id: 200602160943.25294.robert@sixthings.com
In Reply to: [gentoo-security] AMD64 + Hard Drive weirdness... by Jeff
1 Hello Jeff,
2
3
4 I've had 3 machines exhibit this kind of behaviour in the last few months.
5
6 On the first machine, it was an intermitten IDE controller failure (probably
7 related to heat and expansion of motherboard compoenents). I was able to
8 bypass it by installing a PCI SATA controller. The way that I was able to
9 figure this out was by running knoppix on it (I tried windows too, just in
10 case). When running knoppix (and, that OTHER os), the problems still
11 occured.
12
13 The second and third machines were having problems because the wrong drivers
14 were loaded for the motherboard IDE controller. On the first of these
15 machines, I ran knoppix and it correctly loaded the drivers (I used lsmod to
16 find them ;-). On the second of these machines, it was a production machine,
17 and it took a lot of time because I couldn't just bring it down. I was
18 getting "operation not permitted" when trying to enable DMA. Eventually, I
19 had performed lspci, and saw the controller, then noticed that it was
20 compiled into the kernel as a different controller.
21
22 As far as it goes for your situation, I would recommend running knoppix to see
23 if the autodetection can resolve it. If that doesn't work, it may be that
24 it's simply getting confused between those two similar controllers. Does
25 "hdparm /dev/hda" show any useful info? How about "hdparm -i /dev/hda"? If
26 you try to make settings (such as set DMA "hdparm -d1 /dev/hda") does it spit
27 out errors? I think hdparm may tell you more in this situation because the
28 disc reads are insanely slow (1MB/sec should be more like 50MB/sec). It
29 might be worth walking through this just to see if it gives you any errors:
30 http://gentoo-wiki.com/HOWTO_Use_hdparm_to_improve_IDE_device_performance
31
32 I hope this gives you enough to go on...
33
34
35 Regards,
36
37
38 Robert Larson
39
40
41
42 On Thursday 16 February 2006 08:58 am, Jeff wrote:
43 > Hey all.
44 >
45 > Gentoo Linux AMD64 - running pretty sweet - except, I've noticed that
46 > even under minimal loads, my system seems to have mini-lockups
47 > frequently. For instance, when downloading a mere 10 emails, my system
48 > seems to choke - to the point where I can't even move my mouse for a
49 > good 10 seconds or so. Opening a gnome-terminal is painful - sometimes,
50 > apps make the desktop freeze for a good 20-30 seconds. I did a large
51 > emerge last night using the gnome-terminal, and it rendered my Gnome
52 > desktop almost completely frozen.
53 >
54 > Any idea what might be causing this, and what steps I should take to
55 > troubleshoot this? The best I can tell, the problem seems to be hard
56 > drive related, as it does a lot of chewing before the app finally let's
57 > rip. The hard drive is an IDE, not SATA as you might expect from the
58 > info below. Other than these strange mini-lockups, my system is buzzing
59 > right along at a good clip!
60 >
61 > Thanks!
62 >
63 [snip]
64 --
65 gentoo-security@g.o mailing list