Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 01 Jul 2015, 17:22
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » System
/sbin/modprobe-3.11.1 | -3.12 compiled suppressing warnings
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
Karl Godt

Joined: 20 Jun 2010
Posts: 4026
Location: Kiel,Germany

PostPosted: Wed 18 May 2011, 19:23    Post_subject:  /sbin/modprobe-3.11.1 | -3.12 compiled suppressing warnings  

Hi , I want to start this thread to find out , if there is demand for a modprobe binary , that is suppressing warnings about ""deprecated config file ...""

I have compiled it in pup430 glibc-2.6.1 , just commented out the parts about "needs .conf" and "deprecated ..." and run them since 4 or 5 month on pup4 and 5 without problems .

One way is to ignore /etc/modprobe.conf completely and another is to parse it anyway .

To check it , add '#FILE='/etc/modprobe.d/modprobe.conf' on top and end of the relevant files and run `modprobe -c > FILE` , `geany FILE` .

This one parses also /etc/modprobe.conf after parsing everything in /etc/modprobe.d/ and before parsing everything in /lib/modules/`uname -r` .

I decided for 3.11.1 , because it still has the '-o' option .

Please run `modprobe --help` because I changed some options , e.g -L for --syslog , --other-name for -name .

My comment about the '-i' and '-I' option are probably misleading : they are different but both are passing 'flags |= mit_ignore_commands;' internally , which is a flag for "static int insmod(" and "static void rmmod(" in which the "do_command" is called by "if (command && !(flags & mit_ignore_commands)) {" . Older manpages only have the '-i' option for 'install' and 'remove' commands in /etc/modprobe.conf or /etc/modprobe.d/*.conf . For now the '--ignore-remove' does not pass automatically the '-r' option to modprobe , so it loads the module anyway without complaining about anything . Also the output of the '-v' option is unsatisfying to me , the '--first-time' option is telling the detail I would like by '-v' like 'already in kernel' . I also detected that Puppy4 modprobe -V 3.6 does not have the -D option

`file` is saying statically but it is configured
.././configure --srcdir=.. --enable-builddir=build --enable-zlib-dynamic --build=i486-linux-gnu build_alias=i486-linux-gnu , `strip` and `upx -9` .

[edit=24Jun2011]You have to make it executable by "chmod 0755" or "chmod +x" . [/edit]

Back to top
View user's profile Send_private_message 
Karl Godt

Joined: 20 Jun 2010
Posts: 4026
Location: Kiel,Germany

PostPosted: Fri 27 May 2011, 10:29    Post_subject:  

Finally I have got pinstall and puninstall.sh working , but for now the
.tar.gz .

Files :

Filename  modprobe-3.11.1.tar.gz 
Filesize  53.52 KB 
Downloaded  368 Time(s) 
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » System
Jump to:  

You cannot attach files in this forum
You can download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0414s ][ Queries: 12 (0.0039s) ][ GZIP on ]