View previous topic :: View next topic |
Author |
Message |
guitarman Guru
Joined: 26 Apr 2004 Posts: 307 Location: http://mattsbox.dyndns.org:81/
|
Posted: Sat Sep 25, 2004 6:42 pm Post subject: Help me I killed my kernel [Solved] |
|
|
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 |
|
|
codergeek42 Bodhisattva
Joined: 05 Apr 2004 Posts: 5142 Location: Anaheim, CA (USA)
|
Posted: Sat Sep 25, 2004 7:33 pm Post subject: |
|
|
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 |
|
|
TNorthover Guru
Joined: 25 Jan 2004 Posts: 434 Location: Edinburgh, UK
|
Posted: Sat Sep 25, 2004 7:44 pm Post subject: |
|
|
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 |
|
|
codergeek42 Bodhisattva
Joined: 05 Apr 2004 Posts: 5142 Location: Anaheim, CA (USA)
|
Posted: Sat Sep 25, 2004 7:44 pm Post subject: |
|
|
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 |
|
|
codergeek42 Bodhisattva
Joined: 05 Apr 2004 Posts: 5142 Location: Anaheim, CA (USA)
|
Posted: Sat Sep 25, 2004 7:46 pm Post subject: |
|
|
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 |
|
|
guitarman Guru
Joined: 26 Apr 2004 Posts: 307 Location: http://mattsbox.dyndns.org:81/
|
Posted: Sat Sep 25, 2004 7:56 pm Post subject: |
|
|
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 |
|
|
codergeek42 Bodhisattva
Joined: 05 Apr 2004 Posts: 5142 Location: Anaheim, CA (USA)
|
Posted: Sat Sep 25, 2004 7:58 pm Post subject: |
|
|
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 |
|
|
guitarman Guru
Joined: 26 Apr 2004 Posts: 307 Location: http://mattsbox.dyndns.org:81/
|
Posted: Sat Sep 25, 2004 8:02 pm Post subject: |
|
|
Nope I dont mind udev at all. BTW thanks for all the help. |
|
Back to top |
|
|
TNorthover Guru
Joined: 25 Jan 2004 Posts: 434 Location: Edinburgh, UK
|
Posted: Sat Sep 25, 2004 8:05 pm Post subject: |
|
|
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 |
|
|
guitarman Guru
Joined: 26 Apr 2004 Posts: 307 Location: http://mattsbox.dyndns.org:81/
|
Posted: Sat Sep 25, 2004 8:10 pm Post subject: |
|
|
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 |
|
|
guitarman Guru
Joined: 26 Apr 2004 Posts: 307 Location: http://mattsbox.dyndns.org:81/
|
Posted: Sat Sep 25, 2004 8:23 pm Post subject: |
|
|
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 |
|
|
TNorthover Guru
Joined: 25 Jan 2004 Posts: 434 Location: Edinburgh, UK
|
Posted: Sat Sep 25, 2004 8:24 pm Post subject: |
|
|
Ah good, glad to hear it. |
|
Back to top |
|
|
codergeek42 Bodhisattva
Joined: 05 Apr 2004 Posts: 5142 Location: Anaheim, CA (USA)
|
Posted: Sat Sep 25, 2004 8:27 pm Post subject: |
|
|
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 |
|
|
DaMouse Apprentice
Joined: 18 Jul 2003 Posts: 233
|
Posted: Sat Sep 25, 2004 9:52 pm Post subject: |
|
|
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 |
|
|
marcansoft n00b
Joined: 30 May 2004 Posts: 19
|
Posted: Sat Sep 25, 2004 10:01 pm Post subject: |
|
|
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 |
|
|
codergeek42 Bodhisattva
Joined: 05 Apr 2004 Posts: 5142 Location: Anaheim, CA (USA)
|
Posted: Sat Sep 25, 2004 10:15 pm Post subject: |
|
|
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 |
|
|
MrSelfDestruct n00b
Joined: 24 Sep 2004 Posts: 11 Location: Tennessee
|
Posted: Sat Sep 25, 2004 11:07 pm Post subject: |
|
|
This thread is why I love Linux. _________________ funny comment here |
|
Back to top |
|
|
|