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

Bug#982835: installation-report: doesn't set needed rootflags for flash-kernel when btrfs is used as rootfs



Package: installation-reports
Version: 2.77
Severity: normal
X-Debbugs-Cc: txt.file@txtfile.eu

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?

I created a ext2 for /boot and luks+lvm+btrfs for /. As d-i defaults to use a @rootfs subvolume for btrfs the linux bootargs need to have set "rootflags=subvol=@rootfs". This was not set during configuration of flash-kernel. Without this argument debian failed to boot with an error that no init was found.

   * What outcome did you expect instead?

debian-installer should set "rootflags=subvol=@rootfs" in /etc/default/flash-kernel when btrfs is used for /

   * What did you do to solve the problem?

1. I ran "setenv bootargs rootflags=subvol=@rootfs" in u-boot
2. I ran "boot" in u-boot
3. debian found init successfully
4. I added "rootflags=subvol=@rootfs" to LINUX_KERNEL_CMDLINE_DEFAULTS in /etc/default/flash-kernel
5. I ran flash-kernel
6. I rebooted
7. debian booted successfully

*** End of the template - remove these template lines ***


-- Package-specific info:

Boot method: netboot (sdcard)
Image version: https://d-i.debian.org/daily-images/arm64/daily/netboot/netboot.tar.gz
Date: 2021-02-14

