Bug#514976: grub-probe cannot locate /boot on /dev/sdag1, even when device.map is correct

2011-03-20 Thread Vincent McIntyre
The affected system here is running debian lenny.
I installed the lenny-backports version of bzr and was able to branch.
This workaround appears to work for lenny users, as well.
Details below.

What are the prospects for getting this fixed in stable or oldstable?

Cheers
Vince

# bzr log |head
No handlers could be found for logger bzr

revno: 3096
committer: Colin Watson cjwat...@ubuntu.com
branch nick: grub
timestamp: Fri 2011-03-11 11:51:10 +
message:
  * grub-core/boot/i386/pc/lnxboot.S (real_code_2): Ensure that the
  initial chunk read from the kernel always includes GRUB's multiboot
  header, which is now outside the first sector.


Test on a system with 28 disks (last is /dev/sdab)

# ./grub-probe -t fs -v -d /dev/sdaa1
./grub-probe: info: the size of hd0 is 8790786048.
./grub-probe: info: the size of hd0 is 8790786048.
./grub-probe: info: the size of hd1 is 8790786048.
./grub-probe: info: the size of hd1 is 8790786048.
./grub-probe: info: the size of hd2 is 8790786048.
./grub-probe: info: the size of hd2 is 8790786048.
./grub-probe: info: the size of hd3 is 8790786048.
/grub-probe: info: the size of hd3 is 8790786048.
./grub-probe: info: the size of hd4 is 2930278400.
./grub-probe: info: the size of hd4 is 2930278400.
./grub-probe: info: the size of hd5 is 2930278400.
./grub-probe: info: the size of hd5 is 2930278400.
./grub-probe: info: the size of hd6 is 2930278400.
./grub-probe: info: the size of hd6 is 2930278400.
./grub-probe: info: the size of hd7 is 2930278400.
./grub-probe: info: the size of hd7 is 2930278400.
./grub-probe: info: the size of hd8 is 2930278400.
./grub-probe: info: the size of hd8 is 2930278400.
./grub-probe: info: the size of hd9 is 2930278400.
./grub-probe: info: the size of hd9 is 2930278400.
./grub-probe: info: the size of hd10 is 8790786048.
./grub-probe: info: the size of hd10 is 8790786048.
./grub-probe: info: the size of hd11 is 8790786048.
./grub-probe: info: the size of hd11 is 8790786048.
./grub-probe: info: the size of hd12 is 2941353984.
./grub-probe: info: the size of hd12 is 2941353984.
/grub-probe: info: the size of hd13 is 2941353984.
./grub-probe: info: the size of hd13 is 2941353984.
./grub-probe: info: the size of hd14 is 27343744512.
./grub-probe: info: the size of hd14 is 27343744512.
./grub-probe: info: the size of hd15 is 27343744512.
./grub-probe: info: the size of hd15 is 27343744512.
./grub-probe: info: the size of hd16 is 27343744512.
./grub-probe: info: the size of hd16 is 27343744512.
./grub-probe: info: the size of hd17 is 27343744512.
./grub-probe: info: the size of hd17 is 27343744512.
./grub-probe: info: the size of hd18 is 27343744512.
./grub-probe: info: the size of hd18 is 27343744512.
./grub-probe: info: the size of hd19 is 27343744512.
./grub-probe: info: the size of hd19 is 27343744512.
./grub-probe: info: the size of hd20 is 27343744512.
./grub-probe: info: the size of hd20 is 27343744512.
./grub-probe: info: the size of hd21 is 27343744512.
./grub-probe: info: the size of hd21 is 27343744512.
./grub-probe: info: the size of hd22 is 27343744512.
/grub-probe: info: the size of hd22 is 27343744512.
./grub-probe: info: the size of hd23 is 27343744512.
./grub-probe: info: the size of hd23 is 27343744512.
./grub-probe: info: the size of hd24 is 27343744512.
./grub-probe: info: the size of hd24 is 27343744512.
./grub-probe: info: the size of hd25 is 27343744512.
./grub-probe: info: the size of hd25 is 27343744512.
./grub-probe: info: the size of hd26 is 585937500.
./grub-probe: info: the size of hd26 is 585937500.
./grub-probe: info: the size of hd27 is 585937500.
./grub-probe: info: the size of hd27 is 585937500.
./grub-probe: info: scanning hd0 for LVM.
./grub-probe: info: the size of hd0 is 8790786048.
./grub-probe: info: no LVM signature found
.
./grub-probe: info: the size of hd0 is 8790786048.
./grub-probe: info: scanning hd1 for LVM.
./grub-probe: info: the size of hd1 is 8790786048.
./grub-probe: info: no LVM signature found
.
./grub-probe: info: the size of hd1 is 8790786048.
/grub-probe: info: scanning hd2 for LVM.
./grub-probe: info: the size of hd2 is 8790786048.
./grub-probe: info: no LVM signature found
.
./grub-probe: info: the size of hd2 is 8790786048.
./grub-probe: info: scanning hd3 for LVM.
./grub-probe: info: the size of hd3 is 8790786048.
./grub-probe: info: no LVM signature found
.
./grub-probe: info: the size of hd3 is 8790786048.
./grub-probe: info: scanning hd4 for LVM.
./grub-probe: info: the size of hd4 is 2930278400.
./grub-probe: info: no LVM signature found
.
./grub-probe: info: the size of hd4 is 2930278400.
./grub-probe: info: scanning hd5 for LVM.
./grub-probe: info: the size of hd5 is 2930278400.
./grub-probe: info: no LVM signature found
.
./grub-probe: info: the size of hd5 is 2930278400.
./grub-probe: info: scanning hd6 for LVM.
./grub-probe: info: the size of hd6 is 2930278400.

