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 23 Aug 2014, 09:31
All times are UTC - 4
 Forum index » House Training » Bugs ( Submit bugs )
Stopping modules.dep warnings in /var/log/messages
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [9 Posts]  
Author Message
lidzky


Joined: 04 Jul 2005
Posts: 5
Location: Brazil

PostPosted: Sat 09 Jul 2005, 13:50    Post subject:  Stopping modules.dep warnings in /var/log/messages  

Hello

After a reboot I've noticed that my /var/log/messages were getting bigger and bigger due to these messages:

Quote:
Jul 9 15:10:21 (none) daemon.info modprobe: Note: /etc/modules.conf is more recent than /lib/modules/2.4.27/modules.dep


Well, I don't know why this happened, but it can be easily solved by running "depmod -a".

Bye, Puppers Smile

André
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
Guest
Guest


PostPosted: Sat 09 Jul 2005, 19:04    Post subject:  

That's fine for a hdd install but you'll always get those messages when running from a live cd...As I think modules.conf is rebuilt during every boot
Back to top
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7047
Location: Perth, Western Australia

PostPosted: Sat 09 Jul 2005, 19:09    Post subject:  

Try this line in /etc/rc.d/rc.local:

Code:
touch /lib/modules/2.4.27/modules.dep


That should update the modify date.
Let me know if it works and I'll put it in permanently.
Back to top
View user's profile Send private message Visit poster's website 
John Doe

Joined: 01 Aug 2005
Posts: 1689
Location: Michigan, US

PostPosted: Wed 31 Aug 2005, 18:28    Post subject:  

BarryK wrote:
Try this line in /etc/rc.d/rc.local:

Code:
touch /lib/modules/2.4.27/modules.dep


That should update the modify date.
Let me know if it works and I'll put it in permanently.


It works on 1.0.4 and 1.0.5 alpha 2 (with 2.4.29, obviously) to fix modprobe. I think you should add it.

http://www.murga.org/%7Epuppy/viewtopic.php?p=11927[/url]
Back to top
View user's profile Send private message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7047
Location: Perth, Western Australia

PostPosted: Fri 02 Sep 2005, 07:08    Post subject:  

Okay, will do.
Back to top
View user's profile Send private message Visit poster's website 
JDP
Guest


PostPosted: Sun 18 Sep 2005, 00:24    Post subject:  

The problems I have with it are that the messages show before rc.local is run. In the boot process the messages show about 4-5 times or more. On multiple machines with HD installs. When even a module gets modprobed in it shows the message and fails. Thus, my PCMCIA controlelr doesn't work unless I manually do the "depmod -a" and modprobe all the modules. And sound doesn't work either because of it.

Is there anywhere much earlier in the boot process to add the line? I've tried putting it just before the first modprobes I could find, but it only took away one or two before it came back and showed a few more errors in the boot. Is there some way to have it automatically sync modules.dep when things change in modules.conf?
Back to top
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7047
Location: Perth, Western Australia

PostPosted: Sun 18 Sep 2005, 06:08    Post subject:  

That's really poor that pcmcia fails because of that.
The message is not an error, it's just a warning, a really stupid warning actually, we should tell the author of modutils package to get rid of it ...or I could probably hack the source and get rid of it.

If the source is plain C I can probably do that. When I have to hack C++ code I start to feel challenged.
Do you recall the exact text of the warning message?
Back to top
View user's profile Send private message Visit poster's website 
JDP
Guest


PostPosted: Sun 18 Sep 2005, 12:20    Post subject:  

On boot from SBM floppy to 1.0.4 Moz LiveCD with boot option 3, errors include:
<snip>
Adding Swap: 133048k swap-space (priority -1)
(indented green "done")
SCSI subsystem driver Revision: 1.00
Segmentation fault
cat: /proc/pci: No such file or directory
cat: /proc/pci: No such file or directory
cat: /proc/pci: No such file or directory
cat: /proc/pci: No such file or directory
Starting syslogd: (indented green "done")
</snip>

Not suprising, this is a P-90 Toshiba laptop no PCI bus, I think. It finds my video hardware just fine and lets me max out the screen with 800x600x24, AWESOME!

From the LiveCD rxvt I can modprobe in pcmcia_core, i82365, ds, and run cardmgr -c /etc/pcmcia with a Dell TrueMobile 1150 in a PCMCIA slot to be recognized and I get none of the

Quote:
Jul 9 15:10:21 (none) daemon.info modprobe: Note: /etc/modules.conf is more recent than /lib/modules/2.4.27/modules.dep


that lidzky got too at this point. Though, mine is 2.4.29 for 1.0.4. Then iwconfig eth0 for my WiFi setup, and dhcpcd eth0. After that I can ping goosee.com fine, so networking can be running fine.

After a HD install, I get that set of errors, and something like "can't stat modules.conf0: file does not exist" And then later on the:

daemon .info modprobe: Note: /etc/modules.conf is more recent than /lib/modules/2.4.29/modules.dep

shows up everytime I try to modprobe something.

So it's just a warning? It seems the modprobes do go through, but they are also scattered in with that seg fault on boot up, so I know tht can't be good.

It seems also that this fresh install didn't catch the swap partition right off either.
Back to top
JDP
Guest


PostPosted: Sun 18 Sep 2005, 12:27    Post subject:  

I caught more about the error about modules.conf0 I think:
/root/.etc/modules.conf0: File does not exist

but if I use rxvt to go look for it, there it is. And swap still doesn't persist on reboot. Odd, it worked on the last Puppy install I tried.
Back to top
Display posts from previous:   Sort by:   
Page 1 of 1 [9 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Bugs ( Submit bugs )
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.0768s ][ Queries: 12 (0.0216s) ][ GZIP on ]