Can't mount SMB shares D7000 - "No such device"

Here for general support for D series TVs, request and problem solve area.
Post Reply

idbirch
SamyGO Project Donor
Posts: 72
Joined: Fri Nov 20, 2009 11:56 am

Can't mount SMB shares D7000 - "No such device"

Post by idbirch »

I have edited my samba.init to include the username, password and server name however the virtual USB device never appears. If I try launching samba.init from the test.cgi web interface, I get:

Code: Select all

+ . /dtv/SGO.env
+ SYSROOT=/mtd_down/widgets/user/SamyGO/SamyGO
+ MOUNT_PATH=/dtv/usb/sda1
+ export MOD_DIR=/mtd_down/widgets/user/SamyGO/SamyGO/lib/modules/2.6.30.9
+ export TMPDIR=/dtv
+ export HOME=/mtd_wiselink
+ export SMB_CONF_PATH=/mtd_down/widgets/user/SamyGO/SamyGO/etc/samba/smb.conf
+ LOGFILE=/mtd_down/widgets/user/SamyGO/SamyGO/samygo.log
+ LD_LIBRARY_PATH=/mtd_down/widgets/user/SamyGO/SamyGO/opt/privateer/lib:/mtd_down/widgets/user/SamyGO/SamyGO/opt/privateer/usr/lib:/mtd_down/widgets/user/SamyGO/SamyGO/lib:/mtd_down/widgets/user/SamyGO/SamyGO/usr/lib:/lib:/usr/lib:/mtd_swu/standalone:/mtd_cmmlib/Comp_LIB:/mtd_exe/lib:/mtd_cmmlib/YWidget_LIB:/mtd_contents:/mtd_cmmlib/InfoLink/lib/plugin/Static:/mtd_appdata/moip:/mtd_cmmlib/GAME_LIB:/mtd_appdata/gemstar:/mtd_cmmlib/DRM_LIB:/Java/lib:/mtd_cmmlib/InfoLink/lib:/dtv:/mtd_cmmlib/lib:/mtd_cmmlib/OIPF:/mtd_appext/Webkit:/mtd_appdata/Runtime/lib/CairoShadow:/mtd_appdata/Runtime/lib:/mtd_appdata/Runtime/XorgLibs:/mtd_appdata/yahoo:/mtd_appdata/yahoo/lib
+ PATH=/mtd_down/widgets/user/SamyGO/SamyGO/opt/privateer/sbin:/mtd_down/widgets/user/SamyGO/SamyGO/opt/privateer/bin:/mtd_down/widgets/user/SamyGO/SamyGO/opt/privateer/usr/bin:/mtd_down/widgets/user/SamyGO/SamyGO/opt/privateer/usr/sbin:/mtd_down/widgets/user/SamyGO/SamyGO/sbin:/mtd_down/widgets/user/SamyGO/SamyGO/bin:/mtd_down/widgets/user/SamyGO/SamyGO/usr/bin:/mtd_down/widgets/user/SamyGO/SamyGO/usr/sbin:/usr/sbin:/usr/bin:/bin:/sbin:/etc/Scripts:/mtd_appdata/Runtime/bin
+ export ENV=/dtv/.ashrc
+ export FRAMEBUFFER=/dev/sam/fb0
+ export DISTROOT=/mtd_down/widgets/user/SamyGO/SamyGO/opt/privateer
+ USER=Ian
+ PASSWD=password123
+ PERM=rw
+ [ -e /mtd_rwarea/smb_userdata ]
+ [ -z Ian ]
+ [ -z password123 ]
+ DEST_DIR=/dtv/usb/sda1/smb
+ SERVER=core2duo
+ SHARES=
+ FR_NAME=Samba Server
+ M_OPTS=rw,user=Ian,password=password123,codepage=cp1250,iocharset=utf8
+ SERVERS=Don't set me!!
+ insmod /mtd_down/widgets/user/SamyGO/SamyGO/lib/modules/2.6.30.9/kernel/fs/cifs/cifs.ko
insmod: can't insert '/mtd_down/widgets/user/SamyGO/SamyGO/lib/modules/2.6.30.9/kernel/fs/cifs/cifs.ko': unknown symbol in module, or unknown parameter
+ mkdir -p /dtv/usb/sda1/smb
+ get_servers
+ [ -z core2duo ]
+ SERVERS=core2duo
+ get_shares
+ echo Search Shares
Search Shares
+ echo on: core2duo
on: core2duo
+ smbclient -s /mtd_down/widgets/user/SamyGO/SamyGO/etc/samba/smb.conf -U Ian%password123 -g -L core2duo
+ grep Disk|
+ grep -v \$
creating lame upcase table
creating lame lowcase table
+ grep -v  Service
+ sed -r s/.*\|(.*)\|.*/\1/
+ sed -r s/ /SGOspace/g
Domain=[CORE2DUO] OS=[Windows 7 Ultimate 7601 Service Pack 1] Server=[Windows 7 Ultimate 6.1]
Domain=[CORE2DUO] OS=[Windows 7 Ultimate 7601 Service Pack 1] Server=[Windows 7 Ultimate 6.1]
+ S_MOUNTS=Albums
MySGOspaceVideos
PCH
Photos
RecordedSGOspaceTV
SamyGO
Users
+ [ -n Albums
MySGOspaceVideos
PCH
Photos
RecordedSGOspaceTV
SamyGO
Users ]
+ do_mount core2duo
+ echo -n Albums
+ sed -e s/SGOspace/ /g
+ i=Albums
+ echo -n Albums
+ sed -e s/\$/_/g
+ M_POINT=/dtv/usb/sda1/smb/core2duo/Albums
+ mkdir -p /dtv/usb/sda1/smb/core2duo/Albums
+ grep -c /dtv/usb/sda1/smb/core2duo/Albums
+ cat /proc/mounts
+ [ 0 -lt 1 ]
+ /bin/busybox mount -o rw,user=Ian,password=password123,codepage=cp1250,iocharset=utf8 -t cifs //core2duo/Albums /dtv/usb/sda1/smb/core2duo/Albums
mount: mounting //core2duo/Albums on /dtv/usb/sda1/smb/core2duo/Albums failed: No such device
The last few lines get repeated for each share, they all come back with "No such device". So it seems the network connectivity is OK because all the shares I have are correctly listed, I'm not sure where the problem lies though. my end goal is to be able to record stuff to an SMB share rather than a USB stick.

I have a UE46D7000 running firmware 001015. Thanks.
arris69
Official SamyGO Developer
Posts: 1700
Joined: Fri Oct 02, 2009 8:52 am
Location: Austria/Vienna (no Kangaroos here)
Contact:

Re: Can't mount SMB shares D7000 - "No such device"

Post by arris69 »

idbirch wrote:...
I have a UE46D7000 running firmware 001015. Thanks.
can you pls. set the ip of your server and not the name

thnx.
arris
idbirch
SamyGO Project Donor
Posts: 72
Joined: Fri Nov 20, 2009 11:56 am

Re: Can't mount SMB shares D7000 - "No such device"

Post by idbirch »

Thanks for the help arris but nothing changed. The output was exactly the same except all instances of "core2duo" are replaced by "192.168.0.2".
arris69
Official SamyGO Developer
Posts: 1700
Joined: Fri Oct 02, 2009 8:52 am
Location: Austria/Vienna (no Kangaroos here)
Contact:

Re: Can't mount SMB shares D7000 - "No such device"

Post by arris69 »

idbirch wrote:Thanks for the help arris but nothing changed. The output was exactly the same except all instances of "core2duo" are replaced by "192.168.0.2".
you windows is windows7?
if yes try to disable this "Home Network Group" and try enable shares per "Old User authenticated" (don't now how exactly named, think its also depend of windows version starter, prof. or ultimade how simple you can turn it off)
maybe useful: http://sourceforge.net/projects/samygo/ ... f/download

if nothing helps pls send me your DUID ( http://forum.samygo.tv/viewtopic.php?f= ... =40#p22205 )
idbirch
SamyGO Project Donor
Posts: 72
Joined: Fri Nov 20, 2009 11:56 am

Re: Can't mount SMB shares D7000 - "No such device"

Post by idbirch »

Hi arris, yes it's Windows 7 x64 and I already have Homegroup disabled. I checked all the other settings in that .pdf and made sure mine match that but I'm still having the same problem. I'll PM you my DUID.
User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: Can't mount SMB shares D7000 - "No such device"

Post by juusso »

what about:
"Turn on file and printer sharing"?
"Turn off pasword protected sharing" <- after you get shares mounted, then you can set password and check....if problem persists.
LE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE
arris69
Official SamyGO Developer
Posts: 1700
Joined: Fri Oct 02, 2009 8:52 am
Location: Austria/Vienna (no Kangaroos here)
Contact:

Re: Can't mount SMB shares D7000 - "No such device"

Post by arris69 »

idbirch wrote:Hi arris, yes it's Windows 7 x64 and I already have Homegroup disabled. I checked all the other settings in that .pdf and made sure mine match that but I'm still having the same problem. I'll PM you my DUID.
simply remove the samygo widget and repeat the rooting procedure...
(don't forget to set your username and password again :-) )

thnx
arris
idbirch
SamyGO Project Donor
Posts: 72
Joined: Fri Nov 20, 2009 11:56 am

Re: Can't mount SMB shares D7000 - "No such device"

Post by idbirch »

Hi arris,

I don't know what you did but you fixed the problem, thank you! This time, as soon as SamyGo finished it's first run, the TV popped up with the Virtual USB device immediately. After putting my credentials in the samba.ini and rebooting, I can now browse all the SMB shares via the virtual USB - thanks!

One last question then I promise I will stop bugging you - I read on the Wiki there is a feature which allows you to record from the PVR to an NFS/Samba share. I'm obviously using Samba but how exactly does one configre that? I see the 80_80_record_to_nwshare.init.kayaweed and 80_80_record_to_nwshare.init.remi71 files but they don't get a mention on the D-Series Wiki and it's not obvious to me just by looking at them which I should use and how I should configure it.

At the moment, if I press record on the TV (no physical USB connected) is obviosuly sees the virtual USB and says "The currently connected USB device may not support recording, would you like to format the device?". I assume the format would fail but I'm reluctant to press 'Yes' in case it kills the Virtual USB device or worse, one of my SMB shares!

Any help on getting recording to SMB working would be greatly appreciated. Thanks.
arris69
Official SamyGO Developer
Posts: 1700
Joined: Fri Oct 02, 2009 8:52 am
Location: Austria/Vienna (no Kangaroos here)
Contact:

Re: Can't mount SMB shares D7000 - "No such device"

Post by arris69 »

idbirch wrote:Hi arris,

I don't know what you did but you fixed the problem, thank you! This time, as soon as SamyGo finished it's first run, the TV popped up with the Virtual USB device immediately. After putting my credentials in the samba.ini and rebooting, I can now browse all the SMB shares via the virtual USB - thanks!

One last question then I promise I will stop bugging you - I read on the Wiki there is a feature which allows you to record from the PVR to an NFS/Samba share. I'm obviously using Samba but how exactly does one configre that? I see the 80_80_record_to_nwshare.init.kayaweed and 80_80_record_to_nwshare.init.remi71 files but they don't get a mention on the D-Series Wiki and it's not obvious to me just by looking at them which I should use and how I should configure it.

At the moment, if I press record on the TV (no physical USB connected) is obviosuly sees the virtual USB and says "The currently connected USB device may not support recording, would you like to format the device?". I assume the format would fail but I'm reluctant to press 'Yes' in case it kills the Virtual USB device or worse, one of my SMB shares!

Any help on getting recording to SMB working would be greatly appreciated. Thanks.
if i rememeber right .remi71 are for record to nfs shares the .kayaweed are for samba/windows shares.
normaly you have to rename all scripts with specific suffix to .init, overwrite shipped (original) versions(just use one version don't mix up the originals with remi71 or with kayaweed)
i also noted the corresponding threads (somewhere at top of the scripts)

Code: Select all

# Modified by kayaweed for recording to cifs (windows) share see:
#       http://sourceforge.net/apps/phpbb/samygo/viewtopic.php?f=12&t=1332&p=12074#p12068

# Copyleft by Remigio Conti 20110110 to support PVR Recording over network
#       see: http://sourceforge.net/apps/phpbb/samygo/viewtopic.php?f=12&t=1332&start=0
so pls. try ask in this threads op pm the authors...

thnx
arris

Post Reply

Return to “[D] Support”