LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-19-2005, 02:09 AM   #1
akudewan
Member
 
Registered: Apr 2004
Location: India
Distribution: Ubuntu
Posts: 364

Rep: Reputation: 30
Exclamation very unstable, almost virus-infected behaviour


Hi there,

I'm using Slack 10.1. My system is acting very strange. All of a sudden, the whole system hangs. Its not like just a particular application or the X server hangs, but everything hangs all at once. There is no response from the keyboard when pressing NUM lock etc.

It hangs at random, sometimes while watching a video, sometimes while browsing the net. And all I can do is press the reset button.

As the system reboots, fsck checks my root partition and /home parition and it ALWAYS finds errors and reboots the system.

Here is a list of things that I have done recently (before the problem started) in chronological order:

1) Formatted my whole HDD and made partitions using qtpart (from Yoper-insall CD)
2) I didn't like Yoper too much so I formatted my root partition (using cfdisk) and installed slack 10.0
3) Then I upgraded to slack 10.1 by downloading the ISOs
<After this was the time when my system was getting unstable>
4) I noticed that my /home partition had unsupported features, so I removed e2fsprogs given by slack and downloaded the latest version (source code).
5) After compiling e2fsprogs, some libraries in /lib were missing (such as libblkid.so.1). So I popped in the slack 10.1 CD and copied the missing libs into my /lib folder.
6) After this my system hangs at random, as if infected by a virus. Almost windows-like behaviour.

Can anyone figure out whats wrong? Please help me.

EDIT: here are a few lines from /var/log/messages around the time my system hung (approx 12:15PM)

Code:
Mar 19 10:56:57 ranjan404 gconfd (akudewan-2421): starting (version 2.6.2), pid 2421 user 'akudewan'
Mar 19 10:56:58 ranjan404 gconfd (akudewan-2421): Resolved address "xml:readonly:/etc/gconf/gconf.xml.mandatory" to a read-only config source at position 0
Mar 19 10:56:58 ranjan404 gconfd (akudewan-2421): Resolved address "xml:readwrite:/home/akudewan/.gconf" to a writable config source at position 1
Mar 19 10:56:58 ranjan404 gconfd (akudewan-2421): Resolved address "xml:readonly:/etc/gconf/gconf.xml.defaults" to a read-only config source at position 2
Mar 19 11:15:58 ranjan404 -- MARK --
Mar 19 11:35:58 ranjan404 -- MARK --
Mar 19 11:55:58 ranjan404 -- MARK --
Mar 19 12:16:00 ranjan404 syslogd 1.4.1: restart.
Mar 19 12:16:01 ranjan404 kernel: klogd 1.4.1, log source = /proc/kmsg started.
Mar 19 12:16:01 ranjan404 kernel: BIOS-provided physical RAM map:
Mar 19 12:16:01 ranjan404 kernel: 127MB LOWMEM available.
Mar 19 12:16:01 ranjan404 kernel: ide_setup: hdd=ide-scsi
Mar 19 12:16:01 ranjan404 kernel: Initializing CPU#0
Mar 19 12:16:01 ranjan404 kernel: Memory: 126368k/131008k available (1831k kernel code, 4252k reserved, 607k data, 120k init, 0k highmem)

Last edited by akudewan; 03-19-2005 at 02:12 AM.
 
Old 03-19-2005, 02:40 AM   #2
Thoreau
Senior Member
 
Registered: May 2003
Location: /var/log/cabin
Distribution: All
Posts: 1,167

Rep: Reputation: 45
Your hard drive is dead. Get a new one. No mystery here.
 
Old 03-19-2005, 02:49 AM   #3
akudewan
Member
 
Registered: Apr 2004
Location: India
Distribution: Ubuntu
Posts: 364

Original Poster
Rep: Reputation: 30


WTF. I got my Samsung 80 GB just last year on my birthday!!

Now that I think about it, there have been a few electricity fluctuations. I have a spike-guard, but no stabilizer or UPS. I'll get my hard disk checked ASAP.

