[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#244440: explanation



Martin Michlmayr wrote:
> # Manually load modules to enable things we can't detect.
> # XXX: This isn't the best way to do this; we should autodetect.
> # The order of these modules are important.
> get_manual_hw_info() {
>         echo "floppy:Linux Floppy"
>         # ide-mod and ide-probe-mod are needed for older (2.4.20) kernels
>         echo "ide-mod:Linux IDE driver"
>         echo "ide-probe-mod:Linux IDE probe driver"
>         get_ide_chipset_info
> 
> 
> Well, automatic detection would be best, but if that's not posible,
> perhaps we could have a listing per arch/sub-arch.  This is really
> minor, but trying to load IDE modules on a machine w/o IDE looks kinda
> silly; and it does take some time, especially on older machines
> (which are typically those without IDE).

One easy way might be to check if the module exists before adding it to
the queue to be loaded. Of course that would also take some time.

-- 
see shy jo



Reply to: