Re: parted 2.1 crash with (encrypted) Apple Core Storage partition

2012-02-09 Thread Chris Murphy
On Feb 9, 2012, at 1:39 AM, Jim Meyering wrote: >>> >> >> 565M is the final size here. I'm uploading to dropbox and will post a >> public URL once it's done. > > Useful in any case. http://dl.dropbox.com/u/3253801/AppleBoot-sparse.img.tar.xz

Re: parted 2.1 crash with (encrypted) Apple Core Storage partition

2012-02-09 Thread Jim Meyering
Chris Murphy wrote: > OK, I'm bailing on the debugging because parted-debuginfo isn't signed > and won't install. :-\ If the lack of a signature is the only problem, running debuginfo-install with its --nogpgcheck option should work. > On Feb 8, 2012, at 1:20 PM, Jim Meyering wrote: >> -- copy th

Re: parted 2.1 crash with (encrypted) Apple Core Storage partition

2012-02-09 Thread Chris Murphy
OK, I'm bailing on the debugging because parted-debuginfo isn't signed and won't install. :-\ On Feb 8, 2012, at 1:20 PM, Jim Meyering wrote: > -- copy that image with "cp --sparse=always f.img f-sparse.img" (GNU cp) > on a file system that supports sparse files. du reports it does from 620M t

Re: parted 2.1 crash with (encrypted) Apple Core Storage partition

2012-02-08 Thread Chris Murphy
On Feb 9, 2012, at 12:08 AM, Jim Meyering wrote: > > Thanks, but without symbols, that's no more than you posted before. > > When I run gdb on fedora or RHEL against tools/libs with no symbols, > at start-up, it suggests that I run a "debuginfo-install " command > for each application and l

Re: parted 2.1 crash with (encrypted) Apple Core Storage partition

2012-02-08 Thread Jim Meyering
Chris Murphy wrote: > On Feb 8, 2012, at 11:43 PM, Chris Murphy wrote: >> On Feb 8, 2012, at 11:34 PM, Jim Meyering wrote: >>> >>> If it makes CentOS6.2's parted abort, then I will be happy to work on >>> it. Can you install debug symbols and invoke parted via gdb? >>> >>> gdb --args parted >>

Re: parted 2.1 crash with (encrypted) Apple Core Storage partition

2012-02-08 Thread Chris Murphy
On Feb 8, 2012, at 11:41 PM, Jim Meyering wrote: > "list" prints a few lines around the point of abort, (not useful > immediately, when failing via abort). Usually you'll run "up" repeatedly, > until you find the PED_ASSERT line that provoked the failed assertion. > Once there, "list" is useful,

Re: parted 2.1 crash with (encrypted) Apple Core Storage partition

2012-02-08 Thread Chris Murphy
On Feb 8, 2012, at 11:43 PM, Chris Murphy wrote: > On Feb 8, 2012, at 11:34 PM, Jim Meyering wrote: >> >> If it makes CentOS6.2's parted abort, then I will be happy to work on >> it. Can you install debug symbols and invoke parted via gdb? >> >> gdb --args parted >> >> Then type "run". >>

Re: parted 2.1 crash with (encrypted) Apple Core Storage partition

2012-02-08 Thread Chris Murphy
On Feb 8, 2012, at 11:34 PM, Jim Meyering wrote: > > If it makes CentOS6.2's parted abort, then I will be happy to work on > it. Can you install debug symbols and invoke parted via gdb? > >gdb --args parted > > Then type "run". > If it crashes, type "backtrace" (aka "bt") and post the re

Re: parted 2.1 crash with (encrypted) Apple Core Storage partition

2012-02-08 Thread Jim Meyering
Chris Murphy wrote: > On Feb 8, 2012, at 10:44 PM, Jim Meyering wrote: >> You're right that I may be able to reproduce simply with one >> of those encrypted partitions. Can you create a minimal one and send it? > > > I made a small one on a boot stick, moved it to a VM with CentOS 6.2 > running, a

Re: parted 2.1 crash with (encrypted) Apple Core Storage partition

2012-02-08 Thread Chris Murphy
On Feb 8, 2012, at 10:44 PM, Jim Meyering wrote: > > You're right that I may be able to reproduce simply with one > of those encrypted partitions. Can you create a minimal one and send it? I made a small one on a boot stick, moved it to a VM with CentOS 6.2 running, and cannot reproduce the p

Re: parted 2.1 crash with (encrypted) Apple Core Storage partition

2012-02-08 Thread Jim Meyering
Chris Murphy wrote: > On Feb 8, 2012, at 1:59 PM, Jim Meyering wrote: >> >> Now that I think of it, I'll bet this is an instance of that wrapped >> partition. You've probably triggered an excursion into libparted code >> that is rarely used, to handle that wrapped/encrypted partition. > > Does btr

Re: parted 2.1 crash with (encrypted) Apple Core Storage partition

2012-02-08 Thread Chris Murphy
On Feb 8, 2012, at 1:59 PM, Jim Meyering wrote: > > Now that I think of it, I'll bet this is an instance of that wrapped > partition. You've probably triggered an excursion into libparted code > that is rarely used, to handle that wrapped/encrypted partition. Does btrfs support sparse files? I

Re: parted 2.1 crash with (encrypted) Apple Core Storage partition

2012-02-08 Thread Jim Meyering
Chris Murphy wrote: > Since I'm unable to get past the crash to install CentOS, I don't have > a way to install debug symbols, since I'm booted off install media. > > Perhaps an easier way to test this is if I could dd the first XX MB of > the suspected (encrypted) partition, to an image file (as a

Re: parted 2.1 crash with (encrypted) Apple Core Storage partition

2012-02-08 Thread Chris Murphy
Since I'm unable to get past the crash to install CentOS, I don't have a way to install debug symbols, since I'm booted off install media. Perhaps an easier way to test this is if I could dd the first XX MB of the suspected (encrypted) partition, to an image file (as a backup which I could also

Re: parted 2.1 crash with (encrypted) Apple Core Storage partition

2012-02-08 Thread Jim Meyering
Chris Murphy wrote: > On Feb 8, 2012, at 12:27 PM, Chris Murphy wrote: >> >> text output trying to run "parted -l", booted from CentOS 6.2 LiveDVD: >> [centoslive@livedvd ~]$ su >> [root@livedvd centoslive]# parted -l >> Backtrace has 14 calls on stack: >> 14: /lib64/libparted-2.1.so.0(ped_assert

Re: parted 2.1 crash with (encrypted) Apple Core Storage partition

2012-02-08 Thread Jim Meyering
Chris Murphy wrote: > Summary: An Apple laptop containing a single drive, GPT, with 8 > partitions, booting CentOS 6.0, anaconda crashes with a backtrace > implicating libparted. Running "parted -l" results in a crash as > well. This did not happen prior to the creation of a core storage* > partiti

Re: parted 2.1 crash with (encrypted) Apple Core Storage partition

2012-02-08 Thread Chris Murphy
On Feb 8, 2012, at 12:27 PM, Chris Murphy wrote: > > text output trying to run "parted -l", booted from CentOS 6.2 LiveDVD: > [centoslive@livedvd ~]$ su > [root@livedvd centoslive]# parted -l > Backtrace has 14 calls on stack: > 14: /lib64/libparted-2.1.so.0(ped_assert+0x31) [0x7f4e6888cfb1] >

parted 2.1 crash with (encrypted) Apple Core Storage partition

2012-02-08 Thread Chris Murphy
Summary: An Apple laptop containing a single drive, GPT, with 8 partitions, booting CentOS 6.0, anaconda crashes with a backtrace implicating libparted. Running "parted -l" results in a crash as well. This did not happen prior to the creation of a core storage* partition type to encrypt a Mac OS