View previous topic :: View next topic |
Author |
Message |
flickerfly l33t
Joined: 08 Nov 2002 Posts: 677 Location: Lanham, MD
|
|
Back to top |
|
|
nrl Guru
Joined: 27 Mar 2003 Posts: 446 Location: Glasgow, UK
|
Posted: Mon Apr 21, 2003 2:30 pm Post subject: |
|
|
Well there is only one way to find out, I merged it and when run it outputs
Code: |
# genkernel
* usage: genkernel kernel-version
*
* --testing = install kernels marked unstable
* --config = invoke menuconfig
* --myconfig = uses personal config file
* /etc/kernels/myconfig
* --bootsplash = install bootsplash initrd also
* add its initrd path to settings
|
I then ran
Code: |
genkernel gentoo-sources
|
and it download and compiled the kernel, I quit it with Ctrl-C when I seen it was compiling the kernel but I presume this is the kernel auto configuration we have been hearing about. |
|
Back to top |
|
|
flickerfly l33t
Joined: 08 Nov 2002 Posts: 677 Location: Lanham, MD
|
Posted: Mon Apr 21, 2003 3:18 pm Post subject: |
|
|
nrl wrote: | I then ran
Code: |
genkernel gentoo-sources
|
and it download and compiled the kernel, I quit it with Ctrl-C when I seen it was compiling the kernel but I presume this is the kernel auto configuration we have been hearing about. |
I wonder how much this will be adopted? Does it actually configure automatically or just take your pre-made config and rebuild in one command? hmmm... I need to break out the test computer. _________________ An Evil Genious' Guide to Sheeple and How To Avoid Becoming One | 0x4C9EF4A |
|
Back to top |
|
|
nerdbert l33t
Joined: 09 Feb 2003 Posts: 981 Location: Berlin
|
Posted: Mon Apr 21, 2003 4:51 pm Post subject: |
|
|
it doesn't make sense to use it at the moment. It just sets some standard options (like i386 for cpu type). You could as well downloaded a precompiled kernel from RedHat.
BTW: Heard of no one yet who actually successfully compiled a kernel with it. It quits with an error message somewhere in the middle.
[edit]: this post might be of interest for you https://forums.gentoo.org/viewtopic.php?t=47645 |
|
Back to top |
|
|
flickerfly l33t
Joined: 08 Nov 2002 Posts: 677 Location: Lanham, MD
|
|
Back to top |
|
|
nerdbert l33t
Joined: 09 Feb 2003 Posts: 981 Location: Berlin
|
Posted: Mon Apr 21, 2003 5:29 pm Post subject: |
|
|
flickerfly wrote: | nerdbert wrote: | BTW: Heard of no one yet who actually successfully compiled a kernel with it. It quits with an error message somewhere in the middle. |
Wonder how it got out of being masked then? |
Code: |
emerge -p genkernel
These are the packages that I would merge, in order:
Calculating dependencies
!!! all ebuilds that could satisfy "genkernel" have been masked.
!!! Error calculating dependancies. Please correct. |
just did an emerge sync - should be up to date |
|
Back to top |
|
|
flickerfly l33t
Joined: 08 Nov 2002 Posts: 677 Location: Lanham, MD
|
Posted: Tue Apr 22, 2003 2:09 pm Post subject: |
|
|
nerdbert wrote: |
Code: |
emerge -p genkernel
These are the packages that I would merge, in order:
Calculating dependencies
!!! all ebuilds that could satisfy "genkernel" have been masked.
!!! Error calculating dependancies. Please correct. |
just did an emerge sync - should be up to date |
I stand corrected. Sorry.
I guess my confusion is between "stable" by GWN's definition and worthy of being unmasked. I assumed they were one and the same. Could someone shed some light to clear up the differences for me? _________________ An Evil Genious' Guide to Sheeple and How To Avoid Becoming One | 0x4C9EF4A |
|
Back to top |
|
|
gsfgf Veteran
Joined: 08 May 2002 Posts: 1266
|
Posted: Tue Apr 22, 2003 4:05 pm Post subject: |
|
|
flickerfly wrote: |
I guess my confusion is between "stable" by GWN's definition and worthy of being unmasked. I assumed they were one and the same. Could someone shed some light to clear up the differences for me? |
Stable by gentoo standards means it at least will probobly come close to working and if you test it we can ge the kinks ironed out. (Though pleanty of perfectly working software is still masked) unmasked means it's been shown to work perfectly. _________________ Aim:gsfgf0 |
|
Back to top |
|
|
flickerfly l33t
Joined: 08 Nov 2002 Posts: 677 Location: Lanham, MD
|
|
Back to top |
|
|
herring Apprentice
Joined: 22 Jul 2002 Posts: 187 Location: Norway
|
Posted: Wed Apr 23, 2003 12:01 am Post subject: |
|
|
nerdbert wrote: | it doesn't make sense to use it at the moment. It just sets some standard options (like i386 for cpu type). You could as well downloaded a precompiled kernel from RedHat. |
Had to try it myself
Commented out the following lines of /etc/kernels/genkernel prior to testing, to prevent timeconsuming kernelcompilation because my prime interest was looking at the resulting .config file
Code: |
#compile
#busybox >/var/log/genkernel.log 2>&1
#initrd >/var/log/genkernel.log 2>&1
|
and ran
Code: |
cd /etc/kernels
./genkernel gentoo-sources --testing --config
|
'make menuconfig' really popped up to be proofread prior to compiling. But there is no autodetection/setting of kerneloptions as I expected. Like you said, now it only provides a "redhat like" compile-everything-possible-important-as-a-module-approach, but the silent make oldconfig gives you a more gentoofriendly base config than /usr/src/linux/arch/*/defconfig
I was wondering, is it not possible to create a /script/Autoconfig script (I have no idea how to) that grep's useful information from gentoo boot CD's /proc/cpuinfo, dmesg and lspci and then provide some level of autoconfiguration and sane answers to a '/script/Configure'-like script that actually parses the 30+ 'Linux Kernel Configuration' config.in files where dependencies and options already are taken care of.
will we see 'make autoconfig --menuconfig' ? |
|
Back to top |
|
|
Lovechild Advocate
Joined: 17 May 2002 Posts: 2858 Location: Århus, Denmark
|
Posted: Wed Apr 23, 2003 7:31 am Post subject: |
|
|
The kernel it compiles won't run on my PC, it lack several important drivers... I wish someone would do some hardware detection, because I only have well known, well supported hardware so lacking drivers isn't a problem.
So I decided to fall back on "do it yourself", much safer. |
|
Back to top |
|
|
nerdbert l33t
Joined: 09 Feb 2003 Posts: 981 Location: Berlin
|
Posted: Wed Apr 23, 2003 8:35 am Post subject: |
|
|
it looks more like a proof of concept right now, but I'm quite sure that hardware detection will come.
I'm wondering if this will only work with the gentoo-sources. |
|
Back to top |
|
|
flickerfly l33t
Joined: 08 Nov 2002 Posts: 677 Location: Lanham, MD
|
Posted: Wed Apr 23, 2003 7:55 pm Post subject: |
|
|
nerdbert wrote: | it looks more like a proof of concept right now, but I'm quite sure that hardware detection will come. |
I agree, hope it moves beyond as long as it doesn't take away the manual config options.
Something like this alone would significantly demistify the install process for fresher users. I'd prefer my own kernel, but when helping a friend I'd let them start with this if (when?) it worked.
nerdbert wrote: | I'm wondering if this will only work with the gentoo-sources. |
/me nods curiously. _________________ An Evil Genious' Guide to Sheeple and How To Avoid Becoming One | 0x4C9EF4A |
|
Back to top |
|
|
Cuardin l33t
Joined: 06 Feb 2003 Posts: 713 Location: vasastaden.stockholm.se
|
Posted: Thu Apr 24, 2003 1:46 pm Post subject: |
|
|
Does anyone know how/if it backs up existing kernels and/or modules. I tend to recompile my kernel about once every other week, but being a little paranoid, I want to keep all my old kernels with modules and a nice changelog of what I have done.
//Daniel Armyr |
|
Back to top |
|
|
nerdbert l33t
Joined: 09 Feb 2003 Posts: 981 Location: Berlin
|
Posted: Thu Apr 24, 2003 3:14 pm Post subject: |
|
|
I'm quite sure it makes no backups. But you could try it with a kernel you don't use normaly. If you use gentoo-sources try:
genkernel vanilla-sources
[edit] we are not sure if it's supposed to work with every kernel version, as mentioned before. But give it a try. |
|
Back to top |
|
|
flickerfly l33t
Joined: 08 Nov 2002 Posts: 677 Location: Lanham, MD
|
Posted: Fri Apr 25, 2003 8:20 pm Post subject: |
|
|
Cuardin wrote: | Does anyone know how/if it backs up existing kernels and/or modules. I tend to recompile my kernel about once every other week, but being a little paranoid, I want to keep all my old kernels with modules and a nice changelog of what I have done. |
If a devel for this prog is watching, I'd like to second this as a feature request. _________________ An Evil Genious' Guide to Sheeple and How To Avoid Becoming One | 0x4C9EF4A |
|
Back to top |
|
|
Cuardin l33t
Joined: 06 Feb 2003 Posts: 713 Location: vasastaden.stockholm.se
|
Posted: Sat Apr 26, 2003 12:04 am Post subject: |
|
|
Submitted:
Bug 19972
//Daniel Armyr |
|
Back to top |
|
|
livewire Retired Dev
Joined: 03 Mar 2003 Posts: 42
|
Posted: Mon Apr 28, 2003 12:49 am Post subject: |
|
|
ok, im the genkernel/livecd/xfs-sources/gs-sources dev...
I just added a --buildpkg option to genkernel that packages
kernel,initrd,modules,config.
For now genkernel builds a kernel and initrd very similar
to livecd. Reason is for new users that have never
compiled a kernel. if the livecd boots, so should this.
and the above message was right.. this was released
more as a proof of concept.
Now its here and working.. so where do i wanna take it...
btw it only works with kernel ebuilds that export KV from
kernel.eclass. this is most the main kernels in portage. |
|
Back to top |
|
|
Cuardin l33t
Joined: 06 Feb 2003 Posts: 713 Location: vasastaden.stockholm.se
|
Posted: Mon Apr 28, 2003 1:23 am Post subject: |
|
|
Well, I will have a closer look, but I am surprised something like this isn't part of the standard Linux. It was the first util I coded myself ( Although I know too little of general linux to make a consumer-ready version )
//Daniel Armyr |
|
Back to top |
|
|
cchapman Guru
Joined: 16 Jan 2003 Posts: 440 Location: Fremont, NE
|
Posted: Sun May 11, 2003 7:53 am Post subject: |
|
|
I really like this feature. Worked great on the intial build. Now if only hardware detection (sorry I am repeating what everyone else said). Maybe I should look at doing an ebuild for that, it would be sweet to see this in Gentoo. |
|
Back to top |
|
|
panserg Apprentice
Joined: 16 Apr 2003 Posts: 188
|
Posted: Sun May 11, 2003 12:48 pm Post subject: |
|
|
gsfgf wrote: | Stable by gentoo standards means it at least will probobly come close to working and if you test it we can ge the kinks ironed out. (Though pleanty of perfectly working software is still masked) unmasked means it's been shown to work perfectly. |
Hmm...
Try to compile net-dialup/rp-pppoe, media-sound/festival and net-fs/openafs - they are unmasked and they are hopelessly broken. rp-pppoe compiles but doesn't work out of the box - you have to compile it manually with manually pulled out cvs sources of ppp. festival and openafs just do not compile. Developers know about both cases from bugzilla but ebuilds are still unmasked confusing innocent users.
Perhaps the fact that developers define stable as "ready for QA" (tell it in any enterprise - they will through you away b/c "stable" is "proved by both QA *AND* time as no known bugs") shows that the concept of stability itself has to be fixed in Gentoo development team. |
|
Back to top |
|
|
cchapman Guru
Joined: 16 Jan 2003 Posts: 440 Location: Fremont, NE
|
Posted: Wed May 14, 2003 3:36 pm Post subject: |
|
|
BTW this does not work from the get go. This is made to make a Live CD. |
|
Back to top |
|
|
flickerfly l33t
Joined: 08 Nov 2002 Posts: 677 Location: Lanham, MD
|
|
Back to top |
|
|
AlterEgo Veteran
Joined: 25 Apr 2002 Posts: 1619
|
Posted: Wed May 14, 2003 6:11 pm Post subject: |
|
|
Curous: how would genkernel deal with more than one kernel version on a box? And especially: what would happen with packages like alsa/nvidia-kernel, lm_sensors, that have very tight links to a specific kernel version, if you want to have more than one kernel on your box? |
|
Back to top |
|
|
nerdbert l33t
Joined: 09 Feb 2003 Posts: 981 Location: Berlin
|
Posted: Wed May 14, 2003 6:23 pm Post subject: |
|
|
the syntax is genkernel <*-sources> , so having more than one kernel shouldn't be a problem. |
|
Back to top |
|
|
|