Processed: Re: Bug#569761: The squeeze netinst doesn't configure DHCP correctly once installed.

2010-03-08 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> reassign 569761 linux-2.6
Bug #569761 {Done: Frans Pop } [installation-reports] The 
squeeze netinst doesn't configure DHCP correctly once installed.
Bug #569763 {Done: Frans Pop } [installation-reports] I 
cannot install lenny 5.04 mini.iso because of problem configuring  DHCP.
Bug reassigned from package 'installation-reports' to 'linux-2.6'.
Bug reassigned from package 'installation-reports' to 'linux-2.6'.
> retitle 569761 DHCP fails with -686 kernels but works with -486 ones
Bug #569761 {Done: Frans Pop } [linux-2.6] The squeeze 
netinst doesn't configure DHCP correctly once installed.
Bug #569763 {Done: Frans Pop } [linux-2.6] I cannot install 
lenny 5.04 mini.iso because of problem configuring  DHCP.
Changed Bug title to 'DHCP fails with -686 kernels but works with -486 ones' 
from 'The squeeze netinst doesn't configure DHCP correctly once installed.'
Changed Bug title to 'DHCP fails with -686 kernels but works with -486 ones' 
from 'I cannot install lenny 5.04 mini.iso because of problem configuring  
DHCP.'
> thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
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.126804760628545.transcr...@bugs.debian.org



Bug#569761: The squeeze netinst doesn't configure DHCP correctly once installed.

2010-03-08 Thread Otavio Salvador
reassign 569761 linux-2.6
retitle 569761 DHCP fails with -686 kernels but works with -486 ones
thanks

I'm reassigning it to Linux kernel package.

Thanks by reporting it to us.

-- 
Otavio Salvador  O.S. Systems
E-mail: ota...@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br


Processing of cdebconf-entropy_0.13_i386.changes

2010-03-08 Thread Archive Administrator
cdebconf-entropy_0.13_i386.changes uploaded successfully to localhost
along with the files:
  cdebconf-entropy_0.13.dsc
  cdebconf-entropy_0.13.tar.gz
  cdebconf-text-entropy_0.13_i386.udeb
  cdebconf-newt-entropy_0.13_i386.udeb
  cdebconf-gtk-entropy_0.13_i386.udeb

Greetings,

Your Debian queue daemon (running on host ries.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/e1nobsx-0004vy...@ries.debian.org



cdebconf-entropy_0.13_i386.changes ACCEPTED

2010-03-08 Thread Archive Administrator



Accepted:
cdebconf-entropy_0.13.dsc
  to main/c/cdebconf-entropy/cdebconf-entropy_0.13.dsc
cdebconf-entropy_0.13.tar.gz
  to main/c/cdebconf-entropy/cdebconf-entropy_0.13.tar.gz
cdebconf-gtk-entropy_0.13_i386.udeb
  to main/c/cdebconf-entropy/cdebconf-gtk-entropy_0.13_i386.udeb
cdebconf-newt-entropy_0.13_i386.udeb
  to main/c/cdebconf-entropy/cdebconf-newt-entropy_0.13_i386.udeb
cdebconf-text-entropy_0.13_i386.udeb
  to main/c/cdebconf-entropy/cdebconf-text-entropy_0.13_i386.udeb


Override entries for your package:
cdebconf-entropy_0.13.dsc - source admin
cdebconf-gtk-entropy_0.13_i386.udeb - extra debian-installer
cdebconf-newt-entropy_0.13_i386.udeb - extra debian-installer
cdebconf-text-entropy_0.13_i386.udeb - extra debian-installer

Announcing to debian-devel-chan...@lists.debian.org
Closing bugs: 562294 


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/e1nobfv-0006wq...@ries.debian.org



Bug#562294: marked as done (cdebconf-entropy: FTBFS: strutl.h:13:37: error: debian-installer/macros.h: No such file or directory)

2010-03-08 Thread Debian Bug Tracking System
Your message dated Mon, 08 Mar 2010 12:02:41 +
with message-id 
and subject line Bug#562294: fixed in cdebconf-entropy 0.13
has caused the Debian Bug report #562294,
regarding cdebconf-entropy: FTBFS: strutl.h:13:37: error: 
debian-installer/macros.h: No such file or directory
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.)


-- 
562294: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=562294
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: cdebconf-entropy
Version: 0.12
Severity: serious
User: debian...@lists.debian.org
Usertags: qa-ftbfs-20091213 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
> gcc -Wall -g -O2 -I. -fPIC -o text-plugin-entropy.opic -c 
> text-plugin-entropy.c
> In file included from text-plugin-entropy.c:25:
> /usr/include/cdebconf/strutl.h:13:37: error: debian-installer/macros.h: No 
> such file or directory
> /usr/include/cdebconf/strutl.h:16:19: error: missing binary operator before 
> token "("
> make[1]: *** [text-plugin-entropy.opic] Error 1

The full build log is available from:
   
http://people.debian.org/~lucas/logs/2009/12/13/cdebconf-entropy_0.12_lsid64.buildlog

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.

-- 
| Lucas Nussbaum
| lu...@lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lu...@nussbaum.fr GPG: 1024D/023B3F4F |


--- End Message ---
--- Begin Message ---
Source: cdebconf-entropy
Source-Version: 0.13

We believe that the bug you reported is fixed in the latest version of
cdebconf-entropy, which is due to be installed in the Debian FTP archive:

cdebconf-entropy_0.13.dsc
  to main/c/cdebconf-entropy/cdebconf-entropy_0.13.dsc
cdebconf-entropy_0.13.tar.gz
  to main/c/cdebconf-entropy/cdebconf-entropy_0.13.tar.gz
cdebconf-gtk-entropy_0.13_i386.udeb
  to main/c/cdebconf-entropy/cdebconf-gtk-entropy_0.13_i386.udeb
cdebconf-newt-entropy_0.13_i386.udeb
  to main/c/cdebconf-entropy/cdebconf-newt-entropy_0.13_i386.udeb
cdebconf-text-entropy_0.13_i386.udeb
  to main/c/cdebconf-entropy/cdebconf-text-entropy_0.13_i386.udeb



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 562...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Colin Watson  (supplier of updated cdebconf-entropy 
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: SHA1

Format: 1.8
Date: Mon, 08 Mar 2010 11:42:25 +
Source: cdebconf-entropy
Binary: cdebconf-text-entropy cdebconf-newt-entropy cdebconf-gtk-entropy
Architecture: source i386
Version: 0.13
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team 
Changed-By: Colin Watson 
Description: 
 cdebconf-gtk-entropy - cdebconf gtk plugin for reading from /dev/random (udeb)
 cdebconf-newt-entropy - cdebconf newt plugin for reading from /dev/random 
(udeb)
 cdebconf-text-entropy - cdebconf text plugin for reading from /dev/random 
(udeb)
Closes: 562294
Changes: 
 cdebconf-entropy (0.13) unstable; urgency=low
 .
   [ Colin Watson ]
   * Upgrade to debhelper v7.
   * Add myself to Uploaders.
 .
   [ Frans Pop ]
   * Add missing build dependency on libdebian-installer4-dev. Closes: #562294.
 .
   [ Updated translations ]
   * Asturian (ast.po) by Marcos Antonio Alvarez Costales
   * Belarusian (be.po) by Pavel Piatruk
   * Bengali (bn.po) by Israt Jahan
   * Danish (da.po) by Ask Hjorth Larsen
   * Esperanto (eo.po) by Felipe Castro
   * Estonian (et.po) by Mattias Põldaru
   * Hindi (hi.po)
   * Italian (it.po) by Milo Casagrande
   * Slovenian (sl.po) by Vanja Cvelbar
   * Simplified Chinese (zh_CN.po) by 苏运强
Checksums-Sha1: 
 9e571e418602b9ec0b2e6e5c16d39a2d6a3a3352 1201 cdebconf-entropy_0.13.dsc
 dc21d7ca8362d9da885b6d51875d1576a86d2a2e 98855 cdebconf-entropy_0.13.tar.gz
 25677f92531e44614889aabce46146c18f27a21e 16028 
cdebconf-text-entropy_0.13_i386.udeb
 a9312850bb9e3079effd1a0866be8e714201f177 16588 
cdebconf-newt-entrop

Processed (with 1 errors): Re: Bug#572858: initramfs-tools: Doesn't resume from hibernation, restarts fresh

2010-03-08 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> reassign 572858 base-installer
Bug #572858 [initramfs-tools] initramfs-tools: Doesn't resume from hibernation, 
restarts fresh
Bug reassigned from package 'initramfs-tools' to 'base-installer'.
Bug No longer marked as found in versions initramfs-tools/0.93.4.
> retitle 572858 use lvm name and not UUID for lvm resume partition
Bug #572858 [base-installer] initramfs-tools: Doesn't resume from hibernation, 
restarts fresh
Changed Bug title to 'use lvm name and not UUID for lvm resume partition' from 
'initramfs-tools: Doesn't resume from hibernation, restarts fresh'
> severity important
Unknown command or malformed arguments to command.

> stop
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
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.12680527778138.transcr...@bugs.debian.org



Processed: severity of 572858 is important

2010-03-08 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> severity 572858 important
Bug #572858 [base-installer] use lvm name and not UUID for lvm resume partition
Severity set to 'important' from 'normal'

> thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
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.126805335612507.transcr...@bugs.debian.org



Re: Bug#572858: initramfs-tools: Doesn't resume from hibernation, restarts fresh

2010-03-08 Thread maximilian attems
reassign 572858 base-installer
retitle 572858 use lvm name and not UUID for lvm resume partition
severity important
stop

On Mon, Mar 08, 2010 at 06:26:50AM +0100, Julien Valroff wrote:
> hi,
> 
> > why is there an UUID in /etc/initramfs-tools/conf.d/resume
> > 
> > can you please post:
> > cat /proc/swaps
> 
> Filename  TypeSizeUsedPriority
> /dev/mapper/gaia-swap_1 partition 9928696 0   -1

thought so, thanks for the post.

so it seems that the bug is in d-i base-installer to add an UUID in
/etc/initramfs-tools/conf.d/resume although the device is lvm
and thus unique anyway.

for your box do as root
echo "resume=/dev/mapper/gaia-swap_1" > /etc/initramfs-tools/conf.d/resume

and regenerate initramfs with 
update-initramfs -u


-- 
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/20100308124529.gl7...@baikonur.stro.at



Bug#573056: Busybox is compiled without NFS support

2010-03-08 Thread Martin Strbačka
Package: busybox
Version: 1:1.10.2-2

The busybox from lenny does not support NFS (I must recompile the
package with CONFIG_FEATURE_MOUNT_NFS=y)
and manually install. I need this feature for FAI where I'am using data from
NFS filesystem.


Bug#561036: installation-reports: Debian-Installer for PPC (daily-netinst 20091210) lacks support for powerbook5, 6 internal keyboard

2010-03-08 Thread Christian Adams

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

moinmoin,
Am 16.12.2009 um 00:30 schrieb Frans Pop:
[..]

That looks very likely. Thanks for tracing that.

It seems to be available for most arches, but I doubt that  
including it

makes sense for all of them:
linux-image-2.6.32-1-486 [i386]
linux-image-2.6.32-1-4kc-malta [mipsel]
linux-image-2.6.32-1-5kc-malta [mipsel]
linux-image-2.6.32-1-686-bigmem [i386]
linux-image-2.6.32-1-686 [i386]
linux-image-2.6.32-1-amd64 [i386, amd64]
linux-image-2.6.32-1-itanium [ia64]
linux-image-2.6.32-1-mckinley [ia64]
linux-image-2.6.32-1-parisc [hppa]
linux-image-2.6.32-1-parisc64 [hppa]
linux-image-2.6.32-1-powerpc [powerpc]
linux-image-2.6.32-1-powerpc64 [powerpc]
linux-image-2.6.32-1-sb1-bcm91250a [mipsel]
linux-image-2.6.32-1-sb1a-bcm91480b [mipsel]
linux-image-2.6.32-1-sparc64 [sparc]

For now I've only included it in input-modules for powerpc, i386  
and amd64

(all flavors).


i just dl'ed http://cdimage.debian.org/cdimage/squeeze_di_alpha1/ 
powerpc/debian-testing-powerpc-netinst.iso
and there is no hid_apple (and therefore the internal keyboard is n/ 
a) when running the installer .. so i'm

not sure but was this the correct .iso i dl'ed?

cheers,
CA
- --
- -BEGIN CONTACT BLOCK-
  eMail:mor...@morlac.de
  Jabber:   mor...@skavaer.homelinux.org
- --END CONTACT BLOCK--

- -BEGIN GEEK CODE BLOCK-
Version: 3.1
GCS$/IT;d-;s:;a?;C++(+++)>;UL;P++(+++)>;
L++(+++);E---;W++;N(+);o?;K?;!w;!O;!M+>;!V;PS(+);PE;
Y+;PGP++;t+(++);5(+)>++;X(+);R*;tv->+;b++(+++);DI++;
D++(+++)>;G(+)>++;e+>+++;h-()>++;r++;y++;
- --END GEEK CODE BLOCK--

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (Darwin)

iD8DBQFLlSHVr81gVylJyzERAgJtAKCyv/SZTWUi94vJyYCeqkVMCddvlwCfVbs2
ym/d/+hlZKkoicDmVfIL0h8=
=LUsH
-END PGP SIGNATURE-



--
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/b3944f8e-b4ce-4ddf-bb7b-3f32ea71f...@gmx.de



Re: Bug#512740: Sparc disk labels broken on LDOM and Parallel installs

2010-03-08 Thread Colin Watson
Source: parted
Source-Version: 2.2-1

(Note that this is still in NEW, and is currently targeted at
experimental but we plan to move it to unstable soon; I'm
version-closing it while I remember.)

On Tue, Feb 09, 2010 at 06:54:39PM +0100, Frans Pop wrote:
> I've read through the patch, but must admit I don't understand it. What 
> seems to be missing is *how* exactly it fixes the problem.
> 
> And somehow I doubt this patch stands on its own. I would think that it is 
> a requirement for patches in other packages (such as partman). If that is 
> true, then testing the patch in isolation is not much use (as applying it 
> on its own would not fix the reported issue anyway).
> 
> Also, I question the definition of (unused?) tags for usr, var, home etc. 
> What's the purpose of that? How's that supposed to be used? Does it mean 
> you're not allowed to put e.g. /srv on a separate partition as there's no 
> tag for it?

In all honesty, the only reason I hadn't dropped this patch from Ubuntu
long ago was that I felt I'd have had to sit there and try to understand
it otherwise.  It definitely modified far more than it needed to in
order to get the job done, and as far as I know the original authors
never sent it upstream.

I'm not aware of any partman changes that were associated with this
change in Ubuntu.

Anyway, the patch non-trivially failed to apply on top of parted 2.2-1,
which forced the issue a bit, so I went and looked at it in more detail
than I had done previously, starting by stripping out non-essential
parts of the patch (renamed structures, added #defines, etc.).  It
turned out that there was nothing left!  The actual important part of
this change was applied upstream in 2.2, with this NEWS entry:

  sun: the version, sanity and nparts VTOC fields were ignored by libparted.
  Those fields are properly initialized now. The nparts (number of partitions)
  field is initialized to 8 (max. number of sun partitions) rather that to a
  real number of partitions. This solution is compatible with Linux kernel
  and Linux fdisk.

Thus I've dropped this patch from Ubuntu, with some relief, and we can
consider it fixed in Debian once parted 2.2-1 lands.

Cheers,

-- 
Colin Watson   [cjwat...@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/20100308165847.ga2...@riva.ucam.org



Bug#561036: installation-reports: Debian-Installer for PPC (daily-netinst 20091210) lacks support for powerbook5, 6 internal keyboard

2010-03-08 Thread Frans Pop
On Monday 08 March 2010, Christian Adams wrote:
> i just dl'ed http://cdimage.debian.org/cdimage/squeeze_di_alpha1/
> powerpc/debian-testing-powerpc-netinst.iso
> and there is no hid_apple (and therefore the internal keyboard is n/
> a) when running the installer .. so i'm
> not sure but was this the correct .iso i dl'ed?

It was added *after* the alpha1 release.

It should be included in daily built images, but those are currently not 
getting built for powerpc. CC'ing the persons responsible for the daily 
builds.

Cheers,
FJP



-- 
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/201003081824.05818.elen...@planet.nl



[PATCH] Switch grub-installer to grub-probe

2010-03-08 Thread Colin Watson
I'd like to commit the following patch to make grub-installer use
grub-probe, as noted in a TODO comment, rather than the huge
hand-written pile of incomprehensible shell that's been there since time
immemorial.  Does anyone object to this?

Index: debian/changelog
===
--- debian/changelog(revision 62593)
+++ debian/changelog(working copy)
@@ -1,3 +1,11 @@
+grub-installer (1.51) UNRELEASED; urgency=low
+
+  * Merge from Ubuntu:
+- Use grub-probe to convert device names rather than relying on
+  device.map.
+
+ -- Colin Watson   Mon, 08 Mar 2010 17:40:05 +
+
 grub-installer (1.50) unstable; urgency=low
 
   [ Frans Pop ]
Index: grub-installer
===
--- grub-installer  (revision 62593)
+++ grub-installer  (working copy)
@@ -75,126 +75,17 @@
 
 serial="$(get_serial_console)"
 
-## This is copied from update-grub; we've requested that it be moved
-## to a utility or shell library
-## TODO: replace this with grub-probe
-device_map=$ROOT/boot/grub/device.map
-
 # Usage: convert os_device
 # Convert an OS device to the corresponding GRUB drive
-# This part is OS-specific
 convert () {
-## First, check if the device file exists
-#  if test -e "$1"; then
-#  :
-#  else
-#  echo "$1: Not found or not a block device." 1>&2
-#  exit 1
-#  fi
-
-   host_os=$(uname -s | tr 'A-Z' 'a-z')
-
-   # Break the device name into the disk part and the partition part
-   case "$host_os" in
-   linux*)
-   tmp_disk=$(echo "$1" | sed -e 
's%\(\(s\|h\|v\|xv\)d[a-z]\)[0-9]*$%\1%' \
- -e 's%\(fd[0-9]*\)$%\1%' \
- -e 's%/part[0-9]*$%/disc%' \
- -e 's%\(c[0-7]d[0-9]*\).*$%\1%' \
- -e 's%\(mmcblk[0-9]d[0-9]*\).*$%\1%' \
- -e 
's%\(/mapper/mpath[0-9]\+\)-part[0-9]\+$%\1%')
-   tmp_part=$(echo "$1" | sed -e 
's%.*/\(s\|h\|v\|xv\)d[a-z]\([0-9]*\)$%\2%' \
- -e 's%.*/fd[0-9]*$%%' \
- -e 's%.*/floppy/[0-9]*$%%' \
- -e 's%.*/\(disc\|part\([0-9]*\)\)$%\2%' \
- -e 's%.*c[0-7]d[0-9]*p*%%' \
- -e 's%.*mmcblk[0-9]d[0-9]*p%%' \
- -e 
's%.*/mapper/mpath[0-9]\+-part\([0-9]\+\)%\1%')
-   ;;
-   gnu*)
-   tmp_disk=$(echo "$1" | sed 's%\([sh]d[0-9]*\).*%\1%')
-   tmp_part=$(echo "$1" | sed "s%$tmp_disk%%")
-   ;;
-   freebsd*)
-   tmp_disk=$(echo "$1" | sed 's%r\{0,1\}\([saw]d[0-9]*\).*$%r\1%' 
| \
-   sed 's%r\{0,1\}\(da[0-9]*\).*$%r\1%')
-   tmp_part=$(echo "$1" | \
-   sed "s%.*/r\{0,1\}[saw]d[0-9]\(s[0-9]*[a-h]\)%\1%" | \
-   sed "s%.*/r\{0,1\}da[0-9]\(s[0-9]*[a-h]\)%\1%")
-   ;;
-   netbsd*)
-   tmp_disk=$(echo "$1" | sed 's%r\{0,1\}\([sw]d[0-9]*\).*$%r\1d%' 
| \
-   sed 's%r\{0,1\}\(fd[0-9]*\).*$%r\1a%')
-   tmp_part=$(echo "$1" | \
-   sed "s%.*/r\{0,1\}[sw]d[0-9]\([abe-p]\)%\1%")
-   ;;
-   *)
-   echo "update-grub does not support your OS yet." 1>&2
-   exit 1
-   ;;
-   esac
-
-   # Get the drive name
-   tmp_drive=$(grep -v '^#' $device_map | grep "$tmp_disk *$" | \
-   sed 's%.*\(([hf]d[0-9][a-g0-9,]*)\).*%\1%')
-
-   # If not found, print an error message and exit
-   if [ -z "$tmp_drive" ]; then
-   echo "$1 does not have any corresponding BIOS drive." 1>&2
-   exit 1
+   tmp_drive="$($chroot $ROOT grub-probe -d -t drive "$1")" || exit $?
+   if [ "$partition_offset" != 0 ]; then
+   tmp_part="$(echo "$tmp_drive" | sed 's%.*,\([0-9]*\)).*%\1%')"
+   if [ "$tmp_part" ] && [ "$tmp_part" != "$tmp_drive" ]; then
+   tmp_drive="$(echo "$tmp_drive" | sed 
"s%\(.*,\)[0-9]*\().*\)%\1`expr $tmp_part - $partition_offset`%")"
+   fi
fi
-
-   if [ -n "$tmp_part" ]; then
-   # If a partition is specified, we need to translate it into the
-   # GRUB's syntax
-   case "$host_os" in
-   linux*)
-   echo "$tmp_drive" | sed "s%)$%,`expr $tmp_part - 
$partition_offset`)%"
-   ;;
-   gnu*)
-   if echo $tmp_part | grep "^s" >/dev/null; then
-   tmp_pc_slice=$(echo $tmp_part | \
-   sed "s%s\([0-9]*\)[a-g]*$%\1%")
-   tmp_drive=$(echo "$tmp_drive" | 

Re: [PATCH] Switch grub-installer to grub-probe

2010-03-08 Thread Samuel Thibault
Colin Watson, le Mon 08 Mar 2010 17:45:33 +, a écrit :
> I'd like to commit the following patch to make grub-installer use
> grub-probe, as noted in a TODO comment, rather than the huge
> hand-written pile of incomprehensible shell that's been there since time
> immemorial.  Does anyone object to this?

Should work for GNU/Hurd, maybe GNU/kFreeBSD people (Cc-ed) need to
confirm that grub-probe works fine for them.

Samuel

> Index: debian/changelog
> ===
> --- debian/changelog  (revision 62593)
> +++ debian/changelog  (working copy)
> @@ -1,3 +1,11 @@
> +grub-installer (1.51) UNRELEASED; urgency=low
> +
> +  * Merge from Ubuntu:
> +- Use grub-probe to convert device names rather than relying on
> +  device.map.
> +
> + -- Colin Watson   Mon, 08 Mar 2010 17:40:05 +
> +
>  grub-installer (1.50) unstable; urgency=low
>  
>[ Frans Pop ]
> Index: grub-installer
> ===
> --- grub-installer(revision 62593)
> +++ grub-installer(working copy)
> @@ -75,126 +75,17 @@
>  
>  serial="$(get_serial_console)"
>  
> -## This is copied from update-grub; we've requested that it be moved
> -## to a utility or shell library
> -## TODO: replace this with grub-probe
> -device_map=$ROOT/boot/grub/device.map
> -
>  # Usage: convert os_device
>  # Convert an OS device to the corresponding GRUB drive
> -# This part is OS-specific
>  convert () {
> -## First, check if the device file exists
> -#if test -e "$1"; then
> -#:
> -#else
> -#echo "$1: Not found or not a block device." 1>&2
> -#exit 1
> -#fi
> -
> - host_os=$(uname -s | tr 'A-Z' 'a-z')
> -
> - # Break the device name into the disk part and the partition part
> - case "$host_os" in
> - linux*)
> - tmp_disk=$(echo "$1" | sed -e 
> 's%\(\(s\|h\|v\|xv\)d[a-z]\)[0-9]*$%\1%' \
> -   -e 's%\(fd[0-9]*\)$%\1%' \
> -   -e 's%/part[0-9]*$%/disc%' \
> -   -e 's%\(c[0-7]d[0-9]*\).*$%\1%' \
> -   -e 's%\(mmcblk[0-9]d[0-9]*\).*$%\1%' \
> -   -e 
> 's%\(/mapper/mpath[0-9]\+\)-part[0-9]\+$%\1%')
> - tmp_part=$(echo "$1" | sed -e 
> 's%.*/\(s\|h\|v\|xv\)d[a-z]\([0-9]*\)$%\2%' \
> -   -e 's%.*/fd[0-9]*$%%' \
> -   -e 's%.*/floppy/[0-9]*$%%' \
> -   -e 's%.*/\(disc\|part\([0-9]*\)\)$%\2%' \
> -   -e 's%.*c[0-7]d[0-9]*p*%%' \
> -   -e 's%.*mmcblk[0-9]d[0-9]*p%%' \
> -   -e 
> 's%.*/mapper/mpath[0-9]\+-part\([0-9]\+\)%\1%')
> - ;;
> - gnu*)
> - tmp_disk=$(echo "$1" | sed 's%\([sh]d[0-9]*\).*%\1%')
> - tmp_part=$(echo "$1" | sed "s%$tmp_disk%%")
> - ;;
> - freebsd*)
> - tmp_disk=$(echo "$1" | sed 's%r\{0,1\}\([saw]d[0-9]*\).*$%r\1%' 
> | \
> - sed 's%r\{0,1\}\(da[0-9]*\).*$%r\1%')
> - tmp_part=$(echo "$1" | \
> - sed "s%.*/r\{0,1\}[saw]d[0-9]\(s[0-9]*[a-h]\)%\1%" | \
> - sed "s%.*/r\{0,1\}da[0-9]\(s[0-9]*[a-h]\)%\1%")
> - ;;
> - netbsd*)
> - tmp_disk=$(echo "$1" | sed 's%r\{0,1\}\([sw]d[0-9]*\).*$%r\1d%' 
> | \
> - sed 's%r\{0,1\}\(fd[0-9]*\).*$%r\1a%')
> - tmp_part=$(echo "$1" | \
> - sed "s%.*/r\{0,1\}[sw]d[0-9]\([abe-p]\)%\1%")
> - ;;
> - *)
> - echo "update-grub does not support your OS yet." 1>&2
> - exit 1
> - ;;
> - esac
> -
> - # Get the drive name
> - tmp_drive=$(grep -v '^#' $device_map | grep "$tmp_disk *$" | \
> - sed 's%.*\(([hf]d[0-9][a-g0-9,]*)\).*%\1%')
> -
> - # If not found, print an error message and exit
> - if [ -z "$tmp_drive" ]; then
> - echo "$1 does not have any corresponding BIOS drive." 1>&2
> - exit 1
> + tmp_drive="$($chroot $ROOT grub-probe -d -t drive "$1")" || exit $?
> + if [ "$partition_offset" != 0 ]; then
> + tmp_part="$(echo "$tmp_drive" | sed 's%.*,\([0-9]*\)).*%\1%')"
> + if [ "$tmp_part" ] && [ "$tmp_part" != "$tmp_drive" ]; then
> + tmp_drive="$(echo "$tmp_drive" | sed 
> "s%\(.*,\)[0-9]*\().*\)%\1`expr $tmp_part - $partition_offset`%")"
> + fi
>   fi
> -
> - if [ -n "$tmp_part" ]; then
> - # If a partition is specified, we need to translate it into the
> - # GRUB's syntax
> - case "$host_os" in
> - linux*)
> - echo "$tmp_drive" | sed "s%)$%,`expr $tmp_part - 
> $partition_offset`)%"
> - ;;
> - gnu*

Re: [PATCH] Switch grub-installer to grub-probe

2010-03-08 Thread Frans Pop
On Monday 08 March 2010, Colin Watson wrote:
> I'd like to commit the following patch to make grub-installer use
> grub-probe, as noted in a TODO comment, rather than the huge
> hand-written pile of incomprehensible shell that's been there since time
> immemorial.  Does anyone object to this?

How does this affect the use of grub-legacy?


-- 
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/201003081900.20531.elen...@planet.nl



Re: [PATCH] Switch grub-installer to grub-probe

2010-03-08 Thread Otavio Salvador
Hello Colin,

On Mon, Mar 8, 2010 at 2:45 PM, Colin Watson  wrote:

> I'd like to commit the following patch to make grub-installer use
> grub-probe, as noted in a TODO comment, rather than the huge
> hand-written pile of incomprehensible shell that's been there since time
> immemorial.  Does anyone object to this?
>

This looks like the best way to go specially because avoid duplicated work
between us and GRUB maintainers since two codes were being used for the same
thing.

IMO please go ahead.

-- 
Otavio Salvador  O.S. Systems
E-mail: ota...@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br


Re: [PATCH] Switch grub-installer to grub-probe

2010-03-08 Thread Otavio Salvador
On Mon, Mar 8, 2010 at 3:00 PM, Frans Pop  wrote:

> On Monday 08 March 2010, Colin Watson wrote:
> > I'd like to commit the following patch to make grub-installer use
> > grub-probe, as noted in a TODO comment, rather than the huge
> > hand-written pile of incomprehensible shell that's been there since time
> > immemorial.  Does anyone object to this?
>
> How does this affect the use of grub-legacy?
>

grub-legacy also uses grub-probe.

grub  (0.97-42) unstable; urgency=high

   * Avoid passing UUIDs to Linux when "/dev/disk/by-uuid/${root_uuid}" does
 not exist
   * control (grub): Add a note in description pointing at GRUB 2.
 (Closes: #488304 )
   * patches/use_grub-probe_in_grub-install.diff: Use grub-mkdevicemap when
 device.map needs to be regenerated (this brings in Virtio support, and
 probably others).
 (Closes: #491745 )

 -- Robert Millan
http://qa.debian.org/developer.php?login=...@aybabtu.com>>
 Wed,
23 Jul 2008 01:19:36 +0200
Cheers,

-- 
Otavio Salvador  O.S. Systems
E-mail: ota...@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br


USB detecting hardware fails in i386

2010-03-08 Thread Jon Ander Peñalba
I've tried to install Debian with today's boot.img.gz (from
http://people.debian.org/~joeyh/d-i/images/daily/hd-media/boot.img.gz) and
installation hanged while detecting hardware.


Re: Bug#572858: initramfs-tools: Doesn't resume from hibernation, restarts fresh

2010-03-08 Thread Julien Valroff
Le lundi 08 mars 2010 à 13:45 +0100, maximilian attems a écrit :
> reassign 572858 base-installer
> retitle 572858 use lvm name and not UUID for lvm resume partition
> severity important
> stop
> 
> On Mon, Mar 08, 2010 at 06:26:50AM +0100, Julien Valroff wrote:
> > hi,
> > 
> > > why is there an UUID in /etc/initramfs-tools/conf.d/resume
> > > 
> > > can you please post:
> > > cat /proc/swaps
> > 
> > FilenameTypeSizeUsedPriority
> > /dev/mapper/gaia-swap_1 partition   9928696 0   -1
> 
> thought so, thanks for the post.
> 
> so it seems that the bug is in d-i base-installer to add an UUID in
> /etc/initramfs-tools/conf.d/resume although the device is lvm
> and thus unique anyway.
> 
> for your box do as root
> echo "resume=/dev/mapper/gaia-swap_1" > /etc/initramfs-tools/conf.d/resume
> 
> and regenerate initramfs with 
> update-initramfs -u

Still doesn't work on my box afet removing the resume option from the
kernel command line.

Cheers,
Julien


-- 
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/1268072724.7053.0.ca...@gaia.kirya.net



Re: Bug#572858: initramfs-tools: Doesn't resume from hibernation, restarts fresh

2010-03-08 Thread maximilian attems
On Mon, Mar 08, 2010 at 07:25:24PM +0100, Julien Valroff wrote:
> > 
> > and regenerate initramfs with 
> > update-initramfs -u
> 
> Still doesn't work on my box afet removing the resume option from the
> kernel command line.
> 
> Cheers,
> Julien

are you sure you booted from the updated initramfs?
update-initramfs might have updated another one you didn't use,
please double check.
you can specifiy it to update current used linux image
update-initramfs -u -k $( uname -r )


-- 
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/20100308192145.gp7...@baikonur.stro.at



Re: Bug#572858: initramfs-tools: Doesn't resume from hibernation, restarts fresh

2010-03-08 Thread Julien Valroff
Le lundi 08 mars 2010 à 20:21 +0100, maximilian attems a écrit :
> On Mon, Mar 08, 2010 at 07:25:24PM +0100, Julien Valroff wrote:
> > > 
> > > and regenerate initramfs with 
> > > update-initramfs -u
> > 
> > Still doesn't work on my box afet removing the resume option from the
> > kernel command line.
> > 
> > Cheers,
> > Julien
> 
> are you sure you booted from the updated initramfs?
> update-initramfs might have updated another one you didn't use,
> please double check.
> you can specifiy it to update current used linux image
> update-initramfs -u -k $( uname -r )

I only have one kernel, but have just tested again and it still doesn't
resume, simply starts normally (except fsck which is run as the
filesystem wasn't unmounted correctly).

Cheers,
Julien



-- 
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/1268077921.2501.0.ca...@gaia.kirya.net



Bug#573085: Typo in description of SSH task

2010-03-08 Thread Frans Pop
Package: tasksel
Version: 2.81
Severity: minor

Current description for SSH task:
   This task sets up your system to be remotely accessed throught SSH 
   connections.

s/throught/through/



-- 
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/201003082056.02394.elen...@planet.nl



Bug#573086: Tasksel: Dutch translation update for tasks

2010-03-08 Thread Frans Pop
Package: tasksel
Version: 2.81
Severity: wishlist
Tag: l10n

Please apply the attached translation update.

NOTE: please unfuzzy the string for the description of the SSH task because 
of the typo reported in #573085




tasksel_2.81_nl.po.gz
Description: GNU Zip compressed data


Processed: tagging 573085

2010-03-08 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> tags 573085 pending
Bug #573085 [tasksel] Typo in description of SSH task
Added tag(s) pending.
> thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
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.126808371220199.transcr...@bugs.debian.org



Processed: tagging 573086

2010-03-08 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> tags 573086 pending
Bug #573086 [tasksel] Tasksel: Dutch translation update for tasks
Added tag(s) pending.
> thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
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.126808371420221.transcr...@bugs.debian.org



Re: [PATCH] Switch grub-installer to grub-probe

2010-03-08 Thread Colin Watson
On Mon, Mar 08, 2010 at 03:02:45PM -0300, Otavio Salvador wrote:
> On Mon, Mar 8, 2010 at 3:00 PM, Frans Pop  wrote:
> > On Monday 08 March 2010, Colin Watson wrote:
> > > I'd like to commit the following patch to make grub-installer use
> > > grub-probe, as noted in a TODO comment, rather than the huge
> > > hand-written pile of incomprehensible shell that's been there since time
> > > immemorial.  Does anyone object to this?
> >
> > How does this affect the use of grub-legacy?
> 
> grub-legacy also uses grub-probe.

Indeed, what he said.  grub-probe is in grub-common exactly so that both
grub-legacy and grub2 can use it, and note that there's a bit of code in
my patch to handle the different partition number offset.

BTW, the real reason I care about this beyond just code reduction is
that there are bugs that we can't really sanely fix until we stop
writing out a device.map file by default (for example, what happens when
you add a new disk?).  grub2 itself can function now without a
device.map - the things that still care are things like grub-installer,
and I'd like to get rid of those dependencies so that we can change
grub2 to stop writing device.map without breaking the installer.  After
this patch, grub-installer will no longer care if device.map is absent.

(grub-legacy, of course, will write out its own device.map because it
needs it.  That's up to it.)

-- 
Colin Watson   [cjwat...@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/20100309000335.ga...@master.debian.org



Re: Bug#572858: initramfs-tools: Doesn't resume from hibernation, restarts fresh

2010-03-08 Thread maximilian attems
On Mon, 08 Mar 2010, Julien Valroff wrote:

> Le lundi 08 mars 2010 à 20:21 +0100, maximilian attems a écrit :
> > On Mon, Mar 08, 2010 at 07:25:24PM +0100, Julien Valroff wrote:
> > > > 
> > > > and regenerate initramfs with 
> > > > update-initramfs -u
> > > 
> > > Still doesn't work on my box afet removing the resume option from the
> > > kernel command line.
> > > 
> > > Cheers,
> > > Julien
> > 
> > are you sure you booted from the updated initramfs?
> > update-initramfs might have updated another one you didn't use,
> > please double check.
> > you can specifiy it to update current used linux image
> > update-initramfs -u -k $( uname -r )
> 
> I only have one kernel, but have just tested again and it still doesn't
> resume, simply starts normally (except fsck which is run as the
> filesystem wasn't unmounted correctly).

indeed seems broken since at least from Lenny on,
you may want to test latest git, see latest commit:
http://git.debian.org/?p=kernel/initramfs-tools.git;a=summary


-- 
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/20100308215129.gc6...@stro.at



Bug#572858: initramfs-tools: Doesn't resume from hibernation, restarts fresh

2010-03-08 Thread maximilian attems
On Mon, 08 Mar 2010, Aioanei Rares wrote:

> I have the same issues on a testing/unstable system and I do not use LVM.

please use reportbug to report your bug and no your bug is not the same.

reportbug initramfs-tools



-- 
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/20100308165601.ga6...@stro.at



Bug#572858: initramfs-tools: Doesn't resume from hibernation, restarts fresh

2010-03-08 Thread maximilian attems
On Mon, 08 Mar 2010, Frédéric Boiteux wrote:

>   Hello,
> 
>  Is the 572858 bug a duplicate of mine, 568877 ? I got same problem
>  resuming from hibernation with the swap (and so hibernation image) in a
>  LVM2 partition.

indeed dup and the same
you can easily fix it, just write the swap lvm device to 
echo "/dev/mapper/-" > /etc/initramfs-tools/conf.d/resume

(of course take care to use appropriate vg and lv values for your box

and regenerate initramfs with
update-initramfs -u
 
>   The given patch on my bug report isn't very useful, only a
>   workaround, waiting for a more experienced dev looking at there ;-)

I'd guess you installed with latest squeeze debian installer?

thanks for report




--
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/20100308170130.gb6...@stro.at



Re: Configuring Boot.

2010-03-08 Thread Heddle Weaver
Hello,

On 8 March 2010 12:50, Frans Pop  wrote:

> Please always reply to the mailing list!
>

Sorry.
I'm just getting used to gmail and haven't got reply options to the
instinctive stage yet.

>
> On Monday 08 March 2010, weaver2wo...@gmail.com wrote:
> > On Mar 7, 2010 10:06am, Frans Pop  wrote:
> > > With Lenny you get a question asking if you want to install grub in
> > > "the MBR of the first hard disk". If you reply "no" to that, you can
> > > specify an alternative location, which can either be a different disk
> > > or a specific partition.
> >
> > Yes, I appreciate that and selected the /dev/SDB1/ option where the
>
> /dev/SDB1/ is not a valid device name.


I replied in a hurry and used capitals, but that wasn't the situation when I
typed /dev/sdb1 in the install process.

You might find a google search on that interesting.
I did.


Anyway, I think I have avenues now by which to sort things out.
Thanks for you kind intentions.
Regards,

Weaver.

-- 
The beaten path is for the beaten man.

"Fear the Penguin!!"