Power Developer
https://powerdeveloper.org/forums/

make modules_install
https://powerdeveloper.org/forums/viewtopic.php?f=7&t=1487
Page 1 of 1

Author:  dev-menzi [ Fri Feb 01, 2008 11:41 am ]
Post subject:  make modules_install

Hi all

Trying to make modules.
However, something goes wrong.
Using the procedure outlined i the "Efika OpenFirmware and Linux Howto".
+ make without arguments produces a working zImage
- make INSTALL_MOD_PATH=/tmp/ modules_install
seems to abort prematurely, look at this:

e5k125:/usr/src/linux-2.6.19# make INSTALL_MOD_PATH=/tmp/ modules_install >MakeMods.log 2>&1 &
[1] 19842
....
[1]+ Done
....
e5k125:/usr/src/linux-2.6.19# tail MakeMods.log
....
....
INSTALL sound/usb/snd-usb-audio.ko
INSTALL sound/usb/snd-usb-lib.ko
INSTALL sound/usb/usx2y/snd-usb-usx2y.ko
if [ -r System.map -a -x /sbin/depmod ]; then /sbin/depmod -ae -F System.map -b /tmp/ -r 2.6.19; fi
e5k125:/usr/src/linux-2.6.19#

Questions:
- what's the cause for this strange end of the log file?
- does this any harm?
- how can I correct this?
- how can I find out, whether modules have not been produced, and if so which ones?

Author:  corsair [ Sun Feb 03, 2008 7:13 am ]
Post subject: 

The command should have installed all the modules just normal. I cannot see any abnormalities in the log. Although you haven't posted the whole log...

If you do not understand the last line then let me try to explain:

Modules need to be loaded in a specific order: user wants to load module B, which requires module A. So if the user types "modprobe B" to load the module B the modprobe needs to load module A first. These dependencies are "created" with the depmod utility. And that is what the last line of the log does.

regards,

-corsair

EDIT: This might be interesting to understand the options of the depmod execution:

http://www.oreillynet.com/linux/cmd/cmd ... h=d/depmod

Page 1 of 1 All times are UTC-06:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/