Bug#751704: libparted questions (was: Bug#751704: partman-base 173: partman overwrites parts of u-boot)

2014-08-17 Thread Jim Meyering
On Wed, Aug 13, 2014 at 12:07 PM, Karsten Merker mer...@debian.org wrote: [CCing Otavio Salvador and Jim Meyering; the following is a short summary of the situation; the full history can be read in bug #751704: Debian-Installer uses partman for partitioning, which in turn is based on

Bug#751704: libparted questions (was: Bug#751704: partman-base 173: partman overwrites parts of u-boot)

2014-08-13 Thread Karsten Merker
[CCing Otavio Salvador and Jim Meyering; the following is a short summary of the situation; the full history can be read in bug #751704: Debian-Installer uses partman for partitioning, which in turn is based on libparted. On sunxi-based systems, upon writing the partition table,

Bug#751704: partman-base 173: partman overwrites parts of u-boot

2014-08-12 Thread Karsten Merker
Control: tag -1 patch On Wed, Jun 18, 2014 at 09:44:12PM +0200, Karsten Merker wrote: [On sunxi-based systems, upon writing the partition table, partman overwrites parts of u-boot which are located between the end of the partition table and the beginning of the first partition.] Hello, the

Bug#751704: partman-base 173: partman overwrites parts of u-boot

2014-08-12 Thread Colin Watson
On Wed, Aug 13, 2014 at 12:38:58AM +0200, Karsten Merker wrote: If there are no objections, I would like apply it to the partman-base git repository. Please adhere to local coding style, including indentation, spacing, and use or otherwise of tabs; it really makes things easier to follow later.

Bug#751704: sunxi MMC boot SPL vs. GPT partition (Re: Bug#751704: partman-base 173: partman overwrites parts of u-boot)

2014-06-18 Thread Ian Campbell
(seems like I didn't actually CC linux-sunxi when I said I would, oh well, I may post a summary to that list later) On Tue, 2014-06-17 at 19:44 +0200, Karsten Merker wrote: Unfortunately the problematic part in this case is the SPL which is the only part of u-boot that cannot be relocated

Bug#751704: sunxi MMC boot SPL vs. GPT partition (Re: Bug#751704: partman-base 173: partman overwrites parts of u-boot)

2014-06-18 Thread Ian Campbell
On Wed, 2014-06-18 at 08:43 +0100, Ian Campbell wrote: I suppose it is possible that something somewhere is wanting to zero the GPT even in msdos mode (as you say below, perhaps to wipe any remains of a GPT). I think it is parted doing this in ped_disk_clobber which is called from various bits

Bug#751704: sunxi MMC boot SPL vs. GPT partition (Re: Bug#751704: partman-base 173: partman overwrites parts of u-boot)

2014-06-17 Thread Ian Campbell
CCing the linux-sunxi group. On Mon, 2014-06-16 at 17:58 -0400, Lennart Sorensen wrote: On Sun, Jun 15, 2014 at 08:02:03PM +0200, Karsten Merker wrote: Source: partman-base Version: 173 Severity: important Upon testing a locally built debian-installer based on linux 3.15-1 (from

Bug#751704: sunxi MMC boot SPL vs. GPT partition (Re: Bug#751704: partman-base 173: partman overwrites parts of u-boot)

2014-06-17 Thread Lennart Sorensen
On Tue, Jun 17, 2014 at 10:20:38AM +0100, Ian Campbell wrote: CCing the linux-sunxi group. It sure would be nice if CPU makers would stop putting their boot code where the GPT goes. Do none of them EVER think their device will want to use a disk bigger than 2TB? Hrm, that is rather

Bug#751704: sunxi MMC boot SPL vs. GPT partition (Re: Bug#751704: partman-base 173: partman overwrites parts of u-boot)

2014-06-17 Thread Lennart Sorensen
On Tue, Jun 17, 2014 at 07:44:36PM +0200, Karsten Merker wrote: Unfortunately the problematic part in this case is the SPL which is the only part of u-boot that cannot be relocated because its sector address is hardcoded in the SOC's BROM. I see two possible approaches to solve the conflict

Bug#751704: partman-base 173: partman overwrites parts of u-boot

2014-06-16 Thread Lennart Sorensen
On Sun, Jun 15, 2014 at 08:02:03PM +0200, Karsten Merker wrote: Source: partman-base Version: 173 Severity: important Upon testing a locally built debian-installer based on linux 3.15-1 (from experimental) on an Allwinner sunXi-based armhf system, I have found that the system does not boot

Bug#751704: partman-base 173: partman overwrites parts of u-boot

2014-06-15 Thread Karsten Merker
Source: partman-base Version: 173 Severity: important Upon testing a locally built debian-installer based on linux 3.15-1 (from experimental) on an Allwinner sunXi-based armhf system, I have found that the system does not boot anymore after partman has written a new partition table to the SD card