Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1042753: nouveau: Screen remains black.

23 views
Skip to first unread message

Olaf Skibbe

unread,
Jul 31, 2023, 6:50:05 AM7/31/23
to
Package: src:linux
Version: 6.1.38-2
Severity: important
File: nouveau
X-Debbugs-Cc: ne...@kravcenko.com

Dear Maintainer,

After upgrading to bookworm on a Dell Latitude E6510 with a "NVIDIA Corporation GT218M" graphic card, the screen remains
black. Also switching to a console (Strg-Alt-F2) shows a black screen. Access via ssh is possible. When booting to the old
kernel, the screen works as before.

~# uname -r
6.1.0-10-amd64

From dmesg:

~# dmesg | grep -A 36 "cut here"
[ 3.560151] ------------[ cut here ]------------
[ 3.560153] WARNING: CPU: 0 PID: 176 at drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c:460 nvkm_dp_acquire+0x26a/0x490 [nouveau]
[ 3.560287] Modules linked in: sd_mod t10_pi sr_mod crc64_rocksoft cdrom crc64 crc_t10dif crct10dif_generic nouveau(+) ahci libahci mxm_wmi i2c_algo_bit drm_display_helper libata cec rc_core drm_ttm_helper ttm scsi_mod e1000e drm_kms_helper ptp firewire_ohci sdhci_pci cqhci ehci_pci sdhci ehci_hcd firewire_core i2c_i801 crct10dif_pclmul crct10dif_common drm crc32_pclmul crc32c_intel psmouse usbcore mmc_core crc_itu_t pps_core scsi_common i2c_smbus lpc_ich usb_common battery video wmi button
[ 3.560322] CPU: 0 PID: 176 Comm: kworker/u16:5 Not tainted 6.1.0-10-amd64 #1 Debian 6.1.38-2
[ 3.560325] Hardware name: Dell Inc. Latitude E6510/0N5KHN, BIOS A17 05/12/2017
[ 3.560327] Workqueue: nvkm-disp nv50_disp_super [nouveau]
[ 3.560433] RIP: 0010:nvkm_dp_acquire+0x26a/0x490 [nouveau]
[ 3.560538] Code: 48 8b 44 24 58 65 48 2b 04 25 28 00 00 00 0f 85 37 02 00 00 48 83 c4 60 44 89 e0 5b 5d 41 5c 41 5d 41 5e 41 5f c3 cc cc cc cc <0f> 0b c1 e8 03 41 88 6d 62 44 89 fe 48 89 df 48 69 c0 cf 0d d6 26
[ 3.560541] RSP: 0018:ffff9899c048bd60 EFLAGS: 00010246
[ 3.560542] RAX: 0000000000041eb0 RBX: ffff88e0209d2600 RCX: 0000000000041eb0
[ 3.560544] RDX: ffffffffc079f760 RSI: 0000000000000000 RDI: ffff9899c048bcf0
[ 3.560545] RBP: 0000000000000001 R08: ffff9899c048bc64 R09: 0000000000005b76
[ 3.560546] R10: 000000000000000d R11: ffff9899c048bde0 R12: 00000000ffffffea
[ 3.560548] R13: ffff88e00b39e480 R14: 0000000000044d45 R15: 0000000000000000
[ 3.560549] FS: 0000000000000000(0000) GS:ffff88e123c00000(0000) knlGS:0000000000000000
[ 3.560551] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 3.560552] CR2: 00007f57f4e90451 CR3: 0000000181410000 CR4: 00000000000006f0
[ 3.560554] Call Trace:
[ 3.560558] <TASK>
[ 3.560560] ? __warn+0x7d/0xc0
[ 3.560566] ? nvkm_dp_acquire+0x26a/0x490 [nouveau]
[ 3.560671] ? report_bug+0xe6/0x170
[ 3.560675] ? handle_bug+0x41/0x70
[ 3.560679] ? exc_invalid_op+0x13/0x60
[ 3.560681] ? asm_exc_invalid_op+0x16/0x20
[ 3.560685] ? init_reset_begun+0x20/0x20 [nouveau]
[ 3.560769] ? nvkm_dp_acquire+0x26a/0x490 [nouveau]
[ 3.560888] nv50_disp_super_2_2+0x70/0x430 [nouveau]
[ 3.560997] nv50_disp_super+0x113/0x210 [nouveau]
[ 3.561103] process_one_work+0x1c7/0x380
[ 3.561109] worker_thread+0x4d/0x380
[ 3.561113] ? rescuer_thread+0x3a0/0x3a0
[ 3.561116] kthread+0xe9/0x110
[ 3.561120] ? kthread_complete_and_exit+0x20/0x20
[ 3.561122] ret_from_fork+0x22/0x30
[ 3.561130] </TASK>
[ 3.561131] ---[ end trace 0000000000000000 ]---

Cheers,
Olaf


