LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-14-2004, 12:41 PM   #1
Passive
Member
 
Registered: Mar 2002
Posts: 51

Rep: Reputation: 15
Arrow Filesystem havoc.


I have an Athlon 64 laptop.

I run Mandrake 10, of a non 64-bit variety. My root filesystem is Ext3

Recently, but not after any definable event, the following has started to happen:

I would boot, and everything would go normally. I would start things up, and things would be ok for a little while.
At some point, the root filesystem would mount itself read-only, and applications would start to crap out during startup.
If I went to reboot, I would get a message about a problem with the journalling, and I would have to manually power off.

Upon reboot, my system would do the following:

exts2-fs warning (device hda2): ext2_fill_super: mounting ext3 filesystem as ext2
vfs: mounted root(ext2 filesystem) readonly.
.
.
.
/dev/hda2 unexpected inconsitency: run fsck manually
failed to check filesystem, do you want to repair the errors(y/n):
(beware, you can lose data)


At this point, if I was booting normally, it would freeze. If I was booting in failsafe mode, and I pressed "y", it would find quite a lot of problems, fix them, and have to reboot immeadiately thereafter.

Also, it may not be related, but I've had a lot of trouble with K3B today (won't erase, write DVDs, or write multisession).

Thanks.
 
Old 08-14-2004, 01:12 PM   #2
futhark
Member
 
Registered: Nov 2003
Location: Montréal (Can)
Distribution: FC4
Posts: 110

Rep: Reputation: 15
Hi Passive,

Here's what I suggest to do when you run into a file system problem: boot in rescue mode to run a full system check.

I don' t know Mandrake, but Fedora2 has a Rescue ISO. I also know Knoppix is a one disc distro that can be booted from the CD alone which is good for this type of task.

Once in rescue mode, run a file system check:

e2fsck -p /dev/hdaN

Your journal may be screwed up. I experienced that once, and just rebuilt it like this. First you drop the journal (that downgrades ext3 to ext2 without breaking anything):

tune2fs /dev/hdaN -O ^has_journal

Then you create a fresh journal:

tune2fs /dev/hdaN -O has_journal

HTH!
 
Old 08-14-2004, 01:19 PM   #3
Passive
Member
 
Registered: Mar 2002
Posts: 51

Original Poster
Rep: Reputation: 15
Thanks, I will give it a go.
 
Old 08-16-2004, 09:36 AM   #4
Passive
Member
 
Registered: Mar 2002
Posts: 51

Original Poster
Rep: Reputation: 15
Well, it worked once.

Unfortunately, it stopped working, and the next time I tried to start, it decided to delete my &%^$^%$ing home directoy. Which, of course, I was unable to back up because of the burning problems, and of course, EXT3 can't be undeleted, so I am %$#%ed.

I guess Linux isn't the OS for me. Or maybe it is now, since I no longer have any important data to worry about.
 
Old 08-18-2004, 09:36 AM   #5
Passive
Member
 
Registered: Mar 2002
Posts: 51

Original Poster
Rep: Reputation: 15
Well, after it deleted my home directory, the problem is still happening, and at this point I can't seem to ever load Linux. It always finds error, fixes them, reboots, and finds them again.
I did a search on some of the errors I was getting, and it seems like my hard drive may be failing. Can anyone confirm or deny this?
 
Old 08-24-2004, 08:05 PM   #6
futhark
Member
 
Registered: Nov 2003
Location: Montréal (Can)
Distribution: FC4
Posts: 110

Rep: Reputation: 15
Yup that looks like an HD failure. Before I left for vacation about three weeks ago, I had a system setup with Fedora 2 at work. It worked correctly for some time, but it suddenly gave me trouble when booting. It was taking a looong time on kudzu. So I reinstalled. Even after reinstalling, I still had problems. I would boot it in single mode, then do an init 3 and it would work. But I couldn't boot straight in runlevel 3 (I see and fix a lot of problems, but that one was way too weird). I eventually shut down the PC when I left for vacation. When I came back last week I powered the PC and the hard drive was making weird noises and not boot at all. Dead.

Another occurence I have seen is on my boss' laptop a few years ago. Gnome would constantly fail to load some files. We would fix the errors with a filesystem check, but they'd come back all the time on the same of different files.

Last edited by futhark; 08-24-2004 at 08:08 PM.
 
  


Reply



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
Slack Upgrade Wreaks Havoc - Newb in Trouble! davatar Slackware 4 03-13-2005 11:04 AM
Session havoc in Fedora Core 2 coolfrog Fedora 3 09-16-2004 08:40 PM
simple change wreaked havoc fideli Linux - Newbie 6 11-08-2003 12:31 PM
Mandrake 9.1 2.6beta kernel havoc daphantom Linux - Software 2 08-17-2003 12:32 PM
New Partittion Has Caused Havoc O.B.Quite Linux - General 5 11-04-2002 05:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:25 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
Open Source Consulting | Domain Registration