Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Speechless startup after recovery... [SOLVED]
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
bookstack
Apprentice
Apprentice


Joined: 27 Feb 2004
Posts: 245

PostPosted: Fri Mar 04, 2005 9:15 pm    Post subject: Speechless startup after recovery... [SOLVED] Reply with quote

Hello, Everyone. Last night is a quite dramatic.

I decided to cope with the possible fs corruption in /dev/hda3, my fs root partition in reiserfs.
I know there is something wrong, I could not rm the working directory of ximian-office
in /var/tmp/portage/ due to the power outage when emerging the big guy. I have to rename
the work directory to work-bad, and successfully emerge the package.

OK, before I start, I need to backup everything. mkstage4.sh, then mv the backup to other partition.
Then I boot from liveCD, and :
Code:

fsck.reiserfs /dev/hda3


fsck suggest me to try --rebuild-tree operation. I know it would take a long time. Since I have the backup,
why not format the disk and restore using the backup. I did it.

Looks like everything is fine. Reboot, fail, the system would restart before launching the service, and then
kernel panic, complains fs is corrupted. When I reboot from the liveCD, OOps, the partition is corrupted,
I even could not mount it!

Tried twice. This time, I ddi a fsck after the restoration, nothing wrong. After reboot, no luck at all, the same
situation happens. It looks like the restoration also clone the fs error !

OK. then I format the disc, restore the backup, and fsck --rebuild-tree. All backup has been thrown to lost+found.
Anyway, I could recognize the directory contents and rename the directory. Reboot.

Then strange thing happens. There is no ouput of service, the system is speechless:
After loading the ndiswrapper, there is no more prompt.
Anyway, I could login. Considering the system consistance, I re-emrege everything, of coz using -K option
from compiled package by myself. Still silience.


Any ideas ?


Last edited by bookstack on Sun Mar 06, 2005 4:33 am; edited 1 time in total
Back to top
View user's profile Send private message
masseya
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 2602
Location: Baltimore, MD

PostPosted: Fri Mar 04, 2005 11:32 pm    Post subject: Reply with quote

Moving from Installing Gentoo.
_________________
if i never try anything, i never learn anything..
if i never take a risk, i stay where i am..
Back to top
View user's profile Send private message
bookstack
Apprentice
Apprentice


Joined: 27 Feb 2004
Posts: 245

PostPosted: Sat Mar 05, 2005 3:49 pm    Post subject: Reply with quote

Thanks Masseya,

I am not quite sure whether it should belong to kernel section or not.

Another interesting thing is : ( snippet from dmesg )
Code:

Advanced Linux Sound Architecture Driver Version 1.0.8 (Thu Jan 13 09:39:32 20
05 UTC).
ALSA device list:
  No soundcards found.


But, I could hear the sound, adjust volumn using alsamixer
Back to top
View user's profile Send private message
bookstack
Apprentice
Apprentice


Joined: 27 Feb 2004
Posts: 245

PostPosted: Sat Mar 05, 2005 4:18 pm    Post subject: Reply with quote

Could this be a problem, (snippet from dmesg):

Code:
VFS: Mounted root (reiserfs filesystem) readonly.
Freeing unused kernel memory: 176k freed
Warning: unable to open an initial console.
Back to top
View user's profile Send private message
uman
Apprentice
Apprentice


Joined: 20 Dec 2004
Posts: 223

PostPosted: Sat Mar 05, 2005 4:28 pm    Post subject: Reply with quote

Yes it most certainly could. Sounds like your /dev files are missing. I think there is a script or something to fix that, but I don't know what it is. I hope this points you down the right track though.
_________________
Gentoo Stable (some ~x86 in package.keywords)
Pentium 4 3.0 GHz w/HT
Reiser4 root partition
Nvidia GeForce 6800

The Anti-1337 Manifesto
Back to top
View user's profile Send private message
bookstack
Apprentice
Apprentice


Joined: 27 Feb 2004
Posts: 245

PostPosted: Sat Mar 05, 2005 5:36 pm    Post subject: Reply with quote

Yes. You are definitely right.

I doesnot backup /dev since I thought the udev would handle that.
After restoration, I just
Code:
# mkdir /dev

And the system succeeded to reboot. Thanks.

BTW. How to create the device stubs, MAKEDEV ?
I'll try and report the result back.
Back to top
View user's profile Send private message
uman
Apprentice
Apprentice


Joined: 20 Dec 2004
Posts: 223

PostPosted: Sat Mar 05, 2005 5:42 pm    Post subject: Reply with quote

Yep, I think MAKEDEV is what you are looking for. Not sure if Gentoo has it, I've never had to use it. I'm interested to know the results, please keep me posted.

~uman
_________________
Gentoo Stable (some ~x86 in package.keywords)
Pentium 4 3.0 GHz w/HT
Reiser4 root partition
Nvidia GeForce 6800

The Anti-1337 Manifesto
Back to top
View user's profile Send private message
Udasai
n00b
n00b


Joined: 20 Sep 2004
Posts: 32

PostPosted: Sat Mar 05, 2005 6:46 pm    Post subject: Reply with quote

If you are using udev, the only devices you should need in the actual FS /dev are console and null, something like:
Code:
mknod console 5 1
mknod null 1 3
Back to top
View user's profile Send private message
bookstack
Apprentice
Apprentice


Joined: 27 Feb 2004
Posts: 245

PostPosted: Sun Mar 06, 2005 4:17 am    Post subject: Reply with quote

Bad luck.

I've tried all possible:

Code:

MAKEDEV  general
MAKEDEV std
MAKEDEV console
MAKEDEV tty


the warning.still there.
Back to top
View user's profile Send private message
bookstack
Apprentice
Apprentice


Joined: 27 Feb 2004
Posts: 245

PostPosted: Sun Mar 06, 2005 4:35 am    Post subject: Reply with quote

I should read the udev-howto:

Just follow the udev howto to cope with the known issue:
mknod console
mknod null
Back to top
View user's profile Send private message
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