On Fri, 21 Oct 2022 17:21:01 +0200 Diederik de Haas <didi.deb...@cknow.org> wrote: > On woensdag 19 oktober 2022 18:47:06 CEST Ansgar wrote: > > After upgrading to linux 6.0.2-1 I see the following message during boot: > > > > ... > > > > | [ 3.858820] BUG: kernel NULL pointer dereference, address: > > | 0000000000000020 [ 3.858838] #PF: supervisor read access in kernel > > | mode > > > > I only use the integrated Intel graphics, the Nvidia card is unused. > > > > There was no null pointer dereference with the previous kernel > > (5.19.11-1 (2022-09-24)). > > Can you verify if the issue is also present on 6.0~rc7-1~exp1? > I expect it does, but it's better to know then to assume. > > There have been quite some commit under 'drivers/gpu/drm/nouveau' in kernel > 6.0 and in 6.0.3 there have been several NPE fixes, although they didn't > appear > directly related to your issue. > It could be, but it could also be that there are more.
I think I have the same problem than Angsar. And still reprocude it with 6.1~rc5-1~exp1: [ 2.347693] nouveau 0000:01:00.0: enabling device (0006 -> 0007) [ 2.347973] Console: switching to colour dummy device 80x25 [ 2.348099] nouveau 0000:01:00.0: NVIDIA GK107 (0e7120a2) [ 2.363961] nouveau 0000:01:00.0: bios: version 80.07.59.00.0c [ 2.414698] usb 1-1: New USB device found, idVendor=8087, idProduct=0024, bcdDevice= 0.00 [ 2.414702] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 2.415145] hub 1-1:1.0: USB hub found [ 2.415319] hub 1-1:1.0: 6 ports detected [ 2.430667] usb 2-1: New USB device found, idVendor=8087, idProduct=0024, bcdDevice= 0.00 [ 2.430671] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 2.430999] hub 2-1:1.0: USB hub found [ 2.431042] hub 2-1:1.0: 8 ports detected [ 2.433009] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300) [ 2.433620] ata1.00: ACPI cmd 00/00:00:00:00:00:a0(NOP) rejected by device (Stat=0x51 Err=0x04) [ 2.433674] ata1.00: ATA-8: SAMSUNG SSD PM830 2.5" 7mm 512GB, CXM03D1Q, max UDMA/133 [ 2.433737] ata1.00: 1000215216 sectors, multi 16: LBA48 NCQ (depth 32), AA [ 2.434038] ata1.00: ACPI cmd 00/00:00:00:00:00:a0(NOP) rejected by device (Stat=0x51 Err=0x04) [ 2.434122] ata1.00: configured for UDMA/133 [ 2.435359] scsi 0:0:0:0: Direct-Access ATA SAMSUNG SSD PM83 3D1Q PQ: 0 ANSI: 5 [ 2.638562] i915 0000:00:02.0: [drm] VT-d active for gfx access [ 2.638566] i915 0000:00:02.0: vgaarb: deactivate vga console [ 2.638598] i915 0000:00:02.0: [drm] Transparent Hugepage support is recommended for optimal performance when IOMMU is enabled! [ 2.638601] i915 0000:00:02.0: [drm] DMAR active, disabling use of stolen memory [ 2.646770] nouveau 0000:01:00.0: fb: 2048 MiB GDDR5 [ 2.683850] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 1 [ 2.684119] ACPI: video: [Firmware Bug]: ACPI(PEGP) defines _DOD but not _DOS [ 2.684347] ACPI: video: Video Device [PEGP] (multi-head: yes rom: yes post: no) [ 2.684507] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:38/LNXVIDEO:00/input/input6 [ 2.685055] ACPI: video: Video Device [GFX0] (multi-head: yes rom: no post: no) [ 2.685247] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:01/input/input7 [ 2.702363] usb 1-1.5: new high-speed USB device number 3 using ehci-pci [ 2.718352] usb 2-1.5: new full-speed USB device number 3 using ehci-pci [ 2.721400] vga_switcheroo: enabled [ 2.721415] nouveau 0000:01:00.0: DRM: VRAM: 2048 MiB [ 2.721417] nouveau 0000:01:00.0: DRM: GART: 1048576 MiB [ 2.721419] nouveau 0000:01:00.0: DRM: TMDS table version 2.0 [ 2.721421] nouveau 0000:01:00.0: DRM: DCB version 4.0 [ 2.721422] nouveau 0000:01:00.0: DRM: DCB outp 00: 08800fd6 0f420020 [ 2.721424] nouveau 0000:01:00.0: DRM: DCB outp 01: 08000f92 00020020 [ 2.721425] nouveau 0000:01:00.0: DRM: DCB conn 00: 00001046 [ 2.723196] nouveau 0000:01:00.0: DRM: MM: using COPY for buffer copies [ 2.725211] BUG: kernel NULL pointer dereference, address: 0000000000000020 [ 2.725213] #PF: supervisor read access in kernel mode [ 2.725214] #PF: error_code(0x0000) - not-present page [ 2.725215] PGD 0 P4D 0 [ 2.725217] Oops: 0000 [#1] PREEMPT_RT SMP PTI [ 2.725219] CPU: 3 PID: 203 Comm: systemd-udevd Not tainted 6.1.0-0-rt-amd64 #1 Debian 6.1~rc5-1~exp1 [ 2.725221] Hardware name: Dell Inc. XPS L521X/029M77, BIOS A13 12/07/2012 [ 2.725222] RIP: 0010:nvif_object_mthd+0xba/0x200 [nouveau] [ 2.725298] Code: e0 e5 41 8d 56 20 49 8b 44 24 08 83 fa 17 0f 86 35 01 00 00 4c 39 e0 0f 84 ea 00 00 00 4c 89 63 10 31 c9 48 89 de c6 43 06 ff <48> 8b 78 20 48 8b 40 38 48 8b 40 28 e8 15 d4 1f e6 48 8b 3c 24 4c [ 2.725299] RSP: 0018:ffffb45a8054b708 EFLAGS: 00010246 [ 2.725301] RAX: 0000000000000000 RBX: ffffb45a8054b710 RCX: 0000000000000000 [ 2.725302] RDX: 0000000000000028 RSI: ffffb45a8054b710 RDI: ffffb45a8054b738 [ 2.725303] RBP: 0000000000000000 R08: ffffb45a8054b958 R09: 00000000ffffff8e [ 2.725304] R10: 0000000000000000 R11: 000000000000003f R12: ffff9e0489847508 [ 2.725305] R13: ffffb45a8054b710 R14: 0000000000000008 R15: ffffb45a8054b730 [ 2.725306] FS: 00007f2c9ec40d00(0000) GS:ffff9e07cf2c0000(0000) knlGS:0000000000000000 [ 2.725307] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 2.725308] CR2: 0000000000000020 CR3: 000000010163c002 CR4: 00000000001706e0 [ 2.725310] Call Trace: [ 2.725312] <TASK> [ 2.725315] nvif_conn_hpd_status+0x35/0xe0 [nouveau] [ 2.725386] nouveau_dp_detect+0x2f7/0x470 [nouveau] [ 2.725478] ? migrate_enable+0xde/0x160 [ 2.725482] nouveau_connector_detect+0x9b/0x550 [nouveau] [ 2.725578] drm_helper_probe_detect+0x84/0xb0 [drm_kms_helper] [ 2.725595] drm_helper_probe_single_connector_modes+0x31b/0x550 [drm_kms_helper] [ 2.725608] ? __kmem_cache_alloc_node+0x12c/0x210 [ 2.725612] drm_client_modeset_probe+0x243/0x1660 [drm] [ 2.725647] ? nouveau_cli_init+0x400/0x4a0 [nouveau] [ 2.725738] ? recalibrate_cpu_khz+0x10/0x10 [ 2.725741] ? __pm_runtime_suspend+0x61/0x70 [ 2.725745] __drm_fb_helper_initial_config_and_unlock+0x44/0x530 [drm_kms_helper] [ 2.725759] ? drm_client_init+0x133/0x160 [drm] [ 2.725792] nouveau_fbcon_init+0x159/0x1d0 [nouveau] [ 2.725890] nouveau_drm_device_init+0x1f8/0x7b0 [nouveau] [ 2.725982] ? pci_update_current_state+0x6e/0xa0 [ 2.725986] nouveau_drm_probe+0x128/0x1f0 [nouveau] [ 2.726082] ? rt_spin_unlock+0x13/0x40 [ 2.726086] local_pci_probe+0x41/0x80 [ 2.726090] pci_device_probe+0xc3/0x230 [ 2.726092] really_probe+0xde/0x380 [ 2.726096] ? pm_runtime_barrier+0x50/0x90 [ 2.726098] __driver_probe_device+0x78/0x170 [ 2.726101] driver_probe_device+0x1f/0x90 [ 2.726103] __driver_attach+0xd1/0x1d0 [ 2.726106] ? __device_attach_driver+0x110/0x110 [ 2.726108] bus_for_each_dev+0x87/0xd0 [ 2.726111] bus_add_driver+0x1b1/0x200 [ 2.726113] driver_register+0x89/0xe0 [ 2.726116] ? 0xffffffffc0c5b000 [ 2.726118] do_one_initcall+0x59/0x280 [ 2.726122] do_init_module+0x4a/0x200 [ 2.726125] __do_sys_finit_module+0xac/0x120 [ 2.726129] do_syscall_64+0x3a/0xc0 [ 2.726133] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 2.726136] RIP: 0033:0x7f2c9f3445a9 [ 2.726138] Code: 08 89 e8 5b 5d c3 66 2e 0f 1f 84 00 00 00 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 27 08 0d 00 f7 d8 64 89 01 48 [ 2.726140] RSP: 002b:00007ffe76944e78 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 2.726142] RAX: ffffffffffffffda RBX: 0000564c4da28500 RCX: 00007f2c9f3445a9 [ 2.726143] RDX: 0000000000000000 RSI: 00007f2c9f4d6efd RDI: 0000000000000013 [ 2.726144] RBP: 00007f2c9f4d6efd R08: 0000000000000000 R09: 0000564c4d9fb240 [ 2.726145] R10: 0000000000000013 R11: 0000000000000246 R12: 0000000000020000 [ 2.726145] R13: 0000000000000000 R14: 0000564c4da15a00 R15: 0000564c4c09be50 [ 2.726148] </TASK> [ 2.726148] Modules linked in: i915 nouveau(+) ahci drm_buddy mxm_wmi libahci i2c_algo_bit crct10dif_pclmul crct10dif_common crc32_pclmul drm_display_helper crc32c_intel libata cec sdhci_pci ghash_clmulni_intel rc_core cqhci drm_ttm_helper sha512_ssse3 xhci_pci sha512_generic ttm r8169 ehci_pci aesni_intel xhci_hcd drm_kms_helper scsi_mod realtek sdhci ehci_hcd rtsx_pci_sdmmc i2c_i801 crypto_simd mdio_devres drm usbcore psmouse cryptd libphy mmc_core rtsx_pci lpc_ich i2c_smbus scsi_common usb_common battery video wmi button [ 2.726174] CR2: 0000000000000020 [ 2.726274] ---[ end trace 0000000000000000 ]--- [ 2.726275] RIP: 0010:nvif_object_mthd+0xba/0x200 [nouveau] [ 2.726368] Code: e0 e5 41 8d 56 20 49 8b 44 24 08 83 fa 17 0f 86 35 01 00 00 4c 39 e0 0f 84 ea 00 00 00 4c 89 63 10 31 c9 48 89 de c6 43 06 ff <48> 8b 78 20 48 8b 40 38 48 8b 40 28 e8 15 d4 1f e6 48 8b 3c 24 4c [ 2.726369] RSP: 0018:ffffb45a8054b708 EFLAGS: 00010246 [ 2.726371] RAX: 0000000000000000 RBX: ffffb45a8054b710 RCX: 0000000000000000 [ 2.726372] RDX: 0000000000000028 RSI: ffffb45a8054b710 RDI: ffffb45a8054b738 [ 2.726373] RBP: 0000000000000000 R08: ffffb45a8054b958 R09: 00000000ffffff8e [ 2.726374] R10: 0000000000000000 R11: 000000000000003f R12: ffff9e0489847508 [ 2.726374] R13: ffffb45a8054b710 R14: 0000000000000008 R15: ffffb45a8054b730 [ 2.726375] FS: 00007f2c9ec40d00(0000) GS:ffff9e07cf2c0000(0000) knlGS:0000000000000000 [ 2.726377] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 2.726378] CR2: 0000000000000020 CR3: 000000010163c002 CR4: 00000000001706e0 Regards Mathieu Parent