[Kernel-packages] [Bug 1762940] Re: hibmc-drm Causes Unreadable Display for Huawei amd64 Servers

2019-09-29 Thread Matthew Ruffell
The patch has been mainlined as of Linux 5.4-rc1 with:

commit feeb07d0ca5ad0d6edb5bb728e33e2e86118529d
Author: Matthew Ruffell 
Date:   Thu Aug 15 16:26:40 2019 +1200
Subject: drm/hisilicon/hibmc: Make CONFIG_DRM_HISI_HIBMC depend on ARM64

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=feeb07d0ca5ad0d6edb5bb728e33e2e86118529d

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

Title:
  hibmc-drm Causes Unreadable Display for Huawei amd64 Servers

Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Bionic:
  Fix Released
Status in linux source package in Disco:
  Fix Released
Status in linux source package in Eoan:
  Fix Released

Bug description:
  BugLink: https://bugs.launchpad.net/bugs/1762940

  [Impact]

  amd64 based Huawei servers have problems where the display output of
  their iBMC chips is broken, resulting in a "blurry" screen when viewed
  from their in house remote kvm-like console.

  Example:

  https://launchpadlibrarian.net/365907668/creen_picture_for_blur.png

  The issue is caused by the hibmc_drm kernel module being loaded. The PCI ID 
for the iBMC chips on amd64 hardware is the same as arm64 hardware, but the 
  hibmc_drm driver was developed only for use on arm64 hardware, most notably 
for the Huawei D05 development board.

  The impact to Huawei is that their customers cannot use Ubuntu server install
  media as the screen goes "blurry" when the d-i install media or subuqity
  installer loads the hibmc_drm kernel module after language selection. 

  The only workaround for their customers is to press the "E" key during
  the very first installer menu and adding
  "modprobe.blacklist=hibmc_drm" to the kernel command line in the grub
  menu. This is not good for customer experience with their servers.

  Other problems exist for the hibmc_drm driver on amd64, such as working on 
  bios, but not uefi, and not being wayland compatible, making the screen 
blurry whenever a desktop session is started and gdm loaded.

  Huawei have asked us to remove hibmc_drm from all architectures except arm64,
  and this aligns with advice from Hisilicon.

  [Fix]

  I modified the config/annotations file to remove all architectures
  except arm64, and created a patch for Kconfig to set a firm
  requirement on ARM64 for hibmc_drm.

  I will send the Kconfig patch upstream in the coming days for a more
  permanent fix.

  [Testcase]

  Apply the patches and run:

  ubuntu-bionic/CONFIGS$ fakeroot debian/rules genconfigs
  ubuntu-bionic/CONFIGS$ grep -Rin "hibmc" .
  ./arm64-config.flavour.generic:5739:CONFIG_DRM_HISI_HIBMC=m

  You should see that only arm64 has the config option enabled.

  A test kernel has been built, and is available here:
  https://launchpad.net/~mruffell/+archive/ubuntu/sf232667-test

  Huawei requested a test d-i install iso to test server install with, which 
can be found here and uses the kernel from the ppa above:
  
https://people.canonical.com/~mruffell/sf232667_ubuntu_server_d-i_20190711b1.iso

  Both the test kernel and the custom d-i install iso have been tested on amd64
  Huawei server hardware successfully and video output is functional.

  [Regression Potential]

  Regressions will be limited to hardware containing the iBMC chips from
  Hisilicon, which I believe are exclusive to Huawei servers.

  I have taken care to ensure that hibmc_drm is enabled for ARM64 so it
  should not impact kernels built for the Huawei D05 arm64 development
  board, and d-i will still load the hibmc_drm driver during startup for
  arm64.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1762940/+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 1762940] Re: hibmc-drm Causes Unreadable Display for Huawei amd64 Servers

2019-08-15 Thread Matthew Ruffell
I have submitted the patch upstream to dri-devel and CC'd the hibmc
maintainers.

We will see where the discussion goes.

https://lists.freedesktop.org/archives/dri-devel/2019-August/231284.html
https://lists.freedesktop.org/archives/dri-devel/2019-August/231285.html

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

Title:
  hibmc-drm Causes Unreadable Display for Huawei amd64 Servers

Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Bionic:
  Fix Released
Status in linux source package in Disco:
  Fix Released
Status in linux source package in Eoan:
  Fix Released

Bug description:
  BugLink: https://bugs.launchpad.net/bugs/1762940

  [Impact]

  amd64 based Huawei servers have problems where the display output of
  their iBMC chips is broken, resulting in a "blurry" screen when viewed
  from their in house remote kvm-like console.

  Example:

  https://launchpadlibrarian.net/365907668/creen_picture_for_blur.png

  The issue is caused by the hibmc_drm kernel module being loaded. The PCI ID 
for the iBMC chips on amd64 hardware is the same as arm64 hardware, but the 
  hibmc_drm driver was developed only for use on arm64 hardware, most notably 
for the Huawei D05 development board.

  The impact to Huawei is that their customers cannot use Ubuntu server install
  media as the screen goes "blurry" when the d-i install media or subuqity
  installer loads the hibmc_drm kernel module after language selection. 

  The only workaround for their customers is to press the "E" key during
  the very first installer menu and adding
  "modprobe.blacklist=hibmc_drm" to the kernel command line in the grub
  menu. This is not good for customer experience with their servers.

  Other problems exist for the hibmc_drm driver on amd64, such as working on 
  bios, but not uefi, and not being wayland compatible, making the screen 
blurry whenever a desktop session is started and gdm loaded.

  Huawei have asked us to remove hibmc_drm from all architectures except arm64,
  and this aligns with advice from Hisilicon.

  [Fix]

  I modified the config/annotations file to remove all architectures
  except arm64, and created a patch for Kconfig to set a firm
  requirement on ARM64 for hibmc_drm.

  I will send the Kconfig patch upstream in the coming days for a more
  permanent fix.

  [Testcase]

  Apply the patches and run:

  ubuntu-bionic/CONFIGS$ fakeroot debian/rules genconfigs
  ubuntu-bionic/CONFIGS$ grep -Rin "hibmc" .
  ./arm64-config.flavour.generic:5739:CONFIG_DRM_HISI_HIBMC=m

  You should see that only arm64 has the config option enabled.

  A test kernel has been built, and is available here:
  https://launchpad.net/~mruffell/+archive/ubuntu/sf232667-test

  Huawei requested a test d-i install iso to test server install with, which 
can be found here and uses the kernel from the ppa above:
  
https://people.canonical.com/~mruffell/sf232667_ubuntu_server_d-i_20190711b1.iso

  Both the test kernel and the custom d-i install iso have been tested on amd64
  Huawei server hardware successfully and video output is functional.

  [Regression Potential]

  Regressions will be limited to hardware containing the iBMC chips from
  Hisilicon, which I believe are exclusive to Huawei servers.

  I have taken care to ensure that hibmc_drm is enabled for ARM64 so it
  should not impact kernels built for the Huawei D05 arm64 development
  board, and d-i will still load the hibmc_drm driver during startup for
  arm64.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1762940/+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 1762940] Re: hibmc-drm Causes Unreadable Display for Huawei amd64 Servers

2019-08-13 Thread Launchpad Bug Tracker
This bug was fixed in the package linux - 5.0.0-25.26

---
linux (5.0.0-25.26) disco; urgency=medium

  * CVE-2019-1125
- x86/cpufeatures: Carve out CQM features retrieval
- x86/cpufeatures: Combine word 11 and 12 into a new scattered features word
- x86/speculation: Prepare entry code for Spectre v1 swapgs mitigations
- x86/speculation: Enable Spectre v1 swapgs mitigations
- x86/entry/64: Use JMP instead of JMPQ
- x86/speculation/swapgs: Exclude ATOMs from speculation through SWAPGS

 -- Kleber Sacilotto de Souza   Thu, 01 Aug
2019 12:04:35 +0200

** Changed in: linux (Ubuntu Disco)
   Status: Fix Committed => Fix Released

** CVE added: https://cve.mitre.org/cgi-bin/cvename.cgi?name=2019-1125

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

Title:
  hibmc-drm Causes Unreadable Display for Huawei amd64 Servers

Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Bionic:
  Fix Committed
Status in linux source package in Disco:
  Fix Released
Status in linux source package in Eoan:
  Fix Released

Bug description:
  BugLink: https://bugs.launchpad.net/bugs/1762940

  [Impact]

  amd64 based Huawei servers have problems where the display output of
  their iBMC chips is broken, resulting in a "blurry" screen when viewed
  from their in house remote kvm-like console.

  Example:

  https://launchpadlibrarian.net/365907668/creen_picture_for_blur.png

  The issue is caused by the hibmc_drm kernel module being loaded. The PCI ID 
for the iBMC chips on amd64 hardware is the same as arm64 hardware, but the 
  hibmc_drm driver was developed only for use on arm64 hardware, most notably 
for the Huawei D05 development board.

  The impact to Huawei is that their customers cannot use Ubuntu server install
  media as the screen goes "blurry" when the d-i install media or subuqity
  installer loads the hibmc_drm kernel module after language selection. 

  The only workaround for their customers is to press the "E" key during
  the very first installer menu and adding
  "modprobe.blacklist=hibmc_drm" to the kernel command line in the grub
  menu. This is not good for customer experience with their servers.

  Other problems exist for the hibmc_drm driver on amd64, such as working on 
  bios, but not uefi, and not being wayland compatible, making the screen 
blurry whenever a desktop session is started and gdm loaded.

  Huawei have asked us to remove hibmc_drm from all architectures except arm64,
  and this aligns with advice from Hisilicon.

  [Fix]

  I modified the config/annotations file to remove all architectures
  except arm64, and created a patch for Kconfig to set a firm
  requirement on ARM64 for hibmc_drm.

  I will send the Kconfig patch upstream in the coming days for a more
  permanent fix.

  [Testcase]

  Apply the patches and run:

  ubuntu-bionic/CONFIGS$ fakeroot debian/rules genconfigs
  ubuntu-bionic/CONFIGS$ grep -Rin "hibmc" .
  ./arm64-config.flavour.generic:5739:CONFIG_DRM_HISI_HIBMC=m

  You should see that only arm64 has the config option enabled.

  A test kernel has been built, and is available here:
  https://launchpad.net/~mruffell/+archive/ubuntu/sf232667-test

  Huawei requested a test d-i install iso to test server install with, which 
can be found here and uses the kernel from the ppa above:
  
https://people.canonical.com/~mruffell/sf232667_ubuntu_server_d-i_20190711b1.iso

  Both the test kernel and the custom d-i install iso have been tested on amd64
  Huawei server hardware successfully and video output is functional.

  [Regression Potential]

  Regressions will be limited to hardware containing the iBMC chips from
  Hisilicon, which I believe are exclusive to Huawei servers.

  I have taken care to ensure that hibmc_drm is enabled for ARM64 so it
  should not impact kernels built for the Huawei D05 arm64 development
  board, and d-i will still load the hibmc_drm driver during startup for
  arm64.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1762940/+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 1762940] Re: hibmc-drm Causes Unreadable Display for Huawei amd64 Servers

2019-08-09 Thread Launchpad Bug Tracker
This bug was fixed in the package linux - 5.2.0-10.11

