LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-28-2005, 02:12 PM   #1
wilu
LQ Newbie
 
Registered: Jan 2005
Location: Nowa Huta (Poland)
Distribution: Gentoo
Posts: 23

Rep: Reputation: 15
unable to open an initial console (2.6.11)


Hi!

I built a new kernel but unfortunately i got this error while system is starting:
Quote:
Warning: unable to open an initial console
I`m using fedora core 3.

I`d be grateful for suggestions.
Regards,
wilu.
 
Old 03-28-2005, 04:06 PM   #2
mrGenixus
Member
 
Registered: Dec 2004
Location: Colorado, US
Distribution: gentoo, debian, ubuntu live gnome 2.10
Posts: 440

Rep: Reputation: 30
reinstall fedora
 
Old 03-28-2005, 04:19 PM   #3
inescapeableus
Member
 
Registered: Feb 2004
Location: Canada
Distribution: GNU/Linux Debian (Etch)
Posts: 319

Rep: Reputation: 30
when you recompiled you kernel what steps did you do to do so? Did mkinitrd? Please give us some more details concerning the steps that you took to recompile.
 
Old 03-28-2005, 04:38 PM   #4
wilu
LQ Newbie
 
Registered: Jan 2005
Location: Nowa Huta (Poland)
Distribution: Gentoo
Posts: 23

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by mrGenixus
reinstall fedora
I`ve got 2 kernels now, original kernel works fine .
About new kernel...
1. i downloaded 2.6.11 form www.kernel.org
2. unpacked it
3. configured
5. compiled:
make bzImage
make modules
make modules_install
6. copied some files:
cp /opt/kernel/linux/System.map /boot/System.map-2.6.11
cp /opt/kernel/linux/.config /boot/config-2.6.11
cp /opt/kernel/linux/arch/i386/bzImage /boot/bzImage-2.6.11
7. then i added this to grub.conf:
title Fedora Core (2.6.11)
root (hd0,5)
kernel /boot/bzImage-2.6.11 ro root=/dev/hda6
8. after rebooting system i got the error that we`re talking about.

I did not do initrd file because as far as i know it`s not necessary.

I can post additional information ... if needed.

EDIT:
I assume that divergence between file names in /boot, *-2.6.11, and /lib/modules 2.6.11.5 doesn't cause a problem...

Last edited by wilu; 03-28-2005 at 04:43 PM.
 
Old 03-28-2005, 04:40 PM   #5
inescapeableus
Member
 
Registered: Feb 2004
Location: Canada
Distribution: GNU/Linux Debian (Etch)
Posts: 319

Rep: Reputation: 30
I have had to same issue and for some reason Fedora needs to have that image. I would recommend running the mkinitrd command and attach it to grub accordinally and let me know how it goes.
 
Old 03-28-2005, 05:05 PM   #6
wilu
LQ Newbie
 
Registered: Jan 2005
Location: Nowa Huta (Poland)
Distribution: Gentoo
Posts: 23

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by inescapeableus
I have had to same issue and for some reason Fedora needs to have that image. I would recommend running the mkinitrd command and attach it to grub accordinally and let me know how it goes.
So, i made initrd file:
/sbin/mkinitrd initrd-2.6.11.5.img 2.6.11.5
and attached it to grub:
title Fedora Core (2.6.11)
root (hd0,5)
kernel /boot/bzImage-2.6.11.5 ro root=/dev/hda6
initrd /boot/initrd-2.6.11.5.img
but the problem remains...
I`m getting frustrated .
 
Old 03-28-2005, 05:13 PM   #7
mrGenixus
Member
 
Registered: Dec 2004
Location: Colorado, US
Distribution: gentoo, debian, ubuntu live gnome 2.10
Posts: 440

Rep: Reputation: 30
is there any output before it does this?

Can you use the old kernel?

can you download a gentoo liveCD and mount the disk, correct the problem?

How did you go about recompiling your kernel?
 
Old 03-28-2005, 05:24 PM   #8
wilu
LQ Newbie
 
Registered: Jan 2005
Location: Nowa Huta (Poland)
Distribution: Gentoo
Posts: 23

Original Poster
Rep: Reputation: 15
@mrGenixus
Couple lines befor system stops...
EXT3-fs: mounted filesystem with ordered data mode
VFS: Mountes root (ext3 filesystem) readonly
Freeing unused kernel memory: 116k freed
Warning: unable to open an initial console.
... and system stops loading...

