* (no subject)
@ 2004-03-22 9:18 Michael Frank
2004-03-22 9:40 ` [Swsusp-devel] (no subject) Cameron Patrick
2004-03-25 15:18 ` Marc Lehmann
0 siblings, 2 replies; 13+ messages in thread
From: Michael Frank @ 2004-03-22 9:18 UTC (permalink / raw)
To: pcg; +Cc: Pavel Machek, Software Suspend - Mailing Lists, kernel list
On Mon, 22 Mar 2004 01:29:34 +0100, Pavel Machek <pavel@ucw.cz> wrote:
>
> +/*
> + * Copyright (c) 2000-2002 Marc Alexander Lehmann <pcg@goof.com>
> + *
> + * Redistribution and use in source and binary forms, with or without modifica-
> + * tion, are permitted provided that the following conditions are met:
> + *
> + * 1. Redistributions of source code must retain the above copyright notice,
> + * this list of conditions and the following disclaimer.
> + *
> + * 2. Redistributions in binary form must reproduce the above copyright
> + * notice, this list of conditions and the following disclaimer in the
> + * documentation and/or other materials provided with the distribution.
> + *
> + * 3. The name of the author may not be used to endorse or promote products
> + * derived from this software without specific prior written permission.
>
> lzf compression should go under /lib, not under kernel/power, and
> probably should go in separately.
>
> This looks like BSD with advertising clause. I do not think you are
> allowed to link this with kernel. It does not follow kernel coding style.
Hello Marc,
As you will be aware, everone using swsusp2 loves to use your LZF functionality
which yields effective suspend/resume transfer rates of well above 100MB/s.
With inclusion of swsusp2 into kernel mainline drawing nearer, one _major_
issue was raised, which is the BSD license you released LZF under.
As said, BSD-only licensed code is _invalid_ to be linked with kernel code,
therefor swsusp2 will have to drop LZF alltogether unless you relicense it.
Would you please consider to relicense under GPL2, or GPL2 + BSD.
Intel does something like GPL2 + BSD this with ACPI btw. Please have a look
at their license.
This means in practice that GPL2 allows inclusion into the kernel, which
being opensource credits you, and other proprietary apps using the BSD
license will credit you in their documentation.
Also, as Pavel mentioned, LZF code should be put in /lib and cleaned up. This
is a chance to get LZF into the kernel and it would be much appreciated if you
please would take care of this. Thank you!
Regards
Michael
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Swsusp-devel] (no subject)
2004-03-22 9:18 Michael Frank
@ 2004-03-22 9:40 ` Cameron Patrick
2004-03-22 9:49 ` Arjan van de Ven
2004-03-22 10:15 ` [Swsusp-devel] (no subject) Pavel Machek
2004-03-25 15:18 ` Marc Lehmann
1 sibling, 2 replies; 13+ messages in thread
From: Cameron Patrick @ 2004-03-22 9:40 UTC (permalink / raw)
To: Michael Frank
Cc: pcg, Pavel Machek, Software Suspend - Mailing Lists, kernel list
Hi all,
Michael Frank wrote:
| >+ * 3. The name of the author may not be used to endorse or promote products
| >+ * derived from this software without specific prior written permission.
[...]
| >This looks like BSD with advertising clause. I do not think you are
| >allowed to link this with kernel. It does not follow kernel coding style.
[...]
| As said, BSD-only licensed code is _invalid_ to be linked with kernel code,
| therefor swsusp2 will have to drop LZF alltogether unless you relicense it.
The licence above looks like BSD /without/ advertising clause, which
is GPL compatible. Note that the (GPL-incompatible) advertising
clause is the one that says "mention me in your advertising materials"
whereas the above licence only requires mention in accompanying
documentation and says /not/ to use the name of the author to promote
derived works.
See also http://www.gnu.org/philosophy/license-list.html, under "The
modified BSD license":
This is the original BSD license, modified by removal of the
advertising clause. It is a simple, permissive non-copyleft free
software license, compatible with the GNU GPL.
The licence so described looks to me the same as LZF's licence.
Cheers,
Cameron.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Swsusp-devel] (no subject)
2004-03-22 9:40 ` [Swsusp-devel] (no subject) Cameron Patrick
@ 2004-03-22 9:49 ` Arjan van de Ven
2004-03-22 10:02 ` LZF inclusion in kernel Michael Frank
2004-03-22 18:21 ` [Swsusp-devel] lzf license Marc Lehmann
2004-03-22 10:15 ` [Swsusp-devel] (no subject) Pavel Machek
1 sibling, 2 replies; 13+ messages in thread
From: Arjan van de Ven @ 2004-03-22 9:49 UTC (permalink / raw)
To: Cameron Patrick
Cc: Michael Frank, pcg, Pavel Machek,
Software Suspend - Mailing Lists, kernel list
[-- Attachment #1: Type: text/plain, Size: 356 bytes --]
On Mon, 2004-03-22 at 10:40, Cameron Patrick wrote:
> The licence so described looks to me the same as LZF's licence.
however at least I would prefer the author to dual license it ANYWAY,
because compression stuff generally is riddled with patents; the author
GPL licensing it at least gives all users a license of the authors
patents (if any).
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* LZF inclusion in kernel
2004-03-22 9:49 ` Arjan van de Ven
@ 2004-03-22 10:02 ` Michael Frank
2004-03-22 18:21 ` [Swsusp-devel] lzf license Marc Lehmann
1 sibling, 0 replies; 13+ messages in thread
From: Michael Frank @ 2004-03-22 10:02 UTC (permalink / raw)
To: arjanv, Cameron Patrick
Cc: pcg, Pavel Machek, Software Suspend - Mailing Lists, kernel list
On Mon, 22 Mar 2004 10:49:48 +0100, Arjan van de Ven <arjanv@redhat.com> wrote:
> On Mon, 2004-03-22 at 10:40, Cameron Patrick wrote:
>
>> The licence so described looks to me the same as LZF's licence.
>
> however at least I would prefer the author to dual license it ANYWAY,
> because compression stuff generally is riddled with patents; the author
> GPL licensing it at least gives all users a license of the authors
> patents (if any).
>
Right, for kernel side the BSD license is too "simplistic".
I like to see a ACPI style license.
Regards
Michael
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Swsusp-devel] (no subject)
2004-03-22 9:40 ` [Swsusp-devel] (no subject) Cameron Patrick
2004-03-22 9:49 ` Arjan van de Ven
@ 2004-03-22 10:15 ` Pavel Machek
1 sibling, 0 replies; 13+ messages in thread
From: Pavel Machek @ 2004-03-22 10:15 UTC (permalink / raw)
To: Michael Frank, pcg, Software Suspend - Mailing Lists, kernel list
Hi!
> | >+ * 3. The name of the author may not be used to endorse or promote products
> | >+ * derived from this software without specific prior written permission.
> [...]
> | >This looks like BSD with advertising clause. I do not think you are
> | >allowed to link this with kernel. It does not follow kernel coding style.
> [...]
> | As said, BSD-only licensed code is _invalid_ to be linked with kernel code,
> | therefor swsusp2 will have to drop LZF alltogether unless you relicense it.
>
> The licence above looks like BSD /without/ advertising clause, which
> is GPL compatible. Note that the (GPL-incompatible) advertising
Yes, I was wrong. It indeed looks like BSD _without_
advertising.
Pavel
--
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Swsusp-devel] lzf license
2004-03-22 9:49 ` Arjan van de Ven
2004-03-22 10:02 ` LZF inclusion in kernel Michael Frank
@ 2004-03-22 18:21 ` Marc Lehmann
2004-03-23 11:47 ` Arjan van de Ven
2004-03-24 22:20 ` Nigel Cunningham
1 sibling, 2 replies; 13+ messages in thread
From: Marc Lehmann @ 2004-03-22 18:21 UTC (permalink / raw)
To: Arjan van de Ven
Cc: Cameron Patrick, Michael Frank, Pavel Machek,
Software Suspend - Mailing Lists, kernel list
On Mon, Mar 22, 2004 at 10:49:48AM +0100, Arjan van de Ven <arjanv@redhat.com> wrote:
> > The licence so described looks to me the same as LZF's licence.
>
> however at least I would prefer the author to dual license it ANYWAY,
> because compression stuff generally is riddled with patents; the author
> GPL licensing it at least gives all users a license of the authors
> patents (if any).
I would like to avoid dual-licensing and instead change the existing
license to suit any needs, if at all possible. (Note that relicensing
should be possible, at least this was my original goal).
If patents are an issue, how about adding this:
4. The author is unaware of any existing patents and disclaims any
patents, or other restrictions, on the LZF algorithm or this
implementation.
I would add this clause to both future lzf distributions as well as the
file that is part of the lzf patch.
If there are unavoidable reasons why the GPL is required, then I'd bite
the bullet and dual-license it, in the hope that further bugfixes or
modifications will be contributed under both licenses.
--
-----==- |
----==-- _ |
---==---(_)__ __ ____ __ Marc Lehmann +--
--==---/ / _ \/ // /\ \/ / pcg@goof.com |e|
-=====/_/_//_/\_,_/ /_/\_\ XX11-RIPE --+
The choice of a GNU generation |
|
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Swsusp-devel] lzf license
2004-03-22 18:21 ` [Swsusp-devel] lzf license Marc Lehmann
@ 2004-03-23 11:47 ` Arjan van de Ven
2004-03-25 15:02 ` Marc Lehmann
2004-03-24 22:20 ` Nigel Cunningham
1 sibling, 1 reply; 13+ messages in thread
From: Arjan van de Ven @ 2004-03-23 11:47 UTC (permalink / raw)
To: Cameron Patrick, Michael Frank, Pavel Machek,
Software Suspend - Mailing Lists, kernel list
[-- Attachment #1: Type: text/plain, Size: 1237 bytes --]
On Mon, Mar 22, 2004 at 07:21:21PM +0100, Marc Lehmann wrote:
> If there are unavoidable reasons why the GPL is required, then I'd bite
> the bullet and dual-license it, in the hope that further bugfixes or
> modifications will be contributed under both licenses.
dual licensing is a LOT easier. Really; esp since it becomes GPL anyway sort
of when it's distributed as part of the kernel..
About bugfixes; I'd recommend using something like:
Alternatively, the contents of this file may be used under the
terms of the GNU General Public License version 2 (the "GPL"), in which
case the provisions of the GPL are applicable instead of the
above. If you wish to allow the use of your version of this file
only under the terms of the GPL and not to allow others to use
your version of this file under the BSD license, indicate your decision
by deleting the provisions above and replace them with the notice
and other provisions required by the GPL. If you do not delete
the provisions above, a recipient may use your version of this
file under either the BSD or the GPL.
like the pcmcia code does; eg you say "if you send me stuff I assume it's
dual licensed too unless you indicate otherwise".
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Swsusp-devel] lzf license
2004-03-22 18:21 ` [Swsusp-devel] lzf license Marc Lehmann
2004-03-23 11:47 ` Arjan van de Ven
@ 2004-03-24 22:20 ` Nigel Cunningham
2004-03-25 14:26 ` Marc Lehmann
1 sibling, 1 reply; 13+ messages in thread
From: Nigel Cunningham @ 2004-03-24 22:20 UTC (permalink / raw)
To: Marc Lehmann
Cc: Arjan van de Ven, Cameron Patrick, Michael Frank, Pavel Machek,
Software Suspend - Mailing Lists, Linux Kernel Mailing List
Hi.
I'm not sure what the verdict is in the end. Do we need changes to the
license? If so, could you send me a patch, Marc?
Regards,
Nigel
On Tue, 2004-03-23 at 06:21, Marc Lehmann wrote:
> On Mon, Mar 22, 2004 at 10:49:48AM +0100, Arjan van de Ven <arjanv@redhat.com> wrote:
> > > The licence so described looks to me the same as LZF's licence.
> >
> > however at least I would prefer the author to dual license it ANYWAY,
> > because compression stuff generally is riddled with patents; the author
> > GPL licensing it at least gives all users a license of the authors
> > patents (if any).
>
> I would like to avoid dual-licensing and instead change the existing
> license to suit any needs, if at all possible. (Note that relicensing
> should be possible, at least this was my original goal).
>
> If patents are an issue, how about adding this:
>
> 4. The author is unaware of any existing patents and disclaims any
> patents, or other restrictions, on the LZF algorithm or this
> implementation.
>
> I would add this clause to both future lzf distributions as well as the
> file that is part of the lzf patch.
>
> If there are unavoidable reasons why the GPL is required, then I'd bite
> the bullet and dual-license it, in the hope that further bugfixes or
> modifications will be contributed under both licenses.
--
Nigel Cunningham
C/- Westminster Presbyterian Church Belconnen
61 Templeton Street, Cook, ACT 2614.
+61 (2) 6251 7727(wk); +61 (2) 6253 0250 (home)
Evolution (n): A hypothetical process whereby infinitely improbable events occur
with alarming frequency, order arises from chaos, and no one is given credit.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Swsusp-devel] lzf license
2004-03-24 22:20 ` Nigel Cunningham
@ 2004-03-25 14:26 ` Marc Lehmann
2004-03-25 14:56 ` Pavel Machek
0 siblings, 1 reply; 13+ messages in thread
From: Marc Lehmann @ 2004-03-25 14:26 UTC (permalink / raw)
To: Nigel Cunningham, Pavel Machek
Cc: Arjan van de Ven, Cameron Patrick, Michael Frank, Pavel Machek,
Software Suspend - Mailing Lists, Linux Kernel Mailing List
On Thu, Mar 25, 2004 at 10:20:48AM +1200, Nigel Cunningham <ncunningham@users.sourceforge.net> wrote:
> I'm not sure what the verdict is in the end. Do we need changes to the
> license? If so, could you send me a patch, Marc?
I have no idea. I made an offer on how to change the license, if that
isn't ok, I'd like to hear.
On Thu, Mar 25, 2004 at 12:47:37PM +0100, Pavel Machek <pavel@ucw.cz> wrote:
> Linking BSD w/o advertising with kernel is okay, but it would taint
> the kernel, and is bad idea w.r.t. patents, anyway. Dual BSD/GPL is
> better way to go.
Well, if there is any problem with relicensing the code as GPL, let me
know. I offered to change the license to make this smoother, but lots of
kernel code came from a bsd license and was relicensed before.
If there are problems with that, I'd like to hear. I see no point in
keeping the code out just because it isn't gpl, but I don't see a point
in making the original distribution dual licensed for no reason. (and, as
I said, there is lots of bsd-derived code in the kernel and I am _really_
keen on getting rid of any problems that forbid relicensing).
I am now back from the cebit and much more responsive, btw.
--
-----==- |
----==-- _ |
---==---(_)__ __ ____ __ Marc Lehmann +--
--==---/ / _ \/ // /\ \/ / pcg@goof.com |e|
-=====/_/_//_/\_,_/ /_/\_\ XX11-RIPE --+
The choice of a GNU generation |
|
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Swsusp-devel] lzf license
2004-03-25 14:26 ` Marc Lehmann
@ 2004-03-25 14:56 ` Pavel Machek
2004-03-28 0:43 ` Marc Lehmann
0 siblings, 1 reply; 13+ messages in thread
From: Pavel Machek @ 2004-03-25 14:56 UTC (permalink / raw)
To: Nigel Cunningham, Pavel Machek, Arjan van de Ven, Cameron Patrick,
Michael Frank, Pavel Machek, Software Suspend - Mailing Lists,
Linux Kernel Mailing List
Hi!
> > Linking BSD w/o advertising with kernel is okay, but it would taint
> > the kernel, and is bad idea w.r.t. patents, anyway. Dual BSD/GPL is
> > better way to go.
>
> Well, if there is any problem with relicensing the code as GPL, let me
> know. I offered to change the license to make this smoother, but lots of
> kernel code came from a bsd license and was relicensed before.
>
> If there are problems with that, I'd like to hear. I see no point in
> keeping the code out just because it isn't gpl, but I don't see a point
> in making the original distribution dual licensed for no reason. (and, as
> I said, there is lots of bsd-derived code in the kernel and I am _really_
> keen on getting rid of any problems that forbid relicensing).
So if Nigel takes the BSD license out and replaces it with GPL,
thats okay with you?
--
64 bytes from 195.113.31.123: icmp_seq=28 ttl=51 time=448769.1 ms
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Swsusp-devel] lzf license
2004-03-23 11:47 ` Arjan van de Ven
@ 2004-03-25 15:02 ` Marc Lehmann
0 siblings, 0 replies; 13+ messages in thread
From: Marc Lehmann @ 2004-03-25 15:02 UTC (permalink / raw)
To: Arjan van de Ven, linux-kernel
Cc: Cameron Patrick, Michael Frank, Pavel Machek,
Software Suspend - Mailing Lists, kernel list
On Tue, Mar 23, 2004 at 12:47:26PM +0100, Arjan van de Ven <arjanv@redhat.com> wrote:
> About bugfixes; I'd recommend using something like:
That sounds reasonable. Sorry for the delay, but I didn't receive your
mail earlier (not being on the cc:).
I have added this notice to all core files of the distribution and
released it as 1.3, assuming that this solves all the problems. It can
temporarily be found here: http://data.plan9.de/liblzf-1.3.tar.gz
The files in the kernel diverge a tiny bit (being a slight subset), and I
think it's easiest to just add the additional notice to the files:
kernel/power/lzf/lzf_c.c
kernel/power/lzf/lzf_d.c
The following should be applied to both files:
diff -u -p
@@ -24,6 +24,16 @@
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTH-
* ERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
* OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ * Alternatively, the contents of this file may be used under the terms of
+ * the GNU General Public License version 2 (the "GPL"), in which case the
+ * provisions of the GPL are applicable instead of the above. If you wish to
+ * allow the use of your version of this file only under the terms of the
+ * GPL and not to allow others to use your version of this file under the
+ * BSD license, indicate your decision by deleting the provisions above and
+ * replace them with the notice and other provisions required by the GPL. If
+ * you do not delete the provisions above, a recipient may use your version
+ * of this file under either the BSD or the GPL.
*/
--
-----==- |
----==-- _ |
---==---(_)__ __ ____ __ Marc Lehmann +--
--==---/ / _ \/ // /\ \/ / pcg@goof.com |e|
-=====/_/_//_/\_,_/ /_/\_\ XX11-RIPE --+
The choice of a GNU generation |
|
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Swsusp-devel] (no subject)
2004-03-22 9:18 Michael Frank
2004-03-22 9:40 ` [Swsusp-devel] (no subject) Cameron Patrick
@ 2004-03-25 15:18 ` Marc Lehmann
1 sibling, 0 replies; 13+ messages in thread
From: Marc Lehmann @ 2004-03-25 15:18 UTC (permalink / raw)
To: Michael Frank; +Cc: Pavel Machek, Software Suspend - Mailing Lists, kernel list
On Mon, Mar 22, 2004 at 05:18:57PM +0800, Michael Frank <mhf@linuxmail.org> wrote:
> Also, as Pavel mentioned, LZF code should be put in /lib and cleaned up.
I fully agree. Unfortunately, I have about zero time for any such project
in the foreseeable future (It'd need more time since my knowledge about
integration issues is extremely scarce, and I am swamped with other work).
The code in the kernel required a few features not available with earlier
lzf releases (e.g. passing the the hash table via args instead of
allocating it on the stack).
The standard 1.3 release is configurable via defines in this respect
(-DAVOID_ERRNO -DLZF_STATE_ARG), and would be better suited for inclusion
in the kernel (the code would be byte-identical in the userspace and
kernel version), but making a patch would require some testing, to make
sure the new code compiles etc.
Also, as used in software-suspend2, the user must #define symbols (see
the beginning of kernel/power/lzfcompress.c) and include the c files
directly. When making them library functions one would need to choose
a reasonable default. Copying lzfP.h into include/linux and editing it
should be enough, though.
--
-----==- |
----==-- _ |
---==---(_)__ __ ____ __ Marc Lehmann +--
--==---/ / _ \/ // /\ \/ / pcg@goof.com |e|
-=====/_/_//_/\_,_/ /_/\_\ XX11-RIPE --+
The choice of a GNU generation |
|
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Swsusp-devel] lzf license
2004-03-25 14:56 ` Pavel Machek
@ 2004-03-28 0:43 ` Marc Lehmann
0 siblings, 0 replies; 13+ messages in thread
From: Marc Lehmann @ 2004-03-28 0:43 UTC (permalink / raw)
To: Pavel Machek
Cc: Nigel Cunningham, Pavel Machek, Arjan van de Ven, Cameron Patrick,
Michael Frank, Software Suspend - Mailing Lists,
Linux Kernel Mailing List
On Thu, Mar 25, 2004 at 03:56:39PM +0100, Pavel Machek <pavel@suse.cz> wrote:
> > If there are problems with that, I'd like to hear. I see no point in
> > keeping the code out just because it isn't gpl, but I don't see a point
> > in making the original distribution dual licensed for no reason. (and, as
> > I said, there is lots of bsd-derived code in the kernel and I am _really_
> > keen on getting rid of any problems that forbid relicensing).
>
> So if Nigel takes the BSD license out and replaces it with GPL,
> thats okay with you?
Yes. I believe this was always possible, and should now be rather explicit
with the changes I made.
However, I do not endorse it nor can I see why this should be necessary,
as other parts of the kernel are distributed with dual licensing left
intact, and I don't see why lzf is special.
But, again, relicensing is now explicitly allowed, I am aware of the
fact that this means that one can replace the license with GPL-only and
explicitly allow this happen with or without my consent. This was a
conscious decision etc.. etc.. :)
I hope it'sclear now that relicensing can happen anytime if necessary,
regardless of what my opinion on this is. I also don't need any further
explanations (unless you want to) and would hope that this issue is now
solved and fixing/merging plans can now continue.
--
-----==- |
----==-- _ |
---==---(_)__ __ ____ __ Marc Lehmann +--
--==---/ / _ \/ // /\ \/ / pcg@goof.com |e|
-=====/_/_//_/\_,_/ /_/\_\ XX11-RIPE --+
The choice of a GNU generation |
|
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2004-03-28 0:44 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-22 9:18 Michael Frank
2004-03-22 9:40 ` [Swsusp-devel] (no subject) Cameron Patrick
2004-03-22 9:49 ` Arjan van de Ven
2004-03-22 10:02 ` LZF inclusion in kernel Michael Frank
2004-03-22 18:21 ` [Swsusp-devel] lzf license Marc Lehmann
2004-03-23 11:47 ` Arjan van de Ven
2004-03-25 15:02 ` Marc Lehmann
2004-03-24 22:20 ` Nigel Cunningham
2004-03-25 14:26 ` Marc Lehmann
2004-03-25 14:56 ` Pavel Machek
2004-03-28 0:43 ` Marc Lehmann
2004-03-22 10:15 ` [Swsusp-devel] (no subject) Pavel Machek
2004-03-25 15:18 ` Marc Lehmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox