Re: [opensuse-kernel] Re: [RFC] Simplifying kernel configuration for distro issues

2012-07-19 Thread Steven Rostedt
On Sat, Jul 14, 2012 at 07:48:27PM +0200, Borislav Petkov wrote: Let's have an example: when I have to build upstream on a distro here, I take the distro config and use it despite that it takes a long time to build since everything is module - it is still better for me to wait that one time

Re: [opensuse-kernel] Re: [RFC] Simplifying kernel configuration for distro issues

2012-07-19 Thread Michal Marek
On 17.7.2012 10:03, Geert Uytterhoeven wrote: On Mon, Jul 16, 2012 at 10:56 PM, Linus Torvalds torva...@linux-foundation.org wrote: On Mon, Jul 16, 2012 at 12:26 PM, da...@lang.hm wrote: Some of the proposed ways to implement the minimum distro kernel would not allow you to override the

Re: [opensuse-kernel] Re: [RFC] Simplifying kernel configuration for distro issues

2012-07-19 Thread Borislav Petkov
On Thu, Jul 19, 2012 at 10:42:17AM -0400, Steven Rostedt wrote: On Sat, Jul 14, 2012 at 07:48:27PM +0200, Borislav Petkov wrote: Let's have an example: when I have to build upstream on a distro here, I take the distro config and use it despite that it takes a long time to build since

Re: [opensuse-kernel] Re: [RFC] Simplifying kernel configuration for distro issues

2012-07-19 Thread Steven Rostedt
On Thu, 2012-07-19 at 18:48 +0200, Borislav Petkov wrote: Also, if you are building on another box than what the kernel is for, you can go to that box and run 'lsmod /tmp/lsmod'. Copy that file to the build machine (into /tmp/lsmod), and then run 'make LSMOD=/tmp/lsmod localmodconfig',

Re: [opensuse-kernel] Re: [RFC] Simplifying kernel configuration for distro issues

2012-07-19 Thread Linus Torvalds
On Thu, Jul 19, 2012 at 9:48 AM, Borislav Petkov b...@amd64.org wrote: Seriously, this helps only in the cases where the stuff the distro actually needs is in modules. So, there probably are obscure situations where you need to enable stuff which is bool and not M. Sadly, not obscure at all.

Re: [opensuse-kernel] Re: [RFC] Simplifying kernel configuration for distro issues

2012-07-19 Thread Borislav Petkov
On Thu, Jul 19, 2012 at 01:02:46PM -0400, Steven Rostedt wrote: This is why I created the make-min-config in ktest. It keeps on disabling configs to see what the machine needs to boot (and optionally run some test), and what configs it can disable. It does not touch the multi options though.

Re: [opensuse-kernel] Re: [RFC] Simplifying kernel configuration for distro issues

2012-07-19 Thread Borislav Petkov
On Thu, Jul 19, 2012 at 10:06:44AM -0700, Linus Torvalds wrote: On Thu, Jul 19, 2012 at 9:48 AM, Borislav Petkov b...@amd64.org wrote: Seriously, this helps only in the cases where the stuff the distro actually needs is in modules. So, there probably are obscure situations where you need

Re: [opensuse-kernel] Re: [RFC] Simplifying kernel configuration for distro issues

2012-07-19 Thread Steven Rostedt
On Thu, 2012-07-19 at 19:34 +0200, Borislav Petkov wrote: I can pass the above to a allnoconfig, and the box will boot and allow ssh. Note, the reason for the serial config, is that this ktest run uses a serial port to see if the box booted. If the serial isn't there, then it thinks it

Re: [opensuse-kernel] Re: [RFC] Simplifying kernel configuration for distro issues

2012-07-19 Thread Borislav Petkov
On Thu, Jul 19, 2012 at 01:57:26PM -0400, Steven Rostedt wrote: Yes, I know you know this already, as we discussed it in a pub over a beer (choir practice). But this is a public forum on LKML (the church), where I now have an audience of heathens. Convert! Convert! You are all sinners! Ah,

Re: [opensuse-kernel] Re: [RFC] Simplifying kernel configuration for distro issues

2012-07-19 Thread Konrad Rzeszutek Wilk
On Thu, Jul 19, 2012 at 07:53:10PM +0200, Borislav Petkov wrote: On Thu, Jul 19, 2012 at 10:06:44AM -0700, Linus Torvalds wrote: On Thu, Jul 19, 2012 at 9:48 AM, Borislav Petkov b...@amd64.org wrote: Seriously, this helps only in the cases where the stuff the distro actually needs is

Re: [opensuse-kernel] Re: [RFC] Simplifying kernel configuration for distro issues

2012-07-18 Thread Ingo Molnar
* da...@lang.hm da...@lang.hm wrote: Anybody who says I want to run Fedora without SELINUX because I do my own security development is by *definition* not relevant to the whole feature. Don't mistake the example for the feature. the SELINUX thing is just an example. As Alan Cox

Re: [opensuse-kernel] Re: [RFC] Simplifying kernel configuration for distro issues

2012-07-18 Thread david
On Wed, 18 Jul 2012, Ingo Molnar wrote: * da...@lang.hm da...@lang.hm wrote: Anybody who says I want to run Fedora without SELINUX because I do my own security development is by *definition* not relevant to the whole feature. Don't mistake the example for the feature. the SELINUX thing is

Re: [opensuse-kernel] Re: [RFC] Simplifying kernel configuration for distro issues

2012-07-18 Thread Ingo Molnar
* da...@lang.hm da...@lang.hm wrote: On Wed, 18 Jul 2012, Ingo Molnar wrote: * da...@lang.hm da...@lang.hm wrote: Anybody who says I want to run Fedora without SELINUX because I do my own security development is by *definition* not relevant to the whole feature. Don't mistake the

Re: [opensuse-kernel] Re: [RFC] Simplifying kernel configuration for distro issues

2012-07-17 Thread Geert Uytterhoeven
On Mon, Jul 16, 2012 at 10:56 PM, Linus Torvalds torva...@linux-foundation.org wrote: On Mon, Jul 16, 2012 at 12:26 PM, da...@lang.hm wrote: Some of the proposed ways to implement the minimum distro kernel would not allow you to override the distro defaults because they would be implemented

Re: [opensuse-kernel] Re: [RFC] Simplifying kernel configuration for distro issues

2012-07-16 Thread Borislav Petkov
On Sun, Jul 15, 2012 at 03:09:12PM -0700, da...@lang.hm wrote: On Mon, 16 Jul 2012, Cyrill Gorcunov wrote: Replying to David's message (sorry for delay) I fear having a bunch of miniconfig files will end up in a mess. Maybe (maybe (!) I don't know since I've no time at moment to read kconfig

Re: [opensuse-kernel] Re: [RFC] Simplifying kernel configuration for distro issues

2012-07-16 Thread david
On Mon, 16 Jul 2012, Borislav Petkov wrote: On Sun, Jul 15, 2012 at 03:09:12PM -0700, da...@lang.hm wrote: On Mon, 16 Jul 2012, Cyrill Gorcunov wrote: Replying to David's message (sorry for delay) I fear having a bunch of miniconfig files will end up in a mess. Maybe (maybe (!) I don't know

Re: [opensuse-kernel] Re: [RFC] Simplifying kernel configuration for distro issues

2012-07-16 Thread Linus Torvalds
On Mon, Jul 16, 2012 at 9:43 AM, da...@lang.hm wrote: The problem is that you can't select the Fedora profile and then unselect SELINUX, so the profile will do you no good. Guys, stop it now. Your problem isn't what any sane person cares about, and isn't what I started the RFC for.

Re: [opensuse-kernel] Re: [RFC] Simplifying kernel configuration for distro issues

