Linux from scratch section 8.3

Michael Havens bmike1 at gmail.com
Fri Sep 5 12:58:48 MST 2014


thanks.... You inspired me to read the instructions again and it says to
"Install the modules, if the kernel configuration uses them". Well, as I
suspected I don't have any modules so that is why I'm getting the error.

:-)~MIKE~(-:


On Fri, Sep 5, 2014 at 11:47 AM, Michael Butash <michael at butash.net> wrote:

>  You need modules unless compiling everything static, which usually is
> good in theory, but bad in practice unless a very embedded, specific
> hardware use.  Is that what you're doing?  If so, maybe lfs wants/expects
> modular kernels for its build tools.
>
> Seems like those are likely dependent on something not being built
> elsewhere.
>
> Why no modules?  Last time I tried to compile a kernel statically was
> probably circa 2008, eventually I just gave up tracing dependencies to get
> a slim-build kernel around my hardware.  I just added more space to my
> /boot partition eventually to deal with bloating kernel images as the alt
> is a real pita.
>
> -mb
>
>
>
> On 09/05/2014 11:28 AM, Michael Havens wrote:
>
> I'm almost done with the base LFS system. The error I am getting now is:
>
> Makefile:1024: recipe for target 'modules_install' failed
>
> I'm thinking that it is because I'm not installing any modules
>  This is what I entered to get to that point:
>
> make>>make.fail 2>&1
> make modules_install>>install.fail 2>&1
> cp -v arch/x86/boot/bzImage /boot/vmlinuz-3.13.3-lfs-7.5
> cp -v System.map /boot/System.map-3.13.3
> cp -v .config /boot/config-3.13.3
> install -d /usr/share/doc/linux-3.13.3
> cp -r Documentation/* /usr/share/doc/linux-3.13.3
> chown -R 0:0 .
> install -v -m755 -d /etc/modprobe.d
> cat > /etc/modprobe.d/usb.conf << "EOF"
> # Begin /etc/modprobe.d/usb.conf
> install ohci_hcd /sbin/modprobe ehci_hcd ; /sbin/modprobe -i ohci_hcd ;
> true
> install uhci_hcd /sbin/modprobe ehci_hcd ; /sbin/modprobe -i uhci_hcd ;
> true
> # End /etc/modprobe.d/usb.conf
> EOF
> grep -E 'error|fail' {make,install}.fail
>
>  and this is the complete error log:
>
> root:/sources/linux-3.13.3# grep -iE 'error|fail' {make,install}.fail
> make.fail:  CC      drivers/acpi/acpica/uterror.o
> make.fail:  CC      drivers/acpi/acpica/utxferror.
> o
> make.fail:  CC      drivers/gpu/drm/i915/i915_gpu_error.o
> make.fail:  CC      drivers/scsi/scsi_error.o
> install.fail:Makefile:1024: recipe for target 'modules_install' failed
> install.fail:make: *** [modules_install] Error 1
> root:/sources/linux-3.13.3#
>  :-)~MIKE~(-:
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phxlinux.org/pipermail/plug-discuss/attachments/20140905/b740d647/attachment.html>


More information about the PLUG-discuss mailing list