Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Possible problem with kernel configuration
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
Despot Despondency
Apprentice
Apprentice


Joined: 14 Mar 2009
Posts: 176

PostPosted: Mon May 30, 2011 4:02 pm    Post subject: Possible problem with kernel configuration Reply with quote

Hey,

I've been doing a fresh install on my computer and I'm having problems.

I managed to get to the end of the installation process without problem, but the kernel won't load on reboot.

I've configured the kernel several times before and frequently use pappy's kernel seeds http://kernel-seeds.org/, so I don't understand what is going wrong this time.

Anyway, how can I find out if it is a problem with the kernel.

Here is my config file (from /usr/src/linux-2.6.37-gentoo-r4/.config) http://pastebin.com/GmZUXtdD Are there any obvious problems that I've overlooked?

There doesn't seem to be a log file from the boot up (I looked in /var/log).
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9690
Location: almost Mile High in the USA

PostPosted: Mon May 30, 2011 5:21 pm    Post subject: Reply with quote

Please post the error message that it returns on boot... how far did it get? What's the last few messages it reports?

You mention there's no log file, how did you get the logfile? Using livecd to poke around there you mean? Or did it get that far so you can read it?
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Mon May 30, 2011 5:45 pm    Post subject: Reply with quote

if it hangs at init.early.sh; edit menuconfig to include:
Quote:
File systems --->
Pseudo filesystems --->
-*- /proc file system support
[*] /proc/kcore support
[*] Virtual memory file system support (former shm fs)
[*] Tmpfs POSIX Access Control Lists
[*] HugeTLB file system support
<*> Userspace-driven configuration filesystem

then recompile and recopy kernel.
_________________
Defund the FCC.
Back to top
View user's profile Send private message
Despot Despondency
Apprentice
Apprentice


Joined: 14 Mar 2009
Posts: 176

PostPosted: Mon May 30, 2011 5:46 pm    Post subject: Reply with quote

Hi,

Thanks for your response.

I wasn't able to find the message log file from boot, I had to look around through the livecd.

When the computer boots it just stops halfway through loading the kernel. It doesn't give any obvious error messages. Is there a way to retrieve this text through the livecd?

I have since tried genkernel to see if it is a kernel problem or a hardware problem. When I boot the computer with the kernel image created by genkernel I get the following error messages

Code:

Booting (initramfs) >> ERROR: your real /dev is missing files required for boot (console and null)

switch_root: can't open "/dev/console": No such file or directory

kernel panic - not syncing: attempted to kill init!
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Mon May 30, 2011 5:55 pm    Post subject: Reply with quote

https://forums.gentoo.org/viewtopic-t-880149.html discusses/fixes this problem "your real /dev is missing files"
digital camera or cell phone photo of hang screen posted to a photo site with url posted here and/or boot cd, mount gentoo partitions, cat or nano /mnt/gentoo/var/log/dmesg may help explicate the problem
_________________
Defund the FCC.
Back to top
View user's profile Send private message
spiffy616
n00b
n00b


Joined: 01 Jul 2011
Posts: 1

PostPosted: Fri Jul 01, 2011 11:41 am    Post subject: genkernel problem Reply with quote

I am installing gentoo in an Oracle vm environment. i have followed all the steps in the handbook up to genkernel. after genkernel has finished running i get an ERROR: Failed to compile the "bzImage" target... msg
at the prompt, i type in ls /boot/kernel* /boot/initramfs* as the handbook says to do. i get the report
ls: cannot access /boot/kernel*: No such file or directory
ls: cannot access /boot/initramfs*: No such file or directory
what did i do wrong
what can i do to fix the problem without deleting the Oracle vm partition again.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Fri Jul 01, 2011 3:17 pm    Post subject: Reply with quote

boot the cd, mount the gentoo partitions, enter the chroot.
Code:
cp /etc/resolv.conf /mnt/gentoo/etc/resolv.conf
mount -t proc none /mnt/gentoo/proc
mount -o bind /dev /mnt/gentoo/dev
chroot /mnt/gentoo /bin/bash
env-update
source /etc/profile
export PS1="(chroot) $PS1"
genkernel --menuconfig all
when menuconfig appears edit to:
Quote:
General setup --->
Kernel compression mode (Gzip) --->
[*] Support initial ramdisks compressed using gzip
[ ] Support initial ramdisks compressed using bzip2
[ ] Support initial ramdisks compressed using LZMA
[ ] Support initial ramdisks compressed using XZ
[ ] Support initial ramdisks compressed using LZO
Device Drivers --->
Generic Driver Options --->
[*] Include in-kernel firmware blobs in kernel binary
() External firmware blobs to build into the kernel binary
< > ATA/ATAPI/MFM/RLL support --->

Left/right arrow to Select and hit enter, edit in the new dialog box, in the first, up arrow to gzip, enter to select, in the last case backspace to empty the line (if not empty).
Exit menuconfig; saving the configuration.
when genkernel completes:
Code:
exit
reboot

_________________
Defund the FCC.
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