How to blacklist a kernel module "Pristine Boot"?

Booting, installing, newbie
Post Reply
Message
Author
partsman
Posts: 363
Joined: Wed 06 Jun 2012, 19:00
Location: OHIO,USA

How to blacklist a kernel module "Pristine Boot"?

#1 Post by partsman »

Hello all :D

I was wondering if there is a way to blacklist a kernel module
when booting a "pristine" or pfix=ram no save being used ?
Such as from a live cd !

Thanks in advance ! :wink:
[color=red]Anyone can build a fast processor. The trick is to build a fast system. (Seymour Cray)[/color] :wink:
april

#2 Post by april »

Well once booted you could use the command line to blacklist the module for the session .
To make it persistent the command you settle on would have to be put in a script and placed in the Start folder which is read and executed on startup .

There were no answers so this might at least get some more knowledgeable people to jump in and correct me if I am mistaken.
partsman
Posts: 363
Joined: Wed 06 Jun 2012, 19:00
Location: OHIO,USA

#3 Post by partsman »

april wrote:There were no answers so this might at least get some more knowledgeable people to jump in and correct me if I am mistaken.
Thanks april :D
Well according to the guys over at arch this would be an example of how to do in from grub :
modprobe.blacklist=modname1

However ! I also know that puppy is missing some important command line
features ! :shock:

Maybe it would be worth the trouble for some of the developers to include/implement some of these features into puppy :wink:

If all else it would be good for debugging ! 8)

Although its been mentioned in the past ! I have yet to see it done !
But might be worth a go if someone with more knowledge to implement this into woof CE :wink:
[color=red]Anyone can build a fast processor. The trick is to build a fast system. (Seymour Cray)[/color] :wink:
april

#4 Post by april »

yep just type modprobe in a terminal and it will give you the cli help syntax. You will need the proper module name .
When you get it right it should look like this I think "modprobe -r <module name>"

There is a bit of stuff on here about blacklisting modules .Here is one
http://www.murga-linux.com/puppy/viewtopic.php?t=31883

however if you search with this string " blacklist module site:murga_linux.com" you will get a wealth of material . Finding what you want is the problem.

When you get the cli syntax right then make a script file called say "myscript.sh" and put the line in it . Then the problem becomes how to have it run every boot.
Last edited by april on Mon 12 Oct 2015, 20:57, edited 6 times in total.
User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#5 Post by bigpup »

I found a reference to using this code:

Code: Select all

(name of modeule).blacklist=yes
Maybe use the code at the Puppy boot screen F2 options screen.

Example:
to blacklist the nouveau module

Code: Select all

puppy nouveau.blacklist=yes
I have not tried this, this person said it worked for him to blacklist the nouveau driver by putting nouveau.blacklist=yes at the end of the kernel line in his grub menu.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)
Peterm321
Posts: 411
Joined: Thu 29 Jan 2009, 14:09
Location: UK

#6 Post by Peterm321 »

bigpup Today, at 16:40 wrote: I have not tried this, this person said it worked for him to blacklist the nouveau driver by putting nouveau.blacklist=yes at the end of the kernel line in his grub menu.
One thing I find annoying about trying a live CD is the nouveau driver getting loaded and setting the console font way to small on the console. One way to discourage this is using nomodeset or nouveau.modeset=0 on the kernel command line. As a matter of fact a fair number of tunable parameters in the modules can be set this way taking the form of

<modulename>.<parameter>=value

http://nouveau.freedesktop.org/wiki/TroubleShooting/
partsman
Posts: 363
Joined: Wed 06 Jun 2012, 19:00
Location: OHIO,USA

#7 Post by partsman »

bigpup wrote :
(name of modeule).blacklist=yes
Yes ! that worked ! :D Thanks bigpup ! :wink:

And also thanks to you too Peterm321 ! For the additional info !

Also thanks ! to april for drawing attention to this post ! :wink:
[color=red]Anyone can build a fast processor. The trick is to build a fast system. (Seymour Cray)[/color] :wink:
User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#8 Post by bigpup »

Could you tell us exactly what you did?

Maybe make a topic in the "HowTo section" of the forum to show others how to do it.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)
Post Reply