質問です Linux neuromancer 2.6.14-gentoo-r5 #2 PREEMPT Wed Jan 18 00:58:07 JST 2006 i686 Intel(R) Pentium(R) III CPU family 1400MHz GenuineIntel GNU/Linux
今日sys-apps/baselayout-1.11.14に上げ、et-updateで/etc/init.d/以下を全部上書きしたところ、boot中のメッセージで (緑アスタリスク)* Calculating module dependencies ... と出た後に (黄アスタリスク)* System.map not found - unable to check symbols と出るようになりました
/etc/init.d/modulesの # Here we should fail, as a modular kernel do need # depmod command ... if [ ! -x /sbin/depmod ] then eerror "ERROR: system is missing /sbin/depmod !" return 1 fi をコメントアウトすることで、黄アスタリスクは出なくなったのですが、もっとスマートな方法はないでしょうか?
他にやった事 /bootにSystem.mapをcp make installを使う /bootを起動時にmountするようにした 結果:変化無し
書き間違えました コメントアウトしたのは/etc/init.d/modulesの # # Should not fail if kernel do not have module # # support compiled in ... # [ -f /proc/modules ] || return 0 # # if [ -z "${CDBOOT}" ] && touch /etc/modules.conf 2> /dev/null # then # ebegin "Calculating module dependencies" # /sbin/modules-update # eend $? "Failed to calculate module dependencies" # fi # です