Machine: Pine64+
Partitions: lsblk 
NAME                MAJ:MIN RM  SIZE RO TYPE  MOUNTPOINT
mmcblk0             179:0    0 29.7G  0 disk  
|-mmcblk0p1         179:1    0  487M  0 part  /boot
`-mmcblk0p2         179:2    0 29.2G  0 part  
  `-mmcblk0p2_crypt 254:0    0 29.2G  0 crypt 
    |-sdcard-btrfs  254:1    0  9.3G  0 lvm   /
    `-sdcard-swap   254:2    0  952M  0 lvm   [SWAP]


Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it

Initial boot:           [O]
Detect network card:    [O]
Configure network:      [O]
Detect media:           [O]
Load installer modules: [O]
Clock/timezone setup:   [O]
User/password setup:    [O]
Detect hard drives:     [O]
Partition hard drives:  [O]
Install base system:    [O]
Install tasks:          [O]
Install boot loader:    [O]
Overall install:        [O]

Comments/Problems:

<Description of the install, in prose, and any thoughts, comments
      and ideas you had during the initial install.>


-- 

Please make sure that the hardware-summary log file, and any other
installation logs that you think would be useful are attached to this
report. Please compress large files using gzip.

Once you have filled out this report, mail it to submit@bugs.debian.org.

==============================================
Installer lsb-release:
==============================================
DISTRIB_ID=Debian
DISTRIB_DESCRIPTION="Debian GNU/Linux installer"
DISTRIB_RELEASE="11 (bullseye) - installer build 20210214-02:07:56"
X_INSTALLATION_MEDIUM=netboot

==============================================
Installer hardware-summary:
==============================================
uname -a: Linux txt-pine64 5.10.0-3-arm64 #1 SMP Debian 5.10.13-1 (2021-02-06) aarch64 GNU/Linux
usb-list: 
usb-list: Bus 01 Device 01: EHCI Host Controller [1d6b:0002]
usb-list:    Level 00 Parent 00 Port 00  Class 09(hub  ) Subclass 00 Protocol 00
usb-list:    Manufacturer: Linux 5.10.0-3-arm64 ehci_hcd
usb-list:    Interface 00: Class 09(hub  ) Subclass 00 Protocol 00 Driver hub
usb-list: 
usb-list: Bus 02 Device 01: Generic Platform OHCI controller [1d6b:0001]
usb-list:    Level 00 Parent 00 Port 00  Class 09(hub  ) Subclass 00 Protocol 00
usb-list:    Manufacturer: Linux 5.10.0-3-arm64 ohci_hcd
usb-list:    Interface 00: Class 09(hub  ) Subclass 00 Protocol 00 Driver hub
usb-list: 
usb-list: Bus 03 Device 01: EHCI Host Controller [1d6b:0002]
usb-list:    Level 00 Parent 00 Port 00  Class 09(hub  ) Subclass 00 Protocol 00
usb-list:    Manufacturer: Linux 5.10.0-3-arm64 ehci_hcd
usb-list:    Interface 00: Class 09(hub  ) Subclass 00 Protocol 00 Driver hub
usb-list: 
usb-list: Bus 04 Device 01: MUSB HDRC host driver [1d6b:0002]
usb-list:    Level 00 Parent 00 Port 00  Class 09(hub  ) Subclass 00 Protocol 01
usb-list:    Manufacturer: Linux 5.10.0-3-arm64 musb-hcd
usb-list:    Interface 00: Class 09(hub  ) Subclass 00 Protocol 00 Driver hub
usb-list: 
usb-list: Bus 05 Device 01: Generic Platform OHCI controller [1d6b:0001]
usb-list:    Level 00 Parent 00 Port 00  Class 09(hub  ) Subclass 00 Protocol 00
usb-list:    Manufacturer: Linux 5.10.0-3-arm64 ohci_hcd
usb-list:    Interface 00: Class 09(hub  ) Subclass 00 Protocol 00 Driver hub
lsmod: Module                  Size  Used by
lsmod: ecb                    16384  1
lsmod: xts                    16384  1
lsmod: aes_generic            36864  2
lsmod: libaes                 16384  1 aes_generic
lsmod: dm_crypt               49152  1
lsmod: dm_mod                131072  9 dm_crypt
lsmod: md_mod                172032  0
lsmod: xfs                  1359872  0
lsmod: jfs                   192512  0
lsmod: btrfs                1392640  1
lsmod: xor                    20480  1 btrfs
lsmod: xor_neon               16384  1 xor
lsmod: raid6_pq              106496  1 btrfs
lsmod: libcrc32c              16384  2 btrfs,xfs
lsmod: vfat                   28672  0
lsmod: fat                    81920  1 vfat
lsmod: ext4                  761856  1
lsmod: crc16                  16384  1 ext4
lsmod: mbcache                24576  1 ext4
lsmod: jbd2                  143360  1 ext4
lsmod: crc32c_generic         16384  3
lsmod: usb_storage            73728  0
lsmod: scsi_mod              221184  1 usb_storage
lsmod: realtek                28672  1
lsmod: pinctrl_axp209         16384  0
lsmod: axp20x_regulator       49152  2
lsmod: dwmac_sun8i            28672  0
lsmod: mdio_mux               16384  1 dwmac_sun8i
lsmod: stmmac_platform        24576  1 dwmac_sun8i
lsmod: stmmac                196608  2 dwmac_sun8i,stmmac_platform
lsmod: sunxi                  24576  0
lsmod: pcs_xpcs               20480  1 stmmac
lsmod: phy_generic            20480  2 sunxi
lsmod: ptp                    28672  1 stmmac
lsmod: musb_hdrc             122880  1 sunxi
lsmod: pps_core               24576  1 ptp
lsmod: phylink                36864  1 stmmac
lsmod: axp20x_rsb             16384  0
lsmod: of_mdio                24576  5 stmmac_platform,mdio_mux,stmmac,phylink
lsmod: axp20x_i2c             16384  0
lsmod: ohci_platform          16384  0
lsmod: fixed_phy              16384  1 of_mdio
lsmod: udc_core               53248  1 musb_hdrc
lsmod: axp20x                 36864  2 axp20x_rsb,axp20x_i2c
lsmod: ohci_hcd               53248  1 ohci_platform
lsmod: libphy                 94208  7 of_mdio,realtek,mdio_mux,stmmac,fixed_phy,phylink,pcs_xpcs
lsmod: ehci_platform          20480  0
lsmod: ehci_hcd               90112  1 ehci_platform
lsmod: i2c_mv64xxx            24576  0
lsmod: sun4i_drm              20480  0
lsmod: sun4i_frontend         20480  1 sun4i_drm
lsmod: usbcore               266240  6 ohci_platform,ohci_hcd,ehci_platform,usb_storage,ehci_hcd,musb_hdrc
lsmod: sun4i_tcon             36864  1 sun4i_drm
lsmod: sun8i_tcon_top         20480  2 sun4i_tcon,sun4i_drm
lsmod: sunxi_wdt              20480  0
lsmod: sun8i_mixer            40960  0
lsmod: drm_kms_helper        196608  4 sun8i_mixer,sun4i_frontend,sun4i_tcon,sun4i_drm
lsmod: phy_sun4i_usb          24576  4 sunxi
lsmod: drm                   450560  5 sun8i_mixer,drm_kms_helper,sun4i_frontend,sun4i_tcon,sun4i_drm
lsmod: sunxi_mmc              32768  0
lsmod: usb_common             16384  8 ohci_hcd,sunxi,ehci_platform,phy_sun4i_usb,usbcore,ehci_hcd,musb_hdrc,udc_core
df: Filesystem           1K-blocks      Used Available Use% Mounted on
df: tmpfs                   196888        52    196836   0% /run
df: devtmpfs                934832         0    934832   0% /dev
df: /dev/mapper/sdcard-btrfs
df:                        9764864    353892   8902572   4% /target
df: /dev/mmcblk0p1          480618     57069    418563  12% /target/boot
df: /dev/mapper/sdcard-btrfs
df:                        9764864    353892   8902572   4% /dev/.static/dev
df: devtmpfs                934832         0    934832   0% /target/dev
free:               total        used        free      shared  buff/cache   available
free: Mem:        1968872      202236      428192      157332     1338444     1518780
free: Swap:        974844        2304      972540
/proc/cmdline: 
/proc/cpuinfo: processor	: 0
/proc/cpuinfo: BogoMIPS	: 48.00
/proc/cpuinfo: Features	: fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
/proc/cpuinfo: CPU implementer	: 0x41
/proc/cpuinfo: CPU architecture: 8
/proc/cpuinfo: CPU variant	: 0x0
/proc/cpuinfo: CPU part	: 0xd03
/proc/cpuinfo: CPU revision	: 4
/proc/cpuinfo: 
/proc/cpuinfo: processor	: 1
/proc/cpuinfo: BogoMIPS	: 48.00
/proc/cpuinfo: Features	: fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
/proc/cpuinfo: CPU implementer	: 0x41
/proc/cpuinfo: CPU architecture: 8
/proc/cpuinfo: CPU variant	: 0x0
/proc/cpuinfo: CPU part	: 0xd03
/proc/cpuinfo: CPU revision	: 4
/proc/cpuinfo: 
/proc/cpuinfo: processor	: 2
/proc/cpuinfo: BogoMIPS	: 48.00
/proc/cpuinfo: Features	: fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
/proc/cpuinfo: CPU implementer	: 0x41
/proc/cpuinfo: CPU architecture: 8
/proc/cpuinfo: CPU variant	: 0x0
/proc/cpuinfo: CPU part	: 0xd03
/proc/cpuinfo: CPU revision	: 4
/proc/cpuinfo: 
/proc/cpuinfo: processor	: 3
/proc/cpuinfo: BogoMIPS	: 48.00
/proc/cpuinfo: Features	: fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
/proc/cpuinfo: CPU implementer	: 0x41
/proc/cpuinfo: CPU architecture: 8
/proc/cpuinfo: CPU variant	: 0x0
/proc/cpuinfo: CPU part	: 0xd03
/proc/cpuinfo: CPU revision	: 4
/proc/cpuinfo: 
/proc/device-tree/model: Pine64+À?/proc/iomem: 00018000-0003ffff : 18000.sram sram@18000
/proc/iomem: 01000000-0100ffff : 1000000.clock clock@0
/proc/iomem: 01c00000-01c00fff : 1c00000.syscon syscon@1c00000
/proc/iomem: 01c0f000-01c0ffff : 1c0f000.mmc mmc@1c0f000
/proc/iomem: 01c17000-01c17fff : 1c17000.mailbox mailbox@1c17000
/proc/iomem: 01c19000-01c193ff : usb@1c19000
/proc/iomem:   01c19000-01c193ff : musb-hdrc.2.auto usb@1c19000
/proc/iomem: 01c19400-01c19413 : 1c19400.phy phy_ctrl
/proc/iomem: 01c1a000-01c1a0ff : 1c1a000.usb usb@1c1a000
/proc/iomem: 01c1a400-01c1a4ff : 1c1a400.usb usb@1c1a400
/proc/iomem: 01c1a800-01c1a803 : 1c19400.phy pmu0
/proc/iomem: 01c1b000-01c1b0ff : 1c1b000.usb usb@1c1b000
/proc/iomem: 01c1b400-01c1b4ff : 1c1b400.usb usb@1c1b400
/proc/iomem: 01c1b800-01c1b803 : 1c19400.phy pmu1
/proc/iomem: 01c20000-01c203ff : 1c20000.clock clock@1c20000
/proc/iomem: 01c20800-01c20bff : 1c20800.pinctrl pinctrl@1c20800
/proc/iomem: 01c20ca0-01c20cbf : 1c20ca0.watchdog watchdog@1c20ca0
/proc/iomem: 01c28000-01c2801f : serial
/proc/iomem: 01c2b000-01c2b3ff : 1c2b000.i2c i2c@1c2b000
/proc/iomem: 01c30000-01c3ffff : 1c30000.ethernet ethernet@1c30000
/proc/iomem: 01d00000-01d3ffff : 1d00000.sram sram@1d00000
/proc/iomem: 01f00000-01f003ff : rtc@1f00000
/proc/iomem: 01f00c00-01f00fff : interrupt-controller@1f00c00
/proc/iomem: 01f01400-01f014ff : clock@1f01400
/proc/iomem: 01f02c00-01f02fff : 1f02c00.pinctrl pinctrl@1f02c00
/proc/iomem: 01f03400-01f037ff : 1f03400.rsb rsb@1f03400
/proc/iomem: 40000000-bfffffff : System RAM
/proc/iomem:   40200000-4142ffff : Kernel code
/proc/iomem:   41430000-4195ffff : reserved
/proc/iomem:   41960000-41c5ffff : Kernel data
/proc/iomem:   48444000-4844bfff : reserved
/proc/iomem:   4844e000-49ffffff : reserved
/proc/iomem:   7bfff000-7fffefff : reserved
/proc/iomem:   b9000000-baffffff : reserved
/proc/iomem:   bb7ec000-bb84bfff : reserved
/proc/iomem:   bb84c000-bbb4cfff : reserved
/proc/iomem:   bbb4d000-bbbd0fff : reserved
/proc/iomem:   bbbd3000-bbbd4fff : reserved
/proc/iomem:   bbbd5000-bbbd5fff : reserved
/proc/iomem:   bbbd6000-bbbddfff : reserved
/proc/iomem:   bbbde000-bfffffff : reserved
/proc/interrupts:            CPU0       CPU1       CPU2       CPU3       
/proc/interrupts:   9:          0          0          0          0     GICv2  25 Level     vgic
/proc/interrupts:  12:     589779     578117     460998     465159     GICv2  30 Level     arch_timer
/proc/interrupts:  13:          0          0          0          0     GICv2  27 Level     kvm guest vtimer
/proc/interrupts:  15:          0          0          0          0     GICv2 148 Level     arm-pmu
/proc/interrupts:  16:          0          0          0          0     GICv2 149 Level     arm-pmu
/proc/interrupts:  17:          0          0          0          0     GICv2 150 Level     arm-pmu
/proc/interrupts:  18:          0          0          0          0     GICv2 151 Level     arm-pmu
/proc/interrupts:  23:    4620805          0          0          0     GICv2  92 Level     sunxi-mmc
/proc/interrupts:  25:          0          0          0          0     GICv2  81 Level     1c17000.mailbox
/proc/interrupts:  26:          0          0          0          0     GICv2 103 Level     musb-hdrc.2.auto
/proc/interrupts:  27:          0          0          0          0     GICv2 104 Level     ehci_hcd:usb1
/proc/interrupts:  28:          0          0          0          0     GICv2 105 Level     ohci_hcd:usb2
/proc/interrupts:  29:          0          0          0          0     GICv2 106 Level     ehci_hcd:usb3
/proc/interrupts:  30:          0          0          0          0     GICv2 107 Level     ohci_hcd:usb5
/proc/interrupts:  37:      15810          0          0          0     GICv2  32 Level     ttyS0
/proc/interrupts:  38:          0          0          0          0     GICv2  39 Level     mv64xxx_i2c
/proc/interrupts:  39:     145203          0          0          0     GICv2 114 Level     eth0
/proc/interrupts:  49:          0          0          0          0     GICv2  72 Level     1f00000.rtc
/proc/interrupts:  52:         57          0          0          0     GICv2  71 Level     sunxi-rsb
/proc/interrupts: 183:          1          0          0          0  sunxi-nmi   0 Level     axp803
/proc/interrupts: IPI0:    222136     547970     540587     539779       Rescheduling interrupts
/proc/interrupts: IPI1:    118958     119764     104620     110021       Function call interrupts
/proc/interrupts: IPI2:         0          0          0          0       CPU stop interrupts
/proc/interrupts: IPI3:         0          0          0          0       CPU stop (for crash dump) interrupts
/proc/interrupts: IPI4:         0          0          0          0       Timer broadcast interrupts
/proc/interrupts: IPI5:         0          0          0          0       IRQ work interrupts
/proc/interrupts: IPI6:         0          0          0          0       CPU wake-up interrupts
/proc/interrupts: Err:          0
/proc/meminfo: MemTotal:        1968872 kB
/proc/meminfo: MemFree:          427844 kB
/proc/meminfo: MemAvailable:    1518432 kB
/proc/meminfo: Buffers:            4000 kB
/proc/meminfo: Cached:          1334444 kB
/proc/meminfo: SwapCached:          260 kB
/proc/meminfo: Active:           919964 kB
/proc/meminfo: Inactive:         455084 kB
/proc/meminfo: Active(anon):     102924 kB
/proc/meminfo: Inactive(anon):    91012 kB
/proc/meminfo: Active(file):     817040 kB
/proc/meminfo: Inactive(file):   364072 kB
/proc/meminfo: Unevictable:           0 kB
/proc/meminfo: Mlocked:               0 kB
/proc/meminfo: SwapTotal:        974844 kB
/proc/meminfo: SwapFree:         972540 kB
/proc/meminfo: Dirty:              1260 kB
/proc/meminfo: Writeback:             0 kB
/proc/meminfo: AnonPages:         36356 kB
/proc/meminfo: Mapped:             5224 kB
/proc/meminfo: Shmem:            157332 kB
/proc/meminfo: KReclaimable:      74584 kB
/proc/meminfo: Slab:             123168 kB
/proc/meminfo: SReclaimable:      74584 kB
/proc/meminfo: SUnreclaim:        48584 kB
/proc/meminfo: KernelStack:        2368 kB
/proc/meminfo: PageTables:         1164 kB
/proc/meminfo: NFS_Unstable:          0 kB
/proc/meminfo: Bounce:                0 kB
/proc/meminfo: WritebackTmp:          0 kB
/proc/meminfo: CommitLimit:     1959280 kB
/proc/meminfo: Committed_AS:     205100 kB
/proc/meminfo: VmallocTotal:   135290159040 kB
/proc/meminfo: VmallocUsed:       26092 kB
/proc/meminfo: VmallocChunk:          0 kB
/proc/meminfo: Percpu:              624 kB
/proc/meminfo: HardwareCorrupted:     0 kB
/proc/meminfo: AnonHugePages:     18432 kB
/proc/meminfo: ShmemHugePages:        0 kB
/proc/meminfo: ShmemPmdMapped:        0 kB
/proc/meminfo: FileHugePages:         0 kB
/proc/meminfo: FilePmdMapped:         0 kB
/proc/meminfo: CmaTotal:          65536 kB
/proc/meminfo: CmaFree:           45644 kB
/proc/meminfo: HugePages_Total:       0
/proc/meminfo: HugePages_Free:        0
/proc/meminfo: HugePages_Rsvd:        0
/proc/meminfo: HugePages_Surp:        0
/proc/meminfo: Hugepagesize:       2048 kB
/proc/meminfo: Hugetlb:               0 kB

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: arm64 (aarch64)

Kernel: Linux 5.10.0-3-arm64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_CRAP
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

installation-report depends on no packages.

Versions of packages installation-report recommends:
ii  pciutils   1:3.7.0-5
ii  reportbug  7.9.0

installation-report suggests no packages.

-- no debconf information


Reply to: