ophub / amlogic-s9xxx-armbian

Support for Armbian in Amlogic, Rockchip and Allwinner boxes. Support a311d, s922x, s905x3, s905x2, s912, s905d, s905x, s905w, s905, s905l, rk3588, rk3568, rk3399, rk3328, h6, etc.
GNU General Public License v2.0
6.22k stars 1.99k forks source link

armbian装好后再用u盘重装,报Input/output error #2557

Closed m986883511 closed 2 months ago

m986883511 commented 2 months ago

Device Information | 设备信息

SOC: [e.g. S905L3A] Model [e.g. CM311-1A] Armbian Version | 系统版本

# cat /etc/os-release 
PRETTY_NAME="Armbian 22.11.0-trunk Jammy"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.1 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy

我第一次重装的时候 改过分区,想剩余10%可用空间。 参考我提的这个问题: https://github.com/ophub/amlogic-s9xxx-armbian/issues/2536 ,但安装失败,报Input/output error了,拔掉u盘进不来系统。

然后我把分区剩余恢复为100,也还是报Input/output error,不知道怎么救回来了.

root@armbian:/# armbian-install
[ STEPS ] Start install armbian to emmc...
[ STEPS ] Start initializing the environment...
[ INFO ] Use mainline u-boot: [ no ]
[ INFO ] DEV_EMMC: [ /dev/mmcblk2 ]
[ STEPS ] Start selecting device...
--------------------------------------------------------------------------------------
ID    SOC        MODEL                          DTB
--------------------------------------------------------------------------------------
101   s905d      Phicomm-N1                     meson-gxl-s905d-phicomm-n1.dtb
102   s905d      Phicomm-N1-(DMA-thresh)        meson-gxl-s905d-phicomm-n1-thresh.dtb
103   s905x      HG680P                         meson-gxl-s905x-p212.dtb
104   s905w      TX3-Mini                       meson-gxl-s905w-tx3-mini.dtb
105   s905d      MECOOL-KI-Pro                  meson-gxl-s905d-mecool-ki-pro.dtb
106   s905x      T95                            meson-gxl-s905x-p212.dtb
107   s905x      B860H                          meson-gxl-s905x-b860h.dtb
108   s905x      TBee                           meson-gxl-s905x-tbee.dtb
109   s905w      W95                            meson-gxl-s905w-p281.dtb
110   s905w      X96-Mini                       meson-gxl-s905w-x96-mini.dtb
201   s912       Octopus-Planet                 meson-gxm-octopus-planet.dtb
202   s912       Octopus-Planet-(FAKE)          meson-gxm-octopus-planet.dtb
203   s912       H96-Pro-Plus                   meson-gxm-octopus-planet.dtb
204   s912       Tanix-TX92                     meson-gxm-octopus-planet.dtb
205   s912       VORKE-Z6-Plus                  meson-gxm-octopus-planet.dtb
206   s912       MECOOL-M8S-Pro-L               meson-gxm-q201.dtb
207   s912       T95Z-Plus                      meson-gxm-t95z-plus.dtb
208   s912       TX9-Pro                        meson-gxm-tx9-pro.dtb
209   s912       Nexbox-A1-&-A95X               meson-gxm-nexbox-a1.dtb
210   s912       Nexbox-A95X-A2                 meson-gxm-nexbox-a2.dtb
211   s912       Tanix-TX8-MAX                  meson-gxm-tx8-max.dtb
212   s912       Vontar-X92                     meson-gxm-x92.dtb
301   s905x2     X96-Max-4GB                    meson-g12a-x96-max.dtb
302   s905x2     X96-Max-2GB                    meson-g12a-x96-max-rmii.dtb
303   s905x2     MECOOL-KM3-4G                  meson-g12a-sei510.dtb
304   s905l3a    E900V22C-D                     meson-g12a-s905l3a-e900v22c.dtb
305   s905l3a    CM311-1a-YST                   meson-g12a-s905l3a-cm311.dtb
306   s905l3b    M302A/M304A                    meson-gxl-s905l3b-m302a.dtb
401   s922x      Beelink-GT-King                meson-g12b-gtking.dtb
402   s922x      Beelink-GT-King-Pro            meson-g12b-gtking-pro.dtb
403   s922x      Beelink-GT-King-Pro-H          meson-g12b-gtking-pro-h.dtb
404   s922x      Beelink-GT-King-Pro-Rev_A      meson-g12b-gtking-pro.dtb
405   s922x      Hardkernel-ODroid-N2           meson-g12b-odroid-n2.dtb
406   s922x      UGOOS-AM6-Plus                 meson-g12b-ugoos-am6.dtb
407   a311d      Khadas-VIM3                    meson-g12b-a311d-khadas-vim3.dtb
501   s905x3     X96-Max+                       meson-sm1-x96-max-plus.dtb
502   s905x3     X96-Max+-(OverClock)           meson-sm1-x96-max-plus-oc.dtb
503   s905x3     X96-Max+-(IP1001M-phy)         meson-sm1-x96-max-plus-ip1001m.dtb
504   s905x3     X96-Max+-Q2                    meson-sm1-x96-max-plus-q2.dtb
505   s905x3     X96-Max+-100Mb                 meson-sm1-x96-air.dtb
506   s905x3     HK1-Box                        meson-sm1-hk1box-vontar-x3.dtb
507   s905x3     HK1-Box-(OverClock)            meson-sm1-hk1box-vontar-x3-oc.dtb
508   s905x3     H96-Max-X3                     meson-sm1-h96-max-x3.dtb
509   s905x3     H96-Max-X3-(OverClock)         meson-sm1-h96-max-x3-oc.dtb
510   s905x3     Ugoos-X3                       meson-sm1-ugoos-x3.dtb
511   s905x3     Ugoos-X3-(OverClock)           meson-sm1-ugoos-x3-oc.dtb
512   s905x3     TX3-1Gb                        meson-sm1-tx3-qz.dtb
513   s905x3     TX3-1Gb-(OverClock)            meson-sm1-tx3-qz-oc.dtb
514   s905x3     TX3-100Mb                      meson-sm1-tx3-bz.dtb
515   s905x3     TX3-100Mb-(OverClock)          meson-sm1-tx3-bz-oc.dtb
516   s905x3     X96-Air-1Gb                    meson-sm1-x96-air-gbit.dtb
517   s905x3     X96-Air-100Mb                  meson-sm1-x96-air.dtb
518   s905x3     X96-Air-Q1000                  meson-sm1-x96-max-plus-q2.dtb
519   s905x3     A95XF3-Air-1Gb                 meson-sm1-a95xf3-air-gbit.dtb
520   s905x3     A95XF3-Air-100Mb               meson-sm1-a95xf3-air.dtb
521   s905x3     Tencent-Aurora-3Pro            meson-sm1-skyworth-lb2004-a4091.dtb
0     Other      Customize                      Enter-custom-dtb-name
--------------------------------------------------------------------------------------
[ OPTIONS ] Please Input ID: 305
[ INFO ] Input Box ID: [ 305 ]
[ INFO ] FDTFILE: [ meson-g12a-s905l3a-cm311.dtb ]
[ INFO ] MAINLINE_UBOOT: [  ]
[ INFO ] ANDROID_UBOOT:  [  ]
[ INFO ] UBOOT_OVERLOAD: [ u-boot-e900v22c.bin ]
[ INFO ] K510: [ 0 ]
[ STEPS ] Start selecting file system type...
-----------------------------------------------
ID  TYPE
-----------------------------------------------
1   ext4
2   btrfs
-----------------------------------------------
[ OPTIONS ] Please Input ID: 1
[ INFO ] Input Type ID: [ 1 ]
[ INFO ] The type of file system: [ ext4 ]
[ STEPS ] Start creating eMMC partition...
1+0 records in
1+0 records out
512 bytes copied, 0.00149053 s, 344 kB/s
[ INFO ] Start create MBR and partittion.
[ INFO ] Restore the mybox bootloader: [ /usr/lib/u-boot/mybox-bootloader.img ]
444+0 records in
444+0 records out
444 bytes copied, 0.00459712 s, 96.6 kB/s
8191+0 records in
8191+0 records out
4193792 bytes (4.2 MB, 4.0 MiB) copied, 0.35507 s, 11.8 MB/s
[ STEPS ] Start processing the bootfs partition...
[ INFO ] Formatting BOOTFS partition.
mkfs.fat 4.2 (2021-01-31)
[ INFO ] Start copy BOOTFS partition data.
[ INFO ] Generate the new [ uEnv.txt ] file.
[ INFO ] Set the MAC address in [ boot.cmd ].
[ STEPS ] Start processing the rootfs partition...
[ INFO ] Formatting ROOTFS partition.
/dev/mmcblk2p2 contains a ext4 file system labelled 'ROOTFS_EMMC'
        last mounted on /root on Tue Sep 17 22:25:39 2024
[ INFO ] Start copy ROOTFS partition data.
[ INFO ] Copy the [ etc ] directory.
tar: etc/oh-my-zsh/plugins/sublime-merge/sublime-merge.plugin.zsh: Read error at byte 0, while reading 1472 bytes: Input/output error
tar: etc/oh-my-zsh/plugins/sublime-merge/README.md: Read error at byte 0, while reading 661 bytes: Input/output error
tar: etc/oh-my-zsh/plugins/npm/: Cannot savedir: Input/output error
tar: etc/oh-my-zsh/plugins/fastfile/: Cannot savedir: Input/output error
tar: etc/oh-my-zsh/plugins/mysql-macports/: Cannot savedir: Input/output error
tar: etc/oh-my-zsh/plugins/redis-cli/: Cannot savedir: Input/output error
tar: etc/oh-my-zsh/plugins/sublime/: Cannot savedir: Input/output error
tar: etc/oh-my-zsh/plugins/minikube/: Cannot savedir: Input/output error
tar: etc/oh-my-zsh/plugins/pow/: Cannot savedir: Input/output error
tar: etc/oh-my-zsh/plugins/universalarchive/: Cannot savedir: Input/output error
tar: etc/oh-my-zsh/plugins/vscode/: Cannot savedir: Input/output error
tar: etc/oh-my-zsh/plugins/octozen/: Cannot savedir: Input/output error
tar: etc/oh-my-zsh/plugins/kitchen/: Cannot savedir: Input/output error
tar: etc/oh-my-zsh/plugins/sfdx/: Cannot savedir: Input/output error
tar: etc/oh-my-zsh/plugins/pj/: Cannot savedir: Input/output error
tar: etc/oh-my-zsh/plugins/terraform/: Cannot savedir: Input/output error
tar: etc/oh-my-zsh/plugins/repo/: Cannot savedir: Input/output error
tar: etc/oh-my-zsh/plugins/powify/: Cannot savedir: Input/output error
tar: etc/oh-my-zsh/plugins/pm2/: Cannot savedir: Input/output error
tar: etc/oh-my-zsh/plugins/bundler/: Cannot savedir: Input/output error
tar: etc/oh-my-zsh/plugins/tmux-cssh/: Cannot savedir: Input/output error
tar: etc/oh-my-zsh/plugins/cask/: Cannot savedir: Input/output error
tar: etc/oh-my-zsh/plugins/colorize/: Cannot savedir: Input/output error
tar: etc/oh-my-zsh/plugins/arcanist/: Cannot savedir: Input/output error
tar: etc/oh-my-zsh/plugins/colemak/: Cannot savedir: Input/output error
tar: etc/oh-my-zsh/plugins/profiles/: Cannot savedir: Input/output error
tar: etc/oh-my-zsh/plugins/rvm/: Cannot savedir: Input/output error
tar: etc/oh-my-zsh/plugins/apache2-macports/: Cannot savedir: Input/output error
tar: etc/oh-my-zsh/plugins/nomad/: Cannot savedir: Input/output error
tar: etc/oh-my-zsh/plugins/stack/: Cannot savedir: Input/output error
tar: etc/oh-my-zsh/plugins/dirpersist/: Cannot savedir: Input/output error
tar: etc/oh-my-zsh/plugins/archlinux/: Cannot savedir: Input/output error
tar: etc/oh-my-zsh/plugins/ripgrep/: Cannot savedir: Input/output error
tar: etc/oh-my-zsh/plugins/branch/: Cannot savedir: Input/output error
tar: etc/oh-my-zsh/plugins/git-flow-avh/: Cannot savedir: Input/output error
tar: etc/oh-my-zsh/plugins/wd/: Cannot savedir: Input/output error
tar: etc/oh-my-zsh/plugins/svn-fast-info/: Cannot savedir: Input/output error
tar: etc/oh-my-zsh/plugins/encode64/: Cannot savedir: Input/output error
tar: etc/oh-my-zsh/plugins/symfony2/: Cannot savedir: Input/output error
tar: etc/oh-my-zsh/plugins/fnm/: Cannot savedir: Input/output error
tar: etc/oh-my-zsh/plugins/dash/: Cannot savedir: Input/output error
tar: etc/oh-my-zsh/plugins/docker/: Cannot savedir: Input/output error
tar: etc/oh-my-zsh/plugins/fossil/: Cannot savedir: Input/output error
tar: etc/oh-my-zsh/plugins/git/: Cannot savedir: Input/output error
tar: etc/oh-my-zsh/plugins/gpg-agent/: Cannot savedir: Input/output error
tar: etc/oh-my-zsh/plugins/samtools/: Cannot savedir: Input/output error
tar: etc/oh-my-zsh/plugins/symfony/: Cannot savedir: Input/output error
tar: etc/oh-my-zsh/plugins/eecms/: Cannot savedir: Input/output error
tar: etc/oh-my-zsh/plugins/pod/: Cannot savedir: Input/output error
tar: etc/oh-my-zsh/plugins/gnu-utils/: Cannot savedir: Input/output error
tar: etc/oh-my-zsh/CONTRIBUTING.md: Read error at byte 0, while reading 8704 bytes: Input/output error
tar: etc/oh-my-zsh/.editorconfig: Read error at byte 0, while reading 115 bytes: Input/output error
tar: etc/oh-my-zsh/CODE_OF_CONDUCT.md: Read error at byte 0, while reading 3374 bytes: Input/output error
tar: etc/oh-my-zsh/.gitignore: Read error at byte 0, while reading 102 bytes: Input/output error
tar: etc/oh-my-zsh/templates/: Cannot savedir: Input/output error
tar: etc/oh-my-zsh/.gitpod.Dockerfile: Read error at byte 0, while reading 131 bytes: Input/output error
tar: etc/oh-my-zsh/LICENSE.txt: Read error at byte 0, while reading 1142 bytes: Input/output error
tar: etc/oh-my-zsh/.git/: Cannot savedir: Input/output error
tar: Exiting with failure status due to previous errors
/usr/sbin/armbian-install: line 398: /usr/bin/sync: Input/output error
[ INFO ] Copy the [ home ] directory.
/usr/sbin/armbian-install: line 394: /usr/bin/tar: Input/output error
/usr/sbin/armbian-install: line 396: /usr/bin/tar: Input/output error
/usr/sbin/armbian-install: line 398: /usr/bin/sync: Input/output error
[ INFO ] Copy the [ lib64 ] directory.
/usr/sbin/armbian-install: line 394: /usr/bin/tar: Input/output error
/usr/sbin/armbian-install: line 396: /usr/bin/tar: Input/output error
/usr/sbin/armbian-install: line 398: /usr/bin/sync: Input/output error
[ INFO ] Copy the [ opt ] directory.
/usr/sbin/armbian-install: line 394: /usr/bin/tar: Input/output error
/usr/sbin/armbian-install: line 396: /usr/bin/tar: Input/output error
/usr/sbin/armbian-install: line 398: /usr/bin/sync: Input/output error
[ INFO ] Copy the [ root ] directory.
/usr/sbin/armbian-install: line 394: /usr/bin/tar: Input/output error
/usr/sbin/armbian-install: line 396: /usr/bin/tar: Input/output error
/usr/sbin/armbian-install: line 398: /usr/bin/sync: Input/output error
[ INFO ] Copy the [ selinux ] directory.
/usr/sbin/armbian-install: line 394: /usr/bin/tar: Input/output error
/usr/sbin/armbian-install: line 396: /usr/bin/tar: Input/output error
/usr/sbin/armbian-install: line 398: /usr/bin/sync: Input/output error
[ INFO ] Copy the [ srv ] directory.
/usr/sbin/armbian-install: line 394: /usr/bin/tar: Input/output error
/usr/sbin/armbian-install: line 396: /usr/bin/tar: Input/output error
/usr/sbin/armbian-install: line 398: /usr/bin/sync: Input/output error
[ INFO ] Copy the [ usr ] directory.
/usr/sbin/armbian-install: line 394: /usr/bin/tar: Input/output error
/usr/sbin/armbian-install: line 396: /usr/bin/tar: Input/output error
/usr/sbin/armbian-install: line 398: /usr/bin/sync: Input/output error
[ INFO ] Copy the [ var ] directory.
/usr/sbin/armbian-install: line 394: /usr/bin/tar: Input/output error
/usr/sbin/armbian-install: line 396: /usr/bin/tar: Input/output error
/usr/sbin/armbian-install: line 398: /usr/bin/sync: Input/output error
/usr/sbin/armbian-install: line 401: ln: command not found
/usr/sbin/armbian-install: line 402: ln: command not found
/usr/sbin/armbian-install: line 403: ln: command not found
/usr/sbin/armbian-install: line 404: ln: command not found
/usr/sbin/armbian-install: line 405: /usr/bin/sync: Input/output error
[ INFO ] Generate the new fstab file.
/usr/sbin/armbian-install: line 409: /usr/bin/cat: Input/output error
[ INFO ] Update the relevant parameters.
/usr/sbin/armbian-install: line 453: /usr/bin/sync: Input/output error
/usr/sbin/armbian-install: line 454: /usr/bin/umount: Input/output error
[ SUCCESS ] Successful installed, please unplug the USB, re-insert the power supply to start the armbian.
root@armbian:/# ls
-bash: /usr/bin/ls: Input/output error
root@armbian:/# client_loop: send disconnect: Connection reset by peer
ophub commented 2 months ago

降低dtb频率使用魔百和,仓库文档有操作方法

m986883511 commented 2 months ago

改dtb好麻烦,看了一个说明是供电的问题,我换成tf烧一个安装盘 装了几次都没有问题