Bug#699430: debian-installer: support for Intel Matrix Raid (RST, imsm)

2013-01-31 Thread Miquel van Smoorenburg
Package: debian-installer
Tags: patch

This is a metabug for other bugs I filed against grub-installer,
partman-auto, partman-base, mdadm and lvm2.

I noticed that linux mdraid has working support for Intel Matrix Raid
(aka Intel Rapid Storage Technology), called "imsm" in mdadm. This
is a form of fakeraid, like dmraid.

Dmraid has never been really supported in Debian, and upstream
development has also ceased. It looks like mdraid is the way
forward.

I have added support for installing on mdraid based Intel Matrix
raid to the debian-installer, the lvm2 package, and mdadm.

With these patches applied I can install and boot Debian Wheezy without
any trouble on an Intel Matrix RAID RAID1 array - even when
combined with lvm.

Patches are available, the bug reports will be tagged as blocking
for this metabug, and are:

grub-installer:
- also detect mdadm fakeraid underneath lvm, if it's just one array
- install grub on each disk of the underlying array
- add md/0 entry to device.map so grub-probe works (for upgrades etc)

partman-auto:
   - don't hide /dev/md* arrays if they are provisioned on whole-disk
 devices - in that case the md array itself is partitionable,
 e.g. for md-fakeraid like imsm (Intel Matrix raid).

partman-base:
   - init.d/parted: Skip devices that are part of a mdraid device

lvm2:
   - lvm2 already filters mdraid superblocks, now also filter IMSM superblocks

Mike.


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130131121427.ga13...@xs4all.net



Bug#699431: partman-auto: don't hide whole-disk partitionable mdraid arrays

2013-01-31 Thread Miquel van Smoorenburg
Package: partman-auto
Version: 106
Tags: patch

See metabug 699430, http://bugs.debian.org/699430 :
(debian-installer: support for Intel Matrix Raid (RST, imsm)

  * don't hide /dev/md* arrays if they are provisioned on whole-disk
devices - in that case the md array itself is partitionable,
e.g. for md-fakeraid like imsm (Intel Matrix raid).

Thanks

diff -ruN 00-ORIG/partman-auto-106/debian/changelog 
partman-auto-106/debian/changelog
--- 00-ORIG/partman-auto-106/debian/changelog   2012-12-12 05:52:35.0 
+
+++ partman-auto-106/debian/changelog   2013-01-29 14:52:14.946726850 +
@@ -1,3 +1,11 @@
+partman-auto (106+1) unstable; urgency=low
+
+  * don't hide /dev/md* arrays if they are provisioned on whole-disk
+devices - in that case the md array itself is partitionable,
+e.g. for md-fakeraid like imsm (Intel Matrix raid).
+
+ -- Miquel van Smoorenburg   Tue, 29 Jan 2013 15:50:37 
+0100
+
 partman-auto (106) unstable; urgency=low
 
   [ Updated translations ]
diff -ruN 00-ORIG/partman-auto-106/lib/auto-shared.sh 
partman-auto-106/lib/auto-shared.sh
--- 00-ORIG/partman-auto-106/lib/auto-shared.sh 2011-02-07 02:00:27.0 
+
+++ partman-auto-106/lib/auto-shared.sh 2013-01-29 14:49:59.644371625 +
@@ -208,6 +208,28 @@
free_space=$(partition_after $id)'
 }
 
+is_wholedisk_mdraid () {
+   local device="`echo $1 | sed -e 's!/\([0-9]*\)$!\1!'`"
+   local mddisk=${device#/dev/}
+   local ret=0
+   local d
+
+   [ -d /sys/block/$mddisk/md ] || return 1
+
+   for d in /sys/block/$mddisk/slaves/*; do
+   case "$d" in
+   dm-*|md*)
+   ;;
+   *p[0-9]|*p[0-9][0-9])
+   ret=1
+   break
+   ;;
+   esac
+   done
+
+   return $ret
+}
+
 get_auto_disks() {
local dev device dmtype
 
@@ -217,7 +239,12 @@
device=$(cat $dev/device)

# Skip software RAID (mdadm) devices (/dev/md/X and /dev/mdX)
-   $(echo "$device" | grep -Eq "/dev/md/?[0-9]*$") && continue
+   # unless it's a whole-disk partitionable array
+   if echo "$device" | grep -Eq "/dev/md/?[0-9]*$"; then
+   if ! is_wholedisk_mdraid "$device"; then
+   continue
+   fi
+   fi
 
# Skip device mapper devices (/dev/mapper/),
# except for dmraid or multipath devices


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130131122208.ga13...@xs4all.net



Bug#699432: partman-base: parted: skip devices that are part of a mdraid device

2013-01-31 Thread Miquel van Smoorenburg
Package: partman-base
Version: 163
Tags: patch

See metabug 699430, http://bugs.debian.org/699430 :
(debian-installer: support for Intel Matrix Raid (RST, imsm)

  * init.d/parted: Skip devices that are part of a mdraid device

Thanks

diff -ruN 00-ORIG/partman-base-163/debian/changelog 
partman-base-163/debian/changelog
--- 00-ORIG/partman-base-163/debian/changelog   2012-12-21 13:49:25.0 
+
+++ partman-base-163/debian/changelog   2013-01-29 14:53:17.923821518 +
@@ -1,3 +1,9 @@
+partman-base (163+1) unstable; urgency=low
+
+  * init.d/parted: Skip devices that are part of a mdraid device
+
+ -- Miquel van Smoorenburg   Tue, 29 Jan 2013 15:50:37 
+0100
+
 partman-base (163) unstable; urgency=low
 
   * Revert "add debhelper token to postinst"
diff -ruN 00-ORIG/partman-base-163/init.d/parted partman-base-163/init.d/parted
--- 00-ORIG/partman-base-163/init.d/parted  2011-01-19 04:56:34.0 
+
+++ partman-base-163/init.d/parted  2013-01-29 14:52:38.359133765 +
@@ -15,6 +15,20 @@
return 1
 }
 
+part_of_mdraid () {
+   local holder
+   local dev=${1#/dev/}
+   for holder in /sys/block/$dev/holders/*; do
+   local mddev=${holder##*/}
+   case "$mddev" in
+   md[0-9]|md[0-9][0-9]|md[0-9][0-9][0-9])
+   return 0
+   ;;
+   esac
+   done
+   return 1
+}
+
 part_of_sataraid () {
local raiddev
for raiddev in $(dmraid -r -c); do
@@ -86,6 +100,11 @@
fi
fi
 
+   # Skip devices that are part of a mdraid device
+   if part_of_mdraid $device; then
+   continue
+   fi
+
# Skip devices that are part of a dmraid device
if type dmraid >/dev/null 2>&1 && \
   dmraid -r -c >/dev/null 2>&1; then


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130131122513.ga13...@xs4all.net



Re: tasksel/3.14+deb7u1

2013-01-31 Thread Steven Chamberlain
On 31/01/13 09:01, Niels Thykier wrote:
> Recently you uploaded tasksel to tpu.  It changes the default desktop
> from gnome to xfce without mentioning this in the changelog.

Whoops, looks like Christian didn't fully revert the "This reverts
commit 56f8dffd7e7d0cd013a1251e1f12a4a1124262d7 that was reverting
antoher commit that was de-reverting another commit." commit.

Regards,
-- 
Steven Chamberlain
ste...@pyro.eu.org


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/510a637c.1000...@pyro.eu.org



Bug#699434: grub-installer: support for Intel Matrix Raid

2013-01-31 Thread Miquel van Smoorenburg
Package: grub-installer
Version: 183
Tags: patch

See metabug 699430, http://bugs.debian.org/699430 :
(debian-installer: support for Intel Matrix Raid (RST, imsm)

  * Support for mdadm fakeraid (currently only IMSM formatted disks):
- also detect mdadm fakeraid underneath lvm, if it's just one array
- install grub on each disk of the underlying array
- add md/0 entry to device.map so grub-probe works (for upgrades etc)

This is by far the most intrusive patch - all the others are trivial.
Description:

- move make_device_map() upwards so that we can call it earlier
  in the script. Also, if $md_bootdev is set, add a (otherwise
  unused) "(md/0)" entry to device.map - otherwise grub-probe
  freaks out on upgrades.
- add is_mdraid_bootable(). It checks if the device is a Intel
  Matrix Raid device, in RAID1 mode. If not it returns false.
  Otherwise it sets $md_dev, $md_devs, $md_super and $md_level,
   and returns true.
- if installing on an lvm device, it finds the underlying device,
  and checks if it's a single mdraid array. If so $disc_under_lvm
  is set.
- if we're installing on a mdraid device and is_mdraid_bootable()
  is true, we set $disc_offered to the mdraid device, and set
  the $default_bootdev variable to all the underlying real disks.
- when installing on an mdraid device, always create the grub device.map
- do not try to guess the bootdevice if we already set $default_bootdev

Note that effectively this patch does NOT change any existing
behaviour if you are not trying to install on an Intel Matrix Raid
RAID1 array. As that wasn't supported before anyway, there is
no chance on regression.

Thanks

diff -ruN 00-ORIG/grub-installer-1.83/debian/changelog 
grub-installer-1.83/debian/changelog
--- 00-ORIG/grub-installer-1.83/debian/changelog2012-10-27 
06:07:35.0 +
+++ grub-installer-1.83/debian/changelog2013-01-29 15:03:58.462971942 
+
@@ -1,3 +1,12 @@
+grub-installer (1.83+1) unstable; urgency=low
+
+  * Support for mdadm fakeraid (currently only IMSM formatted disks):
+- also detect mdadm fakeraid underneath lvm, if it's just one array
+- install grub on each disk of the underlying array
+- add md/0 entry to device.map so grub-probe works (for upgrades etc)
+
+ -- Miquel van Smoorenburg   Tue, 29 Jan 2013 15:50:37 
+0100
+
 grub-installer (1.83) unstable; urgency=low
 
   [ Milan Kupcevic ]
diff -ruN 00-ORIG/grub-installer-1.83/grub-installer 
grub-installer-1.83/grub-installer
--- 00-ORIG/grub-installer-1.83/grub-installer  2012-10-25 01:01:57.0 
+
+++ grub-installer-1.83/grub-installer  2013-01-29 14:56:40.103337917 +
@@ -217,6 +217,69 @@
echo "$ids"
 }
 
+make_device_map () {
+   # If you're preseeding (hd0) et al, stop - preseed OS device names
+   # instead.  However, for backward compatibility we ensure that a
+   # device.map exists if you do this.
+   [ "$grub_version" = grub2 ] || return 0
+   [ ! -e "$device_map" ] || return 0
+   local no_floppy
+   case $1 in
+   \(fd*|fd*)
+   no_floppy=
+   ;;
+   *)
+   no_floppy=--no-floppy
+   ;;
+   esac
+   $chroot $ROOT grub-mkdevicemap $no_floppy
+   if [ -n "$md_bootdev" ]
+   then
+   # This is lame- shouldn't need this, but otherwise
+   # grub-probe freaks out.
+   echo "(md/0)$md_bootdev" >> $ROOT/boot/grub/device.map
+   fi
+}
+
+is_mdraid_bootable () {
+   local device="$1"
+   local mddisk=${device#/dev/}
+   local super
+   local level="`cat /sys/block/$mddisk/md/level 2>/dev/null ||:`"
+   local array_metadata="`cat /sys/block/$mddisk/md/metadata_version 
2>/dev/null ||:`"
+   case "$array_metadata" in
+   external:/md*)
+   local ctdisk=${array_metadata#external:/}
+   ctdisk=${ctdisk%/*}
+   super="`cat /sys/block/$ctdisk/md/metadata_version 
2>/dev/null ||:`"
+   super=${super#external:}
+   ;;
+   esac
+   # Right now mdadm only supports imsm fakeraid, and grub doesn't know
+   # about it at all but raid1 works regardless. So restrict to imsm + 
raid1.
+   if [ "$level" = raid1 ] && [ "$super" = "imsm" ]
+   then
+   # Find the disks that make up the array to that grub can
+   # be installed onto all of them. As soon as grub supports
+   # imsm raid we should be able to install directly to the
+   # md device instead.
+   local mddisks="`echo /sys/block/$mddisk/md/dev-* |
+   sed -ne 's!/sys/block/md[0-9]\+/md/dev-\([^ 
\*]\+\)!/dev/\1!pg'`"
+   if [ -n "$mddisks" ]; then
+   md_devs="$mddisks"
+   md_super=$super
+   md_level=$level
+ 

Processed: adding blocking bugs for 699430

2013-01-31 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> block 699430 by 699431 699432 699434 684712 691710
Bug #699430 [debian-installer] debian-installer: support for Intel Matrix Raid 
(RST, imsm)
699430 was not blocked by any bugs.
699430 was not blocking any bugs.
Added blocking bug(s) of 699430: 699434, 699432, 699431, 684712, and 691710
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
699430: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=699430
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


--
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/handler.s.c.135963690925929.transcr...@bugs.debian.org



Re: tasksel/3.14+deb7u1

2013-01-31 Thread Christian Perrier

Le 31/01/2013 13:28, Steven Chamberlain a écrit :

On 31/01/13 09:01, Niels Thykier wrote:

Recently you uploaded tasksel to tpu.  It changes the default desktop
from gnome to xfce without mentioning this in the changelog.

Whoops, looks like Christian didn't fully revert the "This reverts
commit 56f8dffd7e7d0cd013a1251e1f12a4a1124262d7 that was reverting
antoher commit that was de-reverting another commit." commit.

Regards,
Well, I'm probably not the git wizard I pretend I am, then..:-). I 
probably messed up while creating the two branches we now need


Well try to fix that ASAP.but "soon" might be "not so soon", so NMU 
are welcome.


--
Christian Perrier
Chef du service Informatique Individuelle et Départementale
Direction des Réseaux et de l'Informatique
ONERA


--
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/510a689b.3080...@onera.fr



Re: tasksel/3.14+deb7u1

2013-01-31 Thread Steven Chamberlain
On 31/01/13 12:50, Christian Perrier wrote:
> Well, I'm probably not the git wizard I pretend I am, then..:-). I
> probably messed up while creating the two branches we now need

Seems when you initially tried to revert, you edited the changelog but
missed the important bits.  Then branched for wheezy.  And unfortunately
also toggled the master branch the wrong way, back to gnome :(

Attached are the changes needed for each branch.

Regards,
-- 
Steven Chamberlain
ste...@pyro.eu.org
diff --git a/debian/control b/debian/control
index 1459820..16525ff 100644
--- a/debian/control
+++ b/debian/control
@@ -45,7 +45,7 @@ Recommends:
 # The order here is significant when installing this task manually;
 # when tasksel installs this task it instead selects one of these based
 # on the tasksel/desktop debconf setting.
-	task-gnome-desktop | task-kde-desktop | task-lxde-desktop | task-xfce-desktop,
+	task-xfce-desktop | task-gnome-desktop | task-kde-desktop | task-lxde-desktop,
 # For use by third-party apps.
 	xdg-utils,
 # mdns/zeroconf stuff
diff --git a/debian/templates b/debian/templates
index 423aa87..24fe044 100644
--- a/debian/templates
+++ b/debian/templates
@@ -18,7 +18,7 @@ _Description: Choose software to install:
 Template: tasksel/desktop
 Type: multiselect
 Choices: gnome, kde, xfce, lxde
-Default: gnome
+Default: xfce
 Description: The desktop environment to install when the desktop task is selected
  This can be preseeded to change the default.
 
diff --git a/debian/control b/debian/control
index 16525ff..1459820 100644
--- a/debian/control
+++ b/debian/control
@@ -45,7 +45,7 @@ Recommends:
 # The order here is significant when installing this task manually;
 # when tasksel installs this task it instead selects one of these based
 # on the tasksel/desktop debconf setting.
-	task-xfce-desktop | task-gnome-desktop | task-kde-desktop | task-lxde-desktop,
+	task-gnome-desktop | task-kde-desktop | task-lxde-desktop | task-xfce-desktop,
 # For use by third-party apps.
 	xdg-utils,
 # mdns/zeroconf stuff
diff --git a/debian/templates b/debian/templates
index 24fe044..423aa87 100644
--- a/debian/templates
+++ b/debian/templates
@@ -18,7 +18,7 @@ _Description: Choose software to install:
 Template: tasksel/desktop
 Type: multiselect
 Choices: gnome, kde, xfce, lxde
-Default: xfce
+Default: gnome
 Description: The desktop environment to install when the desktop task is selected
  This can be preseeded to change the default.
 


Bug#699430: debian-installer: support for Intel Matrix Raid (RST, imsm)

2013-01-31 Thread Michael Tokarev

31.01.2013 16:14, Miquel van Smoorenburg wrote:
[]

I have added support for installing on mdraid based Intel Matrix
raid to the debian-installer, the lvm2 package, and mdadm.

With these patches applied I can install and boot Debian Wheezy without
any trouble on an Intel Matrix RAID RAID1 array - even when
combined with lvm.


Out of curiocity, did you actually test the latest mdadm package?
I did a few more changes on top of your patch, but I don't have any
hardware where I can try it, so I've no idea if it actually works
or not...

Thanks,

/mjt


--
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/510a713b.8010...@msgid.tls.msk.ru



Bug#699430: debian-installer: support for Intel Matrix Raid (RST, imsm)

2013-01-31 Thread Miquel van Smoorenburg

On 01/31/2013 02:27 PM, Michael Tokarev wrote:

31.01.2013 16:14, Miquel van Smoorenburg wrote:
[]

I have added support for installing on mdraid based Intel Matrix
raid to the debian-installer, the lvm2 package, and mdadm.

With these patches applied I can install and boot Debian Wheezy without
any trouble on an Intel Matrix RAID RAID1 array - even when
combined with lvm.


Out of curiocity, did you actually test the latest mdadm package?
I did a few more changes on top of your patch, but I don't have any
hardware where I can try it, so I've no idea if it actually works
or not...


Yes, I did. Yesterday I took the latest snapshot from the wheezy 
installer media, and replaced the debs/udebs with the ones that I 
updated, replaced mdadm with the latest version from unstable (-5), and 
built a new image.


It all worked fine, installing, booting, rebooting, etc.

Thanks,

Mike.


--
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/510a8619.4040...@cistron.nl



Bug#699471: tasksel: diff for NMU version 3.14+nmu1

2013-01-31 Thread Julien Cristau
Package: tasksel
Version: 3.14
Severity: normal
Tags: patch pending

Dear maintainer,

I've prepared an NMU for tasksel (versioned as 3.14+nmu1) and will
upload it in a few seconds.  diff against 3.14 attached, I'm pretending
3.14+deb7u1 never happened.

diff against current git master:

diff --git a/debian/changelog b/debian/changelog
index d03e7e0..bf94793 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,14 +1,16 @@
-tasksel (3.15) UNRELEASED; urgency=low
+tasksel (3.14+nmu1) unstable; urgency=low
+
+  [ Julien Cristau ]
+  * Non-maintainer upload.
 
   [ Joey Hess ]
-  * Change default desktop to xfce.
   * Fix typo in changelog. Closes: #694894
   
   [ Christian Perrier ]
   * Add Depends to network-manager-gnome on task-gnome-desktop
 Closes: #697868
 
- -- Christian Perrier   Sun, 11 Nov 2012 12:01:59 +0100
+ -- Julien Cristau   Thu, 31 Jan 2013 19:19:25 +0100
 
 tasksel (3.14) unstable; urgency=low
 

Cheers,
Julien
diff -Nru tasksel-3.14/.gitattributes tasksel-3.14+nmu1/.gitattributes
--- tasksel-3.14/.gitattributes	2011-04-23 07:51:14.0 +0200
+++ tasksel-3.14+nmu1/.gitattributes	1970-01-01 01:00:00.0 +0100
@@ -1 +0,0 @@
-debian/changelog merge=dpkg-mergechangelogs
diff -Nru tasksel-3.14/debian/changelog tasksel-3.14+nmu1/debian/changelog
--- tasksel-3.14/debian/changelog	2012-10-30 19:09:30.0 +0100
+++ tasksel-3.14+nmu1/debian/changelog	2013-01-31 19:19:56.0 +0100
@@ -1,3 +1,17 @@
+tasksel (3.14+nmu1) unstable; urgency=low
+
+  [ Julien Cristau ]
+  * Non-maintainer upload.
+
+  [ Joey Hess ]
+  * Fix typo in changelog. Closes: #694894
+  
+  [ Christian Perrier ]
+  * Add Depends to network-manager-gnome on task-gnome-desktop
+Closes: #697868
+
+ -- Julien Cristau   Thu, 31 Jan 2013 19:19:25 +0100
+
 tasksel (3.14) unstable; urgency=low
 
   [ Joey Hess ]
@@ -405,8 +419,8 @@
 packages. In other words, the Task field overrides are not needed,
 and are going away. The overrides file uploaded with this version
 of tasksel is empty.
-  * Tasksel no longer looks for desc files in /usr/share/taksel/,
-instead it looks in /usr/share/taksel/descs/. This was necessary
+  * Tasksel no longer looks for desc files in /usr/share/tasksel/,
+instead it looks in /usr/share/tasksel/descs/. This was necessary
 because aptitude crashes on the new debian-tasks.desc file without
 Description fields.
   * Remove rarian-compat from task-gnome-desktop. Dependencies on
diff -Nru tasksel-3.14/debian/control tasksel-3.14+nmu1/debian/control
--- tasksel-3.14/debian/control	2012-10-30 19:08:23.0 +0100
+++ tasksel-3.14+nmu1/debian/control	2013-01-31 19:17:35.0 +0100
@@ -72,7 +72,9 @@
 Depends: ${misc:Depends}, 
 	task-desktop,
 # only depend on a very minimal gnome desktop, to ensure it fits on CD1
-	gnome-core
+	gnome-core,
+# but we need a working network setup at least
+	network-manager-gnome
 Recommends:
 # The full gnome desktop environment should be included if possible
 # even if the larger gnome metapackage doesn't fit.


signature.asc
Description: Digital signature


Re: tasksel/3.14+deb7u1

2013-01-31 Thread Julien Cristau
On Thu, Jan 31, 2013 at 13:50:35 +0100, Christian Perrier wrote:

> Le 31/01/2013 13:28, Steven Chamberlain a écrit :
> >On 31/01/13 09:01, Niels Thykier wrote:
> >>Recently you uploaded tasksel to tpu.  It changes the default desktop
> >>from gnome to xfce without mentioning this in the changelog.
> >Whoops, looks like Christian didn't fully revert the "This reverts
> >commit 56f8dffd7e7d0cd013a1251e1f12a4a1124262d7 that was reverting
> >antoher commit that was de-reverting another commit." commit.
> >
> >Regards,
> Well, I'm probably not the git wizard I pretend I am, then..:-). I
> probably messed up while creating the two branches we now need
> 
> Well try to fix that ASAP.but "soon" might be "not so soon", so
> NMU are welcome.
> 
3.14+nmu1 on its way.

Cheers,
Julien


signature.asc
Description: Digital signature


Bug#696903: marked as done ([1.83->1.84 regression]: GRUB won't install to a character device)

2013-01-31 Thread Debian Bug Tracking System
Your message dated Thu, 31 Jan 2013 19:02:26 +
with message-id 
and subject line Bug#696903: fixed in grub-installer 1.85
has caused the Debian Bug report #696903,
regarding [1.83->1.84 regression]: GRUB won't install to a character device
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 ow...@bugs.debian.org
immediately.)


-- 
696903: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=696903
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: grub-installer
Version: 1.84
Severity: grave
Tags: d-i
User: debian-...@lists.debian.org
Usertags: kfreebsd
X-Debbugs-Cc: debian-...@lists.debian.org

Hi,

Wouter's workaround for bug #681227 now requires that GRUB's target is a
block device (and was amended to allow dummy targets as well) :

> # workaround for #681227
> if [ ! -b $bootdev -a $bootdev != dummy ]; then
> continue
> fi

But this is still not true at least for IDE devices on kfreebsd-9 (e.g.
/dev/ada0) which are character devices.  As such, this change breaks the
GRUB step in d-i.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: kfreebsd-amd64 (x86_64)

Kernel: kFreeBSD 9.0-2-amd64
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- End Message ---
--- Begin Message ---
Source: grub-installer
Source-Version: 1.85

We believe that the bug you reported is fixed in the latest version of
grub-installer, 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 696...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Julien Cristau  (supplier of updated grub-installer 
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 ftpmas...@debian.org)


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Format: 1.8
Date: Thu, 31 Jan 2013 19:54:06 +0100
Source: grub-installer
Binary: grub-installer
Architecture: source amd64
Version: 1.85
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team 
Changed-By: Julien Cristau 
Description: 
 grub-installer - Install GRUB on a hard disk (udeb)
Closes: 696903 696942
Changes: 
 grub-installer (1.85) unstable; urgency=low
 .
   [ Steven Chamberlain ]
   * Revert workaround for #681227, which was actually not a valid bug.
 Closes: #696903, #696942 (regressions introduced by said workaround)
Checksums-Sha1: 
 e3a1cd32711958e30f7cd690c393c4d61f0dda69 1899 grub-installer_1.85.dsc
 5257143586ae0c98df6658fdc99b0d4cea37b9c7 221731 grub-installer_1.85.tar.gz
 f998113d4afb0dd70761356d3e8e2fb825610cc5 206276 grub-installer_1.85_amd64.udeb
Checksums-Sha256: 
 1e59261d30c29d492c4f6915cf33a7e8c98e3d0a96c6c6a9ed35c4c427359081 1899 
grub-installer_1.85.dsc
 d841f9262d4214d2e37a4db3ff8f38af306121908731f4ce460ab34f8b92a33e 221731 
grub-installer_1.85.tar.gz
 72bab6315ecd02196d69834bf1320614ffc14df5763e73eac0efaddb6ec8eac7 206276 
grub-installer_1.85_amd64.udeb
Files: 
 f05f6265432052b6a2d88705fed85fce 1899 debian-installer standard 
grub-installer_1.85.dsc
 273d22c0d49bebc46b832e37d2acc640 221731 debian-installer standard 
grub-installer_1.85.tar.gz
 55103f8070b11407cc899e6599744c33 206276 debian-installer standard 
grub-installer_1.85_amd64.udeb

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

iQIcBAEBCAAGBQJRCr55AAoJEDEBgAUJBeQMmNQQAK9WQdYKAJCbuLg4GbJseyvx
hIiH5W68yfHZRiGu+YuNzJpAMUwjykoCkpChIjNyos1lZrfwpTVyHKsGi0ArESPv
S7icgUM5tQaJV8+1EwiCkSxs3oJG04gPB8HapuZJtegonb5Qp7fhIFZesmdAV4pM
NKA3CxECaSgqzD8D1u7tkQnXocSTug/Zb7v4pF6GRrM4M2LH10pSpBQZEcRqOCDn
JzeytX9wKNMLU8+TTXZ1PEIfXIWZi88EfeEGGpC9ssSbphZdkTfril5fIqbrkJHF
qbv+S8hSFmA31z7pcWM0O+/+sbeyBEwt5BMzB0AtfBPuWAGRjkgrAsyc0eZNUg73
xDwbynF7PVkxxOvoIEO5ATUW4pqKl//6yaXMkQThC51fBAylqLp3pZCOyl7yaS+i
DuWXc9gzgrxneqm1L5KfY2ERc+UgUFIMu4jyXB8iniyT6bum1zL44As8wlI3ceaA
x24Ax2i/Z4YTziYT/a2gK6jc+68t75sAGoT7FmJj3Zt7ccjNvRq+U2nUL30dCy10
mmfwRkwoc0yo2Lb/ut4ip2qFw6k2YJm/GQPvxunqJ0eH6IsfypfnDzjDtdozDjoy
qpsNIchnEX9RhZLTGtYGRnfMh4U9TaHRFYLBwODOYm+FkWwmYASl0EWLkiepMfHA
aLdw8pb0FxoEG0N6mHK4
=44+V
-END PGP SIGNATURE End Message ---


Bug#696942: marked as done ([1.83->1.84 regression]: GRUB won't install to a dummy device)

2013-01-31 Thread Debian Bug Tracking System
Your message dated Thu, 31 Jan 2013 19:02:26 +
with message-id 
and subject line Bug#696942: fixed in grub-installer 1.85
has caused the Debian Bug report #696942,
regarding [1.83->1.84 regression]: GRUB won't install to a dummy device
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 ow...@bugs.debian.org
immediately.)


-- 
696942: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=696942
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: grub-installer
Version: 1.84
Severity: grave
Tags: d-i
X-Debbugs-Cc: paj...@gmail.com
Control: block 681227 by -1

Hello,

On 29/12/12 10:39, alberto fuentes wrote:
> Dec 29 00:41:32 grub-installer: info: Installing grub on 'dummy'
> Dec 29 00:41:32 grub-installer: error: no boot device found to install to

That is new a problem affecting at least grub-efi and grub-yeeloong and
was fixed in Git but I think we need a bug number for it now:

http://lists.debian.org/debian-boot/2012/12/msg00463.html
http://anonscm.debian.org/gitweb/?p=d-i/grub-installer.git;a=commitdiff;h=99389d59fc539c399e147eb74acedfce04da011f


Does it matter that $bootdev is not in quotes?  Every other use of it in
the script is quoted.  It can't contain spaces at least:

> --- a/grub-installer
> +++ b/grub-installer
> @@ -651,7 +651,7 @@ if [ -z "$frdisk" ]; then
>   # Install grub on each space separated disk in the list
>   bootdevs="$bootdev"
>   for bootdev in $bootdevs; do
>   # workaround for #681227
> - if [ ! -b $bootdev ]; then
> + if [ ! -b $bootdev -a $bootdev != dummy ]; then
>   continue
>   fi

Regards,
-- 
Steven Chamberlain
ste...@pyro.eu.org
--- End Message ---
--- Begin Message ---
Source: grub-installer
Source-Version: 1.85

We believe that the bug you reported is fixed in the latest version of
grub-installer, 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 696...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Julien Cristau  (supplier of updated grub-installer 
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 ftpmas...@debian.org)


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Format: 1.8
Date: Thu, 31 Jan 2013 19:54:06 +0100
Source: grub-installer
Binary: grub-installer
Architecture: source amd64
Version: 1.85
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team 
Changed-By: Julien Cristau 
Description: 
 grub-installer - Install GRUB on a hard disk (udeb)
Closes: 696903 696942
Changes: 
 grub-installer (1.85) unstable; urgency=low
 .
   [ Steven Chamberlain ]
   * Revert workaround for #681227, which was actually not a valid bug.
 Closes: #696903, #696942 (regressions introduced by said workaround)
Checksums-Sha1: 
 e3a1cd32711958e30f7cd690c393c4d61f0dda69 1899 grub-installer_1.85.dsc
 5257143586ae0c98df6658fdc99b0d4cea37b9c7 221731 grub-installer_1.85.tar.gz
 f998113d4afb0dd70761356d3e8e2fb825610cc5 206276 grub-installer_1.85_amd64.udeb
Checksums-Sha256: 
 1e59261d30c29d492c4f6915cf33a7e8c98e3d0a96c6c6a9ed35c4c427359081 1899 
grub-installer_1.85.dsc
 d841f9262d4214d2e37a4db3ff8f38af306121908731f4ce460ab34f8b92a33e 221731 
grub-installer_1.85.tar.gz
 72bab6315ecd02196d69834bf1320614ffc14df5763e73eac0efaddb6ec8eac7 206276 
grub-installer_1.85_amd64.udeb
Files: 
 f05f6265432052b6a2d88705fed85fce 1899 debian-installer standard 
grub-installer_1.85.dsc
 273d22c0d49bebc46b832e37d2acc640 221731 debian-installer standard 
grub-installer_1.85.tar.gz
 55103f8070b11407cc899e6599744c33 206276 debian-installer standard 
grub-installer_1.85_amd64.udeb

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

iQIcBAEBCAAGBQJRCr55AAoJEDEBgAUJBeQMmNQQAK9WQdYKAJCbuLg4GbJseyvx
hIiH5W68yfHZRiGu+YuNzJpAMUwjykoCkpChIjNyos1lZrfwpTVyHKsGi0ArESPv
S7icgUM5tQaJV8+1EwiCkSxs3oJG04gPB8HapuZJtegonb5Qp7fhIFZesmdAV4pM
NKA3CxECaSgqzD8D1u7tkQnXocSTug/Zb7v4pF6GRrM4M2LH10pSpBQZEcRqOCDn
JzeytX9wKNMLU8+TTXZ1PEIfXIWZi88EfeEGGpC9ssSbphZdkTfril5fIqbrkJHF
qbv+S8hSFmA31z7pcWM0O+/+sbeyBEwt5BMzB0AtfBPuWAGRjkgrAsyc0eZNUg73
xDwbynF7PVkxxOvoIEO5ATUW4pqKl//6yaXMkQThC51fBAylqLp3pZCOyl7yaS+i
DuWXc9gzgrxneqm1L5KfY2ERc+UgUFIMu4jyXB8iniyT6bum1zL44As8wlI3ceaA
x24Ax2i/Z4YTziYT/a2gK6jc+68t75sAGoT7FmJj3Zt7ccjNvRq+U2nUL30dCy10
mmfwRkwoc0yo2Lb

Processing of grub-installer_1.85_amd64.changes

2013-01-31 Thread Debian FTP Masters
grub-installer_1.85_amd64.changes uploaded successfully to localhost
along with the files:
  grub-installer_1.85.dsc
  grub-installer_1.85.tar.gz
  grub-installer_1.85_amd64.udeb

Greetings,

Your Debian queue daemon (running on host franck.debian.org)


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e1u0zka-0008wa...@franck.debian.org



grub-installer_1.85_amd64.changes ACCEPTED into unstable

2013-01-31 Thread Debian FTP Masters


Accepted:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Format: 1.8
Date: Thu, 31 Jan 2013 19:54:06 +0100
Source: grub-installer
Binary: grub-installer
Architecture: source amd64
Version: 1.85
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team 
Changed-By: Julien Cristau 
Description: 
 grub-installer - Install GRUB on a hard disk (udeb)
Closes: 696903 696942
Changes: 
 grub-installer (1.85) unstable; urgency=low
 .
   [ Steven Chamberlain ]
   * Revert workaround for #681227, which was actually not a valid bug.
 Closes: #696903, #696942 (regressions introduced by said workaround)
Checksums-Sha1: 
 e3a1cd32711958e30f7cd690c393c4d61f0dda69 1899 grub-installer_1.85.dsc
 5257143586ae0c98df6658fdc99b0d4cea37b9c7 221731 grub-installer_1.85.tar.gz
 f998113d4afb0dd70761356d3e8e2fb825610cc5 206276 grub-installer_1.85_amd64.udeb
Checksums-Sha256: 
 1e59261d30c29d492c4f6915cf33a7e8c98e3d0a96c6c6a9ed35c4c427359081 1899 
grub-installer_1.85.dsc
 d841f9262d4214d2e37a4db3ff8f38af306121908731f4ce460ab34f8b92a33e 221731 
grub-installer_1.85.tar.gz
 72bab6315ecd02196d69834bf1320614ffc14df5763e73eac0efaddb6ec8eac7 206276 
grub-installer_1.85_amd64.udeb
Files: 
 f05f6265432052b6a2d88705fed85fce 1899 debian-installer standard 
grub-installer_1.85.dsc
 273d22c0d49bebc46b832e37d2acc640 221731 debian-installer standard 
grub-installer_1.85.tar.gz
 55103f8070b11407cc899e6599744c33 206276 debian-installer standard 
grub-installer_1.85_amd64.udeb

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

iQIcBAEBCAAGBQJRCr55AAoJEDEBgAUJBeQMmNQQAK9WQdYKAJCbuLg4GbJseyvx
hIiH5W68yfHZRiGu+YuNzJpAMUwjykoCkpChIjNyos1lZrfwpTVyHKsGi0ArESPv
S7icgUM5tQaJV8+1EwiCkSxs3oJG04gPB8HapuZJtegonb5Qp7fhIFZesmdAV4pM
NKA3CxECaSgqzD8D1u7tkQnXocSTug/Zb7v4pF6GRrM4M2LH10pSpBQZEcRqOCDn
JzeytX9wKNMLU8+TTXZ1PEIfXIWZi88EfeEGGpC9ssSbphZdkTfril5fIqbrkJHF
qbv+S8hSFmA31z7pcWM0O+/+sbeyBEwt5BMzB0AtfBPuWAGRjkgrAsyc0eZNUg73
xDwbynF7PVkxxOvoIEO5ATUW4pqKl//6yaXMkQThC51fBAylqLp3pZCOyl7yaS+i
DuWXc9gzgrxneqm1L5KfY2ERc+UgUFIMu4jyXB8iniyT6bum1zL44As8wlI3ceaA
x24Ax2i/Z4YTziYT/a2gK6jc+68t75sAGoT7FmJj3Zt7ccjNvRq+U2nUL30dCy10
mmfwRkwoc0yo2Lb/ut4ip2qFw6k2YJm/GQPvxunqJ0eH6IsfypfnDzjDtdozDjoy
qpsNIchnEX9RhZLTGtYGRnfMh4U9TaHRFYLBwODOYm+FkWwmYASl0EWLkiepMfHA
aLdw8pb0FxoEG0N6mHK4
=44+V
-END PGP SIGNATURE-


Thank you for your contribution to Debian.


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e1u0zp0-000115...@franck.debian.org



Bug#699478: installation failed (disk full) in virtualbox with lvm / /home chioce

2013-01-31 Thread Gabriel Santonja
Package: installation-reports

Boot method: debian-testing-i386-DVD-1.iso
Image version: debian-testing-i386-DVD-1.iso 28/01/2013 at 05:17
url 
http://cdimage.debian.org/cdimage/weekly-builds/i386/iso-dvd/debian-testing-i386-DVD-1.iso
but same problem on net installer
Date: 31/01/2013

Machine: virtualbox linux 3.2.10 ose and lastest version on windows
Processor:  AMD Athlon(tm) II X4 620 Processor
Memory: 4Gb

Installation du système de base :
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it

Initial boot:   [ O]
Detect network card:[ O]
Configure network:  [O ]
Detect CD:  [ O]
Load installer modules: [O ]
Detect hard drives: [ O]
Partition hard drives:  [O ]
Install base system:[O ]
Clock/timezone setup:   [O ]
User/password setup:[O ]
Install tasks:  [N ]
Install boot loader:[N ]
Overall install:[N ]

Comments/Problems:
The virtualbox give a 8Gb disk by default
With the Lvm partition the choice of a / and /home partition give a
2.4 on /  and 5.4 Gb on /home
if you said yes
the / filesystem is full with an install with web and desktop

So an installation by default break on virtualbox. (testing and
stable)  whith lvm and / and /home partition choice.
When problem occur :
 df -h give 100% full file system on /target

I think you should give more place for / in installation process


--
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/caa4wowygavvzd2hd05s7h6tkkatobbctkccpwyjkah+2_d0...@mail.gmail.com



Debian installer build: failed or old builds

2013-01-31 Thread Daily build aggregator
Debian installer build overview
---

Failed or old builds:

* OLD BUILD:armel Jan 28 08:08 buildd@ancina build_iop32x_netboot 

http://d-i.debian.org/daily-images/armel/daily/build_iop32x_netboot.log

* OLD BUILD:armel Jan 28 08:10 buildd@ancina 
build_iop32x_network-console_glantank 

http://d-i.debian.org/daily-images/armel/daily/build_iop32x_network-console_glantank.log

* OLD BUILD:armel Jan 28 08:13 buildd@ancina 
build_iop32x_network-console_n2100 

http://d-i.debian.org/daily-images/armel/daily/build_iop32x_network-console_n2100.log

* OLD BUILD:armel Jan 28 08:16 buildd@ancina 
build_iop32x_network-console_ss4000e 

http://d-i.debian.org/daily-images/armel/daily/build_iop32x_network-console_ss4000e.log

* OLD BUILD:armel Jan 28 08:18 buildd@ancina build_kirkwood_netboot 

http://d-i.debian.org/daily-images/armel/daily/build_kirkwood_netboot.log

* OLD BUILD:armel Jan 28 08:23 buildd@ancina build_kirkwood_netboot-gtk 

http://d-i.debian.org/daily-images/armel/daily/build_kirkwood_netboot-gtk.log

* OLD BUILD:armel Jan 28 08:25 buildd@ancina build_kirkwood_network-console 

http://d-i.debian.org/daily-images/armel/daily/build_kirkwood_network-console.log

* OLD BUILD:armel Jan 28 08:28 buildd@ancina build_orion5x_network-console 

http://d-i.debian.org/daily-images/armel/daily/build_orion5x_network-console.log

* OLD BUILD:armel Jan 28 08:31 buildd@ancina build_versatile_netboot 

http://d-i.debian.org/daily-images/armel/daily/build_versatile_netboot.log

* OLD BUILD:armel Jan 28 08:33 buildd@ancina build_ads_cf 
http://d-i.debian.org/daily-images/armel/daily/build_ads_cf.log

* FAILED BUILD: amd64 Jan 30 01:17 debian-cd@pettersson sidamd64 
http://cdbuilder.debian.org/cdimage-log/sidamd64


Totals: 106 builds (1 failed, 10 old)


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e1u14z5-g7...@ravel.debian.org