[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1108924: initramfs-tools: Cannot boot Trixie d-i rc2 USB storage target riscv64 MODULES=most (missing: cdns3 cdns3_starfive)



Package: initramfs-tools
Version: 0.148.2
Severity: normal
X-Debbugs-Cc: debian-riscv@lists.debian.org, lucent@gmail.com
User: debian-riscv@lists.debian.org
Usertags: riscv64

Dear Maintainer,

Installed Debian Trixie d-i rc2 (dvd-1) on USB storage is not bootable due
to missing modules from initramfs:

cdns3_starfive
cdns3

Manually adding the above module names to /etc/initramfs-tools/modules and
then `update-initramfs -u` results in a bootable system.

$ grep MODULES= /etc/initramfs-tools/initramfs.conf
MODULES=most

Tested failure on Debian Trixie supported hardware Pine64 Star64 with
upstream U-Boot (env fdtfile=invalid to inherit the newer
devicetree-rebasing dtb).

Note the above USB support on Pine64 Star64 is directly part of StarFive
JH7110 CPU and differs from StarFive VisionFive2 which uses an external
controller attached to the PCIe bus.

-- Package-specific info:
-- initramfs sizes
-rw-r--r-- 1 root root 43M Jun 17 17:27 /boot/initrd.img-6.12.32-riscv64
-rw-r--r-- 1 root root 43M Jun 28 14:26 /boot/initrd.img-6.12.33+deb13-riscv64
-- /proc/cmdline
BOOT_IMAGE=/boot/vmlinux-6.12.33+deb13-riscv64 root=UUID=e7f17542-3ac6-4d3b-8457-b3fc416051cf ro quiet

-- resume
RESUME=UUID=0b154a25-ff8a-4391-8923-85f779682ab6
-- /proc/filesystems
	fuseblk
	btrfs
	ext3
	ext2
	ext4
	vfat

-- lsmod
Module                  Size  Used by
xt_conntrack           28672  1
xt_MASQUERADE          24576  1
nf_conntrack_netlink   417792  0
xfrm_user             491520  1
xfrm_algo              36864  1 xfrm_user
xt_addrtype            24576  2
nft_compat             86016  4
br_netfilter          266240  0
nft_masq               20480  2
nft_chain_nat          16384  5
nf_nat                286720  3 nft_masq,nft_chain_nat,xt_MASQUERADE
nf_conntrack         1286144  5 xt_conntrack,nf_nat,nf_conntrack_netlink,nft_masq,xt_MASQUERADE
nf_defrag_ipv6        114688  1 nf_conntrack
nf_defrag_ipv4         24576  1 nf_conntrack
bridge               2662400  1 br_netfilter
stp                    24576  1 bridge
llc                    49152  2 bridge,stp
nf_tables            2768896  88 nft_compat,nft_masq,nft_chain_nat
overlay              1323008  0
binfmt_misc           122880  1
cdns3                 942080  0
nls_ascii              16384  1
nls_cp437              20480  1
vfat                  135168  1
fat                   598016  1 vfat
snd_soc_simple_card    61440  0
udc_core              299008  1 cdns3
snd_soc_simple_card_utils   106496  1 snd_soc_simple_card
jh7110_pwmdac          53248  2
snd_soc_spdif_tx       16384  1
cdns_usb_common       135168  1 cdns3
snd_soc_core         1703936  4 snd_soc_spdif_tx,snd_soc_simple_card_utils,snd_soc_simple_card,jh7110_pwmdac
roles                  40960  1 cdns_usb_common
usbcore              2215936  1 cdns_usb_common
ofpart                 36864  0
snd_compress          110592  1 snd_soc_core
snd_pcm_dmaengine      40960  1 snd_soc_core
spi_nor               622592  0
snd_pcm               970752  4 snd_compress,snd_soc_simple_card_utils,snd_soc_core,snd_pcm_dmaengine
snd_timer             356352  1 snd_pcm
mtd                   479232  5 spi_nor,ofpart
snd                   749568  4 snd_timer,snd_compress,snd_soc_core,snd_pcm
cdns3_starfive         28672  0
usb_common             49152  5 cdns3_starfive,cdns_usb_common,usbcore,cdns3,udc_core
jh7110_trng            61440  0
sfctemp                36864  0
cpufreq_dt             45056  0
soundcore              57344  1 snd
drm                  3608576  0
configfs              462848  1
nfnetlink             118784  5 nft_compat,nf_conntrack_netlink,nf_tables
efivarfs              110592  1
ip_tables             131072  0
x_tables              237568  5 xt_conntrack,nft_compat,xt_addrtype,ip_tables,xt_MASQUERADE
autofs4               434176  2
ext4                 7372800  1
crc16                  12288  1 ext4
mbcache                81920  1 ext4
jbd2                 1347584  1 ext4
btrfs               17002496  0
blake2b_generic       155648  0
xor                    32768  1 btrfs
zlib_deflate          147456  1 btrfs
raid6_pq              167936  1 btrfs
libcrc32c              16384  4 nf_conntrack,nf_nat,btrfs,nf_tables
crc32c_generic         20480  3
motorcomm             204800  1
dwmac_starfive         20480  0
nvme                  352256  4
stmmac_platform        90112  1 dwmac_starfive
stmmac               2605056  3 dwmac_starfive,stmmac_platform
nvme_core            1261568  5 nvme
axp20x_regulator       94208  6
dw_mmc_starfive        32768  0
pcs_xpcs              188416  1 stmmac
dw_mmc_pltfm           20480  1 dw_mmc_starfive
dw_mmc                397312  1 dw_mmc_pltfm
axp20x_i2c             16384  0
mdio_devres            20480  1 pcs_xpcs
axp20x                 61440  1 axp20x_i2c
of_mdio                45056  3 mdio_devres,stmmac_platform,stmmac
nvme_auth              73728  1 nvme_core
mfd_core               40960  1 axp20x
fixed_phy              40960  1 of_mdio
phylink               348160  2 stmmac,pcs_xpcs
regmap_i2c             36864  1 axp20x_i2c
mmc_core             1183744  2 dw_mmc,dw_mmc_starfive
fwnode_mdio            28672  1 of_mdio
libphy                806912  8 mdio_devres,fwnode_mdio,of_mdio,stmmac,fixed_phy,motorcomm,phylink,pcs_xpcs
starfive_wdt           81920  0
dw_axi_dmac_platform   282624  1
watchdog              229376  1 starfive_wdt
phy_jh7110_dphy_rx     45056  0
clk_starfive_jh7110_isp    24576  3
clk_starfive_jh7110_aon    20480  3
clk_starfive_jh7110_vout    24576  0
spi_cadence_quadspi   241664  0
virt_dma               49152  1 dw_axi_dmac_platform
clk_starfive_jh7110_stg    20480  16
i2c_designware_platform    32768  0
phy_jh7110_pcie        32768  2
phy_jh7110_usb         32768  1

-- /etc/initramfs-tools/modules

-- /etc/kernel-img.conf
# Kernel image management overrides
# See kernel-img.conf(5) for details
do_symlinks = yes
do_bootloader = no
do_initrd = yes
link_in_boot = yes

-- /etc/initramfs-tools/initramfs.conf
MODULES=most
BUSYBOX=auto
KEYMAP=n
COMPRESS=zstd
DEVICE=
NFSROOT=auto
RUNSIZE=10%
FSTYPE=auto

-- /etc/initramfs-tools/update-initramfs.conf
update_initramfs=yes
backup_initramfs=no

-- mkinitramfs hooks
/etc/initramfs-tools/hooks/:
resize2fs

/usr/share/initramfs-tools/hooks:
btrfs
dmsetup
fsck
fuse
keymap
klibc-utils
kmod
resume
thermal
udev
zz-busybox


-- System Information:
Debian Release: 13.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: riscv64

Kernel: Linux 6.12.33+deb13-riscv64 (SMP w/4 CPU threads)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (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 initramfs-tools depends on:
ii  initramfs-tools-core  0.148.2
ii  linux-base            4.12

initramfs-tools recommends no packages.

Versions of packages initramfs-tools suggests:
ii  bash-completion  1:2.16.0-7

-- no debconf information


Reply to: