Bug#708123: [grub-pc] grub2 (2.00-14) fails to install on RAID arrays (rescue, boot is broken)

2014-01-14 Thread Colin Watson
Control: retitle -1 [grub-pc] grub2 (2.00-14) fails to install on RAID arrays 
(rescue, boot is broken)
Control: severity -1 important
Control: tag -1 unreproducible

On Sat, Dec 21, 2013 at 01:00:10PM -0500, Michael Gilbert wrote:
> control: retitle -1 add news item about end-of-life for old RAID format
> 
> On Wed, Dec 18, 2013 at 1:27 PM, Gleb Golubitsky wrote:
> > On Friday, December 06, 2013 12:28:40 PM Colin Watson wrote:
> >> Gleb, if you can still reproduce this, could you please run this command
> >
> > I recently reinstalled my Debian (moved i386 -> amd64) and the bug is not
> > reproduced any more. Right before that i found out that 'delay' parameter
> > helped me so i suppose the key of problem here is a long time needed by 
> > kernel
> > (or somewhat else?) to detect my RAID.
> >
> > Dunno, maybe the bug should be closed as unreproducible.
> 
> This is an issue only with RAID arrays using a very old format, which
> it looks like grub now no longer supports.  This, I think, can be
> corrected by writing a news entry about that so users will see the
> info during an upgrade.

No, I do not believe it is intentional that GRUB no longer supports this
old format; furthermore, as I said in message #20 on this bug, a simple
test with the 0.90 format works fine for me.  Thus, not only do we not
know exactly what we would write in such a NEWS entry, but it would
probably be an inappropriate fix anyway.

While I agree that this is a pretty nasty bug if you encounter it, I
really need a way to reproduce this in order to fix it; ideally I'd be
able to reproduce it in an emulated system so that I can iterate fixes
quickly.  Perhaps somebody who hasn't made the bug go away on their
system could help with this?  In the meantime, I don't think it's any
more release-critical than any other isolated problem with the boot
loader, so I'm downgrading for now to allow 2.00 into testing as on the
whole it should be a very significant improvement over 1.99.

-- 
Colin Watson   [cjwat...@debian.org]


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Processed: Re: Bug#708123: [grub-pc] grub2 (2.00-14) fails to install on RAID arrays (rescue, boot is broken)

2014-01-14 Thread Debian Bug Tracking System
Processing control commands:

> retitle -1 [grub-pc] grub2 (2.00-14) fails to install on RAID arrays (rescue, 
> boot is broken)
Bug #708123 [grub-pc] add news item about end-of-life for old RAID format
Changed Bug title to '[grub-pc] grub2 (2.00-14) fails to install on RAID arrays 
(rescue, boot is broken)' from 'add news item about end-of-life for old RAID 
format'
> severity -1 important
Bug #708123 [grub-pc] [grub-pc] grub2 (2.00-14) fails to install on RAID arrays 
(rescue, boot is broken)
Severity set to 'important' from 'critical'
> tag -1 unreproducible
Bug #708123 [grub-pc] [grub-pc] grub2 (2.00-14) fails to install on RAID arrays 
(rescue, boot is broken)
Added tag(s) unreproducible.

-- 
708123: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=708123
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Processed: Re: Bug#708123: [grub-pc] grub2 (2.00-14) fails to install on RAID arrays (rescue, boot is broken)

2013-12-21 Thread Debian Bug Tracking System
Processing control commands:

> retitle -1 add news item about end-of-life for old RAID format
Bug #708123 [grub-pc] [grub-pc] grub2 (2.00-14) fails to install on RAID arrays 
(rescue, boot is broken)
Changed Bug title to 'add news item about end-of-life for old RAID format' from 
'[grub-pc] grub2 (2.00-14) fails to install on RAID arrays (rescue, boot is 
broken)'

-- 
708123: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=708123
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#708123: [grub-pc] grub2 (2.00-14) fails to install on RAID arrays (rescue, boot is broken)

2013-12-21 Thread Michael Gilbert
control: retitle -1 add news item about end-of-life for old RAID format

On Wed, Dec 18, 2013 at 1:27 PM, Gleb Golubitsky wrote:
> Hey,
>
> On Friday, December 06, 2013 12:28:40 PM Colin Watson wrote:
>> Gleb, if you can still reproduce this, could you please run this command
>
> I recently reinstalled my Debian (moved i386 -> amd64) and the bug is not
> reproduced any more. Right before that i found out that 'delay' parameter
> helped me so i suppose the key of problem here is a long time needed by kernel
> (or somewhat else?) to detect my RAID.
>
> Dunno, maybe the bug should be closed as unreproducible.

This is an issue only with RAID arrays using a very old format, which
it looks like grub now no longer supports.  This, I think, can be
corrected by writing a news entry about that so users will see the
info during an upgrade.

Best wishes,
Mike


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#708123: [grub-pc] grub2 (2.00-14) fails to install on RAID arrays (rescue, boot is broken)

2013-12-18 Thread Gleb Golubitsky
Hey,

On Friday, December 06, 2013 12:28:40 PM Colin Watson wrote:
> Gleb, if you can still reproduce this, could you please run this command

I recently reinstalled my Debian (moved i386 -> amd64) and the bug is not 
reproduced any more. Right before that i found out that 'delay' parameter 
helped me so i suppose the key of problem here is a long time needed by kernel 
(or somewhat else?) to detect my RAID.

Dunno, maybe the bug should be closed as unreproducible.

-- 
WBR,
Gleb Golubitsky AKA Sectoid
Jabber ID: sect...@gnolltech.com

signature.asc
Description: This is a digitally signed message part.


Bug#708123: [grub-pc] grub2 (2.00-14) fails to install on RAID arrays (rescue, boot is broken)

2013-12-06 Thread Colin Watson
On Mon, May 13, 2013 at 02:25:09PM +0300, Gleb Golubitsky wrote:
> I have my system installed on RAID 1 (fakeraid). After upgrading
> 1.99-27.1 -> 2.00-14 it was impossible to boot system. 

Hi,

I'm very sorry for my long delay in replying to this bug.  Jacob (CCed)
reports that rebuilding the array with a modern metadata format works
better.  However, I tried a simple test where I installed wheezy in a
two-disk VM with the installer hacked to produce the 0.90 format and
then upgraded the installed grub2 binary packages 2.00-14, and I was
unable to reproduce this bug; so unfortunately it doesn't seem as simple
as the 0.90 support being broken.

Gleb, if you can still reproduce this, could you please run this command
as root with 2.00-* (tell me which version you used) and post the
output:

  grub-probe -vv -t fs /boot/grub

It should be reasonably safe to upgrade to 2.00-*, run this, and then
downgrade back to 1.99-* before the next reboot.

Thanks,

-- 
Colin Watson   [cjwat...@debian.org]


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#708123: [grub-pc] grub2 (2.00-14) fails to install on RAID arrays (rescue, boot is broken)

2013-05-13 Thread Gleb Golubitsky
Package: grub-pc
Version: 2.00-14
Severity: critical

--- Please enter the report below this line. ---

I have my system 
installed on RAID 1 (fakeraid). After upgrading  1.99-27.1 -> 2.00-14 it was 
impossible to boot system. 

Workaround for those who met this: boot from livecd, chroot, downgrade grub to 
1.99-27.1 (from Wheezy repo), manually grub-install & update-grub2.

 Attempt to install grub 2.00-14 manually ---
root@dagon:~# grub-install 
/dev/mapper/isw_hbghdbjgf_SYSTEM
Path `/boot/grub' is not readable by GRUB on boot. Installation is impossible. 
Aborting.

--- Attempt to update-grub2 ---
root@dagon:~# update-grub2
Generating grub.cfg ...
/usr/sbin/grub-probe: error: unknown filesystem.
Found background image: .background_cache.png
Found linux image: /boot/vmlinuz-3.8-1-686-pae
Found initrd image: /boot/initrd.img-3.8-1-686-pae
/usr/sbin/grub-probe: error: unknown filesystem.
/usr/sbin/grub-probe: error: unknown filesystem.
/usr/sbin/grub-probe: error: unknown filesystem.
Found linux image: /boot/vmlinuz-3.2.0-4-686-pae
Found initrd image: /boot/initrd.img-3.2.0-4-686-pae
/usr/sbin/grub-probe: error: unknown filesystem.
/usr/sbin/grub-probe: error: unknown filesystem.
/usr/sbin/grub-probe: error: unknown filesystem.
Found memtest86+ image: /memtest86+.bin
Found memtest86+ multiboot image: /memtest86+_multiboot.bin
File descriptor 8 (pipe:[34]) leaked on lvs invocation. Parent PID 29937: 
/bin/sh
  No volume groups found
grub-probe: error: unknown filesystem.
rmdir: failed to remove `/var/lib/os-prober/mount': Device or resource busy
Found Debian GNU/Linux (jessie/sid) on /dev/mapper/isw_hbghdbjgf_SYSTEM5
done

--- System information. ---
Architecture: i386
Kernel:   Linux 3.8-1-686-pae

Debian Release: jessie/sid
  500 unstablepackages.gnolltech.org 
  500 unstabledebian.gnolltech.org 
  500 stable  debian.gnolltech.org 
  500 stable  deb.opera.com 
  500 squeeze deb.playonlinux.com 
  100 squeeze-backports backports.debian.org 
1 experimentaldebian.gnolltech.org 

--- Package information. ---
Depends(Version) | Installed
-+-
debconf(>= 0.5)  | 1.5.50
 OR debconf-2.0  | 
grub-common  | 2.00-14
grub2-common (= 2.00-14) | 2.00-14
grub-pc-bin  (= 2.00-14) | 2.00-14
ucf  | 3.0025+nmu3


Package's Recommends field is empty.

Package's Suggests field is empty.


--- Output from package bug script ---

*** BEGIN /proc/mounts
/dev/dm-3 / ext4 rw,relatime,errors=remount-ro,data=ordered 0 0
/dev/mapper/isw_hbghdbjgf_SYSTEM1 /boot ext2 rw,relatime,errors=continue 0 0
/dev/mapper/isw_hbghdbjgf_SYSTEM6 /home ext4 rw,relatime,data=ordered 0 0
/dev/mapper/isw_hbghdbjgf_SYSTEM6 /var/lib/mysql ext4 rw,relatime,data=ordered 
0 0
*** END /proc/mounts

*** BEGIN /boot/grub/device.map
(hd0)   /dev/disk/by-id/ata-ST31500341AS_9VS3ZFD8
(hd1)   /dev/disk/by-id/ata-ST31500341AS_9VS3ZVDE
(hd2)   /dev/mapper/isw_hbghdbjgf_SYSTEM
*** END /boot/grub/device.map

*** BEGIN /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s /grubenv ]; then
  load_env
fi
set default="0"

if [ x"" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "" ]; then
  set saved_entry=""
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "" ]; then
saved_entry=""
save_env saved_entry
  fi
}

function load_video {
  if [ x = xy ]; then
insmod all_video
  else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
  fi
}

if loadfont unicode ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=/locale
  set lang=ru_UA
  insmod gettext
fi
terminal_output gfxterm
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set root='hd2'
insmod png
if background_image /grub/.background_cache.png; then
  set color_normal=white/black
  set color_highlight=black/white
else
  set menu_color_normal=cyan/blue
  set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Debian GNU/Linux' --class debian --class gnu-linux --class gnu --
class os  'gnulinux-simple-/dev/mapper/isw_hbghdbjgf_SYSTEM5' {
load_video
insmod gzio

echo'Loading Linux 3.8-1-686-pae ...'
linux   /vmlinuz-3.8-1-686-pae root=/dev/mapper/isw_hbghdbjgf_SYSTEM5 
ro  
quiet
echo'Loading initial ramdisk ...'
initrd  /initrd.img-3.8-1-686-pae
}
submenu 'Advance