Wiithon can't detect WBFS partition for HDD sector size 4096 (hd num sector doesn't match)

Asked by midenok on 2012-09-12

(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) unit chs
(parted) p free
Model: OEM Ext Hard Disk (scsi)
Disk /dev/sdc: 15200,1,22
Sector size (logical/physical): 4096B/4096B
BIOS cylinder,head,sector geometry: 15200,255,63. Each cylinder is 65802kB.
Partition Table: msdos

Number Start End Type File system Flags
        0,1,0 99,254,62 Free Space
 1 100,0,0 5000,254,62 primary lba
        5001,0,0 15200,1,22 Free Space

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/wiithon_wbfs_file /dev/sdc1 df
hd num sector doesn't match: Success
midenok:~$ /usr/games/wiithon_wrapper -p /dev/sdc1 df
hd num sector doesn't match: Success
midenok:~$ /usr/games/wiithon_wwt -p /dev/sdc1 df

   size used used% free discs file (sizes in MiB)
--------------------------------------------------------------
 307552 8 0% 307544 0/2045 /dev/sdc1

Though, it does work with other harddrive:

(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

(parted) unit chs
(parted) p free
Model: StoreJet Transcend (scsi)
Disk /dev/sdb: 38913,80,62
Sector size (logical/physical): 512B/512B
BIOS cylinder,head,sector geometry: 38913,255,63. Each cylinder is 8225kB.
Partition Table: msdos

Number Start End Type File system Flags
 1 0,1,0 608,254,62 primary ext4
 2 609,0,0 38912,254,62 primary lba
        38913,0,0 38913,80,62 Free Space

midenok:~$ /usr/games/wiithon_wbfs_file /dev/sdb2 df
wbfs total: 293.42G used: 289.02G free: 4.41G
midenok:~$ /usr/games/wiithon_wrapper -p /dev/sdb2 df
289.015625;@;4.406250;@;293.421875
midenok:~$ /usr/games/wiithon_wwt -p /dev/sdb2 df

   size used used% free discs file (sizes in MiB)
--------------------------------------------------------------
 300464 295912 98% 4552 135/500 /dev/sdb2

Question information

Language:
English Edit question
Status:
Solved
For:
wiithon Edit question
Assignee:
No assignee Edit question
Solved by:
midenok
Solved:
2012-09-28
Last query:
2012-09-28
Last reply:
2012-09-28
midenok (midenok) said : #1

I managed to format drive with Wiithon, so it started to show something. But it started to show wrong numbers:

GNU Parted 2.3
Using /dev/sdb
Welcome to GNU Parted! Type 'help' to view a list of commands.
(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

root:midenok# /usr/games/wiithon_wrapper -p /dev/sdb1 formatear
 ** 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/wiithon_wrapper -p /dev/sdb1 df
1760.125000;@;512.000000;@;2272.125000
root:midenok# /usr/games/wiithon_wbfs_file /dev/sdb1 df
wbfs total: 2272.12G used: 1760.12G free: 512.00G

Launchpad Janitor (janitor) said : #2

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

midenok (midenok) said : #3

What a foolishness. It's a bug.

midenok (midenok) said : #4

Moved to Bug #1058066