Re: Kernel image and OOT auto builder environment (Was: Using out of tree modules in d-i)?

2013-05-26 Thread Ben Hutchings
On Sun, 2013-05-26 at 13:28 +0200, Turbo Fredriksson wrote:
> On May 26, 2013, at 3:31 AM, Ben Hutchings wrote:
> 
> > Absolutely not acceptable.  Out-of-tree modules must not hold up fixes
> > to the kernel.  It was bad enough when their build failures were
> > blocking each other in linux-modules-extra-2.6.
> 
> 
> So how much delay would be acceptable? One day? Twelve hours? Six?
> One?

None.

[...]
> My point being, that with a auto build system for kernels and
> OOT's,

Of course, Debian already has an auto-build system.

> at least we get a fighting chance of keeping the OOTs
> up to date. Without it, either the kernel maintainer(s) need
> to build the OOT's as well (and either manually try to fix any
> problems or hand it over to the OOT maintainer), or the OOT
> maintainer needs to monitor for any kernel update and then
> do their build and upload..

The kernel release cycle is 2-3 months.  That's either plenty of time to
fix an OOT module to work with the new kernel version, or else if the
module depends on some deep internal details that changed then it might
take a year to rewrite.

> If you jump from 3.9 (which I have on my production machines) to
> whatever comes next, say 4.0, then yes most likely it will fail.
> _IF_ the Debian GNU/Linux kernel maintainer creates a 4.0 kernel
> packages almost instantaneous when Linus releases it. But if the
> kernel maintainer have a little delay here, say 'a few days', it
> is most likely fixed in ZoL and a new source package is uploaded,
> so when the kernel maintainer DO make a 4.0 kernel, ZoL (and
> hopefully all OOTs) is ready for this..

In reality, most OOT modules in Debian are undermaintained.  But you
already get 2-3 months warning, not just a few days.

> And a jump like this (or 3.8 in wheezy to 4.0 in Jessie for example)
> would _NEVER_ happen within a release we support, only in 'sid', and
> 'a few hours' (maybe even a day?) would be acceptable there... ?

It is also acceptable for things to be temporarily uninstallable in
unstable.

Ben.

> Of course a fail will introduce manual labor, but that can never be
> avoided. But with a auto-kernel-build-system (tm), there won't ALWAYS
> be need for manual labor.

-- 
Ben Hutchings
Computers are not intelligent.  They only think they are.


signature.asc
Description: This is a digitally signed message part


Re: Kernel image and OOT auto builder environment (Was: Using out of tree modules in d-i)?

2013-05-26 Thread Turbo Fredriksson
On May 26, 2013, at 3:31 AM, Ben Hutchings wrote:

> Absolutely not acceptable.  Out-of-tree modules must not hold up fixes
> to the kernel.  It was bad enough when their build failures were
> blocking each other in linux-modules-extra-2.6.


So how much delay would be acceptable? One day? Twelve hours? Six?
One?

Do note that a build fail for a OOT should only happen at
a major version bump.

That is, if an OOT build for 'linux-image-3.2.0-4-amd64', version
3.2.41-2 (current wheezy kernel), it should build quite well on
whatever would be the next stable dist version (3.2.41-3 or maybe
even '3.2.42-1'?).


But if not even a second delay would be acceptable, then just
fail the OOT, notify it's maintainer but still upload the kernel.

My point being, that with a auto build system for kernels and
OOT's, at least we get a fighting chance of keeping the OOTs
up to date. Without it, either the kernel maintainer(s) need
to build the OOT's as well (and either manually try to fix any
problems or hand it over to the OOT maintainer), or the OOT
maintainer needs to monitor for any kernel update and then
do their build and upload..

Both of these introduces a lot of delays and manual work. I really
don't think that ALL OOTs will fail in such a case, ZoL I'm quite
sure wouldn't


If you jump from 3.9 (which I have on my production machines) to
whatever comes next, say 4.0, then yes most likely it will fail.
_IF_ the Debian GNU/Linux kernel maintainer creates a 4.0 kernel
packages almost instantaneous when Linus releases it. But if the
kernel maintainer have a little delay here, say 'a few days', it
is most likely fixed in ZoL and a new source package is uploaded,
so when the kernel maintainer DO make a 4.0 kernel, ZoL (and
hopefully all OOTs) is ready for this..

And a jump like this (or 3.8 in wheezy to 4.0 in Jessie for example)
would _NEVER_ happen within a release we support, only in 'sid', and
'a few hours' (maybe even a day?) would be acceptable there... ?


Of course a fail will introduce manual labor, but that can never be
avoided. But with a auto-kernel-build-system (tm), there won't ALWAYS
be need for manual labor.
--
Geologists recently discovered that "earthquakes" are
nothing more than Bruce Schneier and Chuck Norris
communicating via a roundhouse kick-based cryptosystem.


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/2111b0cc-0683-477b-837b-b0ab06e52...@bayour.com



Re: Kernel image and OOT auto builder environment (Was: Using out of tree modules in d-i)?

2013-05-25 Thread Ben Hutchings
On Fri, 2013-05-24 at 17:53 +0200, Turbo Fredriksson wrote:
> On May 22, 2013, at 3:52 PM, Ben Hutchings wrote:
> 
> > Quoting from the report of our 2009 meeting,
> > <20091015123106.ga16...@kyllikki.org>:
> >> out of tree modules
> >> ---
> >> 
> >> After a somewhat involved discussion taking into account the FTP
> >> masters extreme irritation about trying to match binaries to source by
> >> hand for the lenny release it was resolved to remove
> >> linux-modules-extra and -nonfree as they are an impossible to support
> >> approach.
> > 
> > The Built-Using header should cover FTP masters' concerns.  However it
> > is still the case that omnibus source packages are unsustainable as many
> > OOT modules are not kept up to date with the kernel API.
> 
> I haven't been keeping up with the inner workings of Debian GNU/Linux
> the last couple of years, so please take this as-is.
> 
> 
> Is it possible to setup an automatic build system for kernel and modules?

Of course it is.

[...]
> To clarify: the kernel maintainer does not build and upload the package
> to the archives, but only uploads the source package to this special
> build system and it will do the rest...
[...]

Absolutely not acceptable.  Out-of-tree modules must not hold up fixes
to the kernel.  It was bad enough when their build failures were
blocking each other in linux-modules-extra-2.6.

Ben.

-- 
Ben Hutchings
Computers are not intelligent.  They only think they are.


signature.asc
Description: This is a digitally signed message part


Re: Using out of tree modules in d-i?

2013-05-25 Thread Turbo Fredriksson
On May 25, 2013, at 10:12 PM, Bastian Blank wrote:

> Please show that CDDL does not impose additional restrictions over
> GPL-2.


Since you seem to have already settled the case once and for
all and are so sure about this, how about you prove your point?


It really doesn't matter who proves there point, they
are mutually exclusive...
-- 
Em - The battle cry of the cronical masturbater.
- Charlie Harper


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/0452f919-d6e1-45be-9bb5-710a8cde9...@bayour.com



Re: Using out of tree modules in d-i?

2013-05-25 Thread Bastian Blank
On Wed, May 22, 2013 at 05:16:39PM +0200, Turbo Fredriksson wrote:
> On May 22, 2013, at 3:52 PM, Ben Hutchings wrote:
> > Also, there are questions as to whether it would be legal.
> Legal as in CDDL clashes with GPL you mean?

Binaries of ZFS linked against the Linux kernel would be licensed under
both CDDL and GPL-2. This _does_ _not_ _work_.

> I've heard that to. It would be nice to hear, once and for all
> if this is the case or not...

Please show that CDDL does not impose additional restrictions over
GPL-2.

Bastian

-- 
... bacteriological warfare ... hard to believe we were once foolish
enough to play around with that.
-- McCoy, "The Omega Glory", stardate unknown


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130525201221.ga...@mail.waldi.eu.org



Re: [Pkg-zfsonlinux-devel] Kernel image and OOT auto builder environment (Was: Using out of tree modules in d-i)?

2013-05-25 Thread Turbo Fredriksson
On May 25, 2013, at 2:23 PM, Aron Xu wrote:

> just use DKMS to build OOT modules at
> image generation time? Seems to be a good idea.


If setting up a kernel-build-system on one of the
Debian GNU/Linux servers isn't an option, then this
would be a second best..

Then it will be up to the user building the image to
make sure (or skip) OOT's they don't want/need.


But if an official image is build, the OOT module will
still need to be up to date with the current kernel, so
this is not a perfect solution anyway.
--
Michael Jackson is not going to buried or cremated
but recycled into shopping bags so he can remain white,
plastic and dangerous for kids to play with.


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e73af69d-a04f-4848-b79b-8107f4a11...@bayour.com



Re: [Pkg-zfsonlinux-devel] Kernel image and OOT auto builder environment (Was: Using out of tree modules in d-i)?

2013-05-25 Thread Aron Xu
On Sat, May 25, 2013 at 3:08 AM, Turbo Fredriksson  wrote:
> On May 24, 2013, at 8:54 PM, Aron Xu wrote:
>
 What I can think of is to do the trick in d-i, since it already has
 the ability to retrieve and load udeb on the fly, and even prompt
 users for missing firmware.
>>>
>>> Maybe even build them using dkms? I saw that you can make d-i build
>>> all packages... So adding a extra hook or something that sees that this
>>> is a OOT module, then get it's dkms package, build (to a .deb/.udeb
>>> which I have patches sent upstream for) it and use that...
>>
>> It could be possible, but I don't think building it is acceptable,
>> because it means you must pull in everything of build-essential to the
>> d-i image, which is useless for most other people when they run d-i.
>
> Ah, ok then I think I know what you mean. I thought you meant when the
> d-i image is built...
>
> But how does this help keeping 'the current kernel' and the OOT's up-to-date?
>
> From what I think I understand of you proposal, the user. Which means we
> can't offer 'whatever-support-the-OOT-provides' globally in our install
> images. It would be up to the user to make sure that this is available.
>
>
> I was kind'a hoping we could do this as an organization and provide this
> for our users, instead of putting it to them to make it available for
> themselves.

Now I understand what you mean, just use DKMS to build OOT modules at
image generation time? Seems to be a good idea.



-- 
Regards,
Aron Xu


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAMr=8w6v=4b1+azgn2a4zub9znfsxmg30ntxdrlbaceucou...@mail.gmail.com



Re: [Pkg-zfsonlinux-devel] Kernel image and OOT auto builder environment (Was: Using out of tree modules in d-i)?

2013-05-24 Thread Turbo Fredriksson
On May 24, 2013, at 8:54 PM, Aron Xu wrote:

>>> What I can think of is to do the trick in d-i, since it already has
>>> the ability to retrieve and load udeb on the fly, and even prompt
>>> users for missing firmware.
>> 
>> Maybe even build them using dkms? I saw that you can make d-i build
>> all packages... So adding a extra hook or something that sees that this
>> is a OOT module, then get it's dkms package, build (to a .deb/.udeb
>> which I have patches sent upstream for) it and use that...
> 
> It could be possible, but I don't think building it is acceptable,
> because it means you must pull in everything of build-essential to the
> d-i image, which is useless for most other people when they run d-i.

Ah, ok then I think I know what you mean. I thought you meant when the
d-i image is built...

But how does this help keeping 'the current kernel' and the OOT's up-to-date?

From what I think I understand of you proposal, the user. Which means we
can't offer 'whatever-support-the-OOT-provides' globally in our install
images. It would be up to the user to make sure that this is available.


I was kind'a hoping we could do this as an organization and provide this
for our users, instead of putting it to them to make it available for
themselves.

--
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/cd9b3b40-3a48-473d-8cd0-643aa1440...@bayour.com



Re: [Pkg-zfsonlinux-devel] Kernel image and OOT auto builder environment (Was: Using out of tree modules in d-i)?

2013-05-24 Thread Aron Xu
On Sat, May 25, 2013 at 2:45 AM, Turbo Fredriksson  wrote:
> On May 24, 2013, at 7:04 PM, Aron Xu wrote:
>
>> and help d-i people to handle the brokenness
>> if a change in kernel makes the OOT module does not build
>
> This should only happen when a new major version of the kernel comes
> out, which means it should only happen in unstable..
>
> And we could make it so that it is possible to make that particular
> OOT skipped (manually or automatically after a specified time), and
> hence won't be available for that run of d-i.
>
> But within a oldstable or stable kernel, only the Debian version changes,
> right, so...
>
>
> But if a kernel changes a lot and often in unstable, support for that
> specific OOT will be intermittent. Might not be a huge problem in unstable.
> Unwanted, but not a huge deal...
>
>> What I can think of is to do the trick in d-i, since it already has
>> the ability to retrieve and load udeb on the fly, and even prompt
>> users for missing firmware.
>
> Maybe even build them using dkms? I saw that you can make d-i build
> all packages... So adding a extra hook or something that sees that this
> is a OOT module, then get it's dkms package, build (to a .deb/.udeb
> which I have patches sent upstream for) it and use that...
>

It could be possible, but I don't think building it is acceptable,
because it means you must pull in everything of build-essential to the
d-i image, which is useless for most other people when they run d-i.

>
> But either way would mean that the d-i builder have to do the fixing,
> instead of a group of people (should be the responsibility of the
> OOT module maintainer(s)).
>
>> Such functionality may be reused so that
>> related udebs can be fetched and loaded when selected, and if all
>> effort failed just generate an error message.
>
> What if an OOT is a network module? Might be needed before the network
> is up to fetch it...
>

This is what I've said that d-i can ask users for firmware, and the
case is usually network drivers:
http://wiki.debian.org/Firmware

> And if it's included in the monolithic image, then it will be up to
> the d-i builder/uploader to make sure that the module is available,
> not a group of people...
>





-- 
Regards,
Aron Xu


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAMr=8w7burLHc=0rStLTDSrge=se67jghvpajmu3rh_-p3q...@mail.gmail.com



Re: [Pkg-zfsonlinux-devel] Kernel image and OOT auto builder environment (Was: Using out of tree modules in d-i)?

2013-05-24 Thread Turbo Fredriksson
On May 24, 2013, at 7:04 PM, Aron Xu wrote:

> and help d-i people to handle the brokenness
> if a change in kernel makes the OOT module does not build

This should only happen when a new major version of the kernel comes
out, which means it should only happen in unstable..

And we could make it so that it is possible to make that particular
OOT skipped (manually or automatically after a specified time), and
hence won't be available for that run of d-i.

But within a oldstable or stable kernel, only the Debian version changes,
right, so...


But if a kernel changes a lot and often in unstable, support for that
specific OOT will be intermittent. Might not be a huge problem in unstable.
Unwanted, but not a huge deal...

> What I can think of is to do the trick in d-i, since it already has
> the ability to retrieve and load udeb on the fly, and even prompt
> users for missing firmware.

Maybe even build them using dkms? I saw that you can make d-i build
all packages... So adding a extra hook or something that sees that this
is a OOT module, then get it's dkms package, build (to a .deb/.udeb
which I have patches sent upstream for) it and use that...


But either way would mean that the d-i builder have to do the fixing,
instead of a group of people (should be the responsibility of the
OOT module maintainer(s)).

> Such functionality may be reused so that
> related udebs can be fetched and loaded when selected, and if all
> effort failed just generate an error message.

What if an OOT is a network module? Might be needed before the network
is up to fetch it...

And if it's included in the monolithic image, then it will be up to
the d-i builder/uploader to make sure that the module is available,
not a group of people...


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e46ce809-7a99-4572-9af2-64ee1f645...@bayour.com



Re: [Pkg-zfsonlinux-devel] Kernel image and OOT auto builder environment (Was: Using out of tree modules in d-i)?

2013-05-24 Thread Aron Xu
On Fri, May 24, 2013 at 11:53 PM, Turbo Fredriksson  wrote:
> On May 22, 2013, at 3:52 PM, Ben Hutchings wrote:
>
>> Quoting from the report of our 2009 meeting,
>> <20091015123106.ga16...@kyllikki.org>:
>>> out of tree modules
>>> ---
>>>
>>> After a somewhat involved discussion taking into account the FTP
>>> masters extreme irritation about trying to match binaries to source by
>>> hand for the lenny release it was resolved to remove
>>> linux-modules-extra and -nonfree as they are an impossible to support
>>> approach.
>>
>> The Built-Using header should cover FTP masters' concerns.  However it
>> is still the case that omnibus source packages are unsustainable as many
>> OOT modules are not kept up to date with the kernel API.
>
> I haven't been keeping up with the inner workings of Debian GNU/Linux
> the last couple of years, so please take this as-is.
>
>
> Is it possible to setup an automatic build system for kernel and modules?
>
> I know that we have (had?) an auto builder to build everything automatically
> (think it was mostly (?) used for the ports), but I was thinking about a
> special build system here. Very possibly just a modification of what we
> already have...
>
>
> That is, a special place to upload the kernel source to, and once the auto
> builder have successfully built a linux-image* package(s), then it will
> look in a special list for source packages to build as well. And once
> all those have succeeded to, THEN it will upload the kernel (and the
> OOT modules) to the ftp archive...
>
> To clarify: the kernel maintainer does not build and upload the package
> to the archives, but only uploads the source package to this special
> build system and it will do the rest...
>
> That way OOT modules should be able to keep up with the kernel releases
> and uploads without much (hopefully) extra work. And the added benefit
> is that once a new kernel version is available in the archives, the
> OOT modules will as well, without any extra lagg...
>
>
> This should be reasonably easy to do, and I volunteer to do the initial
> setup and/or prof-of-consept for all the versions we currently support
> (oldstable, stable and unstable).
>