Anyone else got any suggestions?
 
Old 03-19-2005, 03:02 AM   #4
JSpired
Member
 
Registered: Sep 2003
Distribution: Slackware, Suse 9.2
Posts: 565

Rep: Reputation: 30
I actually thought the same after reading your post..sorry.
 
Old 03-19-2005, 03:08 AM   #5
scott_R
Member
 
Registered: Jul 2003
Location: Brighton, Michigan, USA
Distribution: Lots of distros in the past, now Linux Mint
Posts: 746

Rep: Reputation: 31
That's not nearly enough info to diagnose a system. The whole file, or a dmesg output might help more. Just a guess, but part of the problem might be your somewhat haphazard updating/upgrades. For instance, these caught my attention:

4) I noticed that my /home partition had unsupported features, so I removed e2fsprogs given by slack and downloaded the latest version (source code).

[what unsupported features? a /home partition isn't an entity, it's simply a placeholder]

5) After compiling e2fsprogs, some libraries in /lib were missing (such as libblkid.so.1). So I popped in the slack 10.1 CD and copied the missing libs into my /lib folder.

[copy pasting sometimes works with MS Windows, but Linux works on systems from watches to Cray computers. The chances of dropping in the correct driver at random, directly off a cd aren't in your favor.]

Noting the second ("5") item, it makes me wonder if you took the time to read the e2fsprogs install instructions, or just made a guess as to what was the problem (and inadvertantly made things worse by doing so).

Additionally, perhaps you made the decision to install Slackware with an older (ext2) filesystem, and there might be a problem with some of the software that goes along with that, simply because few people use that older filesystem these days.

Mainly though, I would suggest a reinstallation. Not because slackware is a problem, but because your situation is beyond your ability to manage it. Most Slack users (including myself) use slackware-current, using swaret or another updater to keep things up-to-date. Essentially, Slack can be a pain to install, but once it's set up properly, is almost a hands-off system.

Experienced Slack/Linux users would have no problem fixing your problem, but it's not worth the time it would take you to learn the subtletys of the system, especially as a newbie. You need familairity with the OS before you can work on even simple problems like this.

Not that you should feel bad about this, most of us have a MS background, and we all have migrated through various stages of "dumbness" before we understood these systems at a better level. Funny thing is, I don't know anyone who would prefer to return to "the other OS".
 
Old 03-20-2005, 07:30 AM   #6
akudewan
Member
 
Registered: Apr 2004
Location: India
Distribution: Ubuntu
Posts: 364

Original Poster
Rep: Reputation: 30
I understand that my method of updating e2fsprogs was quite risky. I should have done a little more research.

My system is not hanging since the past 2-3 days. I guess I'll just wait and watch. If it does give problems, then I'll re-format my linux partition and start over. I'll also keep a watch on my hard-disk.

Thanks for all the help.
 
Old 03-20-2005, 07:39 AM   #7
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Solus
Posts: 2,254

Rep: Reputation: 47
Sounds like a reinstall is in order to me as well. Using good practices and procedures when making changes to the system will prevent many problems. Be sure to read up on chnges before making them so that you know what you are about to do.

Even seemingly small configuration changes can make a system unstable. The things you've decribed doing are well outside of proper practices and will likely ensure an unstable system.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
is ubuntu unstable less unstable than debian unstable? lefty.crupps Ubuntu 9 10-14-2005 02:38 PM
Any incident linux was infected with Virus/Worm and crashed? TigerLinux Linux - General 4 10-08-2005 06:59 AM
CD3 FC3 Virus Infected zillah Fedora 5 01-19-2005 02:24 PM
More Than 90% Of Linux Systems Have Never Been Infected By A Virus masand Linux - News 11 10-15-2004 12:29 AM
RH 7.3 Server infected with Linux.Jac.8759 and Linux.RST.B virus osso09 Linux - Security 10 11-18-2003 12:37 AM


All times are GMT -5. The time now is 04:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration