User .KO module & initramfs

New to Debian (Or Linux in general)? Ask your questions here!

User .KO module & initramfs

Postby dr.Sysman » 2018-05-21 13:59

Hi All!

I have a small task to add user written kernel module to system to be added at startup time.

root@sysman:/etc/initramfs-tools/scripts#
root@sysman:/opt/zz# update-initramfs -u -k $(uname -r)
update-initramfs: Generating /boot/initrd.img-4.9.0-6-amd64

'/opt/zz/zz.ko' -> '/var/tmp/mkinitramfs_JSHq17//lib/modules/4.9.0-6-amd64/zzdriver.ko'
'/opt/zz/zz_startup.sh' -> '/var/tmp/mkinitramfs_JSHq17/sbin/zz_startup.sh'
root@sysman:/opt/vcloud#



added 'zzdriver' into the /etc/modules ...

So, do i should to expect that zzdriver.ko will be loaded when executing the initramfs? Right ?
dr.Sysman
 
Posts: 1
Joined: 2018-05-21 13:50
Location: SPb, Russia

Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 10 guests

fashionable