Having something like this may (or may not) generally help, but I'm
not sure this is what we want to solve the problem. If OOT modules are
added into d-i images directly, then we must set up something like
this proposal to make sure the modules are available whenever a new
kernel ABI is uploaded, and help d-i people to handle the brokenness
if a change in kernel makes the OOT module does not build, or even
function badly. This is hard to do, and I think there could be easier
way for this specific issue.

What I can think of is to do the trick in d-i, since it already has
the ability to retrieve and load udeb on the fly, and even prompt
users for missing firmware. Such functionality may be reused so that
related udebs can be fetched and loaded when selected, and if all
effort failed just generate an error message.

By doing this a small check is performed to make sure the d-i kernel
and the OOT modules are matched, so that d-i may get the ability to
include OOT modules in the image, and the worst case is wasting
several megabytes in the resulting images. debian-cd may also be
improved to check OOT modules included in the image has correct
version info to work together with the target d-i kernel to avoid such
a waste. Finally, OOT modules may be listed in a separate list so that
users are aware what they are doing, and d-i team can coordinate with
maintainers of modules they want to include whenever an "official"
image is generated (e.g. release CDs).

As for how the small check would be implemented, the question can be
discussed later in more detail if we agree that it's the preferred way to
go with.

-- 
Regards,
Aron Xu


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAMr=8w7TsXC9tOYkws48sV0r+mv=mfzlb8l6z_3-xrqexfy...@mail.gmail.com



Kernel image and OOT auto builder environment (Was: Using out of tree modules in d-i)?

2013-05-24 Thread Turbo Fredriksson
On May 22, 2013, at 3:52 PM, Ben Hutchings wrote:

> Quoting from the report of our 2009 meeting,
> <20091015123106.ga16...@kyllikki.org>:
>> out of tree modules
>> ---
>> 
>> After a somewhat involved discussion taking into account the FTP
>> masters extreme irritation about trying to match binaries to source by
>> hand for the lenny release it was resolved to remove
>> linux-modules-extra and -nonfree as they are an impossible to support
>> approach.
> 
> The Built-Using header should cover FTP masters' concerns.  However it
> is still the case that omnibus source packages are unsustainable as many
> OOT modules are not kept up to date with the kernel API.

I haven't been keeping up with the inner workings of Debian GNU/Linux
the last couple of years, so please take this as-is.


Is it possible to setup an automatic build system for kernel and modules?

I know that we have (had?) an auto builder to build everything automatically
(think it was mostly (?) used for the ports), but I was thinking about a
special build system here. Very possibly just a modification of what we
already have...


That is, a special place to upload the kernel source to, and once the auto
builder have successfully built a linux-image* package(s), then it will
look in a special list for source packages to build as well. And once
all those have succeeded to, THEN it will upload the kernel (and the
OOT modules) to the ftp archive...

To clarify: the kernel maintainer does not build and upload the package
to the archives, but only uploads the source package to this special
build system and it will do the rest...

That way OOT modules should be able to keep up with the kernel releases
and uploads without much (hopefully) extra work. And the added benefit
is that once a new kernel version is available in the archives, the
OOT modules will as well, without any extra lagg...


This should be reasonably easy to do, and I volunteer to do the initial
setup and/or prof-of-consept for all the versions we currently support
(oldstable, stable and unstable).


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/7556b503-9234-4767-b6f1-b86d1280d...@bayour.com



Re: Using out of tree modules in d-i?

2013-05-22 Thread Ben Hutchings
On Wed, May 22, 2013 at 05:16:39PM +0200, Turbo Fredriksson wrote:
> On May 22, 2013, at 3:52 PM, Ben Hutchings wrote:
> 
> > Linux has plenty of fine filesystems to choose from already, so this is
> > not a must-have.
> 
> Ohhh, ouch! But I'm not going to bite... :)
> 
> > Also, there are questions as to whether it would be legal.
> 
> Legal as in CDDL clashes with GPL you mean?
> 
> I've heard that to. It would be nice to hear, once and for all
> if this is the case or not...

That's not how legal systems work, though.

> >> The kernel team would endorse the use of dkms as a way for out-of-tree
> >> module maintainers to get their modules auto-built.
> > 
> > Doesn't work for d-i, of course.
> 
> So what you're saying, in short, is that we can forget about it?

No, I'm just pointing out the obvious: installation support for ZoL is
going to be a case where the general recommendation for OOT module
packaging doesn't work.

Ben.

-- 
Ben Hutchings
We get into the habit of living before acquiring the habit of thinking.
  - Albert Camus


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130522184448.gg4...@decadent.org.uk



Re: Using out of tree modules in d-i?

2013-05-22 Thread Turbo Fredriksson
On May 22, 2013, at 3:52 PM, Ben Hutchings wrote:

> Linux has plenty of fine filesystems to choose from already, so this is
> not a must-have.

Ohhh, ouch! But I'm not going to bite... :)

> Also, there are questions as to whether it would be legal.

Legal as in CDDL clashes with GPL you mean?

I've heard that to. It would be nice to hear, once and for all
if this is the case or not...

>> The kernel team would endorse the use of dkms as a way for out-of-tree
>> module maintainers to get their modules auto-built.
> 
> Doesn't work for d-i, of course.

So what you're saying, in short, is that we can forget about it?



-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/f856aa6a-0cb7-41b8-b86c-303170d12...@bayour.com



Re: Using out of tree modules in d-i?

2013-05-22 Thread Ben Hutchings
On Wed, 2013-05-22 at 15:05 +0200, Cyril Brulebois wrote:
[...]
> I'm also not sure how kernel maintainers see (new) OOT modules in the
> archive (AFAIUI the general feeling is: there should be no OOT
> modules, period; but I might be misremembering things, I don't follow
> kernel things closely enough).
> 
> -kernel@: your opinion on those?

Quoting from the report of our 2009 meeting,
<20091015123106.ga16...@kyllikki.org>:
> out of tree modules
> ---
> 
> After a somewhat involved discussion taking into account the FTP
> masters extreme irritation about trying to match binaries to source by
> hand for the lenny release it was resolved to remove
> linux-modules-extra and -nonfree as they are an impossible to support
> approach.

The Built-Using header should cover FTP masters' concerns.  However it
is still the case that omnibus source packages are unsustainable as many
OOT modules are not kept up to date with the kernel API.

> A few modules the project really want/must have will be placed
> directly into the linux-2.6 source

Linux has plenty of fine filesystems to choose from already, so this is
not a must-have.  Also, there are questions as to whether it would be
legal.

> The kernel team would endorse the use of dkms as a way for out-of-tree
> module maintainers to get their modules auto-built.

Doesn't work for d-i, of course.

It might be possible to reintroduce OOT module support in the
linux-support-* packages (plus a metapackage) so that OOT module
maintainers could easily add binary packages of their modules for all
flavours.  But it would take a fair amount of work on both sides - it
requires a source upload and a trip through NEW for every kernel ABI
bump.

Ben.

> Ben Hutchings to talk to Greg K H about extra modules being merged
> into staging tree.

-- 
Ben Hutchings
friends: People who know you well, but like you anyway.


signature.asc
Description: This is a digitally signed message part


Using out of tree modules in d-i?

2013-05-22 Thread Cyril Brulebois
Hi,

Turbo proposed a few patches to add ZFSonLinux support to d-i. Using
'?' to mark some components as optional happens in several other
places, but I'm worried about using that for kernel modules[1].

 1. 
http://anonscm.debian.org/gitweb/?p=d-i/debian-installer.git;a=commitdiff;h=d8ef3f7047a005aced83ce77d88fb9952b3fea7e

Having out of tree modules means an extra sync is needed to get all
pieces together when the kernel bumps its version, when it comes to
migration to testing, and when it comes to releasing d-i. Not to
mention the usual “oops, OOT modules broke with that new kernel”. It's
also very unlikely that I'm going to be the one fixing those.

-boot@: am I painting a darker picture than what's ahead of us, or
does that look accurate enough?


I'm also not sure how kernel maintainers see (new) OOT modules in the
archive (AFAIUI the general feeling is: there should be no OOT
modules, period; but I might be misremembering things, I don't follow
kernel things closely enough).

-kernel@: your opinion on those?

Mraw,
KiBi.


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130522130521.gb1...@mraw.org