Bug 12236 - [Anolis23.2][RC1][loongarch] 系统启动后没有图形显示。
Summary: [Anolis23.2][RC1][loongarch] 系统启动后没有图形显示。
Status: CLOSED FIXED
Alias: None
Product: Anolis OS 23
Classification: Anolis OS
Component: Images&Installations (show other bugs) Images&Installations
Version: 23.2
Hardware: loongarch Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: gaochang
QA Contact:
URL:
Whiteboard:
Keywords: Function
Depends on:
Blocks:
 
Reported: 2024-12-04 16:56 UTC by wuzhiguo
Modified: 2024-12-27 10:20 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wuzhiguo loongson_group 2024-12-04 16:56:34 UTC
Description of problem:
在 2k500 BMC的服务器上安装 anolis-23-loongarch64-dvd1-20241130.1.iso,系统启动后没有图形显示。

Version-Release number of selected component (if applicable):
1. iso链接: https://build.openanolis.cn/kojifiles/output/anolis-23-20241130.1/compose/os/loongarch64/iso/anolis-23-loongarch64-dvd1-20241130.1.iso
2. 内核版本: 6.6.52-2.3_rc1.an23.loongarch64

How reproducible:


Steps to Reproduce:
1. 带有 2k500 BMC的服务器安装系统
2. 重启


Actual results:
系统启动后没有图形显示。
系统启动报错信息:
[FAILED] Failed to start initial-setup.serv�…nitial Setup configuration program.
[   12.826777][  T161] ipmi_ls2k500_si ipmi_ls2k500_si.3: IPMI message handler: Found new BMC (man_id: 0x00e7e6, prod_id: 0x0000, dev_id: 0x23)
[   12.951797][  T161] ipmi_ls2k500_si ipmi_ls2k500_si.3: IPMI kcs interface initialized
[   12.967891][  T161] ipmi_ls2k500_si ipmi_ls2k500_si.4: probing via ls2k500 platform
[   12.975509][  T161] ipmi_ls2k500_si ipmi_ls2k500_si.4: [mem 0xe0031f00070-0xe0031f0008b] regsize 1 spacing 4 irq 0
[   13.003779][  T161] ipmi_si: Adding platform-specified kcs state machine
[   13.010448][  T161] ipmi_si: Trying platform-specified kcs state machine at mem address 0xe0031f00070, slave address 0x0, irq 0
[   13.105337][ T1051] dwmac-loongson-pci 0000:00:03.0 enp0s3f0: Register MEM_TYPE_PAGE_POOL RxQ-0
[   13.115332][ T1051] dwmac-loongson-pci 0000:00:03.0 enp0s3f0: PHY [stmmac-18:02] driver [Generic PHY] (irq=POLL)
[   13.131779][ T1051] dwmac-loongson-pci 0000:00:03.0 enp0s3f0: No Safety Features support found
[   13.140381][ T1051] dwmac-loongson-pci 0000:00:03.0 enp0s3f0: IEEE 1588-2008 Advanced Timestamp supported
[   13.150418][ T1051] dwmac-loongson-pci 0000:00:03.0 enp0s3f0: registered PTP clock
[   13.158187][ T1051] dwmac-loongson-pci 0000:00:03.0 enp0s3f0: configuring for phy/gmii link mode
[   13.203796][ T1051] Generic FE-GE Realtek PHY r8169-0-300:00: attached PHY driver (mii_bus:phy_addr=r8169-0-300:00, irq=MAC)
[   13.387890][  T139] r8169 0000:03:00.0 enp3s0: Link is Down
[   13.427784][ T1051] Generic FE-GE Realtek PHY r8169-0-400:00: attached PHY driver (mii_bus:phy_addr=r8169-0-400:00, irq=MAC)
[   13.483783][  T161] ipmi_ls2k500_si ipmi_ls2k500_si.4: The BMC does not support clearing the recv irq bit, compensating, but the BMC needs to be fixed.
[   13.643883][  T139] r8169 0000:04:00.0 enp4s0: Link is Down
[   13.757843][  T161] ipmi_ls2k500_si ipmi_ls2k500_si.4: IPMI message handler: Found new BMC (man_id: 0x00e7e6, prod_id: 0x0000, dev_id: 0x23)
[   13.879115][  T161] ipmi_ls2k500_si ipmi_ls2k500_si.4: IPMI kcs interface initialized
[   16.443234][  T161] r8169 0000:04:00.0 enp4s0: Link is Up - 1Gbps/Full - flow control rx/tx

Xorg 日志报错信息:
[    33.089] (II) LoadModule: "modesetting"
[    33.089] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[    33.090] (II) Module modesetting: vendor="X.Org Foundation"
[    33.090]    compiled for 1.20.14, module version = 1.20.14
[    33.090]    Module class: X.Org Video Driver
[    33.090]    ABI class: X.Org Video Driver, version 24.1
[    33.090] (II) LoadModule: "fbdev"
[    33.090] (WW) Warning, couldn't open module fbdev
[    33.090] (EE) Failed to load module "fbdev" (module does not exist, 0)
[    33.090] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    33.090] (EE) open /dev/dri/card0: No such file or directory
[    33.090] (WW) Falling back to old probe method for modesetting
[    33.090] (EE) open /dev/dri/card0: No such file or directory
[    33.090] (EE) Screen 0 deleted because of no matching config section.
[    33.090] (II) UnloadModule: "modesetting"
[    33.090] (EE) Device(s) detected, but none match those in the config file.
[    33.090] (EE) 
Fatal server error:
[    33.090] (EE) no screens found(EE) 
[    33.090] (EE) 
Please consult the The X.Org Foundation support 
         at http://wiki.x.org
 for help. 
[    33.090] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    33.090] (EE) 
[    33.118] (EE) Server terminated with error (1). Closing log file.

Expected results:
系统启动后图形显示正常。


Additional info:
龙芯研发(gaojuxin)分析: 系统镜像中默认没有集成xorg-x11-drv-fbdev的软件包,安装该软件包后正常。
Comment 1 gaochang alibaba_cloud_group 2024-12-11 10:47:15 UTC
https://build.openanolis.cn/kojifiles/output/nightly/anolis-23-20241210.7/compose/os/loongarch64/iso/
该 iso 中已集成该包,请复测