---
linux (5.2.0-10.11) eoan; urgency=medium

  * eoan/linux: 5.2.0-10.11 -proposed tracker (LP: #1838113)

  * Packaging resync (LP: #1786013)
- [Packaging] resync git-ubuntu-log

  * Eoan update: v5.2.4 upstream stable release (LP: #1838428)
- bnx2x: Prevent load reordering in tx completion processing
- caif-hsi: fix possible deadlock in cfhsi_exit_module()
- hv_netvsc: Fix extra rcu_read_unlock in netvsc_recv_callback()
- igmp: fix memory leak in igmpv3_del_delrec()
- ipv4: don't set IPv6 only flags to IPv4 addresses
- ipv6: rt6_check should return NULL if 'from' is NULL
- ipv6: Unlink sibling route in case of failure
- net: bcmgenet: use promisc for unsupported filters
- net: dsa: mv88e6xxx: wait after reset deactivation
- net: make skb_dst_force return true when dst is refcounted
- net: neigh: fix multiple neigh timer scheduling
- net: openvswitch: fix csum updates for MPLS actions
- net: phy: sfp: hwmon: Fix scaling of RX power
- net_sched: unset TCQ_F_CAN_BYPASS when adding filters
- net: stmmac: Re-work the queue selection for TSO packets
- net/tls: make sure offload also gets the keys wiped
- nfc: fix potential illegal memory access
- r8169: fix issue with confused RX unit after PHY power-down on RTL8411b
- rxrpc: Fix send on a connected, but unbound socket
- sctp: fix error handling on stream scheduler initialization
- sctp: not bind the socket in sctp_connect
- sky2: Disable MSI on ASUS P6T
- tcp: be more careful in tcp_fragment()
- tcp: fix tcp_set_congestion_control() use from bpf hook
- tcp: Reset bytes_acked and bytes_received when disconnecting
- vrf: make sure skb->data contains ip header to make routing
- net/mlx5e: IPoIB, Add error path in mlx5_rdma_setup_rn
- net: bridge: mcast: fix stale nsrcs pointer in igmp3/mld2 report handling
- net: bridge: mcast: fix stale ipv6 hdr pointer when handling v6 query
- net: bridge: don't cache ether dest pointer on input
- net: bridge: stp: don't cache eth dest pointer before skb pull
- macsec: fix use-after-free of skb during RX
- macsec: fix checksumming after decryption
- netrom: fix a memory leak in nr_rx_frame()
- netrom: hold sock when setting skb->destructor
- selftests: txring_overwrite: fix incorrect test of mmap() return value
- net/tls: fix poll ignoring partially copied records
- net/tls: reject offload of TLS 1.3
- net/mlx5e: Fix port tunnel GRE entropy control
- net/mlx5e: Rx, Fix checksum calculation for new hardware
- net/mlx5e: Fix return value from timeout recover function
- net/mlx5e: Fix error flow in tx reporter diagnose
- bnxt_en: Fix VNIC accounting when enabling aRFS on 57500 chips.
- mlxsw: spectrum_dcb: Configure DSCP map as the last rule is removed
- net/mlx5: E-Switch, Fix default encap mode
- mlxsw: spectrum: Do not process learned records with a dummy FID
- dma-buf: balance refcount inbalance
- dma-buf: Discard old fence_excl on retrying get_fences_rcu for realloc
- Revert "gpio/spi: Fix spi-gpio regression on active high CS"
- gpiolib: of: fix a memory leak in of_gpio_flags_quirks()
- gpio: davinci: silence error prints in case of EPROBE_DEFER
- MIPS: lb60: Fix pin mappings
- perf script: Assume native_arch for pipe mode
- perf/core: Fix exclusive events' grouping
- perf/core: Fix race between close() and fork()
- ext4: don't allow any modifications to an immutable file
- ext4: enforce the immutable flag on open files
- mm: add filemap_fdatawait_range_keep_errors()
- jbd2: introduce jbd2_inode dirty range scoping
- ext4: use jbd2_inode dirty range scoping
- ext4: allow directory holes
- KVM: nVMX: do not use dangling shadow VMCS after guest reset
- KVM: nVMX: Clear pending KVM_REQ_GET_VMCS12_PAGES when leaving nested
- Revert "kvm: x86: Use task structs fpu field for user"
- sd_zbc: Fix report zones buffer allocation
- block: Limit zone array allocation size
- net: sched: verify that q!=NULL before setting q->flags
- Linux 5.2.4

  * linux hwe i386 kernel 5.0.0-21.22~18.04.1 crashes on Lenovo x220
(LP: #1838115)
- x86/mm: Check for pfn instead of page in vmalloc_sync_one()
- x86/mm: Sync also unmappings in vmalloc_sync_all()
- mm/vmalloc: Sync unmappings in __purge_vmap_area_lazy()

  * br_netfilter: namespace sysctl operations (LP: #1836910)
- netfilter: bridge: port sysctls to use brnf_net
- netfilter: bridge: namespace bridge netfilter sysctls
- netfilter: bridge: prevent UAF in brnf_exit_net()

  * Eoan update: v5.2.3 upstream stable release (LP: #1838089)
- ath10k: Check tx_stats before use it
- ath10k: htt: don't use txdone_fifo with SDIO
- ath10k: fix incorrect multicast/broadcast rate setting
- ath9k: Don't trust TX status TID 

[Kernel-packages] [Bug 1762940] Re: hibmc-drm Causes Unreadable Display for Huawei amd64 Servers

2019-08-07 Thread Matthew Ruffell
I installed linux-hwe 4.15.0-57 #63~16.04.1-Ubuntu on xenial, and
ensured the -modules and -modules-extra package was installed.

I went into /var/lib/modules/4.15.0-56/ and did a search for hibmc_drm.
There was no mention apart from a header Makefile. The module was not
built and not present on amd64.

Tests have been successful on bionic, so I am happy to mark this as
fixed for xenial.

** Tags removed: verification-needed-xenial
** Tags added: verification-done-xenial

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

Title:
  hibmc-drm Causes Unreadable Display for Huawei amd64 Servers

Status in linux package in Ubuntu:
  Fix Committed
Status in linux source package in Bionic:
  Fix Committed
Status in linux source package in Disco:
  Fix Committed
Status in linux source package in Eoan:
  Fix Committed

Bug description:
  BugLink: https://bugs.launchpad.net/bugs/1762940

  [Impact]

  amd64 based Huawei servers have problems where the display output of
  their iBMC chips is broken, resulting in a "blurry" screen when viewed
  from their in house remote kvm-like console.

  Example:

  https://launchpadlibrarian.net/365907668/creen_picture_for_blur.png

  The issue is caused by the hibmc_drm kernel module being loaded. The PCI ID 
for the iBMC chips on amd64 hardware is the same as arm64 hardware, but the 
  hibmc_drm driver was developed only for use on arm64 hardware, most notably 
for the Huawei D05 development board.

  The impact to Huawei is that their customers cannot use Ubuntu server install
  media as the screen goes "blurry" when the d-i install media or subuqity
  installer loads the hibmc_drm kernel module after language selection. 

  The only workaround for their customers is to press the "E" key during
  the very first installer menu and adding
  "modprobe.blacklist=hibmc_drm" to the kernel command line in the grub
  menu. This is not good for customer experience with their servers.

  Other problems exist for the hibmc_drm driver on amd64, such as working on 
  bios, but not uefi, and not being wayland compatible, making the screen 
blurry whenever a desktop session is started and gdm loaded.

  Huawei have asked us to remove hibmc_drm from all architectures except arm64,
  and this aligns with advice from Hisilicon.

  [Fix]

  I modified the config/annotations file to remove all architectures
  except arm64, and created a patch for Kconfig to set a firm
  requirement on ARM64 for hibmc_drm.

  I will send the Kconfig patch upstream in the coming days for a more
  permanent fix.

  [Testcase]

  Apply the patches and run:

  ubuntu-bionic/CONFIGS$ fakeroot debian/rules genconfigs
  ubuntu-bionic/CONFIGS$ grep -Rin "hibmc" .
  ./arm64-config.flavour.generic:5739:CONFIG_DRM_HISI_HIBMC=m

  You should see that only arm64 has the config option enabled.

  A test kernel has been built, and is available here:
  https://launchpad.net/~mruffell/+archive/ubuntu/sf232667-test

  Huawei requested a test d-i install iso to test server install with, which 
can be found here and uses the kernel from the ppa above:
  
https://people.canonical.com/~mruffell/sf232667_ubuntu_server_d-i_20190711b1.iso

  Both the test kernel and the custom d-i install iso have been tested on amd64
  Huawei server hardware successfully and video output is functional.

  [Regression Potential]

  Regressions will be limited to hardware containing the iBMC chips from
  Hisilicon, which I believe are exclusive to Huawei servers.

  I have taken care to ensure that hibmc_drm is enabled for ARM64 so it
  should not impact kernels built for the Huawei D05 arm64 development
  board, and d-i will still load the hibmc_drm driver during startup for
  arm64.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1762940/+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 1762940] Re: hibmc-drm Causes Unreadable Display for Huawei amd64 Servers

2019-08-07 Thread Ubuntu Kernel Bot
This bug is awaiting verification that the kernel in -proposed solves
the problem. Please test the kernel and update this bug with the
results. If the problem is solved, change the tag 'verification-needed-
xenial' to 'verification-done-xenial'. If the problem still exists,
change the tag 'verification-needed-xenial' to 'verification-failed-
xenial'.

If verification is not done by 5 working days from today, this fix will
be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how
to enable and use -proposed. Thank you!


** Tags added: verification-needed-xenial

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

Title:
  hibmc-drm Causes Unreadable Display for Huawei amd64 Servers

Status in linux package in Ubuntu:
  Fix Committed
Status in linux source package in Bionic:
  Fix Committed
Status in linux source package in Disco:
  Fix Committed
Status in linux source package in Eoan:
  Fix Committed

Bug description:
  BugLink: https://bugs.launchpad.net/bugs/1762940

  [Impact]

  amd64 based Huawei servers have problems where the display output of
  their iBMC chips is broken, resulting in a "blurry" screen when viewed
  from their in house remote kvm-like console.

  Example:

  https://launchpadlibrarian.net/365907668/creen_picture_for_blur.png

  The issue is caused by the hibmc_drm kernel module being loaded. The PCI ID 
for the iBMC chips on amd64 hardware is the same as arm64 hardware, but the 
  hibmc_drm driver was developed only for use on arm64 hardware, most notably 
for the Huawei D05 development board.

  The impact to Huawei is that their customers cannot use Ubuntu server install
  media as the screen goes "blurry" when the d-i install media or subuqity
  installer loads the hibmc_drm kernel module after language selection. 

  The only workaround for their customers is to press the "E" key during
  the very first installer menu and adding
  "modprobe.blacklist=hibmc_drm" to the kernel command line in the grub
  menu. This is not good for customer experience with their servers.

  Other problems exist for the hibmc_drm driver on amd64, such as working on 
  bios, but not uefi, and not being wayland compatible, making the screen 
blurry whenever a desktop session is started and gdm loaded.

  Huawei have asked us to remove hibmc_drm from all architectures except arm64,
  and this aligns with advice from Hisilicon.

  [Fix]

  I modified the config/annotations file to remove all architectures
  except arm64, and created a patch for Kconfig to set a firm
  requirement on ARM64 for hibmc_drm.

  I will send the Kconfig patch upstream in the coming days for a more
  permanent fix.

  [Testcase]

  Apply the patches and run:

  ubuntu-bionic/CONFIGS$ fakeroot debian/rules genconfigs
  ubuntu-bionic/CONFIGS$ grep -Rin "hibmc" .
  ./arm64-config.flavour.generic:5739:CONFIG_DRM_HISI_HIBMC=m

  You should see that only arm64 has the config option enabled.

  A test kernel has been built, and is available here:
  https://launchpad.net/~mruffell/+archive/ubuntu/sf232667-test

  Huawei requested a test d-i install iso to test server install with, which 
can be found here and uses the kernel from the ppa above:
  
https://people.canonical.com/~mruffell/sf232667_ubuntu_server_d-i_20190711b1.iso

  Both the test kernel and the custom d-i install iso have been tested on amd64
  Huawei server hardware successfully and video output is functional.

  [Regression Potential]

  Regressions will be limited to hardware containing the iBMC chips from
  Hisilicon, which I believe are exclusive to Huawei servers.

  I have taken care to ensure that hibmc_drm is enabled for ARM64 so it
  should not impact kernels built for the Huawei D05 arm64 development
  board, and d-i will still load the hibmc_drm driver during startup for
  arm64.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1762940/+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 1762940] Re: hibmc-drm Causes Unreadable Display for Huawei amd64 Servers

2019-07-28 Thread Matthew Ruffell
I installed 4.15.0-56-generic to a bionic VM, with the -modules and 
-modules-extra packages. I went into /var/lib/modules/4.15.0-56/ and did a 
search for
hibmc_drm. There was no mention apart from a header Makefile. The module was not
built and not present on amd64.

I did the same for 5.0.0-22-generic in a disco VM, and the module was not
built and was not present.

4.15.0-56-generic has been installed to a amd64 based Huawei server which was
having the issues explained in this bug, and since the module was not present,
the screen was not "blurry" when a desktop environment was installed and viewed
from the remote access tool used by Huawei.

To ensure that ARM64 still has the kernel module built, I also downloaded 
linux-modules-extra for 4.15.0-56-generic for ARM64. The hibmc_drm module is
still present in 
/var/lib/modules/4.15.0-56/kernel/drivers/gpu/drm/hisilicon/hibmc
This means that Huawei's arm64 based servers will not be affected by the change.

The fixes solve the problems of the video mode not being right for amd64 based
platforms, and does not cause any regressions for ARM64. I am happy to mark this
as verified.

** Tags removed: verification-needed-bionic verification-needed-disco
** Tags added: verification-done-bionic verification-done-disco

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

Title:
  hibmc-drm Causes Unreadable Display for Huawei amd64 Servers

Status in linux package in Ubuntu:
  Fix Committed
Status in linux source package in Bionic:
  Fix Committed
Status in linux source package in Disco:
  Fix Committed
Status in linux source package in Eoan:
  Fix Committed

Bug description:
  BugLink: https://bugs.launchpad.net/bugs/1762940

  [Impact]

  amd64 based Huawei servers have problems where the display output of
  their iBMC chips is broken, resulting in a "blurry" screen when viewed
  from their in house remote kvm-like console.

  Example:

  https://launchpadlibrarian.net/365907668/creen_picture_for_blur.png

  The issue is caused by the hibmc_drm kernel module being loaded. The PCI ID 
for the iBMC chips on amd64 hardware is the same as arm64 hardware, but the 
  hibmc_drm driver was developed only for use on arm64 hardware, most notably 
for the Huawei D05 development board.

  The impact to Huawei is that their customers cannot use Ubuntu server install
  media as the screen goes "blurry" when the d-i install media or subuqity
  installer loads the hibmc_drm kernel module after language selection. 

  The only workaround for their customers is to press the "E" key during
  the very first installer menu and adding
  "modprobe.blacklist=hibmc_drm" to the kernel command line in the grub
  menu. This is not good for customer experience with their servers.

  Other problems exist for the hibmc_drm driver on amd64, such as working on 
  bios, but not uefi, and not being wayland compatible, making the screen 
blurry whenever a desktop session is started and gdm loaded.

  Huawei have asked us to remove hibmc_drm from all architectures except arm64,
  and this aligns with advice from Hisilicon.

  [Fix]

  I modified the config/annotations file to remove all architectures
  except arm64, and created a patch for Kconfig to set a firm
  requirement on ARM64 for hibmc_drm.

  I will send the Kconfig patch upstream in the coming days for a more
  permanent fix.

  [Testcase]

  Apply the patches and run:

  ubuntu-bionic/CONFIGS$ fakeroot debian/rules genconfigs
  ubuntu-bionic/CONFIGS$ grep -Rin "hibmc" .
  ./arm64-config.flavour.generic:5739:CONFIG_DRM_HISI_HIBMC=m

  You should see that only arm64 has the config option enabled.

  A test kernel has been built, and is available here:
  https://launchpad.net/~mruffell/+archive/ubuntu/sf232667-test

  Huawei requested a test d-i install iso to test server install with, which 
can be found here and uses the kernel from the ppa above:
  
https://people.canonical.com/~mruffell/sf232667_ubuntu_server_d-i_20190711b1.iso

  Both the test kernel and the custom d-i install iso have been tested on amd64
  Huawei server hardware successfully and video output is functional.

  [Regression Potential]

  Regressions will be limited to hardware containing the iBMC chips from
  Hisilicon, which I believe are exclusive to Huawei servers.

  I have taken care to ensure that hibmc_drm is enabled for ARM64 so it
  should not impact kernels built for the Huawei D05 arm64 development
  board, and d-i will still load the hibmc_drm driver during startup for
  arm64.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1762940/+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 1762940] Re: hibmc-drm Causes Unreadable Display for Huawei amd64 Servers

2019-07-25 Thread Ubuntu Kernel Bot
This bug is awaiting verification that the kernel in -proposed solves
the problem. Please test the kernel and update this bug with the
results. If the problem is solved, change the tag 'verification-needed-
bionic' to 'verification-done-bionic'. If the problem still exists,
change the tag 'verification-needed-bionic' to 'verification-failed-
bionic'.

If verification is not done by 5 working days from today, this fix will
be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how
to enable and use -proposed. Thank you!


** Tags added: verification-needed-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/1762940

Title:
  hibmc-drm Causes Unreadable Display for Huawei amd64 Servers

Status in linux package in Ubuntu:
  Fix Committed
Status in linux source package in Bionic:
  Fix Committed
Status in linux source package in Disco:
  Fix Committed
Status in linux source package in Eoan:
  Fix Committed

Bug description:
  BugLink: https://bugs.launchpad.net/bugs/1762940

  [Impact]

  amd64 based Huawei servers have problems where the display output of
  their iBMC chips is broken, resulting in a "blurry" screen when viewed
  from their in house remote kvm-like console.

  Example:

  https://launchpadlibrarian.net/365907668/creen_picture_for_blur.png

  The issue is caused by the hibmc_drm kernel module being loaded. The PCI ID 
for the iBMC chips on amd64 hardware is the same as arm64 hardware, but the 
  hibmc_drm driver was developed only for use on arm64 hardware, most notably 
for the Huawei D05 development board.

  The impact to Huawei is that their customers cannot use Ubuntu server install
  media as the screen goes "blurry" when the d-i install media or subuqity
  installer loads the hibmc_drm kernel module after language selection. 

  The only workaround for their customers is to press the "E" key during
  the very first installer menu and adding
  "modprobe.blacklist=hibmc_drm" to the kernel command line in the grub
  menu. This is not good for customer experience with their servers.

  Other problems exist for the hibmc_drm driver on amd64, such as working on 
  bios, but not uefi, and not being wayland compatible, making the screen 
blurry whenever a desktop session is started and gdm loaded.

  Huawei have asked us to remove hibmc_drm from all architectures except arm64,
  and this aligns with advice from Hisilicon.

  [Fix]

  I modified the config/annotations file to remove all architectures
  except arm64, and created a patch for Kconfig to set a firm
  requirement on ARM64 for hibmc_drm.

  I will send the Kconfig patch upstream in the coming days for a more
  permanent fix.

  [Testcase]

  Apply the patches and run:

  ubuntu-bionic/CONFIGS$ fakeroot debian/rules genconfigs
  ubuntu-bionic/CONFIGS$ grep -Rin "hibmc" .
  ./arm64-config.flavour.generic:5739:CONFIG_DRM_HISI_HIBMC=m

  You should see that only arm64 has the config option enabled.

  A test kernel has been built, and is available here:
  https://launchpad.net/~mruffell/+archive/ubuntu/sf232667-test

  Huawei requested a test d-i install iso to test server install with, which 
can be found here and uses the kernel from the ppa above:
  
https://people.canonical.com/~mruffell/sf232667_ubuntu_server_d-i_20190711b1.iso

  Both the test kernel and the custom d-i install iso have been tested on amd64
  Huawei server hardware successfully and video output is functional.

  [Regression Potential]

  Regressions will be limited to hardware containing the iBMC chips from
  Hisilicon, which I believe are exclusive to Huawei servers.

  I have taken care to ensure that hibmc_drm is enabled for ARM64 so it
  should not impact kernels built for the Huawei D05 arm64 development
  board, and d-i will still load the hibmc_drm driver during startup for
  arm64.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1762940/+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 1762940] Re: hibmc-drm Causes Unreadable Display for Huawei amd64 Servers

2019-07-25 Thread Juerg Haefliger
** No longer affects: linux-gcp (Ubuntu Bionic)

** No longer affects: linux-gcp (Ubuntu)

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-gcp in Ubuntu.
https://bugs.launchpad.net/bugs/1762940

Title:
  hibmc-drm Causes Unreadable Display for Huawei amd64 Servers

Status in linux package in Ubuntu:
  Fix Committed
Status in linux source package in Bionic:
  Fix Committed
Status in linux source package in Disco:
  Fix Committed
Status in linux source package in Eoan:
  Fix Committed

Bug description:
  BugLink: https://bugs.launchpad.net/bugs/1762940

  [Impact]

  amd64 based Huawei servers have problems where the display output of
  their iBMC chips is broken, resulting in a "blurry" screen when viewed
  from their in house remote kvm-like console.

  Example:

  https://launchpadlibrarian.net/365907668/creen_picture_for_blur.png

  The issue is caused by the hibmc_drm kernel module being loaded. The PCI ID 
for the iBMC chips on amd64 hardware is the same as arm64 hardware, but the 
  hibmc_drm driver was developed only for use on arm64 hardware, most notably 
for the Huawei D05 development board.

  The impact to Huawei is that their customers cannot use Ubuntu server install
  media as the screen goes "blurry" when the d-i install media or subuqity
  installer loads the hibmc_drm kernel module after language selection. 

  The only workaround for their customers is to press the "E" key during
  the very first installer menu and adding
  "modprobe.blacklist=hibmc_drm" to the kernel command line in the grub
  menu. This is not good for customer experience with their servers.

  Other problems exist for the hibmc_drm driver on amd64, such as working on 
  bios, but not uefi, and not being wayland compatible, making the screen 
blurry whenever a desktop session is started and gdm loaded.

  Huawei have asked us to remove hibmc_drm from all architectures except arm64,
  and this aligns with advice from Hisilicon.

  [Fix]

  I modified the config/annotations file to remove all architectures
  except arm64, and created a patch for Kconfig to set a firm
  requirement on ARM64 for hibmc_drm.

  I will send the Kconfig patch upstream in the coming days for a more
  permanent fix.

  [Testcase]

  Apply the patches and run:

  ubuntu-bionic/CONFIGS$ fakeroot debian/rules genconfigs
  ubuntu-bionic/CONFIGS$ grep -Rin "hibmc" .
  ./arm64-config.flavour.generic:5739:CONFIG_DRM_HISI_HIBMC=m

  You should see that only arm64 has the config option enabled.

  A test kernel has been built, and is available here:
  https://launchpad.net/~mruffell/+archive/ubuntu/sf232667-test

  Huawei requested a test d-i install iso to test server install with, which 
can be found here and uses the kernel from the ppa above:
  
https://people.canonical.com/~mruffell/sf232667_ubuntu_server_d-i_20190711b1.iso

  Both the test kernel and the custom d-i install iso have been tested on amd64
  Huawei server hardware successfully and video output is functional.

  [Regression Potential]

  Regressions will be limited to hardware containing the iBMC chips from
  Hisilicon, which I believe are exclusive to Huawei servers.

  I have taken care to ensure that hibmc_drm is enabled for ARM64 so it
  should not impact kernels built for the Huawei D05 arm64 development
  board, and d-i will still load the hibmc_drm driver during startup for
  arm64.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1762940/+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 1762940] Re: hibmc-drm Causes Unreadable Display for Huawei amd64 Servers

2019-07-25 Thread Ubuntu Kernel Bot
This bug is awaiting verification that the kernel in -proposed solves
the problem. Please test the kernel and update this bug with the
results. If the problem is solved, change the tag 'verification-needed-
disco' to 'verification-done-disco'. If the problem still exists, change
the tag 'verification-needed-disco' to 'verification-failed-disco'.

If verification is not done by 5 working days from today, this fix will
be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how
to enable and use -proposed. Thank you!


** Tags added: verification-needed-disco

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-gcp in Ubuntu.
https://bugs.launchpad.net/bugs/1762940

Title:
  hibmc-drm Causes Unreadable Display for Huawei amd64 Servers

Status in linux package in Ubuntu:
  Fix Committed
Status in linux-gcp package in Ubuntu:
  Fix Committed
Status in linux source package in Bionic:
  Fix Committed
Status in linux-gcp source package in Bionic:
  Fix Committed
Status in linux source package in Disco:
  Fix Committed
Status in linux source package in Eoan:
  Fix Committed

Bug description:
  BugLink: https://bugs.launchpad.net/bugs/1762940

  [Impact]

  amd64 based Huawei servers have problems where the display output of
  their iBMC chips is broken, resulting in a "blurry" screen when viewed
  from their in house remote kvm-like console.

  Example:

  https://launchpadlibrarian.net/365907668/creen_picture_for_blur.png

  The issue is caused by the hibmc_drm kernel module being loaded. The PCI ID 
for the iBMC chips on amd64 hardware is the same as arm64 hardware, but the 
  hibmc_drm driver was developed only for use on arm64 hardware, most notably 
for the Huawei D05 development board.

  The impact to Huawei is that their customers cannot use Ubuntu server install
  media as the screen goes "blurry" when the d-i install media or subuqity
  installer loads the hibmc_drm kernel module after language selection. 

  The only workaround for their customers is to press the "E" key during
  the very first installer menu and adding
  "modprobe.blacklist=hibmc_drm" to the kernel command line in the grub
  menu. This is not good for customer experience with their servers.

  Other problems exist for the hibmc_drm driver on amd64, such as working on 
  bios, but not uefi, and not being wayland compatible, making the screen 
blurry whenever a desktop session is started and gdm loaded.

  Huawei have asked us to remove hibmc_drm from all architectures except arm64,
  and this aligns with advice from Hisilicon.

  [Fix]

  I modified the config/annotations file to remove all architectures
  except arm64, and created a patch for Kconfig to set a firm
  requirement on ARM64 for hibmc_drm.

  I will send the Kconfig patch upstream in the coming days for a more
  permanent fix.

  [Testcase]

  Apply the patches and run:

  ubuntu-bionic/CONFIGS$ fakeroot debian/rules genconfigs
  ubuntu-bionic/CONFIGS$ grep -Rin "hibmc" .
  ./arm64-config.flavour.generic:5739:CONFIG_DRM_HISI_HIBMC=m

  You should see that only arm64 has the config option enabled.

  A test kernel has been built, and is available here:
  https://launchpad.net/~mruffell/+archive/ubuntu/sf232667-test

  Huawei requested a test d-i install iso to test server install with, which 
can be found here and uses the kernel from the ppa above:
  
https://people.canonical.com/~mruffell/sf232667_ubuntu_server_d-i_20190711b1.iso

  Both the test kernel and the custom d-i install iso have been tested on amd64
  Huawei server hardware successfully and video output is functional.

  [Regression Potential]

  Regressions will be limited to hardware containing the iBMC chips from
  Hisilicon, which I believe are exclusive to Huawei servers.

  I have taken care to ensure that hibmc_drm is enabled for ARM64 so it
  should not impact kernels built for the Huawei D05 arm64 development
  board, and d-i will still load the hibmc_drm driver during startup for
  arm64.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1762940/+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 1762940] Re: hibmc-drm Causes Unreadable Display for Huawei amd64 Servers

