Re: [PATCH][RFC] disable built-in modules V2

From: Magnus Damm (magnus.damm_at_gmail.com)
Date: 04/09/05

  • Next message: Herbert Xu: "Re: [PATCH][RFC] disable built-in modules V2"
    Date:	Sat, 9 Apr 2005 12:03:45 +0200
    To: Herbert Xu <herbert@gondor.apana.org.au>
    
    

    On Apr 9, 2005 11:48 AM, Herbert Xu <herbert@gondor.apana.org.au> wrote:
    > On Sat, Apr 09, 2005 at 11:43:59AM +0200, Magnus Damm wrote:
    > >
    > > > Perhaps your favourite distribution could build that as a module to
    > > > start with.
    > >
    > > Right. Today distributions can boot from external usb-storage devices,
    > > maybe even from firewire hardware as I am sure you know. I guess they
    > > have support for a device built-in for a reason. I think most
    >
    > Perhaps they should start using initramfs then.

    But how does that help me? I still want to be able to pass a list of
    unwanted modules on the kernel command line. Using initramfs and
    modules is fine, although I would prefer being able to unload built-in
    modules instead - but that is another story. Your suggestion just
    pushes the problem to user space. I think the best alternative would
    be a combination of kernel-space code (my patch) and awareness of the
    command line in the module loader running from initramfs/rootfs.

    / magnus
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Herbert Xu: "Re: [PATCH][RFC] disable built-in modules V2"

    Relevant Pages

    • Re: [PATCH][RFC] disable built-in modules V2
      ... >> unwanted modules on the kernel command line. ... > If it can be done in user space, then do it in user space. ... > Once the drivers are put on the initramfs it is trivial to add code that ...
      (Linux-Kernel)
    • Re: Please add generic support for root=UUID= at kernel parameter command line (LABEL, BYID maybe al
      ... It's lean and mean just for this use-case, and you'll be protecting yourself against future changes in the block layer. ... And you can put root=LABEL=foo on your kernel command line to match your fstab. ... the code is duplicated between the initramfs and the real disk ...
      (Linux-Kernel)
    • Re: Blacklisting Nouveau
      ... You don't need to re-run dracut. ... kernel command line: ... the current initramfs was not re-built when installing the nvidia ... it's more _correct_ to re-build the initramfs. ...
      (Fedora)
    • Re: lvm2 boot failure
      ... assuming you have the correct initramfs for your kernel with correct driver ... you may try to pass "debug=y" to the kernel command line. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: pivot_root broken in 2.6.15-rc1-mm2
      ... > (Another is that calling chroot and such after deleting their binaries out of ... > initramfs but before the paths are adjusted so that the ones in the new root ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)