View previous topic :: View next topic |
Author |
Message |
gnychis Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/23690779544208c4907a78.jpg)
Joined: 23 Mar 2005 Posts: 1004 Location: Pittsburgh, PA
|
Posted: Sun Feb 19, 2006 6:53 pm Post subject: adding unloadable module support... kernel panic [SOLVED] |
|
|
hi,
I tried adding unloadable module support to my 2.6.15-r1 kernel and now I cannot boot up or else i get a kernel panic trying to load the snd-emu10k1 module at default level.
I tried adding a "1" at the end of my GRUB boot line, and also tried adding "runlevel=single" but neither seem to get me to a prompt to recompile my kernel without trying to load snd-emu10k1 first.
I am not sure what to do here. I'd greatly appreciate any help.
Thanks!
George
Last edited by gnychis on Wed Mar 22, 2006 12:11 am; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
PsychoticRetina Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/1768184355465b55faf19bc.jpg)
Joined: 18 Dec 2005 Posts: 352 Location: behind the scalpel
|
Posted: Sun Feb 19, 2006 7:09 pm Post subject: |
|
|
boot off of the cd, chroot and recompile kernel. _________________ there are pinheads everywhere.
penguins are no exception. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
patroy n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/151548392143e47ec4193cf.jpg)
Joined: 14 Oct 2004 Posts: 60 Location: Vancouver BC
|
Posted: Sun Feb 19, 2006 7:10 pm Post subject: |
|
|
Do you have a live cd? If so just use that to boot or if you don't have a cd-burner get tomsrtbt http://www.toms.net/rb/ (single floppy linux).
Just chroot and recompile. (note for next time always keep the old working kernel incase of such moments). _________________ It's all about finger strength, baby.
SpongeBob SquarePants |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
gnychis Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/23690779544208c4907a78.jpg)
Joined: 23 Mar 2005 Posts: 1004 Location: Pittsburgh, PA
|
Posted: Sun Feb 19, 2006 7:13 pm Post subject: |
|
|
am i not getting into single user mode correctly? I would much prefer getting into single user mode because I have a software raid 0 which is very much a pain to setup and mount in the live disk and i don't want to risk screwing that up.
i will definately keep the old kernel in the future ![Razz :P](images/smiles/icon_razz.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
PsychoticRetina Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/1768184355465b55faf19bc.jpg)
Joined: 18 Dec 2005 Posts: 352 Location: behind the scalpel
|
Posted: Sun Feb 19, 2006 7:17 pm Post subject: |
|
|
in gentoo, i believe youd have to add a "single" runlevel manually to /etc/inittab + /etc/runlevels if you wanted one. im not sure though. _________________ there are pinheads everywhere.
penguins are no exception. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
PsychoticRetina Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/1768184355465b55faf19bc.jpg)
Joined: 18 Dec 2005 Posts: 352 Location: behind the scalpel
|
Posted: Sun Feb 19, 2006 7:21 pm Post subject: |
|
|
i suppose you could also just compile a kernel on a diffent machine, stick it on a usb-drive or similar and copy it to /boot without chrooting. _________________ there are pinheads everywhere.
penguins are no exception. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
gnychis Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/23690779544208c4907a78.jpg)
Joined: 23 Mar 2005 Posts: 1004 Location: Pittsburgh, PA
|
Posted: Sun Feb 19, 2006 7:45 pm Post subject: |
|
|
you know what, you sparked an idea... because i run a raid0 i always make a full backup onto another hard disk in my computer. My backup is in .tar.bz2 format and has my /boot in it... if i can just extract /boot/vmlinuz from it without having to extract the whole thing. The minimal live cd doesn't have "man" installed How can i extract only a single file from a whole .tar.bz2? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
gnychis Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/23690779544208c4907a78.jpg)
Joined: 23 Mar 2005 Posts: 1004 Location: Pittsburgh, PA
|
Posted: Sun Feb 19, 2006 8:07 pm Post subject: |
|
|
okay i was able to boot up safely by mounting boot and extracting that file from my backup
phew... i knew i made those backups for something
I posted a message on the LKML about it, and someone seems interested in the problem, so i'm going to try and figure it out and post back here
Thanks guys!
George |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
gnychis Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/23690779544208c4907a78.jpg)
Joined: 23 Mar 2005 Posts: 1004 Location: Pittsburgh, PA
|
Posted: Sun Feb 19, 2006 10:04 pm Post subject: |
|
|
well people responded on LKML to have me download 2.6.16-r4 and keep it unmodified and try the unloadable module support and it worked fine
I am thinking a patch that the vanilla sources is applying is causing this... i'm not sure though, i guess i have to avoid vanilla sources |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|