[Bug 1898130] Re: oops in nvkm_udevice_info() [nouveau]

2020-10-12 Thread Launchpad Bug Tracker
This bug was fixed in the package linux - 5.8.0-22.23

---
linux (5.8.0-22.23) groovy; urgency=medium

  * groovy/linux: 5.8.0-22.23 -proposed tracker (LP: #1899099)

  * Packaging resync (LP: #1786013)
- update dkms package versions

  * oops in nvkm_udevice_info() [nouveau] (LP: #1898130)
- drm/nouveau/device: return error for unknown chipsets

  * python3-venv is gone (LP: #1896801)
- SAUCE: doc: remove python3-venv dependency

  * *-tools-common packages descriptions have typo "PGKVER" (LP: #1898903)
- [Packaging] Fix typo in -tools template s/PGKVER/PKGVER/

  * Enable brightness control on HP DreamColor panel (LP: #1898865)
- SAUCE: drm/i915/dpcd_bl: Skip testing control capability with force DPCD
  quirk
- SAUCE: drm/dp: HP DreamColor panel brigntness fix

  * Groovy update: v5.8.14 upstream stable release (LP: #1898853)
- io_uring: always delete double poll wait entry on match
- btrfs: fix filesystem corruption after a device replace
- mmc: sdhci: Workaround broken command queuing on Intel GLK based IRBIS
  models
- USB: gadget: f_ncm: Fix NDP16 datagram validation
- Revert "usbip: Implement a match function to fix usbip"
- usbcore/driver: Fix specific driver selection
- usbcore/driver: Fix incorrect downcast
- usbcore/driver: Accommodate usbip
- gpio: siox: explicitly support only threaded irqs
- gpio: mockup: fix resource leak in error path
- gpio: tc35894: fix up tc35894 interrupt configuration
- gpio: amd-fch: correct logic of GPIO_LINE_DIRECTION
- clk: samsung: Keep top BPLL mux on Exynos542x enabled
- clk: socfpga: stratix10: fix the divider for the emac_ptp_free_clk
- scsi: iscsi: iscsi_tcp: Avoid holding spinlock while calling getpeername()
- i2c: i801: Exclude device from suspend direct complete optimization
- Input: i8042 - add nopnp quirk for Acer Aspire 5 A515
- iio: adc: qcom-spmi-adc5: fix driver name
- ftrace: Move RCU is watching check after recursion check
- tracing: Fix trace_find_next_entry() accounting of temp buffer size
- memstick: Skip allocating card when removing host
- drm/amdgpu: restore proper ref count in amdgpu_display_crtc_set_config
- xen/events: don't use chip_data for legacy IRQs
- clocksource/drivers/timer-gx6605s: Fixup counter reload
- vboxsf: Fix the check for the old binary mount-arguments struct
- mt76: mt7915: use ieee80211_free_txskb to free tx skbs
- libbpf: Remove arch-specific include path in Makefile
- drivers/net/wan/hdlc_fr: Add needed_headroom for PVC devices
- Revert "wlcore: Adding suppoprt for IGTK key in wlcore driver"
- drm/sun4i: mixer: Extend regmap max_register
- hv_netvsc: Cache the current data path to avoid duplicate call and message
- net: dec: de2104x: Increase receive ring size for Tulip
- rndis_host: increase sleep time in the query-response loop
- nvme-pci: disable the write zeros command for Intel 600P/P3100
- nvme-core: get/put ctrl and transport module in nvme_dev_open/release()
- fuse: fix the ->direct_IO() treatment of iov_iter
- drivers/net/wan/lapbether: Make skb->protocol consistent with the header
- drivers/net/wan/hdlc: Set skb->protocol before transmitting
- mac80211: Fix radiotap header channel flag for 6GHz band
- mac80211: do not allow bigger VHT MPDUs than the hardware supports
- tracing: Make the space reserved for the pid wider
- tools/io_uring: fix compile breakage
- io_uring: mark statx/files_update/epoll_ctl as non-SQPOLL
- cpuidle: psci: Fix suspicious RCU usage
- spi: fsl-espi: Only process interrupts for expected events
- net: dsa: felix: fix some key offsets for IP4_TCP_UDP VCAP IS2 entries
- nvme-pci: fix NULL req in completion handler
- nvme-fc: fail new connections to a deleted host or remote port
- scripts/kallsyms: skip ppc compiler stub *.long_branch.* / *.plt_branch.*
- gpio: sprd: Clear interrupt when setting the type as edge
- phy: ti: am654: Fix a leak in serdes_am654_probe()
- pinctrl: mvebu: Fix i2c sda definition for 98DX3236
- nfs: Fix security label length not being reset
- NFSv4.2: fix client's attribute cache management for copy_file_range
- pNFS/flexfiles: Ensure we initialise the mirror bsizes correctly on read
- clk: tegra: Always program PLL_E when enabled
- clk: tegra: Fix missing prototype for tegra210_clk_register_emc()
- dmaengine: dmatest: Prevent to run on misconfigured channel
- clk: samsung: exynos4: mark 'chipid' clock as CLK_IGNORE_UNUSED
- scsi: target: Fix lun lookup for TARGET_SCF_LOOKUP_LUN_FROM_TAG case
- iommu/exynos: add missing put_device() call in exynos_iommu_of_xlate()
- gpio: pca953x: Fix uninitialized pending variable
- gpio/aspeed-sgpio: enable access to all 80 input & output sgpios
- gpio/aspeed-sgpio: don't enable all interrupts by default
- gpio: aspeed: fix ast2600

[Bug 1898130] Re: oops in nvkm_udevice_info() [nouveau]

2020-10-06 Thread dann frazier
Upstream proposed a fix that works for me:
 https://lists.freedesktop.org/archives/nouveau/2020-October/037069.html

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

** Changed in: linux (Ubuntu)
 Assignee: (unassigned) => dann frazier (dannf)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1898130

Title:
  oops in nvkm_udevice_info() [nouveau]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1898130/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1898130] Re: oops in nvkm_udevice_info() [nouveau]

2020-10-02 Thread dann frazier
Reported upstream:
http://lkml.iu.edu/hypermail/linux/kernel/2010.0/02256.html

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1898130

Title:
  oops in nvkm_udevice_info() [nouveau]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1898130/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1898130] Re: oops in nvkm_udevice_info() [nouveau]

2020-10-02 Thread dann frazier
focal didn't have this problem, so I bisected v5.4..v5.8 to discover
when it was introduced and hit:

commit 24d5ff40a732633dceab68c6559ba723784f4a68
Author: Karol Herbst 
Date:   Tue Apr 28 18:54:02 2020 +0200

drm/nouveau/device: rework mmio mapping code to get rid of second map

Fixes warnings on GPUs with smaller a smaller mmio region like vGPUs.

Signed-off-by: Karol Herbst 
Signed-off-by: Ben Skeggs 

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1898130

Title:
  oops in nvkm_udevice_info() [nouveau]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1898130/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1898130] Re: oops in nvkm_udevice_info() [nouveau]

2020-10-01 Thread dann frazier
Also impacts latest upstream:

[  213.131657] nouveau :07:00.0: unknown chipset (17a1)
[  213.138547] nouveau :07:00.0: unknown chipset (17a1)
[  213.144938] BUG: kernel NULL pointer dereference, address: 
[  213.152704] #PF: supervisor read access in kernel mode
[  213.158433] #PF: error_code(0x) - not-present page
[  213.164162] PGD 0 P4D 0 
[  213.166985] Oops:  [#1] SMP NOPTI
[  213.171068] CPU: 32 PID: 206 Comm: kworker/32:0 Not tainted 5.9.0-rc7+ #1
[  213.178639] Hardware name: NVIDIA DGXA100 920-23687-2530-000/DGXA100, BIOS 
0.25 06/30/2020
[  213.187866] Workqueue: events work_for_cpu_fn
[  213.192761] RIP: 0010:nvkm_udevice_mthd+0x1ed/0x7d0 [nouveau]
[  213.199170] Code: 10 49 89 47 08 4d 85 c9 74 10 48 85 c0 74 0b 41 8b 51 70 
48 29 d0 49 89 47 10 49 8b 86 c0 00 00 00 49 8d 7f 18 ba 10 00 00 00 <48> 8b 30 
e8 6b 91 89 c0 49 8b 76 28 49 8d 7f 28 ba 40 00 00 00 e8
[  213.220121] RSP: 0018:ae0619d47b48 EFLAGS: 00010246
[  213.225948] RAX:  RBX: 9cefab819580 RCX: 00c6
[  213.233907] RDX: 0010 RSI:  RDI: 9cef988f0578
[  213.241864] RBP: ae0619d47b80 R08:  R09: 
[  213.249813] R10: 0088 R11: 01320122 R12: 
[  213.257762] R13: 0068 R14: 9cef6107c400 R15: 9cef988f0560
[  213.265721] FS:  () GS:9cefce00() 
knlGS:
[  213.274747] CS:  0010 DS:  ES:  CR0: 80050033
[  213.281153] CR2:  CR3: 007f3019c000 CR4: 00350ee0
[  213.289104] Call Trace:
[  213.291854]  ? nvkm_object_insert+0x6f/0x80 [nouveau]
[  213.297509]  nvkm_object_mthd+0x1a/0x30 [nouveau]
[  213.302773]  nvkm_ioctl_mthd+0x65/0x70 [nouveau]
[  213.307940]  nvkm_ioctl+0xf0/0x190 [nouveau]
[  213.312735]  nvkm_client_ioctl+0x12/0x20 [nouveau]
[  213.318097]  nvif_object_ioctl+0x4f/0x60 [nouveau]
[  213.323460]  nvif_object_mthd+0x9f/0x150 [nouveau]
[  213.328822]  ? nvif_object_ctor+0x14b/0x1d0 [nouveau]
[  213.334473]  nvif_device_ctor+0x61/0x70 [nouveau]
[  213.339749]  nouveau_cli_init+0x1a3/0x460 [nouveau]
[  213.345215]  ? nouveau_drm_device_init+0x3e/0x780 [nouveau]
[  213.351454]  nouveau_drm_device_init+0x77/0x780 [nouveau]
[  213.357479]  ? pci_read_config_word+0x27/0x40
[  213.362337]  ? pci_enable_device_flags+0x14f/0x170
[  213.367705]  nouveau_drm_probe+0x132/0x1f0 [nouveau]
[  213.373241]  local_pci_probe+0x48/0x80
[  213.377419]  work_for_cpu_fn+0x1a/0x30
[  213.381598]  process_one_work+0x1e8/0x3b0
[  213.386068]  worker_thread+0x53/0x420
[  213.390149]  kthread+0x12f/0x150
[  213.393745]  ? process_one_work+0x3b0/0x3b0
[  213.398406]  ? __kthread_bind_mask+0x70/0x70
[  213.403169]  ret_from_fork+0x22/0x30
[  213.407153] Modules linked in: nouveau(+) mxm_wmi wmi video nls_iso8859_1 
dm_multipath scsi_dh_rdac scsi_dh_emc scsi_dh_alua amd64_edac_mod edac_mce_amd 
amd_energy kvm_amd kvm rapl efi_pstore ipmi_ssif input_leds cdc_ether usbnet 
mii ccp k10temp acpi_ipmi ipmi_si ipmi_devintf ipmi_msghandler mac_hid 
sch_fq_codel ip_tables x_tables autofs4 btrfs blake2b_generic raid10 raid456 
async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq 
libcrc32c raid1 raid0 multipath linear mlx5_ib ses enclosure hid_generic usbhid 
uas hid usb_storage ib_uverbs ib_core crct10dif_pclmul crc32_pclmul ast 
ghash_clmulni_intel drm_vram_helper aesni_intel drm_ttm_helper crypto_simd ttm 
cryptd drm_kms_helper glue_helper syscopyarea sysfillrect sysimgblt mlx5_core 
fb_sys_fops pci_hyperv_intf igb cec mpt3sas dca rc_core raid_class nvme tls 
i2c_algo_bit scsi_transport_sas drm mlxfw xhci_pci nvme_core xhci_pci_renesas 
i2c_piix4
[  213.497060] CR2: 
[  213.500755] ---[ end trace eed3a19f1f25ca74 ]---
[  213.616704] RIP: 0010:nvkm_udevice_mthd+0x1ed/0x7d0 [nouveau]
[  213.623113] Code: 10 49 89 47 08 4d 85 c9 74 10 48 85 c0 74 0b 41 8b 51 70 
48 29 d0 49 89 47 10 49 8b 86 c0 00 00 00 49 8d 7f 18 ba 10 00 00 00 <48> 8b 30 
e8 6b 91 89 c0 49 8b 76 28 49 8d 7f 28 ba 40 00 00 00 e8
[  213.644066] RSP: 0018:ae0619d47b48 EFLAGS: 00010246
[  213.649892] RAX:  RBX: 9cefab819580 RCX: 00c6
[  213.657851] RDX: 0010 RSI:  RDI: 9cef988f0578
[  213.665808] RBP: ae0619d47b80 R08:  R09: 
[  213.673757] R10: 0088 R11: 01320122 R12: 
[  213.681708] R13: 0068 R14: 9cef6107c400 R15: 9cef988f0560
[  213.689668] FS:  () GS:9cefce00() 
knlGS:
[  213.698693] CS:  0010 DS:  ES:  CR0: 80050033
[  213.705100] CR2:  CR3: 007f3019c000 CR4: 00350ee0


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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribe

[Bug 1898130] Re: oops in nvkm_udevice_info() [nouveau]

2020-10-01 Thread dann frazier
apport information

** Description changed:

  The 5.8.0-20.21 reliably trips an Oops on startup when initializing the
  nouveau driver.
+ 
+ [  221.032875] nouveau :07:00.0: unknown chipset (17a1)
+ [  221.039893] nouveau :07:00.0: unknown chipset (17a1)
+ [  221.046328] BUG: kernel NULL pointer dereference, address: 
+ [  221.054098] #PF: supervisor read access in kernel mode
+ [  221.059830] #PF: error_code(0x) - not-present page
+ [  221.065559] PGD 0 P4D 0 
+ [  221.068383] Oops:  [#1] SMP NOPTI
+ [  221.072469] CPU: 32 PID: 1627 Comm: kworker/32:1 Not tainted 
5.8.0-20-generic #21-Ubuntu
+ [  221.081497] Hardware name: NVIDIA DGXA100 920-23687-2530-000/DGXA100, BIOS 
0.25 06/30/2020
+ [  221.090729] Workqueue: events work_for_cpu_fn
+ [  221.095865] RIP: 0010:nvkm_udevice_info+0x180/0x340 [nouveau]
+ [  221.102277] Code: 10 49 89 45 08 4d 85 c9 74 10 48 85 c0 74 0b 41 8b 51 70 
48 29 d0 49 89 45 10 49 8b 86 c0 00 00 00 49 8d 7d 18 ba 10 00 00 00 <48> 8b 30 
e8 58 bb ff d5 49 8b 76 28 49 8d 7d 28 ba 40 00 00 00 e8
+ [  221.123232] RSP: 0018:a7c9dd153b70 EFLAGS: 00010246
+ [  221.129058] RAX:  RBX: 0068 RCX: 
00c6
+ [  221.137020] RDX: 0010 RSI: 994808386320 RDI: 
994808386338
+ [  221.144979] RBP: a7c9dd153ba0 R08:  R09: 

+ [  221.152939] R10: 0088 R11:  R12: 
994808245680
+ [  221.160900] R13: 994808386320 R14: 99483377f800 R15: 

+ [  221.168862] FS:  () GS:99484e00() 
knlGS:
+ [  221.177890] CS:  0010 DS:  ES:  CR0: 80050033
+ [  221.184299] CR2:  CR3: 00b23ac0a000 CR4: 
00340ee0
+ [  221.192259] Call Trace:
+ [  221.195049]  ? nvkm_object_init+0x8d/0x110 [nouveau]
+ [  221.200669]  nvkm_udevice_mthd+0x51/0xb0 [nouveau]
+ [  221.206073]  nvkm_object_mthd+0x1a/0x30 [nouveau]
+ [  221.211373]  nvkm_ioctl_mthd+0x65/0x70 [nouveau]
+ [  221.216574]  nvkm_ioctl+0xf0/0x190 [nouveau]
+ [  221.221418]  nvkm_client_ioctl+0x12/0x20 [nouveau]
+ [  221.226818]  nvif_object_ioctl+0x4e/0x60 [nouveau]
+ [  221.232213]  nvif_object_mthd+0x9f/0x150 [nouveau]
+ [  221.237609]  ? nvif_object_init+0x10a/0x1a0 [nouveau]
+ [  221.243294]  nvif_device_init+0x4f/0x60 [nouveau]
+ [  221.248618]  nouveau_cli_init+0x199/0x450 [nouveau]
+ [  221.254127]  nouveau_drm_device_init+0x54/0x2d0 [nouveau]
+ [  221.260215]  nouveau_drm_probe+0x132/0x1f0 [nouveau]
+ [  221.265747]  local_pci_probe+0x48/0x80
+ [  221.269926]  work_for_cpu_fn+0x1a/0x30
+ [  221.274107]  process_one_work+0x1e8/0x3b0
+ [  221.278577]  worker_thread+0x218/0x370
+ [  221.282759]  kthread+0x12f/0x150
+ [  221.286357]  ? process_one_work+0x3b0/0x3b0
+ [  221.291023]  ? __kthread_bind_mask+0x70/0x70
+ [  221.295788]  ret_from_fork+0x22/0x30
+ [  221.299773] Modules linked in: nouveau(+) mxm_wmi wmi video nls_iso8859_1 
dm_multipath scsi_dh_rdac scsi_dh_emc scsi_dh_alua amd64_edac_mod edac_mce_amd 
amd_energy kvm_amd kvm efi_pstore rapl ipmi_ssif input_leds cdc_ether usbnet 
mii ccp k10temp acpi_ipmi ipmi_si ipmi_devintf ipmi_msghandler mac_hid 
sch_fq_codel ip_tables x_tables autofs4 btrfs blake2b_generic raid10 raid456 
async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq 
libcrc32c raid1 raid0 multipath linear mlx5_ib ses enclosure hid_generic usbhid 
uas hid usb_storage ib_uverbs ib_core crct10dif_pclmul ast crc32_pclmul 
drm_vram_helper ghash_clmulni_intel drm_ttm_helper aesni_intel ttm 
drm_kms_helper crypto_simd syscopyarea sysfillrect cryptd glue_helper sysimgblt 
fb_sys_fops mlx5_core igb cec mpt3sas pci_hyperv_intf dca raid_class nvme 
rc_core i2c_algo_bit scsi_transport_sas tls xhci_pci nvme_core mlxfw drm 
xhci_pci_renesas i2c_piix4
+ [  221.389734] CR2: 
+ [  221.393431] ---[ end trace f0b36cab4e2bf100 ]---
+ [  222.034293] RIP: 0010:nvkm_udevice_info+0x180/0x340 [nouveau]
+ [  222.034300] Code: 10 49 89 45 08 4d 85 c9 74 10 48 85 c0 74 0b 41 8b 51 70 
48 29 d0 49 89 45 10 49 8b 86 c0 00 00 00 49 8d 7d 18 ba 10 00 00 00 <48> 8b 30 
e8 58 bb ff d5 49 8b 76 28 49 8d 7d 28 ba 40 00 00 00 e8
+ [  222.061663] RSP: 0018:a7c9dd153b70 EFLAGS: 00010246
+ [  222.067491] RAX:  RBX: 0068 RCX: 
00c6
+ [  222.075450] RDX: 0010 RSI: 994808386320 RDI: 
994808386338
+ [  222.083409] RBP: a7c9dd153ba0 R08:  R09: 

+ [  222.091369] R10: 0088 R11:  R12: 
994808245680
+ [  222.099329] R13: 994808386320 R14: 99483377f800 R15: 

+ [  222.107290] FS:  () GS:99484e00() 
knlGS:
+ [  222.116316] CS:  0010 DS:  ES:  CR0: 80050033
+ [  222.122723] CR2:  CR3: 00b23ac0a000 CR4: 
00340ee0

** Tags added: apport-collecte