summaryrefslogtreecommitdiff
path: root/TODO
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@profusion.mobi>2012-01-11 21:48:08 -0200
committerLucas De Marchi <lucas.demarchi@profusion.mobi>2012-01-11 21:54:25 -0200
commit92122614b21c1203fcb8b29f03846f0085113df0 (patch)
treef29157329506388fd7974627328f230cb06f88fc /TODO
parentefd2cec66ef439ec1e3153bec13babdc7d250cc6 (diff)
downloadkmod-92122614b21c1203fcb8b29f03846f0085113df0.tar.gz
kmod-92122614b21c1203fcb8b29f03846f0085113df0.tar.bz2
kmod-92122614b21c1203fcb8b29f03846f0085113df0.zip
modprobe: show if module is in kernel
Now with './tools/modprobe --show-depends ahci' (ahci is builtin) we have the following output: $ ./tools/modprobe --show-depends ahci builtin ahci Just like modprobe from m-i-t. Previously we had: $ ./tools/modprobe --show-depends ahci FATAL: Module ahci not found.
Diffstat (limited to 'TODO')
-rw-r--r--TODO16
1 files changed, 14 insertions, 2 deletions
diff --git a/TODO b/TODO
index bd29f25..ad90853 100644
--- a/TODO
+++ b/TODO
@@ -19,8 +19,16 @@ Features:
* provide 1:1 compatibility with module-init-tools's modprobe
- dump configuration
- deal with dependency loop
- - break dependency loop when all it needs is to check if the module is
- already loaded
+ - fix dependency listing in --show-depends
+ $ modprobe -S 3.2.0-2-ARCH --show-depends ahci
+ insmod /lib/modules/3.2.0-2-ARCH/kernel/drivers/scsi/scsi_mod.ko.gz
+ insmod /lib/modules/3.2.0-2-ARCH/kernel/drivers/scsi/scsi_mod.ko.gz
+ insmod /lib/modules/3.2.0-2-ARCH/kernel/drivers/ata/libata.ko.gz
+ insmod /lib/modules/3.2.0-2-ARCH/kernel/drivers/scsi/scsi_mod.ko.gz
+ insmod /lib/modules/3.2.0-2-ARCH/kernel/drivers/scsi/scsi_mod.ko.gz
+ insmod /lib/modules/3.2.0-2-ARCH/kernel/drivers/ata/libata.ko.gz
+ insmod /lib/modules/3.2.0-2-ARCH/kernel/drivers/ata/libahci.ko.gz
+ insmod /lib/modules/3.2.0-2-ARCH/kernel/drivers/ata/ahci.ko.gz
* Add manpages: copy them from module-init-tools and make the necessary changes
@@ -84,6 +92,10 @@ modprobe
* kmod-modprobe doesn't parse 'config' and 'include' commands in configuration
files.
+* we don't use <module-dir>/modules.builtin{,.bin} indexes. Instead we rely on
+ module appearing on /sys/modules/* without a initstate file to determine if
+ it is builtin.
+
depmod
------