LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 11-10-2004, 05:03 PM   #1
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
Fedora C3 Custom Kernel


Has anyone managed to get a hand rolled kernel to boot in Core 3?

No matter what I do, I get "Warning: Unable to open an initial console" or errors about mknod /dev/console failing.

I'm using the 2.6.9 configuration I had working on FC2. I've tried doing
'MAKEDEV console null zero' as suggested by various websites, but to no avail. I've tried it with and without initrd. I'm stuck.

Is there a kernel configuration I'm missing?

Cheers.

Dave
 
Old 11-10-2004, 05:14 PM   #2
Samsara
Member
 
Registered: May 2003
Distribution: Ubuntu, Mac OS X Tiger
Posts: 481

Rep: Reputation: 32
Hi David,

Presumably the module/option you are looking for is in devices -> console or something like this?

I'm just compiling my first FC3 one, let's see what happens...

A Scottish salute,

Samsara

PS: I'm in Edinburgh, but changed my location to include my real name for google reasons.

Last edited by Samsara; 11-10-2004 at 05:16 PM.
 
Old 11-11-2004, 12:48 AM   #3
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Original Poster
Rep: Reputation: 96
Hi.

/dev/console exists, both on disk and in initrd.

This problem is something to do with udev, because that's all that's changed between FC2 and FC3 as far as the kernel's concerned - I'm using the same kernel config I have been for ages in FC2, and I'm running with SELinux turned off.

I don't particularly want to have to revert to using devfs, as udev seems to be a better system.

Dave

P.S. I hope it's warmer in Edinburgh than it is over here.
 
Old 11-12-2004, 05:52 PM   #4
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Original Poster
Rep: Reputation: 96
All is well.

My limited knowledge of initrd was my downfall.

I had removed tmpfs from my kernel config, as I wasn't using it normally. This broke initrd (which appears to be necessary for a *pure* udev system).

I had also removed the root=/devhdxx line from my boot arguments, as this is not normally needed when booting directly to the kernel. This also broke initrd.

So. tmpfs compiled in and root=/dev/hda2 on the kernel arguments eventually solved the problem.

Cheers.

Dave
 
Old 11-26-2006, 06:36 AM   #5
sawadeekap2233
LQ Newbie
 
Registered: Nov 2006
Location: Chernokulaikos
Distribution: Fedora3 Colinux win98
Posts: 22

Rep: Reputation: 15
Question unable to open initial console...with new bzImage.

Quote:
Originally Posted by ilikejam
Has anyone managed to get a hand rolled kernel to boot in Core 3?

No matter what I do, I get "Warning: Unable to open an initial console" or errors about mknod /dev/console failing.

I'm using the 2.6.9 configuration I had working on FC2. I've tried doing
'MAKEDEV console null zero' as suggested by various websites, but to no avail. I've tried it with and without initrd. I'm stuck.

Is there a kernel configuration I'm missing?

Cheers.

Dave
Lately I tried compiling my own kernel with minimal modules ,minusing wireles,wan,isdn,etc.
During compilation, all the steps were successfully completed. But when i tried to boot with it,
I also encounter this error :
-unable to open initial console.. I dont know how to proceed anymore..
Have u solved your earlier problem. What did u do to solve it.
Pls enlighten me. thanks...
 
Old 11-26-2006, 01:40 PM   #6
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Original Poster
Rep: Reputation: 96
Hi.

Make sure you've got tmpfs compiled into the kernel make an initrd, then boot from the image, and you should be OK.

Dave
 
  


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
trouble compiling modules against custom fedora core 4 kernel blahJake Linux - Software 6 12-16-2006 06:54 AM
Kernel-Patch Debian Logo 2.6.2 not correctly working for custom kernel 2.6.11 smp deepclutch Debian 3 06-27-2005 03:59 AM
Custom kernel for Fedora 3 install godhugh Fedora - Installation 0 01-13-2005 02:32 PM
New FAQ topic: Should I edit my kernel configuration?/Should I build a custom kernel? chort *BSD 10 09-10-2004 11:15 PM
DISCUSSION: Custom kernel compilaton on RedHat/Fedora Systems Thetargos LinuxAnswers Discussion 2 08-28-2004 05:11 PM


All times are GMT -5. The time now is 03:55 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