Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
I want my gentoo back (System crash)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
NewbieTim
n00b
n00b


Joined: 18 Apr 2002
Posts: 57

PostPosted: Mon May 13, 2002 6:56 pm    Post subject: I want my gentoo back (System crash) Reply with quote

hi folks,

i really enjoyed working with gentoo. But today the electricity in my block broke down (no it wasn't me ;) and now my gentoo doesn't start anymore :cry: There's something wrong with my xfs root filesystem.
Here you have the details:

ds: no socket drivers loaded!
FAT: bogus logical sector size 0
FAT: bogus logical sector size 0
XFS mounting filesystem ide0(3,7)
XFS: WARNING: recovery required on readonly filesystem
XFS: write access will bei enabled during mount
Starting XFS recovery on filesystem: ide0(3,7) (dev: 3/7)
xfs_inotbp(): xfs_imap() returned an error 22 on ide0(3,7). Returning error
xfs_iunlink_remove: xfs_inotobp returned an error 22 on ide0(3,7). Returning error
xfs_inactive: xfs_ifree() returned an error = 22 on ide0(3,7)
xfs_force_shutdown (ide0(3,7)0x1) called from line 1950 of file xfs_vnodeps.c
Fatal error on root filesystem
I/O error detected. Shutting down filesystem: ide0(3,7)
Please unmount the filesystem and rectify the problem(s)
Ending XFS recovery on filesystem: ide0(3,7) (dev: 3/7)
VFS: mounted root (xfs filesystem) readonly
Warning: unable to mount devfs, err=-2
Freeing unused kernel memory: 224k freed
Warning: unable to open an initial console
Kernel panic: Not init found. Try passing init= option to kernel


That are the error messages my system produces....how do i get my good old system back ???
Back to top
View user's profile Send private message
svan9420
n00b
n00b


Joined: 24 Apr 2002
Posts: 51

PostPosted: Mon May 13, 2002 7:02 pm    Post subject: oops Reply with quote

Try chroot-ing back into your system from the gentoo installation cd using the installation instructions. Look at your system to determine where the problem might be. I am not up on my XFS but there should be some kind of XFS check utility.

Well, that is what I would do to get started. In any case, your system is not bootable right now, so using a chrooted boot disk is the best way I would think to fix your problem.

Good luck. I will look back to see what more experienced gentoo users have to say to help you out.
_________________
svan9420
Back to top
View user's profile Send private message
Guest






PostPosted: Mon May 13, 2002 7:14 pm    Post subject: Reply with quote

yes do a search....there was a thread i had read that this xfs-fsck was used and worked...but i am not sure of the correct command
Back to top
rommel
Veteran
Veteran


Joined: 19 Apr 2002
Posts: 1140
Location: Williamsburg Virginia

PostPosted: Mon May 13, 2002 7:33 pm    Post subject: Reply with quote

http://forums.gentoo.org/viewtopic.php?t=2221&highlight=xfs+fsck

here is the thread its seems simple enough hope it works for you
Back to top
View user's profile Send private message
NewbieTim
n00b
n00b


Joined: 18 Apr 2002
Posts: 57

PostPosted: Mon May 13, 2002 7:40 pm    Post subject: Reply with quote

i also found this one....i tried it...but it doesn't work..i but from my stage 1 cd, and enter fsck.xfs ..nothing happens...the command is there...but it doesn't do anything...also tried "fsck.xfs /dev/hda7"...nothing happened...and "fsck.xfs -h" doesnt do anything either.. :-(

also found this link about fsck.xfs..seems like it doesn't do anything...
http://linux.uni-regensburg.de/cgi-bin/man2html?fsck.xfs+8

So should i run fsck ?? With what parameters ?? My root partition is /dev/hda7
Back to top
View user's profile Send private message
NewbieTim
n00b
n00b


Joined: 18 Apr 2002
Posts: 57

PostPosted: Tue May 14, 2002 3:11 pm    Post subject: Reply with quote

please help me...i really want my gentoo back....
Back to top
View user's profile Send private message
Ender
n00b
n00b


Joined: 12 May 2002
Posts: 5
Location: Paris

PostPosted: Wed May 15, 2002 5:19 pm    Post subject: Reply with quote

Check your /etc/fstab
you may have erase it with CONFIG_PROTECT="" during an upgrade


Last edited by Ender on Wed May 15, 2002 5:36 pm; edited 1 time in total
Back to top
View user's profile Send private message
arkane
l33t
l33t


Joined: 30 Apr 2002
Posts: 918
Location: Phoenix, AZ

PostPosted: Wed May 15, 2002 5:34 pm    Post subject: Reply with quote

NewbieTim wrote:
i also found this one....i tried it...but it doesn't work..i but from my stage 1 cd, and enter fsck.xfs ..nothing happens...the command is there...but it doesn't do anything...also tried "fsck.xfs /dev/hda7"...nothing happened...and "fsck.xfs -h" doesnt do anything either.. :-(

also found this link about fsck.xfs..seems like it doesn't do anything...
http://linux.uni-regensburg.de/cgi-bin/man2html?fsck.xfs+8

So should i run fsck ?? With what parameters ?? My root partition is /dev/hda7


it's xfs<something>... try tabbing two times to see whats available.

I don't have the xfs tools installed on my system right now, or else I'd tell you.
Back to top
View user's profile Send private message
NewbieTim
n00b
n00b


Joined: 18 Apr 2002
Posts: 57

PostPosted: Wed May 15, 2002 8:15 pm    Post subject: Reply with quote

Just for completeness. I found the solution. Its named "xfs_repair". Took me about 5 seconds to repair the filesystem. Long live xfs :wink:
Back to top
View user's profile Send private message
arkane
l33t
l33t


Joined: 30 Apr 2002
Posts: 918
Location: Phoenix, AZ

PostPosted: Wed May 15, 2002 9:15 pm    Post subject: Reply with quote

NewbieTim wrote:
Just for completeness. I found the solution. Its named "xfs_repair". Took me about 5 seconds to repair the filesystem. Long live xfs :wink:


Now if we could only find a way to shrink XFS filesystems :D
Back to top
View user's profile Send private message
Guest






PostPosted: Wed May 15, 2002 9:49 pm    Post subject: Reply with quote

awsome that you were able to get it running...feels good dont it...lol
Back to top
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum