WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Mounting CIFS (failed: No such device)  (Read 7547 times)

Offline hogkite

  • Newbie
  • *
  • Posts: 14
Re: Mounting CIFS (failed: No such device)
« Reply #15 on: November 30, 2020, 11:10:58 AM »
Thanks guys, yes that script very useful

I've followed Juanito's advice but still not quite right and slightly confused!

I was getting some errors with the original command so broke it up slightly as follows...

tce-load -wil raid-dms-KERNEL

Downloading: raid-dms-5.4.51-piCore-v7l.tcz
Connecting to repo.tinycorelinux.net (89.22.99.37:80)
wget: server returned error: HTTP/1.1 404 Not Found
md5sum: raid-dms-5.4.51-piCore-v7l.tcz.md5.txt: No such file or directory
Error on raid-dms-5.4.51-piCore-v7l.tcz

tce-load -wil file systems-KERNEL

file is already installed!
Downloading: systems-5.4.51-piCore-v7l.tcz
Connecting to repo.tinycorelinux.net (89.22.99.37:80)
wget: server returned error: HTTP/1.1 404 Not Found
md5sum: systems-5.4.51-piCore-v7l.tcz.md5.txt: No such file or directory
Error on systems-5.4.51-piCore-v7l.tcz

uname -r (returns 5.4.51-piCore-v7l)

I then used tce-ab to search for the extensions.

when using the search term raid I found....

raid-dm-5.4.51-piCore-v7l.tcz (note not dms, just dm, anyway installed this and it appears in onboot.lst)

I then searched for filesystems and found...

filesystems-5.4.51-piCore-v7l.tcz

I tried to install this but it says already installed (filesystems-5.4.51-piCore-v7l is already installed!)

lsmod shows...


squashfs                     45056 39
zstd_decompress         65536  1 squashfs
xxhash                        20480  1 zstd_decompress
raspberrypi_hwmon      16384  0
zram                           28672  1
zsmalloc                      28672  1 zram

Not exactly sure where this leaves me but mounts still not working

Extract from latest TCscan....

Sect 8    onboot.lst, ondemand

/mnt/mmcblk0p2/tce/onboot.lst=
        openssh.tcz
        nano.tcz
        kmaps.tcz
        AssetUPnP.tcz
        ntfs-3g.tcz
        cifs-utils.tcz
        samba4.tcz
        samba4-lib.tcz
        raid-dm-5.4.51-piCore-v7l.tcz

ondemand=
        total 4
        -rwxrwxr-x    1 tc       staff           46 Jan  1  1970 squashfs-tools


#----------------------------------------------------------------------------------
Sect 9    Missing md5 files, Failed md5 checks, Local/Repo md5 files differ

Missing md5 files= 1
        AssetUPnP.tcz.md5.txt

Failed md5 checks= 0
        All md5 checks passed.

Local/Repo md5 file differences= 3
        filesystems-5.4.51-piCore.tcz Not in repo
        raid-dm-5.4.51-piCore.tcz Not in repo

        ca-certificates.tcz Mismatch
                        Local 86f3622d1337cf1ef0aa06503e22952e
                        Repo  0c1f12523a2162b16276695376681a0d




 
« Last Edit: November 30, 2020, 11:13:02 AM by hogkite »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14619
Re: Mounting CIFS (failed: No such device)
« Reply #16 on: November 30, 2020, 11:27:27 AM »
Sorry - that should have been filesystems and raid-dm

Offline hogkite

  • Newbie
  • *
  • Posts: 14
Re: Mounting CIFS (failed: No such device)
« Reply #17 on: November 30, 2020, 11:43:03 AM »
No problem, I sort of worked that out and maybe the raid extension has installed ok?

If I've still got a problem, do the messages in section 9 of the scan (Missing md5 files, Failed md5 checks, Local/Repo md5 files differ) still indicate a problem with extension/module mis-match?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14619
Re: Mounting CIFS (failed: No such device)
« Reply #18 on: November 30, 2020, 12:26:44 PM »
You can check if it installed with “tce-status-i | grep raid”

Offline Greg Erskine

  • Sr. Member
  • ****
  • Posts: 404
Re: Mounting CIFS (failed: No such device)
« Reply #19 on: November 30, 2020, 12:30:54 PM »
hi hogkite,

I'd start from scratch and not swap the SD card between different RPi architectures. Doing that will result in a mismatch of extensions.

regards
Greg


Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11282
Re: Mounting CIFS (failed: No such device)
« Reply #20 on: November 30, 2020, 12:39:37 PM »
Hi Juanito
The following are present in  http://tinycorelinux.net/12.x/armv7/tcz/  but not in  http://tinycorelinux.net/12.x/armv7l/tcz/:
Code: [Select]
raid-dm-5.4.51-piCore-v7l.tcz
raid-dm-5.4.51-piCore-v7l+.tcz
raid-dm-5.4.51-piCore-v7.tcz
filesystems-5.4.51-piCore-v7l.tcz
filesystems-5.4.51-piCore-v7l+.tcz
filesystems-5.4.51-piCore-v7.tcz
They should be in  http://tinycorelinux.net/12.x/armv7l/tcz/  too, right?

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11282
Re: Mounting CIFS (failed: No such device)
« Reply #21 on: November 30, 2020, 12:46:47 PM »
Hi Juanito
I don't see any  KERNEL  extensions in  http://tinycorelinux.net/12.x/armv7l/tcz/.  Oversight?

Offline hogkite

  • Newbie
  • *
  • Posts: 14
Re: Mounting CIFS (failed: No such device)
« Reply #22 on: November 30, 2020, 12:48:39 PM »
Thanks guys..

tce-status shows..

raid-dm-5.4.51-piCore-v7l
filesystems-5.4.51-piCore-v7l

no other raid/filesystems extensions.

George....yes, think it might be better to start over, won't take long. I'm assuming my personal extensions and text files can all be transferred without issue.

Rich...what's the use case difference for those two different versions, seems like I have the 7l.

Having said that just seen your reply to Juanito, maybe I should hold fire

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14619
Re: Mounting CIFS (failed: No such device)
« Reply #23 on: November 30, 2020, 01:01:18 PM »
RPi-2/3/4 all use extensions from the armv7 repo.

RPi-2/3 use v7 kernel extensions
RPi-4 uses v7l kernel extensions

There should be no need for an armv7l repo.
« Last Edit: November 30, 2020, 01:03:45 PM by Juanito »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11282
Re: Mounting CIFS (failed: No such device)
« Reply #24 on: November 30, 2020, 01:04:05 PM »
Hi hogkite
... Rich...what's the use case difference for those two different versions, seems like I have the 7l. ...
Those slight differences (7, 7l, 7l+) are for different ARM processors. Based on the kernel you're running, 7l  is the
correct version for you.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11282
Re: Mounting CIFS (failed: No such device)
« Reply #25 on: November 30, 2020, 01:41:40 PM »
Hi hogkite
... If I've still got a problem, do the messages in section 9 of the scan (Missing md5 files, Failed md5 checks, Local/Repo md5 files differ) still indicate a problem with extension/module mis-match?
You can delete those 2 extensions, the v7 not the v7l versions.

Have you tried loading the kernel module:
Code: [Select]
sudo modprobe cifs.koThen see if  lsmod  lists it as being loaded.

Offline hogkite

  • Newbie
  • *
  • Posts: 14
Re: Mounting CIFS (failed: No such device)
« Reply #26 on: November 30, 2020, 02:22:21 PM »
Rich...

Thanks but I'm in the process of re-building it and can confirm all the mounts seem to work now. As pointed out it must have had something to do with me building on an old RPi and then moving to the RPi4.

Will update as soon as finished

All seems to be working well, just re-scanning my music library which will atke a while but all shares mounted correctly after reboot. Also the TCscan doesn't show any mismatches with extensions

Thanks again for all the help from everyone
« Last Edit: November 30, 2020, 02:52:20 PM by hogkite »