View previous topic :: View next topic |
Author |
Message |
Despot Despondency Apprentice
Joined: 14 Mar 2009 Posts: 176
|
Posted: Mon May 30, 2011 4:02 pm Post subject: Possible problem with kernel configuration |
|
|
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 |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9690 Location: almost Mile High in the USA
|
Posted: Mon May 30, 2011 5:21 pm Post subject: |
|
|
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 |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Mon May 30, 2011 5:45 pm Post subject: |
|
|
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 |
|
|
Despot Despondency Apprentice
Joined: 14 Mar 2009 Posts: 176
|
Posted: Mon May 30, 2011 5:46 pm Post subject: |
|
|
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 |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Mon May 30, 2011 5:55 pm Post subject: |
|
|
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 |
|
|
spiffy616 n00b
Joined: 01 Jul 2011 Posts: 1
|
Posted: Fri Jul 01, 2011 11:41 am Post subject: genkernel problem |
|
|
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 |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Fri Jul 01, 2011 3:17 pm Post subject: |
|
|
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: _________________ Defund the FCC. |
|
Back to top |
|
|
|