Sign up here and you can log into the forum!

What's the problem with GPT (>2 TB) support?

Have a question about devices internals, memory layout, reverse engineering, etc---This is the place for anything so technical that it would cause a n00b's head to 'splode

Re: What's the problem with GPT (>2 TB) support?   

Postby mad_ady » Sat Aug 15, 2015 9:42 am

Hmm, most peculiar... There should not be any relevant changes in the plus firmware between 0.5.1.1 and 0.5.2.2 regarding GPT and such - I don't understand what's different.
Just to be sure, can you please run the following commands on both 0.5.1.1 and 0.5.2.2? I need you to run them from the flashed variant so that it runs with the bundled kernel (which should be the exact same).

Code: Select all
uname -a
fdisk -h
fdisk -l
zcat /proc/config.gz | grep PARTITION


Most puzzling...
User avatar
mad_ady
Developer
 
Posts: 4562
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania

Re: What's the problem with GPT (>2 TB) support?   

Postby lovilela » Sat Aug 15, 2015 10:19 am

0.5.2.1
Code: Select all
login as: root
root@192.168.1.40's password:
,.   ,   ,. .-,--.   ,   ,.  ,. ,--,--',.   ,.
`|  /|  /   ' |   \  )   ` \/ ' `- |   `|  /
  | / | /    , |   / /      /\    , |    | /
  `'  `'     `-^--'  `--' `'  `'  `-'    `'
         1.05.04_B.WDLXTV_PLUS-0.5.2.1
# uname -a
Linux WDTV 2.6.22.19-19-4 #13 PREEMPT Mon May 10 17:11:28 CST 2010 mips GNU/Linux
# fdisk -h
fdisk: invalid option -- 'h'
BusyBox v1.19.2 (2011-09-23 16:53:42 PDT) multi-call binary.

Usage: fdisk [-ul] [-C CYLINDERS] [-H HEADS] [-S SECTORS] [-b SSZ] DISK

Change partition table

        -u              Start and End are in sectors (instead of cylinders)
        -l              Show partition table for each DISK, then exit
        -b 2048         (for certain MO disks) use 2048-byte sectors
        -C CYLINDERS    Set number of cylinders/heads/sectors
        -H HEADS
        -S SECTORS

# fdisk -l

Disk /dev/sigmblocka: 267 MB, 267911168 bytes
255 heads, 63 sectors/track, 32 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblocka doesn't contain a valid partition table

Disk /dev/sigmblockb: 0 MB, 524288 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblockb doesn't contain a valid partition table

Disk /dev/sigmblockc: 0 MB, 262144 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblockc doesn't contain a valid partition table

Disk /dev/sigmblockd: 3 MB, 3145728 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblockd doesn't contain a valid partition table

Disk /dev/sigmblocke: 3 MB, 3145728 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblocke doesn't contain a valid partition table

Disk /dev/sigmblockf: 16 MB, 16777216 bytes
255 heads, 63 sectors/track, 2 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblockf doesn't contain a valid partition table

Disk /dev/sigmblockg: 8 MB, 8388608 bytes
255 heads, 63 sectors/track, 1 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblockg doesn't contain a valid partition table

Disk /dev/sigmblockh: 94 MB, 94371840 bytes
255 heads, 63 sectors/track, 11 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblockh doesn't contain a valid partition table

Disk /dev/sigmblocki: 94 MB, 94371840 bytes
255 heads, 63 sectors/track, 11 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblocki doesn't contain a valid partition table

Disk /dev/sigmblockj: 0 MB, 131072 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblockj doesn't contain a valid partition table

Disk /dev/sigmblockk: 0 MB, 131072 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblockk doesn't contain a valid partition table

Disk /dev/sigmblockl: 0 MB, 131072 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblockl doesn't contain a valid partition table
fdisk: device has more than 2^32 sectors, can't use all of them

Disk /dev/sda: 2199.0 GB, 2199023255040 bytes
255 heads, 63 sectors/track, 267349 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sda1               1      267350  2147483647+ ee EFI GPT
# zcat /proc/config.gz | grep PARTITION
CONFIG_PARTITION_ADVANCED=y
# CONFIG_ACORN_PARTITION is not set
# CONFIG_OSF_PARTITION is not set
# CONFIG_AMIGA_PARTITION is not set
# CONFIG_ATARI_PARTITION is not set
CONFIG_MAC_PARTITION=y
CONFIG_MSDOS_PARTITION=y
# CONFIG_MINIX_SUBPARTITION is not set
# CONFIG_SOLARIS_X86_PARTITION is not set
CONFIG_LDM_PARTITION=y
# CONFIG_SGI_PARTITION is not set
# CONFIG_ULTRIX_PARTITION is not set
# CONFIG_SUN_PARTITION is not set
# CONFIG_KARMA_PARTITION is not set
CONFIG_EFI_PARTITION=y
# CONFIG_SYSV68_PARTITION is not set
CONFIG_XENV_PARTITION=y
#


0.5.1.1
Code: Select all
login as: root
root@192.168.1.40's password:
   .-.-.-..--. .-.   .-..-..---..-..-.
   | | | || \ \| |__  >  < `| |' \  /
   `-----'`-'-'`----''-'`-` `-'   `'
       1.05.04_B_WDLXTV.COM_WDLXTV_PLUS-0.5.1.1
# uname -a
Linux WDTV 2.6.22.19-19-4 #13 PREEMPT Mon May 10 17:11:28 CST 2010 mips GNU/Linux
# fdisk -h
fdisk: invalid option -- 'h'
BusyBox v1.14.1 (2011-08-20 21:59:12 PDT) multi-call binary

Usage: fdisk [-ul] [-C CYLINDERS] [-H HEADS] [-S SECTORS] [-b SSZ] DISK

Change partition table

Options:
        -u              Start and End are in sectors (instead of cylinders)
        -l              Show partition table for each DISK, then exit
        -b 2048         (for certain MO disks) use 2048-byte sectors
        -C CYLINDERS    Set number of cylinders/heads/sectors
        -H HEADS

        -S SECTORS

# fdisk -l

Disk /dev/sigmblocka: 267 MB, 267911168 bytes
255 heads, 63 sectors/track, 32 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblocka doesn't contain a valid partition table

Disk /dev/sigmblockb: 0 MB, 524288 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblockb doesn't contain a valid partition table

Disk /dev/sigmblockc: 0 MB, 262144 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblockc doesn't contain a valid partition table

Disk /dev/sigmblockd: 3 MB, 3145728 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblockd doesn't contain a valid partition table

Disk /dev/sigmblocke: 3 MB, 3145728 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblocke doesn't contain a valid partition table

Disk /dev/sigmblockf: 16 MB, 16777216 bytes
255 heads, 63 sectors/track, 2 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblockf doesn't contain a valid partition table

Disk /dev/sigmblockg: 8 MB, 8388608 bytes
255 heads, 63 sectors/track, 1 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblockg doesn't contain a valid partition table

Disk /dev/sigmblockh: 94 MB, 94371840 bytes
255 heads, 63 sectors/track, 11 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblockh doesn't contain a valid partition table

Disk /dev/sigmblocki: 94 MB, 94371840 bytes
255 heads, 63 sectors/track, 11 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblocki doesn't contain a valid partition table

Disk /dev/sigmblockj: 0 MB, 131072 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblockj doesn't contain a valid partition table

Disk /dev/sigmblockk: 0 MB, 131072 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblockk doesn't contain a valid partition table

Disk /dev/sigmblockl: 0 MB, 131072 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblockl doesn't contain a valid partition table

Disk /dev/sda: 5000.9 GB, 5000981077504 bytes
255 heads, 63 sectors/track, 608001 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sda1               1      267350  2147483647+ ee EFI GPT
# zcat /proc/config.gz | grep PARTITION
CONFIG_PARTITION_ADVANCED=y
# CONFIG_ACORN_PARTITION is not set
# CONFIG_OSF_PARTITION is not set
# CONFIG_AMIGA_PARTITION is not set
# CONFIG_ATARI_PARTITION is not set
CONFIG_MAC_PARTITION=y
CONFIG_MSDOS_PARTITION=y
# CONFIG_MINIX_SUBPARTITION is not set
# CONFIG_SOLARIS_X86_PARTITION is not set
CONFIG_LDM_PARTITION=y
# CONFIG_SGI_PARTITION is not set
# CONFIG_ULTRIX_PARTITION is not set
# CONFIG_SUN_PARTITION is not set
# CONFIG_KARMA_PARTITION is not set
CONFIG_EFI_PARTITION=y
# CONFIG_SYSV68_PARTITION is not set
CONFIG_XENV_PARTITION=y
#


Note the difference:

Disk /dev/sda: 2199.0 GB, 2199023255040 bytes
255 heads, 63 sectors/track, 267349 cylinders

Disk /dev/sda: 5000.9 GB, 5000981077504 bytes
255 heads, 63 sectors/track, 608001 cylinders
lovilela
n00b
 
Posts: 17
Joined: Wed Aug 12, 2015 6:01 pm

Re: What's the problem with GPT (>2 TB) support?   

Postby mad_ady » Sat Aug 15, 2015 11:31 am

Ok, I've seen the difference - It seems newer firmwares have a newer busybox (fdisk is a busybox applet) and this may cause the discrepancy.
Now, the question is - is it only a cosmetical issue in fdisk, or is it a functional issue (you can't mount/access past the 2TB mark)?

Can you run a test on 0.5.2.1 or 0.5.2.2 and tell me if you can access data past the 2TB mark?

One idea would be to downgrade busybox (or recompile it with GPT support), but downgrading will probably break other things.

As you can see from the commit logs, busybox was updated by b-rad, but never released...
http://svn.wdlxtv.com/log.php?repname=1.05.04-wdlxtv&path=%2Fplus%2Ftrunk%2Fbin%2Fbusybox&amp;
User avatar
mad_ady
Developer
 
Posts: 4562
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania

Re: What's the problem with GPT (>2 TB) support?   

Postby lovilela » Mon Aug 17, 2015 5:37 pm

Ok, will do.

It is taking more time than expected as I realized that the command that create sparse files on the HD was not actually populating it. Strangly the files were there, adding up to 4TB, but when looking at the actual size in WDLXTV's web end the drive was still empty, just a few GBs.

So, I am actually copying all my stuff from the old HD to the new one, around 2TB through a USB 2.0 interface (around 20-22MB/s), i.e. will take 1.5 days. I will make sure there is more than 2TB in the HD prior to connecting it back to WDTV.

This week I'll resume it all and post here the results.
lovilela
n00b
 
Posts: 17
Joined: Wed Aug 12, 2015 6:01 pm

Re: What's the problem with GPT (>2 TB) support?   

Postby mad_ady » Mon Aug 17, 2015 10:07 pm

Ok, thanks.

If you notice that you still have problems on the 0.5.2.2 firmware, here's what you can try next:
1. Get this busybox binary: http://svn.wdlxtv.com/filedetails.php?repname=1.05.04-wdlxtv&path=%2Fplus%2Ftrunk%2Fbin%2Fbusybox&rev=208&peg=208 and save it to a USB drive that has early mount enabled (different from your HDD).
2. Edit/create /conf/S99user-script (http://wiki.wdlxtv.com/S99user-script) and add this content:
Code: Select all
#!/bin/sh
mount -o bind /tmp/mnt/<path-to-your-usb-drive>/busybox /bin/busybox

3. Once the unit fully boots up, plug in the HDD and try the fdisk command again. The command overrides the busybox in 0.5.2.2 with the one in 0.5.1.1 to see if it fixes the issue.
User avatar
mad_ady
Developer
 
Posts: 4562
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania

Re: What's the problem with GPT (>2 TB) support?   

Postby lovilela » Sun Aug 23, 2015 7:05 am

Ok, after finally copying data to the new drive, here are the results. First with the current 0.5.1.1 version:

Code: Select all
                               \ \   / /_   _\ \/ /   | |/ _  \ \      / /
                                \ \ / /  | |  \  /    | | | | |\ \ /\ / /
                                 \ V /   | |  /  \ ___| | |_| | \ V  V /
                                  \_/    |_| /_/\_\_____|\____|  \_/\_/
       1.05.04_B_WDLXTV.COM_WDLXTV_PLUS-0.5.1.1
#
# uname -a
Linux WDTV 2.6.22.19-19-4 #13 PREEMPT Mon May 10 17:11:28 CST 2010 mips GNU/Linux
#
# fdisk -l

Disk /dev/sigmblocka: 267 MB, 267911168 bytes
255 heads, 63 sectors/track, 32 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblocka doesn't contain a valid partition table

Disk /dev/sigmblockb: 0 MB, 524288 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblockb doesn't contain a valid partition table

Disk /dev/sigmblockc: 0 MB, 262144 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblockc doesn't contain a valid partition table

Disk /dev/sigmblockd: 3 MB, 3145728 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblockd doesn't contain a valid partition table

Disk /dev/sigmblocke: 3 MB, 3145728 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblocke doesn't contain a valid partition table

Disk /dev/sigmblockf: 16 MB, 16777216 bytes
255 heads, 63 sectors/track, 2 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblockf doesn't contain a valid partition table

Disk /dev/sigmblockg: 8 MB, 8388608 bytes
255 heads, 63 sectors/track, 1 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblockg doesn't contain a valid partition table

Disk /dev/sigmblockh: 94 MB, 94371840 bytes
255 heads, 63 sectors/track, 11 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblockh doesn't contain a valid partition table

Disk /dev/sigmblocki: 94 MB, 94371840 bytes
255 heads, 63 sectors/track, 11 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblocki doesn't contain a valid partition table

Disk /dev/sigmblockj: 0 MB, 131072 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblockj doesn't contain a valid partition table

Disk /dev/sigmblockk: 0 MB, 131072 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblockk doesn't contain a valid partition table

Disk /dev/sigmblockl: 0 MB, 131072 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblockl doesn't contain a valid partition table

Disk /dev/sda: 5000.9 GB, 5000981077504 bytes
255 heads, 63 sectors/track, 608001 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sda1               1      267350  2147483647+ ee EFI GPT
#
# zcat /proc/config.gz | grep PARTITION
CONFIG_PARTITION_ADVANCED=y
# CONFIG_ACORN_PARTITION is not set
# CONFIG_OSF_PARTITION is not set
# CONFIG_AMIGA_PARTITION is not set
# CONFIG_ATARI_PARTITION is not set
CONFIG_MAC_PARTITION=y
CONFIG_MSDOS_PARTITION=y
# CONFIG_MINIX_SUBPARTITION is not set
# CONFIG_SOLARIS_X86_PARTITION is not set
CONFIG_LDM_PARTITION=y
# CONFIG_SGI_PARTITION is not set
# CONFIG_ULTRIX_PARTITION is not set
# CONFIG_SUN_PARTITION is not set
# CONFIG_KARMA_PARTITION is not set
CONFIG_EFI_PARTITION=y
# CONFIG_SYSV68_PARTITION is not set
CONFIG_XENV_PARTITION=y
#


Oddly, the web frontend now is showing the drive as EXT2 formatted, which is not the case (actually it is EXT3):

Image

But it seems that all is ok with WDTV. The "Videos" menu loaded normally and all folders were there. Movie playback is normal, from a folder copied last (so, presumably after the 2TB mark).

Now I'll flash 0.5.2.2 to check the differences. Last I can try your suggestion to change busybox version on 0.5.2.2.
lovilela
n00b
 
Posts: 17
Joined: Wed Aug 12, 2015 6:01 pm

Re: What's the problem with GPT (>2 TB) support?   

Postby lovilela » Sun Aug 23, 2015 7:39 am

Now 0.5.2.2 version. Here are the results:

Code: Select all
   _/          _/  _/_/_/    _/        _/      _/  _/_/_/_/_/  _/      _/
  _/          _/  _/    _/  _/          _/  _/        _/      _/      _/
_/    _/    _/  _/    _/  _/            _/          _/      _/      _/
  _/  _/  _/    _/    _/  _/          _/  _/        _/        _/  _/
   _/  _/      _/_/_/    _/_/_/_/  _/      _/      _/          _/
                   1.05.04_B.WDLXTV_PLUS-0.5.2.2
#
# uname -a
Linux WDTV 2.6.22.19-19-4 #13 PREEMPT Mon May 10 17:11:28 CST 2010 mips GNU/Linux
#
# fdisk -l

Disk /dev/sigmblocka: 267 MB, 267911168 bytes
255 heads, 63 sectors/track, 32 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblocka doesn't contain a valid partition table

Disk /dev/sigmblockb: 0 MB, 524288 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblockb doesn't contain a valid partition table

Disk /dev/sigmblockc: 0 MB, 262144 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblockc doesn't contain a valid partition table

Disk /dev/sigmblockd: 3 MB, 3145728 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblockd doesn't contain a valid partition table

Disk /dev/sigmblocke: 3 MB, 3145728 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblocke doesn't contain a valid partition table

Disk /dev/sigmblockf: 16 MB, 16777216 bytes
255 heads, 63 sectors/track, 2 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblockf doesn't contain a valid partition table

Disk /dev/sigmblockg: 8 MB, 8388608 bytes
255 heads, 63 sectors/track, 1 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblockg doesn't contain a valid partition table

Disk /dev/sigmblockh: 94 MB, 94371840 bytes
255 heads, 63 sectors/track, 11 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblockh doesn't contain a valid partition table

Disk /dev/sigmblocki: 94 MB, 94371840 bytes
255 heads, 63 sectors/track, 11 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblocki doesn't contain a valid partition table

Disk /dev/sigmblockj: 0 MB, 131072 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblockj doesn't contain a valid partition table

Disk /dev/sigmblockk: 0 MB, 131072 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblockk doesn't contain a valid partition table

Disk /dev/sigmblockl: 0 MB, 131072 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblockl doesn't contain a valid partition table
fdisk: device has more than 2^32 sectors, can't use all of them

Disk /dev/sda: 2199.0 GB, 2199023255040 bytes
255 heads, 63 sectors/track, 267349 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sda1               1      267350  2147483647+ ee EFI GPT
#
# zcat /proc/config.gz | grep PARTITION
CONFIG_PARTITION_ADVANCED=y
# CONFIG_ACORN_PARTITION is not set
# CONFIG_OSF_PARTITION is not set
# CONFIG_AMIGA_PARTITION is not set
# CONFIG_ATARI_PARTITION is not set
CONFIG_MAC_PARTITION=y
CONFIG_MSDOS_PARTITION=y
# CONFIG_MINIX_SUBPARTITION is not set
# CONFIG_SOLARIS_X86_PARTITION is not set
CONFIG_LDM_PARTITION=y
# CONFIG_SGI_PARTITION is not set
# CONFIG_ULTRIX_PARTITION is not set
# CONFIG_SUN_PARTITION is not set
# CONFIG_KARMA_PARTITION is not set
CONFIG_EFI_PARTITION=y
# CONFIG_SYSV68_PARTITION is not set
CONFIG_XENV_PARTITION=y
#


So, FDISK is still showing 2199.0 GB instead of 5TB.

However, WDTV loaded normally and all folders seems to be there in the menu. Just played some videos, all ok.

What is strange is the web frontend. It seems to have no consistency, showing sometimes the drive as EXT2 and other times EXT3. I thought it was version related (0.5.1.1 showing right EXT3 and newer versions EXT2), but now it is the other way around. Take a look:

Image
lovilela
n00b
 
Posts: 17
Joined: Wed Aug 12, 2015 6:01 pm

Re: What's the problem with GPT (>2 TB) support?   

Postby mad_ady » Sun Aug 23, 2015 10:39 pm

Ok, so far it seems like cosmetic issues... I'm curious how it will look like after you replace busybox as well. You can try with an ext3 version or with the mount -o bind trick I showed you... By the way, what does df -h show you on 0.5.2.2?
User avatar
mad_ady
Developer
 
Posts: 4562
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania

Re: What's the problem with GPT (>2 TB) support?   

Postby lovilela » Mon Aug 24, 2015 4:33 pm

"df -h" command on 0.5.2.2

Code: Select all
     ____    _     ___     ____   ____   __        __    __    _
|  |    |  | |    \  \   |    \  \  /  / (__    __) |  |  |  |
|  |    |  | |     |  |  |     \  \/  /     |  |    |  |  |  |
|  |    |  | |     |  |  |      >    <      |  |    |  |  |  |
  \  \/\/  /  |     |  |  |__   /  /\  \     |  |     \  \/  /
__\      /___|    /__/      )_/  /__\  \____|  |______\    /___
                1.05.04_B.WDLXTV_PLUS-0.5.2.2
#
# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/sigmblockh         257.4M    257.4M         0 100% /
mdev                     97.2M         0     97.2M   0% /dev
none                     97.2M      4.4M     92.8M   4% /tmp
none                     97.2M      4.4M     92.8M   4% /etc/mdev.conf
/dev/loop0              122.0K      2.0K    120.0K   2% /tmp/static_config
/dev/loop1               23.8M     23.8M         0 100% /bi2
none                     97.2M      4.4M     92.8M   4% /apps
/dev/sigmblockh         257.4M    257.4M         0 100% /bin/pandora_ep
/dev/loop1               23.8M     23.8M         0 100% /var/www
/dev/sigmblockh         257.4M    257.4M         0 100% /osd/image/screen_saver.png
/dev/sigmblockh         257.4M    257.4M         0 100% /osd/image/villa_bg.jpg
/dev/sigmblockh         257.4M    257.4M         0 100% /osd/basic_browse_thumb_video.xml
/dev/sigmblockh         257.4M    257.4M         0 100% /osd/image/youtube_logo.png
/dev/sigmblockh         257.4M    257.4M         0 100% /osd/image/villa/home_live365_icon_f.png
/dev/sigmblockh         257.4M    257.4M         0 100% /osd/image/villa/home_live365_icon_n.png
/dev/sigmblockh         257.4M    257.4M         0 100% /osd/image/online_matrix_live365_f.png
/dev/sigmblockh         257.4M    257.4M         0 100% /osd/image/online_matrix_live365_n.png
/dev/sigmblockh         257.4M    257.4M         0 100% /osd/live365_about_page.xml
/dev/sigmblockh         257.4M    257.4M         0 100% /osd/live365_device_login.xml
/dev/sigmblockh         257.4M    257.4M         0 100% /osd/live365_list_page.xml
/dev/sigmblockh         257.4M    257.4M         0 100% /osd/live365_play.xml
/dev/sigmblockh         257.4M    257.4M         0 100% /osd/live365_preset.xml
/dev/sigmblockh         257.4M    257.4M         0 100% /osd/live365_station.xml
/dev/sda2                 4.5T      2.0T      2.3T  47% /tmp/media/usb/USB2/220da550-62a3-4895-8d5c-20dd60754000
#
lovilela
n00b
 
Posts: 17
Joined: Wed Aug 12, 2015 6:01 pm

Re: What's the problem with GPT (>2 TB) support?   

Postby lovilela » Mon Aug 24, 2015 4:53 pm

Ok, just loaded the busybox bin according to your instructions above. Hope it worked.

Find below the fdisk -l results on 0.5.2.2

Code: Select all

______________________________________________
   _      _   _____    _     _  _ ______ _    _
   |  |  /    /    )   /     | /    /    |   /
--|-/|-/----/----/---/------|-----/-----|--/--
   |/ |/    /    /   /      /|    /      | /
__/__|____/____/___/____/_/_|___/_______|/____
          1.05.04_B.WDLXTV_PLUS-0.5.2.2
#
# fdisk
BusyBox v1.19.2 (2011-09-23 16:53:42 PDT) multi-call binary.

Usage: fdisk [-ul] [-C CYLINDERS] [-H HEADS] [-S SECTORS] [-b SSZ] DISK

Change partition table

        -u              Start and End are in sectors (instead of cylinders)
        -l              Show partition table for each DISK, then exit
        -b 2048         (for certain MO disks) use 2048-byte sectors
        -C CYLINDERS    Set number of cylinders/heads/sectors
        -H HEADS
        -S SECTORS

# fdisk -l

Disk /dev/sigmblocka: 267 MB, 267911168 bytes
255 heads, 63 sectors/track, 32 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblocka doesn't contain a valid partition table

Disk /dev/sigmblockb: 0 MB, 524288 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblockb doesn't contain a valid partition table

Disk /dev/sigmblockc: 0 MB, 262144 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblockc doesn't contain a valid partition table

Disk /dev/sigmblockd: 3 MB, 3145728 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblockd doesn't contain a valid partition table

Disk /dev/sigmblocke: 3 MB, 3145728 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblocke doesn't contain a valid partition table

Disk /dev/sigmblockf: 16 MB, 16777216 bytes
255 heads, 63 sectors/track, 2 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblockf doesn't contain a valid partition table

Disk /dev/sigmblockg: 8 MB, 8388608 bytes
255 heads, 63 sectors/track, 1 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblockg doesn't contain a valid partition table

Disk /dev/sigmblockh: 94 MB, 94371840 bytes
255 heads, 63 sectors/track, 11 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblockh doesn't contain a valid partition table

Disk /dev/sigmblocki: 94 MB, 94371840 bytes
255 heads, 63 sectors/track, 11 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblocki doesn't contain a valid partition table

Disk /dev/sigmblockj: 0 MB, 131072 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblockj doesn't contain a valid partition table

Disk /dev/sigmblockk: 0 MB, 131072 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblockk doesn't contain a valid partition table

Disk /dev/sigmblockl: 0 MB, 131072 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sigmblockl doesn't contain a valid partition table

Disk /dev/sda: 4040 MB, 4040724480 bytes
125 heads, 62 sectors/track, 1018 cylinders
Units = cylinders of 7750 * 512 = 3968000 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sda1   ?      247372      464253   840415161  69 Unknown
Partition 1 has different physical/logical beginnings (non-Linux?):
     phys=(612, 109, 33) logical=(247371, 31, 10)
Partition 1 has different physical/logical endings:
     phys=(255, 97, 46) logical=(464252, 72, 39)
Partition 1 does not end on cylinder boundary
/dev/sda2   ?      249929      469507   850868148+ ff Unknown
Partition 2 has different physical/logical beginnings (non-Linux?):
     phys=(367, 115, 35) logical=(249928, 7, 17)
Partition 2 has different physical/logical endings:
     phys=(80, 13, 10) logical=(469506, 116, 55)
Partition 2 does not end on cylinder boundary
/dev/sda3   ?      228163      456307   884061367  6c Unknown
Partition 3 has different physical/logical beginnings (non-Linux?):
     phys=(355, 116, 37) logical=(228162, 8, 52)
Partition 3 has different physical/logical endings:
     phys=(112, 97, 32) logical=(456306, 117, 27)
Partition 3 does not end on cylinder boundary
/dev/sda4   ?      372346      372353       27107   0 Empty
Partition 4 has different physical/logical beginnings (non-Linux?):
     phys=(10, 114, 13) logical=(372345, 119, 25)
Partition 4 has different physical/logical endings:
     phys=(0, 0, 0) logical=(372352, 118, 50)
Partition 4 does not end on cylinder boundary

Partition table entries are not in disk order
fdisk: device has more than 2^32 sectors, can't use all of them

Disk /dev/sdb: 2199.0 GB, 2199023255040 bytes
255 heads, 63 sectors/track, 267349 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sdb1               1      267350  2147483647+ ee EFI GPT
#

So, no changes... still showing 2.199GB.
lovilela
n00b
 
Posts: 17
Joined: Wed Aug 12, 2015 6:01 pm

PreviousNext

Return to WDTV Live

Who is online

Users browsing this forum: No registered users and 1 guest