Mount: mounting /dev/mtdblock5 on /mnt failed: Invalid argument

I am trying to set up usb drive following instructions. I saw the existing post that has a similar error. I checked and kmod-fs-ext4` is installed. So I can't continue to the next step. Any help would be appreciated !
This is from dmesg.

[942895.735476] usb-storage 1-1:1.0: USB Mass Storage device detected
[942895.745154] scsi host0: usb-storage 1-1:1.0
[942896.783230] scsi 0:0:0:0: Direct-Access              Patriot Memory   PMAP PQ: 0 ANSI: 6
[942896.803360] sd 0:0:0:0: [sda] 30283008 512-byte logical blocks: (15.5 GB/14.4 GiB)
[942896.812094] sd 0:0:0:0: [sda] Write Protect is off
[942896.817222] sd 0:0:0:0: [sda] Mode Sense: 2b 00 00 08
[942896.818855] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[942897.074544]  sda: sda1
[942897.086954] sd 0:0:0:0: [sda] Attached SCSI removable disk
[943057.867267] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts:
[947904.018486] do_page_fault(): sending SIGSEGV to modprobe for invalid read access from 77ea08d8
[947904.027450] epc = 00401939 in kmodloader[400000+3000]
[947904.032798] ra  = 00401d93 in kmodloader[400000+3000]
[947907.379027] kmodloader: loading kernel modules from /etc/modules.d/*
[947907.393263] uhci_hcd: USB Universal Host Controller Interface driver
[947907.406819] kmodloader: done loading kernel modules from /etc/modules.d/*
1 Like

I don't understand how /dev/mtdblock5 gets in there, but that wouldn't be your USB stick, but an internal partition on your flash (something not really in scope for blockd).

mtdblock is the internal partition. The usb stick is sda1.
I am just trying to follow instructions posted on the site. Step 4 the line

mount ${DEVICE} /mnt

https://openwrt.org/docs/guide-user/additional-software/extroot_configuration

You should repeat step 3 and then proceed to step 4 without rebooting in between.

1 Like

I did not reboot after step 3, but thanks ! I will certainly give it a try

1 Like

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