Hello,
I have an Odroid C1, and I'm trying to get a recent kernel working on it unsucessfully, everytime I try to access a usb/serial converter the sdcard is unmounted with several errors....
I tried several different sdcards, with varying speeds, kingston, sandisk, unnamed, etc and all these images:
Armbian_20.11.3_Odroidc1_focal_current_5.9.14.img.xz
Armbian_20.11.3_Odroidc1_buster_current_5.9.14.img.xz
Armbian_20.11_Odroidc1_focal_current_5.9.10.img.xz
Armbian_20.11_Odroidc1_focal_current_5.9.6.img.xz
Armbian_20.08_Odroidc1_focal_legacy_5.4.58.img.xz
On this last attempt, I switched root fs into a usb flash drive to try and keep a filesystem running when loosing the sdcard, and the error below is what I managed to gather
root@odroidc1:~# tail -f /var/log/syslog
Jan 15 17:44:17 localhost systemd[1]: Unmounting /boot...
Jan 15 17:44:17 localhost kernel: [ 204.747879] mmc0: new SD card at address c885
Jan 15 17:44:17 localhost kernel: [ 204.748571] mmcblk0: mmc0:c885 SU02G 1.84 GiB
Jan 15 17:44:17 localhost kernel: [ 204.751971] FAT-fs (mmcblk0p1): unable to read boot sector to mark fs as dirty
Jan 15 17:44:17 localhost kernel: [ 204.758515] mmcblk0: p1 p2
Jan 15 17:44:17 localhost systemd[1805]: boot.mount: Succeeded.
Jan 15 17:44:17 localhost systemd[1]: boot.mount: Succeeded.
Jan 15 17:44:17 localhost systemd[1]: Unmounted /boot.
Jan 15 17:44:17 localhost systemd[1]: systemd-fsck@dev-disk-by\x2duuid-6C5E\x2d5289.service: Succeeded.
Jan 15 17:44:17 localhost systemd[1]: Stopped File System Check on /dev/disk/by-uuid/6C5E-5289.
Jan 15 17:45:01 localhost CRON[1995]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Jan 15 17:45:01 localhost CRON[1994]: (root) CMD (/usr/lib/armbian/armbian-truncate-logs)
Jan 15 17:45:21 localhost kernel: [ 268.172029] mmc0: card c885 removed
Jan 15 17:45:27 localhost kernel: [ 274.463901] ------------[ cut here ]------------
Jan 15 17:45:27 localhost kernel: [ 274.463951] WARNING: CPU: 0 PID: 163 at drivers/mmc/host/meson-mx-sdio.c:447 meson_mx_mmc_irq_thread+0x114/0x118
Jan 15 17:45:27 localhost kernel: [ 274.463957] Modules linked in: rfkill cpufreq_userspace cpufreq_conservative cpufreq_powersave zstd zram zsmalloc nls_iso8859_1 nls_cp437 evdev ch341 usbserial meson_ir rc_core iio_hwmon sch_fq_codel ip_tables x_tables uas meson_mx_sdhc pwm_regulator gpio_regulator
Jan 15 17:45:27 localhost kernel: [ 274.464089] CPU: 0 PID: 163 Comm: irq/19-c1108c20 Tainted: G W 5.9.14-meson #20.11.3
Jan 15 17:45:27 localhost kernel: [ 274.464096] Hardware name: Amlogic Meson platform
Jan 15 17:45:27 localhost kernel: [ 274.464138] [<c0310628>] (unwind_backtrace) from [<c030b348>] (show_stack+0x10/0x14)
Jan 15 17:45:27 localhost kernel: [ 274.464167] [<c030b348>] (show_stack) from [<c0ef2d58>] (dump_stack+0xc8/0xdc)
Jan 15 17:45:27 localhost kernel: [ 274.464198] [<c0ef2d58>] (dump_stack) from [<c03363ec>] (__warn+0xd0/0xf4)
Jan 15 17:45:27 localhost kernel: [ 274.464222] [<c03363ec>] (__warn) from [<c0eec2d8>] (warn_slowpath_fmt+0x60/0xbc)
Jan 15 17:45:27 localhost kernel: [ 274.464248] [<c0eec2d8>] (warn_slowpath_fmt) from [<c0ca0780>] (meson_mx_mmc_irq_thread+0x114/0x118)
Jan 15 17:45:27 localhost kernel: [ 274.464275] [<c0ca0780>] (meson_mx_mmc_irq_thread) from [<c0397cc8>] (irq_thread_fn+0x1c/0x78)
Jan 15 17:45:27 localhost kernel: [ 274.464296] [<c0397cc8>] (irq_thread_fn) from [<c0398008>] (irq_thread+0x150/0x224)
Jan 15 17:45:27 localhost kernel: [ 274.464324] [<c0398008>] (irq_thread) from [<c0359008>] (kthread+0x150/0x154)
Jan 15 17:45:27 localhost kernel: [ 274.464347] [<c0359008>] (kthread) from [<c0300148>] (ret_from_fork+0x14/0x2c)
Jan 15 17:45:27 localhost kernel: [ 274.464357] Exception stack(0xedcdffb0 to 0xedcdfff8)
Jan 15 17:45:27 localhost kernel: [ 274.464371] ffa0: 00000000 00000000 00000000 00000000
Jan 15 17:45:27 localhost kernel: [ 274.464390] ffc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Jan 15 17:45:27 localhost kernel: [ 274.464406] ffe0: 00000000 00000000 00000000 00000000 00000013 00000000
Jan 15 17:45:27 localhost kernel: [ 274.464499] ---[ end trace 9893cb5aeda4ab02 ]---
Jan 15 17:45:28 localhost kernel: [ 275.267797] mmc0: new SD card at address c885
Jan 15 17:45:[ 275.273992] debugfs: Directory 'mmcblk0' with parent 'block' already present!
28 localhost kernel: [ 275.268368] mmcblk0: mmc0:c885 SU02G 1.84 GiB
Jan 15 17:45:28 localhost kernel: [ 275.273404] mmcblk0: p1 p2
Jan 15 17:45:28 localhost kernel: [ 275.273992] debugfs: Directory 'mmcblk0' with parent 'block' already present!
Jan 15 17:48:06 localhost chronyd[1222]: Selected source 194.117.47.44
All thile while flashing an arduingo with:
avrdude -p atmega1284p -c arduino -b 57600 -P /dev/ttyUSB0 -U klipper.elf.hex
Any ideas ??