You are not logged in.

#1 2015-04-28 00:48:15

ArgentWarrior
Member
Registered: 2015-04-16
Posts: 19

Trying to build a minimal kernel...

I cloned Linux 4.1-rc1 from the man himself and decided to shave a few seconds off of my boot time by disabling everything I know I will never use and/or don't have. I'm on a laptop so I doubt my hardware will change. I can configure the kernel, build it, add it to GRUB, and everything works but wireless. It's the not-so-great WiMax 6150.

Does anyone know what I'm doing wrong here? I cut my boot time in half, but wireless is a bit of a deal-breaker.

Offline

#2 2015-04-28 01:04:32

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,237
Website

Re: Trying to build a minimal kernel...

ArgentWarrior wrote:

Does anyone know what I'm doing wrong here?

I'm guessing you disabled something that hardware needs to work.....  Give us some actual information, we're not psychics: http://www.catb.org/esr/faqs/smart-questions.html

Offline

#3 2015-04-28 01:16:37

ArgentWarrior
Member
Registered: 2015-04-16
Posts: 19

Re: Trying to build a minimal kernel...

I guess I could import my config from the 4.0 kernel, and just not touch anything related to networking.

Offline

#4 2015-04-28 01:22:07

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Trying to build a minimal kernel...

Look at streamline_config.pl (kernel script) or modprobed-db (AUR).


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2015-04-28 01:27:29

ArgentWarrior
Member
Registered: 2015-04-16
Posts: 19

Re: Trying to build a minimal kernel...

jasonwryan wrote:

Look at streamline_config.pl (kernel script) or modprobed-db (AUR).

YOU ARE A GOD

Offline

#6 2015-04-28 02:40:06

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Trying to build a minimal kernel...

ArgentWarrior wrote:
jasonwryan wrote:

Look at streamline_config.pl (kernel script) or modprobed-db (AUR).

YOU ARE A GOD

Forum & Wiki Admin, so yeah, a lesser god ;P

Offline

#7 2015-04-28 13:28:53

smirky
Member
From: Bulgaria
Registered: 2013-02-23
Posts: 277
Website

Re: Trying to build a minimal kernel...

I guess this perl script should be used with all the USB devices plugged in and all the non-frequent modules should be loaded if possible to make the config solid?


Personal spot  ::  https://www.smirky.net/  ::  Try not to get lost!

Offline

#8 2015-04-28 17:14:14

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Trying to build a minimal kernel...

Yes, you need to make sure all the modules that you may require are loaded when the script runs.

It is rather disappointing to discover you missed one after you have compiled and booted into your new kernel... tongue


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB