tcesni / crossepg

Automatically exported from code.google.com/p/crossepg
GNU Lesser General Public License v2.1
0 stars 0 forks source link

fstab #94

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
i have a usb stick
with device manager:
menu->blue panel->device manager(format and mount)
but my (fstab)file in (etc) is:

[code]rootfs               /                    auto       defaults             
 1 1
proc                 /proc                proc       defaults              0 0
devpts               /dev/pts             devpts     mode=0620,gid=5       0 0
usbfs                /proc/bus/usb        usbfs      defaults              0 0
/dev/mtdblock2       /boot                jffs2      ro                    0 0
tmpfs                /var                 tmpfs      defaults              0 0
tmpfs                /tmp                 tmpfs      defaults              0 0
/dev/sda1            /media/hdd           auto       defaults              0 
0[/code]

crossepg not work

my image:CVS+GP3
Dreambox800

Original issue reported on code.google.com by farshad....@gmail.com on 1 May 2011 at 10:06

GoogleCodeExporter commented 8 years ago
Sorry.. i don't understand well.
Your usbpen is /dev/sda1 used as hdd replament?
Could you also show me the output of "mount" command?

Few weeks ago i added a patch for rw check on selected device. The crossepg 
setup screen try to write a file on device, if the operation terminate 
succesfully it show the device on setup screen. If autofs mount it as read only 
obviously we can't use it and crossepg doesn't show the device. In this case i 
suggest always a manual mount from fstab.

Let me know.

Original comment by skama...@gmail.com on 2 May 2011 at 5:50

GoogleCodeExporter commented 8 years ago
if in my fstab file i have't this line:
/dev/sdb1            /media/usb           auto       defaults              0 0

crossepg not work on my usb

It is something that does not need this line of code?
And no need this lines of code to plugin work?

my fstab file in etc:attach

Original comment by farshad....@gmail.com on 2 May 2011 at 6:58

Attachments:

GoogleCodeExporter commented 8 years ago
without Edit this file (fstab) will not work
Is there a way do not need?

please test this image:
CVS+GP3
and test crossepg.

Original comment by farshad....@gmail.com on 5 May 2011 at 8:13

GoogleCodeExporter commented 8 years ago
Ok.. i tested it and yes, you're right, the device doesn't appear on device 
list. I did some test and i think this is a bug related to GP3 (or enigma2 
itself).

I formatted and mounted the usb pen through GP3 panel. Then my usb pen was on 
/media/USBPEN and it was writable.
When i tried to get the device list from enigma2 api i obtained this:
-----------
[<Components.Harddisk.Partition instance at 0x979530>, 
<Components.Harddisk.Partition instance at 0x979698>]
/autofs/sda1/
/
-----------
Enigma2 told me the wrong mount path (/autofs/sda1). Obviously the invalid path 
disappear from crossepg setup because it's not writable.

This problem doesn't affect only crossepg. Take for example the integrated 
media player.
For test purpose i downloaded an avi file on /media/USBPEN via ftp. After that 
i opened media player and choosed my device "kingstone usb pen". The list is 
empty and i can't see my avi (this happen because it try to open /autofs/sda1). 
Instead if i go in "Internal flash" -> "mnt" -> "USBPEN" i can see my avi.

I think you need to report this bug on GP3 forum.

For now, to workaround the problem, you can manually change your db path 
manually editing /usr/crossepg/crossepg.config.
Remember that every time you go in "configuration" and come back this file will 
be recreated.

Original comment by skama...@gmail.com on 15 May 2011 at 11:29

GoogleCodeExporter commented 8 years ago
Issue 96 has been merged into this issue.

Original comment by skama...@gmail.com on 15 May 2011 at 12:40

GoogleCodeExporter commented 8 years ago
After more test with latest GP3 release on latest enigma2 release i can confirm 
that the problem persist.
I think the problem is caused because GP3 mount usb devices during enigma2 
initilization. During startup enigma2 read all devices with the mount path 
(with a device unmounted it read /autofs/sdx1) and cache it. After that GP3 
change the mountpoints. When a plugin try to read the device use the mountpath 
cached from enigma2 before GP3 initialization. This is valid for all plugin 
(from crossepg to mediaplayer).

Manually settings mount path in fstab all work because the device is already 
mounted during enigma2 startup.

Please report the bug to GP3 forum.

I close the issue.

Original comment by skama...@gmail.com on 15 May 2011 at 4:33

GoogleCodeExporter commented 8 years ago
Manually settings mount path in fstab all work because the device is already 
mounted during enigma2 startup.

how??????????
please more info

Original comment by farshad....@gmail.com on 15 May 2011 at 6:52

GoogleCodeExporter commented 8 years ago
I added this line in /etc/fstab

/dev/sda1            /media/usb           auto       defaults              0 0

If you also have an internal hdd you're device probably is named /dev/sdb1

Original comment by skama...@gmail.com on 15 May 2011 at 6:56

GoogleCodeExporter commented 8 years ago
tnx
please give me SVN 300

Original comment by farshad....@gmail.com on 15 May 2011 at 8:56

GoogleCodeExporter commented 8 years ago
you can build it yourself via svn

Original comment by persianp...@gmail.com on 15 May 2011 at 9:25

GoogleCodeExporter commented 8 years ago
hello,

I have enigma2 5.1 using crossepg 0.6.2 (svn 300)
I am using internal hdd for recording and viewing videos , works great.
I can see the "myhdd" in the EPG screen under the blue panel setup.
I canot see the "myhdd" under the config of crossepg , only internal drive.
this is my fstab :

rootfs               /                    auto       defaults              1 1
proc                 /proc                proc       defaults              0 0
devpts               /dev/pts             devpts     mode=0620,gid=5       0 0
usbfs                /proc/bus/usb        usbfs      defaults              0 0
/dev/mtdblock2       /boot                jffs2      ro                    0 0
tmpfs                /var                 tmpfs      defaults              0 0
tmpfs                /tmp                 tmpfs      defaults              0 0
/dev/sda1            /media/hdd           auto       defaults              0 0

i added also this line , and stil cant see .
/dev/sda             /media/myhdd         auto       defaults              0 0 

i wrote /dev/sda  from the command fdisk -l 

please help.

Original comment by eli.rach...@gmail.com on 28 May 2011 at 7:56