Forum
beta2 - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Testing & Experimental (/forum-21.html)
+--- Thread: beta2 (/thread-1312.html)



RE: beta2 - thenork - 13th Oct, 2013 06:23 AM

(12th Oct, 2013 12:48 PM)mk01 Wrote:  
(12th Oct, 2013 12:01 PM)thenork Wrote:  I also checked the "Shares should be world writeable" for smb, but the problem is still there. I can actually connect to xbian home folder just fine, and it's writeable (didn't test that before). However for my usb drive, I can connect with xbian but not with guest. If I try with guest I get this in the mac console (xbian.local/Fantom is my usb drive):

can you check that /etc/usbmount/usbmount.conf has SHARERW=yes ? if yes, can you provide output of
Code:
sudo net conf list

when the usb is mounted? and if you connect with xbian, can you write?

@thenork

I found a small bug in usbmount, I will issue a fix. can you test xbian-package-usbmount version 1.0.4-7 please?

After update I can now connect to my usb drive and write to it. However, guest still has error and cannot connect to it. Guest can connect to xbian home folder and write to it. Here is my net conf list
Terminal

[xbmc-backup]
path = /xbmc-backup
read only = no
guest ok = yes
force user = root
browseable = yes

[Fantom]
path = /media/Fantom
guest ok = yes
read only = no
force user = xbian
browseable = yes

Also my usb drive is ext4, will that affect anything?


RE: beta2 - mk01 - 13th Oct, 2013 06:30 AM

(13th Oct, 2013 06:23 AM)thenork Wrote:  After update I can now connect to my usb drive and write to it. However, guest still has error and cannot connect to it. Guest can connect to xbian home folder and write to it. Here is my net conf list
Terminal

[Fantom]
path = /media/Fantom
guest ok = yes
read only = no
force user = xbian
browseable = yes

Also my usb drive is ext4, will that affect anything?

hm. what is output of
Code:
ls -la /media ; ls -la /media/Fantom; mount | grep Fantom

?


RE: beta2 - BartOtten - 13th Oct, 2013 06:44 AM

(12th Oct, 2013 02:29 PM)mk01 Wrote:  
(9th Oct, 2013 06:20 AM)Dave400 Wrote:  Bad news.. I installed the lirc update (along with 5 other packages) and now my remote is behaving how it was before, I've rolled back using a snapshot and will install the other updates again but leave out lirc for the time being...

@Dave400

is it possible that xbian-update put lirc_rpi into /etc/modules and by removing it you restore previous functionality?

while looking into /etc/lirc/hardware.conf, first RC which is looked up is lirc_rpi. all others are "else if" so won't never override the lirc RC found as first.

can you report back please?

Removing it fixed my remote Smile What line should I remove for ssh? Wink (as now it hangs after asking for the password)

*edit* Guess it was the same line Smile


RE: beta2 - thenork - 13th Oct, 2013 07:54 AM

(13th Oct, 2013 06:30 AM)mk01 Wrote:  hm. what is output of
Code:
ls -la /media ; ls -la /media/Fantom; mount | grep Fantom

?

Code:
root@xbian:~# ls -la /media ; ls -la /media/Fantom; mount | grep Fantom
total 8
drwxr-xr-x  1 root root   20 Oct 12 14:57 .
drwxr-xr-x  1 root root  192 Sep 17 01:19 ..
drwxrwxrwx 10 root root 4096 Sep 14 14:58 Fantom
lrwxrwxrwx  1 root root   13 Oct 12 14:57 usb0 -> /media/Fantom
total 576
drwxrwxrwx 10 root  root    4096 Sep 14 14:58 .
drwxr-xr-x  1 root  root      20 Oct 12 14:57 ..
drwxrwxrwx  2 xbian xbian   4096 Aug 22 11:26 downloads
-rwxr--r--  1 root  root    4096 Aug 14 22:03 ._.DS_Store
-rwxr--r--  1 root  root   15364 Sep  5 10:41 .DS_Store
drwx------  2 root  root   16384 Aug 10 19:03 lost+found
drwxrwxrwx  5 xbian xbian   4096 Oct 12 14:38 movies
drwxrwxrwx 43 xbian xbian   4096 Oct 12 13:44 TV
drwxrwxrwx  3 root  root    4096 Sep 15 22:12 xbian-home-backup
/dev/sda1 on /media/Fantom type ext4 (rw,nodev,noexec,noatime,nodiratime,sync,data=ordered)



RE: beta2 - mk01 - 13th Oct, 2013 08:53 AM

@thenork

do a
Code:
sudo chown -Rc xbian:xbian /media/Fantom



RE: beta2 - belese - 13th Oct, 2013 09:08 AM

Could be reload xbmc a little bit less hard.
i can't reproduce again, but it's happen, when i reload xbmc, addon was not stopped(xbian-config), it's still post log in new xbmc session and i can see screen on overlay when xbmc is stop.

maybe send TERM, wait 2 sec and send KILL, addon should have time to stop, or at least keep the signal to stop and died after.
or more hard and kill all xbmc subprocess with KILL.


RE: beta2 - mk01 - 13th Oct, 2013 09:19 AM

reload will never be nicer as "reload xbmc" is defined by upstard design as sending SIGHUP to the process. second part is what the process does about this.

"restart xbmc" can be controlled. as this is the standard workflow as from pre-start until post-stop. if you call "stop xbmc" or "restart xbmc" xbmc is going to be stopped by TERM signal, wait 10s and kill.

btw: for the blocked python threads I'm keeping a list of PIDs (of xbian-config CLI) which were called from within xbmc. so instead of stopping / waiting / crashing xbian-config-xbmc (python inside xbmc), you can just do "kill $(cat /run/lock/xbian-config)". this will send TERM to running processes and python threads will finish immediatelly.


RE: beta2 - mk01 - 13th Oct, 2013 04:34 PM

(12th Oct, 2013 07:35 PM)namtih Wrote:  @2)
Thanks, good to hear that I'm not alone with this issue.
Let's see if Koenkk perhaps will find the fix/commit.

http://forum.stmlabs.com/showthread.php?tid=10868 but looks like you was first but nobody followed Smile


RE: beta2 - xraxor - 13th Oct, 2013 08:12 PM

followed instructions by @mk01 changed etc/usbmount/usbmount.conf SHARERW=yes and reboot the Pi, now I can read/write/rename to my external EXT4 HDD

xbian@xbian ~ $ sudo net conf list
[sudo] password for xbian:
[xbmc-backup]
path = /xbmc-backup
read only = no
guest ok = yes
force user = root
browseable = yes

[avMedia01]
path = /media/avMedia01
guest ok = yes
read only = no
force user = xbian
browseable = yes

Edit:
had to run this line of code and reboot as well
sudo chown -Rc xbian:xbian /media/avMedia01

now all perfect Big Grin . can't wait, now xbmc seems to be giving more attention to the Pi Smile


RE: beta2 - CurlyMo - 13th Oct, 2013 08:34 PM

In my case Lirc now works at boot time. It only doesn't work in my specific cause. Probably because my /etc/lirc folder contains various symlinks to a samba share.


RE: beta2 - mk01 - 13th Oct, 2013 09:47 PM

@CurlyMo

add condition "stopped xbian-net" to lirc.conf .

when xbian-net is stopped, eth0/wlan should be up and nfs/nfs4/cifs mounts from fstab should have been mounted.

(13th Oct, 2013 08:12 PM)xraxor Wrote:  followed instructions by @mk01 changed etc/usbmount/usbmount.conf SHARERW=yes and reboot the Pi, now I can read/write/rename to my external EXT4 HDD

thanks for confirming


RE: beta2 - CurlyMo - 14th Oct, 2013 01:56 AM

@mk01, the problem is that it also doesn't work when starting Lirc through SSH.


RE: beta2 - mk01 - 14th Oct, 2013 02:18 AM

(13th Oct, 2013 08:34 PM)CurlyMo Wrote:  In my case Lirc now works at boot time. It only doesn't work in my specific cause. Probably because my /etc/lirc folder contains various symlinks to a samba share.

Can you not mount /etc/lirc as a whole folder?

There are "test -f" statements which will obviously fail on symlink. That's why sometimes is better just test -e.


RE: beta2 - CurlyMo - 14th Oct, 2013 03:05 AM

Didn't work either.


RE: beta2 - mk01 - 14th Oct, 2013 03:18 AM

then put a "set -x" to hardware.conf and follow output in /var/log/upstart/lirc.conf