LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-15-2006, 11:38 PM   #1
compu73rg33k
Member
 
Registered: Feb 2004
Distribution: Ubuntu
Posts: 316

Rep: Reputation: 30
Reiserfs problem


When I restarted my computer, it randomly had a "Kernel panic" and was unable to mount the root fs. The play where it starts having problems is as follows
Code:
FAT: bogus logical sector size 0
UMSDOS: msdos_read_super failed, mount aborted
FAT: bogus logical sector size 0
FAT: bogus logical sector size 0
hde: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hde: dma_intr: error=0x40 { UncorrectableError }, LBAsect=199, high=0, low=199, sector=136
end_request: I/O error, dev 21:01 (hde), sector 136
isofs_read_super: bread failed, dev=21:01, iso_blknum=34, block=68
reiserfs: found format "3.6" with standard journal
hde: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hde: dma_intr: error=0x40 { UncorrectableError }, LBAsect=199, high=0, low=199, sector=136
end_request: I/O error, dev 21:01 (hde), sector 136
ide2(33,1):sh-2029: resierfs read_bitmaps: bitmap block (#17) reading failed
ide2(33,1):sh-2014: resierfs_read_super: unable to read bitmap
Kernel panic: VFS: Unable to mount root fs on 21:01
Anybody know what's going on? Any help would be much appreciated.
 
Old 05-15-2006, 11:47 PM   #2
Jerre Cope
Member
 
Registered: Oct 2003
Location: Texas (central)
Distribution: ubuntu,Slackware,knoppix
Posts: 323

Rep: Reputation: 37
You may have a hard drive problem. First locate SMART drive utilities from your drive manufacture's website (or whatever diagnostic they use). Copy the utility to a Free Dos CD and confirm your hard disk is OK.

If the hard drive is OK, then you reiserfsck can rebuild your drive. Just boot of your Slack boot CD and:

reiserfsck --rebuild-tree /dev/hda1

( or whatever your hard drive partition is)
 
Old 05-15-2006, 11:49 PM   #3
Jerre Cope
Member
 
Registered: Oct 2003
Location: Texas (central)
Distribution: ubuntu,Slackware,knoppix
Posts: 323

Rep: Reputation: 37
Oh. I forgot to mention that bad things like this happen if you recompile your kernel without reiserfsck. If this is the case, then just boot off the former kernel, or the kernel from a boot slack cd.
 
Old 05-16-2006, 05:25 PM   #4
compu73rg33k
Member
 
Registered: Feb 2004
Distribution: Ubuntu
Posts: 316

Original Poster
Rep: Reputation: 30
I tried to run reiserfsck and it told me "If you have bad sectors on a drive it is usually a bad idea to continue using it. Then you probably should get a working harddrive, copy the file system from the bad drive to the good one"
Are you sure I should use reiserfsck?
 
Old 05-16-2006, 08:38 PM   #5
Jerre Cope
Member
 
Registered: Oct 2003
Location: Texas (central)
Distribution: ubuntu,Slackware,knoppix
Posts: 323

Rep: Reputation: 37
FIRST run the hardware diagnostics.

THEN run reiserfsck

If your hard drive is failing, reiserfsck won't be able to put your disk back together.

You may be able to attempt recovery per a raw copy of the failing drive to a good drive, then reiserfsck the good drive.
 
Old 05-16-2006, 08:52 PM   #6
compu73rg33k
Member
 
Registered: Feb 2004
Distribution: Ubuntu
Posts: 316

Original Poster
Rep: Reputation: 30
Okay, I don't think the harddrive is failing though becuase it's only like 5 months old. Also I couldn't mount the /home partition or any partition from that disk using knoppix OR slax.

Okay I used slax to try and mount /dev/hde3 and then did a dmesg | tail and this is what it said
Code:
ReiserFS: hde3: warning: sh-2006: read_super_block: bread failed (dev hde3, block 32, size 2048)
ReiserFS: hde3: warning: sh-2021: reiserfs_fill_super: can not find reiserfs on hde3

Last edited by compu73rg33k; 05-16-2006 at 09:28 PM.
 
Old 05-16-2006, 09:40 PM   #7
compu73rg33k
Member
 
Registered: Feb 2004
Distribution: Ubuntu
Posts: 316

Original Poster
Rep: Reputation: 30
I have a maxtor IDE harddrive, could you help me find the SMART Utility? I'm having trouble locating it using google.

Ah okay I found 2 that I could use.
http://www.maxtor.com/portal/site/Ma...&downloadID=22
or
http://www.maxtor.com/portal/site/Ma...&downloadID=57

I'm not sure which to use

Last edited by compu73rg33k; 05-16-2006 at 09:49 PM.
 
Old 05-16-2006, 10:21 PM   #8
Jerre Cope
Member
 
Registered: Oct 2003
Location: Texas (central)
Distribution: ubuntu,Slackware,knoppix
Posts: 323

Rep: Reputation: 37
Generally, you just put the program on a boot disk or CD and run the check. If you can confirm the hardware is OK, then you should be able to trust reiser to do the right thing.
 
Old 05-16-2006, 10:46 PM   #9
compu73rg33k
Member
 
Registered: Feb 2004
Distribution: Ubuntu
Posts: 316

Original Poster
Rep: Reputation: 30
Okay, so I downloaded the powermax thing and did the diskette, but now when I boot from it it says "Cannot load DOS! Any key to retry" I retried and same thing.
 
Old 05-16-2006, 11:32 PM   #10
Jerre Cope
Member
 
Registered: Oct 2003
Location: Texas (central)
Distribution: ubuntu,Slackware,knoppix
Posts: 323

Rep: Reputation: 37
It looks as if the diskette is not bootable. Try http://www.freedos.org and boot from the CD, then run the diagnostics from the disktte.
 
Old 05-17-2006, 08:30 PM   #11
compu73rg33k
Member
 
Registered: Feb 2004
Distribution: Ubuntu
Posts: 316

Original Poster
Rep: Reputation: 30
I booted from freedos and chose to do SETUP then instead of continueing with setup, I did "Run commands" It puts me in A:\ which says where the freedos is, which is my CD-ROM drive of course. How do I mount my floppy drive and execute commands from there?
 
Old 05-17-2006, 09:27 PM   #12
Jerre Cope
Member
 
Registered: Oct 2003
Location: Texas (central)
Distribution: ubuntu,Slackware,knoppix
Posts: 323

Rep: Reputation: 37
Boot Free Dos CD

Pick 1 - Setup (it doesn't mean setup in the smae context as windows)

Pick 1 of the next menu

Lastly pick 2 - Run Free DOS from CD-ROM

You should have access to your A drive at that point.
 
Old 05-17-2006, 10:12 PM   #13
compu73rg33k
Member
 
Registered: Feb 2004
Distribution: Ubuntu
Posts: 316

Original Poster
Rep: Reputation: 30
Okay I used mhdd.exe and ran the SMART tests and all were successful. However when I did a scan, I got 14 errors in the 6191399 scanned LBA.

You recommend going ahead and booting from slackware boot cd and running reiserfsck?

Last edited by compu73rg33k; 05-17-2006 at 10:13 PM.
 
Old 05-17-2006, 10:38 PM   #14
compu73rg33k
Member
 
Registered: Feb 2004
Distribution: Ubuntu
Posts: 316

Original Poster
Rep: Reputation: 30
Okay I remembered I need to use dd_rescue to make a mirror image first. However, hde3 is 160 GB and I only have a 80GB harddrive available. There is a max of 40-50 GB stored on the harddrive though. Should this be fine? Also shoudl I format the 80 GB harddrive to reiserfs or what?
 
Old 05-18-2006, 07:58 PM   #15
compu73rg33k
Member
 
Registered: Feb 2004
Distribution: Ubuntu
Posts: 316

Original Poster
Rep: Reputation: 30
Okay so I ran reiserfsck --rebuild-tree and this was the output
Code:
The problem that has occured looks like a hardware problem. If you have bad blocks, we adivse you to get a new hard drive, becuase once you get one bad block that the disk drive internals cannot hide from your sight, the chances of getting more are generally said to become much higher (precise statistics are unknown to us), and this disk drive probably not expensive enough for you to you to risk your time and data on it. If you don't want to follow that follow that advice then if you have just a few bad blocks, try writing to the bad blocks and see if the drive remaps the bad blocks ( that means it takes a block it has in reserve and allocates it for use for that block number). If it cannot remap the block, use badblock option(-B) with reiserfs utils to handle this block correctly.

bread: Cannot read the block (1531): (Input/output error).

Aborted
So yeah I guess I have some bad blocks. I ran mhdd and did a scan and it found 14 bad blocks but all were at the beginning and it seemed to be fine after those first couple blocks. So how would I write to the blocks? I just want to recover my data and use a new harddrive.
 
  


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
An odd reiserfs booting problem in a special situation may be about SUSE10's reiserfs ayal Linux - Newbie 7 11-15-2005 08:36 AM
reiserfs shared drive r/o problem munkie_poo Slackware 2 07-06-2005 07:41 AM
Problem with reiserfs kleptophobiac Linux - Software 2 01-01-2005 12:22 AM
reiserfs problem? mathfeel Linux - Software 4 08-19-2004 07:37 PM
Add ReiserFS package destroys non-ReiserFS partitions smirk Mandriva 0 03-24-2004 08:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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