I`ve got 2 kernels now so when booting up from new kernel fails i use the second one ...

EDIT:
all seems to be OK before system hangs, there aren`t any warnings or errors.

Last edited by wilu; 03-28-2005 at 05:25 PM.
 
Old 03-28-2005, 05:33 PM   #9
mrGenixus
Member
 
Registered: Dec 2004
Location: Colorado, US
Distribution: gentoo, debian, ubuntu live gnome 2.10
Posts: 440

Rep: Reputation: 30
Can you explain the steps you took to recompile your kernel.
 
Old 03-28-2005, 05:40 PM   #10
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
I have the same problem when trying to compile a 2.6.11 kernel on CentOS 4 and Fedora core 3.
 
Old 03-28-2005, 05:43 PM   #11
mrGenixus
Member
 
Registered: Dec 2004
Location: Colorado, US
Distribution: gentoo, debian, ubuntu live gnome 2.10
Posts: 440

Rep: Reputation: 30
This seems to be a bug in 2.6.11, I would google this, before posting any additional questions.

reddazz: How did you recompile your kernel?
 
Old 03-28-2005, 05:48 PM   #12
wilu
LQ Newbie
 
Registered: Jan 2005
Location: Nowa Huta (Poland)
Distribution: Gentoo
Posts: 23

Original Poster
Rep: Reputation: 15
I didn`t recompile my kernel (if i understand the meaning of word recompilation - to compile again the kernel which i already have). I downloaded new kernel 2.6.11.5 (my original kernel is 2.6.9-1.667), configured it, compiled, copied files to /boot directory and added few lines in grub.conf.
I did the following steps:
1. i downloaded 2.6.11.5 form www.kernel.org
2. unpacked it
3. configured
5. compiled:
make bzImage
make modules
make modules_install
6. copied some files:
cp /opt/kernel/linux/System.map /boot/System.map-2.6.11.5
cp /opt/kernel/linux/.config /boot/config-2.6.11.5
cp /opt/kernel/linux/arch/i386/bzImage /boot/bzImage-2.6.11.5
7. /sbin/mkinitrd initrd-2.6.11.5.img 2.6.11.5
8. attached this to grub.conf
title Fedora Core (2.6.11)
root (hd0,5)
kernel /boot/bzImage-2.6.11.5 ro root=/dev/hda6
initrd /boot/initrd-2.6.11.5.img

EDIT:
I can be wrong, but as far as i remember i got the same error with 2.6.10 kernel... So i assume it`s not bug in 2.6.11

Last edited by wilu; 03-28-2005 at 05:51 PM.
 
Old 03-28-2005, 05:55 PM   #13
mrGenixus
Member
 
Registered: Dec 2004
Location: Colorado, US
Distribution: gentoo, debian, ubuntu live gnome 2.10
Posts: 440

Rep: Reputation: 30
I would stay away from .11 and drop back to .10, but more importantly, you may hav skipped the 'make' step which replaces the make bzImage that was used with 2.4.x beginning with 2.6.0
 
Old 03-28-2005, 06:08 PM   #14
wilu
LQ Newbie
 
Registered: Jan 2005
Location: Nowa Huta (Poland)
Distribution: Gentoo
Posts: 23

Original Poster
Rep: Reputation: 15
So, are you suggesting to do:
make
make modules_install
?
make bzImage does the same as make, creates bzImage.
I could have misunderstood you (my English is poor )...
I`m looking through kernel configuration... maybe i omitted something.

Last edited by wilu; 03-29-2005 at 12:44 PM.
 
Old 03-28-2005, 06:23 PM   #15
mrGenixus
Member
 
Registered: Dec 2004
Location: Colorado, US
Distribution: gentoo, debian, ubuntu live gnome 2.10
Posts: 440

Rep: Reputation: 30
This appears to be beyond me my only advice is to carefully look over your config using 'make menuconfig' and see if you can find it.

You may have disable something it needs.
 
  


Reply



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
unable to open initial console ayoub Linux - Newbie 9 11-22-2005 10:53 AM
error: unable to open an initial console gaco Linux - Newbie 5 08-18-2004 08:30 AM
Unable to open an initial console xanthas12 Linux - General 2 04-23-2003 02:38 AM
Warning: unable to open an initial console. tomkeys Linux From Scratch 1 02-24-2003 10:34 PM
unable to open initial console elettrozero Linux - General 2 03-29-2002 11:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:39 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration