> Why ::modinfo shows nonexistent modules like 'cl_bootstrap' and > 'lbl_edition'? > > ID LOADADDR SIZE REV MODULE NAME > 0 fffffffffb800000 124af8 0 unix (?) > 1 fffffffffb8b71b8 3644a 0 krtld (?) > 2 fffffffffb8e8160 1ff0a0 0 genunix (?) > 3 0 0 0 cl_bootstrap (?) > 4 fffffffffba91000 5318 1 specfs (filesystem for specfs) > 5 fffffffff5d2f000 18bb0 1 dtrace (Dynamic Tracing) > 6 fffffffffba96220 5058 1 devfs (devices filesystem 1.15) > 7 0 0 0 lbl_edition (?)
Because something led to modload() being called with those names, which will eventually call allocate_modp()/modadd() which will create an entry in the `modules' circular list for that name regardless of whether the module can be loaded. -- meem