LinuxQuestions.org
Visit Jeremy's Blog.
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 10-19-2014, 05:10 PM   #1
Nh3xus
Member
 
Registered: Jan 2013
Location: France
Distribution: Slackware 14.1 32 bits
Posts: 211

Rep: Reputation: 57
[kernel building] Some beginner's questions


Hi,

I'm about to build my first custom kernel.

I've read some documentation in order prepare myself to this thing.

The AlienBob's article being my primary source of documentation.

I've a few questions :

- How can I be sure that the kernel I'm building will have all the required drivers for my external devices ? e.g Xbox360 controller, USB 3.0 ports, Intel Wirelless + Bluetooth card...

Of course, I'm aware about the proprietary firmwares not being included in the Linux kernel.

- If I don't plan to use LVM or LUKS, should I build a "huge" kernel ?

I'm asking this question because the diff file that I've got from comparing the generic kernel config and the huge one doesn't report much differences between these two configs.

For example, I've seen that the NTFS Read/Write feature is disabled in generic.

Since I need to access NTFS partitions, I will have to change this line :

Code:
 CONFIG_NTFS_FS=m
like that :

Code:
 CONFIG_NTFS_FS=y
Is that correct ?

Thanks.

Last edited by Nh3xus; 10-19-2014 at 05:11 PM.
 
Old 10-19-2014, 05:22 PM   #2
metaschima
Senior Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 1,982

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Never change the config directly, use "make menuconfig', press '/' to search.

Here is another useful article:
http://docs.slackware.com/howtos:sla...git_repository

I recommend building most things as modules, except for things required in order to boot properly (listed in the above link).
 
Old 10-19-2014, 07:42 PM   #3
GazL
LQ Veteran
 
Registered: May 2008
Posts: 7,045

Rep: Reputation: 5188Reputation: 5188Reputation: 5188Reputation: 5188Reputation: 5188Reputation: 5188Reputation: 5188Reputation: 5188Reputation: 5188Reputation: 5188Reputation: 5188
The ntfs options in the kernel are for the old ntfs driver. You don't want to be using that, especially for r/w. Use ntfs-3g instead which runs outside the kernel via 'FUSE'.

Ensure that you have 'CONFIG_FUSE_FS=y'.
 
Old 10-20-2014, 09:09 AM   #4
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6660Reputation: 6660Reputation: 6660Reputation: 6660Reputation: 6660Reputation: 6660Reputation: 6660Reputation: 6660Reputation: 6660Reputation: 6660Reputation: 6660
Also,

Quote:
Originally Posted by Nh3xus View Post
For example, I've seen that the NTFS Read/Write feature is disabled in generic.

Code:
 CONFIG_NTFS_FS=m
That doesn't indicate it was disabled. It means it was modularized. All this means, is if the computer needs the older ntfs support (not using ntfs-3g), it would need to load a module. Typically your answers would be y, m, or n (built into the kernel, modularized, not built respectively).

As others have mentioned, it is not recommended to change the .config directly, rather, move the .config into the root of the source directory and run make oldconfig and then run make menuconfig (or xconfig or whatever version you want). You can work through the categories they have to make sure all your required hardware is enabled. I wouldn't remove too much unless you know you don't need it, since removing an important item can result in a non-booting kernel. It's better to add things to the default Slackware kernel rather than take away until you are more familiar with the process.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Building custom kernel with gentoo... have some questions about a few settings mothergoose729 Linux - Hardware 2 12-13-2009 08:17 PM
Quick questions regarding kernel building C-Sniper Slackware 2 05-12-2008 07:59 PM
Building a kernel, and other questions. EYEdROP Linux - Software 16 03-05-2007 11:33 PM
Questions about building a new kernel - using /usr/src/linux and rc.modules Nylex Slackware 5 10-11-2006 12:09 PM
Some questions bout building kernel 2.6.x weng Linux - Newbie 1 01-27-2004 11:46 PM

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

All times are GMT -5. The time now is 01:09 PM.

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