[Kernel-packages] [Bug 1761825] [NEW] amdgpu.dc fails on AMD (Kaveri) A10-7300

2018-04-06 Thread semreh
Public bug reported:

Booting kernel 4.16 ( BOOT_IMAGE=/vmlinuz-4.16.0-041600-generic ) with
external monitor attached to VGA port of Lenovo Ideapad Z50-75 (AMD
Kaveri A10-7300) results in blank external display when
amdgpu.ci_support is forced (i.e. radeon disabled).

key dmesg messages are:

[1.897177] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector 
ObjectID from Adapter Service for connector index:3! type 0 expected 3
[1.897266] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector 
ObjectID from Adapter Service for connector index:4! type 0 expected 3
[1.897380] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector 
ObjectID from Adapter Service for connector index:5! type 0 expected 3
[1.897489] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector 
ObjectID from Adapter Service for connector index:6! type 0 expected 3


Kernel boot options are: amdgpu.cik_support=1 radeon.cik_support=0 

If I boot the same kernel with the following options:

amdgpu.cik_support=1 radeon.cik_support=0 amdgpu.dc=0

The VGA attached display works.

Attached in the tar are:

version.log - output of cat /proc/version
lspci-vnvn.log - output of sudo lscpi -vnvn
dmesg_amdgpu.dc-(default-one) - dmesg from boot with amdgpu.cik_support forced 
and amdgpu.dc left to deafult
dmesg_amdgpu.dc-0 - dmesg from boot with amdgpu.cik_support forced and 
amdgpu.dc disabled

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


** Tags: amdgpu

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

Title:
  amdgpu.dc fails on AMD (Kaveri) A10-7300

Status in linux package in Ubuntu:
  New

Bug description:
  Booting kernel 4.16 ( BOOT_IMAGE=/vmlinuz-4.16.0-041600-generic ) with
  external monitor attached to VGA port of Lenovo Ideapad Z50-75 (AMD
  Kaveri A10-7300) results in blank external display when
  amdgpu.ci_support is forced (i.e. radeon disabled).

  key dmesg messages are:

  [1.897177] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector 
ObjectID from Adapter Service for connector index:3! type 0 expected 3
  [1.897266] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector 
ObjectID from Adapter Service for connector index:4! type 0 expected 3
  [1.897380] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector 
ObjectID from Adapter Service for connector index:5! type 0 expected 3
  [1.897489] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector 
ObjectID from Adapter Service for connector index:6! type 0 expected 3

  
  Kernel boot options are: amdgpu.cik_support=1 radeon.cik_support=0 

  If I boot the same kernel with the following options:

  amdgpu.cik_support=1 radeon.cik_support=0 amdgpu.dc=0

  The VGA attached display works.

  Attached in the tar are:

  version.log - output of cat /proc/version
  lspci-vnvn.log - output of sudo lscpi -vnvn
  dmesg_amdgpu.dc-(default-one) - dmesg from boot with amdgpu.cik_support 
forced and amdgpu.dc left to deafult
  dmesg_amdgpu.dc-0 - dmesg from boot with amdgpu.cik_support forced and 
amdgpu.dc disabled

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


[Kernel-packages] [Bug 1761825] ProcEnviron.txt

2018-04-06 Thread semreh
apport information

** Attachment added: "ProcEnviron.txt"
   
https://bugs.launchpad.net/bugs/1761825/+attachment/5104720/+files/ProcEnviron.txt

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

Title:
  amdgpu.dc fails on AMD (Kaveri) A10-7300

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  Booting kernel 4.16 ( BOOT_IMAGE=/vmlinuz-4.16.0-041600-generic ) with
  external monitor attached to VGA port of Lenovo Ideapad Z50-75 (AMD
  Kaveri A10-7300) results in blank external display when
  amdgpu.ci_support is forced (i.e. radeon disabled).

  key dmesg messages are:

  [1.897177] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector 
ObjectID from Adapter Service for connector index:3! type 0 expected 3
  [1.897266] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector 
ObjectID from Adapter Service for connector index:4! type 0 expected 3
  [1.897380] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector 
ObjectID from Adapter Service for connector index:5! type 0 expected 3
  [1.897489] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector 
ObjectID from Adapter Service for connector index:6! type 0 expected 3

  
  Kernel boot options are: amdgpu.cik_support=1 radeon.cik_support=0 

  If I boot the same kernel with the following options:

  amdgpu.cik_support=1 radeon.cik_support=0 amdgpu.dc=0

  The VGA attached display works.

  Attached in the tar are:

  version.log - output of cat /proc/version
  lspci-vnvn.log - output of sudo lscpi -vnvn
  dmesg_amdgpu.dc-(default-one) - dmesg from boot with amdgpu.cik_support 
forced and amdgpu.dc left to deafult
  dmesg_amdgpu.dc-0 - dmesg from boot with amdgpu.cik_support forced and 
amdgpu.dc disabled
  --- 
  ApportVersion: 2.20.1-0ubuntu2.15
  Architecture: amd64
  CurrentDesktop: LXDE
  DistroRelease: Ubuntu 16.04
  InstallationDate: Installed on 2017-09-05 (213 days ago)
  InstallationMedia: Lubuntu 16.04.3 LTS "Xenial Xerus" - Release amd64 
(20170801)
  JournalErrors:
   Error: command ['journalctl', '-b', '--priority=warning', '--lines=1000'] 
failed with exit code 1: Failed to search journal ACL: Operation not supported
   No journal files were opened due to insufficient permissions.
  Package: linux (not installed)
  Tags:  xenial
  Uname: Linux 4.16.0-041600-generic x86_64
  UnreportableReason: The running kernel is not an Ubuntu kernel
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip kismet libvirtd lpadmin plugdev sambashare scanner 
sudo
  _MarkForUpload: True

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


[Kernel-packages] [Bug 1761825] Re: amdgpu.dc fails on AMD (Kaveri) A10-7300

2018-04-06 Thread semreh
apport information

** Tags added: apport-collected xenial

** Description changed:

  Booting kernel 4.16 ( BOOT_IMAGE=/vmlinuz-4.16.0-041600-generic ) with
  external monitor attached to VGA port of Lenovo Ideapad Z50-75 (AMD
  Kaveri A10-7300) results in blank external display when
  amdgpu.ci_support is forced (i.e. radeon disabled).
  
  key dmesg messages are:
  
  [1.897177] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector 
ObjectID from Adapter Service for connector index:3! type 0 expected 3
  [1.897266] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector 
ObjectID from Adapter Service for connector index:4! type 0 expected 3
  [1.897380] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector 
ObjectID from Adapter Service for connector index:5! type 0 expected 3
  [1.897489] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector 
ObjectID from Adapter Service for connector index:6! type 0 expected 3
  
  
  Kernel boot options are: amdgpu.cik_support=1 radeon.cik_support=0 
  
  If I boot the same kernel with the following options:
  
  amdgpu.cik_support=1 radeon.cik_support=0 amdgpu.dc=0
  
  The VGA attached display works.
  
  Attached in the tar are:
  
  version.log - output of cat /proc/version
  lspci-vnvn.log - output of sudo lscpi -vnvn
  dmesg_amdgpu.dc-(default-one) - dmesg from boot with amdgpu.cik_support 
forced and amdgpu.dc left to deafult
  dmesg_amdgpu.dc-0 - dmesg from boot with amdgpu.cik_support forced and 
amdgpu.dc disabled
+ --- 
+ ApportVersion: 2.20.1-0ubuntu2.15
+ Architecture: amd64
+ CurrentDesktop: LXDE
+ DistroRelease: Ubuntu 16.04
+ InstallationDate: Installed on 2017-09-05 (213 days ago)
+ InstallationMedia: Lubuntu 16.04.3 LTS "Xenial Xerus" - Release amd64 
(20170801)
+ JournalErrors:
+  Error: command ['journalctl', '-b', '--priority=warning', '--lines=1000'] 
failed with exit code 1: Failed to search journal ACL: Operation not supported
+  No journal files were opened due to insufficient permissions.
+ Package: linux (not installed)
+ Tags:  xenial
+ Uname: Linux 4.16.0-041600-generic x86_64
+ UnreportableReason: The running kernel is not an Ubuntu kernel
+ UpgradeStatus: No upgrade log present (probably fresh install)
+ UserGroups: adm cdrom dip kismet libvirtd lpadmin plugdev sambashare scanner 
sudo
+ _MarkForUpload: True

** Attachment added: "ProcCpuinfoMinimal.txt"
   
https://bugs.launchpad.net/bugs/1761825/+attachment/5104719/+files/ProcCpuinfoMinimal.txt

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

Title:
  amdgpu.dc fails on AMD (Kaveri) A10-7300

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  Booting kernel 4.16 ( BOOT_IMAGE=/vmlinuz-4.16.0-041600-generic ) with
  external monitor attached to VGA port of Lenovo Ideapad Z50-75 (AMD
  Kaveri A10-7300) results in blank external display when
  amdgpu.ci_support is forced (i.e. radeon disabled).

  key dmesg messages are:

  [1.897177] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector 
ObjectID from Adapter Service for connector index:3! type 0 expected 3
  [1.897266] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector 
ObjectID from Adapter Service for connector index:4! type 0 expected 3
  [1.897380] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector 
ObjectID from Adapter Service for connector index:5! type 0 expected 3
  [1.897489] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector 
ObjectID from Adapter Service for connector index:6! type 0 expected 3

  
  Kernel boot options are: amdgpu.cik_support=1 radeon.cik_support=0 

  If I boot the same kernel with the following options:

  amdgpu.cik_support=1 radeon.cik_support=0 amdgpu.dc=0

  The VGA attached display works.

  Attached in the tar are:

  version.log - output of cat /proc/version
  lspci-vnvn.log - output of sudo lscpi -vnvn
  dmesg_amdgpu.dc-(default-one) - dmesg from boot with amdgpu.cik_support 
forced and amdgpu.dc left to deafult
  dmesg_amdgpu.dc-0 - dmesg from boot with amdgpu.cik_support forced and 
amdgpu.dc disabled
  --- 
  ApportVersion: 2.20.1-0ubuntu2.15
  Architecture: amd64
  CurrentDesktop: LXDE
  DistroRelease: Ubuntu 16.04
  InstallationDate: Installed on 2017-09-05 (213 days ago)
  InstallationMedia: Lubuntu 16.04.3 LTS "Xenial Xerus" - Release amd64 
(20170801)
  JournalErrors:
   Error: command ['journalctl', '-b', '--priority=warning', '--lines=1000'] 
failed with exit code 1: Failed to search journal ACL: Operation not supported
   No journal files were opened due to insufficient permissions.
  Package: linux (not installed)
  Tags:  xenial
  Uname: Linux 4.16.0-041600-generic x86_64
  UnreportableReason: The running kernel is not an Ubuntu kernel
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip kismet libvirtd lpadmin 

[Kernel-packages] [Bug 1761751] Re: Black screen on 18.04 + AMD RX460

2018-05-15 Thread semreh
Some information from me, using 4.16.8 kernel
System is Lenovo Z50-75 laptop with AMD-A10 cpu (Kaveri) and both HDMI and VGA 
ports. I use the VGA port to which is connected an Acer X223HQ display, capable 
of displaying up to 1920x1080. The laptop screen is also 1920x1080

If system is booted with the following kernel options

amdgpu.cik_support=1 radeon.cik_support=0 amdgpu.dc=1

I get a black/blank VGA screen.

If system is booted with

amdgpu.cik_support=1 radeon.cik_support=0 amdgpu.dc=0

I get a working VGA display in addition to the laptop screen.

With amdgpu.dc=1 the contents of /sys/class/drm are:
card0
card0-eDP-1
card0-HDMI-A-1
renderD128
ttm
version

With amdgpu.dc=0 the contents of /sys/class/drm are:
card0
card0-eDP-1
card0-HDMI-A-1
card0-VGA-1
renderD128
ttm
version

With amdgpu.dc=0, dmesg lines containing 'drm' are

[1.749135] [drm] radeon kernel modesetting enabled.
[1.750430] fb: switching to radeondrmfb from EFI VGA
[1.795937] [drm] amdgpu kernel modesetting enabled.
[1.804524] [drm] initializing kernel modesetting (KAVERI 0x1002:0x130A 
0x17AA:0x3988 0x00).
[1.804544] [drm] register mmio base: 0xF0B0
[1.804547] [drm] register mmio size: 262144
[1.828764] [drm] BIOS signature incorrect 0 0
[1.829561] [drm] vm size is 64 GB, 2 levels, block size is 10-bit, fragment 
size is 9-bit
[1.829586] [drm] Detected VRAM RAM=1024M, BAR=1024M
[1.829589] [drm] RAM width 64bits UNKNOWN
[1.829727] [drm] amdgpu: 1024M of VRAM memory ready
[1.829731] [drm] amdgpu: 3072M of GTT memory ready.
[1.829747] [drm] GART: num cpu pages 262144, num gpu pages 262144
[1.829797] [drm] PCIE GART of 1024M enabled (table at 0x00F40004).
[1.829885] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[1.829888] [drm] Driver supports precise vblank timestamp query.
[1.829920] [drm] Internal thermal controller without fan control
[1.829923] [drm] amdgpu: dpm initialized
[1.830640] [drm] amdgpu atom DIG backlight initialized
[1.830644] [drm] AMDGPU Display Connectors
[1.830647] [drm] Connector 0:
[1.830649] [drm]   VGA-1
[1.830651] [drm]   HPD2
[1.830654] [drm]   DDC: 0x1950 0x1950 0x1951 0x1951 0x1952 0x1952 0x1953 
0x1953
[1.830657] [drm]   Encoders:
[1.830659] [drm] CRT1: INTERNAL_UNIPHY2
[1.830661] [drm] CRT1: NUTMEG
[1.830663] [drm] Connector 1:
[1.830665] [drm]   HDMI-A-1
[1.830667] [drm]   HPD3
[1.830670] [drm]   DDC: 0x1954 0x1954 0x1955 0x1955 0x1956 0x1956 0x1957 
0x1957
[1.830673] [drm]   Encoders:
[1.830675] [drm] DFP1: INTERNAL_UNIPHY2
[1.830677] [drm] Connector 2:
[1.830679] [drm]   eDP-1
[1.830681] [drm]   HPD1
[1.830684] [drm]   DDC: 0x194c 0x194c 0x194d 0x194d 0x194e 0x194e 0x194f 
0x194f
[1.830687] [drm]   Encoders:
[1.830690] [drm] LCD1: INTERNAL_UNIPHY
[1.831974] [drm] Found UVD firmware Version: 1.55 Family ID: 9
[1.832424] [drm] Found VCE firmware Version: 50.10 Binary ID: 2
[1.923930] [drm] UVD initialized successfully.
[2.042436] [drm] VCE initialized successfully.
[3.097431] [drm] fb mappable at 0xA0428000
[3.097436] [drm] vram apper at 0xA000
[3.097438] [drm] size 8294400
[3.097440] [drm] fb depth is 24
[3.097442] [drm]pitch is 7680
[3.098563] fbcon: amdgpudrmfb (fb0) is primary device
[6.593703] amdgpu :00:01.0: fb0: amdgpudrmfb frame buffer device
[6.610690] [drm] Initialized amdgpu 3.23.0 20150101 for :00:01.0 on 
minor 0

With amdgpu.dc=1, dmesg lines containing drm are:
[1.768255] [drm] radeon kernel modesetting enabled.
[1.770696] fb: switching to radeondrmfb from EFI VGA
[1.816131] [drm] amdgpu kernel modesetting enabled.
[1.824756] [drm] initializing kernel modesetting (KAVERI 0x1002:0x130A 
0x17AA:0x3988 0x00).
[1.824788] [drm] register mmio base: 0xF0B0
[1.824791] [drm] register mmio size: 262144
[1.849601] [drm] BIOS signature incorrect 0 0
[1.849724] [drm] vm size is 64 GB, 2 levels, block size is 10-bit, fragment 
size is 9-bit
[1.849746] [drm] Detected VRAM RAM=1024M, BAR=1024M
[1.849749] [drm] RAM width 64bits UNKNOWN
[1.850061] [drm] amdgpu: 1024M of VRAM memory ready
[1.850065] [drm] amdgpu: 3072M of GTT memory ready.
[1.850080] [drm] GART: num cpu pages 262144, num gpu pages 262144
[1.850131] [drm] PCIE GART of 1024M enabled (table at 0x00F40004).
[1.850256] [drm] Internal thermal controller without fan control
[1.850260] [drm] amdgpu: dpm initialized
[1.851672] [drm] Found UVD firmware Version: 1.55 Family ID: 9
[1.852176] [drm] Found VCE firmware Version: 50.10 Binary ID: 2
[1.854405] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector 
ObjectID from Adapter Service for connector index:3! type 0 expected 3
[1.854493] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector 
ObjectID from Adapter Service for connector index

[Kernel-packages] [Bug 1761825] Re: amdgpu.dc fails on AMD (Kaveri) A10-7300

2018-05-15 Thread semreh
Tested on 4.16.8-041608-generic, and issue remains.

See https://bugs.launchpad.net/ubuntu/bionic/+source/linux/+bug/1761751

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

Title:
  amdgpu.dc fails on AMD (Kaveri) A10-7300

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  Booting kernel 4.16 ( BOOT_IMAGE=/vmlinuz-4.16.0-041600-generic ) with
  external monitor attached to VGA port of Lenovo Ideapad Z50-75 (AMD
  Kaveri A10-7300) results in blank external display when
  amdgpu.ci_support is forced (i.e. radeon disabled).

  key dmesg messages are:

  [1.897177] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector 
ObjectID from Adapter Service for connector index:3! type 0 expected 3
  [1.897266] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector 
ObjectID from Adapter Service for connector index:4! type 0 expected 3
  [1.897380] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector 
ObjectID from Adapter Service for connector index:5! type 0 expected 3
  [1.897489] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector 
ObjectID from Adapter Service for connector index:6! type 0 expected 3

  
  Kernel boot options are: amdgpu.cik_support=1 radeon.cik_support=0 

  If I boot the same kernel with the following options:

  amdgpu.cik_support=1 radeon.cik_support=0 amdgpu.dc=0

  The VGA attached display works.

  Attached in the tar are:

  version.log - output of cat /proc/version
  lspci-vnvn.log - output of sudo lscpi -vnvn
  dmesg_amdgpu.dc-(default-one) - dmesg from boot with amdgpu.cik_support 
forced and amdgpu.dc left to deafult
  dmesg_amdgpu.dc-0 - dmesg from boot with amdgpu.cik_support forced and 
amdgpu.dc disabled
  --- 
  ApportVersion: 2.20.1-0ubuntu2.15
  Architecture: amd64
  CurrentDesktop: LXDE
  DistroRelease: Ubuntu 16.04
  InstallationDate: Installed on 2017-09-05 (213 days ago)
  InstallationMedia: Lubuntu 16.04.3 LTS "Xenial Xerus" - Release amd64 
(20170801)
  JournalErrors:
   Error: command ['journalctl', '-b', '--priority=warning', '--lines=1000'] 
failed with exit code 1: Failed to search journal ACL: Operation not supported
   No journal files were opened due to insufficient permissions.
  Package: linux (not installed)
  Tags:  xenial
  Uname: Linux 4.16.0-041600-generic x86_64
  UnreportableReason: The running kernel is not an Ubuntu kernel
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip kismet libvirtd lpadmin plugdev sambashare scanner 
sudo
  _MarkForUpload: True

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


[Kernel-packages] [Bug 1761751] Re: Black screen on 18.04 + AMD RX460

2018-05-16 Thread semreh
Problem still exists in 4.16.9 kernel from 
http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.16.9/
(#uname -r output is 4.16.9-041609-generic )

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

Title:
  Black screen on 18.04 + AMD RX460

Status in linux package in Ubuntu:
  In Progress
Status in linux source package in Bionic:
  In Progress

Bug description:
  I've been running 16.04 + hwe kernel 4.15 for a while now and recently
  I'm now having a black screen instead. I've also tried an 18.04 daily
  live USB stick, which has the same issue.

  It probably started during an upgrade this week or last week. As a
  start I'm blaming the Linux kernel since booting a 4.13 kernel works
  just fine.

  Known faulty kernel versions are:
   * linux-image-4.15.0-041500-generic (mainline kernel),
   * linux-image-4.16.0-041600-generic (mainline kernel),
   * linux-image-4.15.0-13-generic (Ubuntu kernel),
   * whatever comes with 18.04 daily live USB stick as of 20180404.

  Not sure how to best collect logs and system information for you since
  I'm not used to debugging black screens, so I'm just attaching lspci
  as a start.

  EDIT: Workaround found by adding "amdgpu.dc=0" to kernel boot
  parameters.

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


[Kernel-packages] [Bug 1761751] Re: Black screen on 18.04 + AMD RX460

2018-05-22 Thread semreh
Problem still exists in 4.16.10 kernel from 
http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.16.10/
(#uname -r output is 4.16.10-041610-generic )

dmesg output gives same error output as before when amdgpu.dc=1

 [1.866312] [drm] amdgpu: 1024M of VRAM memory ready
 [1.866316] [drm] amdgpu: 3072M of GTT memory ready.
 [1.866332] [drm] GART: num cpu pages 262144, num gpu pages 262144
 [1.866382] [drm] PCIE GART of 1024M enabled (table at 0x00F40004).
 [1.866500] [drm] Internal thermal controller without fan control
 [1.866504] [drm] amdgpu: dpm initialized
 [1.867685] [drm] Found UVD firmware Version: 1.55 Family ID: 9
 [1.868113] [drm] Found VCE firmware Version: 50.10 Binary ID: 2
 [1.870125] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector 
ObjectID from Adapter Service for connector index:3! type 0 expected 3
 [1.870214] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector 
ObjectID from Adapter Service for connector index:4! type 0 expected 3
 [1.870337] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector 
ObjectID from Adapter Service for connector index:5! type 0 expected 3
 [1.870445] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector 
ObjectID from Adapter Service for connector index:6! type 0 expected 3
 [1.880211] [drm] Display Core initialized with v3.1.27!
 [1.887329] [drm] SADs count is: -2, don't need to read it
 [1.887755] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
 [1.887761] [drm] Driver supports precise vblank timestamp query.
 [1.906232] [drm] UVD initialized successfully.

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

Title:
  Black screen on 18.04 + AMD RX460

Status in linux package in Ubuntu:
  In Progress
Status in linux source package in Bionic:
  In Progress

Bug description:
  I've been running 16.04 + hwe kernel 4.15 for a while now and recently
  I'm now having a black screen instead. I've also tried an 18.04 daily
  live USB stick, which has the same issue.

  It probably started during an upgrade this week or last week. As a
  start I'm blaming the Linux kernel since booting a 4.13 kernel works
  just fine.

  Known faulty kernel versions are:
   * linux-image-4.15.0-041500-generic (mainline kernel),
   * linux-image-4.16.0-041600-generic (mainline kernel),
   * linux-image-4.15.0-13-generic (Ubuntu kernel),
   * whatever comes with 18.04 daily live USB stick as of 20180404.

  Not sure how to best collect logs and system information for you since
  I'm not used to debugging black screens, so I'm just attaching lspci
  as a start.

  EDIT: Workaround found by adding "amdgpu.dc=0" to kernel boot
  parameters.

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


[Kernel-packages] [Bug 1761751] Re: Black screen on 18.04 + AMD RX460

2018-05-22 Thread semreh
Problem persists in kernel 4.16.11

#uname -r
4.16.11-041611-generic

#ls /sys/class/drm
card0  card0-eDP-1  card0-HDMI-A-1  renderD128  ttm  version

#dmesg | grep drm
[1.783188] [drm] radeon kernel modesetting enabled.
[1.784832] fb: switching to radeondrmfb from EFI VGA
[1.831813] [drm] amdgpu kernel modesetting enabled.
[1.840215] [drm] initializing kernel modesetting (KAVERI 0x1002:0x130A 
0x17AA:0x3988 0x00).
[1.840237] [drm] register mmio base: 0xF0B0
[1.840239] [drm] register mmio size: 262144
[1.865264] [drm] BIOS signature incorrect 0 0
[1.865367] [drm] vm size is 64 GB, 2 levels, block size is 10-bit, fragment 
size is 9-bit
[1.865387] [drm] Detected VRAM RAM=1024M, BAR=1024M
[1.865390] [drm] RAM width 64bits UNKNOWN
[1.865779] [drm] amdgpu: 1024M of VRAM memory ready
[1.865783] [drm] amdgpu: 3072M of GTT memory ready.
[1.865807] [drm] GART: num cpu pages 262144, num gpu pages 262144
[1.865894] [drm] PCIE GART of 1024M enabled (table at 0x00F40004).
[1.866040] [drm] Internal thermal controller without fan control
[1.866046] [drm] amdgpu: dpm initialized
[1.867349] [drm] Found UVD firmware Version: 1.55 Family ID: 9
[1.867789] [drm] Found VCE firmware Version: 50.10 Binary ID: 2
[1.869984] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector 
ObjectID from Adapter Service for connector index:3! type 0 expected 3
[1.870074] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector 
ObjectID from Adapter Service for connector index:4! type 0 expected 3
[1.870200] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector 
ObjectID from Adapter Service for connector index:5! type 0 expected 3
[1.870309] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector 
ObjectID from Adapter Service for connector index:6! type 0 expected 3
[1.884255] [drm] Display Core initialized with v3.1.27!
[1.891240] [drm] SADs count is: -2, don't need to read it
[1.891668] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[1.891674] [drm] Driver supports precise vblank timestamp query.
[1.910078] [drm] UVD initialized successfully.
[2.02] [drm] VCE initialized successfully.
[2.056074] [drm] fb mappable at 0xA042A000
[2.056083] [drm] vram apper at 0xA000
[2.056087] [drm] size 8294400
[2.056090] [drm] fb depth is 24
[2.056093] [drm]pitch is 7680
[2.056218] fbcon: amdgpudrmfb (fb0) is primary device
[2.113975] amdgpu :00:01.0: fb0: amdgpudrmfb frame buffer device
[2.130285] [drm] Initialized amdgpu 3.23.0 20150101 for :00:01.0 on 
minor 0

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

Title:
  Black screen on 18.04 + AMD RX460

Status in linux package in Ubuntu:
  In Progress
Status in linux source package in Bionic:
  In Progress

Bug description:
  I've been running 16.04 + hwe kernel 4.15 for a while now and recently
  I'm now having a black screen instead. I've also tried an 18.04 daily
  live USB stick, which has the same issue.

  It probably started during an upgrade this week or last week. As a
  start I'm blaming the Linux kernel since booting a 4.13 kernel works
  just fine.

  Known faulty kernel versions are:
   * linux-image-4.15.0-041500-generic (mainline kernel),
   * linux-image-4.16.0-041600-generic (mainline kernel),
   * linux-image-4.15.0-13-generic (Ubuntu kernel),
   * whatever comes with 18.04 daily live USB stick as of 20180404.

  Not sure how to best collect logs and system information for you since
  I'm not used to debugging black screens, so I'm just attaching lspci
  as a start.

  EDIT: Workaround found by adding "amdgpu.dc=0" to kernel boot
  parameters.

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


[Kernel-packages] [Bug 1761751] Re: Black screen on 18.04 + AMD RX460

2018-05-23 Thread semreh
Problem persists in kernel 4.17-rc6 from http://kernel.ubuntu.com
/~kernel-ppa/mainline/v4.17-rc6/

#uname -r
4.17.0-041700rc6-generic

#cat /proc/cmdline
BOOT_IMAGE=/vmlinuz-4.17.0-041700rc6-generic  amdgpu.cik_support=1 
radeon.cik_support=0 amdgpu.dc=1

#ls /sys/class/drm
card0  card0-eDP-1  card0-HDMI-A-1  renderD128  ttm  version  <<--***NOTE no 
VGA***

#dmesg | grep drm
[2.326305] [drm] radeon kernel modesetting enabled.
[2.327644] fb: switching to radeondrmfb from EFI VGA
[2.372539] [drm] amdgpu kernel modesetting enabled.
[2.380846] [drm] initializing kernel modesetting (KAVERI 0x1002:0x130A 
0x17AA:0x3988 0x00).
[2.380878] [drm] register mmio base: 0xF0B0
[2.380880] [drm] register mmio size: 262144
[2.380889] [drm] add ip block number 0 
[2.380892] [drm] add ip block number 1 
[2.380894] [drm] add ip block number 2 
[2.380897] [drm] add ip block number 3 
[2.380900] [drm] add ip block number 4 
[2.380903] [drm] add ip block number 5 
[2.380906] [drm] add ip block number 6 
[2.380909] [drm] add ip block number 7 
[2.380911] [drm] add ip block number 8 
[2.404721] [drm] BIOS signature incorrect 0 0
[2.404832] [drm] vm size is 64 GB, 2 levels, block size is 10-bit, fragment 
size is 9-bit
[2.404855] [drm] Detected VRAM RAM=1024M, BAR=1024M
[2.404858] [drm] RAM width 64bits UNKNOWN
[2.405130] [drm] amdgpu: 1024M of VRAM memory ready
[2.405133] [drm] amdgpu: 3072M of GTT memory ready.
[2.405145] [drm] GART: num cpu pages 262144, num gpu pages 262144
[2.405180] [drm] PCIE GART of 1024M enabled (table at 0x00F40004).
[2.405266] [drm] Internal thermal controller without fan control
[2.405269] [drm] amdgpu: dpm initialized
[2.406296] [drm] Found UVD firmware Version: 1.55 Family ID: 9
[2.406649] [drm] Found VCE firmware Version: 50.10 Binary ID: 2
[2.407995] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector 
ObjectID from Adapter Service for connector index:3! type 0 expected 3
[2.408115] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector 
ObjectID from Adapter Service for connector index:4! type 0 expected 3
[2.408204] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector 
ObjectID from Adapter Service for connector index:5! type 0 expected 3
[2.408324] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector 
ObjectID from Adapter Service for connector index:6! type 0 expected 3
[2.420247] [drm] Display Core initialized with v3.1.38!
[2.426796] [drm] SADs count is: -2, don't need to read it
[2.427373] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[2.427379] [drm] Driver supports precise vblank timestamp query.
[2.446239] [drm] UVD initialized successfully.
[2.561743] [drm] VCE initialized successfully.
[2.569100] [drm] fb mappable at 0xA042A000
[2.569106] [drm] vram apper at 0xA000
[2.569109] [drm] size 8294400
[2.569111] [drm] fb depth is 24
[2.569113] [drm]pitch is 7680
[2.569233] fbcon: amdgpudrmfb (fb0) is primary device
[2.657000] amdgpu :00:01.0: fb0: amdgpudrmfb frame buffer device
[2.678478] [drm] Initialized amdgpu 3.25.0 20150101 for :00:01.0 on 
minor 0

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

Title:
  Black screen on 18.04 + AMD RX460

Status in linux package in Ubuntu:
  In Progress
Status in linux source package in Bionic:
  In Progress

Bug description:
  I've been running 16.04 + hwe kernel 4.15 for a while now and recently
  I'm now having a black screen instead. I've also tried an 18.04 daily
  live USB stick, which has the same issue.

  It probably started during an upgrade this week or last week. As a
  start I'm blaming the Linux kernel since booting a 4.13 kernel works
  just fine.

  Known faulty kernel versions are:
   * linux-image-4.15.0-041500-generic (mainline kernel),
   * linux-image-4.16.0-041600-generic (mainline kernel),
   * linux-image-4.15.0-13-generic (Ubuntu kernel),
   * whatever comes with 18.04 daily live USB stick as of 20180404.

  Not sure how to best collect logs and system information for you since
  I'm not used to debugging black screens, so I'm just attaching lspci
  as a start.

  EDIT: Workaround found by adding "amdgpu.dc=0" to kernel boot
  parameters.

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


[Kernel-packages] [Bug 1885267] Re: Amd64 ppa kernel mainline build failing self test.

2020-06-27 Thread semreh
This is not a bug with the kernel, but with the build process for
kernels in the mainline ppa. As such, logs from my machine are not
relevant, and the original report links to the relevant build logs, and
has relevant extracts from those logs.

** Changed in: linux (Ubuntu)
   Status: Incomplete => Confirmed

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

Title:
  Amd64 ppa kernel mainline build failing self test.

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Since kernel 5.6.18 / 5.7.2 and onwards, the amd64 kernel builds (and
  the s390x builds) in the kernel ppa at

  https://kernel.ubuntu.com/~kernel-ppa/mainline/?C=N;O=D

  are failing self tests

  "Test amd64/self-tests failed (rc=2, on=amd64, time=0:00:57, log=amd64
  /self-tests/log)"

  The log shows:

  ++

  INSTALL  headers
CC   test_stub.o
BINARY   test_verifier
  test_verifier.c:25:10: fatal error: sys/capability.h: No such file or 
directory
 25 | #include 
|  ^~
  compilation terminated.
  make[2]: *** [Makefile:398: 
/home/kernel/COD/linux/tools/testing/selftests/bpf/test_verifier] Error 1
  make[2]: Leaving directory 
'/home/kernel/COD/linux/tools/testing/selftests/bpf'
  make[1]: *** [Makefile:157: all] Error 2
  make[1]: Leaving directory '/home/kernel/COD/linux/tools/testing/selftests'
  make: *** [debian/rules.d/1-maintainer.mk:170: compileselftests] Error 2

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


[Kernel-packages] [Bug 1885267] Re: Amd64 ppa kernel mainline build failing self test.

2020-06-29 Thread semreh
Added Ubuntu Kernel PPA to the notification list.

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

Title:
  Amd64 ppa kernel mainline build failing self test.

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Since kernel 5.6.18 / 5.7.2 and onwards, the amd64 kernel builds (and
  the s390x builds) in the kernel ppa at

  https://kernel.ubuntu.com/~kernel-ppa/mainline/?C=N;O=D

  are failing self tests

  "Test amd64/self-tests failed (rc=2, on=amd64, time=0:00:57, log=amd64
  /self-tests/log)"

  The log shows:

  ++

  INSTALL  headers
CC   test_stub.o
BINARY   test_verifier
  test_verifier.c:25:10: fatal error: sys/capability.h: No such file or 
directory
 25 | #include 
|  ^~
  compilation terminated.
  make[2]: *** [Makefile:398: 
/home/kernel/COD/linux/tools/testing/selftests/bpf/test_verifier] Error 1
  make[2]: Leaving directory 
'/home/kernel/COD/linux/tools/testing/selftests/bpf'
  make[1]: *** [Makefile:157: all] Error 2
  make[1]: Leaving directory '/home/kernel/COD/linux/tools/testing/selftests'
  make: *** [debian/rules.d/1-maintainer.mk:170: compileselftests] Error 2

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


[Kernel-packages] [Bug 1837036] [NEW] Mainline Ubuntu Linux kernel builds failing for >= 5.1.17 and >= 5.2 on AMD64 and i386

2019-07-18 Thread semreh
Public bug reported:

As subject says, the compiled Ubuntu kernels for >= 5.1.17 and >= 5.2 on
AMD64 and i386 are failing to build.

Build logs at (for example):

https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.2.1/BUILD.LOG.amd64
https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.2.1/BUILD.LOG.i386

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


** Tags: i386

** Tags added: build

** Tags removed: build
** Tags added: i386

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

Title:
  Mainline Ubuntu Linux kernel builds failing for >= 5.1.17 and >= 5.2
  on AMD64 and i386

Status in linux package in Ubuntu:
  New

Bug description:
  As subject says, the compiled Ubuntu kernels for >= 5.1.17 and >= 5.2
  on AMD64 and i386 are failing to build.

  Build logs at (for example):

  https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.2.1/BUILD.LOG.amd64
  https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.2.1/BUILD.LOG.i386

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


[Kernel-packages] [Bug 1837036] Re: Mainline Ubuntu Linux kernel builds failing for >= 5.1.17 and >= 5.2 on AMD64 and i386

2019-07-18 Thread semreh
The bug is in the Ubuntu controlled mainline kernel build system, and a
link to the logs generated by that system has been provided.

** Changed in: linux (Ubuntu)
   Status: Incomplete => Confirmed

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

Title:
  Mainline Ubuntu Linux kernel builds failing for >= 5.1.17 and >= 5.2
  on AMD64 and i386

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  As subject says, the compiled Ubuntu kernels for >= 5.1.17 and >= 5.2
  on AMD64 and i386 are failing to build.

  Build logs at (for example):

  https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.2.1/BUILD.LOG.amd64
  https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.2.1/BUILD.LOG.i386

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


[Kernel-packages] [Bug 1837036] Re: Mainline Ubuntu Linux kernel builds failing for >= 5.1.17 and >= 5.2 on AMD64 and i386

2019-07-18 Thread semreh
** Tags added: amd64 build kernel mainline

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

Title:
  Mainline Ubuntu Linux kernel builds failing for >= 5.1.17 and >= 5.2
  on AMD64 and i386

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  As subject says, the compiled Ubuntu kernels for >= 5.1.17 and >= 5.2
  on AMD64 and i386 are failing to build.

  Build logs at (for example):

  https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.2.1/BUILD.LOG.amd64
  https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.2.1/BUILD.LOG.i386

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


[Kernel-packages] [Bug 1837036] Re: Mainline Ubuntu Linux kernel builds failing for >= 5.1.17 and >= 5.2 on AMD64 and i386

2019-07-18 Thread semreh
*** This bug is a duplicate of bug 1830961 ***
https://bugs.launchpad.net/bugs/1830961

According to this comment (
https://www.phoronix.com/forums/forum/software/general-linux-open-
source/1113503-linux-5-2-1-released-for-riding-the-latest-stable-
kernel?p=1113668#post1113668 )at Phoronix, the underlying cause is:

"Ubuntu is using -fcf-protection by default now and that isn't
compatible with -mindirect-branch that the kernel uses for retpolines. "

Bug 1830961 appears to be an earllier report, so this is a duplicate of
that bug, as is bug 1836373


** This bug has been marked a duplicate of bug 1830961
   Kernels & kernel drivers fail to build with gcc-9 [error: 
‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible]

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

Title:
  Mainline Ubuntu Linux kernel builds failing for >= 5.1.17 and >= 5.2
  on AMD64 and i386

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  As subject says, the compiled Ubuntu kernels for >= 5.1.17 and >= 5.2
  on AMD64 and i386 are failing to build.

  Build logs at (for example):

  https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.2.1/BUILD.LOG.amd64
  https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.2.1/BUILD.LOG.i386

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


[Kernel-packages] [Bug 1830961] Re: Kernels & kernel drivers fail to build with gcc-9 [error: ‘-mindirect-branch’ and ‘-fcf-protection’ are not compatible]

2019-07-22 Thread semreh
It is nice to see this resolved for 5.3-rc1.

Excuse my ignorance of the process, but will this patch be (perhaps
automagically) backported so the next iteration of the 5.2 (and maybe
5.1) stable kernels for amd64 and i386 also get generated successfully?

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

Title:
  Kernels & kernel drivers fail to build with gcc-9 [error: ‘-mindirect-
  branch’ and ‘-fcf-protection’ are not compatible]

Status in gcc-9 package in Ubuntu:
  Won't Fix
Status in linux package in Ubuntu:
  Fix Released
Status in nvidia-graphics-drivers-430 package in Ubuntu:
  Fix Released
Status in virtualbox package in Ubuntu:
  Won't Fix
Status in xtables-addons package in Ubuntu:
  Won't Fix

Bug description:
  Compiling kernels & kernel modules fails due to these errors:

  ./include/linux/compiler.h:193:1: error: ‘-mindirect-branch’ and
  ‘-fcf-protection’ are not compatible

  (This happens with any kernel modules.)

  This appears to be due to the changes in 9.1.0-3ubuntu1 enabling -fcf-
  protection by default on 19.10's gcc-9.

  Switching to gcc-8 allows compilation to proceed.

  WORKAROUND:

  sudo ln -fs gcc-8 /usr/bin/gcc

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