LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-23-2006, 03:12 PM   #1
drmjh
Member
 
Registered: Mar 2005
Location: North Carolina, USA
Distribution: Ubuntu
Posts: 308

Rep: Reputation: 31
Unhappy Inode Lock


I had left the computer alone for about an hour and it went into the power saving mode. Upon attempting to use it again, the
computer hung up completely and nothing worked. I had to turn the power off to shut it down. Re-booting took a very long time and instead of
KDE, Suse 10 booted up the alternate desktop but I think in a 'safe mode' All of my data etc seems to be intact, but I can't get
my KDE back up. I copied the error Msg. below but don't understand it other than a node in the FS is locked.
How can I get back to normal? I had to contact the Linux Questions (gasp) on my Windows machine. I appreciate any help.
Matthew


This error Msg. was from dmesg.

Reiserfs hdb2: warning: vs-13070:reiserfs_read_locked_inode: i/o failure occurred trying to find stat data
of [4440 66261 0x0 SD] hdb: dma_intr: Status = 0x51 {DriveReady Seek Complete error}
hdb: dma_intr:error= 0x40 {uncorrectable error}
LBA Sect=41426325,high=2,low=7871893,sector=41426323
ide failed opcode was unknown

````````````````````````````````````````````````````````````````````````````
I noticed this error Msg. from a Sys. Logfile:

Nvidia module not supported by Novell, setting U Taint flag.

Is there a connection?
 
Old 03-23-2006, 05:03 PM   #2
deepclutch
Member
 
Registered: Nov 2004
Distribution: Debian Testing+Sid
Posts: 715
Blog Entries: 1

Rep: Reputation: 33
Thumbs up

may be a file system error.boot with a live cd or rescue cd which supports reiserfs and run fsck.reiserfs on the partn of your Linux distro after unmounting from livecd.
 
Old 03-24-2006, 03:27 AM   #3
drmjh
Member
 
Registered: Mar 2005
Location: North Carolina, USA
Distribution: Ubuntu
Posts: 308

Original Poster
Rep: Reputation: 31
Inode Lock

Thanks for your input deepclutch.
I booted up Suse 10 'failsafe', became SU and entered fsck.reiserfs /dev/hdb2 and got the following
error Msg.:
/dev/hdb2 is mounted with write permissions, cannot check it.
 
Old 03-25-2006, 03:38 AM   #4
deepclutch
Member
 
Registered: Nov 2004
Distribution: Debian Testing+Sid
Posts: 715
Blog Entries: 1

Rep: Reputation: 33
Post

first of all,dont mount your suse partitions.just check partn by fdisk -l and run reiserfsck(man reiserfsck)for that partition.if ur cd doesnot shows partion,u should mount /proc partn.
Code:
mount -t proc /proc
.in suse rescue environment get a shell prompt and do try above things.
 
Old 03-25-2006, 06:34 AM   #5
drmjh
Member
 
Registered: Mar 2005
Location: North Carolina, USA
Distribution: Ubuntu
Posts: 308

Original Poster
Rep: Reputation: 31
Hi Deepclutch,
I was unable to find fdisk but went over to the windows side and used a program called "partition magic"
This will also read linux partitions. This is what I found: it looks like 3 partitions to me?

PARTITION TYPE SIZE MB USED

swapspace2 linux swap 1,027.6 0,0

localdisk linux ext2 151,58... 151,58...

(*) unallocated 7.8 0,0

I can't seem to get around the problem of running reiserfsck and not mounting the partitions. How do I do that?
Is this enough information to assume that my CD does not show a partition? Should I boot up the failsafe and type the code you
mentioned in a Shell? : mount -t proc /proc
I am forced here in rural Ireland to deal with a miserable dial-up service, so two way communication is very slow. Thanks for your patience.

Matthew
 
Old 03-25-2006, 06:53 AM   #6
deepclutch
Member
 
Registered: Nov 2004
Distribution: Debian Testing+Sid
Posts: 715
Blog Entries: 1

Rep: Reputation: 33
can u get suse into rescue mode i mean--get a shell prompt like "#" dont select other automised options given by suse rescue options.then select a shell.type in small letters "fdisk[SPACE] -l" lists u partions.if yes post here.partition magic got nothing to do here.

Last edited by deepclutch; 03-25-2006 at 06:56 AM.
 
Old 03-25-2006, 08:02 AM   #7
drmjh
Member
 
Registered: Mar 2005
Location: North Carolina, USA
Distribution: Ubuntu
Posts: 308

Original Poster
Rep: Reputation: 31
O.K
Here's what I got from Fdisk:



DEVICE BOOT START END BLOCKS ID SYSTEM

/dev/hdb1 1 131 105226 82 linux/swap/solaris

/dev/hdb2 132 19456 155228062+ 83 linux


There are two more windows partitions that I didn't bother to write out.
 
Old 03-25-2006, 01:35 PM   #8
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
When you get into rescue mode, do "mount -o remount,ro /dev/hdb" (no quotes) to remount /dev/hdb2 read only so you can check it. An even better way is to boot off of a rescue CD like Knoppix and run fsck.reiserfs from there so you don't even have to have it mounted at all.

Oh, also, you get the kernel taint message you mentioned in your first post because the Nvidia module is not open source software. It has nothing to do with your filesystem problem,
 
Old 03-26-2006, 05:45 AM   #9
drmjh
Member
 
