Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 359373 - genkernel --install all crashes with error No Kernel .config specified, or file not found
Summary: genkernel --install all crashes with error No Kernel .config specified, or fi...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: HPPA Linux
: Normal major
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-18 14:45 UTC by mxdog
Modified: 2011-05-31 17:38 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mxdog 2011-03-18 14:45:48 UTC
Ive been trying to get gentoo working on a Hp-K210 box using this manual-http://www.gentoo.org/doc/en/handbook/handbook-hppa.xml- at first i tried makemenuconfig but did not get a initramfs image (another bug ?)and my system wouldn't boot the kernel panics while trying to mount /. So next I figured i was doing something wrong and decided to try genkernel. Following the steps in the manual I get to this error every time. I even tried a make --allyesconfig to generate a new.config file but that didnt help. I can't seem to find a reference on how to define a path to the .config file in the genkernel documentation and it would seem to me an auto kernel maker wouldnt or shouldnt need one anyway. this could be a problem with the emerge genkernel where the proper file just isnt installed?

Reproducible: Always

Steps to Reproduce:
1.follow steps in the manual 
2.run genkernal
3.
Actual Results:  
(chroot) livecd linux # genkernel --install all
* Gentoo Linux Genkernel; Version 3.4.10.907
* Running with options: --install all

* Linux Kernel 2.6.36-gentoo-r5 for parisc...
* ERROR: Error: No kernel .config specified, or file not found!

* -- Grepping log... --


* Linux Kernel 2.6.36-gentoo-r5 for parisc...
* Gentoo Linux Genkernel; Version 3.4.10.907
* Running with options: --install all

* ERROR: Error: No kernel .config specified, or file not found!

* -- End log... --

Expected Results:  
install a working kernal and initramfs image

this port (this manual?) doesnt work with either manually configuring the build or with genkernel. In the former the guide either does not have enough info to build and install the initfs or the build is flawed but the kernel does compile? In the latter I can't get past this error
Comment 1 tman 2011-03-18 19:15:51 UTC
it nno bug. it your advance in it.


read the handbook again and make one configuration with:


make menuconfig


if u want to use genkernel and un already have a.config u must use:

genkernel --oldonfig --menuconfig all


else it produce suche error like u have gotten
Comment 2 tman 2011-03-18 19:16:24 UTC
genkernel --oldconfig --menuconfig all
Comment 3 mxdog 2011-03-19 08:24:51 UTC
this didn't work the first time a virgin install..  the manual is wrong or there is a bug. today will be my 5th try ...4 before i reported..but ty for the comments you may have me given a clue to a work around (or a smack on the head)..since i can't get a make --menuconfig to give me a bootable system yet either.

if i have to make a menuconfig then genkernel has a bug, that step should not be needed and the manual does not suggest that step. So one or the other is lacking . i know this is an old box but it is steady as heck never crashes so it is a wonderful dns and dhcp server ..i just hate hp unix and been trying for 5 years to get a working linux port working on it (well-deb sarge kinda worked )

my point is somewhere- the docs -emerge -gentoo-sources or in the profile something is missing from either creating a default .config for a first run using genkernel for this port or genkernel is missing a step. Action "all" should make its own .config i would think? at least with a missing .config. the whole point of the program is to start it and leave it isnt it?
Comment 4 Sebastian Pipping gentoo-dev 2011-03-19 11:48:41 UTC
Can you try with the latest testing version of genkernel, i.e. 3.4.14?
Comment 5 Sebastian Pipping gentoo-dev 2011-05-31 17:38:10 UTC
(In reply to comment #4)
> Can you try with the latest testing version of genkernel, i.e. 3.4.14?

No reply in two months, closing.  Please re-open if there is need to.