找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 521|回复: 9

[Debian] 求助,armbian编译报错的问题

[复制链接]
每次都是出现这个报错,望大佬能解答一下。



Allocated loop device [ LOOP=/dev/loop5 ]
[?]   Error: Partition(s) 1 on /dev/loop5 have been written, but we have been unable to inform the kernel of the change, probably because it/they are in use.  As a result, the old partition(s) will remain in use.  You should reboot now before making further changes.
[?] Error 1 occurred in main shell [ at /home/build/lib/functions/logging/runners.sh:211
    run_host_command_logged_raw() --> lib/functions/logging/runners.sh:211
        run_host_command_logged() --> lib/functions/logging/runners.sh:193
             prepare_partitions() --> lib/functions/image/partitioning.sh:230
                do_with_logging() --> lib/functions/logging/section-logging.sh:81
         build_rootfs_and_image() --> lib/functions/main/rootfs-image.sh:86
   full_build_packages_rootfs_and_image() --> lib/functions/main/default-build.sh:36
          do_with_default_build() --> lib/functions/main/default-build.sh:42
         cli_standard_build_run() --> lib/functions/cli/cli-build.sh:25
        armbian_cli_run_command() --> lib/functions/cli/utils-cli.sh:136
                 cli_entrypoint() --> lib/functions/cli/entrypoint.sh:176
                           main() --> compile.sh:50
]
[?] Cleaning up [ please wait for cleanups to finish ]


我尝试umount /dev/loop5
但是我的umount: /dev/loop5: not mounted.  实在是搞不定了,麻烦各位了。

我的恩山、我的无线 The best wifi forum is right here.
 楼主| | 显示全部楼层
相对完整的日记如下

Unmounting [ /home/build/.tmp/rootfs-ede5a86f-0311-4a72-b594-25e42d9d17b8 ]
[?] Actual rootfs size [ 1555MiB ]
[?] Preparing image file for rootfs [ pine64 bookworm ]
[?] Current rootfs size [ 1555 MiB ]
[?] Creating blank image for rootfs [ truncate: 2028 MiB ]
[?] Creating partitions [ root: ext4 ]
[?]   Checking that no-one is using this disk right now ... OK
[?]
[?]   Disk /home/build/.tmp/rootfs-ede5a86f-0311-4a72-b594-25e42d9d17b8.raw: 1.98 GiB, 2126512128 bytes, 4153344 sectors
[?]   Units: sectors of 1 * 512 = 512 bytes
[?]   Sector size (logical/physical): 512 bytes / 512 bytes
[?]   I/O size (minimum/optimal): 512 bytes / 512 bytes
[?]
[?]   >>> Script header accepted.
[?]   >>> Created a new DOS disklabel with disk identifier 0x56325315.
[?]   /home/build/.tmp/rootfs-ede5a86f-0311-4a72-b594-25e42d9d17b8.raw1: Created a new partition 1 of type 'Linux' and of size 2 GiB.
[?]   /home/build/.tmp/rootfs-ede5a86f-0311-4a72-b594-25e42d9d17b8.raw2: Done.
[?]
[?]   New situation:
[?]   Disklabel type: dos
[?]   Disk identifier: 0x56325315
[?]
[?]   Device                                                            Boot Start     End Sectors Size Id Type
[?]   /home/build/.tmp/rootfs-ede5a86f-0311-4a72-b594-25e42d9d17b8.raw1       8192 4153343 4145152   2G 83 Linux
[?]
[?]   The partition table has been altered.
[?]   Syncing disks.
[?] Allocated loop device [ LOOP=/dev/loop5 ]
[?]   Error: Partition(s) 1 on /dev/loop5 have been written, but we have been unable to inform the kernel of the change, probably because it/they are in use.  As a result, the old partition(s) will remain in use.  You should reboot now before making further changes.
[?] Error 1 occurred in main shell [ at /home/build/lib/functions/logging/runners.sh:211
    run_host_command_logged_raw() --> lib/functions/logging/runners.sh:211
        run_host_command_logged() --> lib/functions/logging/runners.sh:193
             prepare_partitions() --> lib/functions/image/partitioning.sh:230
                do_with_logging() --> lib/functions/logging/section-logging.sh:81
         build_rootfs_and_image() --> lib/functions/main/rootfs-image.sh:86
   full_build_packages_rootfs_and_image() --> lib/functions/main/default-build.sh:36
          do_with_default_build() --> lib/functions/main/default-build.sh:42
         cli_standard_build_run() --> lib/functions/cli/cli-build.sh:25
        armbian_cli_run_command() --> lib/functions/cli/utils-cli.sh:136
                 cli_entrypoint() --> lib/functions/cli/entrypoint.sh:176
                           main() --> compile.sh:50
]
[?] Cleaning up [ please wait for cleanups to finish ]
[?] Unmounting recursively [ SDCARD - be patient ]
[?] Unmounting recursively [ MOUNT - be patient ]
[?] Freeing loop [ trap_handler_cleanup_rootfs_and_image /dev/loop5 ]
[?] Freeing loop device [ /dev/loop5 ]
[?] ANSI log file built; inspect it by running: [ less -RS output/logs/log-build-ede5a86f-0311-4a72-b594-25e42d9d17b8.log.ans ]
[?] Share log manually (or SHARE_LOG=yes): [ curl --data-binary @output/logs/log-build-ede5a86f-0311-4a72-b594-25e42d9d17b8.log.ans https://paste.armbian.com/log ]
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

什么设备?pine64?

点评

普通的电脑X86设备,安装的是无界面的ubuntu,wsl也尝试了,依赖没有报错。问题就是总出现这个。umont dev loop5并没有设备信息  详情 回复 发表于 2024-2-20 17:56
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
edywh 发表于 2024-2-20 15:16
什么设备?pine64?

普通的电脑X86设备,安装的是无界面的ubuntu,wsl也尝试了,依赖没有报错。问题就是总出现这个。umont dev loop5并没有设备信息
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

fack188 发表于 2024-2-20 17:56
普通的电脑X86设备,安装的是无界面的ubuntu,wsl也尝试了,依赖没有报错。问题就是总出现这个。umont de ...

目标设备是什么?X86 还是 Arm 设备

点评

全志的a64芯片 全志的a64芯片  详情 回复 发表于 2024-2-20 22:02
目标设备是arm,pine64  详情 回复 发表于 2024-2-20 22:01
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
edywh 发表于 2024-2-20 21:58
目标设备是什么?X86 还是 Arm 设备

目标设备是arm,pine64
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
edywh 发表于 2024-2-20 21:58
目标设备是什么?X86 还是 Arm 设备

全志的a64芯片
全志的a64芯片
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

fack188 发表于 2024-2-20 22:02
全志的a64芯片
全志的a64芯片

官网标准版试了么

https://www.armbian.com/uefi-arm64/

点评

问题终结,感谢兄弟,原因是在我在挂载的ntfs分区编译的……………………  详情 回复 发表于 2024-2-21 14:59
并不是为了标准版,而是想编译一遍跑一下armbian的流程  详情 回复 发表于 2024-2-21 11:20
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
edywh 发表于 2024-2-20 22:17
官网标准版试了么

https://www.armbian.com/uefi-arm64/

并不是为了标准版,而是想编译一遍跑一下armbian的流程
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
edywh 发表于 2024-2-20 22:17
官网标准版试了么

https://www.armbian.com/uefi-arm64/

问题终结,感谢兄弟,原因是在我在挂载的ntfs分区编译的……………………
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-27 18:35

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表