Alastair Ferguson | 1 Jul 06:11 2008
Picon

Bug Report

I got this in my VMWare ESX server /var/log/vmware/hostd.log.

 

Do you know what it means?

 

[2008-07-01 14:04:33.834 'Partitionsvc' 83733424 info] InvokePartedUtil /sbin/partedUtil

[2008-07-01 14:04:33.859 'Partitionsvc' 83733424 warning] Unable to get partition information for /vmfs/devices/disks/vml.020002000060060160

64e11a0076a92bc8e63bdc11524149442035

[2008-07-01 14:04:33.859 'Partitionsvc' 83733424 warning] Status : 255

 Output:

 Error : A bug has been detected in GNU parted.  Please email a bug report to bug-parted <at> gnu.org containing the version (1.6.3) and the foll

owing message:Unable to determine the size of /vmfs/devices/disks/vml.02000200006006016064e11a0076a92bc8e63bdc11524149442035 (Inappropriate

ioctl for device)

Unable to get device /vmfs/devices/disks/vml.02000200006006016064e11a0076a92bc8e63bdc11524149442035

 

Alastair Ferguson
Senior Systems Administrator


T + 61 2 9347 3691   F + 61 2 9262 4017   M + 61 424 235 159

Credit Corp Group Limited. This e-mail and any attachments may contain confidential information intended only for the individual or entity to whom it is addressed. If the receiver is not the intended recipient, you are hereby notified that any distribution, dissemination, or copying of the e-mail is strictly prohibited. If you have received this e-mail in error, please contact us immediately. The sender of this e-mail accepts no liability for any damage or loss in relation to its unauthorised use. Please consider the environment before printing this e-mail.

 

For a list of all the ways technology has failed to improve the quality of life, please press three.

            -- Alice Kahn

 

_______________________________________________
bug-parted mailing list
bug-parted <at> gnu.org
http://lists.gnu.org/mailman/listinfo/bug-parted
KrankesHirn | 3 Jul 23:23 2008
Picon
Picon

bug report

rescue:~# parted
GNU Parted 1.6.21 with HFS shrink patch 16
Copyright (C) 1998 - 2004 Free Software Foundation, Inc.
This program is free software, covered by the GNU General Public License.
 
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
 
Using /dev/uba
(parted) p
You found a bug in GNU Parted.  Please email a bug report to bug-parted <at> gnu.org containing the version (1.6.21), and the following message:
 
Assertion ((C * heads + H) * sectors + S == A) at ../../libparted/disk_dos.c:586 in function probe_partition_for_geom() failed.
Ignore/Cancel?
Ignore/Cancel?
Ignore/Cancel?
Ignore/Cancel? Cancel
You found a bug in GNU Parted.  Please email a bug report to bug-parted <at> gnu.org containing the version (1.6.21), and the following message:
 
Assertion ((C * heads + H) * sectors + S == A) at ../../libparted/disk_dos.c:586 in function probe_partition_for_geom() failed.
Ignore/Cancel? Cancel
Disk geometry for /dev/uba: 0.000-492.000 megabytes
Disk label type: msdos
Minor    Start       End     Type      Filesystem  Flags
1          0.016    492.000  primary   reiserfs
(parted)
 
_______________________________________________
bug-parted mailing list
bug-parted <at> gnu.org
http://lists.gnu.org/mailman/listinfo/bug-parted
Alfred Maddock | 7 Jul 18:33 2008
Picon

Bug report

Parted and Gparted when asked to expand a partition fail.   Gparted breaks the system. 
version (1.6.25.1)  Assertion (dev->open_count > 0) at ../../libparted/device.c:259 in function ped_device_read() failed.

More information
Can't open a terminal because  "There was an error creating the child process  for this terminal"
Previously open terminals are not effected so here is what transpired before the failure:
apt-get install gparted
ntfsprogs was not installed even though it was recomended. 
 libglibmm-2.4-1c2a libgtkmm-2.4-1c2a were installed automatically by the package manager.
# parted
Opened ok
hda3 and hda4 are locked.
hda4 is currently in use as boot and root according to /etc/fstab and hda3 should not be mounted
#quit
# umount /dev/hda3
#parted
Using /dev/hda
(parted) resize 3 241GB 250GB
Error: Partition /dev/hda3 is being used.  You must unmount it before you modifyit with Parted.
(parted) quit
Information: Don't forget to update /etc/fstab, if necessary.