2012-07-16 Thread david
On Mon, 16 Jul 2012, Alan Cox wrote: Select the profile and then fixup the config the normal way. If what the admin wants is incompatible with the profile, admin doesn't select the profile. Thats ugly - distro except... is a standard thing you ask users to do for debugging. However

Re: [opensuse-kernel] Re: [RFC] Simplifying kernel configuration for distro issues

2012-07-16 Thread Alan Cox
Select the profile and then fixup the config the normal way. If what the admin wants is incompatible with the profile, admin doesn't select the profile. Thats ugly - distro except... is a standard thing you ask users to do for debugging. However providing you separate the initial profile

Re: [opensuse-kernel] Re: [RFC] Simplifying kernel configuration for distro issues

2012-07-16 Thread david
On Mon, 16 Jul 2012, Linus Torvalds wrote: On Mon, Jul 16, 2012 at 9:43 AM, da...@lang.hm wrote: The problem is that you can't select the Fedora profile and then unselect SELINUX, so the profile will do you no good. Guys, stop it now. Your problem isn't what any sane person cares about,

Re: [opensuse-kernel] Re: [RFC] Simplifying kernel configuration for distro issues

2012-07-16 Thread Linus Torvalds
On Mon, Jul 16, 2012 at 12:26 PM, da...@lang.hm wrote: Some of the proposed ways to implement the minimum distro kernel would not allow you to override the distro defaults because they would be implemented by setting dependancies, not by selecting options that you as the user could then

Re: [opensuse-kernel] Re: [RFC] Simplifying kernel configuration for distro issues

2012-07-16 Thread david
On Mon, 16 Jul 2012, Linus Torvalds wrote: On Mon, Jul 16, 2012 at 12:26 PM, da...@lang.hm wrote: Some of the proposed ways to implement the minimum distro kernel would not allow you to override the distro defaults because they would be implemented by setting dependancies, not by selecting

Re: [opensuse-kernel] Re: [RFC] Simplifying kernel configuration for distro issues

2012-07-15 Thread Borislav Petkov
On Sat, Jul 14, 2012 at 03:12:05PM +0300, Pekka Enberg wrote: We have make kvmconfig in the KVM tool tree that pretty much does that automatically. There's nothing tools/kvm specific about it so I guess you could merge that separately. Yes, something like KVMTOOL_TEST_ENABLE except not a make

Re: [opensuse-kernel] Re: [RFC] Simplifying kernel configuration for distro issues

2012-07-15 Thread Pekka Enberg
On Sun, Jul 15, 2012 at 1:14 PM, Borislav Petkov b...@amd64.org wrote: On Sat, Jul 14, 2012 at 03:12:05PM +0300, Pekka Enberg wrote: We have make kvmconfig in the KVM tool tree that pretty much does that automatically. There's nothing tools/kvm specific about it so I guess you could merge that

Re: [opensuse-kernel] Re: [RFC] Simplifying kernel configuration for distro issues

2012-07-15 Thread Borislav Petkov
On Sun, Jul 15, 2012 at 01:17:16PM +0300, Pekka Enberg wrote: Yes, something like KVMTOOL_TEST_ENABLE except not a make target but a Kconfig option. It is a config option too - make kvmconfig simply enables it. Right, so how about something more concrete in this whole discussion: Maybe

Re: [opensuse-kernel] Re: [RFC] Simplifying kernel configuration for distro issues

2012-07-15 Thread Cyrill Gorcunov
On Sun, Jul 15, 2012 at 11:18:48PM +0200, Borislav Petkov wrote: On Sun, Jul 15, 2012 at 01:17:16PM +0300, Pekka Enberg wrote: Yes, something like KVMTOOL_TEST_ENABLE except not a make target but a Kconfig option. It is a config option too - make kvmconfig simply enables it. Right,

Re: [opensuse-kernel] Re: [RFC] Simplifying kernel configuration for distro issues

2012-07-15 Thread david
On Mon, 16 Jul 2012, Cyrill Gorcunov wrote: Replying to David's message (sorry for delay) I fear having a bunch of miniconfig files will end up in a mess. Maybe (maybe (!) I don't know since I've no time at moment to read kconfig code and I'm not sure if this is right direction at all) it would

