Public bug reported:

In order to resolve some bugs, to workaround some hardware quirk, or to
help developers test some bug-fixing patch it would be able to:

- Get the sources of the *current* (non mainline) ubuntu kernel
- Apply some patch
- Rebuild the kernel in a PPA (so that it can be made available to multiple 
people for testing).

Unfortunately, there is no documentation on how to do this.  In fact, to
the best of my understanding there is no documentation on how to build
patched kernels in PPAs at all.

This seems to be both possible and involving some special recipes,
because in some occasions I've been pointed by ubuntu developers to try
some specially patched version of the current kernel made available via
a PPA.

Specifically, at the present time, I would like to try and help trying
the patch in git://github.com/vsyrjala/linux.git plane_assert_v4.13
which is not yet available in mainline. In other occasions I had similar
situations with other patches.

Please let me remark again that I am not looking for ways of building
patched versions of the mainline kernel in a PPA (for this I have found
some informal instructions in https://askubuntu.com/questions/784796
/ppa-upload-of-custom-kernel-package/841981#841981 (incidentally, this
too should in my opinion be officially documented). I am looking for
ways to build a patched current kernel, so that:

- systems needing proprietary drivers can be supported
- patches can be tested with the current ubuntu kernel
- as new versions of the ubuntu kernel for some distro come out, it is easy to 
bring forward the patch if needed.

Thanks!

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: linux-source (not installed)
ProcVersionSignature: Ubuntu 4.13.0-19.22-generic 4.13.13
Uname: Linux 4.13.0-19-generic x86_64
ApportVersion: 2.20.7-0ubuntu3.6
Architecture: amd64
AudioDevicesInUse:
 USER        PID ACCESS COMMAND
 /dev/snd/controlC0:  callegar  20848 F.... pulseaudio
CurrentDesktop: KDE
Date: Mon Dec 18 11:42:45 2017
EcryptfsInUse: Yes
IwConfig:
 eth0      no wireless extensions.
 
 lo        no wireless extensions.
MachineType: Dell Inc. Precision WorkStation T5400
ProcFB: 0 nouveaufb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.13.0-19-generic 
root=/dev/mapper/vg_ssd-root ro quiet splash mtrr_gran_size=2g 
mtrr_chunk_size=2g resume=/dev/sdc3 vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-4.13.0-19-generic N/A
 linux-backports-modules-4.13.0-19-generic  N/A
 linux-firmware                             1.169.1
RfKill:
 
SourcePackage: linux
UpgradeStatus: Upgraded to artful on 2017-10-25 (53 days ago)
WpaSupplicantLog:
 
dmi.bios.date: 04/30/2012
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A11
dmi.board.name: 0RW203
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 7
dmi.chassis.vendor: Dell Inc.
dmi.modalias: 
dmi:bvnDellInc.:bvrA11:bd04/30/2012:svnDellInc.:pnPrecisionWorkStationT5400:pvr:rvnDellInc.:rn0RW203:rvr:cvnDellInc.:ct7:cvr:
dmi.product.name: Precision WorkStation T5400
dmi.sys.vendor: Dell Inc.

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


** Tags: amd64 apport-bug artful

-- 
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/1738761

Title:
  Please document how to build a patched version of the current (non
  mainline) ubuntu kernel in a PPA

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  In order to resolve some bugs, to workaround some hardware quirk, or
  to help developers test some bug-fixing patch it would be able to:

  - Get the sources of the *current* (non mainline) ubuntu kernel
  - Apply some patch
  - Rebuild the kernel in a PPA (so that it can be made available to multiple 
people for testing).

  Unfortunately, there is no documentation on how to do this.  In fact,
  to the best of my understanding there is no documentation on how to
  build patched kernels in PPAs at all.

  This seems to be both possible and involving some special recipes,
  because in some occasions I've been pointed by ubuntu developers to
  try some specially patched version of the current kernel made
  available via a PPA.

  Specifically, at the present time, I would like to try and help trying
  the patch in git://github.com/vsyrjala/linux.git plane_assert_v4.13
  which is not yet available in mainline. In other occasions I had
  similar situations with other patches.

  Please let me remark again that I am not looking for ways of building
  patched versions of the mainline kernel in a PPA (for this I have
  found some informal instructions in
  https://askubuntu.com/questions/784796/ppa-upload-of-custom-kernel-
  package/841981#841981 (incidentally, this too should in my opinion be
  officially documented). I am looking for ways to build a patched
  current kernel, so that:

  - systems needing proprietary drivers can be supported
  - patches can be tested with the current ubuntu kernel
  - as new versions of the ubuntu kernel for some distro come out, it is easy 
to bring forward the patch if needed.

  Thanks!

  ProblemType: Bug
  DistroRelease: Ubuntu 17.10
  Package: linux-source (not installed)
  ProcVersionSignature: Ubuntu 4.13.0-19.22-generic 4.13.13
  Uname: Linux 4.13.0-19-generic x86_64
  ApportVersion: 2.20.7-0ubuntu3.6
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  callegar  20848 F.... pulseaudio
  CurrentDesktop: KDE
  Date: Mon Dec 18 11:42:45 2017
  EcryptfsInUse: Yes
  IwConfig:
   eth0      no wireless extensions.
   
   lo        no wireless extensions.
  MachineType: Dell Inc. Precision WorkStation T5400
  ProcFB: 0 nouveaufb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.13.0-19-generic 
root=/dev/mapper/vg_ssd-root ro quiet splash mtrr_gran_size=2g 
mtrr_chunk_size=2g resume=/dev/sdc3 vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-4.13.0-19-generic N/A
   linux-backports-modules-4.13.0-19-generic  N/A
   linux-firmware                             1.169.1
  RfKill:
   
  SourcePackage: linux
  UpgradeStatus: Upgraded to artful on 2017-10-25 (53 days ago)
  WpaSupplicantLog:
   
  dmi.bios.date: 04/30/2012
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A11
  dmi.board.name: 0RW203
  dmi.board.vendor: Dell Inc.
  dmi.chassis.type: 7
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvrA11:bd04/30/2012:svnDellInc.:pnPrecisionWorkStationT5400:pvr:rvnDellInc.:rn0RW203:rvr:cvnDellInc.:ct7:cvr:
  dmi.product.name: Precision WorkStation T5400
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1738761/+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