[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#751704: marked as done (partman-base 173: partman overwrites parts of u-boot)



Your message dated Sat, 06 Sep 2014 06:49:06 +0000
with message-id <E1XQ9o2-0007Xa-Sz@franck.debian.org>
and subject line Bug#751704: fixed in partman-base 177
has caused the Debian Bug report #751704,
regarding partman-base 173: partman overwrites parts of u-boot
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
751704: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=751704
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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 from
which the system loads u-boot.

Kernel 3.15-1 is the first kernel in Debian that contains an
MMC/SD driver for this platform, i.e. with older versions
partitions could only be created on an attached SATA disk but not
on the SD card, so this problem has not shown up earlier.

In my first attempt, the partition table has been created by the
"guided partitioning" option in d-i, which has created the
following layout:

Disk /dev/sdd: 15 GB, 15718510080 bytes
255 heads, 63 sectors/track, 1911 cylinders, total 30700215 sectors
Units = sectors of 1 * 512 = 512 bytes

   Device Boot      Start         End      Blocks   Id  System 
/dev/sdd1   *        2048      499711      257008   83  Linux
Warning: Partition 1 does not end on cylinder boundary.                   
/dev/sdd2          499712    29306879    14402272   83  Linux
Warning: Partition 2 does not end on cylinder boundary.                   
/dev/sdd3        29308926    30701567      698827    5  Extended
Warning: Partition 3 does not end on cylinder boundary.                   
/dev/sdd5        29308928    30701567      698827   82  Linux swap
Warning: Partition 5 does not end on cylinder boundary.                   

The layout itself appears ok as the first partition starts at
sector 2048, i.e. at 1MB offset, but comparing the state of the
first MB of data on the device before and after partman has
written the partition table shows that not only the partition
table has been written, but also the area from offset 0x2000 up
to 0x25ff has been zeroed out.  On all Allwinner sunXi-based
systems this area contains the u-boot SPL, without which the
system cannot boot anymore.

A second attempt with manual partitioning showed the same
behaviour, i.e. it appears to be a general partman problem and
not specific to partman-auto.

Partman should only write the partition table but should not
touch the area between the partition table and the beginning
of the first partition as this area is used by bootloaders.

Regards,
Karsten
-- 
Gem. Par. 28 Abs. 4 Bundesdatenschutzgesetz widerspreche ich der Nutzung
sowie der Weitergabe meiner personenbezogenen Daten für Zwecke der
Werbung sowie der Markt- oder Meinungsforschung.

--- End Message ---
--- Begin Message ---
Source: partman-base
Source-Version: 177

We believe that the bug you reported is fixed in the latest version of
partman-base, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 751704@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Christian Perrier <bubulle@debian.org> (supplier of updated partman-base package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sat, 06 Sep 2014 08:30:11 +0200
Source: partman-base
Binary: partman-base partman-utils
Architecture: source i386
Version: 177
Distribution: unstable
Urgency: medium
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Christian Perrier <bubulle@debian.org>
Description:
 partman-base - Partition the storage devices (partman) (udeb)
 partman-utils - Utilities related to partitioning (udeb)
Closes: 751704
Changes:
 partman-base (177) unstable; urgency=medium
 .
   [ Karsten Merker ]
   * Make sure that the firmware area on the MMC device of sunxi-based
     systems is not overwritten when creating a new disklabel.
     Closes: #751704.
Checksums-Sha1:
 312b3273ce444ef2dc3a4788072d57333031e0dc 1851 partman-base_177.dsc
 db4c68508f414210aeed4310e42c9841e180f061 172504 partman-base_177.tar.xz
 12af416f215f693d55f2a6cc627f422ca97ef17e 179518 partman-base_177_i386.udeb
 46c3a9e4b80f67e6acd5e3397758844734c1343a 3344 partman-utils_177_i386.udeb
Checksums-Sha256:
 514a0692b642ae2b9430c8a488c66171ae8c973a550a7d2eba10f1f6f01578f7 1851 partman-base_177.dsc
 581188bdee15b2c2607a12525d55c2401b85e712846ef379a31ce1f325c040b6 172504 partman-base_177.tar.xz
 da2b58afecb758c79718d630d7fb5393ecde4a7d2db437852c609339fd8a20e3 179518 partman-base_177_i386.udeb
 aeb6de9ae63d321c9b013432e19d212f4c9ffcb8983220f30df5f1dffc091385 3344 partman-utils_177_i386.udeb
Files:
 cd1fac856968609621d2e25fb6d2107d 179518 debian-installer standard partman-base_177_i386.udeb
 893b735d7dd5cb98683d05e26f09959e 3344 debian-installer extra partman-utils_177_i386.udeb
 725cfc8ceeedec823af64cd77c3070d1 1851 debian-installer standard partman-base_177.dsc
 114a534bbc9dd53e7df6920fc394967a 172504 debian-installer standard partman-base_177.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIVAwUBVAqrtocvcCxNbiWoAQL0zQ//ai3v6e5K3c7Ho1Y5j5qgTAy2xwrRVjoo
newjlzmVItWNnVQGdsPNu8pw+3uMeFIlwXKvfwvl8+yT3K+DzKYzIMp/vFKhQ9Mm
r4cg8TntpCf13/r1F4RrxmIbnJ39E42wf2bJ/OjkFXUBroWWcfNsKTCk2digMEHM
NXPfEVUZy9cQAvgGKagIlnZRY+zhna6T0dBdjFynja1zOIh/K2lzWMb4HFZwcDAN
2DbfopC8hkdlLupEe3bYuiLzcCWC8z9sAMHjpIhpBNzms0aCJ/1T9/ruA9mqZMd4
THaFxMZG99tPkSo+6Q1T4i2dvbgKnzqFVex4Kf5d5AmPnUow+ThWP1PHo/AxImZ2
DYqX5Y4n8q+CYeLc+aMOE5I3EanBCgfW7ScehgZt5OA4EVLs/be4AhfNlk4Zx7/F
V4VrdQ8AKERfxVzCQdGaSGViBe7pvOTffzNPvf0QE2o9VVrw04XSj1ja2EBe1FcG
NlEHndkNG3DDmP+3Fm9LSEpEC2LisXI8MX+KgJjbqcwJIwXziS8gRMPr2HOQ+TNC
5Qe77sxkLbMjnstT8lBM39HvA4khV6UWcVcgwj9p8eG3FTjuJLkx2E1Lu+kxjNzg
5h32NNtm95JCB+ndFE7r56luSuwx4C/2hU9QhBKiTgccWirdgq/4M9Fkz8XpnlmB
DyEnFr4dSL0=
=0mju
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: