Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 268005 - Kernel build from gentoo-sources-2.6.29-r2 doesn't boot.
Summary: Kernel build from gentoo-sources-2.6.29-r2 doesn't boot.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords: InVCS
: 268062 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-04-30 14:41 UTC by Florian GYS
Modified: 2009-05-05 19:00 UTC (History)
9 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
My .config file (.config,60.22 KB, text/plain)
2009-04-30 14:47 UTC, Florian GYS
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Florian GYS 2009-04-30 14:41:24 UTC
building the kernel 2.6.29-r2 with the .config file of the 2.6.29-r1 one should boot without errors, because it's not a real kernel update, but just a revision.

Reproducible: Always

Steps to Reproduce:
1.copy .config from gentoo-sources-2.6.29-r1 to gentoo-sources-2.6.29-r2
2.build the new gentoo-sources-2.6.29-r2
3.Put it in place ans try to boot

Actual Results:  
kernel doesn't boot, it stop just after the grub menu: the screen is all black, with just a blinking cursor

Expected Results:  
the new kernel should boot without problem.
Comment 1 Florian GYS 2009-04-30 14:47:38 UTC
Created attachment 189973 [details]
My .config file

This my .config file used with gentoo-sources-2.6.29-r1 which should work for gentoo-sources-2.6.29-r2
Comment 2 Markos Chandras (RETIRED) gentoo-dev 2009-04-30 16:27:40 UTC
did you use 'make oldconfig' after you copied the old config file to the new sources?
Comment 3 Billy DeVincentis 2009-04-30 16:29:39 UTC
Same problem here, there is a post about this on the forums and apparently it seems to have something to do with the initrd because if you disable it on your grub boot entry, the kernel will boot.
Comment 4 Martin Kramer 2009-04-30 17:50:25 UTC
I was the one, who created the forum post, and if I might add to this bug one extra bit of information:

If you boot with splash option set to verbose you get exactly one line before the system stops booting.
This line is "console: switching to colour frame buffer device 128x64".
Comment 5 Florian GYS 2009-04-30 18:56:27 UTC
(In reply to comment #2)
> did you use 'make oldconfig' after you copied the old config file to the new
> sources?
> 
Yes, I did it.

-------------------

Thanks for pointing out the problem cames from the initrd file: I have solved the problem by simply rebuilding my initrd file:

"splash_geninitramfs -g /boot/fbsplash-livecd-2007.0-1280x800 -r 1280x800 -v livecd-2007.0"

Best regards.
Comment 6 Billy DeVincentis 2009-05-01 02:17:48 UTC
 Florian GYS, I am not sure what exactly you did to fix it. I used genkernel and issued genkernel --menuconfig --install --splash=natural_gentoo all. It didn't work!!
Comment 7 Florian GYS 2009-05-01 09:29:28 UTC
(In reply to comment #6)
>  Florian GYS, I am not sure what exactly you did to fix it. I used genkernel
> and issued genkernel --menuconfig --install --splash=natural_gentoo all. It
> didn't work!!
> 
Sorry to hear that: But I have never used the genkernel method, so don't really know how to help you.

In fact, I have just issued this command: "splash_geninitramfs -g /boot/fbsplash-livecd-2007.0-1280x800 -r 1280x800 -v livecd-2007.0" which only rebuild the initrd file.

Looking at the genkernel method, the command "genkernel --no-clean --splash=NAME initrd" should be enough.

However, perhaps some more glitches have been introduced with these kernel revision so I don't know if my method is valid for all of us.

It is quiet strange to have these initrd problems, because gentoo-sources-2.6.29-r2 should only add some ext4 tweaks to the -r1 revision.

Do you use uvesafb, like me? 

Best regards.
Comment 8 ak47wj 2009-05-01 15:30:53 UTC
I have the same problem. It's fixed after I turn off fbcondecor in kernel.I think it may be about fbcondecor patch.
Comment 9 Michal Januszewski (RETIRED) gentoo-dev 2009-05-01 23:19:01 UTC
Can you boot successfully with fbcondecor enabled in the kernel, but with `splash=off` on the kernel command line?
Comment 10 Christian Ruppert (idl0r) gentoo-dev 2009-05-01 23:33:30 UTC
*** Bug 268062 has been marked as a duplicate of this bug. ***
Comment 11 ak47wj 2009-05-02 01:04:14 UTC
(In reply to comment #9)
> Can you boot successfully with fbcondecor enabled in the kernel, but with
> `splash=off` on the kernel command line?
> 

I have done what you say, the problem is still there.
Comment 12 Eric Bosch 2009-05-02 16:40:49 UTC
(In reply to comment #11)
> (In reply to comment #9)
> > Can you boot successfully with fbcondecor enabled in the kernel, but with
> > `splash=off` on the kernel command line?
> > 
> 
> I have done what you say, the problem is still there.
> 

I have the same issue.  I use Genkernel also, but I attempted to manually recreate the initrd, and still no luck.
Comment 13 Kevin Parent 2009-05-02 17:19:47 UTC
Check this forum post and the following entries:

http://forums.gentoo.org/viewtopic-p-5697437-highlight-.html#5697437

Don't know if the solution works or not, but two others claim it does.  I'll be trying it later today.
Comment 14 Kevin Parent 2009-05-02 21:46:44 UTC
Replacing 2.6.29.2 fbmem.c with 2.6.29.1 fbmem.c and recompiling solves the issue.  IMHO, this is an upstream kernel bug.

cp -a /usr/src/linux-2.6.29-r1/drivers/video/fbmem.c /usr/src/linux-2.6.29-r2/drivers/video/fbmem.c

Probably more elegant if a patch was made and used to install future 2.6.29-gentoo-sources-r2 ebuilds.
Comment 15 Oliver Maurhart 2009-05-03 15:33:33 UTC
Same here. Copying fbmem.c from 2.6.29-gentoo-r1 solved it.
Comment 16 Michal Januszewski (RETIRED) gentoo-dev 2009-05-05 10:05:25 UTC
I have just released a fixed version of the fbcondecor patch:
http://dev.gentoo.org/~spock/projects/fbcondecor/archive/fbcondecor-0.9.6-2.6.29.2.patch

The whole problem was caused by a series of mutex-related fbdev fixes that are included in 2.6.29.2.  The changes in the locking mechanism cause a deadlock when the 0.9.6-2.6.29 fbcondecor patch is used.
Comment 17 Mike Pagano gentoo-dev 2009-05-05 15:32:04 UTC
Thanks, Spock. I put this in svn and released a new genpatches. We should have a new gentoo-sources today which will include this patch.
Comment 18 Mike Pagano gentoo-dev 2009-05-05 19:00:47 UTC
Released in gentoo-sources-2.6.29-r3