-- Package-specific info:
** Version:
Linux version 6.1.0-10-amd64 (debian...@lists.debian.org) (gcc-12 (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT_DYNAMIC Debian 6.1.38-2 (2023-07-27)

** Command line:
BOOT_IMAGE=/boot/vmlinuz-6.1.0-10-amd64 root=UUID=2024bc00-f8a8-4d97-a79d-f7840ae196e5 ro quiet

** Tainted: W (512)
* kernel issued warning

** Kernel log:
Unable to read kernel log; any relevant messages should be attached

** Model information
sys_vendor: Dell Inc.
product_name: Latitude E6510
product_version: 0001
chassis_vendor: Dell Inc.
chassis_version:
bios_vendor: Dell Inc.
bios_version: A17
board_vendor: Dell Inc.
board_name: 0N5KHN
board_version: A02

** Loaded modules:
ctr
ccm
snd_seq_dummy
snd_hrtimer
snd_seq
snd_seq_device
bnep
btusb
btrtl
btbcm
btintel
btmtk
bluetooth
jitterentropy_rng
drbg
ansi_cprng
ecdh_generic
ecc
uvcvideo
videobuf2_vmalloc
videobuf2_memops
videobuf2_v4l2
videobuf2_common
videodev
mc
qrtr
intel_powerclamp
coretemp
kvm_intel
kvm
irqbypass
ghash_clmulni_intel
sha512_ssse3
sha512_generic
binfmt_misc
iwldvm
snd_hda_codec_idt
mac80211
snd_hda_codec_generic
snd_hda_codec_hdmi
snd_hda_intel
libarc4
dell_rbtn
aesni_intel
crypto_simd
snd_intel_dspcfg
cryptd
snd_intel_sdw_acpi
dell_laptop
pcmcia
ledtrig_audio
snd_hda_codec
iwlwifi
dell_wmi
snd_hda_core
dell_smm_hwmon
snd_hwdep
sparse_keymap
intel_cstate
intel_uncore
cfg80211
snd_pcm
yenta_socket
iTCO_wdt
dell_smbios
dcdbas
intel_pmc_bxt
wmi_bmof
dell_wmi_descriptor
at24
snd_timer
pcmcia_rsrc
iTCO_vendor_support
pcspkr
rfkill
pcmcia_core
watchdog
snd
soundcore
dell_smo8800
ac
acpi_cpufreq
joydev
evdev
serio_raw
sg
firewire_sbp2
parport_pc
ppdev
lp
parport
fuse
dm_mod
efi_pstore
loop
configfs
ip_tables
x_tables
autofs4
ext4
crc16
mbcache
jbd2
crc32c_generic
sd_mod
t10_pi
sr_mod
crc64_rocksoft
cdrom
crc64
crc_t10dif
crct10dif_generic
nouveau
ahci
libahci
mxm_wmi
i2c_algo_bit
drm_display_helper
libata
cec
rc_core
drm_ttm_helper
ttm
scsi_mod
e1000e
drm_kms_helper
ptp
firewire_ohci
sdhci_pci
cqhci
ehci_pci
sdhci
ehci_hcd
firewire_core
i2c_i801
crct10dif_pclmul
crct10dif_common
drm
crc32_pclmul
crc32c_intel
psmouse
usbcore
mmc_core
crc_itu_t
pps_core
scsi_common
i2c_smbus
lpc_ich
usb_common
battery
video
wmi
button

** Network interface configuration:
*** /etc/network/interfaces:

source /etc/network/interfaces.d/*

auto lo
iface lo inet loopback

** Network status:
*** IP interfaces and addresses:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host noprefixroute
valid_lft forever preferred_lft forever
2: eno1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
link/ether 00:26:b9:eb:e5:49 brd ff:ff:ff:ff:ff:ff
altname enp0s25
3: wlp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 00:23:14:e9:4f:20 brd ff:ff:ff:ff:ff:ff
inet 192.168.178.29/24 brd 192.168.178.255 scope global dynamic noprefixroute wlp3s0
valid_lft 863163sec preferred_lft 863163sec
inet6 fe80::7f1e:3912:ea09:e52f/64 scope link noprefixroute
valid_lft forever preferred_lft forever

*** Device statistics:
Inter-| Receive | Transmit
face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed
lo: 8774 100 0 0 0 0 0 0 8774 100 0 0 0 0 0 0
eno1: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
wlp3s0: 792178 3326 0 841 0 0 0 0 486117 1767 0 0 0 0 0 0


** PCI devices:
00:00.0 Host bridge [0600]: Intel Corporation Core Processor DRAM Controller [8086:0044] (rev 02)
Subsystem: Dell Core Processor DRAM Controller [1028:040b]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR- INTx-
Latency: 0
Capabilities: <access denied>

00:01.0 PCI bridge [0604]: Intel Corporation Core Processor PCI Express x16 Root Port [8086:0045] (rev 02) (prog-if 00 [Normal decode])
Subsystem: Dell Core Processor PCI Express x16 Root Port [1028:040b]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 24
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 7000-7fff [size=4K] [16-bit]
Memory behind bridge: d0000000-e30fffff [size=305M] [32-bit]
Prefetchable memory behind bridge: [disabled] [64-bit]
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
BridgeCtl: Parity- SERR+ NoISA- VGA+ VGA16- MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: <access denied>
Kernel driver in use: pcieport

00:19.0 Ethernet controller [0200]: Intel Corporation 82577LM Gigabit Network Connection [8086:10ea] (rev 05)
DeviceName: Onboard LAN
Subsystem: Dell Latitude E6510 [1028:040b]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 25
Region 0: Memory at e9600000 (32-bit, non-prefetchable) [size=128K]
Region 1: Memory at e9680000 (32-bit, non-prefetchable) [size=4K]
Region 2: I/O ports at 8040 [size=32]
Capabilities: <access denied>
Kernel driver in use: e1000e
Kernel modules: e1000e

00:1a.0 USB controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller [8086:3b3c] (rev 05) (prog-if 20 [EHCI])
Subsystem: Dell Latitude E6510 [1028:040b]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 16
Region 0: Memory at e9670000 (32-bit, non-prefetchable) [size=1K]
Capabilities: <access denied>
Kernel driver in use: ehci-pci
Kernel modules: ehci_pci

00:1b.0 Audio device [0403]: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio [8086:3b56] (rev 05)
Subsystem: Dell Latitude E6510 [1028:040b]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 29
Region 0: Memory at e9660000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel

00:1c.0 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 [8086:3b42] (rev 05) (prog-if 00 [Normal decode])
Subsystem: Dell Latitude E6510 [1028:040b]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 16
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
I/O behind bridge: 6000-6fff [size=4K] [16-bit]
Memory behind bridge: e8200000-e95fffff [size=20M] [32-bit]
Prefetchable memory behind bridge: e9700000-e98fffff [size=2M] [32-bit]
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
BridgeCtl: Parity- SERR+ NoISA- VGA- VGA16- MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: <access denied>
Kernel driver in use: pcieport

00:1c.1 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 [8086:3b44] (rev 05) (prog-if 00 [Normal decode])
Subsystem: Dell Latitude E6510 [1028:040b]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin B routed to IRQ 17
Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
I/O behind bridge: 5000-5fff [size=4K] [16-bit]
Memory behind bridge: e6e00000-e81fffff [size=20M] [32-bit]
Prefetchable memory behind bridge: e9900000-e9afffff [size=2M] [32-bit]
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
BridgeCtl: Parity- SERR+ NoISA- VGA- VGA16- MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: <access denied>
Kernel driver in use: pcieport

00:1c.2 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 3 [8086:3b46] (rev 05) (prog-if 00 [Normal decode])
Subsystem: Dell Latitude E6510 [1028:040b]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin C routed to IRQ 18
Bus: primary=00, secondary=04, subordinate=05, sec-latency=0
I/O behind bridge: 2000-3fff [size=8K] [16-bit]
Memory behind bridge: e3100000-e59fffff [size=41M] [32-bit]
Prefetchable memory behind bridge: e9b00000-e9cfffff [size=2M] [32-bit]
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
BridgeCtl: Parity- SERR+ NoISA- VGA- VGA16- MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: <access denied>
Kernel driver in use: pcieport

00:1c.3 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 4 [8086:3b48] (rev 05) (prog-if 00 [Normal decode])
Subsystem: Dell Latitude E6510 [1028:040b]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin D routed to IRQ 19
Bus: primary=00, secondary=06, subordinate=0b, sec-latency=0
I/O behind bridge: 4000-4fff [size=4K] [16-bit]
Memory behind bridge: e5a00000-e6dfffff [size=20M] [32-bit]
Prefetchable memory behind bridge: e9d00000-e9efffff [size=2M] [32-bit]
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
BridgeCtl: Parity- SERR+ NoISA- VGA- VGA16- MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: <access denied>
Kernel driver in use: pcieport

00:1d.0 USB controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller [8086:3b34] (rev 05) (prog-if 20 [EHCI])
Subsystem: Dell Latitude E6510 [1028:040b]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 17
Region 0: Memory at e9650000 (32-bit, non-prefetchable) [size=1K]
Capabilities: <access denied>
Kernel driver in use: ehci-pci
Kernel modules: ehci_pci

00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev a5) (prog-if 01 [Subtractive decode])
Subsystem: Dell Latitude E6510 [1028:040b]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Bus: primary=00, secondary=0c, subordinate=0c, sec-latency=0
I/O behind bridge: [disabled] [16-bit]
Memory behind bridge: [disabled] [32-bit]
Prefetchable memory behind bridge: [disabled] [64-bit]
Secondary status: 66MHz- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
BridgeCtl: Parity- SERR+ NoISA- VGA- VGA16- MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: <access denied>

00:1f.0 ISA bridge [0601]: Intel Corporation QM57 Chipset LPC Interface Controller [8086:3b07] (rev 05)
Subsystem: Dell Latitude E6510 [1028:040b]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Capabilities: <access denied>
Kernel driver in use: lpc_ich
Kernel modules: lpc_ich

00:1f.2 RAID bus controller [0104]: Intel Corporation 82801 Mobile SATA Controller [RAID mode] [8086:282a] (rev 05)
Subsystem: Dell Latitude E6510 [1028:040b]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin B routed to IRQ 26
Region 0: I/O ports at 8090 [size=8]
Region 1: I/O ports at 8080 [size=4]
Region 2: I/O ports at 8070 [size=8]
Region 3: I/O ports at 8060 [size=4]
Region 4: I/O ports at 8020 [size=32]
Region 5: Memory at e9640000 (32-bit, non-prefetchable) [size=2K]
Capabilities: <access denied>
Kernel driver in use: ahci
Kernel modules: ahci

00:1f.3 SMBus [0c05]: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller [8086:3b30] (rev 05)
Subsystem: Dell Latitude E6510 [1028:040b]
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Interrupt: pin C routed to IRQ 18
Region 0: Memory at e9630000 (64-bit, non-prefetchable) [size=256]
Region 4: I/O ports at 8000 [size=32]
Kernel driver in use: i801_smbus
Kernel modules: i2c_i801

00:1f.6 Signal processing controller [1180]: Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem [8086:3b32] (rev 05)
Subsystem: Dell 5 Series/3400 Series Chipset Thermal Subsystem [1028:040b]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin C routed to IRQ 5
Region 0: Memory at e9620000 (64-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel modules: intel_ips

01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GT218M [NVS 3100M] [10de:0a6c] (rev a2) (prog-if 00 [VGA controller])
Subsystem: Dell Latitude E6510 [1028:040b]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 27
Region 0: Memory at e2000000 (32-bit, non-prefetchable) [size=16M]
Region 1: Memory at d0000000 (64-bit, prefetchable) [size=256M]
Region 3: Memory at e0000000 (64-bit, prefetchable) [size=32M]
Region 5: I/O ports at 7000 [size=128]
Expansion ROM at 000c0000 [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: nouveau
Kernel modules: nouveau

01:00.1 Audio device [0403]: NVIDIA Corporation High Definition Audio Controller [10de:0be3] (rev a1)
Subsystem: Dell Latitude E6510 [1028:040b]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 16
Region 0: Memory at e3080000 (32-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel

03:00.0 Network controller [0280]: Intel Corporation Centrino Advanced-N 6200 [8086:422c] (rev 35)
Subsystem: Intel Corporation Centrino Advanced-N 6200 2x2 AGN [8086:1321]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 28
Region 0: Memory at e6e00000 (64-bit, non-prefetchable) [size=8K]
Capabilities: <access denied>
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi

04:00.0 CardBus bridge [0607]: Ricoh Co Ltd CardBus bridge [1180:e476] (rev 02)
Subsystem: Dell Latitude E6510 [1028:040b]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 18
Region 0: Memory at e5940000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=04, secondary=05, subordinate=05, sec-latency=176
Memory window 0: e3100000-e44fffff (prefetchable)
Memory window 1: e4800000-e4bfffff
I/O window 0: 00002000-00003fff
I/O window 1: 00000000-00000003
BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset- 16bInt+ PostWrite+
16-bit legacy interface ports at 0001
Capabilities: <access denied>
Kernel driver in use: yenta_cardbus
Kernel modules: yenta_socket

04:00.1 SD Host controller [0805]: Ricoh Co Ltd MMC/SD Host Controller [1180:e822] (rev 03) (prog-if 01)
Subsystem: Dell Latitude E6510 [1028:040b]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin B routed to IRQ 19
Region 0: Memory at e5930000 (32-bit, non-prefetchable) [size=256]
Capabilities: <access denied>
Kernel driver in use: sdhci-pci
Kernel modules: sdhci_pci

04:00.4 FireWire (IEEE 1394) [0c00]: Ricoh Co Ltd R5C832 PCIe IEEE 1394 Controller [1180:e832] (rev 03) (prog-if 10 [OHCI])
Subsystem: Dell Latitude E6510 [1028:040b]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin C routed to IRQ 16
Region 0: Memory at e5900000 (32-bit, non-prefetchable) [size=2K]
Capabilities: <access denied>
Kernel driver in use: firewire_ohci
Kernel modules: firewire_ohci

3f:00.0 Host bridge [0600]: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers [8086:2c62] (rev 02)
Subsystem: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers [8086:8086]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0

3f:00.1 Host bridge [0600]: Intel Corporation Core Processor QuickPath Architecture System Address Decoder [8086:2d01] (rev 02)
Subsystem: Intel Corporation Core Processor QuickPath Architecture System Address Decoder [8086:8086]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0

3f:02.0 Host bridge [0600]: Intel Corporation Core Processor QPI Link 0 [8086:2d10] (rev 02)
Subsystem: Intel Corporation Core Processor QPI Link 0 [8086:8086]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0

3f:02.1 Host bridge [0600]: Intel Corporation 1st Generation Core i3/5/7 Processor QPI Physical 0 [8086:2d11] (rev 02)
Subsystem: Intel Corporation 1st Generation Core i3/5/7 Processor QPI Physical 0 [8086:8086]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0

3f:02.2 Host bridge [0600]: Intel Corporation 1st Generation Core i3/5/7 Processor Reserved [8086:2d12] (rev 02)
Subsystem: Intel Corporation 1st Generation Core i3/5/7 Processor Reserved [8086:8086]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0

3f:02.3 Host bridge [0600]: Intel Corporation 1st Generation Core i3/5/7 Processor Reserved [8086:2d13] (rev 02)
Subsystem: Intel Corporation 1st Generation Core i3/5/7 Processor Reserved [8086:8086]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0


** USB devices:
Bus 002 Device 004: ID 0a5c:5800 Broadcom Corp. BCM5880 Secure Applications Processor
Bus 002 Device 003: ID 413c:8187 Dell Computer Corp. DW375 Bluetooth Module
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 05ca:1814 Ricoh Co., Ltd HD Webcam
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


-- System Information:
Debian Release: 12.1
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'proposed-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-10-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages linux-image-6.1.0-10-amd64 depends on:
ii initramfs-tools [linux-initramfs-tool] 0.142
ii kmod 30+20221128-1
ii linux-base 4.9

Versions of packages linux-image-6.1.0-10-amd64 recommends:
ii apparmor 3.0.8-3
ii firmware-linux-free 20200122-1

Versions of packages linux-image-6.1.0-10-amd64 suggests:
pn debian-kernel-handbook <none>
ii grub-pc 2.06-13
pn linux-doc-6.1 <none>

Versions of packages linux-image-6.1.0-10-amd64 is related to:
pn firmware-amd-graphics <none>
pn firmware-atheros <none>
pn firmware-bnx2 <none>
pn firmware-bnx2x <none>
pn firmware-brcm80211 <none>
pn firmware-cavium <none>
pn firmware-intel-sound <none>
pn firmware-intelwimax <none>
pn firmware-ipw2x00 <none>
pn firmware-ivtv <none>
ii firmware-iwlwifi 20230210-5
pn firmware-libertas <none>
pn firmware-linux-nonfree <none>
ii firmware-misc-nonfree 20230210-5
pn firmware-myricom <none>
pn firmware-netxen <none>
pn firmware-qlogic <none>
pn firmware-realtek <none>
pn firmware-samsung <none>
pn firmware-siano <none>
pn firmware-ti-connectivity <none>
pn xen-hypervisor <none>

-- no debconf information

Debian Bug Tracking System

unread,
Jul 31, 2023, 7:20:49 AM7/31/23
to
Processing control commands:

> tag -1 moreinfo
Bug #1042753 [src:linux] nouveau: Screen remains black.
Added tag(s) moreinfo.

--
1042753: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1042753
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems

Diederik de Haas

unread,
Jul 31, 2023, 7:20:50 AM7/31/23
to
Control: tag -1 moreinfo

On Monday, 31 July 2023 12:44:07 CEST Olaf Skibbe wrote:
> Package: src:linux
> Version: 6.1.38-2
> Severity: important
> File: nouveau
>
> After upgrading to bookworm on a Dell Latitude E6510 with a "NVIDIA
> Corporation GT218M" graphic card, the screen remains black. Also switching
> to a console (Strg-Alt-F2) shows a black screen. Access via ssh is
> possible. When booting to the old kernel, the screen works as before.

The old kernel is 5.10.X?

On https://snapshot.debian.org/binary/linux-image-amd64/ you can find a whole
bunch of older 6.1 kernels. Can you try to see if one of them does work?
If there is a 6.1 kernel that does work, then it helps if you can find the
latest 6.1 kernel which works and (thus) the first kernel version where it
stopped working.
signature.asc

Olaf Skibbe

unread,
Jul 31, 2023, 12:40:03 PM7/31/23
to
On Mon, 31 Jul 2023 at 13:09, Diederik de Haas wrote:

> On Monday, 31 July 2023 12:44:07 CEST Olaf Skibbe wrote:

>> After upgrading to bookworm on a Dell Latitude E6510 with a "NVIDIA
>> Corporation GT218M" graphic card, the screen remains black. Also
>> switching to a console (Strg-Alt-F2) shows a black screen. Access via
>> ssh is possible. When booting to the old kernel, the screen works as
>> before.
>
> The old kernel is 5.10.X?

Yes, the kernel referred to as "old" is 5.10.x.

> On https://snapshot.debian.org/binary/linux-image-amd64/ you can find
> a whole bunch of older 6.1 kernels. Can you try to see if one of them
> does work? If there is a 6.1 kernel that does work, then it helps if
> you can find the latest 6.1 kernel which works and (thus) the first
> kernel version where it stopped working.

I installed 6.1.0-9-amd64 now from the standard repositories and
graphics works. Hope this is sufficient to narrow it down, otherwise I'd
test more kernels. (Would there be a simple way to add the snapshots to
the repositories?)

Thanks for taking care.

Cheers,
Olaf

Diederik de Haas

unread,
Jul 31, 2023, 2:40:04 PM7/31/23
to
On Monday, 31 July 2023 18:20:12 CEST Olaf Skibbe wrote:
> > If there is a 6.1 kernel that does work, then it helps if you can find the
> > latest 6.1 kernel which works and (thus) the first kernel version where it
> > stopped working.
>
> I installed 6.1.0-9-amd64 now from the standard repositories and
> graphics works. Hope this is sufficient to narrow it down

Yep, now we know it's a regression between 6.1.27-1 and 6.1.38-2.

https://wiki.debian.org/DebianKernel/GitBisect describes the best way as it
would identify the exact (upstream) commit which introduced the problem.
If you can do that, great.

If not, we can try to make an educated guess
me@pc:~/dev/kernel.org/linux$ git log --oneline v6.1.27..v6.1.38 -- drivers/gpu/drm/nouveau/
62aecf23f3d1 drm/nouveau: add nv_encoder pointer check for NULL
fb725beca62d drm/nouveau/dp: check for NULL nv_connector->native_mode
90748be0f4f3 drm/nouveau: don't detect DSM for non-NVIDIA device
5a144bad3e75 nouveau: fix client work fence deletion race

This is the list of commits to the nouveau driver between those versions.
I've attached 4 patches created with `git revert <commit-id>`

https://kernel-team.pages.debian.net/kernel-handbook/ch-common-tasks.html#id-1.6.6.4
describes a procedure for "Simple patching and building" and the idea is to
pass these 4 patches as argument to `test-patches`.
The idea is to build a new 6.1.38 kernel, but with the 4 above mentioned
commits reverted and then boot into your new kernel and see if that resolves
the issue (too). If that's the case, then it's 1 of those 4 commits that's
causing the problem. Ideally that would be reduced to 1 specific patch, but
there isn't one that jumps out for me.

@Ben/Salvatore (=actual Debian kernel maintainers):
Did I describe it correctly? And does `test-patches` need to be run when
booted into the 6.1.38 kernel or does that not matter?
Does 1 of those 4 patches/commits stand out for you as the most likely cause?

Cheers,
Diederik
0001-Revert-drm-nouveau-add-nv_encoder-pointer-check-for-.patch
0002-Revert-drm-nouveau-dp-check-for-NULL-nv_connector-na.patch
0003-Revert-drm-nouveau-don-t-detect-DSM-for-non-NVIDIA-d.patch
0004-Revert-nouveau-fix-client-work-fence-deletion-race.patch
signature.asc

Olaf Skibbe

unread,
Jul 31, 2023, 4:00:04 PM7/31/23
to
On Mon, 31 Jul 2023 at 20:28, Diederik de Haas wrote:

> On Monday, 31 July 2023 18:20:12 CEST Olaf Skibbe wrote:
>
>> I installed 6.1.0-9-amd64 now from the standard repositories and
>> graphics works. Hope this is sufficient to narrow it down
>
> Yep, now we know it's a regression between 6.1.27-1 and 6.1.38-2.
>
> https://wiki.debian.org/DebianKernel/GitBisect describes the best way as it
> would identify the exact (upstream) commit which introduced the problem.
> If you can do that, great.

I'd love to contribute here, but I am afraid this would be a bit beyond
my capabilities. I now have only remote access to the computer in
question (I have to ask somebody to verify whether the display is
working) and I am not very experienced. Sorry.

Cheers,
Olaf

Diederik de Haas

unread,
Jul 31, 2023, 4:50:03 PM7/31/23
to
On Monday, 31 July 2023 21:52:44 CEST Olaf Skibbe wrote:
> > Yep, now we know it's a regression between 6.1.27-1 and 6.1.38-2.
> >
> > https://wiki.debian.org/DebianKernel/GitBisect describes the best way as
> > it would identify the exact (upstream) commit which introduced the
> > problem. If you can do that, great.
>
> I'd love to contribute here, but I am afraid this would be a bit beyond
> my capabilities. I now have only remote access to the computer in
> question (I have to ask somebody to verify whether the display is
> working) and I am not very experienced. Sorry.

That's ok, I (kind of) expected that a `git bisect` would be too difficult.

That's why I also described a simpler procedure which is specifically meant for
people who aren't experienced. It will result in a new kernel being build, but
all the complexity should be hidden for you.
It probably sounds daunting/scary, but it shouldn't be.

There is a subsequent step, but that is (far) more likely to succeed if we'd
have more detailed data which the above procedure would provide.
So it would be great if you could try it.
If it turns out to be too difficult, don't worry about it :-)

Cheers,
Diederik
signature.asc

Olaf Skibbe

unread,
Aug 1, 2023, 6:31:54 PM8/1/23
to
Finally I managed to compile the kernel via

debian/bin/test-patches ../0001-Revert-drm-nouveau-add-nv_encoder-pointer-check-for-.patch ../0002-Revert-drm-nouveau-dp-check-for-NULL-nv_connector-na.patch ../0003-Revert-drm-nouveau-don-t-detect-DSM-for-non-NVIDIA-d.patch ../0004-Revert-nouveau-fix-client-work-fence-deletion-race.patch

(apparently successfully, but it took several hours). But now I am a
little clueless: how do I install this kernel? Any hint?

Cheers,
Olaf

Diederik de Haas

unread,
Aug 1, 2023, 7:20:03 PM8/1/23
to
On Wednesday, 2 August 2023 00:23:16 CEST Olaf Skibbe wrote:
> Finally I managed to compile the kernel via
>
> debian/bin/test-patches
> ../0001-Revert-drm-nouveau-add-nv_encoder-pointer-check-for-.patch
> ../0002-Revert-drm-nouveau-dp-check-for-NULL-nv_connector-na.patch
> ../0003-Revert-drm-nouveau-don-t-detect-DSM-for-non-NVIDIA-d.patch
> ../0004-Revert-nouveau-fix-client-work-fence-deletion-race.patch
>
> (apparently successfully, but it took several hours).

Awesome \o/
Depending on the speed of the machine, it can indeed take several hours.

> But now I am a little clueless: how do I install this kernel? Any hint?

It should have produced one or more .deb files and you can install a .deb file
like this: `apt install ./<name-of-debfile>.deb`
If you share the output of `ls -lh *.deb` (and/or `ls -lh ../*.deb`) then I
can probably give you more precise instructions.

Cheers,
Diederik
signature.asc

Olaf Skibbe

unread,
Aug 2, 2023, 12:30:04 PM8/2/23
to
Sorry, my fault. I searched for .deb files in the subdirectory when I
thought I searched the home directory. I am familiar with installing a
.deb file.

So we have:

~/Patches$ l *.deb
-rw-r--r-- 1 olaf olaf 647K 2. Aug 00:02 linux-compiler-gcc-12-x86_6.1.38-2a~test_amd64.deb
-rw-r--r-- 1 olaf olaf 1,2M 1. Aug 23:59 linux-headers-6.1.0-0.a.test-amd64_6.1.38-2a~test_amd64.deb
-rw-r--r-- 1 olaf olaf 9,4M 1. Aug 21:34 linux-headers-6.1.0-0.a.test-common_6.1.38-2a~test_all.deb
-rw-r--r-- 1 olaf olaf 7,8M 1. Aug 21:34 linux-headers-6.1.0-0.a.test-common-rt_6.1.38-2a~test_all.deb
-rw-r--r-- 1 olaf olaf 56M 2. Aug 00:01 linux-image-6.1.0-0.a.test-amd64-unsigned_6.1.38-2a~test_amd64.deb
-rw-r--r-- 1 olaf olaf 1,2M 2. Aug 00:02 linux-image-amd64-signed-template_6.1.38-2a~test_amd64.deb
-rw-r--r-- 1 olaf olaf 898K 2. Aug 00:01 linux-kbuild-6.1_6.1.38-2a~test_amd64.deb
-rw-r--r-- 1 olaf olaf 1001K 2. Aug 00:01 linux-kbuild-6.1-dbgsym_6.1.38-2a~test_amd64.deb
-rw-r--r-- 1 olaf olaf 1,8M 2. Aug 00:02 linux-libc-dev_6.1.38-2a~test_amd64.deb
-rw-r--r-- 1 olaf olaf 694K 1. Aug 21:34 linux-support-6.1.0-0.a.test_6.1.38-2a~test_all.deb

I gave it a shot and ran

# apt install /home/olaf/Patches/*.deb

Result:

# aptitude search linux-image | grep ^i
i linux-image-6.1.0-0.a.test-amd64-unsigned - Linux 6.1 for 64-bit PCs
i A linux-image-6.1.0-10-amd64 - Linux 6.1 for 64-bit PCs (signed)
i linux-image-6.1.0-9-amd64 - Linux 6.1 for 64-bit PCs (signed)
i linux-image-amd64 - Linux für 64-Bit-PCs (Metapaket)
i linux-image-amd64-signed-template - Template for signed linux-image packages for amd64

Booted in the new kernel.

# uname -r
6.1.0-0.a.test-amd64

Graphics works now.

I guess I am supposed to build some more kernels with subsets of
patches? Any hint where to start?

Cheers,
Olaf

Diederik de Haas

unread,
Aug 2, 2023, 1:40:05 PM8/2/23
to
On Wednesday, 2 August 2023 18:26:32 CEST Olaf Skibbe wrote:
> I gave it a shot and ran
>
> # apt install /home/olaf/Patches/*.deb

Just linux-image-6.1.0-0.a.test-amd64-unsigned_6.1.38-2a~test_amd64.deb
would've been enough, but this works too ;-)

> Result: Booted in the new kernel.
>
> # uname -r
> 6.1.0-0.a.test-amd64
>
> Graphics works now.

This is fantastic \o/

> I guess I am supposed to build some more kernels with subsets of
> patches? Any hint where to start?

I looked at them, but there wasn't one that stood out for me.
You could try them one by one, but that'll take quite a while.

So I suggest we move on the the next step/phase: contact the upstream
developers, who are also the ones who'd make the actual fix.

So I want to ask you to write an email and send that:
To: dri-...@lists.freedesktop.org
To: nou...@lists.freedesktop.org
CC: 104...@bugs.debian.org (optionally)

And then 'paste' in the text of your initial bug report until this part:
[ 3.561131] ---[ end trace 0000000000000000 ]---
I suggest to also include the output of
`lspci -v -s $(lspci | grep -i vga | awk '{ print $1 }')

Tell them that you found out that it was a regression between upstream kernel
version 6.1.27 and 6.1.38.

Then explain that you build a new 6.1.38 kernel with these commits reverted:
62aecf23f3d1 drm/nouveau: add nv_encoder pointer check for NULL
fb725beca62d drm/nouveau/dp: check for NULL nv_connector->native_mode
90748be0f4f3 drm/nouveau: don't detect DSM for non-NVIDIA device
5a144bad3e75 nouveau: fix client work fence deletion race

And that that made graphics work again.
Referencing https://bugs.debian.org/1042753 for full context may also be
useful.

They may ask you to only revert a specific commit as they should be able to
make a proper guess. Or they already know by the context.
With a bit of luck they'll also ask you to try a potential fix. They should be
able to provide such a fix/patch as one which cleanly applies to 6.1.38.
Or otherwise I can probably help with that.

And you can pass that patch (file) as argument to the `test-patches` script :-)

If you have any questions, feel free to ask them.

Cheers,
Diederik
signature.asc

Olaf Skibbe

unread,
Aug 2, 2023, 5:40:04 PM8/2/23
to
Dear Maintainers,

Hereby I would like to report an apparent bug in the nouveau driver in
linux/6.1.38-2.

Running a current debian stable on a Dell Latitude E6510 with a
"NVIDIA Corporation GT218M" graphic card, the monitor turns black
after the grub screen. Also switching to a console (Strg-Alt-F2) shows
just a black screen. Access via ssh is possible.

~# uname -r
6.1.0-10-amd64

demesg shows the following error message:
Further information:

$ lspci -v -s $(lspci | grep -i vga | awk '{ print $1 }')
01:00.0 VGA compatible controller: NVIDIA Corporation GT218M [NVS 3100M] (rev a2) (prog-if 00 [VGA controller])
Subsystem: Dell Latitude E6510
Flags: bus master, fast devsel, latency 0, IRQ 27
Memory at e2000000 (32-bit, non-prefetchable) [size=16M]
Memory at d0000000 (64-bit, prefetchable) [size=256M]
Memory at e0000000 (64-bit, prefetchable) [size=32M]
I/O ports at 7000 [size=128]
Expansion ROM at 000c0000 [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: nouveau
Kernel modules: nouveau

I reported this bug to debian already, see
https://bugs.debian.org/1042753 for context.

With support (thanks Diederik!) I managed to figure out that the cause
was a regression between upstream kernel version 6.1.27 and 6.1.38.

I build a new 6.1.38 kernel with these commits reverted:

62aecf23f3d1 drm/nouveau: add nv_encoder pointer check for NULL
fb725beca62d drm/nouveau/dp: check for NULL nv_connector->native_mode
90748be0f4f3 drm/nouveau: don't detect DSM for non-NVIDIA device
5a144bad3e75 nouveau: fix client work fence deletion race

With that kernel the graphic works again.

Please inform me if further tests are required.

Cheers,
Olaf

Karol Herbst

unread,
Aug 4, 2023, 8:30:04 AM8/4/23
to
On Fri, Aug 4, 2023 at 2:02 PM Thorsten Leemhuis
<regre...@leemhuis.info> wrote:
>
> Hi!
>
> On 02.08.23 23:28, Olaf Skibbe wrote:
> > Dear Maintainers,
> >
> > Hereby I would like to report an apparent bug in the nouveau driver in
> > linux/6.1.38-2.
>
> Thx for your report. Maybe your problem is caused by a incomplete
> backport. I Cced the maintainers for the drivers (and the regressions
> and the stable list), maybe one of them has an idea, as they know the
> driver.
>
> If they don't reply in the next few days, please check if the problem is
> also present in mainline. If not, check if the latest 6.1.y. release
> already fixes this. If not, try to check which of the four patches you
> reverted to make things going is actually causing this (e.g. first only
> revert the one that was applied last; then the two last ones; ...).
>
> > Running a current debian stable on a Dell Latitude E6510 with a
> > "NVIDIA Corporation GT218M" graphic card, the monitor turns black
> > after the grub screen. Also switching to a console (Strg-Alt-F2) shows
> > just a black screen. Access via ssh is possible.
> >
> > ~# uname -r
> > 6.1.0-10-amd64
> >
> > demesg shows the following error message:
> >
> > Further information:
> >
> > $ lspci -v -s $(lspci | grep -i vga | awk '{ print $1 }')
> > 01:00.0 VGA compatible controller: NVIDIA Corporation GT218M [NVS 3100M]
> > (rev a2) (prog-if 00 [VGA controller])
> > Subsystem: Dell Latitude E6510
> > Flags: bus master, fast devsel, latency 0, IRQ 27
> > Memory at e2000000 (32-bit, non-prefetchable) [size=16M]
> > Memory at d0000000 (64-bit, prefetchable) [size=256M]
> > Memory at e0000000 (64-bit, prefetchable) [size=32M]
> > I/O ports at 7000 [size=128]
> > Expansion ROM at 000c0000 [disabled] [size=128K]
> > Capabilities: <access denied>
> > Kernel driver in use: nouveau
> > Kernel modules: nouveau
> >
> > I reported this bug to debian already, see
> > https://bugs.debian.org/1042753 for context.
> >
> > With support (thanks Diederik!) I managed to figure out that the cause
> > was a regression between upstream kernel version 6.1.27 and 6.1.38.
> >
> > I build a new 6.1.38 kernel with these commits reverted:
> >
> > 62aecf23f3d1 drm/nouveau: add nv_encoder pointer check for NULL
> > fb725beca62d drm/nouveau/dp: check for NULL nv_connector->native_mode
> > 90748be0f4f3 drm/nouveau: don't detect DSM for non-NVIDIA device
> > 5a144bad3e75 nouveau: fix client work fence deletion race
> >

mind retrying with only fb725beca62d and 62aecf23f3d1 reverted? Would
be weird if the other two commits are causing it. If that's the case,
it's a bit worrying that reverting either of the those causes issues,
but maybe there is a good reason for it. Anyway, mind figuring out
which of the two you need reverted to fix your issue? Thanks!

> > With that kernel the graphic works again.
> >
> > Please inform me if further tests are required.
>
> FWIW, to be sure the issue doesn't fall through the cracks unnoticed,
> I'm adding it to regzbot, the Linux kernel regression tracking bot:
>
> #regzbot ^introduced v6.1.27..v6.1.38
> #regzbot title drm/nouveau: display stays black
> #regzbot ignore-activity
>
> This isn't a regression? This issue or a fix for it are already
> discussed somewhere else? It was fixed already? You want to clarify when
> the regression started to happen? Or point out I got the title or
> something else totally wrong? Then just reply and tell me -- ideally
> while also telling regzbot about it, as explained by the page listed in
> the footer of this mail.
>
> Developers: When fixing the issue, remember to add 'Link:' tags pointing
> to the report (the parent of this mail). See page linked in footer for
> details.
>
> Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat)
> --
> Everything you wanna know about Linux kernel regression tracking:
> https://linux-regtracking.leemhuis.info/about/#tldr
> That page also explains what to do if mails like this annoy you.
>

Thorsten Leemhuis

unread,
Aug 4, 2023, 8:50:04 AM8/4/23
to
Hi!

On 02.08.23 23:28, Olaf Skibbe wrote:
> Dear Maintainers,
>
> Hereby I would like to report an apparent bug in the nouveau driver in
> linux/6.1.38-2.

Thx for your report. Maybe your problem is caused by a incomplete
backport. I Cced the maintainers for the drivers (and the regressions
and the stable list), maybe one of them has an idea, as they know the
driver.

If they don't reply in the next few days, please check if the problem is
also present in mainline. If not, check if the latest 6.1.y. release
already fixes this. If not, try to check which of the four patches you
reverted to make things going is actually causing this (e.g. first only
revert the one that was applied last; then the two last ones; ...).

Karol Herbst

unread,
Aug 4, 2023, 9:00:04 AM8/4/23
to
On Fri, Aug 4, 2023 at 2:48 PM Olaf Skibbe <ne...@kravcenko.com> wrote:
>
> On Fri, 4 Aug 2023 at 14:15, Karol Herbst wrote:
>
> > mind retrying with only fb725beca62d and 62aecf23f3d1 reverted?
>
> I will do this later this day (takes some time, it is a slow machine).
>
> > Would be weird if the other two commits are causing it. If that's the
> > case, it's a bit worrying that reverting either of the those causes
> > issues, but maybe there is a good reason for it. Anyway, mind figuring
> > out which of the two you need reverted to fix your issue? Thanks!
>
> I can do this. But if I build two kernels anyway, isn't it faster to
> build each with only one of the patches applied? Or do you expect the
> patches to interact (so that the bug would only be present when both are
> applied)?
>

How are you building the kernel? Because normally from git reverting
one of those shouldn't take long, because it doesn't recompile the
entire kernel. But yeah, you can potentially just revert one of one
for now and it should be fine.

> Cheers,
> Olaf
>

Olaf Skibbe

unread,
Aug 4, 2023, 9:00:04 AM8/4/23
to
On Fri, 4 Aug 2023 at 14:15, Karol Herbst wrote:

> mind retrying with only fb725beca62d and 62aecf23f3d1 reverted?

I will do this later this day (takes some time, it is a slow machine).

> Would be weird if the other two commits are causing it. If that's the
> case, it's a bit worrying that reverting either of the those causes
> issues, but maybe there is a good reason for it. Anyway, mind figuring
> out which of the two you need reverted to fix your issue? Thanks!

I can do this. But if I build two kernels anyway, isn't it faster to
build each with only one of the patches applied? Or do you expect the
patches to interact (so that the bug would only be present when both are
applied)?

Cheers,
Olaf

Diederik de Haas

unread,
Aug 4, 2023, 9:50:05 AM8/4/23
to
On Friday, 4 August 2023 15:11:46 CEST Olaf Skibbe wrote:
> (On the occasion a maybe silly question: am I right assuming that the
> kernel has to be build on the machine we want to reproduce the bug on?
> Otherwise it could use much faster hardware (running also bookworm).)

If that is also an amd64 machine running Debian kernel 6.1.38-2, it should be
fine to build the kernel on the faster machine.
signature.asc

Olaf Skibbe

unread,
Aug 4, 2023, 2:20:05 PM8/4/23
to
Dear all,

On Fri, 4 Aug 2023 at 14:15, Karol Herbst wrote:

>>> 62aecf23f3d1 drm/nouveau: add nv_encoder pointer check for NULL
>>> fb725beca62d drm/nouveau/dp: check for NULL nv_connector->native_mode
>>> 90748be0f4f3 drm/nouveau: don't detect DSM for non-NVIDIA device
>>> 5a144bad3e75 nouveau: fix client work fence deletion race
>
> mind retrying with only fb725beca62d and 62aecf23f3d1 reverted? Would
> be weird if the other two commits are causing it. If that's the case,
> it's a bit worrying that reverting either of the those causes issues,
> but maybe there is a good reason for it. Anyway, mind figuring out
> which of the two you need reverted to fix your issue? Thanks!

The result is:

Patch with commit fb725beca62d reverted: Graphics works. I attached the
respective patch again to this mail.

Patch with commit 62aecf23f3d1 reverted: Screen remains black, error
message:

# dmesg | grep -A 36 "cut here"
[ 2.921358] ------------[ cut here ]------------
[ 2.921361] WARNING: CPU: 1 PID: 176 at drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c:460 nvkm_dp_acquire+0x26a/0x490 [nouveau]
[ 2.921627] Modules linked in: sd_mod(E) t10_pi(E) crc64_rocksoft(E) sr_mod(E) crc64(E) crc_t10dif(E) crct10dif_generic(E) cdrom(E) nouveau(E+) mxm_wmi(E) i2c_algo_bit(E) drm_display_helper(E) cec(E) ahci(E) rc_core(E) drm_ttm_helper(E) libahci(E) ttm(E) ehci_pci(E) crct10dif_pclmul(E) crct10dif_common(E) ehci_hcd(E) drm_kms_helper(E) crc32_pclmul(E) firewire_ohci(E) sdhci_pci(E) cqhci(E) libata(E) e1000e(E) sdhci(E) psmouse(E) crc32c_intel(E) lpc_ich(E) ptp(E) i2c_i801(E) scsi_mod(E) i2c_smbus(E) firewire_core(E) scsi_common(E) usbcore(E) crc_itu_t(E) mmc_core(E) drm(E) pps_core(E) usb_common(E) battery(E) video(E) wmi(E) button(E)
[ 2.921695] CPU: 1 PID: 176 Comm: kworker/u16:5 Tainted: G E 6.1.0-0.a.test-amd64 #1 Debian 6.1.38-2a~test
[ 2.921701] Hardware name: Dell Inc. Latitude E6510/0N5KHN, BIOS A17 05/12/2017
[ 2.921705] Workqueue: nvkm-disp nv50_disp_super [nouveau]
[ 2.921948] RIP: 0010:nvkm_dp_acquire+0x26a/0x490 [nouveau]
[ 2.922192] Code: 48 8b 44 24 58 65 48 2b 04 25 28 00 00 00 0f 85 37 02 00 00 48 83 c4 60 44 89 e0 5b 5d 41 5c 41 5d 41 5e 41 5f c3 cc cc cc cc <0f> 0b c1 e8 03 41 88 6d 62 44 89 fe 48 89 df 48 69 c0 cf 0d d6 26
[ 2.922196] RSP: 0018:ffffc077c04dfd60 EFLAGS: 00010246
[ 2.922201] RAX: 0000000000041eb0 RBX: ffff9a8482624c00 RCX: 0000000000041eb0
[ 2.922204] RDX: ffffffffc0b47760 RSI: 0000000000000000 RDI: ffffc077c04dfcf0
[ 2.922206] RBP: 0000000000000001 R08: ffffc077c04dfc64 R09: 0000000000005b76
[ 2.922209] R10: 000000000000000d R11: ffffc077c04dfde0 R12: 00000000ffffffea
[ 2.922212] R13: ffff9a8517541e00 R14: 0000000000044d45 R15: 0000000000000000
[ 2.922215] FS: 0000000000000000(0000) GS:ffff9a85a3c40000(0000) knlGS:0000000000000000
[ 2.922219] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 2.922222] CR2: 000055f660bcb3a8 CR3: 0000000197610000 CR4: 00000000000006e0
[ 2.922226] Call Trace:
[ 2.922231] <TASK>
[ 2.922235] ? __warn+0x7d/0xc0
[ 2.922244] ? nvkm_dp_acquire+0x26a/0x490 [nouveau]
[ 2.922487] ? report_bug+0xe6/0x170
[ 2.922494] ? handle_bug+0x41/0x70
[ 2.922501] ? exc_invalid_op+0x13/0x60
[ 2.922505] ? asm_exc_invalid_op+0x16/0x20
[ 2.922512] ? init_reset_begun+0x20/0x20 [nouveau]
[ 2.922708] ? nvkm_dp_acquire+0x26a/0x490 [nouveau]
[ 2.922954] nv50_disp_super_2_2+0x70/0x430 [nouveau]
[ 2.923200] nv50_disp_super+0x113/0x210 [nouveau]
[ 2.923445] process_one_work+0x1c7/0x380
[ 2.923456] worker_thread+0x4d/0x380
[ 2.923463] ? rescuer_thread+0x3a0/0x3a0
[ 2.923469] kthread+0xe9/0x110
[ 2.923476] ? kthread_complete_and_exit+0x20/0x20
[ 2.923482] ret_from_fork+0x22/0x30
[ 2.923493] </TASK>
[ 2.923494] ---[ end trace 0000000000000000 ]---

(Maybe it's worth to mention that the LED back-light is on, while the
screen appears black.)

Cheers,
Olaf

P.S.: By the way: as a linux user for more than 20 years, I am very
pleased to have the opportunity to contribute at least a little bit to
the improvement. I'd like to use the chance to thank you all very much
for building and developing this great operating system.
0002-Revert-drm-nouveau-dp-check-for-NULL-nv_connector-na.patch

Karol Herbst

unread,
Aug 4, 2023, 7:20:03 PM8/4/23
to
On Fri, Aug 4, 2023 at 8:10 PM Olaf Skibbe <ne...@kravcenko.com> wrote:
>
> Dear all,
>
> On Fri, 4 Aug 2023 at 14:15, Karol Herbst wrote:
>
> >>> 62aecf23f3d1 drm/nouveau: add nv_encoder pointer check for NULL
> >>> fb725beca62d drm/nouveau/dp: check for NULL nv_connector->native_mode
> >>> 90748be0f4f3 drm/nouveau: don't detect DSM for non-NVIDIA device
> >>> 5a144bad3e75 nouveau: fix client work fence deletion race
> >
> > mind retrying with only fb725beca62d and 62aecf23f3d1 reverted? Would
> > be weird if the other two commits are causing it. If that's the case,
> > it's a bit worrying that reverting either of the those causes issues,
> > but maybe there is a good reason for it. Anyway, mind figuring out
> > which of the two you need reverted to fix your issue? Thanks!
>
> The result is:
>
> Patch with commit fb725beca62d reverted: Graphics works. I attached the
> respective patch again to this mail.
>

Mind checking if instead of reverting the entire commit that this is
enough to fix it as well?

https://gitlab.freedesktop.org/karolherbst/nouveau/-/commit/f99ae069876f7ffeb6368da0381485e8c3adda43.patch

Debian Bug Tracking System

unread,
Aug 5, 2023, 6:50:04 AM8/5/23
to
Processing control commands:

> forwarded -1 https://lore.kernel.org/dri-devel/20be6650-5db3-b72a...@kravcenko.com/ https://lore.kernel.org/dri-devel/20230805101813.2...@redhat.com/
Bug #1042753 [src:linux] nouveau: Screen remains black.
Changed Bug forwarded-to-address to 'https://lore.kernel.org/dri-devel/20be6650-5db3-b72a...@kravcenko.com/ https://lore.kernel.org/dri-devel/20230805101813.2...@redhat.com/' from 'https://lore.kernel.org/dri-devel/20be6650-5db3-b72a...@kravcenko.com/'.
> tag -1 - moreinfo
Bug #1042753 [src:linux] nouveau: Screen remains black.
Removed tag(s) moreinfo.

Diederik de Haas

unread,
Aug 5, 2023, 6:50:04 AM8/5/23
to
Control: forwarded -1 https://lore.kernel.org/dri-devel/20be6650-5db3-b72a...@kravcenko.com/ https://lore.kernel.org/dri-devel/20230805101813.2...@redhat.com/
Control: tag -1 - moreinfo

On Saturday, 5 August 2023 11:44:22 CEST Olaf Skibbe wrote:
> On Sat, 5 Aug 2023 at 01:09, Karol Herbst wrote:
> > Mind checking if instead of reverting the entire commit that this is
> > enough to fix it as well?
> >
> > https://gitlab.freedesktop.org/karolherbst/nouveau/-/commit/f99ae069876f7f
> > feb6368da0381485e8c3adda43.patch
> This patch does fix the problem as well: Screen works.

And this caused a patch proposal fixing the issue \o/
https://lore.kernel.org/dri-devel/20230805101813.2...@redhat.com/
signature.asc

Salvatore Bonaccorso

unread,
Aug 24, 2023, 5:40:04 PM8/24/23
to
Control: tags -1 + fixed-upstream
For reference:
https://git.kernel.org/linus/d5712cd22b9cf109fded1b7f178f4c1888c8b84b
in 6.5-rc6 got then backported to 6.4.11 and 6.1.46. So next upload
with rebase of 6.1.y will contain the fix.

Regards,
Salvatore

Debian Bug Tracking System

unread,
Aug 24, 2023, 5:40:04 PM8/24/23
to
Processing control commands:

> tags -1 + fixed-upstream
Bug #1042753 [src:linux] nouveau: Screen remains black.
Added tag(s) fixed-upstream.
0 new messages