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 Sat 20 Dec 2014, 17:32
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 [2 Posts]  
Author Message
Karl Godt


Joined: 20 Jun 2010
Posts: 3982
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 .

[edit=24Jun2011]
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
[/edit]

`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]
modprobe_16May2011.gz
Description  backup : mv `which modprobe` `which modprobe`.bac
unpack it: gunzip modprobe_16May2011.gz
place it into /sbin/
link it : ln -s /sbin/modprobe_16May2011 /sbin/modprobe
gz

 Download 
Filename  modprobe_16May2011.gz 
Filesize  20.28 KB 
Downloaded  310 Time(s) 

Last edited by Karl Godt on Fri 24 Jun 2011, 09:05; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
Karl Godt


Joined: 20 Jun 2010
Posts: 3982
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 :
config.log
modprobe_16May2011
pet.specs
puninstall.sh
config.status
modprobe.c
pinstall.sh
modprobe-3.11.1.tar.gz
Description 
gz

 Download 
Filename  modprobe-3.11.1.tar.gz 
Filesize  53.52 KB 
Downloaded  337 Time(s) 
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [2 Posts]  
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 post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0524s ][ Queries: 13 (0.0140s) ][ GZIP on ]