Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
adding unloadable module support... kernel panic [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
gnychis
Veteran
Veteran


Joined: 23 Mar 2005
Posts: 1004
Location: Pittsburgh, PA

PostPosted: Sun Feb 19, 2006 6:53 pm    Post subject: adding unloadable module support... kernel panic [SOLVED] Reply with quote

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
View user's profile Send private message
PsychoticRetina
Guru
Guru


Joined: 18 Dec 2005
Posts: 352
Location: behind the scalpel

PostPosted: Sun Feb 19, 2006 7:09 pm    Post subject: Reply with quote

boot off of the cd, chroot and recompile kernel.
_________________
there are pinheads everywhere.
penguins are no exception.
Back to top
View user's profile Send private message
patroy
n00b
n00b


Joined: 14 Oct 2004
Posts: 60
Location: Vancouver BC

PostPosted: Sun Feb 19, 2006 7:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
gnychis
Veteran
Veteran


Joined: 23 Mar 2005
Posts: 1004
Location: Pittsburgh, PA

PostPosted: Sun Feb 19, 2006 7:13 pm    Post subject: Reply with quote

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 :P
Back to top
View user's profile Send private message
PsychoticRetina
Guru
Guru


Joined: 18 Dec 2005
Posts: 352
Location: behind the scalpel

PostPosted: Sun Feb 19, 2006 7:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
PsychoticRetina
Guru
Guru


Joined: 18 Dec 2005
Posts: 352
Location: behind the scalpel

PostPosted: Sun Feb 19, 2006 7:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
gnychis
Veteran
Veteran


Joined: 23 Mar 2005
Posts: 1004
Location: Pittsburgh, PA

PostPosted: Sun Feb 19, 2006 7:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
gnychis
Veteran
Veteran


Joined: 23 Mar 2005
Posts: 1004
Location: Pittsburgh, PA

PostPosted: Sun Feb 19, 2006 8:07 pm    Post subject: Reply with quote

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
View user's profile Send private message
gnychis
Veteran
Veteran


Joined: 23 Mar 2005
Posts: 1004
Location: Pittsburgh, PA

PostPosted: Sun Feb 19, 2006 10:04 pm    Post subject: Reply with quote

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
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