LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-05-2021, 07:44 PM   #7291
jwoithe
Member
 
Registered: Oct 2019
Posts: 73

Rep: Reputation: 88
Suggestion: Disable CONFIG_DEVKMEM


It appears that Slackware still enables the /dev/kmem interface. From kernels/huge.s/config in Slackware64-current:
Code:
CONFIG_DEVKMEM=y
Recent discussions on LKML suggest that /dev/kmem may be removed from the kernel soon on the basis that nothing of significance uses it anymore and it represents a significant security risk. Furthermore, in a recent lwn.net article it was written:
Quote:
One will have to look long and hard for a distributor that enables this option in 2021; most of them disabled it many years ago.
It therefore seems prudent to at least consider the disabling of CONFIG_DEVKMEM in kernels supplied by Slackware.
 
4 members found this post helpful.
Old 04-05-2021, 08:44 PM   #7292
Nobby6
Member
 
Registered: Jul 2012
Location: Sunshine Coast, Australia
Distribution: Slackware 64
Posts: 237
Blog Entries: 1

Rep: Reputation: 212Reputation: 212Reputation: 212
request to add to current

opal and ptlib



https://sourceforge.net/projects/opa...ni/Stable%207/


These are required for some VoIP tools
 
Old 04-06-2021, 01:13 PM   #7293
saxa
Senior Member
 
Registered: Aug 2004
Location: Nova Gorica, Salvador
Distribution: Slackware
Posts: 1,213

Rep: Reputation: 297Reputation: 297Reputation: 297
graphene-1.10.6
https://download.gnome.org/sources/g...-1.10.6.tar.xz
 
Old 04-06-2021, 01:58 PM   #7294
atelszewski
Member
 
Registered: Aug 2007
Distribution: Slackware
Posts: 948

Rep: Reputation: Disabled
Hi,

KDE team decided to maintain security/usability patches for Qt 5.15 (till KDE is ported to Qt6).
It would be a good idea to follow, watch and incorporate them in Slackware.

--
Best regards,
Andrzej Telszewski
 
1 members found this post helpful.
Old 04-06-2021, 05:13 PM   #7295
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,683

Rep: Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375
I am a little confused by the latest changelog. Is Pat saying he is going to jump to kernel 5.12 or does he just mean the next version release of 5.10.x?

Code:
Tue Apr 6 19:54:52 UTC 2021
Thanks to nobodino and ponce for help fixing a few sources that wouldn't
build properly. Overnight I tested recompiling everything using gcc-10.3.0-RC
and had no build failures, so we'll be taking gcc-10.3.0 once it (and new
kernels) arrive probably sometime next week. And then I think we'll be calling
this a beta. Cheers! :-)
 
Old 04-06-2021, 05:16 PM   #7296
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Quote:
Originally Posted by Daedra View Post
I am a little confused by the latest changelog. Is Pat saying he is going to jump to kernel 5.12 or does he just mean the next version release of 5.10.x?
I guess he means 5.10.x, plus 5.11.y in /testing
 
1 members found this post helpful.
Old 04-06-2021, 05:25 PM   #7297
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,683

Rep: Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375
Quote:
Originally Posted by Didier Spaier View Post
I guess he means 5.10.x, plus 5.11.y in /testing
That's what I assume too. 5.10.x in release. But I think he will probably go 5.12 in testing since that is due out in a week or two.
 
Old 04-06-2021, 05:38 PM   #7298
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Assuming no major hiccups with the expected 5.12 rc7 kernel this next Sunday (11 APR), Linus believes that the normal release schedule should be met for 5.12, which would mean releasing it on Sunday the 18th.

So based on those expected dates and knowing the US considers Sunday to be the first day of the week, I'd guess it'd be just newer 5.10.x or 5.11.x, but I wouldn't think that'd be a big enough deal to announce in the ChangeLog. So maybe he's following ISO 8601 stating that Monday is the start of the week and Sunday the 18th would be the end of "next week" and is announcing that 5.11 will be replaced with 5.12 in testing/.

Haha, we always look way too much into these changelog messages

https://i.imgur.com/1uTMp9L.jpg
 
Old 04-06-2021, 05:42 PM   #7299
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
I suggest to replace asciidoc by asciidoctor that supersedes it, either in the linux-doc packages or in its own package. It is fully compatible with the asciidoc syntax, so convtags should still work

Links: https://asciidoctor.org/ and http://slackbuilds.org/repository/14...m-asciidoctor/
 
Old 04-06-2021, 10:31 PM   #7300
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
With the 15.0 beta coming out next week or so it would be nice if the final choice of kernel held the long waited for fix for the Amazon Kindle device:

https://github.com/torvalds/linux/co...4364542fa3f3a7

I have been patching my working kernel for some time now to get around an odd 'unmounting' issue with my Kindle Oasis and with the eventual backport of this fix the need will be gone...

The original bug here...
 
Old 04-06-2021, 11:24 PM   #7301
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by andrew.46 View Post
With the 15.0 beta coming out next week or so it would be nice if the final choice of kernel held the long waited for fix for the Amazon Kindle device:

https://github.com/torvalds/linux/co...4364542fa3f3a7

I have been patching my working kernel for some time now to get around an odd 'unmounting' issue with my Kindle Oasis and with the eventual backport of this fix the need will be gone...

The original bug here...
According to this comment, upstream has fixed this. Looking over the commit history for 5.10, it should be in 5.10.26, which means the fix has been in -current since 26 MAR. (It's been in the 5.11.x series since 5.11.9, so that's been fixed on -current since 25 MAR.)

Code:
Alan Stern (1):
      usb-storage: Add quirk to defeat Kindle's automatic unload

SOURCE: 5.10.26 Release notes
No more need to patch your kernels!

Last edited by bassmadrigal; 04-07-2021 at 12:36 AM. Reason: Fix link
 
2 members found this post helpful.
Old 04-07-2021, 12:17 AM   #7302
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
Quote:
Originally Posted by bassmadrigal View Post
According to this comment, upstream has fixed this.
Your link is broken but I think you are referring to the Calibre fix which did not do anything useful with my Kindle Oasis unfortunately. From the time of the original bug report I have simply been compiling a 'safe' kernel for everyday use that has the problem patch reversed.

Quote:
Looking over the commit history for 5.10, it should be in 5.10.26, which means the fix has been in -current since 26 MAR. (It's been in the 5.11.x series since 5.11.9, so that's been fixed on -current since 25 MAR.)
Thanks for that, I have been using 5.10.18 on -current so the incorporation of the fix went completely unnoticed by me .

Quote:
No more need to patch your kernels!
Perhaps no need any more so now I will just do it for fun!
 
Old 04-07-2021, 12:39 AM   #7303
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by andrew.46 View Post
Your link is broken but I think you are referring to the Calibre fix which did not do anything useful with my Kindle Oasis unfortunately. From the time of the original bug report I have simply been compiling a 'safe' kernel for everyday use that has the problem patch reversed.
Oops! I fixed the link. It was the bottom comment of the kernel bug report you linked to. It said the fix has been done in 5.12 and will be backported to all active kernels back to 4.14 (so, 4.14, 4.19, 5.4, 5.10, and 5.11).

I just searched the commit history for 5.10 and 5.11 for the title of the patch you linked to, and it shows it should be in 5.10.26 and 5.11.9.
 
1 members found this post helpful.
Old 04-07-2021, 12:40 AM   #7304
teoberi
Member
 
Registered: Jan 2018
Location: Romania
Distribution: Slackware64-current (servers)/Windows 11/Ubuntu (workstations)
Posts: 606

Rep: Reputation: 349Reputation: 349Reputation: 349Reputation: 349
Anyway: 5.12 kernel as the first option or if not in /testing.
 
1 members found this post helpful.
Old 04-07-2021, 02:48 AM   #7305
chris.willing
Member
 
Registered: Jun 2014
Location: Brisbane, Australia
Distribution: Slackware,LFS
Posts: 915

Rep: Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619
Could we add an AV1 codec for ffmpeg?

Easiest options are:
  • grab aom from SBo and add --enable-libaom in ffmpeg build options
  • grab dav1d from SBo and add --enable-libdav1d in ffmpeg build options
Other options are:
  • create new SlackBuild for rav1e and add --enable-rav1e in ffmpeg build options
  • create new SlackBuild for STV-AV1 and add --enable-stvav1 in ffmpeg build options

According to https://www.andrews-corner.org/sintel.html, rav1e is the one to go for. However I've been using the SBo's aom to build av1 support into the ffmpeg4 SlackBuild (14.2), which the mpv video player uses as a back end, and it seems to play back an AV1 encoded test video just fine.

I've locally rebuilt -current's ffmpeg with SBo's aom & --enable-libaom option and the resulting ffplay handles the AV1 test file too. Without the --enable-libaom option, ffplay plays the test video's audio OK but the video comes out as noise (not random but not really psychedelic either). As for mpv (which uses ffmpeg as backend) current's existing ffmpeg, without --enable-libaom, the test file can no longer be played at all, with mpv complaining:
Code:
 (+) Video --vid=1 (*) (av1 1280x720 24.000fps)
 (+) Audio --aid=1 (*) (aac 2ch 48000Hz)
Failed to initialize a decoder for codec 'av1'.
Video: no video

Exiting... (Errors when loading file)
BTW, the ffmpeg AV1 related build options are from https://ffmpeg.org/general.html (search for AV1) which also gives instructions to find & build each codec.

chris

Last edited by chris.willing; 04-07-2021 at 02:57 AM. Reason: Add mpv error
 
3 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Requests for -current (20151216) rworkman Slackware 3441 12-28-2017 03:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration