Wiithon can't detect WBFS partition for HDD sector size 4096 (hd num sector doesn't match)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
wiithon |
New
|
Undecided
|
Unassigned |
Bug Description
The partition formats correctly with 'wwt' but cannot be seen by Wiithon:
root:midenok# wwt format --force /dev/sdc1
***** wwt: Wiimms WBFS Tool v2.09b r4053 x86_64 - Dirk Clemens - 2012-09-09 *****
FORMAT BLOCK DEVICE /dev/sdc1 [300 GiB, hss=4096]
** 1 file formatted.
midenok:~$ /usr/games/
hd num sector doesn't match: Success
midenok:~$ /usr/games/
hd num sector doesn't match: Success
midenok:~$ /usr/games/
size used used% free discs file (sizes in MiB)
-------
307552 8 0% 307544 0/2045 /dev/sdc1
Another drive (512b sector) works correctly:
midenok:~$ /usr/games/
wbfs total: 293.42G used: 289.02G free: 4.41G
midenok:~$ /usr/games/
289.015625;
midenok:~$ /usr/games/
size used used% free discs file (sizes in MiB)
-------
300464 295912 98% 4552 135/500 /dev/sdb2
Parted information on drives:
(parted) p free
Model: OEM Ext Hard Disk (scsi)
Disk /dev/sdc: 1000194MB
Sector size (logical/physical): 4096B/4096B
Partition Table: msdos
Number Start End Size Type File system Flags
0.26MB 6580MB 6580MB Free Space
1 6580MB 329077MB 322497MB primary lba
329077MB 1000194MB 671117MB Free Space
(parted) unit s
(parted) p free
Model: OEM Ext Hard Disk (scsi)
Disk /dev/sdc: 244188086s
Sector size (logical/physical): 4096B/4096B
Partition Table: msdos
Number Start End Size Type File system Flags
63s 1606499s 1606437s Free Space
1 1606500s 80341064s 78734565s primary lba
80341065s 244188085s 163847021s Free Space
(parted) p free
Model: StoreJet Transcend (scsi)
Disk /dev/sdb: 320GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 32.3kB 5009MB 5009MB primary ext4
2 5009MB 320GB 315GB primary lba
320GB 320GB 2613kB Free Space
(parted) unit s
(parted) p free
Model: StoreJet Transcend (scsi)
Disk /dev/sdb: 625142448s
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 63s 9783584s 9783522s primary ext4
2 9783585s 625137344s 615353760s primary lba
625137345s 625142447s 5103s Free Space
If to format with Wiithon, then it starts to show something, but anyway incorrect:
(/dev/sdb is same drive as /dev/sdc above, with slightly different partition (see below))
root:midenok# /usr/games/
** Converting /dev/sdb1 to FAT32 to WBFS **
** Formating /dev/sdb1 to FAT32 **
umount: /dev/sdb1: not mounted
mkdosfs 3.0.3 (18 May 2009)
/dev/sdb1 has 255 heads and 63 sectors per track,
logical sector size is 4096,
using 0xf8 media descriptor, with 244187648 sectors;
file system has 2 32-bit FATs and 8 sectors per cluster.
FAT size is 29801 sectors, and provides 30516001 clusters.
Volume ID is 7bba98cc, volume label WiithonDEV .
** Formated /dev/sdb1 as FAT32 **
** Formating /dev/sdb1 to WBFS **
** Formated /dev/sdb1 as WBFS **
root:midenok# /usr/games/
1760.125000;
root:midenok# /usr/games/
wbfs total: 2272.12G used: 1760.12G free: 512.00G
(Look at wbfs total, used, free -- they are all incorrect)
(parted) p free
Model: OEM Ext Hard Disk (scsi)
Disk /dev/sdb: 1000GB
Sector size (logical/physical): 4096B/4096B
Partition Table: msdos
Number Start End Size Type File system Flags
258kB 1049kB 791kB Free Space
1 1049kB 1000GB 1000GB primary lba
1000GB 1000GB 745kB Free Space
Suffice to say that that drive with 4096 sector size and WBFS works correctly on Wii (CFG Usb Loader).