Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SOLVED Genkernel stopped making working kernels.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
fuzzythebear
Guru
Guru


Joined: 28 Nov 2004
Posts: 317

PostPosted: Sat Oct 03, 2009 8:20 pm    Post subject: SOLVED Genkernel stopped making working kernels. Reply with quote

Ever since 2.6.31 all kernels i try to build with genkernel fail to boot.
I was in the habit of installing the new sources , copy over the config kept
in /etc/kernels to the new appropriate version , change the /usr/src/linux link and
go genkernel --bootloader=grub menuconfig all
and simply rebuild the video drivers with the new sources.Next time i booted
all would work fine.Not anymore.
The kernel builds fine , installs , updates grub to an essentially identical boot command
similar to the other older working kernel's, but fails to load and freezes at the penguin logo.
The grub kernel selection screen comes on fine.
I have tried to update to 2.6.31 and 31-r1 with similar results.
I started also with a fresh configuration file by setting aside the one i had used previously.
Later , i regenerated the configuration the gentoo installation handbook's way and
used the working kernel's config ..
zcat /proc/config.gz > /usr/share/genkernel/arch/x86/kernel-config-2.6
( it's correcting the gentoo chapter 7's genkernel instruction which directs to the wrong directory )

This is my grub file

default=0
timeout= 5
splashimage=(hd0,0)/grub/splash.xpm.gz

title=Gentoo Linux (2.6.31-gentoo-r1)
root (hd0,0)
kernel /kernel-genkernel-x86-2.6.31-gentoo-r1 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda3 CONSOLE=/dev/tty1 quiet vga=0x317 splash=verbose,theme:gentoo
initrd /initramfs-genkernel-x86-2.6.31-gentoo-r1

title=Gentoo Linux (2.6.31-gentoo)
root (hd0,0)
kernel /kernel-genkernel-x86-2.6.31-gentoo root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda3 CONSOLE=/dev/tty1 quiet vga=0x317 splash=verbose,theme:gentoo
initrd /initramfs-genkernel-x86-2.6.31-gentoo

title=Gentoo Linux (2.6.30-gentoo-r6)
root (hd0,0)
kernel /kernel-genkernel-x86-2.6.30-gentoo-r6 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda3 CONSOLE=/dev/tty1 quiet vga=0x317 splash=verbose,theme:gentoo
initrd /initramfs-genkernel-x86-2.6.30-gentoo-r6

title=Gentoo Linux (2.6.30-gentoo-r5)
root (hd0,0)
kernel /kernel-genkernel-x86-2.6.30-gentoo-r5 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda3 CONSOLE=/dev/tty1 quiet vga=0x317 splash=verbose,theme:gentoo
initrd /initramfs-genkernel-x86-2.6.30-gentoo-r5

#title Ubuntu Linux 8.4
#root (hd2,0)
#kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=b7f39389-d992-47ac-95be-8a27b12d892c ro quiet splash
#initrd /boot/initrd.img-2.6.24-16-generic

title Windows XP ( Shamelessly admitting it .. )
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,0)
chainloader +1
makeactive
boot

What am i missing ?
Hope someone has a good idea :)

Richard
_________________
There's this once i thought i had made a mistake .. but i was wrong :|


Last edited by fuzzythebear on Mon Oct 05, 2009 10:07 am; edited 1 time in total
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Sun Oct 04, 2009 4:42 am    Post subject: Reply with quote

eliminate / comment out this stuff
Quote:
CONSOLE=/dev/tty1 quiet vga=0x317 splash=verbose,theme:gentoo
so you can see what the kernel is doing
Back to top
View user's profile Send private message
fuzzythebear
Guru
Guru


Joined: 28 Nov 2004
Posts: 317

PostPosted: Sun Oct 04, 2009 9:39 am    Post subject: pinned down to dvd/cd Reply with quote

It does at least give a clue.
you see it detect hda hdb hdd then goes to
ide-cd hdc detects it as 48x dvd cd combo drive and just freezes after that.

New results
I went in the kern.log and debug logs , i noticed those two files were over 2.1 GIGS each
not megs .. gig So i deleted them and recreated.
In the new log we can see exactly where it stops ( relative to a running kernel )
IDE-CD Driver 5.0
IDE-CD HDC Atapi 48X DVD-ROM CD-R/RW Drive 2048kb cache
Uniform CD_ROM Driver VERSION 3.20

SOLVED ( heck of a big hint )
The kernel does boot after unplugging the dvd/cd drive combo.
It does work with kernels previous to 2.6.31 , up to 2.26.30-r6
So somehow , there has been a change introduced with .31

Bad Uniform CD_ROM Driver ? Who knows .. would be worth investigating.
Im going to try with another drive later on.
Everything was ok and shame on me for my lack of faith in the great genkernel.

:D

Richard
_________________
There's this once i thought i had made a mistake .. but i was wrong :|
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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