Re: [opensuse-kernel] Re: [RFC] Simplifying kernel configuration for distro issues

2012-07-15 Thread Cyrill Gorcunov
On Sun, Jul 15, 2012 at 03:09:12PM -0700, da...@lang.hm wrote: 3. by simply combining miniconfig files, you can combine sets of pre-defined options Wait, David, I'm lost. These miniconfigs should live somewhere on my home directory (if they are out of mainline tree)? Cyrill -- To

Re: [opensuse-kernel] Re: [RFC] Simplifying kernel configuration for distro issues

2012-07-15 Thread david
On Mon, 16 Jul 2012, Cyrill Gorcunov wrote: On Sun, Jul 15, 2012 at 03:09:12PM -0700, da...@lang.hm wrote: 3. by simply combining miniconfig files, you can combine sets of pre-defined options Wait, David, I'm lost. These miniconfigs should live somewhere on my home directory (if they are

Re: [opensuse-kernel] Re: [RFC] Simplifying kernel configuration for distro issues

2012-07-14 Thread Borislav Petkov
On Fri, Jul 13, 2012 at 11:41:21PM +0200, richard -rw- weinberger wrote: On Fri, Jul 13, 2012 at 10:54 PM, Myklebust, Trond trond.mykleb...@netapp.com wrote: We could at least make selection of a minimal set of drivers for the more common virtualised platforms a lot easier. Right now, you

Re: [opensuse-kernel] Re: [RFC] Simplifying kernel configuration for distro issues

2012-07-14 Thread Cyrill Gorcunov
On Sat, Jul 14, 2012 at 03:12:05PM +0300, Pekka Enberg wrote: On Sat, Jul 14, 2012 at 1:37 PM, Borislav Petkov b...@alien8.de wrote: On Fri, Jul 13, 2012 at 11:41:21PM +0200, richard -rw- weinberger wrote: On Fri, Jul 13, 2012 at 10:54 PM, Myklebust, Trond trond.mykleb...@netapp.com wrote:

Re: [opensuse-kernel] Re: [RFC] Simplifying kernel configuration for distro issues

2012-07-14 Thread Borislav Petkov
On Sat, Jul 14, 2012 at 04:43:32PM +0400, Cyrill Gorcunov wrote: For example to enable PCI driver for virtio devices I need to go to Device Drivers - Virtio drivers, while I think it would be great to have everything virt. related in Virtualization section. Actually, we need something more

Re: [opensuse-kernel] Re: [RFC] Simplifying kernel configuration for distro issues

2012-07-14 Thread Cyrill Gorcunov
On Sat, Jul 14, 2012 at 07:48:27PM +0200, Borislav Petkov wrote: On Sat, Jul 14, 2012 at 04:43:32PM +0400, Cyrill Gorcunov wrote: For example to enable PCI driver for virtio devices I need to go to Device Drivers - Virtio drivers, while I think it would be great to have everything virt.

Re: [opensuse-kernel] Re: [RFC] Simplifying kernel configuration for distro issues

2012-07-14 Thread david
On Sat, 14 Jul 2012, Cyrill Gorcunov wrote: On Sat, Jul 14, 2012 at 07:48:27PM +0200, Borislav Petkov wrote: On Sat, Jul 14, 2012 at 04:43:32PM +0400, Cyrill Gorcunov wrote: For example to enable PCI driver for virtio devices I need to go to Device Drivers - Virtio drivers, while I think it

Re: [opensuse-kernel] Re: [RFC] Simplifying kernel configuration for distro issues

2012-07-13 Thread richard -rw- weinberger
On Fri, Jul 13, 2012 at 10:54 PM, Myklebust, Trond trond.mykleb...@netapp.com wrote: We could at least make selection of a minimal set of drivers for the more common virtualised platforms a lot easier. Right now, you need to hunt through 30+ different menus in order to find what you need to