Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gcc 4.1, glibc 2.4, genkernel 3.3.11c, 2.6.16: no boot!!!!!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Daniel Tourde - Caelae.se
Tux's lil' helper
Tux's lil' helper


Joined: 26 Mar 2006
Posts: 138
Location: Stockholm

PostPosted: Fri Apr 14, 2006 5:20 pm    Post subject: gcc 4.1, glibc 2.4, genkernel 3.3.11c, 2.6.16: no boot!!!!! Reply with quote

Hello,

I have installed from scratch a Gentoo x86 station based on 2006.0. I have used however glibc 2.4-r2, gcc 4.1, Kernel 2.6.16 (headers as well), genkernel 3.3.11c and udev 087.
The installation is based on stage1 (not on stage3 as recommended in the modern Gentoo installation manuals).

Everything went fine (no compilation problems whatsoever) until I rebooted the machine on its own for the first time.
I used genkernel to compile a classical 2.6.16, I did not change anything in the kernel configuration file. I use Grub and created a simple grub.conf file (it contains 3 lines, I am pretty sure they are right...) but when I boot, I get this infamous message:

>>Activating devfs
mount: mounting devfs failed: no such device
/init: 226: devfs: not found
>>determining root device
!!Block device /dev/sdsa6 is not a valid root device
!!the root block device is unspecififed or not detected
please specify a device to boot, or "sheel" for a sheel boot() ::


The problem is that the system is udev based... So, wtf is devfs doing in there? It cannot mount the partitions so I am VERY limited from that point...

I recompiled the kernel -> no change!
I updated udev from 087 to 089-r2 -> no change!
I played around with the grub.conf, in case I would have done anything wrong with the (hdx,y) -> no change!
I validated coldplug and hotplug at boot level (rc-update) -> no change!

So now I am stuck!

Is the combination: gentoo 2006.0 + gcc 4.1 + glibc 2.4 + genkernel 3.3.11c + kernel 2.6.16 + udev 087 + grub 0.96 doomed?

Any help is warmly welcome.

Daniel
Back to top
View user's profile Send private message
Daniel Tourde - Caelae.se
Tux's lil' helper
Tux's lil' helper


Joined: 26 Mar 2006
Posts: 138
Location: Stockholm

PostPosted: Fri Apr 14, 2006 5:21 pm    Post subject: Reply with quote

In my case, the device not seen is /dev/hda2

I have: hda1 /boot
hda2 /
hda3 swap
hda5 /usr
etc etc... with tmp, opt, home, var
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Fri Apr 14, 2006 7:06 pm    Post subject: Re: gcc 4.1, glibc 2.4, genkernel 3.3.11c, 2.6.16: no boot!! Reply with quote

Daniel Tourde - Caelae.se wrote:
The problem is that the system is udev based... So, wtf is devfs doing in there?

It looks like Genkernel screwed up, and decided to put devfs into the initrd even though your kernel cannot support it.

What happens if you compile the kernel manually ?
Back to top
View user's profile Send private message
Daniel Tourde - Caelae.se
Tux's lil' helper
Tux's lil' helper


Joined: 26 Mar 2006
Posts: 138
Location: Stockholm

PostPosted: Fri Apr 14, 2006 7:14 pm    Post subject: Re: gcc 4.1, glibc 2.4, genkernel 3.3.11c, 2.6.16: no boot!! Reply with quote

cyrillic wrote:
Daniel Tourde - Caelae.se wrote:
The problem is that the system is udev based... So, wtf is devfs doing in there?

It looks like Genkernel screwed up, and decided to put devfs into the initrd even though your kernel cannot support it.

What happens if you compile the kernel manually ?


I don't know. I haven't tried. It seems to be related to the following bug:
https://bugs.gentoo.org/show_bug.cgi?id=129887

That's all I can say at the moment. I am stuck, honestly.
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Fri Apr 14, 2006 7:47 pm    Post subject: Reply with quote

You wouldn't be stuck if you skipped genkernel :wink:
Back to top
View user's profile Send private message
Daniel Tourde - Caelae.se
Tux's lil' helper
Tux's lil' helper


Joined: 26 Mar 2006
Posts: 138
Location: Stockholm

PostPosted: Fri Apr 14, 2006 7:55 pm    Post subject: Re: gcc 4.1, glibc 2.4, genkernel 3.3.11c, 2.6.16: no boot!! Reply with quote

cyrillic wrote:
Daniel Tourde - Caelae.se wrote:
The problem is that the system is udev based... So, wtf is devfs doing in there?

It looks like Genkernel screwed up, and decided to put devfs into the initrd even though your kernel cannot support it.

What happens if you compile the kernel manually ?


Well, I did something even simpler: I modified grub.conf.
The problem lies when genkernel is used in the generation of initramfs, nowhere else. In the installation manual there is an example of grub.conf for non genkernel user. It does not use initramfs...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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