Package: linux-image-5.18.0-2-arm64
Version: 5.18.5-1
Severity: normal
Dear kernel team,
Please find in attached file success story (!) on recent boot for
target rock64 (pine64) with 64 Go class10 MMC card with Debian 11.3
Bullseye and Bookworm 5.18.5-1 kernel with following configuration ...
ansible@hn-rock64-130:~$ uname -a
Linux hn-rock64-130 5.18.0-2-arm64 #1 SMP Debian 5.18.5-1 (2022-06-16)
aarch64 GNU/Linux
ansible@hn-rock64-130:~$ dpkg -l |grep linux-image
ii linux-image-5.10.0-3-arm64 5.10.13-1 arm64
Linux 5.10 for 64-bit ARMv8 machines (signed)
ii linux-image-5.18.0-2-arm64 5.18.5-1 arm64
Linux 5.18 for 64-bit ARMv8 machines (signed)
ansible@hn-rock64-130:~$ cat
/etc/apt/sources.list.d/debian_apt_v_11_bullseye_* |grep -v "#" |grep -v ^$
deb http://ftp.de.debian.org/debian/ bullseye main contrib non-free
deb http://ftp.de.debian.org/debian/ bookworm main contrib non-free
deb http://ftp.de.debian.org/debian/ oldstable main contrib non-free
deb http://security.debian.org/debian-security bullseye-security main
contrib non-free
deb http://ftp.de.debian.org/debian bullseye-updates main contrib non-free
ansible@hn-rock64-130:~$ cat
/etc/apt/preferences.d/preferences_debian_v_11_bullseye* |grep -v "#"
|grep -v ^$
Package: vmdb2
Pin: release o=Debian,l=Debian,n=bullseye
Pin-Priority: 920
Package: *
Pin: release o=Debian,l=Debian,n=bullseye/updates
Pin-Priority: 500
Package: *
Pin: release o=Debian,l=Debian,n=bullseye-update
Pin-Priority: 500
Package: *
Pin: release o=Debian,l=Debian,n=bullseye
Pin-Priority: 500
Package: *
Pin: release o=Debian,l=Debian,n=bullseye-backports
Pin-Priority: 100
Package: *
Pin: release o=Debian,l=Debian,n=buster
Pin-Priority: 90
Package: *
Pin: release o=Debian,l=Debian,n=bookworm
Pin-Priority: 80
Package: *
Pin: release o=Debian,l=Debian,n=sid
Pin-Priority: 70
Package: *
Pin: release o=Debian,l=Debian,n=experimental
Pin-Priority: 60
Package: avahi-daemon
Pin: release *
Pin-Priority: -1
Package: dbus
Pin: release a=bullseye
Pin-Priority: -1
Package: dhcpcd5
Pin: release *
Pin-Priority: -1
Package: rtkit
Pin: release *
Pin-Priority: -1
Package: systemd
Pin: release *
Pin-Priority: -1
ansible@hn-rock64-130:~$ lsmod
Module Size Used by
nf_tables 212992 0
libcrc32c 16384 1 nf_tables
nfnetlink 20480 1 nf_tables
veth 32768 0
bridge 258048 0
autofs4 49152 3
8021q 32768 0
garp 24576 1 8021q
mrp 24576 1 8021q
stp 20480 2 bridge,garp
llc 20480 3 bridge,stp,garp
evdev 32768 0
snd_soc_hdmi_codec 24576 1
hantro_vpu 139264 0
v4l2_vp9 24576 1 hantro_vpu
v4l2_h264 16384 1 hantro_vpu
dw_hdmi_i2s_audio 16384 0
dw_hdmi_cec 16384 0
v4l2_mem2mem 32768 1 hantro_vpu
aes_ce_blk 36864 0
snd_soc_rockchip_spdif 16384 2
videobuf2_dma_contig 24576 1 hantro_vpu
aes_ce_cipher 20480 1 aes_ce_blk
snd_soc_rockchip_i2s 28672 2
snd_soc_simple_card 24576 0
mcs7830 20480 0
pl2303 28672 0
snd_soc_spdif_tx 16384 1
snd_soc_rk3328 16384 0
videobuf2_memops 20480 1 videobuf2_dma_contig
snd_soc_simple_card_utils 24576 1 snd_soc_simple_card
ghash_ce 24576 0
usbnet 45056 1 mcs7830
videobuf2_v4l2 24576 2 hantro_vpu,v4l2_mem2mem
gf128mul 16384 1 ghash_ce
snd_soc_core 208896 7
snd_soc_spdif_tx,snd_soc_hdmi_codec,snd_soc_rockchip_spdif,snd_soc_rk3328,snd_soc_simple_card_utils,snd_soc_rockchip_i2s,snd_soc_simple_card
usbserial 49152 1 pl2303
mii 20480 2 mcs7830,usbnet
snd_pcm_dmaengine 20480 1 snd_soc_core
videobuf2_common 53248 5
videobuf2_dma_contig,videobuf2_v4l2,hantro_vpu,v4l2_mem2mem,videobuf2_memops
sha2_ce 20480 0 snd_pcm 118784 4
snd_soc_hdmi_codec,snd_soc_simple_card_utils,snd_soc_core,snd_pcm_dmaengine
sha256_arm64 28672 1 sha2_ce
videodev 225280 4
videobuf2_v4l2,hantro_vpu,videobuf2_common,v4l2_mem2mem
ofpart 20480 0
lima 65536 0
sha1_ce 20480 0
snd_timer 40960 1 snd_pcm
snd 94208 4 snd_soc_hdmi_codec,snd_timer,snd_soc_core,snd_pcm
mc 53248 5
videodev,videobuf2_v4l2,hantro_vpu,videobuf2_common,v4l2_mem2mem
spi_nor 90112 0
leds_gpio 16384 0
gpu_sched 40960 1 lima
soundcore 20480 1 snd
nvmem_rockchip_efuse 16384 0
drm_shmem_helper 24576 1 lima
io_domain 24576 0
rockchip_thermal 28672 0
mtd 69632 3 spi_nor,ofpart
dw_wdt 20480 0
cpufreq_dt 20480 0
ext4 761856 37
crc16 16384 1 ext4
mbcache 24576 1 ext4
jbd2 143360 1 ext4
crc32c_generic 16384 75
dm_mod 143360 108
dax 36864 1 dm_mod
realtek 32768 1
xhci_plat_hcd 20480 0
xhci_hcd 253952 1 xhci_plat_hcd
dwmac_rk 28672 0
rockchipdrm 122880 0
stmmac_platform 24576 1 dwmac_rk
rk808_regulator 40960 14
stmmac 237568 2 stmmac_platform,dwmac_rk
drm_cma_helper 20480 1 rockchipdrm
dw_hdmi 45056 2 dw_hdmi_i2s_audio,rockchipdrm
pcs_xpcs 24576 1 stmmac
phylink 45056 1 stmmac
cec 49152 2 dw_hdmi_cec,dw_hdmi
of_mdio 20480 3 stmmac_platform,stmmac
fixed_phy 16384 1 of_mdio
rc_core 53248 2 cec
fwnode_mdio 20480 1 of_mdio
ohci_platform 16384 0
dw_mipi_dsi 20480 1 rockchipdrm
ohci_hcd 53248 1 ohci_platform
dwc2 241664 0
libphy 98304 7
fwnode_mdio,of_mdio,realtek,stmmac,fixed_phy,phylink,pcs_xpcs
dwc3 159744 0
analogix_dp 49152 1 rockchipdrm
drm_dp_helper 110592 2 rockchipdrm,analogix_dp
crct10dif_ce 20480 0
ehci_platform 20480 0
crct10dif_common 16384 1 crct10dif_ce
ptp 32768 1 stmmac
fixed 20480 7
udc_core 53248 2 dwc2,dwc3
dw_mmc_rockchip 20480 0
ehci_hcd 90112 1 ehci_platform
phy_rockchip_inno_usb2 40960 6
drm_kms_helper 143360 7
drm_cma_helper,drm_dp_helper,dw_mipi_dsi,rockchipdrm,dw_hdmi,analogix_dp
pps_core 24576 1 ptp
roles 16384 2 dwc2,dwc3
usbcore 270336 11
mcs7830,pl2303,ohci_platform,usbserial,xhci_hcd,ohci_hcd,ehci_platform,usbnet,dwc2,ehci_hcd,xhci_plat_hcd
ulpi 20480 1 dwc3
drm 438272 11
drm_cma_helper,gpu_sched,drm_dp_helper,drm_kms_helper,dw_mipi_dsi,lima,drm_shmem_helper,rockchipdrm,dw_hdmi,analogix_dp
usb_common 16384 10
xhci_hcd,ohci_hcd,ehci_platform,phy_rockchip_inno_usb2,dwc2,usbcore,ehci_hcd,xhci_plat_hcd,dwc3,udc_core
phy_rockchip_inno_hdmi 28672 1
dw_mmc_pltfm 16384 1 dw_mmc_rockchip
dw_mmc 49152 2 dw_mmc_pltfm,dw_mmc_rockchip
pl330 36864 7
i2c_rk3x 24576 0
spi_rockchip 24576 0
ansible@hn-rock64-130:~$
After installing kernel 5.18.0-2-arm64, the good news is that the mmc
device number now looks ALWAYS correct (!). Previously, in the kernel
(5.10.xx), when booting target, sometimes mmc id was either
/dev/mmcblk0 or /dev/mmcblk1 for unknown reasons (?).
Now either with a soft reboot command (sudo reboot) or with a forced
shutdown (power ON/OFF), the identification is still good,
i.e. /dev/mmcblk0.
[ 7.895554] mmc_host mmc1: Bus speed (slot 0) = 300000Hz (slot req
300000Hz, actual 300000HZ div = 0)
[ 7.916968] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req
50000000Hz, actual 50000000HZ div = 0)
[ 7.917972] mmc0: new high speed SDXC card at address aaaa
[ 7.920665] mmcblk0: mmc0:aaaa SC64G 59.5 GiB
[ 7.933277] mmcblk0: p1 p2 < p5 p6 p7 p8 p9 p10 p11 >
But [ref 1], there is still some stranges messages in dmesg ...
[ 7.585764] dwmmc_rockchip ff520000.mmc: DW MMC controller at irq
40,32 bit host data width,256 deep fifo
[ 7.586886] rockchip-pinctrl pinctrl: pin gpio0-2 already requested
by vcc-host-5v-regulator; cannot claim for vcc-host1-5v-regulator
[ 7.588110] rockchip-pinctrl pinctrl: pin-2 (vcc-host1-5v-regulator)
status -22
[ 7.588576] ehci-platform ff5c0000.usb: USB 2.0 started, EHCI 1.00
[ 7.588797] rockchip-pinctrl pinctrl: could not request pin 2
(gpio0-2) from group usb20-host-drv on device rockchip-pinctrl
[ 7.589899] usb usb1: New USB device found, idVendor=1d6b,
idProduct=0002, bcdDevice= 5.18
[ 7.590353] reg-fixed-voltage vcc-host1-5v-regulator: Error applying
setting, reverse things back
[ 7.591095] usb usb1: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
Also [ref 2], another potential problem ???
[ 7.694550] rk_gmac-dwmac ff540000.ethernet: phy regulator is not
available yet, deferred probing
[ 7.703008] rockchip-vop ff370000.vop: Adding to iommu group 1
[ 7.709024] rk_gmac-dwmac ff540000.ethernet: IRQ eth_wake_irq not found
[ 7.709219] dwmmc_rockchip ff500000.mmc: IDMAC supports 32-bit
address mode.
[ 7.709431] usb usb3: New USB device found, idVendor=1d6b,
idProduct=0001, bcdDevice= 5.18
[ 7.709450] usb usb3: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[ 7.709463] usb usb3: Product: Generic Platform OHCI controller
[ 7.709473] usb usb3: Manufacturer: Linux 5.18.0-2-arm64 ohci_hcd
[ 7.709483] usb usb3: SerialNumber: ff5d0000.usb
[ 7.709657] rk_gmac-dwmac ff540000.ethernet: IRQ eth_lpi not found
[ 7.710321] dwmmc_rockchip ff500000.mmc: Using internal DMA controller.
[ 7.710523] hub 3-0:1.0: USB hub found
[ 7.710585] hub 3-0:1.0: 1 port detected
[ 7.711128] rk_gmac-dwmac ff540000.ethernet: force_sf_dma_mode is
ignored if force_thresh_dma_mode is set.
[ 7.711747] dwmmc_rockchip ff500000.mmc: Version ID is 270a
[ 7.712313] rk_gmac-dwmac ff540000.ethernet: PTP uses main clock
[ 7.712839] dwmmc_rockchip ff500000.mmc: DW MMC controller at irq
39,32 bit host data width,256 deep fifo
[ 7.713262] rk_gmac-dwmac ff540000.ethernet: phy regulator is not
available yet, deferred probing
[ 7.715949] dwmmc_rockchip ff520000.mmc: IDMAC supports 32-bit
address mode.
[ 7.716138] dwmmc_rockchip ff520000.mmc: Using internal DMA controller.
[ 7.719984] dwmmc_rockchip ff520000.mmc: Version ID is 270a
[ 7.722706] dwmmc_rockchip ff520000.mmc: DW MMC controller at irq
40,32 bit host data width,256 deep fifo
[ 7.725054] rk_gmac-dwmac ff540000.ethernet: IRQ eth_wake_irq not found
[ 7.725695] rk_gmac-dwmac ff540000.ethernet: IRQ eth_lpi not found
[ 7.726374] rk_gmac-dwmac ff540000.ethernet: force_sf_dma_mode is
ignored if force_thresh_dma_mode is set.
[ 7.727348] rk_gmac-dwmac ff540000.ethernet: PTP uses main clock
[ 7.728039] rk_gmac-dwmac ff540000.ethernet: phy regulator is not
available yet, deferred probing
[ 7.733519] dwmmc_rockchip ff500000.mmc: IDMAC supports 32-bit
address mode.
[ 7.734230] dwmmc_rockchip ff500000.mmc: Using internal DMA controller.
[ 7.734853] dwmmc_rockchip ff500000.mmc: Version ID is 270a
[ 7.735489] dwmmc_rockchip ff500000.mmc: DW MMC controller at irq
39,32 bit host data width,256 deep fifo
[ 7.735865] dwmmc_rockchip ff520000.mmc: IDMAC supports 32-bit
address mode.
[ 7.736367] rk_gmac-dwmac ff540000.ethernet: IRQ eth_wake_irq not found
[ 7.737051] dwmmc_rockchip ff520000.mmc: Using internal DMA controller.
[ 7.737638] rk_gmac-dwmac ff540000.ethernet: IRQ eth_lpi not found
[ 7.738227] dwmmc_rockchip ff520000.mmc: Version ID is 270a
[ 7.739317] dwmmc_rockchip ff520000.mmc: DW MMC controller at irq
40,32 bit host data width,256 deep fifo
[ 7.740225] rk_gmac-dwmac ff540000.ethernet: force_sf_dma_mode is
ignored if force_thresh_dma_mode is set.
[ 7.742033] rk_gmac-dwmac ff540000.ethernet: PTP uses main clock
[ 7.743327] rk_gmac-dwmac ff540000.ethernet: phy regulator is not
available yet, deferred probing
[ 7.777307] rk808-regulator rk808-regulator: there is no dvs0 gpio
[ 7.778604] rk808-regulator rk808-regulator: there is no dvs1 gpio
On previous message[ref 2] , it seems Ethernet port is correctly
detected with correct parameters because ...
ansible@hn-rock64-130:~$ sudo mii-tool --verbose if-prod
if-prod: negotiated 1000baseT-FD flow-control, link ok
product info: vendor 00:e0:4c or 00:07:32, model 17 rev 6
basic mode: autonegotiation enabled
basic status: autonegotiation complete, link ok
capabilities: 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD
10baseT-HD
advertising: 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD
10baseT-HD flow-control
link partner: 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD
10baseT-HD flow-control
As a result, it is not very clear for me why there is one warning
message ([ref 2]) ?
Any ideas or suggestions will be appreciated (!)
Cordialement
--
-- Jean-Marc LACROIX (06 82 29 98 66) --
-- mailto : jeanmarc.lacr...@free.fr --