Author Topic: [NEWS] Debian 11 is out  (Read 2535 times)

xilinder

  • Jr. Member
  • **
  • Posts: 78
  • Karma: +7/-0
    • View Profile
Re: [NEWS] Debian 11 is out
« Reply #30 on: April 09, 2022, 08:19:37 am »
I do not make .deb packages. I also do not use make -jx, or make modules.

Pretty much I do make menuconfig, make, make modules_install, make install.

In menuconfig I change things to what I want, like 4k PAGESIZE, and for my system with 2x8 cores, I use 64 processors.

If I want I use mc (midnight commander) as root or sudo to look at /boot and perhaps remove,move, or add kernels and
other stuff and then use update-grub as necessary.
Using the update-grub command may require you to login as su - (the  - is important) and then do /usr/sbin/update-grub.
Talos II 2x8, 32GB RAM, onboard Microsemi RAID,  AMD WX7100, J.Micron SATA/PATA PCIe adapter. Debian with Mate.

MauryG5

  • Hero Member
  • *****
  • Posts: 645
  • Karma: +21/-1
    • View Profile
Re: [NEWS] Debian 11 is out
« Reply #31 on: April 09, 2022, 10:36:26 am »
Hi Xlinder, I also do like you and I use that procedure that they say is the universal one, only that way the system does not recognize you the fully installed kernel and when you have to remove it to put a new one, you have to remove file by file in the boot folder and when you run the grep command to find out how many kernels you have installed, the one you made is not there since you have not installed .deb packages. and you can't even do the classic purge command to remove that kernel because it tells you that kernel isn't installed on your system. So the system eventually does not recognize as installed, a kernel with that procedure even if it regularly makes you use it obvious. I would like to understand if it is possible to make the system recognize a kernel installed with this universal procedure as you do ...

Borley

  • Full Member
  • ***
  • Posts: 133
  • Karma: +10/-0
    • View Profile
Re: [NEWS] Debian 11 is out
« Reply #32 on: April 09, 2022, 05:03:08 pm »
I have been burned by running make as root user in the past, so I always avoid running make with sudo when possible. My understanding of the process so far:
  • apt install dpkg-dev flex bison rsync libssl-dev (if not already installed)
  • mkdir build-directory && cd build-directory
  • apt source linux-image-X.XX.X-XX-powerpc64le
  • make oldconfig (to copy kernel config from existing entries)
  • Edit .config and:

   CONFIG_LOCALVERSION=""  (<-- append custom kernel name in "")
  • Make whichever changes you need to the kernel/modules
  • make bindeb-pkg
    Then finally:
  • sudo dpkg -i linux-image-X.XX.X_X.XX.X-1_ppc64el.deb
Blackbird C1P9S01, CPU 02CY650, 2x 8GB 2666 RAM, 1024GB M.2 SSD, AMD RX 560X, 2U heatsink, 500W SFX PSU, Debian 11

xilinder

  • Jr. Member
  • **
  • Posts: 78
  • Karma: +7/-0
    • View Profile
Re: [NEWS] Debian 11 is out
« Reply #33 on: April 10, 2022, 08:01:32 am »
I have been using Midnight Commander for so long, not only on Linux, that it has become my goto default tool for kernel building, system snooping, etc.. I build my kernels as user, and install as root as necessary.
Many times I will remove them from /boot by moving to a folder in /home along with the modules....just in case.
Different strokes for different folks.

Now that my Radeon 7750 is working with 64k pagesize there is less urgency.
Talos II 2x8, 32GB RAM, onboard Microsemi RAID,  AMD WX7100, J.Micron SATA/PATA PCIe adapter. Debian with Mate.

MauryG5

  • Hero Member
  • *****
  • Posts: 645
  • Karma: +21/-1
    • View Profile
Re: [NEWS] Debian 11 is out
« Reply #34 on: April 10, 2022, 08:14:07 am »
Borley, I tried your procedure, practically the same as the one done with the command: make -j 32 KDEB_PKGVERSION = 1.-maury.ppc64le deb-pkg and the error that gives me at the end is always the same on the Kernels with long support of the 5.15.X series If I try to compile the recent ones then it works but unfortunately the recent kernels as we know do not work on Power, like 5.17.X and therefore I cannot use this procedure yet. The error here is this too: make [2]: *** [debian / rules: 7: build-arch] Error 2
dpkg-buildpackage: Error: debian / rules binary subprocess returned exit status 2
make [1]: *** [scripts / Makefile.package: 83: bindeb-pkg] Error 2
make: *** [Makefile: 1576: bindeb-pkg] Error 2

I don't understand why these 5.15 Kernels make this error, 5.15.2 does it, 5.15.30 does it and also the current 5.15.33. Only if you use the universal procedure like the one I've always used and which uses Xlinder, then it doesn't give you compiler errors but I don't know how to make the system recognize it in that case. I'm waiting for them to fix the new Kernel bug so I can use that ...