2019-07-24 Thread Sultan Alsawaf
** Also affects: linux-gcp (Ubuntu)
   Importance: Undecided
   Status: New

** No longer affects: linux-gcp (Ubuntu)

** No longer affects: linux-gcp (Ubuntu Eoan)

** No longer affects: linux-gcp (Ubuntu Disco)

** Also affects: linux-gcp (Ubuntu)
   Importance: Undecided
   Status: New

** No longer affects: linux (Ubuntu Bionic)

** Also affects: linux (Ubuntu Bionic)
   Importance: Undecided
   Status: New

** Also affects: linux-gcp (Ubuntu Bionic)
   Importance: Undecided
   Status: New

** Changed in: linux (Ubuntu Bionic)
   Status: New => Fix Committed

** Changed in: linux (Ubuntu Bionic)
   Importance: Undecided => High

** Changed in: linux (Ubuntu Bionic)
 Assignee: (unassigned) => Matthew Ruffell (mruffell)

** Changed in: linux-gcp (Ubuntu Bionic)
   Status: New => Fix Committed

** Changed in: linux-gcp (Ubuntu)
   Status: New => Fix Committed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-gcp in Ubuntu.
https://bugs.launchpad.net/bugs/1762940

Title:
  hibmc-drm Causes Unreadable Display for Huawei amd64 Servers

Status in linux package in Ubuntu:
  Fix Committed
Status in linux-gcp package in Ubuntu:
  Fix Committed
Status in linux source package in Bionic:
  Fix Committed
Status in linux-gcp source package in Bionic:
  Fix Committed
Status in linux source package in Disco:
  Fix Committed
Status in linux source package in Eoan:
  Fix Committed

Bug description:
  BugLink: https://bugs.launchpad.net/bugs/1762940

  [Impact]

  amd64 based Huawei servers have problems where the display output of
  their iBMC chips is broken, resulting in a "blurry" screen when viewed
  from their in house remote kvm-like console.

  Example:

  https://launchpadlibrarian.net/365907668/creen_picture_for_blur.png

  The issue is caused by the hibmc_drm kernel module being loaded. The PCI ID 
for the iBMC chips on amd64 hardware is the same as arm64 hardware, but the 
  hibmc_drm driver was developed only for use on arm64 hardware, most notably 
for the Huawei D05 development board.

  The impact to Huawei is that their customers cannot use Ubuntu server install
  media as the screen goes "blurry" when the d-i install media or subuqity
  installer loads the hibmc_drm kernel module after language selection. 

  The only workaround for their customers is to press the "E" key during
  the very first installer menu and adding
  "modprobe.blacklist=hibmc_drm" to the kernel command line in the grub
  menu. This is not good for customer experience with their servers.

  Other problems exist for the hibmc_drm driver on amd64, such as working on 
  bios, but not uefi, and not being wayland compatible, making the screen 
