I am looking for how the modules are loaded at boot time.
Who will load the modules when the system is booting up.
I am using raspbain os.
Before upgrading to device tree , my modules are loaded well, but after upgrading my modules are loading differently.
To avoid that i used softdep to load the modules the way i want.
But now I want to remove those softdep and want my modules to be loaded the way they loaded without device tree.
Can anyone clarify this doubt about how and in which order they loaded and who will load the modules in boot time
커널에 모듈을로드하는 방법을 지시하는 파일이 거의 없습니다 . modules.*
커널 모듈 디렉토리 ( /lib/modules/<kernel-version>
)에있는 파일 . 일반적으로 이러한 파일 depmod
은 사용 가능한 모듈을 분석하고 최적의로드 순서를 구성하는 라는 멋진 도구가 있으므로 수동으로 편집해서는 안됩니다 . depmod
자체적으로 모듈 ( EXPORT_SYMBOL
/ EXPORT_SYMBOL_GPL
매크로) 에서 내 보낸 심볼 과 해당 심볼에 대한 참조를 확인하므로 올바른 초기화 시퀀스를 구축 할 수 있습니다. 부팅 시간 동안 사용 가능한 하드웨어가 검색되고 해당 모듈이 시스템 초기화 스크립트에 의해로드됩니다 (일반적으로이 작업은 initrd에서 수행됨). modprobe.d
디렉토리의 구성 파일을 사용하여 런타임 중에로드 (또는 블랙리스트) 할 추가 모듈을 지정할 수 있습니다 ( modprobe.d(5)
맨 페이지 참조).
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다