Bug#514976: grub-probe cannot locate /boot on /dev/sdag1, even when device.map is correct

2011-01-20 Thread Emmanuel Bastien
I opened #610593 for the very same problem on Squeeze (my system has
41 disks) and I can confirm that both Grub from bzr trunk and Debian
Experimental (1.99~rc1-1) fix the problem.

Regards,
Emmanuel



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



Bug#514976: grub-probe cannot locate /boot on /dev/sdag1, even when device.map is correct

2010-11-10 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 11/10/2010 01:52 AM, Brian May wrote:
 Excerpts from Vladimir 'φ-coder/phcoder' Serbinenko's message of 2010-11-09 
 20:27:10 +1100:
   
 This file is actually shared between GRUB2 and GRUB1 in Debian and comes
 from GRUB2 upstream. I fixed it upstream in GRUB2.
 You don't need to actually install any GRUB to test it. It's enough to:
 bzr branch http://bzr.savannah.gnu.org/r/grub/trunk/grub/
 cd grub
 ./autogen.sh
 ./configure
 make
 sudo ./grub-probe -t fs sdag1 mountpoint

 Last command should give you the FS of sdag1
 
 Unfortunately we have restructed our storage, so we no longer have as many
 drives as we use to. So the last drive is now /dev/sdr. As a result, I don't 
 think
 I can test this anymore.

 However, in case this helps. Initially I get an error, I had to use the -d 
 flag
 for it to work, is this expected?

   
There are 2 usages:
grub-probe   folder
grub-probe   -d device
Try to
grub-probe   device
as you did is expected to fail

-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko




signature.asc
Description: OpenPGP digital signature


Bug#514976: grub-probe cannot locate /boot on /dev/sdag1, even when device.map is correct

2010-11-09 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 11/09/2010 01:31 AM, Brian May wrote:
 Excerpts from Vladimir 'φ-coder/phcoder' Serbinenko's message of 2010-11-09 
 03:31:39 +1100:
   
 I believe that I've fixed it upstream but am unable to confirm since I
 have no such system. Could someone test?
 
 Not sure if I can test it or not, as this is a production box I will have to
 ask my Manager, and he is unavailable today.

 What version should be fixed? I assume you are talking about grub1? Is there a
 Debian version available?

   
This file is actually shared between GRUB2 and GRUB1 in Debian and comes
from GRUB2 upstream. I fixed it upstream in GRUB2.
You don't need to actually install any GRUB to test it. It's enough to:
bzr branch http://bzr.savannah.gnu.org/r/grub/trunk/grub/
cd grub
./autogen.sh
./configure
make
sudo ./grub-probe -t fs sdag1 mountpoint

Last command should give you the FS of sdag1

 Thanks
 --
 Brian May br...@vpac.org

   


-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko




signature.asc
Description: OpenPGP digital signature


Bug#514976: grub-probe cannot locate /boot on /dev/sdag1, even when device.map is correct

2010-11-09 Thread Brian May
Excerpts from Vladimir 'φ-coder/phcoder' Serbinenko's message of 2010-11-09 
20:27:10 +1100:
 This file is actually shared between GRUB2 and GRUB1 in Debian and comes
 from GRUB2 upstream. I fixed it upstream in GRUB2.
 You don't need to actually install any GRUB to test it. It's enough to:
 bzr branch http://bzr.savannah.gnu.org/r/grub/trunk/grub/
 cd grub
 ./autogen.sh
 ./configure
 make
 sudo ./grub-probe -t fs sdag1 mountpoint
 
 Last command should give you the FS of sdag1

Unfortunately we have restructed our storage, so we no longer have as many
drives as we use to. So the last drive is now /dev/sdr. As a result, I don't 
think
I can test this anymore.

However, in case this helps. Initially I get an error, I had to use the -d flag
for it to work, is this expected?