blurry whenever a desktop session is started and gdm loaded.

  Huawei have asked us to remove hibmc_drm from all architectures except arm64,
  and this aligns with advice from Hisilicon.

  [Fix]

  I modified the config/annotations file to remove all architectures
  except arm64, and created a patch for Kconfig to set a firm
  requirement on ARM64 for hibmc_drm.

  I will send the Kconfig patch upstream in the coming days for a more
  permanent fix.

  [Testcase]

  Apply the patches and run:

  ubuntu-bionic/CONFIGS$ fakeroot debian/rules genconfigs
  ubuntu-bionic/CONFIGS$ grep -Rin "hibmc" .
  ./arm64-config.flavour.generic:5739:CONFIG_DRM_HISI_HIBMC=m

  You should see that only arm64 has the config option enabled.

  A test kernel has been built, and is available here:
  https://launchpad.net/~mruffell/+archive/ubuntu/sf232667-test

  Huawei requested a test d-i install iso to test server install with, which 
can be found here and uses the kernel from the ppa above:
  
https://people.canonical.com/~mruffell/sf232667_ubuntu_server_d-i_20190711b1.iso

  Both the test kernel and the custom d-i install iso have been tested on amd64
  Huawei server hardware successfully and video output is functional.

  [Regression Potential]

  Regressions will be limited to hardware containing the iBMC chips from
  Hisilicon, which I believe are exclusive to Huawei servers.

  I have taken care to ensure that hibmc_drm is enabled for ARM64 so it
  should not impact kernels built for the Huawei D05 arm64 development
  board, and d-i will still load the hibmc_drm driver during startup for
  arm64.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1762940/+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 1762940] Re: hibmc-drm Causes Unreadable Display for Huawei amd64 Servers

2019-07-24 Thread Brad Figg
** Tags added: cscc

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

Title:
  hibmc-drm Causes Unreadable Display for Huawei amd64 Servers

Status in linux package in Ubuntu:
  Fix Committed
Status in linux source package in Bionic:
  Fix Committed
Status in linux source package in Disco:
  Fix Committed
Status in linux source package in Eoan:
  Fix Committed

Bug description:
  BugLink: https://bugs.launchpad.net/bugs/1762940

  [Impact]

  amd64 based Huawei servers have problems where the display output of
  their iBMC chips is broken, resulting in a "blurry" screen when viewed
  from their in house remote kvm-like console.

  Example:

  https://launchpadlibrarian.net/365907668/creen_picture_for_blur.png

  The issue is caused by the hibmc_drm kernel module being loaded. The PCI ID 
for the iBMC chips on amd64 hardware is the same as arm64 hardware, but the 
  hibmc_drm driver was developed only for use on arm64 hardware, most notably 
for the Huawei D05 development board.

  The impact to Huawei is that their customers cannot use Ubuntu server install
  media as the screen goes "blurry" when the d-i install media or subuqity
  installer loads the hibmc_drm kernel module after language selection. 

  The only workaround for their customers is to press the "E" key during
  the very first installer menu and adding
  "modprobe.blacklist=hibmc_drm" to the kernel command line in the grub
  menu. This is not good for customer experience with their servers.

  Other problems exist for the hibmc_drm driver on amd64, such as working on 
  bios, but not uefi, and not being wayland compatible, making the screen 
