General NAS-Central Forums

Welcome to the NAS community
It is currently Tue Dec 12, 2017 7:37 pm

All times are UTC




Post new topic Reply to topic  [ 69 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next
Author Message
PostPosted: Sat Oct 22, 2016 9:12 am 
Online
User avatar

Joined: Mon Dec 21, 2015 7:21 pm
Posts: 605
No, I Can also build the stable version, that you linked without any errors. But before that, I used a beta source, which gived e some strange errors, as You Can see at my past messages...

barmalej2 wrote:
You can think whatever you want, but that doesn't make you right

Nice sentence, I have to learn that! :) But in this case, not true, because I already checked my thought wit readelf and it consolidated me. See:

Code:
root@NSA320S:~# readelf -a /ffp/lib/libc.so.0 | grep 'fmemopen'
root@NSA320S:~#


I have theese uClibcs installed:

uClibc-0.9.33.3_git-arm-5
uClibc-solibs-0.9.33.3_git-arm-5

_________________
Thanks nas-central the lot of help! :)


Top
 Profile  
 
PostPosted: Sat Oct 22, 2016 10:00 am 
Offline

Joined: Sun Apr 29, 2012 5:24 pm
Posts: 2314
What are you trying to convince? That the C library lacks standard functions ? :shock:
Below is the output from extracted uClibc-solibs-0.9.33.3_git-arm-5 package:
Quote:
root@NSA310:~# ls -la
total 248K
drwxr-xr-x 2 root root 0 Oct 22 12:53 .
drwxr-xr-x 20 root root 0 Oct 14 22:20 ..
-rw-r--r-- 1 root root 248K May 22 19:27 uClibc-solibs-0.9.33.3_git-arm-5.txz
root@NSA310:~# md5sum uClibc-solibs-0.9.33.3_git-arm-5.txz
89a2ed05dccd7a6d49624b5e1f0a3108 uClibc-solibs-0.9.33.3_git-arm-5.txz
root@NSA310:~# tar xf uClibc-solibs-0.9.33.3_git-arm-5.txz
root@NSA310:~# readelf -a /root/ffp/lib/libc.so.0 | grep 'fmemopen'
384: 00034dac 268 FUNC GLOBAL DEFAULT 7 fmemopen

Ah surprise again -fmemopen is not hidden and available :o


Top
 Profile  
 
PostPosted: Sat Oct 22, 2016 12:55 pm 
Online
User avatar

Joined: Mon Dec 21, 2015 7:21 pm
Posts: 605
I tried to install Your latest uClibc which not supports UTF-8 characters:

Code:
root@NSA320S:~# readelf -a /ffp/lib/libc.so.0 | grep 'fmemopen'
   384: 00031738   268 FUNC    GLOBAL DEFAULT    7 fmemopen


And with downgrade to the UTF-8 supporting:

Code:
root@NSA320S:~# readelf -a /ffp/lib/libc.so.0 | grep 'fmemopen'
root@NSA320S:~#

_________________
Thanks nas-central the lot of help! :)


Top
 Profile  
 
PostPosted: Sat Oct 22, 2016 2:09 pm 
Offline

Joined: Sun Apr 29, 2012 5:24 pm
Posts: 2314
fmemopen function is available in uClibc if not from the beginning of it, then at least from 2003y for sure. And it doesn't depends uclibc has UTF- support or not.
MrDini wrote:
And with downgrade to the UTF-8 supporting:

Ok. Let's do it:
Quote:
root@NSA310:~# wget http://downloads.zyxel.nas-central.org/ ... -arm-5.txz
--16:57:22-- http://downloads.zyxel.nas-central.org/ ... -arm-5.txz
=> `uClibc-0.9.33.3_git-arm-5.txz'
Resolving downloads.zyxel.nas-central.org... 140.211.169.172
Connecting to downloads.zyxel.nas-central.org[140.211.169.172]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 719,436 [application/octet-stream]

100%[=================================================================================================================================================>] 719,436 195.51K/s ETA 00:00

16:57:26 (194.99 KB/s) - `uClibc-0.9.33.3_git-arm-5.txz' saved [719436/719436]

root@NSA310:~# wget http://downloads.zyxel.nas-central.org/ ... -arm-5.txz
--16:57:31-- http://downloads.zyxel.nas-central.org/ ... -arm-5.txz
=> `uClibc-solibs-0.9.33.3_git-arm-5.txz'
Resolving downloads.zyxel.nas-central.org... 140.211.169.172
Connecting to downloads.zyxel.nas-central.org[140.211.169.172]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 253,360 [application/octet-stream]

100%[=================================================================================================================================================>] 253,360 148.28K/s

16:57:33 (147.94 KB/s) - `uClibc-solibs-0.9.33.3_git-arm-5.txz' saved [253360/253360]

root@NSA310:~# funpkg -u uClibc-0.9.33.3_git-arm-5.txz uClibc-solibs-0.9.33.3_git-arm-5.txz
Scanning uClibc-0.9.33.3_git-arm-5.txz ...
#
# Description of uClibc:
# uClibc (aka ▒Clibc/pronounced yew-see-lib-see) is a C library for developing embedded Linux systems.
# It is much smaller than the GNU C Library, but nearly all applications supported by glibc also work
# perfectly with uClibc. uClibc is maintained by Erik Andersen and is licensed under the GNU LGPL.
# Version:0.9.33.3_git
# Homepage:http://www.uclibc.org/
#
# Depends on these packages:
# br2:uClibc-solibs mz:kernel_headers-2.6.31.8
#
# IMPORTANT NOTICE: Fully compatible only with Zyxel NSA 3** series NAS'es.
# Other devices with kernel different from 2.6.31.8 are only partly compatible.
#
Upgrading to uClibc-0.9.33.3_git-arm-5
Removing uClibc-0.9.33.3_git-arm-8,upgraded,20161022_165755
Running doinst.sh ...
IMPORTANT NOTICE: Fully compatible only with Zyxel NSA 3** series NAS'es.
Other devices with kernel different from 2.6.31.8 are only partly compatible.
Scanning uClibc-solibs-0.9.33.3_git-arm-5.txz ...
#
# Description of uClibc-solibs:
# uClibc (aka ▒Clibc/pronounced yew-see-lib-see) is a C library for developing embedded Linux systems.
# It is much smaller than the GNU C Library, but nearly all applications supported by glibc also work
# perfectly with uClibc. uClibc is maintained by Erik Andersen and is licensed under the GNU LGPL.
# Version:0.9.33.3_git
# Homepage:http://www.uclibc.org/
#
# Depends on these packages:
# br2:uClibc mz:kernel_headers-2.6.31.8
#
# IMPORTANT NOTICE: Fully compatible only with Zyxel NSA 3** series NAS'es.
# Other devices with kernel different from 2.6.31.8 are only partly compatible.
#
Upgrading to uClibc-solibs-0.9.33.3_git-arm-5
Removing uClibc-solibs-0.9.33.3_git-arm-8,upgraded,20161022_165803
Running doinst.sh ...
IMPORTANT NOTICE: Fully compatible only with Zyxel NSA 3** series NAS'es.
Other devices with kernel different from 2.6.31.8 are only partly compatible.
root@NSA310:~# readelf -a /ffp/lib/libc.so.0 | grep 'fmemopen'
384: 00034dac 268 FUNC GLOBAL DEFAULT 7 fmemopen

Surprise, surprise I have libc, which has and supports fmemopen function.


Top
 Profile  
 
PostPosted: Sat Oct 22, 2016 2:24 pm 
Online
User avatar

Joined: Mon Dec 21, 2015 7:21 pm
Posts: 605
Yes, very interesting. I wanted to share for You the package, that I am used, but I already found one at my repo, I hope that is the "wrong" package without fmemopen:

http://users.atw.hu/mrdini/packages/nee ... -arm-5.txz

Many thanks for the link, I will try it.

Mod: hurray, hurray! :) I owe a particular debt of gratitude for You! ;)

Code:
root@NSA320S:/tmp# readelf -a /ffp/lib/libc.so.0 | grep 'fmemopen'
   384: 00034dac   268 FUNC    GLOBAL DEFAULT    7 fmemopen

_________________
Thanks nas-central the lot of help! :)


Top
 Profile  
 
PostPosted: Sat Oct 22, 2016 2:32 pm 
Online
User avatar

Joined: Mon Dec 21, 2015 7:21 pm
Posts: 605
Yahoo! The main compilation also done (open-iscsi)... I just have to correct the pathes to fit to the FFp.

Code:
Compilation complete                 Output file
-----------------------------------  ----------------
Built iSCSI daemon:                  usr/iscsid
Built management application:        usr/iscsiadm
Built boot tool:                     usr/iscsistart
Built iscsiuio daemon:               iscsiuio/src/unix/iscsiuio


:D :o

_________________
Thanks nas-central the lot of help! :)


Top
 Profile  
 
PostPosted: Sat Oct 22, 2016 2:41 pm 
Offline

Joined: Sun Apr 29, 2012 5:24 pm
Posts: 2314
MrDini wrote:
Yes, very interesting. I wanted to share for You the package, that I am used, but I already found one at my repo
Many thanks for the link, I will try it.

I am a bit shocked :shock: According to this your comment:http://forum.nas-central.org/viewtopic.php?f=249&t=14977&start=15#p103831 I was thinking that you already using updated versions of uClibc.


Top
 Profile  
 
PostPosted: Sat Oct 22, 2016 2:47 pm 
Online
User avatar

Joined: Mon Dec 21, 2015 7:21 pm
Posts: 605
Yes, sorry. But I had to update the uClibc to a non UTF-8 build for testing. And after it I reinstalled the UTF-8 build. But for that, I have an alias called uclibc-utf8, which reinstalled the old packages. :oops:

_________________
Thanks nas-central the lot of help! :)


Top
 Profile  
 
PostPosted: Fri Nov 04, 2016 9:39 pm 
Online
User avatar

Joined: Mon Dec 21, 2015 7:21 pm
Posts: 605
Okay, So I Could built the package as I already wrote earlier and now, I finished wroting configure files and editing the pathes to fit to the FFp...

But, when I try to start it, certainly it gives me an error :(:

Code:
iscsid: can not bind NETLINK_ISCSI socket


I googled that, and some people think, that is a selinux error, but I don't think So and hope also, that isn't a selinux error...

_________________
Thanks nas-central the lot of help! :)


Top
 Profile  
 
PostPosted: Fri Nov 04, 2016 11:15 pm 
Offline

Joined: Sun Apr 29, 2012 5:24 pm
Posts: 2314
Do the problem persist after reboot?


Top
 Profile  
 
PostPosted: Sat Nov 05, 2016 9:13 am 
Online
User avatar

Joined: Mon Dec 21, 2015 7:21 pm
Posts: 605
Good idea!

But not works in that case... :( The error msg is exactly the same. :evil:

_________________
Thanks nas-central the lot of help! :)


Top
 Profile  
 
PostPosted: Sat Nov 05, 2016 4:14 pm 
Offline

Joined: Sun Apr 29, 2012 5:24 pm
Posts: 2314
Strace?


Top
 Profile  
 
PostPosted: Sat Nov 05, 2016 5:09 pm 
Online
User avatar

Joined: Mon Dec 21, 2015 7:21 pm
Posts: 605
Here is a strace output.

Ps: yes, I mistyped the strace at the paste title... :oops:

_________________
Thanks nas-central the lot of help! :)


Top
 Profile  
 
PostPosted: Sat Nov 05, 2016 5:59 pm 
Offline

Joined: Sun Apr 29, 2012 5:24 pm
Posts: 2314
159.access("/etc/iscsi/", F_OK) Do this directory really exists? Can you specify path to config manually using iscsid command line args?
Has iscsid option to disable logging to syslog?


Top
 Profile  
 
PostPosted: Sat Nov 05, 2016 6:09 pm 
Online
User avatar

Joined: Mon Dec 21, 2015 7:21 pm
Posts: 605
Ahh, sorry, for the strace, I forgot to run with some plus options... Here is the correct output.

barmalej2 wrote:
Has iscsid option to disable logging to syslog?


Unfortunately, not. But it is not necessary I think.

_________________
Thanks nas-central the lot of help! :)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 69 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 89 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group