alphablu

Members
  • Posts

    6
  • Joined

  • Last visited

Posts posted by alphablu

  1.   SYNC    include/config/auto.conf.cmd
      HOSTCC  scripts/basic/fixdep
    scripts/basic/fixdep.c:92:10: fatal error: sys/types.h: No such file or directory
       92 | #include <sys/types.h>
          |          ^~~~~~~~~~~~~
    compilation terminated.
    make[2]: *** [scripts/Makefile.host:95: scripts/basic/fixdep] Error 1
    make[1]: *** [Makefile:535: scripts_basic] Error 2
    Makefile:688: include/config/auto.conf.cmd: No such file or directory
    make: *** [Makefile:710: include/config/auto.conf.cmd] Error 2

     

    EDIT: Installing glibc fixed that. Now i've got:

     

      SYNC    include/config/auto.conf.cmd
      HOSTCC  scripts/basic/fixdep
    gcc: fatal error: cannot execute ‘as’: execvp: No such file or directory
    compilation terminated.
    make[2]: *** [scripts/Makefile.host:95: scripts/basic/fixdep] Error 1
    make[1]: *** [Makefile:535: scripts_basic] Error 2
    Makefile:688: include/config/auto.conf.cmd: No such file or directory
    make: *** [Makefile:710: include/config/auto.conf.cmd] Error 2

     

    You said you installed everything in Devtools, I'm starting to think that was an important step. Did you just go in and turn everything on?

  2. 10 minutes ago, alphablu said:

    Yeah, downloaded and extracted and the make fails with:

     

    "make: error while loading shared libraries: libguile-2.2.so.1: cannot open shared object file: No such file or directory"

     

    I assume thats the error?

     

    Doing a search for "types.h" for example finds:

     

    
    
    ./tools/testing/selftests/rcutorture/formal/srcu-cbmc/include/linux/types.h
    ./tools/testing/selftests/rcutorture/formal/srcu-cbmc/empty_includes/uapi/linux/types.h
    ./tools/include/uapi/linux/types.h
    ./tools/include/linux/types.h
    ./net/batman-adv/types.h
    ./include/uapi/linux/types.h
    ./include/uapi/linux/sched/types.h
    ./include/uapi/linux/iio/types.h
    ./include/uapi/asm-generic/types.h
    ./include/linux/types.h
    ./include/linux/sunrpc/types.h
    ./include/linux/sched/types.h
    ./include/linux/iio/types.h
    ./include/linux/ceph/types.h
    ./fs/ntfs/types.h
    ./drivers/net/wireless/marvell/libertas/types.h
    ./drivers/net/wireless/broadcom/brcm80211/brcmsmac/types.h
    ./drivers/net/fddi/skfp/h/types.h
    ./arch/xtensa/include/uapi/asm/types.h
    ./arch/x86/include/asm/fpu/types.h
    ./arch/x86/include/asm/e820/types.h
    ./arch/sh/include/asm/types.h
    ./arch/s390/include/uapi/asm/types.h
    ./arch/s390/include/asm/fpu/types.h
    ./arch/powerpc/include/uapi/asm/types.h
    ./arch/powerpc/include/asm/types.h
    ./arch/powerpc/boot/types.h
    ./arch/parisc/include/uapi/asm/types.h
    ./arch/mips/include/uapi/asm/types.h
    ./arch/mips/include/asm/types.h
    ./arch/mips/include/asm/sn/types.h
    ./arch/mips/include/asm/fw/arc/types.h
    ./arch/ia64/include/uapi/asm/types.h
    ./arch/ia64/include/asm/types.h
    ./arch/arm/include/uapi/asm/types.h
    ./arch/alpha/include/uapi/asm/types.h
    ./arch/alpha/include/asm/types.h

     

     

     

    Might have something here, i uninstalled and reinstalled guile and now ive moved on to a new error, ill keep working on it.

     

    Edit: Ok, all that is cleared up and i am now getting "fatal error: sys/types.h: No such file or directory"

  3. Yeah, downloaded and extracted and the make fails with:

     

    "make: error while loading shared libraries: libguile-2.2.so.1: cannot open shared object file: No such file or directory"

     

    I assume thats the error?

     

    Doing a search for "types.h" for example finds:

     

    ./tools/testing/selftests/rcutorture/formal/srcu-cbmc/include/linux/types.h
    ./tools/testing/selftests/rcutorture/formal/srcu-cbmc/empty_includes/uapi/linux/types.h
    ./tools/include/uapi/linux/types.h
    ./tools/include/linux/types.h
    ./net/batman-adv/types.h
    ./include/uapi/linux/types.h
    ./include/uapi/linux/sched/types.h
    ./include/uapi/linux/iio/types.h
    ./include/uapi/asm-generic/types.h
    ./include/linux/types.h
    ./include/linux/sunrpc/types.h
    ./include/linux/sched/types.h
    ./include/linux/iio/types.h
    ./include/linux/ceph/types.h
    ./fs/ntfs/types.h
    ./drivers/net/wireless/marvell/libertas/types.h
    ./drivers/net/wireless/broadcom/brcm80211/brcmsmac/types.h
    ./drivers/net/fddi/skfp/h/types.h
    ./arch/xtensa/include/uapi/asm/types.h
    ./arch/x86/include/asm/fpu/types.h
    ./arch/x86/include/asm/e820/types.h
    ./arch/sh/include/asm/types.h
    ./arch/s390/include/uapi/asm/types.h
    ./arch/s390/include/asm/fpu/types.h
    ./arch/powerpc/include/uapi/asm/types.h
    ./arch/powerpc/include/asm/types.h
    ./arch/powerpc/boot/types.h
    ./arch/parisc/include/uapi/asm/types.h
    ./arch/mips/include/uapi/asm/types.h
    ./arch/mips/include/asm/types.h
    ./arch/mips/include/asm/sn/types.h
    ./arch/mips/include/asm/fw/arc/types.h
    ./arch/ia64/include/uapi/asm/types.h
    ./arch/ia64/include/asm/types.h
    ./arch/arm/include/uapi/asm/types.h
    ./arch/alpha/include/uapi/asm/types.h
    ./arch/alpha/include/asm/types.h

     

  4. On 2/9/2021 at 3:07 PM, Jaburges said:

    Ok so got it working on 6.9.0-rc2 (Huge thanks to @pgbtech for the initial steps helping me solve some issues I had)

    Rough workflow is:

    1. Download Coral gasket and apex sourcefiles 

    2. Download and extract Linux kernel 5.10.1 (6.9.0-rc2), and copy over Unraid patches/mods

    3. Install dependencies and add symlinks

    4. make gasket and apex

    5. add to drivers and boot config

    6. Enjoy :)

     

    I also enabled all of the DevTools plugin as well (make for example is needed) 

     

    [Please note at time of writing, the symlinks didnt bring all the required files into the right location, and I didnt' know enough about 'WHY' they were separate. I did notice for example `types.h` was different in different locations, so took me some time to work out exactly which files to copy over] 

     

    
    cd /root
    mkdir packages
    cd packages/
    wget https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/linux-5.10.1.tar.gz
    mv linux-5.10.1.tar.gz linux-5.10.1.tgz
    cd /usr/src/
    mv linux-5.10.1-Unraid/ linux-5.10.1-Unraid_orig
    tar zxvf ~/packages/linux-5.10.1.tgz
    ln -s linux-5.10.1 linux
    cp -rf linux-5.10.1-Unraid_orig/* linux
    cp -f linux-5.10.1-Unraid_orig/.config linux
    ln -sf /usr/src/linux/include/uapi/linux /usr/include/linux
    ln -sf /usr/src/linux/include/uapi/asm /usr/include/asm
    ln -sf /usr/src/linux/include/uapi/asm-generic /usr/include/asm-generic
    cd /root/
    wget http://slackware.cs.utah.edu/pub/slackware/slackware64-14.2/slackware64/d/bison-3.0.4-x86_64-1.txz
    wget http://slackware.cs.utah.edu/pub/slackware/slackware64-14.2/slackware64/l/ncurses-5.9-x86_64-4.txz
    installpkg bison-3.0.4-x86_64-1.txz
    installpkg ncurses-5.9-x86_64-4.txz
    cd /usr/src/linux
    make modules_prepare

     

    Note at this point the make might fail due to missing files

     

    
    cp /usr/src/linux/arch/x86/include/asm/types.h /usr/include/asm/types.h
    cp /usr/src/linux/arch/x86/include/asm/posix_types.h /usr/include/asm/posix_types.h
    cp /usr/src/linux/arch/x86/include/asm/posix_types_64.h /usr/include/asm/posix_types_64.h
    cp /usr/src/linux/arch/x86/include/generated/uapi/asm/ioctls.h /usr/include/asm/
    cp /usr/src/linux/arch/x86/include/generated/uapi/asm/ioctl.h /usr/include/asm/
    cp /usr/src/linux/arch/x86/include/generated/uapi/asm/sockios.h /usr/include/asm/
    cp /usr/src/linux/arch/x86/include/generated/uapi/asm/socket.h /usr/include/asm/
    cp /usr/src/linux/include/linux/compiler_types.h /usr/include/asm/

     

    Now try and make

     

    
    make modules_prepare
    export CONFIG_STAGING_APEX_DRIVER=m
    export CONFIG_STAGING_GASKET_FRAMEWORK=m
    make M=/root/apex/
    insmod gasket.ko
    insmod apex.ko
    lsmod|grep apex
    mkdir /boot/config/drivers
    cp /root/apex/gasket.ko /boot/config/drivers/
    cp /root/apex/apex.ko /boot/config/drivers/

     

     

    Following this and everything works up until the make fails and I try to copy the missing files. None of the files are present except for posix_types.h

  5. Hi all, I am using a netapp DS4246 with Unraid and I recently acquired interposers so that I can make use of some SAS drives I have access to. I went about adding the interposers to the existing drives today until I noticed that they are subtly changing the drive model names and as a result Unraid doesn't recognize them anymore.

     

    I reversed course and did some reading and it looks like the procedure is to add the drives to their correct slots and then run the New Config utility? Is that correct? And is there anything else I should know so that I dont mess this up 😅