============================================================================ I have decided to make another attempt at doing the build. Here is the command and result of the git clone:
maallyn@li1004-144:~$ git clone git://kernel.ubuntu.com/ubuntu/ubuntu-bionic.git Cloning into 'ubuntu-bionic'... remote: Counting objects: 7717929, done. remote: Compressing objects: 100% (1127512/1127512), done. Receiving objects: 100% (7717929/7717929), 1.70 GiB | 18.47 MiB/s, done. remote: Total 7717929 (delta 6543888), reused 7715758 (delta 6541783) Resolving deltas: 100% (6543888/6543888), done. Checking out files: 100% (63373/63373), done. This appears to have executed okay with no errors. The resultding local directory is ubuntu-bionic. This is owned by me as a regular user. I executed the git clone as myself, not root. I also checked to make sure that the machine has enough free disk space maallyn@li1004-144:~/ubuntu-bionic$ df -k . Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda 329820620 7681400 305371960 3% / Following instructions for kernel configuration (I plan to conigure only amd64 targets chmod a+x debian/rules chmod a+x debian/scripts/* chmod a+x debian/scripts/misc/* LANG=C fakeroot debian/rules clean All seem okay Now doing configs: Do you want to edit config: amd64/config.flavour.generic? [Y/n] I say yes Do you want to edit config: amd64/config.flavour.lowlatency? [Y/n] I say yes For both of those, the only change I make is to remove the noveau NVIDIA driver as I plan to use the propriatary NVIDIA drivers. All other architecture, I answer no. LANG=C fakeroot debian/rules clean At this point, I do a tar of the clean source directory and save the result so that you can pull the tar file and see what I have prior to starting the build I have created new web site for results: The tar file is at testing.allyn.com/bionic.tar.bz2 ================================================================= This is typical of the output of the vmstat command; showing that there is no shortage of memory or cpu resources. 10 0 0 7864448 180624 7749964 0 0 0 2596 13312 27719 73 17 10 0 0 7 0 0 7891128 180624 7753884 0 0 0 2996 23490 46709 67 14 20 0 0 5 0 0 7879720 180628 7759516 0 0 0 2800 19255 38487 76 14 11 0 0 10 0 0 7963952 180636 7767744 0 0 0 2560 17455 36468 76 13 11 0 0 procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu----- r b swpd free buff cache si so bi bo in cs us sy id wa st 10 0 0 7934168 180636 7770664 0 0 0 4352 14918 28456 81 11 8 0 0 8 0 0 8133776 180640 7775148 0 0 0 3648 22041 45351 66 15 19 0 0 11 0 0 7921644 180640 7776852 0 0 0 1532 17850 35453 70 12 18 0 0 7 0 0 7864824 180644 7779712 0 0 0 3412 24265 48031 66 15 19 0 0 11 0 0 7960116 180648 7783648 0 0 0 2788 25437 49499 70 14 16 0 0 8 0 0 8092108 180664 7787044 0 0 0 5496 20968 39922 74 13 13 0 0 8 0 0 7824748 180672 7789484 0 0 0 2424 19235 37107 73 13 14 0 0 8 0 0 8019460 180672 7793092 0 0 0 2620 19162 37465 75 13 13 0 0 11 0 0 8031848 180680 7807788 0 0 0 2164 20175 40167 71 16 14 0 0 8 0 0 7848844 180684 7810952 0 0 0 2412 20743 40815 72 13 15 0 0 8 0 0 7790564 180696 7818056 0 0 0 34888 21512 42363 72 14 14 0 0 13 0 0 7842920 180696 7821360 0 0 0 2072 22679 44473 72 13 15 0 0 7 0 0 7880812 180708 7824484 0 0 0 2876 18095 34736 77 12 10 0 0 9 0 0 7885716 180720 7827932 0 0 4 2396 22771 44153 69 13 18 0 0 11 0 0 7948224 180720 7831292 0 0 0 2148 19393 39164 69 13 18 0 0 7 0 0 7982632 180728 7834100 0 0 0 5548 22850 45862 68 14 18 0 0 9 0 0 8038948 180728 7837532 0 0 0 2480 20843 42140 70 15 15 0 0 8 0 0 7812604 180736 7840544 0 0 0 2192 19992 39908 69 13 18 0 0 8 0 0 8026276 180740 7845600 0 0 0 3100 22430 45912 69 14 17 0 0 9 0 0 7942404 180752 7848840 0 0 0 1664 15072 33452 76 11 12 0 0 3 0 0 7924660 180760 7851624 0 0 0 14432 21655 42980 67 13 20 0 0 9 0 0 7969044 180764 7855572 0 0 0 2412 21355 42584 72 13 15 0 0 ============================================================================== Note that I get the same error: Debug: module-check-generic II: Checking modules for generic... reading new modules...read 5167 modules. reading old modules... MISS: nouveau read 5168 modules : new(0) missing(1) EE: Missing modules (start begging for mercy) make: *** [module-check-generic] Error 1 debian/rules.d/4-checks.mk:9: recipe for target 'module-check-generic' failed =============================================================================== Here are the documents are on the new web site: http://testing.allyn.com/compile.log http://testing.allyn.com/bionic.tar.bz2 -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1909687 Title: Cannot compile kernel using procedure at https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel Status in linux package in Ubuntu: Incomplete Bug description: I am trying to use the procedure to compile the kernel for ubuntu- bionic: https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel Here is the procedure that I tried to do: First, uncomment all deb-src in /etc/apt/sources.list apt-get update apt-get upgrade apt-get dist-upgrade Reboot machine Confirm version: maallyn@li1183-111:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.5 LTS Release: 18.04 Codename: bionic maallyn@li1183-111:~$ uname -a Linux li1183-111 4.15.0-128-generic #131-Ubuntu SMP Wed Dec 9 06:57:35 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux sudo apt-get build-dep linux linux-image-$(uname -r) apt-get install libncurses-dev flex bison openssl libssl-dev dkms libelf-dev libudev-dev libpci-dev libiberty-dev autoconf ################ apt-get source linux-image-$(uname -r) Is broken. I am getting permission denied even though I am on as root. root@li1183-111:~# apt-get source linux-image-$(uname -r) Reading package lists... Done Picking 'linux-signed' as source package instead of 'linux-image-4.15.0-128-generic' Need to get 19.8 kB of source archives. Get:1 http://mirrors.linode.com/ubuntu bionic-updates/main linux-signed 4.15.0-128.131 (dsc) [2,103 B] Get:2 http://mirrors.linode.com/ubuntu bionic-updates/main linux-signed 4.15.0-128.131 (tar) [17.7 kB] Fetched 19.8 kB in 0s (1,805 kB/s) dpkg-source: info: extracting linux-signed in linux-signed-4.15.0 dpkg-source: info: unpacking linux-signed_4.15.0-128.131.tar.xz W: Download is performed unsandboxed as root as file 'linux-signed_4.15.0-128.131.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) ########################################## # Now trying git clone method git clone git://kernel.ubuntu.com/ubuntu/ubuntu-bionic.git This seems to work okay . . . maallyn@li1183-111:~$ git clone git://kernel.ubuntu.com/ubuntu/ubuntu-bionic.git Cloning into 'ubuntu-bionic'... remote: Counting objects: 7717929, done. remote: Compressing objects: 100% (1127512/1127512), done. Receiving objects: 100% (7717929/7717929), 1.70 GiB | 18.82 MiB/s, done. remote: Total 7717929 (delta 6543888), reused 7715758 (delta 6541783) Resolving deltas: 100% (6543888/6543888), done. Checking out files: 100% (63373/63373), done. Now, trying to do the fakeroot, come to find that the procedure did not include apt-get install fakeroot Now the prep to do the configures seem to be okay Now, added allyn1 to version by changing the first line of debian.master/changelog: linux (4.15.0-126.129-allyn1) bionic; urgency=medium Change config to remove Nouveau (NVIDIA) cards from configuration so that I can use the propriatary NVIDIA drivers Changed only amd64 and amd64 lowlatency, but did not change others --------------------------------------------------------------------------- LANG=C fakeroot debian/rules binary-headers binary-generic binary-perarch I have made the entire output of the console available at: www.allyn.com/build-attempt.txt I have also made the entire (uncompiled) source tree available at: www.allyn.com/ubuntu-bionic.tar I can be contacted at markallyn...@gmail.com and my account at ubuntu is maallyn123 ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: linux-image-4.15.0-128-generic 4.15.0-128.131 ProcVersionSignature: Ubuntu 4.15.0-128.131-generic 4.15.18 Uname: Linux 4.15.0-128-generic x86_64 AlsaDevices: total 0 crw-rw---- 1 root audio 116, 1 Dec 30 17:06 seq crw-rw---- 1 root audio 116, 33 Dec 30 17:06 timer AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay' ApportVersion: 2.20.9-0ubuntu7.21 Architecture: amd64 ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord': 'arecord' AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1: Date: Wed Dec 30 18:54:36 2020 InstallationDate: Installed on 2020-09-28 (92 days ago) InstallationMedia: Ubuntu-Server 18.04.5 LTS "Bionic Beaver" - Release amd64 (20200810) IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig': 'iwconfig' Lsusb: Error: command ['lsusb'] failed with exit code 1: MachineType: QEMU Standard PC (Q35 + ICH9, 2009) PciMultimedia: ProcFB: 0 bochsdrmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-128-generic root=/dev/sda ro console=ttyS0,19200n8 net.ifnames=0 RelatedPackageVersions: linux-restricted-modules-4.15.0-128-generic N/A linux-backports-modules-4.15.0-128-generic N/A linux-firmware 1.173.19 RfKill: Error: [Errno 2] No such file or directory: 'rfkill': 'rfkill' SourcePackage: linux UpgradeStatus: No upgrade log present (probably fresh install) WifiSyslog: dmi.bios.date: 04/01/2014 dmi.bios.vendor: SeaBIOS dmi.bios.version: rel-1.12.0-0-ga698c8995f-prebuilt.qemu.org dmi.chassis.type: 1 dmi.chassis.vendor: QEMU dmi.chassis.version: pc-q35-3.1 dmi.modalias: dmi:bvnSeaBIOS:bvrrel-1.12.0-0-ga698c8995f-prebuilt.qemu.org:bd04/01/2014:svnQEMU:pnStandardPC(Q35+ICH9,2009):pvrpc-q35-3.1:cvnQEMU:ct1:cvrpc-q35-3.1: dmi.product.name: Standard PC (Q35 + ICH9, 2009) dmi.product.version: pc-q35-3.1 dmi.sys.vendor: QEMU To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1909687/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp