public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Speaking of new kernels being added to the tree
@ 2003-10-03  9:36 Brad Laue
  2003-10-03  9:54 ` Brad Laue
  2003-10-03 15:34 ` Brian Jackson
  0 siblings, 2 replies; 74+ messages in thread
From: Brad Laue @ 2003-10-03  9:36 UTC (permalink / raw
  To: gentoo-dev

Just reading the suse-sources thread - good idea, but I have a 
suggestion first.

I think we should wait on the inclusion of anything kernel related into 
the CVS tree until some more thought is put into how we're managing our 
kernel sources.

The kernel team seems to be both the smallest and most behind the times, 
and this is sad given that they're one of the most important teams 
involved in the project. We're two kernel versions behind (and don't 
justify that by claiming 2.4.21 or 2.4.22 had bugs, that doesn't fly), 
and show no signs of making it to a 2.4.23 release.

The kernel team needs more people. It needs to drastically reduce the 
number of kernels in the tree which are of a customized nature 
(xfs-sources, gs-sources, wolk-sources) until it can manage 
gentoo-sources in a timely fashion. The kernel team needs to build a 
subset of patches which form the core of the gentoo kernel. They then 
need to enable all the additional features provided by xfs-sources, 
wolk-sources and gs-sources on a per-use-flag basis, rather than having 
three kernels to manage, each with three different sets of incompatible 
patches. There obviously aren't enough resources to manage this.

Optionalizing features through the use of USE flags only makes sense. 
This is how all other things are done in Gentoo. I don't have nor do I 
intend to create six mozilla ports based on all the different sets of 
potentially incompatible USE flags present in the one ebuild, because to 
do so would make it impossible to manage. Why is the kernel any 
different? Why do many different people manage their own patchsets 
without collaborating and sharing resources to keep our official one up 
to date?

Brad.


--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 74+ messages in thread
* Re: [gentoo-dev] Speaking of new kernels being added to the tree
@ 2003-10-05 18:24 Sami Näätänen
  0 siblings, 0 replies; 74+ messages in thread
From: Sami Näätänen @ 2003-10-05 18:24 UTC (permalink / raw
  To: Gentoo-Dev

On Sunday 05 October 2003 18:53, Luke-Jr wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Sunday 05 October 2003 02:47 pm, Jason Stubbs wrote:
> > > I although don't suggest that -src
> > > suffix, but an option to the emerge, which tells it to install
> > > this software to package's SLOT="$P-src", from which I then could
> > > be looking in $PORT_SRC_DIR/$P-src.
> >
> > Agreed here. An option to emerge is much more intuitive.
>
> However, it prevents packages from DEPENDing on it. For example, if
> the kernels were to ever use the genkernel thing, nvidia-kernel might
> DEPEND on nvidia-kernel if it actually needed the source for it. I
> also don't think it should automaticly provide the package it is the
> source for until the user uses ebuild to install/merge it into the
> system.

Those modules can only be compiled to kernels that already has a
dependecy information made. So in older kernels this means make dep and
never kernels needs the config process done. After this point the
kernel include dir, which these packages need can be used.

The guestion is how would we manage the finding of the kernel include
dir for the source installed version. As I proposed the env variable
could be used if the user want's to build the package for different
kernel than the currently running kernel.

This would be good in other perspective too. Say we install new kernel
linux-2.6.0-test18 through this new version of portage. So it would
compile and install the kernel it's modules and the include tree. After
this portage could compile the module packages present in system to
this new kernel and add the module files to the module dir and to the
packages CONTENT file, so that all of the made modules would be removed
in a case where the corresponding package is removed from the system.
So Portage could set this kernel source variable to correct location
before compiling the module packages.

The variable should be kernel_includes or something, because that's
 what the packages need not the full source tree.
As an example the NVidia kernel module needs quite many header files to
determine the correct sizes of many kernel type definitions. And some
configuration information like was the kernel compiled with SMP support
or not. This all can be retrived from the kernel include dir and it's
sub directories.

> > > Oh and the kernel packages that would compile the kernel should
> > > install the kernel headers of the compiled kernel to
> > > /usr/src/linux-`uname -r`/include/
> > > so that any package that needs the real kernel headers can find
> > > them.
> >
> > Er, I'm pretty sure that the packages that need the source in
> > /usr/src/linux need more than just the headers - but don't quote me
> > on that!
>
> I can't think of any valid reason they would need to do so, but I've
> never done much of anything with the kernel.

Well that kind of perversive package will borke very fast.
And besides only thing I can think of that would need the kernel source
location is patch to kernel, but those should be delt before the kernel
installation not after.



--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 74+ messages in thread

end of thread, other threads:[~2003-10-05 18:32 UTC | newest]

Thread overview: 74+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-03  9:36 [gentoo-dev] Speaking of new kernels being added to the tree Brad Laue
2003-10-03  9:54 ` Brad Laue
2003-10-03 18:12   ` C. Brewer
2003-10-03 19:26     ` Donnie Berkholz
2003-10-04  0:41       ` C. Brewer
2003-10-04  2:05         ` Donnie Berkholz
2003-10-04  3:50           ` C. Brewer
2003-10-03 15:34 ` Brian Jackson
2003-10-03 16:23   ` Brad Laue
2003-10-03 17:10     ` Brian Jackson
     [not found]   ` <3F7DA0C3.3000303@gentoo.org>
2003-10-03 17:10     ` Brian Jackson
2003-10-03 17:15       ` Jon Portnoy
2003-10-03 23:50   ` Luke-Jr
2003-10-03 23:58     ` Kurt Lieber
2003-10-04  0:01       ` Jason Stubbs
2003-10-04  2:16         ` Luke-Jr
2003-10-04  0:15       ` Luke-Jr
2003-10-04  2:25         ` Jon Portnoy
2003-10-04  3:56           ` Luke-Jr
2003-10-04  4:29             ` Jason Stubbs
2003-10-04 12:40               ` Stuart Herbert
2003-10-04 13:10                 ` Luke-Jr
2003-10-04 13:51                   ` Stuart Herbert
2003-10-04 14:04                     ` Luke-Jr
2003-10-04 14:15                       ` Stuart Herbert
2003-10-04 14:36                         ` Luke-Jr
2003-10-04 15:09                           ` Stuart Herbert
2003-10-04 17:20                             ` Luke-Jr
2003-10-04 17:58                               ` Marius Mauch
2003-10-04 15:56                           ` Patrick Börjesson
2003-10-04 17:29                             ` Luke-Jr
2003-10-04 18:27                               ` Patrick Börjesson
2003-10-04 23:38                                 ` William Kenworthy
2003-10-05  0:48                                   ` Patrick Börjesson
     [not found]                                   ` <200310050343.49697.sn.ml@bayminer.com>
2003-10-05  1:52                                     ` William Kenworthy
2003-10-05  2:39                                 ` Luke-Jr
2003-10-04 13:33                 ` Stroller
2003-10-04 14:08                   ` William Kenworthy
2003-10-04 14:21                     ` Luke-Jr
2003-10-04 14:14                   ` Luke-Jr
2003-10-04 16:50                   ` Peter Ruskin
2003-10-04 13:50                 ` Patrick Börjesson
2003-10-04 13:57                   ` Luke-Jr
2003-10-04 16:13                     ` Jon Portnoy
2003-10-04 17:25                       ` Luke-Jr
2003-10-04 23:28                       ` Jason Stubbs
2003-10-05  0:17                         ` Kumba
2003-10-05  0:25                           ` James Harlow
2003-10-05  0:38                             ` Jason Stubbs
2003-10-05  0:48                               ` James Harlow
2003-10-05  2:10                               ` Kumba
2003-10-05  2:27                                 ` Jason Stubbs
2003-10-05  2:06                             ` Kumba
2003-10-05  2:44                               ` Jason Stubbs
2003-10-05  4:54                             ` Jon Portnoy
2003-10-05  5:28                             ` Kevyn Shortell
2003-10-05  0:50                           ` Jason Stubbs
2003-10-05  2:43                           ` Luke-Jr
2003-10-05  3:04                             ` Kumba
2003-10-05 14:24                               ` Luke-Jr
2003-10-05  5:22                         ` Kevyn Shortell
2003-10-05 11:30                           ` Jason Stubbs
     [not found]                             ` <200310051741.28963.sn.ml@bayminer.com>
2003-10-05 14:47                               ` Jason Stubbs
2003-10-05 15:53                                 ` Luke-Jr
2003-10-05 16:05                                   ` Luke-Jr
2003-10-04 13:06               ` Luke-Jr
2003-10-04  6:16             ` Donnie Berkholz
2003-10-04  6:34     ` Kumba
2003-10-04  7:27     ` Kevyn Shortell
2003-10-04 13:16       ` Luke-Jr
2003-10-04  2:03   ` Stroller
2003-10-04  2:08     ` Donnie Berkholz
2003-10-04  4:08       ` Stroller
  -- strict thread matches above, loose matches on Subject: below --
2003-10-05 18:24 Sami Näätänen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox