linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* segmentation fault in TOP command
@ 2005-07-11 16:21 Jose Barroca
  2005-07-13  2:07 ` Anssi Hannula
  0 siblings, 1 reply; 3+ messages in thread
From: Jose Barroca @ 2005-07-11 16:21 UTC (permalink / raw)
  To: linux-kernel

Dear all,

I'm trying to deal with a peculiar problem that came up the other day.
I've searched the net, posted in newbie groups, but to no avail. So,
perhaps you can lend a hand:

Using a 2.6.12.12 straight from kernel.org:
- I experience loss of responsiveness (mouse, keyboard, music) during
r/w intensive operations, such as lengthy computations in matlab
(exceeding my RAM), or a simple system update using Debian's dselect.
Mouse clicks and keypresses don't get lost, but xmms may skip the
tracks. And all this happens intermitently during the mentioned r-w op.
== This did not happen with previous kernels ==

- I had a case of FS corruption, which I could not trace. I use ext3,
only one partition for the complete debian system. I keep my data in
other partitions. Reason is a small disk in a laptop. This corruption
made itself visible after a reboot, when I called top to check why bash
was taking so long to complete a directory name (TAB press):

rdrs@abafado:~$ top
Segmentation fault

Other outputs included: "can't execute binary file", "attempt to access
beyond end of device"

I ran e2fsck -vc to get a read-only badblock scan, but the latter came
out clean. I had a lot of illegal inodes, though. This ext3 partition
was never accessed by other OSs.
== I use top on a dayly basis, so corruption happenned not long ago.
There were no power outages, but the previous kernel (2.6.11) had
NLS_DEFAULT=iso8859-1, whereas the new one has NLS_DEFAULT=utf8 ==

---
And, to sum up, I've been through a MEMTEST86, an E2FSCK, don't think
the machine was cracked (not even literally speaking), and ran SMARTCTL
-a /dev/hda.

This one had an interesting output: there was indication of an error
happening some 197 days ago. I could decipher the remaining info. Also,
the REALLOACTED_SECTOR_CT has a very high number, though it is labelled
"PRE_FAIL".


I'm quite at a loss on what to do now - where should I start looking?
And even if I simply replace "top", is that even possible, or advisable?

Eagerly waiting for your answers,

Jose







^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: segmentation fault in TOP command
  2005-07-11 16:21 segmentation fault in TOP command Jose Barroca
@ 2005-07-13  2:07 ` Anssi Hannula
  0 siblings, 0 replies; 3+ messages in thread
From: Anssi Hannula @ 2005-07-13  2:07 UTC (permalink / raw)
  To: linux-kernel

Jose Barroca wrote:
> 
> This one had an interesting output: there was indication of an error
> happening some 197 days ago. I could decipher the remaining info.

This is probably not related.

 > Also,
> the REALLOACTED_SECTOR_CT has a very high number, though it is labelled
> "PRE_FAIL".
> 

But this is; Reallocated sector count above zero indicates a failing 
harddrive.
More information here:
http://smartmontools.sourceforge.net/BadBlockHowTo.txt

If the count is "very high", I think you should get a new harddrive.

-- 
Anssi Hannula


^ permalink raw reply	[flat|nested] 3+ messages in thread

* segmentation fault in "top" command
@ 2005-07-11 15:24 Jose Barroca
  0 siblings, 0 replies; 3+ messages in thread
From: Jose Barroca @ 2005-07-11 15:24 UTC (permalink / raw)
  To: linux-kernel

Dear all,

I'm trying to deal with a peculiar problem that came up the other day.
I've searched the net, posted in newbie groups, but to no avail. So,
perhaps you can lend a hand:

Using a 2.6.12.12 straight from kernel.org:
- I experience loss of responsiveness (mouse, keyboard, music) during
r/w intensive operations, such as lengthy computations in matlab
(exceeding my RAM), or a simple system update using Debian's dselect.
Mouse clicks and keypresses don't get lost, but xmms may skip the
tracks. And all this happens intermitently during the mentioned r-w op.
== This did not happen with previous kernels ==

- I had a case of FS corruption, which I could not trace. I use ext3,
only one partition for the complete debian system. I keep my data in
other partitions. Reason is a small disk in a laptop. This corruption
made itself visible after a reboot, when I called top to check why bash
was taking so long to complete a directory name (TAB press):

rdrs@abafado:~$ top
Segmentation fault

Other outputs included: "can't execute binary file", "attempt to access
beyond end of device"

I ran e2fsck -vc to get a read-only badblock scan, but the latter came
out clean. I had a lot of illegal inodes, though. This ext3 partition
was never accessed by other OSs.
== I use top on a dayly basis, so corruption happenned not long ago.
There were no power outages, but the previous kernel (2.6.11) had
NLS_DEFAULT=iso8859-1, whereas the new one has NLS_DEFAULT=utf8 ==

---
And, to sum up, I've been through a MEMTEST86, an E2FSCK, don't think
the machine was cracked (not even literally speaking), and ran SMARTCTL
-a /dev/hda.

This one had an interesting output: there was indication of an error
happening some 197 days ago. I could decipher the remaining info. Also,
the REALLOACTED_SECTOR_CT has a very high number, though it is labelled
"PRE_FAIL".


I'm quite at a loss on what to do now - where should I start looking?
And even if I simply replace "top", is that even possible, or advisable?

Eagerly waiting for your answers,

Jose






^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-07-13  2:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-11 16:21 segmentation fault in TOP command Jose Barroca
2005-07-13  2:07 ` Anssi Hannula
  -- strict thread matches above, loose matches on Subject: below --
2005-07-11 15:24 segmentation fault in "top" command Jose Barroca

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).