Jump to content


Photo

Open PLi 4 not reading NTFS USB drive?

vu+ Duo2 Open PLi 4

  • Please log in to reply
11 replies to this topic

#1 smith

  • Member
  • 22 posts

0
Neutral

Posted 5 April 2015 - 14:06

Just reflashed a VU+ Duo to 4.0 and it will not read a 4TB Seagate USB drive. It was running Open Vix which would read the drive after installing an NTFS driver from the plugins under "drivers". I cannot find this under the PLi plugins list and I'm surprised it doesn't just read an NTFS drive anyway.


Zgemma H9 Combo 4K, VU+ Duo2, XT8500, DM800SE, DM800S.


Re: Open PLi 4 not reading NTFS USB drive? #2 MiLo

  • PLi® Core member
  • 13,892 posts

+290
Excellent

Posted 5 April 2015 - 18:06

Should work right out of the box, without the need to install anything. It should be able to both read and write NTFS disks.

Are you willing to do some extra diagnostic and help fix it? (in particular, that'll boil down to some telnet commands)

Edited by MiLo, 5 April 2015 - 18:07.

Real musicians never die - they just decompose

Re: Open PLi 4 not reading NTFS USB drive? #3 smith

  • Member
  • 22 posts

0
Neutral

Posted 5 April 2015 - 19:43

Umm, I realise it should work right out of the box so it's slightly irritating, I've plugged in an ntfs stick which also doesn't work so it's definitely a file system issue. Yeh telnet is fine and I appreciate the help. It should be noted that I've flashed with the 3/4/15 nightly build.

Edited by smith, 5 April 2015 - 19:44.

Zgemma H9 Combo 4K, VU+ Duo2, XT8500, DM800SE, DM800S.


Re: Open PLi 4 not reading NTFS USB drive? #4 Jan Gruuthuse

  • Senior Member
  • 984 posts

+19
Neutral

Posted 5 April 2015 - 20:05

or that usb stick is not recognised as such.

remove usb stick from stb, plug usb stick back in. Check with telnet: type this command:

dmesg

last lines displayed should show:

usb 1-1: new high-speed USB device number 4 using ehci-brcm
usb-storage 1-1:1.0: USB Mass Storage device detected
scsi1 : usb-storage 1-1:1.0
scsi 1:0:0:0: Direct-Access     Imation  Nano Pro         PMAP PQ: 0 ANSI: 0 CCS
sd 1:0:0:0: Attached scsi generic sg0 type 0
sd 1:0:0:0: [sda] 15859712 512-byte logical blocks: (8.12 GB/7.56 GiB)
sd 1:0:0:0: [sda] Write Protect is off
sd 1:0:0:0: [sda] Mode Sense: 23 00 00 00
sd 1:0:0:0: [sda] No Caching mode page found
sd 1:0:0:0: [sda] Assuming drive cache: write through
sd 1:0:0:0: [sda] No Caching mode page found
sd 1:0:0:0: [sda] Assuming drive cache: write through
 sda: sda1
sd 1:0:0:0: [sda] No Caching mode page found
sd 1:0:0:0: [sda] Assuming drive cache: write through
sd 1:0:0:0: [sda] Attached SCSI removable disk
EXT4-fs (sda1): recovery complete
EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)

showing if device is found.


Edited by Jan Gruuthuse, 5 April 2015 - 20:06.

3 * xp1000 OpenPli 4.0 + usb 3.0 stick 64 GB, fixed lnb 28.2E, 23.5E ,19.2E ,16E, 13E, 9E, 4.8E, n4100pro 12 TB


Re: Open PLi 4 not reading NTFS USB drive? #5 smith

  • Member
  • 22 posts

0
Neutral

Posted 6 April 2015 - 10:06

Ouput upto and including USB device detection:-

 

root@vuduo2:~# dmesg

ohci-brcm ohci-brcm.2: new USB bus registered, assigned bus number 7

ohci-brcm ohci-brcm.2: irq 73, io mem 0x10490400

hub 7-0:1.0: USB hub found

hub 7-0:1.0: 1 port detected

ohci-brcm ohci-brcm.3: Broadcom STB OHCI

ohci-brcm ohci-brcm.3: new USB bus registered, assigned bus number 8

ohci-brcm ohci-brcm.3: irq 74, io mem 0x10490600

usb 3-1: new high-speed USB device number 2 using ehci-brcm

hub 8-0:1.0: USB hub found

hub 8-0:1.0: 1 port detected

usbcore: registered new interface driver usb-storage

mousedev: PS/2 mouse device common for all mice

i2c /dev entries driver

IR NEC protocol handler initialized

IR RC5(x) protocol handler initialized

IR RC6 protocol handler initialized

IR JVC protocol handler initialized

IR Sony protocol handler initialized

IR RC5 (streamzap) protocol handler initialized

IR SANYO protocol handler initialized

IR MCE Keyboard/mouse protocol handler initialized

sdhci: Secure Digital Host Controller Interface driver

sdhci: Copyright© Pierre Ossman

sdhci-pltfm: SDHCI platform and OF driver helper

hidraw: raw HID events driver © Jiri Kosina

usbcore: registered new interface driver usbhid

usbhid: USB HID core driver

TCP: cubic registered

usb-storage 3-1:1.0: USB Mass Storage device detected

scsi2 : usb-storage 3-1:1.0

NET: Registered protocol family 17

Key type dns_resolver registered

PM: CP0 COUNT/COMPARE frequency does not depend on divisor

EBI CS0: setting up NAND flash (primary)

NAND device: Manufacturer ID: 0xec, Chip ID: 0xd3 (Samsung NAND 1GiB 3,3V 8-bit)

NAND device: 1024MiB, SLC, page size: 2048, OOB size: 64

brcmnand brcmnand.0: 1024MiB total, 128KiB blocks, 2KiB pages, 16B OOB, 8-bit, H

amming ECC

Bad block table found at page 524224, version 0x01

Bad block table found at page 524160, version 0x01

nand_read_bbt: bad block at 0x000016360000

nand_read_bbt: bad block at 0x000019c60000

Creating 4 MTD partitions on "brcmnand.0":

0x000002700000-0x000040000000 : "rootfs"

0x000002700000-0x000040000000 : "rootfs(redundant)"

0x000000200000-0x000000900000 : "kernel"

0x000000900000-0x000000b00000 : "mac"

UBI: attaching mtd0 to ubi0

random: nonblocking pool is initialized

usb 4-1: new high-speed USB device number 2 using ehci-brcm

usb 6-1: new full-speed USB device number 2 using ohci-brcm

scsi 2:0:0:0: Direct-Access     Kingston DT 101 G2        PMAP PQ: 0 ANSI: 0 CCS

sd 2:0:0:0: Attached scsi generic sg0 type 0

usb 1-1: new high-speed USB device number 2 using ehci-brcm

usb-storage 1-1:1.0: USB Mass Storage device detected

scsi3 : usb-storage 1-1:1.0

scsi 3:0:0:0: Direct-Access     Seagate  Expansion Desk   0604 PQ: 0 ANSI: 6

sd 3:0:0:0: Attached scsi generic sg1 type 0

sd 3:0:0:0: [sdb] Spinning up disk...

sd 2:0:0:0: [sda] 31342592 512-byte logical blocks: (16.0 GB/14.9 GiB)

sd 2:0:0:0: [sda] Write Protect is off

sd 2:0:0:0: [sda] Mode Sense: 23 00 00 00

sd 2:0:0:0: [sda] No Caching mode page found

sd 2:0:0:0: [sda] Assuming drive cache: write through

sd 2:0:0:0: [sda] No Caching mode page found

sd 2:0:0:0: [sda] Assuming drive cache: write through

 sda: sda1

sd 2:0:0:0: [sda] No Caching mode page found

sd 2:0:0:0: [sda] Assuming drive cache: write through

sd 2:0:0:0: [sda] Attached SCSI removable disk

UBI: scanning is finished

UBI: attached mtd0 (name "rootfs", size 985 MiB) to ubi0

UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes

UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048

UBI: VID header offset: 2048 (aligned 2048), data offset: 4096

UBI: good PEBs: 7874, bad PEBs: 6, corrupted PEBs: 0

UBI: user volume: 1, internal volumes: 1, max. volumes count: 128

UBI: max/mean erase counter: 7/3, WL threshold: 4096, image sequence number: 208

9721864

UBI: available PEBs: 0, total reserved PEBs: 7874, PEBs reserved for bad PEB han

dling: 154

UBI: background thread "ubi_bgt0d" started, PID 57

ALSA device list:

  No soundcards found.

....ready

sd 3:0:0:0: [sdb] 976754645 4096-byte logical blocks: (4.00 TB/3.63 TiB)

sd 3:0:0:0: [sdb] Write Protect is off

sd 3:0:0:0: [sdb] Mode Sense: 4f 00 00 00

sd 3:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO

 or FUA

sd 3:0:0:0: [sdb] 976754645 4096-byte logical blocks: (4.00 TB/3.63 TiB)

 sdb: sdb1

sd 3:0:0:0: [sdb] 976754645 4096-byte logical blocks: (4.00 TB/3.63 TiB)

sd 3:0:0:0: [sdb] Attached SCSI disk

UBIFS: parse sync

UBIFS: background thread "ubifs_bgt0_0" started, PID 60

UBIFS: mounted UBI device 0, volume 0, name "rootfs"

UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/20

48 bytes

UBIFS: FS size: 978350080 bytes (933 MiB, 7705 LEBs), journal size 9023488 bytes

 (8 MiB, 72 LEBs)

UBIFS: reserved for root: 0 bytes (0 KiB)

UBIFS: media format: w4/r0 (latest is w4/r0), UUID A9FF3D4C-A734-4DB7-9511-12214


Zgemma H9 Combo 4K, VU+ Duo2, XT8500, DM800SE, DM800S.


Re: Open PLi 4 not reading NTFS USB drive? #6 WanWizard

  • Forum Moderator
    PLi® Core member
  • 49,302 posts

+857
Excellent

Posted 6 April 2015 - 10:30

It looks like it detects both the 16Gb USB stick and the 4Tb disk just fine.

 

Next thing to check is where each of these are mounted (using the "mount" command).


Currently in use: VU+Duo 4K (2xFBC S2), Amiko Viper T2C (T2), SAB Alpha Triple HD (S2+T2), Zgemma H3.T2C (T/C), Zgemma H6 (fallback), VU+Zero (fallback)

Many answers to your question can be found in our new and improved wiki.

note: I do not provide support via PM !

 


Re: Open PLi 4 not reading NTFS USB drive? #7 smith

  • Member
  • 22 posts

0
Neutral

Posted 6 April 2015 - 11:41

It looks like it detects both the 16Gb USB stick and the 4Tb disk just fine.

 

Next thing to check is where each of these are mounted (using the "mount" command).

Oh yeh it was seeing the disks alright but just reported "no displayable media" and some "ext error reference" when trying to playback files in the media player. Anyway I've now seen this NTFS issue with Open PLi images a number of times on various boxes and looked at an old thread on the subject which mentioned running "opkg install kernel-module-ntfs". Did this, rebooted and I can now see the files on both drives, I'm just surprised that I've had to do this with a nightly build from this week!

 

I do have a further question, when setting the "recording path" I only seem to get the option of "/hdd/movie" and cannot browse through the mounts eg. "/mnt/Seagate Expansion Drive/movie", now luckily it is recording to the external Seagate rather than the actual "/hdd/movie" I can see when I FTP into the box. I was using a mounted network hdd on a DM800 and had this set as "use as HDD replacement". I've since removed this setting, restarted enigma yet it still appears as the "/hdd/movie" drive via FTP, yet the "/hdd/movie" in the recording settings is pointing at the Seagate?


Zgemma H9 Combo 4K, VU+ Duo2, XT8500, DM800SE, DM800S.


Re: Open PLi 4 not reading NTFS USB drive? #8 WanWizard

  • Forum Moderator
    PLi® Core member
  • 49,302 posts

+857
Excellent

Posted 6 April 2015 - 11:48

OpenPLi mounts the largest storage device on /media/hdd (and your stick will be at /media/usb). Most users don't know to look somewhere else.

 

As to the driver, I remember that on some old boxes (with a small flash), some drivers were not installed by default, but the Duo2 has plenty of space. So this should be checked...


Currently in use: VU+Duo 4K (2xFBC S2), Amiko Viper T2C (T2), SAB Alpha Triple HD (S2+T2), Zgemma H3.T2C (T/C), Zgemma H6 (fallback), VU+Zero (fallback)

Many answers to your question can be found in our new and improved wiki.

note: I do not provide support via PM !

 


Re: Open PLi 4 not reading NTFS USB drive? #9 smith

  • Member
  • 22 posts

0
Neutral

Posted 6 April 2015 - 12:29

OpenPLi mounts the largest storage device on /media/hdd (and your stick will be at /media/usb). Most users don't know to look somewhere else.

 

As to the driver, I remember that on some old boxes (with a small flash), some drivers were not installed by default, but the Duo2 has plenty of space. So this should be checked...

 

Ok thanks, to me I don't think the menu's in the "Media Player" and "Recording Path" are consistent and can cause confusion. I quite often browse local and network drives in "media player/pvr" and find it reasonably intuitive, I was expecting the same in the "Recording path" and feel uncomfortable basically making a recording then finding out where its been saved to?

 

When you say "needs to be checked" do you mean the nightly builds? I'm not very farmilar with the DUO2 and had quite a few issues trying to reflash it with a USB stick, I had to reformat the stick with HP format and had to unplug all other USB devices such as card readers and usb drives before it would work. I initially tried the build from 4/4/15 then ended up using 3/4/15, more on instinct rather believing there was a build fault with 4/4/15.


Zgemma H9 Combo 4K, VU+ Duo2, XT8500, DM800SE, DM800S.


Re: Open PLi 4 not reading NTFS USB drive? #10 WanWizard

  • Forum Moderator
    PLi® Core member
  • 49,302 posts

+857
Excellent

Posted 6 April 2015 - 12:51

Recording path(s) is just a list of one or more paths to which you can record, i.e. the paths that are selectable when you create a timer.

By default there is only one, /media/hdd, if you have something mounted there. So it serves a completely different purpose.

 

And I indeed meant an internal check, to see why the driver isn't part of the initial image, but an optional package. This is something that has to be done by hand, normally only dependencies (things that are required to run) are included in the base image by default.

 

Perhaps @MiLo can double check the build process?


Currently in use: VU+Duo 4K (2xFBC S2), Amiko Viper T2C (T2), SAB Alpha Triple HD (S2+T2), Zgemma H3.T2C (T/C), Zgemma H6 (fallback), VU+Zero (fallback)

Many answers to your question can be found in our new and improved wiki.

note: I do not provide support via PM !

 


Re: Open PLi 4 not reading NTFS USB drive? #11 MiLo

  • PLi® Core member
  • 13,892 posts

+290
Excellent

Posted 6 April 2015 - 19:08

By loading kernel-module-ntfs you get an old read-only NTFS driver. Try writing to the disk, if it's writable then something else caused the disk to be recognized.

NTFS should be supplied by "kernel-module-fuse" and "ntfs-3g".

Run "opkg info ntfs-3g" to see if they are installed. The fuse module is usually built into the kernel so it's okay if there isn't an explicit package for it.
Real musicians never die - they just decompose

Re: Open PLi 4 not reading NTFS USB drive? #12 smith

  • Member
  • 22 posts

0
Neutral

Posted 6 April 2015 - 20:24

Looks like was installed (see below). I'm happy now as its working, but I still get the "no displayable files" when I first plug an NTFS stick in, but if i wait a few seconds I can play files in the media player. The "ext error" has disappeared since running "opkg install kernel-module-ntfs".

 

root@vuduo2:~# opkg info ntfs-3g
Package: ntfs-3g
Version: 2013.1.13-r0.9
Depends: libfuse2, libntfs-3g84 (>= 2013.1.13), libc6 (>= 2.20)
Status: install ok installed
Section: base
Architecture: mips32el
Maintainer: OE-Core Developers <openembedded-core@lists.openembedded.org>
MD5Sum: 32bf970e537fdec5fa2ef1562ec5d6a8
Size: 85968
Filename: ntfs-3g_2013.1.13-r0.9_mips32el.ipk
Source: http://tuxera.com/op...s-2013.1.13.tgz
Description: ntfs-3g-ntfsprogs version 2013.1.13-r0  The NTFS-3G driver is an op
en
 source, freely available NTFS driver for   Linux with read and write
 support.
Installed-Time: 1428035179
 


Zgemma H9 Combo 4K, VU+ Duo2, XT8500, DM800SE, DM800S.






Also tagged with one or more of these keywords: vu+ Duo2, Open PLi 4

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users