touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #94490
[Bug 1473934] Comment bridged from LTC Bugzilla
------- Comment From pthan@xxxxxxxxxx 2015-08-05 02:07 EDT-------
(In reply to comment #29)
> Hello bugproxy, or anyone else affected,
>
> Accepted mac-fdisk into trusty-proposed. The package will build now and be
> available at
> https://launchpad.net/ubuntu/+source/mac-fdisk/0.1-16ubuntu3~14.04 in a few
> hours, and then in the -proposed repository.
>
> Please help us by testing this new package. See
> https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
> enable and use -proposed. Your feedback will aid us getting this update out
> to other Ubuntu users.
>
> If this package fixes the bug for you, please add a comment to this bug,
> mentioning the version of the package you tested, and change the tag from
> verification-needed to verification-done. If it does not fix the bug for
> you, please add a comment stating that, and change the tag to
> verification-failed. In either case, details of your testing will help us
> make a better decision.
>
Hi,
Looks like 'mac-fdisk' doesn't fix this problem:
% sudo dpkg -l mac-fdisk
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-===================-==============-==============-============================================
ii mac-fdisk 0.1-16ubuntu2 ppc64el Apple disk partition manipulation tool
% sudo apt-get install mac-fdisk/trusty-proposed
Reading package lists... Done
Building dependency tree
Reading state information... Done
Selected version '0.1-16ubuntu3~14.04' (Ubuntu:14.04/trusty-proposed [ppc64el]) for 'mac-fdisk'
The following packages will be upgraded:
mac-fdisk
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 23.5 kB of archives.
After this operation, 24.6 kB of additional disk space will be used.
Get:1 http://ports.ubuntu.com/ubuntu-ports/ trusty-proposed/main mac-fdisk ppc64el 0.1-16ubuntu3~14.04 [23.5 kB]
Fetched 23.5 kB in 0s (38.6 kB/s)
(Reading database ... 98122 files and directories currently installed.)
Preparing to unpack .../mac-fdisk_0.1-16ubuntu3~14.04_ppc64el.deb ...
Unpacking mac-fdisk (0.1-16ubuntu3~14.04) over (0.1-16ubuntu2) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up mac-fdisk (0.1-16ubuntu3~14.04) ...
% sudo fdisk -l /dev/mapper/mpath1
The number of cylinders for this disk is set to 60800.
This is larger than 1024, and may cause problems with:
1) software that runs at boot time (e.g., LILO)
2) booting and partitioning software form other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Disk /dev/sda: 255 heads, 63 sectors, 60800 cylinders
Units = cylinders of 16065 * 512 bytes
Device Boot Begin Start End Blocks Id System
/dev/sda1 1 1 60801488382487+ ee Unknown
The number of cylinders for this disk is set to 30720.
This is larger than 1024, and may cause problems with:
1) software that runs at boot time (e.g., LILO)
2) booting and partitioning software form other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Disk /dev/sdb: 64 heads, 32 sectors, 30720 cylinders
Units = cylinders of 2048 * 512 bytes
Device Boot Begin Start End Blocks Id System
/dev/sdb1 1 1 30720 31457279+ ee Unknown
Partition 1 does not end on cylinder boundary:
phys=(1023, 254, 63) should be (1023, 63, 32)
The number of cylinders for this disk is set to 32768.
This is larger than 1024, and may cause problems with:
1) software that runs at boot time (e.g., LILO)
2) booting and partitioning software form other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Disk /dev/sdc: 64 heads, 32 sectors, 32768 cylinders
Units = cylinders of 2048 * 512 bytes
Device Boot Begin Start End Blocks Id System
/dev/sdc1 1 2 8192 8387584 83 Linux native
Partition 1 does not end on cylinder boundary:
phys=(1023, 254, 63) should be (1023, 63, 32)
/dev/sdc2 7171 8193 16384 8388608 83 Linux native
Partition 2 does not end on cylinder boundary:
phys=(1023, 254, 63) should be (1023, 63, 32)
/dev/sdc3 15363 16385 24576 8388608 83 Linux native
Partition 3 does not end on cylinder boundary:
phys=(1023, 254, 63) should be (1023, 63, 32)
/dev/sdc4 23555 24577 32768 8388608 83 Linux native
Partition 4 does not end on cylinder boundary:
phys=(1023, 254, 63) should be (1023, 63, 32)
The number of cylinders for this disk is set to 34816.
This is larger than 1024, and may cause problems with:
1) software that runs at boot time (e.g., LILO)
2) booting and partitioning software form other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Disk /dev/sdd: 64 heads, 32 sectors, 34816 cylinders
Units = cylinders of 2048 * 512 bytes
Device Boot Begin Start End Blocks Id System
/dev/sdd1 1 2 8704 8911872 83 Linux native
Partition 1 does not end on cylinder boundary:
phys=(1023, 254, 63) should be (1023, 63, 32)
/dev/sdd2 8195 8705 17408 8912896 83 Linux native
Partition 2 does not end on cylinder boundary:
phys=(1023, 254, 63) should be (1023, 63, 32)
/dev/sdd3 16387 17409 26112 8912896 83 Linux native
Partition 3 does not end on cylinder boundary:
phys=(1023, 254, 63) should be (1023, 63, 32)
/dev/sdd4 25603 26113 34816 8912896 83 Linux native
Partition 4 does not end on cylinder boundary:
phys=(1023, 254, 63) should be (1023, 63, 32)
The number of cylinders for this disk is set to 36864.
This is larger than 1024, and may cause problems with:
1) software that runs at boot time (e.g., LILO)
2) booting and partitioning software form other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Disk /dev/sde: 64 heads, 32 sectors, 36864 cylinders
Units = cylinders of 2048 * 512 bytes
Device Boot Begin Start End Blocks Id System
/dev/sde1 1 2 9216 9436160 83 Linux native
Partition 1 does not end on cylinder boundary:
phys=(1023, 254, 63) should be (1023, 63, 32)
/dev/sde2 8195 9217 18432 9437184 83 Linux native
Partition 2 does not end on cylinder boundary:
phys=(1023, 254, 63) should be (1023, 63, 32)
/dev/sde3 17411 18433 27648 9437184 83 Linux native
Partition 3 does not end on cylinder boundary:
phys=(1023, 254, 63) should be (1023, 63, 32)
/dev/sde4 26627 27649 36864 9437184 83 Linux native
Partition 4 does not end on cylinder boundary:
phys=(1023, 254, 63) should be (1023, 63, 32)
The number of cylinders for this disk is set to 30720.
This is larger than 1024, and may cause problems with:
1) software that runs at boot time (e.g., LILO)
2) booting and partitioning software form other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Disk /dev/sdf: 64 heads, 32 sectors, 30720 cylinders
Units = cylinders of 2048 * 512 bytes
Device Boot Begin Start End Blocks Id System
/dev/sdf1 1 1 30720 31457279+ ee Unknown
Partition 1 does not end on cylinder boundary:
phys=(1023, 254, 63) should be (1023, 63, 32)
The number of cylinders for this disk is set to 32768.
This is larger than 1024, and may cause problems with:
1) software that runs at boot time (e.g., LILO)
2) booting and partitioning software form other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Disk /dev/sdg: 64 heads, 32 sectors, 32768 cylinders
Units = cylinders of 2048 * 512 bytes
Device Boot Begin Start End Blocks Id System
/dev/sdg1 1 2 8192 8387584 83 Linux native
Partition 1 does not end on cylinder boundary:
phys=(1023, 254, 63) should be (1023, 63, 32)
/dev/sdg2 7171 8193 16384 8388608 83 Linux native
Partition 2 does not end on cylinder boundary:
phys=(1023, 254, 63) should be (1023, 63, 32)
/dev/sdg3 15363 16385 24576 8388608 83 Linux native
Partition 3 does not end on cylinder boundary:
phys=(1023, 254, 63) should be (1023, 63, 32)
/dev/sdg4 23555 24577 32768 8388608 83 Linux native
Partition 4 does not end on cylinder boundary:
phys=(1023, 254, 63) should be (1023, 63, 32)
The number of cylinders for this disk is set to 34816.
This is larger than 1024, and may cause problems with:
1) software that runs at boot time (e.g., LILO)
2) booting and partitioning software form other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Disk /dev/sdh: 64 heads, 32 sectors, 34816 cylinders
Units = cylinders of 2048 * 512 bytes
Device Boot Begin Start End Blocks Id System
/dev/sdh1 1 2 8704 8911872 83 Linux native
Partition 1 does not end on cylinder boundary:
phys=(1023, 254, 63) should be (1023, 63, 32)
/dev/sdh2 8195 8705 17408 8912896 83 Linux native
Partition 2 does not end on cylinder boundary:
phys=(1023, 254, 63) should be (1023, 63, 32)
/dev/sdh3 16387 17409 26112 8912896 83 Linux native
Partition 3 does not end on cylinder boundary:
phys=(1023, 254, 63) should be (1023, 63, 32)
/dev/sdh4 25603 26113 34816 8912896 83 Linux native
Partition 4 does not end on cylinder boundary:
phys=(1023, 254, 63) should be (1023, 63, 32)
% sudo apt-get install util-linux/trusty-proposed
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Release 'trusty-proposed' for 'util-linux' was not found
% ls -l =fdisk
lrwxrwxrwx 1 root root 10 Jul 9 19:21 /sbin/fdisk -> pmac-fdisk
% sudo apt-file search /sbin/pmac-fdisk
pmac-fdisk: /sbin/pmac-fdisk
% sudo dpkg -L mac-fdisk
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/mac-fdisk
/usr/share/doc/mac-fdisk/copyright
/usr/share/doc/mac-fdisk/README.Debian
/usr/share/doc/mac-fdisk/README.gz
/usr/share/doc/mac-fdisk/changelog.Debian.gz
/usr/share/man
/usr/share/man/man8
/usr/share/man/man8/mac-fdisk.8.gz
/sbin
/sbin/mac-fdisk
% sudo mac-fdisk /dev/mapper/mpath1
/dev/mapper/mpath1
Command (? for help): q
% sudo mac-fdisk -l /dev/mapper/mpath1
% sudo mac-fdisk --help
mac-fdisk [-h|--help]
mac-fdisk [-v|--version]
mac-fdisk [-l|--list [name ...]]
mac-fdisk [-r|--readonly] name ...
mac-fdisk name ...
% sudo mac-fdisk -l /dev/sda
%
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1473934
Title:
ISST-LTE: pmac-fdisk doesn't work with mpath devices
Status in mac-fdisk package in Ubuntu:
Fix Released
Status in util-linux package in Ubuntu:
Fix Released
Status in mac-fdisk source package in Trusty:
Fix Committed
Status in util-linux source package in Trusty:
Fix Committed
Status in mac-fdisk source package in Vivid:
Fix Committed
Status in util-linux source package in Vivid:
Fix Committed
Bug description:
---Problem Description---
1. fdisk -l doesn't work with mpath device:
% sudo fdisk -l /dev/mapper/mpath0
The number of cylinders for this disk is set to 4252.
This is larger than 1024, and may cause problems with:
1) software that runs at boot time (e.g., LILO)
2) booting and partitioning software form other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Disk /dev/sda: 128 heads, 32 sectors, 4252 cylinders
Units = cylinders of 4096 * 512 bytes
Device Boot Begin Start End Blocks Id System
/dev/sda1 1 1 135324277143551+ ee Unknown
Partition 1 does not end on cylinder boundary:
phys=(1023, 254, 63) should be (1023, 127, 32)
The number of cylinders for this disk is set to 4252.
This is larger than 1024, and may cause problems with:
1) software that runs at boot time (e.g., LILO)
2) booting and partitioning software form other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Disk /dev/sdb: 128 heads, 32 sectors, 4252 cylinders
Units = cylinders of 4096 * 512 bytes
Device Boot Begin Start End Blocks Id System
/dev/sdb1 1 1 21 42992 83 Linux native
The number of cylinders for this disk is set to 4252.
This is larger than 1024, and may cause problems with:
1) software that runs at boot time (e.g., LILO)
2) booting and partitioning software form other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Warning: invalid flag 6f00 of partition table 4 will be corrected by w(rite)
Disk /dev/sdc: 128 heads, 32 sectors, 4252 cylinders
Units = cylinders of 4096 * 512 bytes
Device Boot Begin Start End Blocks Id System
The number of cylinders for this disk is set to 4252.
This is larger than 1024, and may cause problems with:
1) software that runs at boot time (e.g., LILO)
2) booting and partitioning software form other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Warning: invalid flag 6f00 of partition table 4 will be corrected by w(rite)
Disk /dev/sdd: 128 heads, 32 sectors, 4252 cylinders
Units = cylinders of 4096 * 512 bytes
Device Boot Begin Start End Blocks Id System
The number of cylinders for this disk is set to 4252.
This is larger than 1024, and may cause problems with:
1) software that runs at boot time (e.g., LILO)
2) booting and partitioning software form other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Warning: invalid flag 6f00 of partition table 4 will be corrected by w(rite)
Disk /dev/sde: 128 heads, 32 sectors, 4252 cylinders
Units = cylinders of 4096 * 512 bytes
Device Boot Begin Start End Blocks Id System
The number of cylinders for this disk is set to 4252.
This is larger than 1024, and may cause problems with:
1) software that runs at boot time (e.g., LILO)
2) booting and partitioning software form other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Warning: invalid flag 6f00 of partition table 4 will be corrected by w(rite)
Disk /dev/sdf: 128 heads, 32 sectors, 4252 cylinders
Units = cylinders of 4096 * 512 bytes
Device Boot Begin Start End Blocks Id System
The number of cylinders for this disk is set to 4252.
This is larger than 1024, and may cause problems with:
1) software that runs at boot time (e.g., LILO)
2) booting and partitioning software form other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Warning: invalid flag 6f00 of partition table 4 will be corrected by w(rite)
Disk /dev/sdg: 128 heads, 32 sectors, 4252 cylinders
Units = cylinders of 4096 * 512 bytes
Device Boot Begin Start End Blocks Id System
The number of cylinders for this disk is set to 4252.
This is larger than 1024, and may cause problems with:
1) software that runs at boot time (e.g., LILO)
2) booting and partitioning software form other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Warning: invalid flag 6f00 of partition table 4 will be corrected by w(rite)
Disk /dev/sdh: 128 heads, 32 sectors, 4252 cylinders
Units = cylinders of 4096 * 512 bytes
Device Boot Begin Start End Blocks Id System
%
2. when trying to partition a mpath device with fdisk, it asks user to
sed sectors and cylindes:
% sudo fdisk /dev/mapper/mpath4
You must set heads sectors and cylinders.
You can do this from the extra functions menu.
Warning: invalid flag 6f00 of partition table 4 will be corrected by w(rite)
Command (m for help): p
Disk /dev/mapper/mpath4: 0 heads, 0 sectors, 0 cylinders
Units = cylinders of 1 * 512 bytes
Device Boot Begin Start End Blocks Id
System
Command (m for help): n
You must set heads sectors and cylinders.
You can do this from the extra functions menu.
Command (m for help):
3.fdisk will show a wrong partition name:
% ls /dev/mapper/mpath3-part1
/dev/mapper/mpath3-part1
% sudo fdisk /dev/mapper/mpath3
You must set heads sectors and cylinders.
You can do this from the extra functions menu.
Command (m for help): p
Disk /dev/mapper/mpath3: 0 heads, 0 sectors, 0 cylinders
Units = cylinders of 1 * 512 bytes
Device Boot Begin Start End Blocks Id System
/dev/mapper/mpath31 63 2554287104277143551+ ee Unknown
Command (m for help):
---uname output---
Linux dilllp1 3.19.0-22-generic #22~14.04.1-Ubuntu SMP Wed Jun 17 10:03:39 UTC 2015 ppc64le ppc64le ppc64le GNU/Linux
Machine Type = na
---Debugger---
A debugger is not configured
---Steps to Reproduce---
1. install ubuntu 14.04.3 on a system which has mpath devices
2. using "fdisk" to check mpath device:
* fdisk -l <mpath device>
* fdisk <mpath device> (partition the device)
Userspace tool common name: fdisk(symbol link to pmac-fdisk)
The userspace tool has the following bit modes: 64-bit
Userspace package: pmac-fdisk, version: 0.1-16ubuntu2
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mac-fdisk/+bug/1473934/+subscriptions