LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 09-03-2008, 04:15 PM   #1
LinuxLovinNoob
LQ Newbie
 
Registered: Sep 2008
Posts: 4

Rep: Reputation: 0
Smile upgrading Fedora Core 3 kernel 2.6.9-1.667 to 2.6.26.3 manually+kernel panic error


Alright, so this is my first time posting and I am pretty much a noob when it comes to linux. So after a fresh install of Fedora core 3 with the included kernel 2.6.9-1.667, I try to get my wireless card working with ndiswrapper which I've done on my Ubuntu box so im familiar with the basic idea of what I have to do...but anyhow I find out that for ndis wrapper and a few other reasons I'll have to rebuild or update the kernel. Now, I figure since I'm going to rebuild the kernel either way I might as well update it. This is where the situation gets a little sticky, I have no internet access at all on the Fedora Core 3 box and getting it on there is not possible until, and unless I get this wireless adapter working. So I boot up my other hdd to win xp (*shudders*) and my internet is dial up. I start doing some research and spend hours downloading the full kernel source for kernel 2.6.26.3 from kernel.org then I drop it on my thumb drive and boot back up into Fedora copy the file over then extract it etc. I run make mrproper, make xconfig, make bzImage, make modules, make modules_install, and make install. All goes fine.. I reboot using the now installed 2.6.26.3 kernel I just built and it won't boot. This is what I am getting:

Booting 'Fedora Core (2.6.26.3)'
root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
Kernel vmlinuz-2.6.26.3 ro root=/dev/volGroup00/log-Vx00 rhgb quiet
[Linux-bzImage, setup=0x2c00, size=0x1bc4a0 initrd/initrd-2.6.26.3.img
[Linux-initrd@037f03000, 0xec51e bytes]

Decompressing Linux...Parsing ELF...done.
Booting the kernel.
arlan:No Arlan devices found
ide_generic: I/O resource 0x1f0-0x1f7 not free.
ide_generic: I/O resource 0x170-0x177 not free.
Red Hat nash version 4.1.18 starting
reading all physical volumes. This may take a while...
umount /sys failed:16
mount:error 6 mounting xt3
mount:error 2 mounting none
switchroot: mount failed:22
umount .initrd /dev failed:2
Kernel panic-not syncing:Attemped to kill init!


after that it just hangs until I hold the power button to power down the tower.
any help would be greatly appreciated

Last edited by LinuxLovinNoob; 09-03-2008 at 07:57 PM.
 
Old 09-04-2008, 01:26 PM   #2
arckane
Member
 
Registered: Sep 2005
Location: UK
Distribution: Gentoo/Debian/Ubuntu
Posts: 306

Rep: Reputation: 38
Depending on how the kernel is built it depends on how it identifies drives. By the looks of it something is missing from the kernel which needs to be compiled in as a static item, not a module. The kernel can not find the /sys directory.

I've always built my kernels by hand and I know my hardware, so I compile in all of the correct drivers and modulise others I _may_ need.

Go back to the make menuconfig (or xconfig) and compile in all the hard drive stuff as static then retry.
 
Old 09-04-2008, 09:05 PM   #3
LinuxLovinNoob
LQ Newbie
 
Registered: Sep 2008
Posts: 4

Original Poster
Rep: Reputation: 0
Alright sounds good, I will give it a try and let you know what happens. Thank you very much for the advice.
 
Old 09-05-2008, 12:37 PM   #4
LinuxLovinNoob
LQ Newbie
 
Registered: Sep 2008
Posts: 4

Original Poster
Rep: Reputation: 0
Well I'm not sure if I just don't know what I'm looking for when I'm setting it up in xconfig or what but I'm still getting relatively the same thing. Is there maybe a specific entry or area I should be looking for? Which section contains all the hard drive stuff, I poked around and I don't seem to be able to find anything that actually mentions hard drive.. As I said please forgive me I am still quite a n00b with this all. I have a feeling I could possibly be overlooking it, or not looking in the right place, or possibly even looking right over it not realizing it's what I am looking for. So if you could point me in the right direction that would be great, Thanks again I appreciate you taking the time to help me. In the meantime I will fiddle around with it some more and continue to try to get it to work
 
Old 09-05-2008, 01:59 PM   #5
John VV
Guru
 
Registered: Aug 2005
Posts: 13,031

Rep: Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740
hi LinuxLovinNoob i think you are aware that fedora 3 hit it's end of life YEARS ago and is no longer supported , but if not...
i would dl and install fedora 8 from your windows install .
 
Old 09-08-2008, 08:32 PM   #6
LinuxLovinNoob
LQ Newbie
 
Registered: Sep 2008
Posts: 4

Original Poster
Rep: Reputation: 0
JohnVV, yes I am aware at the age of Fedora core 3, however I must say that seeing as I have Dial-up downloading another distro that is probably fairly large, is not an option. If it were be assured I would be doing so. As it happens I have acquired Fedora Core 3 on a dvd that had come with a book. So, I figured I would use it, I would not even have had that if it weren't on a dvd. However, I do appreciate your suggestion, but I am sad to say it is not really an option for me at the time. Thanks a bunch though
 
Old 09-08-2008, 09:54 PM   #7
John VV
Guru
 
Registered: Aug 2005
Posts: 13,031

Rep: Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740
look here at the bottom of the page
http://fedoraproject.org/get-fedora
Quote:
Slow Internet? No Internet?

Get a copy of Fedora Media sent via postal mail.

* Purchase installation media for Fedora from online vendors or a local vendor in your area.
http://fedoraproject.org/wiki/Distri.../OnlineVendors

* Can't afford the price of installation media? Request Fedora installation media from the Fedora Free Media Program.
http://fedoraproject.org/wiki/Distribution/FreeMedia
 
Old 12-17-2008, 08:45 PM   #8
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 2,617
Blog Entries: 3

Rep: Reputation: 219Reputation: 219Reputation: 219
you will need gcc3.4 or higher I believe.
ok you cd to /usr/src/uname-r and make mrproper then go to your boot folder copy the config file to the uname -r and rename it .config then do a make oldconfig ansewer all the leftover question the new kernal needs. follow the letters on the left N/Y/M the do a make . then do a make install. then do a make modules_install now before you reboot and use the kernel if you are using lilo your new kernel is called vmlinuz your old kernel link has been changed to vmlinuz old take the time and rename and make it fit the lilo.config
then do /sbin/lilo if using grub edit the menu.1s file to load your new kernel.
do not forget if you have lilo installed it will change it automaticlly that is good and bad because you do not know if the new kernel will boot. always make symlinks to your kernels. and always have one named just vmlinuz or bzimage. so you can boot it from a generic os boot program. if your old kernel has an initrd.img also you need to make one. read your docs.
Why do I use the config file from the boot folder it is the one that built your original kernel and it was built with the drivers you need.

Last edited by Drakeo; 12-17-2008 at 08:46 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora Core 5 Kernel Panic Help! Bimmer Linux - Server 1 03-10-2008 08:24 PM
Kernel Panic after upgrading to Fedora 7 WhoMe99 Linux - Newbie 12 03-10-2008 06:36 PM
Fedora Core 6, Updating Kernel = Kernel panic anon1234 Linux - Newbie 2 05-01-2007 03:21 PM
Fedora Core 2 Kernel Panic smOked^ Fedora - Installation 3 02-10-2005 03:29 AM
fedora core 1 kernel upgrading okiyani Fedora 15 04-12-2004 05:38 AM


All times are GMT -5. The time now is 05:22 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration