LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 07-27-2006, 02:37 PM   #1
john riemann soong
LQ Newbie
 
Registered: Jul 2006
Posts: 17

Rep: Reputation: 0
reiserfs filesystems unmounted uncleanly at shutdown


I don't get this, I never had this problem before until something corrupted my reiserfs journal, then I had to reformat everything again.

Even though I think I shutdown cleanly (with an init 0 or init 6) apparently it boot it detects both my two reiserfs filesystems (one / and one /home) as "unmounted cleanly" and performs an fsck on them. This doesn't take too much time, apparently since it just goes through the journals and usually it doesn't find any errors, but I am disturbed they are detected as such.

the fstab entries for the two filesystems are

/dev/hda5 / reiserfs defaults 1 1
/dev/hda6 /home reiserfs defaults 1 2

Also it detects DMA as turned off. It was turned off each time it encountered a read error from what I suspect were bad blocks the journal had been written on previously (now all traces of the previous filesystem are probably gone). I can't re-enable it - I thought it was only a setting that was turned off for that kernel session, not a setting that would last for other kernels!

hdparm -d1 -X /dev/hda gives me

Code:
bash-3.00# hdparm -d1 -X /dev/hda

/dev/hda:
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Operation not permitted
 setting xfermode to 0 (default PIO mode)
 using_dma    =  0 (off)

The hard disk is really slow - 3 MB per second(!)

I might as well ask it here - I am slightly perturbed, though it's not an issue currently. The last time I passed the "no journal" option to reiserfsck, but it detected a journal, found it couldn't read it and bailed out. But I wanted it to ignore the journal because it was corrupt - and fix the other parts of the filesystem manually, perhaps even wipe out the journal and create a new one. Is this the fault of the program, or can the filesystem not be checked if the journal is corrupt?

Last edited by john riemann soong; 07-27-2006 at 02:39 PM.
 
Old 07-27-2006, 05:07 PM   #2
justanothersteve
Member
 
Registered: Aug 2005
Location: Missouri, USA
Distribution: Gentoo
Posts: 161

Rep: Reputation: 30
I can't offer much for the reiser problem but as for your dma issue, have you attempted to recompile your kernel? I was getting that error after compiling my kernel and having the wrong IDE chipset selected in the device drivers.
 
Old 07-27-2006, 06:42 PM   #3
john riemann soong
LQ Newbie
 
Registered: Jul 2006
Posts: 17

Original Poster
Rep: Reputation: 0
Hmm I don't recall selecting any chipset specifically, although I'll look again. Does a Toshiba MK6021GAS use any chipset that I could specify in a kernel besides generic?
 
  


Reply

Tags
dma, fsck, mount, reiserfs


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 On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Filesystems ReiserFS - EXT3 - XFS RGummi Linux - General 7 11-02-2005 02:53 PM
Linux Shutdown uncleanly bluenectar Linux - Newbie 2 08-05-2005 03:45 AM
reiserfs/jfs/ext3 filesystems eranb2 Debian 8 02-20-2005 02:23 AM
Errors booting Fedora Core 2 (System shutdown uncleanly) Fudge150 Linux - General 9 08-09-2004 03:54 PM
System shutdown uncleanly; fsck? mac_phil Linux - General 2 11-02-2003 01:18 AM


All times are GMT -5. The time now is 05:01 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration