Problem with latest 32-bit kernel install

Forum › Forums › Official Releases › antiX-23 “Arditi del Popolo › Problem with latest 32-bit kernel install

  • This topic has 4 replies, 2 voices, and was last updated Aug 23-9:28 am by anticapitalista.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #184277
    Wallaby
    Member

      I’ve encountered an error in the configuation step during installation of
      linux-image-5.10.240-antix.1-486-smp.

      I forgot to save the original error message or make.log file, but essentially part of the configuration step for the new kernel is to build kernel modules for any hardware drivers that are not already built-in to the kernel. In my case this was for a Broadcom wireless-ethernet device (package: broadcom-sta-dkms ). This action failed, thus leaving the kernel installation incomplete.

      Tracing the errors led down to failure of the “modpost” utility provided by linux-headers-5.10.240-antix.1-486-smp. Further investigation revealed that 18 pre-compiled binary utilities are delivered as part of the linux-headers-5.10.240-antix.1-486-smp package, but three of these files:

      /usr/src/linux-headers-5.10.240-antix.1-486-smp/scripts/extract-cert
      /usr/src/linux-headers-5.10.240-antix.1-486-smp/scripts/insert-sys-cert
      /usr/src/linux-headers-5.10.240-antix.1-486-smp/scripts/mod/modpost

      are linked with GLIBC_2.38 instead of the default GLIBC_2.36 as shipped with AntiX-23.2 i386.

      $ apt list libc6
      Listing... Done
      libc6/now 2.36-9+deb12u10 i386 [installed,local]
      
      $ ldd /usr/src/linux-headers-5.10.240-antix.1-486-smp/scripts/mod/modpost
      /usr/src/linux-headers-5.10.240-antix.1-486-smp/scripts/mod/modpost: /lib/i386-linux-gnu/libc.so.6:
        version 'GLIBC_2.38' not found (required by /usr/src/linux-headers-5.10.240-antix.1-486-smp/scripts/mod/modpost)
      	linux-gate.so.1 (0xb7f2e000)
      	libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb7cdf000)
      	/lib/ld-linux.so.2 (0xb7f30000)

      To resolve my immediate issue, I copied the “modprobe” utility from linux-headers-5.10.236-antix.1-486-smp and did
      $ sudo dpkg --configure linux-image-5.10.240-antix.1-486-smp
      which completed without errors.

      Since I’m using a Frugal install, I proceeded to: “live-remaster”, reboot, “live-kernel-updater”, copied new vmlinuz and initrd.gz to my boot partition, and rebooted to the new kernel without issue.

      Whoever builds the 32-bit kernel packages … Did you build/customize the 5.10.240-antix package on a machine already testing AntiX-25 configuration ?

      Thanks for looking into this.

      • This topic was modified 1 year, 1 month ago by Wallaby. Reason: bad formatting
      • This topic was modified 1 year, 1 month ago by Wallaby.
      #184280
      anticapitalista
      Forum Admin

        Thanks for the feedback.

        Whoever builds the 32-bit kernel packages … Did you build/customize the 5.10.240-antix package on a machine already testing AntiX-25 configuration ?

        No. It was built on antiX-23 frugal install.

        Let me check as the wrong deb builds may have been moved to the wrong repos.
        Later:

        Yes, the debs were moved to the wrong repos.

        Can you try these from trixie please? (I checked they use gcc12)

        http://repo.antixlinux.com/trixie/pool/main/l/linux-5.10.240-antix.1-486-smp/

        • This reply was modified 1 year, 1 month ago by anticapitalista.

        Philosophers have interpreted the world in many ways; the point is to change it.

        antiX with runit - leaner and meaner.

        #184284
        Wallaby
        Member

          I pulled down the header deb, unpacked it to a temp location, and scanned the binary files for the “ldd” GLIBC error. Only one file this time:
          /usr/src/linux-headers-5.10.240-antix.1-486-smp/scripts/insert-sys-cert
          “modpost” is OK this time.

          $ ldd ./usr/src/linux-headers-5.10.240-antix.1-486-smp/scripts/insert-sys-cert
          ./usr/src/linux-headers-5.10.240-antix.1-486-smp/scripts/insert-sys-cert: /lib/i386-linux-gnu/libc.so.6:
            version 'GLIBC_2.38' not found (required by ./usr/src/linux-headers-5.10.240-antix.1-486-smp/scripts/insert-sys-cert)
          	linux-gate.so.1 (0xb7f9a000)
          	libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb7d5c000)
          	/lib/ld-linux.so.2 (0xb7f9c000)
          
          $ ldd ./usr/src/linux-headers-5.10.240-antix.1-486-smp/scripts/mod/modpost
          	linux-gate.so.1 (0xb7eed000)
          	libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb7c9e000)
          	/lib/ld-linux.so.2 (0xb7eef000)
          • This reply was modified 1 year, 1 month ago by Wallaby.
          #184288
          Wallaby
          Member

            I also went up a level and grabbed the SMP-PAE version:
            linux-headers-5.10.240-antix.1-686-smp-pae
            which has the problem on the same three files as in my original post.

            ./usr/src/linux-headers-5.10.240-antix.1-686-smp-pae/scripts/mod/modpost: /lib/i386-linux-gnu/libc.so.6:
               version 'GLIBC_2.38' not found (required by ./usr/src/linux-headers-5.10.240-antix.1-686-smp-pae/scripts/mod/modpost)
            ./usr/src/linux-headers-5.10.240-antix.1-686-smp-pae/scripts/insert-sys-cert: /lib/i386-linux-gnu/libc.so.6:
               version 'GLIBC_2.38' not found (required by ./usr/src/linux-headers-5.10.240-antix.1-686-smp-pae/scripts/insert-sys-cert)
            ./usr/src/linux-headers-5.10.240-antix.1-686-smp-pae/scripts/extract-cert: /lib/i386-linux-gnu/libc.so.6:
               version 'GLIBC_2.38' not found (required by ./usr/src/linux-headers-5.10.240-antix.1-686-smp-pae/scripts/extract-cert)

            –Will

            #184290
            anticapitalista
            Forum Admin

              bookworm/pae kernel is fine.
              The error was only with the non-pae 486 kernels being moved to the wrong repos.
              So if you install the pae one via apt on antiX-23 series, it should be ok and no need to do anything.

              Philosophers have interpreted the world in many ways; the point is to change it.

              antiX with runit - leaner and meaner.

            Viewing 5 posts - 1 through 5 (of 5 total)
            • You must be logged in to reply to this topic.