General NAS-Central Forums

Welcome to the NAS community
It is currently Mon Mar 27, 2017 4:40 am

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: Sun Nov 06, 2016 10:52 pm 
Offline

Joined: Sun Apr 29, 2012 5:24 pm
Posts: 2210
For me works fine:
Code:
root@NSA310:~# modprobe iscsi_tcp
root@NSA310:~# lsmod
Module                  Size  Used by
iscsi_tcp              12936  0
libiscsi_tcp           16668  1 iscsi_tcp
libiscsi               38812  2 libiscsi_tcp,iscsi_tcp
scsi_transport_iscsi    34960  2 libiscsi,iscsi_tcp
bsd_comp                6424  0
pppoe                  12444  0
pppox                   3104  1 pppoe
ppp_deflate             5604  0
ppp_async               9532  0
ppp_synctty             8156  0
ppp_mppe                7400  0
ppp_generic            25452  7 ppp_mppe,ppp_synctty,ppp_async,ppp_deflate,pppox,pppoe,bsd_comp
slhc                    5992  1 ppp_generic
tntfs                 394012  0
ntfs                   99920  0
r8168                 178060  0
root@NSA310:~# modprobe -r iscsi_tcp
root@NSA310:~# lsmod
Module                  Size  Used by
bsd_comp                6424  0
pppoe                  12444  0
pppox                   3104  1 pppoe
ppp_deflate             5604  0
ppp_async               9532  0
ppp_synctty             8156  0
ppp_mppe                7400  0
ppp_generic            25452  7 ppp_mppe,ppp_synctty,ppp_async,ppp_deflate,pppox,pppoe,bsd_comp
slhc                    5992  1 ppp_generic
tntfs                 394012  0
ntfs                   99920  0
r8168                 178060  0

What is iscsid error now?


Top
 Profile  
 
PostPosted: Mon Nov 07, 2016 6:02 am 
Offline
User avatar

Joined: Mon Dec 21, 2015 7:21 pm
Posts: 573
Okay, that's works for me too, but if the module is used for one time, I Can't remove it, (but now the module is unused).

Try to modprobe, run iscsid, stop it and remove the module, please! Works, or not?

Which error? The iscsid works fine, just the pathes are wrong... :D

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


Top
 Profile  
 
PostPosted: Mon Nov 07, 2016 6:20 am 
Offline

Joined: Sun Apr 29, 2012 5:24 pm
Posts: 2210
You said:
MrDini wrote:
And just for interest:
But the iscsid didn't started, and I have Your latest kmod package installed.
That is why I am asking about iscsid start error.
If it is runing now, then OK.
MrDini wrote:
Try to modprobe, run iscsid, stop it and remove the module, please! Works, or not?
Works without issues.
MrDini wrote:
but if the module is used for one time, I Can't remove it, (but now the module is unused).
What dmesg say.


Top
 Profile  
 
PostPosted: Mon Nov 07, 2016 5:44 pm 
Offline
User avatar

Joined: Mon Dec 21, 2015 7:21 pm
Posts: 573
Sorry... My english is not top notch, (i think) as You already experienced... I meant that the iscsid is killed, when I try to remove the module So nothing uses it at the time.

The dmesg says nothing. The last message regarding the iscsi module is the loaded msg, see here:

Code:
Loading iSCSI transport class v2.0-870.
iscsi: registered transport (tcp)


So, everything is okay with the module. But I Cannot remove any module which is loaded already and that is a bit weird... Noob qestion following! If I recompile the kmod package, it will "learn" how to remove my drivers without rebooting?

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


Top
 Profile  
 
PostPosted: Mon Nov 07, 2016 6:38 pm 
Offline

Joined: Sun Apr 29, 2012 5:24 pm
Posts: 2210
I intentionally limited, that you can't remove modules :lol:
Imo, it is more or less should be related with kernel config, used on NSA320S, which is different from non "S" versions.
Who knows without testing. Here you will find mine build script:
http://downloads.zyxel.nas-central.org/Users/barmalej2/ffp/0.7/arm/scripts/build/kmod.sh
As you will see, it is not easy to adapt kmod to ffp.


Top
 Profile  
 
PostPosted: Mon Nov 07, 2016 7:07 pm 
Offline
User avatar

Joined: Mon Dec 21, 2015 7:21 pm
Posts: 573
Quote:
I intentionally limited, that you can't remove modules


Who knows?! :D ;)

Thanks for the script, i will must take a look at on, later this evening.

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


Top
 Profile  
 
PostPosted: Mon Nov 07, 2016 7:09 pm 
Offline

Joined: Sun Apr 29, 2012 5:24 pm
Posts: 2210
BTW. By default none of Linux distros removes loaded modules, unless user side specific udev rules are created.


Top
 Profile  
 
PostPosted: Mon Nov 07, 2016 8:06 pm 
Offline
User avatar

Joined: Mon Dec 21, 2015 7:21 pm
Posts: 573
Jesus! You have a lot of free time, aren't You? :D And You are a windows user... I Can't believe it... :)

Cool, it worked, going to test it, but why are You deleting the source directories?

Edit: Oh god! I installed the kmod package and rebooted the nas. Now I Can only access the webGUI, the SSH, the telnet, and all of my FFp packages who have some interface dead... No problem, that is my fault, So tomorrow, I have to connect my serial cable and remove the package...

Edit2: the zyshd also dead when I tried to install Mijzelf's anyterm, So I Cannot save my nas today... :'(

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


Top
 Profile  
 
PostPosted: Tue Nov 08, 2016 6:09 am 
Offline

Joined: Sun Apr 29, 2012 5:24 pm
Posts: 2210
Compassion for you. Still I don't think, that your built kmod can be the reason of this.


Top
 Profile  
 
PostPosted: Tue Nov 08, 2016 4:56 pm 
Offline
User avatar

Joined: Mon Dec 21, 2015 7:21 pm
Posts: 573
I don't think so... But I have some start script for the soundcard module loading (it remained from the udevless times), and if "mine" kmod buggy, it generates an endless loop, So the boot process pauses... But will see the exact problen, with my sweet ttl cable! :)

Do You interested in some outputs, after I remove it?

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


Top
 Profile  
 
PostPosted: Tue Nov 08, 2016 6:24 pm 
Offline
User avatar

Joined: Mon Dec 21, 2015 7:21 pm
Posts: 573
mine FFp wrote:
== Welcome at FFP version 0.7/arm, running on Unknown-AF03 NSA320S, firmware V4.75(AANV.0) ==


Image What a lovely text! :)

I think the module unloading isn't important... :D

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


Top
 Profile  
 
PostPosted: Tue Nov 08, 2016 6:33 pm 
Offline

Joined: Sun Apr 29, 2012 5:24 pm
Posts: 2210
So your kmod build was a problem or something else?


Top
 Profile  
 
PostPosted: Tue Nov 08, 2016 6:41 pm 
Offline
User avatar

Joined: Mon Dec 21, 2015 7:21 pm
Posts: 573
A start script who was buggy... But wait!... That was the xupnpd start script as I see at the serial console. :?: Oh, my Godness :roll: But that was Your latest package from slacker.

Ps: here is the kmod package, but after this accident, I think the module unloading isn't important for me, sorry... If You want, look on that, but use at Your own risk! ;)

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


Top
 Profile  
 
PostPosted: Tue Nov 08, 2016 7:58 pm 
Offline

Joined: Sun Apr 29, 2012 5:24 pm
Posts: 2210
MrDini wrote:
A start script who was buggy... But wait!... That was the xupnpd start script as I see at the serial console. :?: Oh, my Godness :roll: But that was Your latest package from slacker.

Interesting. I am using it for 2 years and it never failed me.
Can you start xupnpd from command line?:
Code:
sh -x /ffp/start/xuppnpd.sh start


Top
 Profile  
 
PostPosted: Tue Nov 08, 2016 8:04 pm 
Offline
User avatar

Joined: Mon Dec 21, 2015 7:21 pm
Posts: 573
No, I removed the whole package. Otherwise the nas can't boot up the ffp... Just installed a few days ago, because a forum member wanted a plugin for the xupnpd and I wrote one for him. And I forgot to remove it after.

_________________
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: Yahoo [Bot] and 25 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