root <at> xx:~# gparted
dumpe2fs 1.38 (30-Jun-2005)
Error: Could not stat device /dev/hdc - No such file or directory.
Error: Could not stat device /dev/hdc - No such file or directory.
Error: Could not stat device /dev/hdc - No such file or directory.
Error: Could not stat device /dev/hdc - No such file or directory.
Error: Could not stat device /dev/hdc - No such file or directory.
Error: Error opening /dev/hdc: No such file or directory
A bug has been detected in GNU Parted.  Refer to the web site of parted http://www.gnu.org/software/parted/parted.html for more informations of what could be useful for bug submitting!  Please email a bug report to bug-parted <at> gnu.org containing at least the version (1.6.25.1) and the following message:  Assertion (dev->open_count > 0) at ../../libparted/device.c:259 in function ped_device_read() failed.

Recent history.  Installed Ubuntu via default install.  It packs swap and then root at the top of the system with free space below swap.  Swap with a lot of memory should be at the top of the system in my opinion since more swap partitions can be added at any time anywhere.  To facilitate such a design root was moved to a new partition in lower faster memory using knoppix v5.1 gparted.  Reboot of Ubuntu and an attempt to upgrade failed, partition too small.  Both parted and fsdisk report the new patition and size as correct.  Gparted locks both 3 and 4 so it appears that it has added a link to 3 in 4 rather than moving the partition to 4. 

I notice that parted is now stable at version 1.8.8 and Ubuntu is loading 1.6.25.1 so this may be a ubuntu bug.


_______________________________________________
bug-parted mailing list
bug-parted <at> gnu.org
http://lists.gnu.org/mailman/listinfo/bug-parted
Dan Pasanen | 16 Jul 18:00 2008
Picon

GPT Problems

My friend has a 6TB raid tower connected to his server. We are running ubuntu server 8.04.1. The device comes up as /dev/sda.  When we try to open /dev/sda in cfdisk it says " Warning!!  Unsupported GPT (GUID Partition Table) detected. Use GNU Parted." .  So I decided to fire up parted. (also this guide is what I was trying to follow: http://www.cyberciti.biz/tips/fdisk-unable-to-create-partition-greater-2tb.html )  But when I open the device in parted, i get big problems.  Here is an output of what I get: http://paste.ubuntu.com/27604/  .  I get this "stack sm ashing detected" error no matter which command I try to put in (that case it was print but I get the same thing when i try to mklabel gpt).

I'm wondering if it is a problem with parted, or a problem with my kernel not supporting gpt.  (Although I think it does, I'm not 100% sure and didn't want to recompile his kernel)

Thanks in advance for any help! :)
-Dan
_______________________________________________
bug-parted mailing list
bug-parted <at> gnu.org
http://lists.gnu.org/mailman/listinfo/bug-parted
Marcus Kraßmann | 17 Jul 17:04 2008
Picon

Crash while partitioning USB stick

Hi,

I am just a user, no coder. But I hope my information will me useful.

First the error message after the crash:

--- Begin ---
Assertion (disk != NULL) at ../../libparted/disk.c:1370 in function
ped_disk_get_partition() failed
--- End ---

What have I done? I...
- started QTparted
- right-clicked on /dev/sdb
- chose "Make a new Partition Table"
- clicked on "Yes" on the confirmation window
- *boom* (see message above)

parted version is 1.7.1 according to the crash message. Problem also
occours when using Gnome Parted, but this gives additional information:

--- Begin ---
======================
libparted : 1.7.1
======================
Unable to open /dev/sdb - unrecognised disk label.
Device /dev/sdb has a logical sector size of 2048.  Not all parts of GNU
Parted support this at the moment, and the working code is HIGHLY
EXPERIMENTAL.

Unable to open /dev/sdb - unrecognised disk label.
Assertion (disk != NULL) at ../../libparted/disk.c:1370 in function
ped_disk_get_partition() failed.
Assertion (disk != NULL) at ../../libparted/disk.c:1370 in function
ped_disk_get_partition() failed.
Assertion (disk != NULL) at ../../libparted/disk.c:1370 in function
ped_disk_get_partition() failed.
Assertion (disk != NULL) at ../../libparted/disk.c:1370 in function
ped_disk_get_partition() failed.
[1]    6587 segmentation fault  gparted
--- End ---

Mazbe I should just use another USB stick... :-)

Regards
Marcus Krassmann
Sebastian Tennant | 21 Jul 20:49 2008

Formatting a 2Gb MicroSD card

Hi list,

I initially used my phone to format a 2Gb MicroSD card and it appeared
to have 2Gb of capacity when mounted in my Gnome desktop environment.

However, I soon noticed that I was mysteriously losing data and my
kern.log was full of messages warning me of 'attempts to access beyond
end of device'.

I decided to format it with the one true disk partitioner and have done
so successfully but the capacity of the card now appears to be
approximately half what it was before.

 $ parted /dev/sdc print
 Disk /dev/sdc: 1016MB
 Sector size (logical/physical): 512B/512B
 Partition Table: msdos

 Number  Start   End     Size    Type     File system  Flags
  1      10.2kB  1016MB  1016MB  primary  fat16        lba  

Any hints/tips/pointers much appreciated.

Sebastian

--

-- 
Emacs' AlsaPlayer - Music Without Jolts
http://sebyte.org/eap.html
Jim Meyering | 25 Jul 18:35 2008
Picon

Re: Formatting a 2Gb MicroSD card

Sebastian Tennant <sebyte <at> smolny.plus.com> wrote:
> I initially used my phone to format a 2Gb MicroSD card and it appeared
> to have 2Gb of capacity when mounted in my Gnome desktop environment.
>
> However, I soon noticed that I was mysteriously losing data and my
> kern.log was full of messages warning me of 'attempts to access beyond
> end of device'.
>
> I decided to format it with the one true disk partitioner and have done
> so successfully but the capacity of the card now appears to be
> approximately half what it was before.

What command(s) did you use?
What version of parted?

>  $ parted /dev/sdc print
>  Disk /dev/sdc: 1016MB
>  Sector size (logical/physical): 512B/512B
>  Partition Table: msdos
>
>  Number  Start   End     Size    Type     File system  Flags
>   1      10.2kB  1016MB  1016MB  primary  fat16        lba
>
> Any hints/tips/pointers much appreciated.

So there's a printed label that says it's a 2GB card?
Does cfdisk /dev/sdc show anything different?
Bryn M. Reeves | 25 Jul 18:41 2008
Picon

Re: Formatting a 2Gb MicroSD card


> Sebastian Tennant <sebyte <at> smolny.plus.com> wrote:
>>  $ parted /dev/sdc print
>>  Disk /dev/sdc: 1016MB
>>  Sector size (logical/physical): 512B/512B
>>  Partition Table: msdos
>>
>>  Number  Start   End     Size    Type     File system  Flags
>>   1      10.2kB  1016MB  1016MB  primary  fat16        lba
>>
>> Any hints/tips/pointers much appreciated.

Could you post the content of /proc/partitions with the card attached?

Regards,
Bryn.
Sebastian Tennant | 26 Jul 23:26 2008

Re: Formatting a 2Gb MicroSD card

Quoth Jim Meyering <jim <at> meyering.net>:
> Sebastian Tennant <sebyte <at> smolny.plus.com> wrote:
>> I decided to format it with the one true disk partitioner and have done
>> so successfully but the capacity of the card now appears to be
>> approximately half what it was before.
>
> What command(s) did you use?

The usual... 'mklabel msdos', 'print', 'mkpartfs pri fat16 0 1016'.  I
tried 2032 but having created the new label (partition table) 1016 was
the maximum value parted would allow me to use.

> What version of parted?

1.7.1

> So there's a printed label that says it's a 2GB card?

Yup.

> Does cfdisk /dev/sdc show anything different?

Nope.

Thinking back I think the card must have already been formatted when I
bought it from the shop (for use with my phone).  Either way, my phone
formats it as a 1Gb card too now.

Apart from losing data, I now remember noticing some weirdness before
invoking 'parted mklabel msdos' on the card.  I would receive different
capacity information depending on whether I issued the command
'parted print /dev/sdc' or 'parted print /dev/sdc1', and IIRC only the
latter command indicated that there was 2Gb of capacity.

Sebastian

--

-- 
Emacs' AlsaPlayer - Music Without Jolts
http://sebyte.org/eap.html
Sebastian Tennant | 26 Jul 23:31 2008

Re: Formatting a 2Gb MicroSD card

Quoth "Bryn M. Reeves" <bmr <at> redhat.com>:
>> Sebastian Tennant <sebyte <at> smolny.plus.com> wrote:
>>>  $ parted /dev/sdc print
>>>  Disk /dev/sdc: 1016MB
>>>  Sector size (logical/physical): 512B/512B
>>>  Partition Table: msdos
>>>
>>>  Number  Start   End     Size    Type     File system  Flags
>>>   1      10.2kB  1016MB  1016MB  primary  fat16        lba
>>>
>>> Any hints/tips/pointers much appreciated.
>
> Could you post the content of /proc/partitions with the card attached?
   .
   .
   8    32     992512 sdc
   8    33     992150 sdc1
   .
   .

Hmm, interesting. How can a device be a partition?

This may have something to do with the weirdness I speak about in my
follow up to Jim Meyering's post.

Sebastian

--

-- 
Emacs' AlsaPlayer - Music Without Jolts
http://sebyte.org/eap.html

Gmane