Bug 2222823 - 6.5 kernel broken configuration for all rockchip based devices
Summary: 6.5 kernel broken configuration for all rockchip based devices
Keywords:
Status: CLOSED COMPLETED
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: rawhide
Hardware: aarch64
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-13 23:03 UTC by bonin' o'brien
Modified: 2023-07-27 04:33 UTC (History)
16 users (show)

Fixed In Version:
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-07-27 04:33:03 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
good boot log over uart (81.78 KB, text/plain)
2023-07-13 23:04 UTC, bonin' o'brien
no flags Details
bad boot log over uart (91.03 KB, text/plain)
2023-07-13 23:04 UTC, bonin' o'brien
no flags Details

Description bonin' o'brien 2023-07-13 23:03:09 UTC
fedora server rawhide aarch64

sometime after 6.5.0-0.rc0.20230628git6aeadf7896bf.2.fc39 and before 6.5.0-0.rc0.20230706gitc17414a273b8.12.fc39, it broke
6.5.0-0.rc1.11.fc39 also does not work

Comment 1 bonin' o'brien 2023-07-13 23:04:22 UTC
Created attachment 1975660 [details]
good boot log over uart

Comment 2 bonin' o'brien 2023-07-13 23:04:55 UTC
Created attachment 1975661 [details]
bad boot log over uart

Comment 3 bonin' o'brien 2023-07-16 01:06:47 UTC
also tried 
   6.5.0-0.rc0.20230629git3a8a670eeeaa.3.fc39
   6.5.0-0.rc0.20230630gite55e5df193d2.5.fc39
   6.5.0-0.rc0.20230703gita901a3568fd2.8.fc39
   6.5.0-0.rc0.20230705gitd528014517f2.10.fc39
   6.5.0-0.rc1.20230711git3f01e9fed845.12.fc39
none worked

Comment 4 bonin' o'brien 2023-07-16 01:55:39 UTC
since the breakdown happened between 2 and 3, this simplifies things, so looking at the diffs in linux-next, i see some rockchip changes to the rk8xx, so i checked what was defined in the builds

% grep _RK8 /boot/config-6.5.0-0.rc*
/boot/config-6.5.0-0.rc0.20230628git6aeadf7896bf.2.fc39.aarch64:CONFIG_INPUT_RK805_PWRKEY=m
/boot/config-6.5.0-0.rc0.20230628git6aeadf7896bf.2.fc39.aarch64:CONFIG_PINCTRL_RK805=m
/boot/config-6.5.0-0.rc0.20230628git6aeadf7896bf.2.fc39.aarch64:CONFIG_CHARGER_RK817=m
/boot/config-6.5.0-0.rc0.20230628git6aeadf7896bf.2.fc39.aarch64:CONFIG_MFD_RK808=y
/boot/config-6.5.0-0.rc0.20230628git6aeadf7896bf.2.fc39.aarch64:CONFIG_REGULATOR_RK808=y
/boot/config-6.5.0-0.rc0.20230628git6aeadf7896bf.2.fc39.aarch64:CONFIG_SND_SOC_RK817=m
/boot/config-6.5.0-0.rc0.20230628git6aeadf7896bf.2.fc39.aarch64:CONFIG_RTC_DRV_RK808=m
/boot/config-6.5.0-0.rc0.20230628git6aeadf7896bf.2.fc39.aarch64:CONFIG_COMMON_CLK_RK808=y
/boot/config-6.5.0-0.rc0.20230629git3a8a670eeeaa.3.fc39.aarch64:# CONFIG_MFD_RK8XX_I2C is not set
/boot/config-6.5.0-0.rc0.20230629git3a8a670eeeaa.3.fc39.aarch64:# CONFIG_MFD_RK8XX_SPI is not set

also noticed the inbuilt rtc on the voltage regulator didn't seem to be showing up in the logs for non-booting systems

looks like there are no rk805 drivers in kernel-modules-core, which are kind of critical to the system

% rpm -ql kernel-modules-core-6.5.0-0.rc0.20230628git6aeadf7896bf.2.fc39.aarch64 | grep -i rk8
/lib/modules/6.5.0-0.rc0.20230628git6aeadf7896bf.2.fc39.aarch64/kernel/drivers/input/misc/rk805-pwrkey.ko.xz
/lib/modules/6.5.0-0.rc0.20230628git6aeadf7896bf.2.fc39.aarch64/kernel/drivers/pinctrl/pinctrl-rk805.ko.xz
/lib/modules/6.5.0-0.rc0.20230628git6aeadf7896bf.2.fc39.aarch64/kernel/drivers/rtc/rtc-rk808.ko.xz
% rpm -ql kernel-modules-core-6.5.0-0.rc0.20230629git3a8a670eeeaa.3.fc39.aarch64 | grep -i rk8

Comment 5 bonin' o'brien 2023-07-18 20:25:46 UTC
6.5.0-0.rc2.17.fc39.aarch64 also does not address this

Comment 6 bonin' o'brien 2023-07-27 04:33:03 UTC
fixed in 6.5.0-0.rc3.23.fc39.aarch64


Note You need to log in before you can comment on or make changes to this bug.