Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Help me I killed my kernel [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
guitarman
Guru
Guru


Joined: 26 Apr 2004
Posts: 307
Location: http://mattsbox.dyndns.org:81/

PostPosted: Sat Sep 25, 2004 6:42 pm    Post subject: Help me I killed my kernel [Solved] Reply with quote

Well I just upgraded my kernel to the newest version of the mm-sources and I must of forgot to select an option in the menuconfig because when i restarted the computer I got a kernel panic saying no init found... The problem is my livecd wont mount my gentoo partition because of the reiser4 so I cant get into my system or get my old kernel back. IDk what to do now I dont got any other operating system on here so I cant burn a new livecd. Would it be possable to get a precompiled bzImage with reiser4 support and support for the /dev filesystem? I can still mount my partition with my kernel I just cant mount my gentoo installation.

Last edited by guitarman on Mon Sep 27, 2004 2:21 am; edited 1 time in total
Back to top
View user's profile Send private message
codergeek42
Bodhisattva
Bodhisattva


Joined: 05 Apr 2004
Posts: 5142
Location: Anaheim, CA (USA)

PostPosted: Sat Sep 25, 2004 7:33 pm    Post subject: Reply with quote

I can build you a 2.6 nitro-sources bzImage with Reiser4 supprt, except that the version magics may differ, so you may not be able to load any module,. but at least you will be able to get your system back up and running by mounting your root partition. (compiling in every filesystem statically, jsut in case).

/me goes to configure kernel...
_________________
~~ Peter: Programmer, Mathematician, STEM & Free Software Advocate, Enlightened Agent, Transhumanist, Fedora contributor
Who am I? :: EFF & FSF
Back to top
View user's profile Send private message
TNorthover
Guru
Guru


Joined: 25 Jan 2004
Posts: 434
Location: Edinburgh, UK

PostPosted: Sat Sep 25, 2004 7:44 pm    Post subject: Reply with quote

Looking at 2.6.9-rc2-mm2, the Reiser4 options aren't in the xconfig, so if you went by that you could well have missed it (I had to edit .config myself).

I'm compiling a kernel as well (I'd started, and I'm working on the basis that with luck one of our two will work for you). I'll be back with a URL in a minute.
Back to top
View user's profile Send private message
codergeek42
Bodhisattva
Bodhisattva


Joined: 05 Apr 2004
Posts: 5142
Location: Anaheim, CA (USA)

PostPosted: Sat Sep 25, 2004 7:44 pm    Post subject: Reply with quote

Do you still have your old kernel in /boot? If so, press 'e' on GRubs screen and you can edit which kernel and command-line to boot.
_________________
~~ Peter: Programmer, Mathematician, STEM & Free Software Advocate, Enlightened Agent, Transhumanist, Fedora contributor
Who am I? :: EFF & FSF
Back to top
View user's profile Send private message
codergeek42
Bodhisattva
Bodhisattva


Joined: 05 Apr 2004
Posts: 5142
Location: Anaheim, CA (USA)

PostPosted: Sat Sep 25, 2004 7:46 pm    Post subject: Reply with quote

TNorthover wrote:
Looking at 2.6.9-rc2-mm2, the Reiser4 options aren't in the xconfig, so if you went by that you could well have missed it (I had to edit .config myself).

I'm compiling a kernel as well (I'd started, and I'm working on the basis that with luck one of our two will work for you). I'll be back with a URL in a minute.
Not sure if it helps, but 4k stacks must be disabled for Reiser4 support to show in the config. For some reason or another, Reiser4 and 4l stacks don't seem to play well with each other yet...
_________________
~~ Peter: Programmer, Mathematician, STEM & Free Software Advocate, Enlightened Agent, Transhumanist, Fedora contributor
Who am I? :: EFF & FSF
Back to top
View user's profile Send private message
guitarman
Guru
Guru


Joined: 26 Apr 2004
Posts: 307
Location: http://mattsbox.dyndns.org:81/

PostPosted: Sat Sep 25, 2004 7:56 pm    Post subject: Reply with quote

Oops forgot to tell you what last working kernel I had. It was the mm-sources released before 2.6.9-rc2-mm2 if that helps. I guess thats why it didnt work I must of missed the reiser4 options...Unfortunately I dont have my old kernel sources I tried usin an older kernel to boot it and it got overwriten my last kernel.
Back to top
View user's profile Send private message
codergeek42
Bodhisattva
Bodhisattva


Joined: 05 Apr 2004
Posts: 5142
Location: Anaheim, CA (USA)

PostPosted: Sat Sep 25, 2004 7:58 pm    Post subject: Reply with quote

Dang. You don't mind if it's udev, do you? I can't seem to find the DevFS options anywhere in the kernel config...

EDIT: It won't compile for me correctly. Sorry :(
_________________
~~ Peter: Programmer, Mathematician, STEM & Free Software Advocate, Enlightened Agent, Transhumanist, Fedora contributor
Who am I? :: EFF & FSF


Last edited by codergeek42 on Sat Sep 25, 2004 8:02 pm; edited 1 time in total
Back to top
View user's profile Send private message
guitarman
Guru
Guru


Joined: 26 Apr 2004
Posts: 307
Location: http://mattsbox.dyndns.org:81/

PostPosted: Sat Sep 25, 2004 8:02 pm    Post subject: Reply with quote

Nope I dont mind udev at all. BTW thanks for all the help.
Back to top
View user's profile Send private message
TNorthover
Guru
Guru


Joined: 25 Jan 2004
Posts: 434
Location: Edinburgh, UK

PostPosted: Sat Sep 25, 2004 8:05 pm    Post subject: Reply with quote

codergeek42 wrote:
Not sure if it helps, but 4k stacks must be disabled for Reiser4 support to show in the config. For some reason or another, Reiser4 and 4l stacks don't seem to play well with each other yet...


Ah, thanks. That's what comes of not knowing very much of what you're on about.

Anyway, in case you need it the version I built is here. devfs isn't set to mount, so you'll probably need to append "devfs=mount" to kernel command line. It's from 2.6.9-rc2-mm2, so there may be a very vague possibility of your modules working.

I assume you've got a way of getting the kernel onto your computer, I don't think they fit onto a floppy these days, though having said that it's not much over. If you give me more detailed instructions on what you want in it, I might be able to get it under 1440K (perhaps no net?)
Back to top
View user's profile Send private message
guitarman
Guru
Guru


Joined: 26 Apr 2004
Posts: 307
Location: http://mattsbox.dyndns.org:81/

PostPosted: Sat Sep 25, 2004 8:10 pm    Post subject: Reply with quote

Yea I can still access my /boot partition I'm running links from my live cd right now I just downloaded your kernel. Gonna reboot now and see what happens....
Back to top
View user's profile Send private message
guitarman
Guru
Guru


Joined: 26 Apr 2004
Posts: 307
Location: http://mattsbox.dyndns.org:81/

PostPosted: Sat Sep 25, 2004 8:23 pm    Post subject: Reply with quote

Thank you very much your kernel worked. I was able to boot into my gentoo install and get my old kernel back. Everythings working now.
Back to top
View user's profile Send private message
TNorthover
Guru
Guru


Joined: 25 Jan 2004
Posts: 434
Location: Edinburgh, UK

PostPosted: Sat Sep 25, 2004 8:24 pm    Post subject: Reply with quote

Ah good, glad to hear it.
Back to top
View user's profile Send private message
codergeek42
Bodhisattva
Bodhisattva


Joined: 05 Apr 2004
Posts: 5142
Location: Anaheim, CA (USA)

PostPosted: Sat Sep 25, 2004 8:27 pm    Post subject: Reply with quote

Glad to hear it works. I would suggest burning yourself a resier4-enabled liveCD just in case something like this happens again...
_________________
~~ Peter: Programmer, Mathematician, STEM & Free Software Advocate, Enlightened Agent, Transhumanist, Fedora contributor
Who am I? :: EFF & FSF
Back to top
View user's profile Send private message
DaMouse
Apprentice
Apprentice


Joined: 18 Jul 2003
Posts: 233

PostPosted: Sat Sep 25, 2004 9:52 pm    Post subject: Reply with quote

What i do is just have two kernels in grub.. Gentoo-Testing and Gentoo-stable.. so that i dont do this sorta thing..

"Thou who laughs last usually has a backup"

-DaMouse
_________________
I am the dark lord DaMouse I eat souls and wear the dressing gown of evil.
Back to top
View user's profile Send private message
marcansoft
n00b
n00b


Joined: 30 May 2004
Posts: 19

PostPosted: Sat Sep 25, 2004 10:01 pm    Post subject: Reply with quote

I always have all major kernels on my grub plus a "fallback" kernel just in case ;)

Anyway, since reiser4 doesn't work with AMD64 (AFAIK) I can fix anything from the livecd. It is good to have a rescue livecd lying aroud (that has anything you need) just in case.
Back to top
View user's profile Send private message
codergeek42
Bodhisattva
Bodhisattva


Joined: 05 Apr 2004
Posts: 5142
Location: Anaheim, CA (USA)

PostPosted: Sat Sep 25, 2004 10:15 pm    Post subject: Reply with quote

DaMouse wrote:
What i do is just have two kernels in grub.. Gentoo-Testing and Gentoo-stable.. so that i dont do this sorta thing..

"Thou who laughs last usually has a backup"

-DaMouse
Agreed. With every patchset I use, I have a vanilla 2.6 kernel as a backup.
_________________
~~ Peter: Programmer, Mathematician, STEM & Free Software Advocate, Enlightened Agent, Transhumanist, Fedora contributor
Who am I? :: EFF & FSF
Back to top
View user's profile Send private message
MrSelfDestruct
n00b
n00b


Joined: 24 Sep 2004
Posts: 11
Location: Tennessee

PostPosted: Sat Sep 25, 2004 11:07 pm    Post subject: Reply with quote

This thread is why I love Linux.
_________________
funny comment here
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