/srv/irclogs.ubuntu.com/2023/02/13/#ubuntu-kernel.txt

=== fling_ is now known as fling
=== chris14_ is now known as chris14
juergh[m]claudio: open a ticket and provide some into to look at. Run: `ubuntu-bug linux` on that machine.07:28
=== esembee_ is now known as esembee
heeenwhat are the steps to reliably build 22.10 lowlatency14:49
heeen5.19.0-1015-lowlatency14:50
heeenI am facing various build failures following the wiki steps or other steps found on the web14:50
heeenfor example, make deb-pkg gives:14:51
heeendpkg-source: error: cannot represent change to vmlinux-gdb.py:14:51
heeendpkg-source: error:   new version is symlink to scripts/gdb/vmlinux-gdb.py14:51
heeendpkg-source: error:   old version is nonexistent14:51
heeenbecause the symlink is an absolute path and I guess it uses fakeroot internally where that path does not exist?14:52
heeenor, from LANG=C fakeroot debian/rules binary:14:52
heeenmkdir /home/florian/src-misc/linux-lowlatency-5.19.0/debian/linux-libc-dev/usr/include/x86_64-linux-gnu14:53
heeenmkdir: cannot create directory '/home/florian/src-misc/linux-lowlatency-5.19.0/debian/linux-libc-dev/usr/include/x86_64-linux-gnu': File exists14:53
heeenmake: *** [debian/rules.d/2-binary-arch.mk:561: install-arch-headers] Error 114:53
heeenalso:15:07
heeenmake clean15:07
heeenscripts/Makefile.clean:15: ubuntu/hio/Makefile: No such file or directory15:07
juergh[m]heeen You can't use make deb-pkg with an Ubuntu kernel. Can you list the steps from the beginning?15:08
juergh[m]heeen: ^^15:08
heeenwhich are the steps you suggest15:08
juergh[m]what exactly are you doing?15:09
mhcerrifakeroot debian/rules clean && dpkg-buildpackage -I -i -uc -us // maybe that instead?15:11
heeenI want to compile alsa modules and figured building the kernel would be a good precursor15:11
heeenI built the kernel before but this time something doesn't work15:12
heeenhttps://wiki.ubuntu.com/Kernel/BuildYourOwnKernel15:12
juergh[m]heeen: how are you doing that? how do you get the source? what commands are you running? as I said: what are your steps?15:12
heeenI'll let it run until it fails then I'll post the steps I did, hang on15:13
heeenapt-get source linux-image-unsigned-$(uname -r); cd linux-lowlatency-5.19.0/; LANG=C fakeroot debian/rules binary15:14
heeen# Install only the full versioned libcpupower.so.5.19.0-1017, not15:14
heeen# the usual symlinks to it.15:14
heeeninstall -m644 /home/florian/src-misc/linux-lowlatency-5.19.0/debian/build/tools-perarch/tools/power/cpupower/libcpupower.so.5.19.0-1017 \15:14
heeen        /home/florian/src-misc/linux-lowlatency-5.19.0/debian/linux-lowlatency-tools-5.19.0-1017/usr/lib/15:14
heeeninstall -m755 /home/florian/src-misc/linux-lowlatency-5.19.0/debian/build/tools-perarch/tools/perf/perf /home/florian/src-misc/linux-lowlatency-5.19.0/debian/linux-lowlatency-tools-5.19.0-1017/usr/lib/linux-lowlatency-tools-5.19.0-101715:14
heeeninstall -m755 /home/florian/src-misc/linux-lowlatency-5.19.0/debian/build/tools-perarch/tools/perf/libperf-jvmti.so /home/florian/src-misc/linux-lowlatency-5.19.0/debian/linux-lowlatency-tools-5.19.0-1017/usr/lib/linux-lowlatency-tools-5.19.0-101715:14
heeeninstall: cannot stat '/home/florian/src-misc/linux-lowlatency-5.19.0/debian/build/tools-perarch/tools/perf/libperf-jvmti.so': No such file or directory15:14
heeenmake: *** [debian/rules.d/2-binary-arch.mk:775: install-perarch] Error 115:14
heeenthis is yet another way it fails now15:15
heeenok seems like I am missing some packages15:16
heeenwhich are required for kenrel-tools it seems?15:17
heeenthe suggested packages openjdk-8-jdk  java-1.8.0-openjdk-devel do not exist15:18
heeentrying the other command:15:19
heeen# quicker build:15:19
heeenLANG=C fakeroot debian/rules binary-headers binary-generic binary-perarch15:19
heeencheck-config: FAIL (- != n): CONFIG_MODULE_ALLOW_BTF_MISMATCH policy<{'amd64': 'n', 'arm64': 'n', 'ppc64el': 'n', 'riscv64': 'n', 's390x': 'n'}>15:19
heeencheck-config: FAIL (- != y): CONFIG_DEBUG_INFO_BTF policy<{'amd64': 'y', 'arm64': 'y', 'armhf': 'n', 'ppc64el': 'y', 'riscv64': 'y', 's390x': 'y'}> flag<REVIEW> note<Needs newer pahole for armhf>15:19
heeencheck-config: 11329/11331 checks passed -- exit 115:19
heeenjuergh[m]: any suggestions?15:22
juergh[m]not today, no.15:25
heeenmhcerri: how can I make that use more cores16:01
heeenah it seems to understand -j16:05
heeenmkdir /home/florian/src-misc/linux-lowlatency-5.19.0/debian/linux-libc-dev/usr/include/x86_64-linux-gnu17:57
heeenmkdir: cannot create directory '/home/florian/src-misc/linux-lowlatency-5.19.0/debian/linux-libc-dev/usr/include/x86_64-linux-gnu': File exists17:58
heeenmake: *** [debian/rules.d/2-binary-arch.mk:561: install-arch-headers] Error 117:58
heeenmake: *** Waiting for unfinished jobs....17:58
heeenfrom mhcerri command above17:58
cascardoyou should try sbuild19:44
=== chris15 is now known as chris14

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!