blurry whenever a desktop session is started and gdm loaded.

  Huawei have asked us to remove hibmc_drm from all architectures except arm64,
  and this aligns with advice from Hisilicon.

  [Fix]

  I modified the config/annotations file to remove all architectures
  except arm64, and created a patch for Kconfig to set a firm
  requirement on ARM64 for hibmc_drm.

  I will send the Kconfig patch upstream in the coming days for a more
  permanent fix.

  [Testcase]

  Apply the patches and run:

  ubuntu-bionic/CONFIGS$ fakeroot debian/rules genconfigs
  ubuntu-bionic/CONFIGS$ grep -Rin "hibmc" .
  ./arm64-config.flavour.generic:5739:CONFIG_DRM_HISI_HIBMC=m

  You should see that only arm64 has the config option enabled.

  A test kernel has been built, and is available here:
  https://launchpad.net/~mruffell/+archive/ubuntu/sf232667-test

  Huawei requested a test d-i install iso to test server install with, which 
can be found here and uses the kernel from the ppa above:
  
https://people.canonical.com/~mruffell/sf232667_ubuntu_server_d-i_20190711b1.iso

  Both the test kernel and the custom d-i install iso have been tested on amd64
  Huawei server hardware successfully and video output is functional.

  [Regression Potential]

  Regressions will be limited to hardware containing the iBMC chips from
  Hisilicon, which I believe are exclusive to Huawei servers.

  I have taken care to ensure that hibmc_drm is enabled for ARM64 so it
  should not impact kernels built for the Huawei D05 arm64 development
  board, and d-i will still load the hibmc_drm driver during startup for
  arm64.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1762940/+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 1762940] Re: hibmc-drm Causes Unreadable Display for Huawei amd64 Servers

2019-07-23 Thread Kleber Sacilotto de Souza
** Changed in: linux (Ubuntu Bionic)
   Status: In Progress => Fix Committed

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

Title:
  hibmc-drm Causes Unreadable Display for Huawei amd64 Servers

Status in linux package in Ubuntu:
  Fix Committed
Status in linux source package in Bionic:
  Fix Committed
Status in linux source package in Disco:
  Fix Committed
Status in linux source package in Eoan:
  Fix Committed

Bug description:
  BugLink: https://bugs.launchpad.net/bugs/1762940

  [Impact]

  amd64 based Huawei servers have problems where the display output of
  their iBMC chips is broken, resulting in a "blurry" screen when viewed
  from their in house remote kvm-like console.

  Example:

  https://launchpadlibrarian.net/365907668/creen_picture_for_blur.png

  The issue is caused by the hibmc_drm kernel module being loaded. The PCI ID 
for the iBMC chips on amd64 hardware is the same as arm64 hardware, but the 
  hibmc_drm driver was developed only for use on arm64 hardware, most notably 
for the Huawei D05 development board.

  The impact to Huawei is that their customers cannot use Ubuntu server install
  media as the screen goes "blurry" when the d-i install media or subuqity
  installer loads the hibmc_drm kernel module after language selection. 

  The only workaround for their customers is to press the "E" key during
  the very first installer menu and adding
  "modprobe.blacklist=hibmc_drm" to the kernel command line in the grub
  menu. This is not good for customer experience with their servers.

  Other problems exist for the hibmc_drm driver on amd64, such as working on 
  bios, but not uefi, and not being wayland compatible, making the screen 
blurry whenever a desktop session is started and gdm loaded.

  Huawei have asked us to remove hibmc_drm from all architectures except arm64,
  and this aligns with advice from Hisilicon.

  [Fix]

  I modified the config/annotations file to remove all architectures
  except arm64, and created a patch for Kconfig to set a firm
  requirement on ARM64 for hibmc_drm.

  I will send the Kconfig patch upstream in the coming days for a more
  permanent fix.

  [Testcase]

  Apply the patches and run:

  ubuntu-bionic/CONFIGS$ fakeroot debian/rules genconfigs
  ubuntu-bionic/CONFIGS$ grep -Rin "hibmc" .
  ./arm64-config.flavour.generic:5739:CONFIG_DRM_HISI_HIBMC=m

  You should see that only arm64 has the config option enabled.

  A test kernel has been built, and is available here:
  https://launchpad.net/~mruffell/+archive/ubuntu/sf232667-test

  Huawei requested a test d-i install iso to test server install with, which 
can be found here and uses the kernel from the ppa above:
  
https://people.canonical.com/~mruffell/sf232667_ubuntu_server_d-i_20190711b1.iso

  Both the test kernel and the custom d-i install iso have been tested on amd64
  Huawei server hardware successfully and video output is functional.

  [Regression Potential]

  Regressions will be limited to hardware containing the iBMC chips from
  Hisilicon, which I believe are exclusive to Huawei servers.

  I have taken care to ensure that hibmc_drm is enabled for ARM64 so it
  should not impact kernels built for the Huawei D05 arm64 development
  board, and d-i will still load the hibmc_drm driver during startup for
  arm64.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1762940/+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 1762940] Re: hibmc-drm Causes Unreadable Display for Huawei amd64 Servers

2019-07-23 Thread Kleber Sacilotto de Souza
** Changed in: linux (Ubuntu Disco)
   Status: In Progress => Fix Committed

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

Title:
  hibmc-drm Causes Unreadable Display for Huawei amd64 Servers

Status in linux package in Ubuntu:
  Fix Committed
Status in linux source package in Bionic:
  In Progress
Status in linux source package in Disco:
  Fix Committed
Status in linux source package in Eoan:
  Fix Committed

Bug description:
  BugLink: https://bugs.launchpad.net/bugs/1762940

  [Impact]

  amd64 based Huawei servers have problems where the display output of
  their iBMC chips is broken, resulting in a "blurry" screen when viewed
  from their in house remote kvm-like console.

  Example:

  https://launchpadlibrarian.net/365907668/creen_picture_for_blur.png

  The issue is caused by the hibmc_drm kernel module being loaded. The PCI ID 
for the iBMC chips on amd64 hardware is the same as arm64 hardware, but the 
  hibmc_drm driver was developed only for use on arm64 hardware, most notably 
for the Huawei D05 development board.

  The impact to Huawei is that their customers cannot use Ubuntu server install
  media as the screen goes "blurry" when the d-i install media or subuqity
  installer loads the hibmc_drm kernel module after language selection. 

  The only workaround for their customers is to press the "E" key during
  the very first installer menu and adding
  "modprobe.blacklist=hibmc_drm" to the kernel command line in the grub
  menu. This is not good for customer experience with their servers.

  Other problems exist for the hibmc_drm driver on amd64, such as working on 
  bios, but not uefi, and not being wayland compatible, making the screen 
blurry whenever a desktop session is started and gdm loaded.

  Huawei have asked us to remove hibmc_drm from all architectures except arm64,
  and this aligns with advice from Hisilicon.

  [Fix]

  I modified the config/annotations file to remove all architectures
  except arm64, and created a patch for Kconfig to set a firm
  requirement on ARM64 for hibmc_drm.

  I will send the Kconfig patch upstream in the coming days for a more
  permanent fix.

  [Testcase]

  Apply the patches and run:

  ubuntu-bionic/CONFIGS$ fakeroot debian/rules genconfigs
  ubuntu-bionic/CONFIGS$ grep -Rin "hibmc" .
  ./arm64-config.flavour.generic:5739:CONFIG_DRM_HISI_HIBMC=m

  You should see that only arm64 has the config option enabled.

  A test kernel has been built, and is available here:
  https://launchpad.net/~mruffell/+archive/ubuntu/sf232667-test

  Huawei requested a test d-i install iso to test server install with, which 