stg7 grub # ./grub-probe -t fs  -v /dev/sdq1 
./grub-probe: info: the size of hd0 is 488017920.
./grub-probe: info: the size of hd0 is 488017920.
./grub-probe: info: scanning hd0 for LVM.
./grub-probe: info: the size of hd0 is 488017920.
./grub-probe: info: no LVM signature found
.
./grub-probe: info: the size of hd0 is 488017920.
./grub-probe: info: the size of hd0 is 488017920.
./grub-probe: info: the size of hd0 is 488017920.
./grub-probe: info: the size of hd0 is 488017920.
./grub-probe: info: the size of hd0 is 488017920.
./grub-probe: info: the size of hd0 is 488017920.
./grub-probe: info: the size of hd0 is 488017920.
./grub-probe: info: the size of hd0 is 488017920.
./grub-probe: info: the size of hd0 is 488017920.
./grub-probe: info: the size of hd0 is 488017920.
./grub-probe: info: the size of hd0 is 488017920.
./grub-probe: info: the size of hd0 is 488017920.
./grub-probe: info: the size of hd0 is 488017920.
./grub-probe: info: scanning hd0 for LVM.
./grub-probe: info: the size of hd0 is 488017920.
./grub-probe: info: no LVM signature found
.
./grub-probe: info: the size of hd0 is 488017920.
./grub-probe: info: scanning hd0,msdos2 for LVM.
./grub-probe: info: the size of hd0 is 488017920.
./grub-probe: info: the size of hd0 is 488017920.
./grub-probe: info: scanning hd0,msdos1 for LVM.
./grub-probe: info: the size of hd0 is 488017920.
./grub-probe: info: no LVM signature found
.
./grub-probe: info: changing current directory to /dev.
./grub-probe: info: changing current directory to bus.
./grub-probe: info: changing current directory to usb.
./grub-probe: info: changing current directory to 004.
./grub-probe: info: changing current directory to 003.
./grub-probe: info: changing current directory to 002.
./grub-probe: info: changing current directory to 001.
./grub-probe: info: changing current directory to snd.
./grub-probe: info: changing current directory to net.
./grub-probe: info: changing current directory to shm.
./grub-probe: info: changing current directory to pts.
./grub-probe: info: changing current directory to stg7.
./grub-probe: info: changing current directory to mapper.
./grub-probe: info: changing current directory to md.
./grub-probe: info: changing current directory to disk.
./grub-probe: info: changing current directory to by-uuid.
./grub-probe: info: changing current directory to by-path.
./grub-probe: info: changing current directory to by-id.
./grub-probe: info: changing current directory to input.
./grub-probe: info: changing current directory to by-id.
./grub-probe: info: changing current directory to by-path.
./grub-probe: info: changing current directory to char.
./grub-probe: info: changing current directory to bsg.
./grub-probe: info: changing current directory to block.
./grub-probe: error: cannot find a device for /dev/sdq1 (is /dev mounted?).


Using the -d option works:

stg7 grub # ./grub-probe -t fs  -v -d /dev/sdq1 
./grub-probe: info: the size of hd0 is 488017920.
./grub-probe: info: the size of hd0 is 488017920.
./grub-probe: info: scanning hd0 for LVM.
./grub-probe: info: the size of hd0 is 488017920.
./grub-probe: info: no LVM signature found
.
./grub-probe: info: the size of hd0 is 488017920.
./grub-probe: info: the size of hd0 is 488017920.
./grub-probe: info: the size of hd0 is 488017920.
./grub-probe: info: the size of hd0 is 488017920.
./grub-probe: info: the size of hd0 is 488017920.
./grub-probe: info: the size of hd0 is 488017920.
./grub-probe: info: the size of hd0 is 488017920.
./grub-probe: info: the size of hd0 is 488017920.
./grub-probe: info: the size of hd0 is 488017920.
./grub-probe: info: the size of hd0 is 488017920.
./grub-probe: info: the size of hd0 is 488017920.
./grub-probe: info: the size of hd0 is 488017920.
./grub-probe: info: the size of hd0 is 488017920.
./grub-probe: info: scanning hd0 for LVM.
./grub-probe: info: the size of hd0 is 488017920.
./grub-probe: info: no LVM signature found
.
./grub-probe: info: the size of hd0 is 488017920.
./grub-probe: info: scanning hd0,msdos2 for LVM.
./grub-probe: info: the size of hd0 is 488017920.
./grub-probe: info: the size of hd0 is 488017920.
./grub-probe: info: scanning hd0,msdos1 for LVM.
./grub-probe: info: the size 

Bug#514976: grub-probe cannot locate /boot on /dev/sdag1, even when device.map is correct

2010-11-08 Thread Vladimir 'φ-coder/phcoder' Serbinenko
tags 514976 fixed-upstream
thanks

I believe that I've fixed it upstream but am unable to confirm since I
have no such system. Could someone test?

-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko




signature.asc
Description: OpenPGP digital signature


Bug#514976: grub-probe cannot locate /boot on /dev/sdag1, even when device.map is correct

2010-11-08 Thread Brian May
Excerpts from Vladimir 'φ-coder/phcoder' Serbinenko's message of 2010-11-09 
03:31:39 +1100:
 I believe that I've fixed it upstream but am unable to confirm since I
 have no such system. Could someone test?

Not sure if I can test it or not, as this is a production box I will have to
ask my Manager, and he is unavailable today.

What version should be fixed? I assume you are talking about grub1? Is there a
Debian version available?

Thanks
--
Brian May br...@vpac.org



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