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

Bug#1027838: installation-reports: Odroid C2 install mostly successful



Package: installation-reports
Severity: normal
X-Debbugs-Cc: vagrant@debian.org

Boot method: microSD/USB
Image version: https://d-i.debian.org/daily-images/arm64/20230103-02:24/netboot/mini.iso
Date: 2022-01-03 ~21:00 UTC

Machine: Hardkernel Odroid C2
Partitions: 
Filesystem                    Type     1K-blocks    Used Available Use% Mounted on
udev                          devtmpfs    826416       0    826416   0% /dev
tmpfs                         tmpfs       197476     552    196924   1% /run
/dev/mapper/odc2a-odc2x--root ext4       5676852 1530324   3837280  29% /
tmpfs                         tmpfs       987360       0    987360   0% /dev/shm
tmpfs                         tmpfs         5120       0      5120   0% /run/lock
/dev/mmcblk1p4                vfat        487160   41952    445208   9% /boot/efi
tmpfs                         tmpfs       197472       0    197472   0% /run/user/1000

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:           [ ]
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:    [E]
Overall install:        [O]

Comments/Problems:

Using u-boot-amlogic 2023.01~rc4+dfsg-1 on microSD as the EFI
implementation, I loaded the mini.iso onto a USB stick and booted
debian-installer from that.

Failed installing grub, as the u-boot EFI implementation did not have
a place to save variables. Worked around by selecting "continue
without a bootloader" and manually running:

  chroot grub-install --force /dev/mmcblk1
  chroot update-grub

Grub did not display on the serial console at first boot, fixed by
adding "GRUB_TERMINAL=serial" to /etc/default/grub.d/serial.cfg and
re-running update-grub.

Ethernet worked from debian-installer just fine, but not reliably from
the booted system. Copied the /dtb/ directory from the EFI partition
on the debian-installer media to /boot/efi/dtb/ (which matches the
installed kernel), and then ethernet worked on the next boot. Could
have also copied the dtb files from /usr/lib/linux-image-VERSION too,
probably.

Would also be possible to install using SD card images once
https://bugs.debian.org/1027176 is fixed or worked around.


live well,
  vagrant

-- Package-specific info:

==============================================
Installer lsb-release:
==============================================
DISTRIB_ID=Debian
DISTRIB_DESCRIPTION="Debian GNU/Linux installer"
DISTRIB_RELEASE="12 (bookworm) - installer build 20230103-02:04:48"
X_INSTALLATION_MEDIUM=netboot

==============================================
Installer hardware-summary:
==============================================
uname -a: Linux odc2x 6.0.0-6-arm64 #1 SMP Debian 6.0.12-1 (2022-12-09) aarch64 GNU/Linux
usb-list: 
usb-list: Bus 01 Device 01: DWC OTG Controller [1d6b:0002]
usb-list:    Level 00 Parent 00 Port 00  Class 09(hub  ) Subclass 00 Protocol 01
usb-list:    Manufacturer: Linux 6.0.0-6-arm64 dwc2_hsotg
usb-list:    Interface 00: Class 09(hub  ) Subclass 00 Protocol 00 Driver hub
usb-list: 
usb-list: Bus 01 Device 02: USB2.0 Hub [05e3:0610]
usb-list:    Level 01 Parent 01 Port 00  Class 09(hub  ) Subclass 00 Protocol 02
usb-list:    Interface 00: Class 09(hub  ) Subclass 00 Protocol 02 Driver hub
lsmod: Module                  Size  Used by
lsmod: fuse                  135168  0
lsmod: nls_ascii              16384  1
lsmod: nls_cp437              20480  1
lsmod: efivarfs               20480  1
lsmod: dm_mod                143360  14
lsmod: dax                    32768  1 dm_mod
lsmod: md_mod                167936  0
lsmod: xfs                  1392640  0
lsmod: jfs                   196608  0
lsmod: btrfs                1486848  0
lsmod: xor                    20480  1 btrfs
lsmod: xor_neon               20480  1 xor
lsmod: raid6_pq              106496  1 btrfs
lsmod: zstd_compress         258048  1 btrfs
lsmod: libcrc32c              16384  2 btrfs,xfs
lsmod: vfat                   28672  1
lsmod: fat                    81920  1 vfat
lsmod: ext4                  778240  1
lsmod: crc16                  16384  1 ext4
lsmod: mbcache                24576  1 ext4
lsmod: jbd2                  143360  1 ext4
lsmod: crc32c_generic         16384  3
lsmod: sd_mod                 57344  0
lsmod: t10_pi                 16384  1 sd_mod
lsmod: crc64_rocksoft         20480  1 t10_pi
lsmod: crc64                  20480  1 crc64_rocksoft
lsmod: crc_t10dif             20480  1 t10_pi
lsmod: crct10dif_common       16384  1 crc_t10dif
lsmod: uas                    28672  0
lsmod: usb_storage            73728  1 uas
lsmod: scsi_mod              229376  3 sd_mod,usb_storage,uas
lsmod: scsi_common            16384  3 scsi_mod,usb_storage,uas
lsmod: dwmac_generic          16384  0
lsmod: realtek                32768  1
lsmod: dwmac_meson8b          16384  0
lsmod: stmmac_platform        24576  2 dwmac_meson8b,dwmac_generic
lsmod: stmmac                237568  3 dwmac_meson8b,stmmac_platform,dwmac_generic
lsmod: dwc2                  237568  0
lsmod: pcs_xpcs               24576  1 stmmac
lsmod: phylink                45056  2 stmmac,pcs_xpcs
lsmod: udc_core               53248  1 dwc2
lsmod: of_mdio                20480  3 stmmac_platform,stmmac
lsmod: roles                  16384  1 dwc2
lsmod: fixed_phy              16384  1 of_mdio
lsmod: meson_gx_mmc           28672  0
lsmod: fwnode_mdio            20480  1 of_mdio
lsmod: ptp                    32768  1 stmmac
lsmod: usbcore               270336  3 dwc2,usb_storage,uas
lsmod: pps_core               24576  1 ptp
lsmod: meson_canvas           20480  0
lsmod: meson_rng              16384  0
lsmod: libphy                 98304  7 fwnode_mdio,of_mdio,realtek,stmmac,fixed_phy,phylink,pcs_xpcs
lsmod: rng_core               24576  1 meson_rng
lsmod: phy_meson8b_usb2       16384  2
lsmod: usb_common             16384  4 dwc2,usbcore,phy_meson8b_usb2,udc_core
lsmod: fixed                  20480  11
lsmod: gpio_regulator         16384  1
df: Filesystem           1K-blocks      Used Available Use% Mounted on
df: tmpfs                   197480        72    197408   0% /run
df: devtmpfs                826352         0    826352   0% /dev
df: /dev/mapper/odc2a-odc2x--root
df:                        5676852   1287468   4080136  24% /target
df: /dev/mmcblk1p4          487160     16192    470968   3% /target/boot/efi
df: /dev/mapper/odc2a-odc2x--root
df:                        5676852   1287468   4080136  24% /dev/.static/dev
df: devtmpfs                826352         0    826352   0% /target/dev
df: tmpfs                   197480        72    197408   0% /target/run
free:               total        used        free      shared  buff/cache   available
free: Mem:        1974764      117920      381292      248684     1475552     1518048
free: Swap:       5242876        1024     5241852
/proc/cmdline: BOOT_IMAGE=/linux --- quiet
/proc/cpuinfo: processor	: 0
/proc/cpuinfo: BogoMIPS	: 48.00
/proc/cpuinfo: Features	: fp asimd evtstrm 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 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 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 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: Hardkernel ODROID-C2


Reply to: