LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-02-2015, 02:22 AM   #1
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Lightbulb Be careful with kernel 4.1 or later.


Until this is patched by other projects, this addition to kernel 4.1 and later may need to be reversed by a patch to allow extra kernel modules to build correctly.

https://git.kernel.org/cgit/linux/ke...b83fc4a4f3aa60

Already this causes ZFSOnLinux some issues, but I have no idea if other modules like Broadcom(wl), nvidia, and other kernel drivers are affected, but do be mindful of Kernels 4.1 or later if you use external modules not normally included with the kernel.

You may need to recreate the patch to reverse out these additions to the code. I ran into a problem with this on a custom build project, so I figured I'd share in case anyone else may have had a problem, or was considering 4.1 or later to use or test.
 
Old 07-02-2015, 02:55 AM   #2
gengisdave
Member
 
Registered: Dec 2013
Location: Turin, Italy
Distribution: slackware
Posts: 328

Rep: Reputation: 74
I've read yours post about the zfs issue. I think the problem is that this file doesn't have a #ifndef macro at the begin of code, which leads to include it more than one time. The patch is not trivial, but you must follow the include tree starting from fs/zfs/zfs/trace.c and check for include guards.
 
Old 07-02-2015, 04:02 AM   #3
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558

Original Poster
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
I contacted the project and they said that currently it is being worked on, but patching is the best solution until it is fixed. They directed me to that commit so for now I'm going to work on creating a simple patch for testing purposes.
 
Old 07-02-2015, 04:53 AM   #4
genss
Member
 
Registered: Nov 2013
Posts: 741

Rep: Reputation: Disabled
nvidia binary works fine here
just to note
 
Old 07-02-2015, 05:18 AM   #5
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558

Original Poster
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Thanks Genss. Apparently it's mostly for built-in modules. As long as modules stay external the patch shouldn't be needed.
 
Old 07-02-2015, 05:13 PM   #6
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,335

Rep: Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930
I cant boot kernels 4.0.x and 4.1.x

My system have a r9 290x crossfire , when system go start return to console and a violet line on left side of monitor.


When unmount one of cards , system start but violet line continue and have only 2d not 3d aceleration. (xf86-video-ati-7.5.0)

Im using slackware current (latest) , using a 4.0.4 config in testing to build a 4.0 kernel


Its posiible have this a related bug?

I try , recompile mesa , radeon driver , libdrm , ... inclusive updating versions but no lucky.

3.18.x works ever well.


I think is related to HDMI CONNECTION.

Last edited by USUARIONUEVO; 07-02-2015 at 05:26 PM.
 
Old 07-02-2015, 06:31 PM   #7
mralk3
Slackware Contributor
 
Registered: May 2015
Distribution: Slackware
Posts: 1,900

Rep: Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050
I've been tempted to upgrade to a 4.1 kernel, but so far have been chugging a long with 3.18.x without issue. Dell Inspiron N4010. Every time I try to get a newer kernel than a LTS, I always have hardware problems.
 
Old 07-03-2015, 05:41 AM   #8
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558

Original Poster
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Well, I found out after a few git pulls and svn clones of modules that it is the kernel and I had to patch it. At least it's a small patch.
 
  


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
10.1, Be careful what you update...I was not!!! jolphil SUSE / openSUSE 6 09-29-2006 07:23 AM
be careful of zeroconf mp55 Debian 3 02-16-2006 01:13 PM
Why u need to be careful when using /dict/words... gumpo_mun General 8 07-12-2004 03:28 AM
Careful! Newbie question! :) Bernhard Programming 7 01-31-2002 05:29 AM
when they say be careful doin something its a good idea to be careful lol eagle0669 Linux - Newbie 3 08-10-2001 08:43 PM

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

All times are GMT -5. The time now is 10:34 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