All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] linux kernel versions vs. ltp release tags
@ 2020-12-01 12:22 Peter Gubka
  2020-12-01 12:55 ` Cyril Hrubis
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Gubka @ 2020-12-01 12:22 UTC (permalink / raw)
  To: ltp

Hello,
I would like to test linux with kernel version 5.4.47.
Is there any relation between ltp releases and kernel versions?
Regards,
Peter Gubka
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20201201/4481454d/attachment.htm>

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

* [LTP] linux kernel versions vs. ltp release tags
  2020-12-01 12:22 [LTP] linux kernel versions vs. ltp release tags Peter Gubka
@ 2020-12-01 12:55 ` Cyril Hrubis
  2020-12-01 14:27   ` Peter Gubka
  0 siblings, 1 reply; 4+ messages in thread
From: Cyril Hrubis @ 2020-12-01 12:55 UTC (permalink / raw)
  To: ltp

Hi!
> I would like to test linux with kernel version 5.4.47.
> Is there any relation between ltp releases and kernel versions?

Short answer: No.

More detailed answer:

LTP should be backwards compatible for about 10 years back for both
kernel and userspace (libc, gcc, etc.). I.e. latest should run fine on
10 years old distribution and anything newer. Latest LTP also contains
more testcases and fixes so in 99% of the cases it makes senes to use
either latest stable release or a git HEAD.

-- 
Cyril Hrubis
chrubis@suse.cz

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

* [LTP] linux kernel versions vs. ltp release tags
  2020-12-01 12:55 ` Cyril Hrubis
@ 2020-12-01 14:27   ` Peter Gubka
  2020-12-01 14:37     ` Cyril Hrubis
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Gubka @ 2020-12-01 14:27 UTC (permalink / raw)
  To: ltp

Hi.

thanks for the answer. In my particular case there is a test
https://github.com/linux-test-project/ltp/blob/b59c662104c8989704953d1e5dc8c3c6412daa2a/testcases/kernel/syscalls/sendto/sendto03.c
which causes kernel panic because it tests something which is not present
in my kernel.
Are there any recommendations on what to do in such a case?

Regards,
Peter Gubka

On Tue, Dec 1, 2020 at 1:54 PM Cyril Hrubis <chrubis@suse.cz> wrote:

> Hi!
> > I would like to test linux with kernel version 5.4.47.
> > Is there any relation between ltp releases and kernel versions?
>
> Short answer: No.
>
> More detailed answer:
>
> LTP should be backwards compatible for about 10 years back for both
> kernel and userspace (libc, gcc, etc.). I.e. latest should run fine on
> 10 years old distribution and anything newer. Latest LTP also contains
> more testcases and fixes so in 99% of the cases it makes senes to use
> either latest stable release or a git HEAD.
>
> --
> Cyril Hrubis
> chrubis@suse.cz
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20201201/922e4c48/attachment.htm>

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

* [LTP] linux kernel versions vs. ltp release tags
  2020-12-01 14:27   ` Peter Gubka
@ 2020-12-01 14:37     ` Cyril Hrubis
  0 siblings, 0 replies; 4+ messages in thread
From: Cyril Hrubis @ 2020-12-01 14:37 UTC (permalink / raw)
  To: ltp

Hi!
> thanks for the answer. In my particular case there is a test
> https://github.com/linux-test-project/ltp/blob/b59c662104c8989704953d1e5dc8c3c6412daa2a/testcases/kernel/syscalls/sendto/sendto03.c
> which causes kernel panic because it tests something which is not present
> in my kernel.
> Are there any recommendations on what to do in such a case?

Well the test in question is a regression test for a security
vunerability. If the test causes kernel panic that most likely means
that your kernel is vunerable and is missing the patch that that is
mentioned in the top level test commit.

-- 
Cyril Hrubis
chrubis@suse.cz

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

end of thread, other threads:[~2020-12-01 14:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-01 12:22 [LTP] linux kernel versions vs. ltp release tags Peter Gubka
2020-12-01 12:55 ` Cyril Hrubis
2020-12-01 14:27   ` Peter Gubka
2020-12-01 14:37     ` Cyril Hrubis

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.