Page 3 of 4
Re: Samba & Windows 8.1 Pro
Posted: Sun Feb 23, 2014 9:57 am
by apoklyps3
Code: Select all
VDLinux#> dmesg | tail
mmcblk0p24: Meta: 6156KB Data: 288KB
cifs: Unknown symbol crypto_alloc_base (err 0)
cifs: Unknown symbol crypto_destroy_tfm (err 0)
cifs: Unknown symbol crypto_shash_setkey (err 0)
cifs: Unknown symbol crypto_shash_update (err 0)
cifs: Unknown symbol crypto_shash_final (err 0)
cifs: Unknown symbol crypto_alloc_shash (err 0)
mmcblk0p24: Meta: 6156KB Data: 288KB
mmcblk0p24: Meta: 6156KB Data: 288KB
mmcblk0p24: Meta: 6156KB Data: 288KB
man, is there anyway to get it fresh from the start (restore all default files)? i didn't modify anything other than stated , but just to be sure and not waste your sunday

.
Re: Samba & Windows 8.1 Pro
Posted: Sun Feb 23, 2014 9:58 am
by juusso
just do exact what i`m asking for... I guess i know what happen, just need to check in debug.
Code: Select all
. /dtv/SGO.env
insmod $MOD_DIR/kernel/fs/cifs/cifs.ko
dmesg | tail
Re: Samba & Windows 8.1 Pro
Posted: Sun Feb 23, 2014 10:03 am
by apoklyps3
Code: Select all
VDLinux#> . /dtv/SGO.env
VDLinux#> insmod $MOD_DIR/kernel/fs/cifs/cifs.ko
insmod: can't insert '/mnt/lib/modules/3.0.33/kernel/fs/cifs/cifs.ko': unknown symbol in module or invalid parameter
VDLinux#> dmesg | tail
mmcblk0p24: Meta: 6156KB Data: 288KB
mmcblk0p24: Meta: 6156KB Data: 288KB
mmcblk0p24: Meta: 6156KB Data: 288KB
mmcblk0p24: Meta: 6156KB Data: 288KB
cifs: Unknown symbol crypto_alloc_base (err 0)
cifs: Unknown symbol crypto_destroy_tfm (err 0)
cifs: Unknown symbol crypto_shash_setkey (err 0)
cifs: Unknown symbol crypto_shash_update (err 0)
cifs: Unknown symbol crypto_shash_final (err 0)
cifs: Unknown symbol crypto_alloc_shash (err 0)
Re: Samba & Windows 8.1 Pro
Posted: Sun Feb 23, 2014 10:05 am
by juusso
you have disabled crypto.init scripts as well. Man...
02_06_crypto_load.init should be enabled! Or it is?
Edit: what is the output:
Re: Samba & Windows 8.1 Pro
Posted: Sun Feb 23, 2014 10:07 am
by apoklyps3
swear I haven't even touched it...but it doesn't really matter right now.
can you provide an archive with the whole .init folder to override all for a fresh start?
LE:
VDLinux#> cat /.version
"X12 0136" KERNEL MODULE VERSION : "0112.1126, DTV, X12, release, DEU_BRANCH"
btw, there isn't any "02_06_crypto_load.init " in my "/mnt/etc/init.d" and it's impossible I would have deleted it. i know better than to mess with this kind of things.
Re: Samba & Windows 8.1 Pro
Posted: Sun Feb 23, 2014 10:10 am
by juusso
Edit:
When last did you install SamyGO and which.
Code: Select all
cat /mnt/etc/init.d/04_04_samba.init
Re: Samba & Windows 8.1 Pro
Posted: Sun Feb 23, 2014 10:11 am
by apoklyps3
yesterday...used latest sammygo stable :
http://download.samygo.tv/F%20Series/Wi ... stable.zip
Code: Select all
cat /mnt/etc/version
=====================================
2014-01-03 13:25
fixes:
-latest worked version (MD5: 7115779e5426ccf5965e37ccbf428b34)
-nano text editor
-changed rcSGO for modules handling
-SRS_module 2.7
-moved crypto modules to samba.init
-samyGOkover adjusts anyver.ko vermagic just on first SamyGO start
-04_04_sshfs.init.dis proof of concept
-KMOD_VER proper for FXP, corrected FOX.P issue :)
Code: Select all
cat /mnt/etc/init.d/04_04_samba.init
#!/mnt/bin/busybox sh
#
# ? Copyright 1996-2010, ZsoltTech.Com
# by Ser Lev Arris <arris@ZsoltTech.Com>
#
# donated for the SamyGo Project
# http://samygo.sourceforge.net/
#
# Version: SamyGO svn $Id: 04_04_samba.init 1069 2011-01-03 16:47:24Z arris69 $
#
. /dtv/SGO.env
# sleep 9
##### CHANGE MEEEEE !!!!! ######
USER=""
PASSWD=""
PERM="rw" # can be ro or rw
##### CHANGE MEEEEE END ######
DEST_DIR=$MOUNT_PATH/smb
SERVER=""
# SERVER="10.0.0.1" # if you want a fixed server
SHARES=""
FR_NAME="Samba Server"
# M_OPTS="rw,user=${USER},password=${PASSWD}"
M_OPTS="$PERM,user=${USER},password=${PASSWD},codepage=cp1250,iocharset=utf8"
[ -e /mtd_rwarea/smb_userdata ] && source /mtd_rwarea/smb_userdata
[ -z $USER ] && exit 1
[ -z $PASSWD ] && exit 1
SERVERS="Don't set me!!"
do_mount()
{
# $(echo -e "[sdh]\nVendor : CifsMount\nProduct : $FR_NAME\n\
#Serial : Q80VQLFH\nDevpath : 8\nLun : 0\nMountDir : $DEST_DIR\nFileSystem : vfat\n" >> /dtv/usb/log)
for i in $S_MOUNTS ; do
i="$(echo -n $i | sed -e 's/SGOspace/ /g')"
#M_POINT="$DEST_DIR/$1/$(echo -n $i | sed -e "s/\//_/g")" #disabled by levi
M_POINT="$DEST_DIR/$1/$(basename $i)" #enabled by levi
mkdir -p "$M_POINT"
if [ `cat /proc/mounts | grep -c "$M_POINT"` -lt "1" ] ; then
/bin/busybox mount -o "${M_OPTS}" -t cifs "//$1/$i" "$M_POINT"
else
echo "$M_POINT is mounted!"
fi
done
}
get_shares()
{
if [ -z "$SHARES" ] ; then
echo "Search Shares"
for i in $SERVERS ; do
echo "on: $i"
S_MOUNTS=$(smbclient -s "$SYSROOT/etc/samba/smb.conf" -U ${USER}%${PASSWD} \
-g -L $i | grep "Disk|" | grep -v "\\$" | grep -v " Service" | sed -r 's/.*\|(.*)\|.*/\1/' | sed -r 's/ /SGOspace/g')
# -g -L $i | grep "Disk|" | grep -v "\\$" | grep -v " Service" | cut -d "|" -f2)
[ -n "$S_MOUNTS" ] && do_mount $i
done
else
echo -n "Fixed Server: "
for i in $SERVERS ; do
echo $i
S_MOUNTS=$SHARES
[ -n "$S_MOUNTS" ] && do_mount $i
done
fi
}
get_servers()
{
if [ -z "$SERVER" ] ; then
# SERVERS=$(cat /proc/net/arp | grep -v "IP address" | cut -d " " -f1)
SERVERS=$(cat /proc/net/arp | grep -v "IP address" | sed 's/^\(\w*.\w*.\w*.\w*\) *.*/\1/')
else
SERVERS=$SERVER
fi
}
case $1 in
start)
insmod $MOD_DIR/kernel/crypto/crypto.ko
insmod $MOD_DIR/kernel/crypto/crypto_algapi.ko
insmod $MOD_DIR/kernel/crypto/crypto_hash.ko
insmod $MOD_DIR/kernel/crypto/aead.ko
insmod $MOD_DIR/kernel/crypto/pcompress.ko
insmod $MOD_DIR/kernel/crypto/cryptomgr.ko
insmod $MOD_DIR/kernel/crypto/crypto_blkcipher.ko
insmod $MOD_DIR/kernel/crypto/md4.ko
insmod $MOD_DIR/kernel/crypto/md5.ko
insmod $MOD_DIR/kernel/crypto/hmac.ko
insmod $MOD_DIR/kernel/crypto/des_generic.ko
insmod $MOD_DIR/kernel/crypto/rng.ko
insmod $MOD_DIR/kernel/crypto/crypto_wq.ko
insmod $MOD_DIR/kernel/crypto/chainiv.ko
insmod $MOD_DIR/kernel/crypto/eseqiv.ko
insmod $MOD_DIR/kernel/crypto/arc4.ko
insmod $MOD_DIR/kernel/crypto/ecb.ko
insmod $MOD_DIR/kernel/crypto/krng.ko
insmod $MOD_DIR/kernel/crypto/aes_generic.ko
insmod $MOD_DIR/kernel/crypto/ansi_cprng.ko
insmod $MOD_DIR/kernel/fs/cifs/cifs.ko
sync; sleep 2
mkdir -p "$DEST_DIR"
get_servers
get_shares
;;
stop)
# may can fail if device access the mount from content library
# for i in $(cat /proc/mounts | grep cifs | cut -d " " -f2) ; do
for i in $(cat /proc/mounts | grep cifs | grep "$DEST_DIR" | sed 's/^\(.*\) \(.*\) cifs .*/\2/') ; do
i="$(echo -n $i | sed -r 's/\\040/ /g')"
/bin/busybox umount "$i"
done
;;
status)
/bin/mount | grep "$DEST_DIR"
;;
*)
echo "Usage: $0 {start|stop}" 1>&2
exit 0
;;
esac
Re: Samba & Windows 8.1 Pro
Posted: Sun Feb 23, 2014 10:22 am
by juusso
Okey. Remove this version and use latest test version. DOn`t worry, you won`t brick.
Re: Samba & Windows 8.1 Pro
Posted: Sun Feb 23, 2014 10:26 am
by apoklyps3
I just have to delete the widget from my smart hub , upload the new one and restart the rooting process with usb stick containing "data" folder on it , correct?
Re: Samba & Windows 8.1 Pro
Posted: Sun Feb 23, 2014 10:28 am
by juusso
yes, use your smarthub to delete widget. Restart TV and repeat rooting procedure.