Your message dated Tue, 28 Jul 2026 05:34:52 +0000
with message-id <[email protected]>
and subject line Bug#1142767: fixed in linux 7.2~rc5-1~exp1
has caused the Debian Bug report #1142767,
regarding linux-image-7.1.3+deb14-riscv64: CONFIG_DRM_AST is not available on 
riscv64 (ASPEED BMC VGA unusable)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1142767: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1142767
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:linux
Version: 7.1.3-1
Severity: normal
Tags: patch upstream

Dear Maintainer,

The riscv64 kernel configuration (debian/config/riscv64/config: shipped as 
/usr/src/linux-config-7.1/config.riscv64_none_riscv64.xz) has
    # CONFIG_DRM_AST is not set
As a result, systems whose only display output is an on-board ASPEED BMC 
graphics controller (AST2000/2100/2200/2300/2400/2500/2600, PCI vendor 1A03) 
have no usable console/GNOME on the physical head or KVM-over-IP. This is very 
common on server-class riscv64 boards (e.g. SpacemiT-based platforms) that 
inherit BMC hardware from the server world.
For comparison, DRM_AST is enabled as a module on every other Debian 
architecture that has PCI (amd64, arm64, ppc64el, s390x, ...), so this appears 
to be an oversight rather than a deliberate omission specific to riscv64.
Please enable CONFIG_DRM_AST as a module in the riscv64 kernel config.

-- Reproducer -----------------------------------------------------

Hardware: SpacemiT riscv64 board with on-board ASPEED AST2600 BMC
Kernel:   7.1.3+deb14-riscv64 (linux 7.1.3-1)
Userland: Debian forky/sid, GNOME on Wayland

  $ lspci -nn | grep -i aspeed
  0001:02:00.0 VGA compatible controller [0300]:
      ASPEED Technology, Inc. ASPEED Graphics Family [1a03:2000] (rev 52)

  $ lspci -k -s 0001:02:00.0
  0001:02:00.0 VGA compatible controller: ASPEED Technology, Inc.
      ASPEED Graphics Family (rev 52)
          Subsystem: ASPEED Technology, Inc. ASPEED Graphics Family
         (no "Kernel driver in use:" line)

  $ modinfo ast
  modinfo: ERROR: Module ast not found.

  $ grep DRM_AST /boot/config-$(uname -r)
  # CONFIG_DRM_AST is not set

  $ ls /sys/class/drm/
  version
  (no card0; no /dev/dri/card0; no /dev/fb0)

Result: gdm3/GNOME has no output on the physical KVM head.


-- Verification that the driver works when built -----------------

Rebuilding the in-tree driver as an out-of-tree module against the shipped 
headers is sufficient:
# apt-get install linux-headers-$(uname -r) linux-source-7.1 \
                    build-essential bc
  $ mkdir -p ~/ast-build && cd ~/ast-build
  $ tar -xf /usr/src/linux-source-7.1.tar.xz --wildcards \
        'linux-source-7.1/drivers/gpu/drm/ast/*'
  $ cd linux-source-7.1/drivers/gpu/drm/ast
  $ make -C /lib/modules/$(uname -r)/build M=$(pwd) modules \
        CONFIG_DRM_AST=m
  # cp ast.ko /lib/modules/$(uname -r)/kernel/drivers/gpu/drm/ast/
  # depmod -a && modprobe ast

Dmesg after loading:

  ast 0001:02:00.0: Using default configuration
  ast 0001:02:00.0: AST 2600 detected
  ast 0001:02:00.0: [drm] Using analog VGA
  ast 0001:02:00.0: [drm] Registered 1 planes with drm panic
  [drm] Initialized ast 0.1.0 for 0001:02:00.0 on minor 0
  ast 0001:02:00.0: [drm] fb0: astdrmfb frame buffer device

/dev/dri/card0 and /dev/fb0 appear, and GNOME comes up normally. All required 
deps (drm, drm_kms_helper, drm_shmem_helper, drm_client_lib, i2c-algo-bit, ttm) 
are already shipped in
linux-image-7.1.3+deb14-riscv64, so enabling DRM_AST=m has no new dependency 
implication.

-- Suggested patch (against debian/config/riscv64/config) --------

--- a/debian/config/riscv64/config
+++ b/debian/config/riscv64/config
@@
-# CONFIG_DRM_AST is not set
+CONFIG_DRM_AST=m

(Filenames in the source package may differ slightly; the change is to flip the 
DRM_AST line for the riscv64 flavour, matching amd64 /arm64.)

-- System Information --------------------------------------------

Debian Release: forky/sid
Architecture: riscv64 (riscv64)

Kernel: Linux 7.1.3+deb14-riscv64 (SMP w/80 CPU threads; PREEMPT)
Locale: LANG=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8)
Shell: /bin/bash

Versions of packages linux-image-7.1.3+deb14-riscv64 depends on:
  (as reported by `apt-cache policy` / `dpkg -s`)

-- no debconf information

Thank you for your work on the Debian kernel.

Regards,
Wenbin Zheng


This message and any attachment are confidential and may be privileged or 
otherwise protected from disclosure. If you are not an intended recipient of 
this message, please delete it and any attachment from your system and notify 
the sender immediately by reply e-mail. Unintended recipients should not use, 
copy, disclose or take any action based on this message or any information 
contained in this message. Emails cannot be guaranteed to be secure or error 
free as they can be intercepted, amended, lost or destroyed, and you should 
take full responsibility for security checking. 
 
本邮件及其任何附件具有保密性质,并可能受其他保护或不允许被披露给第三方。如阁下误收到本邮件,敬请立即以回复电子邮件的方式通知发件人,并将本邮件及其任何附件从阁下系统中予以删除。如阁下并非本邮件写明之收件人,敬请切勿使用、复制、披露本邮件或其任何内容,亦请切勿依本邮件或其任何内容而采取任何行动。电子邮件无法保证是一种安全和不会出现任何差错的通信方式,可能会被拦截、修改、丢失或损坏,收件人需自行负责做好安全检查。

--- End Message ---
--- Begin Message ---
Source: linux
Source-Version: 7.2~rc5-1~exp1
Done: Salvatore Bonaccorso <[email protected]>

We believe that the bug you reported is fixed in the latest version of
linux, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Salvatore Bonaccorso <[email protected]> (supplier of updated linux package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 28 Jul 2026 06:55:11 +0200
Source: linux
Architecture: source
Version: 7.2~rc5-1~exp1
Distribution: experimental
Urgency: medium
Maintainer: Debian Kernel Team <[email protected]>
Changed-By: Salvatore Bonaccorso <[email protected]>
Closes: 1140762 1141885 1142672 1142767
Changes:
 linux (7.2~rc5-1~exp1) experimental; urgency=medium
 .
   * New upstream release candidate.
 .
   [ Ben Hutchings ]
   * Include rsync in Build-Depends-Arch for any build including tools
 .
   [ Alper Nebi Yasak ]
   * [arm64] drivers/regulator: Enable REGULATOR_QCOM_REFGEN as module
     (Closes: #1142672)
 .
   [ Aurelien Jarno ]
   * [riscv64] Enable RISCV_USER_CFI
 .
   [ Han Gao ]
   * [riscv64] Enable CONFIG_DRM_AST as module (Closes: #1142767)
 .
   [ Christopher Obbard ]
   * drivers/gpio: Enable GPIO_SIM as module (Closes: #1140762)
 .
   [ John Paul Adrian Glaubitz ]
   * [sh4] Disable wireless support to reduce kernel size (Closes: #1141885)
Checksums-Sha1:
 9d534a4532b4215ad480463039695e4d0a4cef60 183244 linux_7.2~rc5-1~exp1.dsc
 05a15df5590ee1fabc02749d3933adc5f5c86ce1 163266440 linux_7.2~rc5.orig.tar.xz
 89f77a4ffa0426412d5531be45b2e70a195e1727 1459888 
linux_7.2~rc5-1~exp1.debian.tar.xz
 e429b961f525e6f98cccb03da40a241945945248 6928 
linux_7.2~rc5-1~exp1_source.buildinfo
Checksums-Sha256:
 ede239c565d82f8138c07fd2756f2e5d712b197826ef620b0741620a39711ac2 183244 
linux_7.2~rc5-1~exp1.dsc
 91d0996d83cca5865b070e237c0e0850beeaed7a056d02f27b683e6075d32b6a 163266440 
linux_7.2~rc5.orig.tar.xz
 4bd741c709aff14bcac43b24a058f0454df72258c3c8112b572582a8f490a060 1459888 
linux_7.2~rc5-1~exp1.debian.tar.xz
 15c225573f56ff8bedf97a2099a289ceb272b11e75f99a0be3b5e92156f5eec9 6928 
linux_7.2~rc5-1~exp1_source.buildinfo
Files:
 558b562113ba6d4e7a1de8dfdb869991 183244 kernel optional 
linux_7.2~rc5-1~exp1.dsc
 8ff7459c8c73359e6ea4f480731f3136 163266440 kernel optional 
linux_7.2~rc5.orig.tar.xz
 0880a093d11eb32fd7c66b9e063078e8 1459888 kernel optional 
linux_7.2~rc5-1~exp1.debian.tar.xz
 dc694fcf495b0b2e94c4b2582a176727 6928 kernel optional 
linux_7.2~rc5-1~exp1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQKmBAEBCgCQFiEERkRAmAjBceBVMd3uBUy48xNDz0QFAmpoOIZfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDQ2
NDQ0MDk4MDhDMTcxRTA1NTMxRERFRTA1NENCOEYzMTM0M0NGNDQSHGNhcm5pbEBk
ZWJpYW4ub3JnAAoJEAVMuPMTQ89EtooP/1jsLGbwj4x17SKIeL8Zxx7mvKSWmgSh
odAhrT5hwmGpo9HxIdGlduc9t1TcWLjUcpsEqb1TTDHtJEMgEphFZfeqEI1rVshw
GGrOHv3lLMqTeKkd+fRfrsJ0+CpgJgd5oitVff/4DHSeEpu2UypBVDbHYBX+lPTq
04/+MaDeAgSZthvGJD7T7AxVTCV4RPrwNSpk0a33ls1WDtSZYgRfRwL3azUnb6qN
tVpqiIOglc0b0X2WlzOtc+O8JEliJTTi61AHeEgsxlBq0jr0C7NHw2abRDyDNPQK
5WiQkLVOL2PFhn9KKnpgpfidip4+1D5Wc18q+yG0gDANuh1oktZfHD8NglcdNBjP
amyyBd6BxLlHw1BRY8GDv/snHcjmfkIcKyp2WVX+WkvCZeqeqfpRvhVeZdody3/h
191eIjP4JnyBZzeU600/bem3xBiB55ydeFy/yXDlZ5Vl0eZIEk8ruhTW3Seb4o/y
JIs2DrJfwaKDbn1naBCtoe4gzxx9QT+wKpQE8DZ0OL51bBLijbwWGRXumZ4eG8Mc
FcRkotM2HPLoZgWcD9owqnFOPIOHe/+2hbfNgENG56lznc3XMKyZvzaPfsCTudm2
a5ERBhRH84gEOawycpKLguTh03gEFmzmrf5xLHAAApZd/gc2KAq8aaZfFp6f+WM4
KVKbFwm31LHk
=8nMR
-----END PGP SIGNATURE-----

Attachment: pgpOtOrzmSv39.pgp
Description: PGP signature


--- End Message ---

Reply via email to