Registered: Mar 2005
Location: North Carolina, USA
Distribution: Ubuntu
Posts: 308

Original Poster
Rep: Reputation: 31
Hi,
Thanks for responding.

On top of everything, the telephone exchange went down yesterday for the entire afternoon.

Booted up FailSafe Suse 10, shell, su and typed in:
mount -o remount, ro /dev/hdb and got the following error:
"Can't find /dev/hdb in etc/fstab or /etc/mtab"
The msg. when I replaced /hdb with hdb2 was: "/ is busy


I replaced the -o with -0 and got an error msg + the man page listing the various syntax.

that prompted me to see the results of entering mount to list the mounted devices:

/dev/hdb2 on type reiserfs (rw,acle,user_xattr)
proc on/proc type sysfs (rw)
sysfs on /sys type sysfs (rw)
tmpfs on /dev/pts/type devpts (rw,mode=0620,gid=5)
etc. etc.

``````````````````````````````````````````````````````````
Addendum:
I managed to change the /dev/hdb2 to rw after booting up Knoppix and then umounted it and was able finally to run reiserfsck. The info was not happy. It said that I had bad blocks with an I/O error and suggested I get a new disk!
While I know it can happen, this computer is less than 6 Mos. old and of good quality.
I was directed to the option of -B and further to --fix-fixable and/or tree rebuild. I can find no sample code and would appreciate any help here.
Matthew.

Last edited by drmjh; 03-26-2006 at 11:18 AM. Reason: adding information
 
Old 03-27-2006, 03:18 AM   #10
drmjh
Member
 
Registered: Mar 2005
Location: North Carolina, USA
Distribution: Ubuntu
Posts: 308

Original Poster
Rep: Reputation: 31
In spite of thrashing about, I am unable to figure out the proper syntax
to effect the option -B and then --fix-fixable or rebuild tree to get
around the bad block.
Appreciate any help here.
Matthew
 
Old 03-27-2006, 10:51 AM   #11
drmjh
Member
 
Registered: Mar 2005
Location: North Carolina, USA
Distribution: Ubuntu
Posts: 308

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by btmiller
When you get into rescue mode, do "mount -o remount,ro /dev/hdb" (no quotes) to remount /dev/hdb2 read only so you can check it. An even better way is to boot off of a rescue CD like Knoppix and run fsck.reiserfs from there so you don't even have to have it mounted at all.

Oh, also, you get the kernel taint message you mentioned in your first post because the Nvidia module is not open source software. It has nothing to do with your filesystem problem,
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

Thanks for that. I managed to get knoppix to change the permissions for /dev/hdb2 and umount it so I could run the reiserfsck. I still cant' seem to get to 1st base with this problem.

Im getting panicky, I'm scheduled to leave for about one month in less than a week and
desperately need data in my Kmail folders.
When I run reiserfsck /dev/hdb2 I get the error:
"bread: cannot read the block (406322) : (Input/output error)"
When I run reiserfsck --fix-fixable -B /home/knoppix/bbfile /dev/hdb2
I get an empty file and the error message: "aborted" followed by cannot read the block (406322)
Then I tried:
debugreiserfs -B blockfile /dev/hdb2 The blockfile remained empty, the program ran and reported
the following: (sorry for listing all this verbage, but having no alternative than dial-up
service, answering a request for some bit of data, supplyng it, getting response to that eats up an entire day.)

Filesystem state is consistant
reiserfs superblock in block 16 on 8x342 of format 3.6 with standard journalcount of blocks
on device 38807008 Nr. of bitmaps 1085 blocksize 4096
Freeblocks (count of blocks -used [journal,bitmaps,data,reserved blocks] :37534636
rootblock 6455785
File System is clean
Tree height : 5 hashfunction used to sort names: "r5" objectid map size 42, max 972
journal parameters:
device [0x] magic [0x9ca98f7] size 8193 blocks (including 1 for journal header) (1st block 18)
max transaction length 1024 max batch size 900 blocks max commit age 30
blocks reserved by journal: 0 Fs state field 0x0 sb_version 2 inode generation Nr. 1854028
label: set flags in SB
Attributes Clean

Without a list of badblocks and size I cannot try to write to them. My notes say to use either DD or dd_rescue to
do this. But it doesn't say how.
Any words of wisdom?
Matthew
 
Old 04-01-2006, 05:12 AM   #12
drmjh
Member
 
Registered: Mar 2005
Location: North Carolina, USA
Distribution: Ubuntu
Posts: 308

Original Poster
Rep: Reputation: 31
BadBlocks

I'm replying to my own Post here but wanted to finish the thread. I managed to locate, enumerate and identify the BadBlocks using a prg. of the same name. Unfortunately I was not able to write to any of them, they were in a critical area of the journal.
The disk is out of the computer now and on its way to Seagate for warranty replacement.
Matthew
 
  


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
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable) phreakshew Linux - Newbie 17 07-12-2016 03:50 AM
Caps Lock & Scroll Lock Flashing thedug Linux - General 6 06-07-2008 10:43 PM
Caps Lock and Num Lock leds dont work! npc Linux - Hardware 2 11-08-2005 11:40 AM
Num, Scroll, Caps/Lock all Lock up Slackware Zamochit Linux - Newbie 0 10-18-2004 08:47 PM
RedHat 9.0 freezes with blinking Caps lock and Scroll lock queen-bee Linux - Software 0 07-30-2004 11:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:59 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