Manjaro-arm-installer fails to mount root partition, error two drivers try to access mmc

I have tried the manjaro-arm-installer with the minimal image and got the following problem:
When the installer trys to mount the new created file system on the sd-card:

Error: /dev/mmcblk0: unknown partition table
mount: /var/tmp/manjaro-arm-installer/root: mount(2)-System call failed: File already exists.

The same happens when I try to mount that partition manually. The mount point exists and is empty. The boot-partoin works fine.

dmesg:

sysfs: cannot create duplicate filename '/fs/ext4/mmcblk0p2'

[13475.597061] CPU: 6 PID: 24302 Comm: mount Tainted: G        W  OE     5.15.72-1-MANJARO #1 01097ff6d0f56cc239b4fb417fa895a09e45cdef
[13475.597064] Hardware name: LENOVO 20UES00L00/20UES00L00, BIOS R1BET66W(1.35 ) 07/30/2021
[13475.597065] Call Trace:
[13475.597068]  <TASK>
[13475.597070]  dump_stack_lvl+0x45/0x63
[13475.597075]  sysfs_warn_dup.cold+0x17/0x23
[13475.597077]  sysfs_create_dir_ns+0xe0/0x100
[13475.597081]  kobject_add_internal+0xbb/0x2d0
[13475.597085]  kobject_init_and_add+0x8c/0xd0
[13475.597088]  ext4_register_sysfs+0x6b/0x1d0 [ext4 ce0f14d54e2a6529a896356087b6058dd417ecf5]
[13475.597113]  ext4_fill_super+0x2644/0x3a40 [ext4 ce0f14d54e2a6529a896356087b6058dd417ecf5]
[13475.597132]  ? snprintf+0x51/0x80
[13475.597134]  ? ext4_enable_quotas+0x230/0x230 [ext4 ce0f14d54e2a6529a896356087b6058dd417ecf5]
[13475.597151]  mount_bdev+0x191/0x1c0
[13475.597155]  legacy_get_tree+0x27/0x50
[13475.597157]  vfs_get_tree+0x25/0xd0
[13475.597159]  path_mount+0x475/0xac0
[13475.597162]  __x64_sys_mount+0x121/0x160
[13475.597164]  do_syscall_64+0x5b/0x90
[13475.597167]  ? __audit_syscall_exit+0x25d/0x2c0
[13475.597170]  ? syscall_exit_to_user_mode+0x23/0x50
[13475.597171]  ? do_syscall_64+0x67/0x90
[13475.597173]  ? exc_page_fault+0x71/0x180
[13475.597174]  entry_SYSCALL_64_after_hwframe+0x61/0xcb
[13475.597177] RIP: 0033:0x7f8930c24c6e
[13475.597179] Code: 48 8b 0d 1d e1 0c 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d ea e0 0c 00 f7 d8 64 89 01 48
[13475.597181] RSP: 002b:00007ffecf5ef0f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
[13475.597183] RAX: ffffffffffffffda RBX: 0000563fe1ac9610 RCX: 00007f8930c24c6e
[13475.597184] RDX: 0000563fe1acf820 RSI: 0000563fe1ac9860 RDI: 0000563fe1ac9840
[13475.597185] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000073
[13475.597185] R10: 0000000000000000 R11: 0000000000000246 R12: 0000563fe1ac9840
[13475.597186] R13: 0000563fe1acf820 R14: 00000000ffffffff R15: 00007f8930d37076
[13475.597188]  </TASK>
[13475.597189] kobject_add_internal failed for mmcblk0p2 with -EEXIST, don't try to register things with the same name in the same directory.
[13475.597229] EXT4-fs (mmcblk0p2): mount failed

Any suggestions?

Thank in advance

yay -R rts_bpp-dkms-git
solved the problem. Not Manjaro Arms fault :slight_smile:

This looks to me that the SD card already has a partition and it’s currently mounted on your system.

Please make sure none of the partitions are currently mounted. It will all be handled by the installer script.

This is not a valid device path. Needs to be in /dev/.

Path was a typo. Nothing was mounted. The problem was that two drivers tried to access the card reader.

Ah, got it.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.