Public bug reported:

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

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug bionic

-- 
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:
  New

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

Reply via email to