can be found here and uses the kernel from the ppa above:
  
https://people.canonical.com/~mruffell/sf232667_ubuntu_server_d-i_20190711b1.iso

  Both the test kernel and the custom d-i install iso have been tested on amd64
  Huawei server hardware successfully and video output is functional.

  [Regression Potential]

  Regressions will be limited to hardware containing the iBMC chips from
  Hisilicon, which I believe are exclusive to Huawei servers.

  I have taken care to ensure that hibmc_drm is enabled for ARM64 so it
  should not impact kernels built for the Huawei D05 arm64 development
  board, and d-i will still load the hibmc_drm driver during startup for
  arm64.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1762940/+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 1762940] Re: hibmc-drm Causes Unreadable Display for Huawei amd64 Servers

2019-07-17 Thread Seth Forshee
** Changed in: linux (Ubuntu Eoan)
   Status: In Progress => Fix Committed

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

Title:
  hibmc-drm Causes Unreadable Display for Huawei amd64 Servers

Status in linux package in Ubuntu:
  Fix Committed
Status in linux source package in Bionic:
  In Progress
Status in linux source package in Disco:
  In Progress
Status in linux source package in Eoan:
  Fix Committed

Bug description:
  BugLink: https://bugs.launchpad.net/bugs/1762940

  [Impact]

  amd64 based Huawei servers have problems where the display output of
  their iBMC chips is broken, resulting in a "blurry" screen when viewed
  from their in house remote kvm-like console.

  Example:

  https://launchpadlibrarian.net/365907668/creen_picture_for_blur.png

  The issue is caused by the hibmc_drm kernel module being loaded. The PCI ID 
for the iBMC chips on amd64 hardware is the same as arm64 hardware, but the 
  hibmc_drm driver was developed only for use on arm64 hardware, most notably 
for the Huawei D05 development board.

  The impact to Huawei is that their customers cannot use Ubuntu server install
  media as the screen goes "blurry" when the d-i install media or subuqity
  installer loads the hibmc_drm kernel module after language selection. 

  The only workaround for their customers is to press the "E" key during
  the very first installer menu and adding
  "modprobe.blacklist=hibmc_drm" to the kernel command line in the grub
  menu. This is not good for customer experience with their servers.

  Other problems exist for the hibmc_drm driver on amd64, such as working on 
  bios, but not uefi, and not being wayland compatible, making the screen 
blurry whenever a desktop session is started and gdm loaded.

  Huawei have asked us to remove hibmc_drm from all architectures except arm64,
  and this aligns with advice from Hisilicon.

  [Fix]

  I modified the config/annotations file to remove all architectures
  except arm64, and created a patch for Kconfig to set a firm
  requirement on ARM64 for hibmc_drm.

  I will send the Kconfig patch upstream in the coming days for a more
  permanent fix.

  [Testcase]

  Apply the patches and run:

  ubuntu-bionic/CONFIGS$ fakeroot debian/rules genconfigs
  ubuntu-bionic/CONFIGS$ grep -Rin "hibmc" .
  ./arm64-config.flavour.generic:5739:CONFIG_DRM_HISI_HIBMC=m

  You should see that only arm64 has the config option enabled.

  A test kernel has been built, and is available here:
  https://launchpad.net/~mruffell/+archive/ubuntu/sf232667-test

  Huawei requested a test d-i install iso to test server install with, which 
can be found here and uses the kernel from the ppa above:
  
https://people.canonical.com/~mruffell/sf232667_ubuntu_server_d-i_20190711b1.iso

  Both the test kernel and the custom d-i install iso have been tested on amd64
  Huawei server hardware successfully and video output is functional.

  [Regression Potential]

  Regressions will be limited to hardware containing the iBMC chips from
  Hisilicon, which I believe are exclusive to Huawei servers.

  I have taken care to ensure that hibmc_drm is enabled for ARM64 so it
  should not impact kernels built for the Huawei D05 arm64 development
  board, and d-i will still load the hibmc_drm driver during startup for
  arm64.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1762940/+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 1762940] Re: hibmc-drm Causes Unreadable Display for Huawei amd64 Servers

2019-07-15 Thread Matthew Ruffell
** Changed in: linux (Ubuntu Bionic)
   Status: Triaged => In Progress

** Changed in: linux (Ubuntu Disco)
   Status: Triaged => In Progress

** Changed in: linux (Ubuntu Eoan)
   Status: Triaged => In Progress

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

Title:
  hibmc-drm Causes Unreadable Display for Huawei amd64 Servers

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

Bug description:
  BugLink: https://bugs.launchpad.net/bugs/1762940

  [Impact]

  amd64 based Huawei servers have problems where the display output of
  their iBMC chips is broken, resulting in a "blurry" screen when viewed
  from their in house remote kvm-like console.

  Example:

  https://launchpadlibrarian.net/365907668/creen_picture_for_blur.png

  The issue is caused by the hibmc_drm kernel module being loaded. The PCI ID 
for the iBMC chips on amd64 hardware is the same as arm64 hardware, but the 
  hibmc_drm driver was developed only for use on arm64 hardware, most notably 
for the Huawei D05 development board.

  The impact to Huawei is that their customers cannot use Ubuntu server install
  media as the screen goes "blurry" when the d-i install media or subuqity
  installer loads the hibmc_drm kernel module after language selection. 

  The only workaround for their customers is to press the "E" key during
  the very first installer menu and adding
  "modprobe.blacklist=hibmc_drm" to the kernel command line in the grub
  menu. This is not good for customer experience with their servers.

  Other problems exist for the hibmc_drm driver on amd64, such as working on 
  bios, but not uefi, and not being wayland compatible, making the screen 
blurry whenever a desktop session is started and gdm loaded.

  Huawei have asked us to remove hibmc_drm from all architectures except arm64,
  and this aligns with advice from Hisilicon.

  [Fix]

  I modified the config/annotations file to remove all architectures
  except arm64, and created a patch for Kconfig to set a firm
  requirement on ARM64 for hibmc_drm.

  I will send the Kconfig patch upstream in the coming days for a more
  permanent fix.

  [Testcase]

  Apply the patches and run:

  ubuntu-bionic/CONFIGS$ fakeroot debian/rules genconfigs
  ubuntu-bionic/CONFIGS$ grep -Rin "hibmc" .
  ./arm64-config.flavour.generic:5739:CONFIG_DRM_HISI_HIBMC=m

  You should see that only arm64 has the config option enabled.

  A test kernel has been built, and is available here:
  https://launchpad.net/~mruffell/+archive/ubuntu/sf232667-test

  Huawei requested a test d-i install iso to test server install with, which 
can be found here and uses the kernel from the ppa above:
  
https://people.canonical.com/~mruffell/sf232667_ubuntu_server_d-i_20190711b1.iso

  Both the test kernel and the custom d-i install iso have been tested on amd64
  Huawei server hardware successfully and video output is functional.

  [Regression Potential]

  Regressions will be limited to hardware containing the iBMC chips from
  Hisilicon, which I believe are exclusive to Huawei servers.

  I have taken care to ensure that hibmc_drm is enabled for ARM64 so it
  should not impact kernels built for the Huawei D05 arm64 development
  board, and d-i will still load the hibmc_drm driver during startup for
  arm64.

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