Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Rebuilding pfSense kernel for 2.3.1 Error

    Scheduled Pinned Locked Moved Development
    1 Posts 1 Posters 1.9k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      anand_phulwani
      last edited by

      I tried re-building the kernel with the following commands one of the members suggested

      rm -rf "/usr/local/src"
      mkdir -p -m 0755 "/usr/local/src"
      cd "/usr/local/src"
      git clone -b "RELENG_2_3_1" "https://github.com/pfsense/FreeBSD-src.git"
      cd "/usr/local/src/FreeBSD-src"
      make buildkernel KERNCONF=pfSense
      make distributekernel KERNCONF=pfSense
      make packagekernel KERNCONF=pfSense
      

      but the command

      make distributekernel KERNCONF=pfSense
      

      gives an error

      ===> ix (install)
      install -o root -g wheel -m 555   if_ix.ko /kernel/boot/kernel
      install: if_ix.ko: No such file or directory
      *** Error code 71
      
      Stop.
      make[4]: stopped in /usr/local/src/FreeBSD-src/sys/modules/ix
      *** Error code 1
      
      Stop.
      make[3]: stopped in /usr/local/src/FreeBSD-src/sys/modules
      *** Error code 1
      
      Stop.
      make[2]: stopped in /usr/obj/usr/local/src/FreeBSD-src/sys/pfSense
      *** Error code 1
      
      Stop.
      make[1]: stopped in /usr/local/src/FreeBSD-src
      *** Error code 1
      
      Stop.
      make: stopped in /usr/local/src/FreeBSD-src
      
      

      and the build fails, any ideas?

      Please find attached the typescript of terminal session for the re-build.

      Thanks,
      Anand
      transbldkernel.txt

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.