Bug#659460:

2022-05-02 Thread johnwinery
Greeting ,I had written an earlier mail to you but without response



Bug#659460: grub-pc: grub-install can't install on raid0 device (grub-probe can't find /boot)

2012-02-13 Thread Phillip Susi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2/11/2012 7:15 AM, Vladimir 'φ-coder/phcoder' Serbinenko wrote:
 Adding BIOS driver for this screws things up. And the scam is
 adding this to mobo features as a RAID and an attempt to make
 this pass as if it was a hardware RAID. GRUB currently considers
 mdX as a non-available through BIOS unless user overrides it in
 device.map, we need to add a logic to handle the fakeraid as a BIOS
 disk. It's possible to add support for intel RAID but it will be
 useless since the member disks aren't available through BIOS to
 begin with.

I started a cross mailing list discussion of this last year, and I
think the conclusion was that grub needs to ask mdadm what the
metadata format is, and if it is the intel format, assume the raid is
bios accessible the way it currently does for dmraid.

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPOTfxAAoJEJrBOlT6nu75giwIAIepAzVB43PV2Ix4i02cQie6
sy3MK9uqjHkLX75XPCDB68Tyfejb9KenBxEjJqZmVt3m9flK5dIbcLRe8baMvVuZ
pu2uMZ9dLc+WVVrQ3Jwd5eJfy13wRgo5bKiBvgnUVta+6DKtFCR5en9DWzmgBjWg
qF88ClnG7iNjZ4wpqMkcubcBA5/lGPP69Z7ohCtQ2a4vcmBWpmyPmu4dcnyaM8OY
CviSULB/nCyMs9cCCYx8IPiOdsEiB1jGaxL8Dab7oJzNTN3PDb+7Z7rUJCKK5nxS
L3SCQYPGe8zSun6GCCObMkZ0O9AFMRpXFnMSVLcFVoklXnEP4MUzPuAWH/oQBlY=
=mFNd
-END PGP SIGNATURE-



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



Bug#659460: grub-pc: grub-install can't install on raid0 device (grub-probe can't find /boot)

2012-02-11 Thread John Hughes
Package: grub-pc
Version: 1.99-14
Severity: important
Tags: d-i

Dear Maintainer,

   * What led up to the situation?

I tried to install wheezy on a Sony Vaio Z2 which has a raid0 disk

   * What exactly did you do (or not do) that was effective (or
 ineffective)?

Tried to install grub

   * What was the outcome of this action?

grub-install on /dev/md126 (the raid0) fails:

/usr/sbin/grub-probe: error: no such disk /dev/md126p5

   * What outcome did you expect instead

Since /dev/md126p5 is /boot I expected grub to install


grub-install suggests the output of grub-probe -v might be interesting.  Here 
it is:
# /usr/sbin/grub-install /dev/md126
/usr/sbin/grub-probe: error: no such disk.
Auto-detection of a filesystem of /dev/md126p5 failed.
Try with --recheck.
If the problem persists please report this together with the output of 
/usr/sbin/grub-probe --device-map=/boot/grub/device.map --target=fs -v 
/boot/grub to bug-g...@gnu.org
# /usr/sbin/grub-probe --device-map=/boot/grub/device.map --target=fs -v 
/boot/grub
/usr/sbin/grub-probe: info: Scanning for dmraid_nv RAID devices on disk hd0.
/usr/sbin/grub-probe: info: the size of hd0 is 250069680.
/usr/sbin/grub-probe: info: the size of hd0 is 250069680.
/usr/sbin/grub-probe: info: Scanning for dmraid_nv RAID devices on disk hd1.
/usr/sbin/grub-probe: info: the size of hd1 is 250069680.
/usr/sbin/grub-probe: info: the size of hd1 is 250069680.
/usr/sbin/grub-probe: info: scanning hd0 for LVM.
/usr/sbin/grub-probe: info: the size of hd0 is 250069680.
/usr/sbin/grub-probe: info: no LVM signature found.
/usr/sbin/grub-probe: info: the size of hd0 is 250069680.
/usr/sbin/grub-probe: info: scanning hd1 for LVM.
/usr/sbin/grub-probe: info: the size of hd1 is 250069680.
/usr/sbin/grub-probe: info: no LVM signature found.
/usr/sbin/grub-probe: info: the size of hd1 is 250069680.
/usr/sbin/grub-probe: info: Scanning for mdraid09 RAID devices on disk hd0.
/usr/sbin/grub-probe: info: the size of hd0 is 250069680.
/usr/sbin/grub-probe: info: the size of hd0 is 250069680.
/usr/sbin/grub-probe: info: Scanning for mdraid09 RAID devices on disk hd1.
/usr/sbin/grub-probe: info: the size of hd1 is 250069680.
/usr/sbin/grub-probe: info: the size of hd1 is 250069680.
/usr/sbin/grub-probe: info: Scanning for mdraid1x RAID devices on disk hd0.
/usr/sbin/grub-probe: info: the size of hd0 is 250069680.
/usr/sbin/grub-probe: info: the size of hd0 is 250069680.
/usr/sbin/grub-probe: info: Scanning for mdraid1x RAID devices on disk hd1.
/usr/sbin/grub-probe: info: the size of hd1 is 250069680.
/usr/sbin/grub-probe: info: the size of hd1 is 250069680.
/usr/sbin/grub-probe: info: Scanning for mdraid09 RAID devices on disk hd0.
/usr/sbin/grub-probe: info: the size of hd0 is 250069680.
/usr/sbin/grub-probe: info: the size of hd0 is 250069680.
/usr/sbin/grub-probe: info: Scanning for mdraid09 RAID devices on disk 
hd0,msdos3.
/usr/sbin/grub-probe: info: the size of hd0 is 250069680.
/usr/sbin/grub-probe: info: Scanning for mdraid09 RAID devices on disk 
hd0,msdos2.
/usr/sbin/grub-probe: info: the size of hd0 is 250069680.
/usr/sbin/grub-probe: info: Scanning for mdraid09 RAID devices on disk 
hd0,msdos1.
/usr/sbin/grub-probe: info: the size of hd0 is 250069680.
/usr/sbin/grub-probe: info: Scanning for mdraid09 RAID devices on disk hd1.
/usr/sbin/grub-probe: info: the size of hd1 is 250069680.
/usr/sbin/grub-probe: info: the size of hd1 is 250069680.
/usr/sbin/grub-probe: info: Scanning for mdraid1x RAID devices on disk hd0.
/usr/sbin/grub-probe: info: the size of hd0 is 250069680.
/usr/sbin/grub-probe: info: the size of hd0 is 250069680.
/usr/sbin/grub-probe: info: Scanning for mdraid1x RAID devices on disk 
hd0,msdos3.
/usr/sbin/grub-probe: info: the size of hd0 is 250069680.
/usr/sbin/grub-probe: info: Scanning for mdraid1x RAID devices on disk 
hd0,msdos2.
/usr/sbin/grub-probe: info: the size of hd0 is 250069680.
/usr/sbin/grub-probe: info: Scanning for mdraid1x RAID devices on disk 
hd0,msdos1.
/usr/sbin/grub-probe: info: the size of hd0 is 250069680.
/usr/sbin/grub-probe: info: Scanning for mdraid1x RAID devices on disk hd1.
/usr/sbin/grub-probe: info: the size of hd1 is 250069680.
/usr/sbin/grub-probe: info: the size of hd1 is 250069680.
/usr/sbin/grub-probe: info: scanning hd0 for LVM.
/usr/sbin/grub-probe: info: the size of hd0 is 250069680.
/usr/sbin/grub-probe: info: no LVM signature found.
/usr/sbin/grub-probe: info: the size of hd0 is 250069680.
/usr/sbin/grub-probe: info: scanning hd0,msdos3 for LVM.
/usr/sbin/grub-probe: info: the size of hd0 is 250069680.
/usr/sbin/grub-probe: info: no LVM signature found.
/usr/sbin/grub-probe: info: scanning hd0,msdos2 for LVM.
/usr/sbin/grub-probe: info: the size of hd0 is 250069680.
/usr/sbin/grub-probe: info: no LVM signature found.
/usr/sbin/grub-probe: info: scanning hd0,msdos1 for LVM.
/usr/sbin/grub-probe: info: the size of hd0 is 250069680.
/usr/sbin/grub-probe: info: no LVM signature found.
/usr/sbin/grub-probe: info: 

Bug#659460: grub-pc: grub-install can't install on raid0 device (grub-probe can't find /boot)

2012-02-11 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 11.02.2012 11:14, John Hughes wrote:
 Package: grub-pc
 Version: 1.99-14
 Severity: important
 Tags: d-i

 Dear Maintainer,

* What led up to the situation?

 I tried to install wheezy on a Sony Vaio Z2 which has a raid0 disk

* What exactly did you do (or not do) that was effective (or
  ineffective)?

 Tried to install grub

* What was the outcome of this action?

 grub-install on /dev/md126 (the raid0) fails:

 /usr/sbin/grub-probe: error: no such disk /dev/md126p5
This looks like fakeraid rather than a honest software raid. You need to
manually add it to device.map.
* What outcome did you expect instead

 Since /dev/md126p5 is /boot I expected grub to install


 grub-install suggests the output of grub-probe -v might be interesting.  Here 
 it is:
 # /usr/sbin/grub-install /dev/md126
 /usr/sbin/grub-probe: error: no such disk.
 Auto-detection of a filesystem of /dev/md126p5 failed.
 Try with --recheck.
 If the problem persists please report this together with the output of 
 /usr/sbin/grub-probe --device-map=/boot/grub/device.map --target=fs -v 
 /boot/grub to bug-g...@gnu.org
 # /usr/sbin/grub-probe --device-map=/boot/grub/device.map --target=fs -v 
 /boot/grub
 /usr/sbin/grub-probe: info: Scanning for dmraid_nv RAID devices on disk hd0.
 /usr/sbin/grub-probe: info: the size of hd0 is 250069680.
 /usr/sbin/grub-probe: info: the size of hd0 is 250069680.
 /usr/sbin/grub-probe: info: Scanning for dmraid_nv RAID devices on disk hd1.
 /usr/sbin/grub-probe: info: the size of hd1 is 250069680.
 /usr/sbin/grub-probe: info: the size of hd1 is 250069680.
 /usr/sbin/grub-probe: info: scanning hd0 for LVM.
 /usr/sbin/grub-probe: info: the size of hd0 is 250069680.
 /usr/sbin/grub-probe: info: no LVM signature found.
 /usr/sbin/grub-probe: info: the size of hd0 is 250069680.
 /usr/sbin/grub-probe: info: scanning hd1 for LVM.
 /usr/sbin/grub-probe: info: the size of hd1 is 250069680.
 /usr/sbin/grub-probe: info: no LVM signature found.
 /usr/sbin/grub-probe: info: the size of hd1 is 250069680.
 /usr/sbin/grub-probe: info: Scanning for mdraid09 RAID devices on disk hd0.
 /usr/sbin/grub-probe: info: the size of hd0 is 250069680.
 /usr/sbin/grub-probe: info: the size of hd0 is 250069680.
 /usr/sbin/grub-probe: info: Scanning for mdraid09 RAID devices on disk hd1.
 /usr/sbin/grub-probe: info: the size of hd1 is 250069680.
 /usr/sbin/grub-probe: info: the size of hd1 is 250069680.
 /usr/sbin/grub-probe: info: Scanning for mdraid1x RAID devices on disk hd0.
 /usr/sbin/grub-probe: info: the size of hd0 is 250069680.
 /usr/sbin/grub-probe: info: the size of hd0 is 250069680.
 /usr/sbin/grub-probe: info: Scanning for mdraid1x RAID devices on disk hd1.
 /usr/sbin/grub-probe: info: the size of hd1 is 250069680.
 /usr/sbin/grub-probe: info: the size of hd1 is 250069680.
 /usr/sbin/grub-probe: info: Scanning for mdraid09 RAID devices on disk hd0.
 /usr/sbin/grub-probe: info: the size of hd0 is 250069680.
 /usr/sbin/grub-probe: info: the size of hd0 is 250069680.
 /usr/sbin/grub-probe: info: Scanning for mdraid09 RAID devices on disk 
 hd0,msdos3.
 /usr/sbin/grub-probe: info: the size of hd0 is 250069680.
 /usr/sbin/grub-probe: info: Scanning for mdraid09 RAID devices on disk 
 hd0,msdos2.
 /usr/sbin/grub-probe: info: the size of hd0 is 250069680.
 /usr/sbin/grub-probe: info: Scanning for mdraid09 RAID devices on disk 
 hd0,msdos1.
 /usr/sbin/grub-probe: info: the size of hd0 is 250069680.
 /usr/sbin/grub-probe: info: Scanning for mdraid09 RAID devices on disk hd1.
 /usr/sbin/grub-probe: info: the size of hd1 is 250069680.
 /usr/sbin/grub-probe: info: the size of hd1 is 250069680.
 /usr/sbin/grub-probe: info: Scanning for mdraid1x RAID devices on disk hd0.
 /usr/sbin/grub-probe: info: the size of hd0 is 250069680.
 /usr/sbin/grub-probe: info: the size of hd0 is 250069680.
 /usr/sbin/grub-probe: info: Scanning for mdraid1x RAID devices on disk 
 hd0,msdos3.
 /usr/sbin/grub-probe: info: the size of hd0 is 250069680.
 /usr/sbin/grub-probe: info: Scanning for mdraid1x RAID devices on disk 
 hd0,msdos2.
 /usr/sbin/grub-probe: info: the size of hd0 is 250069680.
 /usr/sbin/grub-probe: info: Scanning for mdraid1x RAID devices on disk 
 hd0,msdos1.
 /usr/sbin/grub-probe: info: the size of hd0 is 250069680.
 /usr/sbin/grub-probe: info: Scanning for mdraid1x RAID devices on disk hd1.
 /usr/sbin/grub-probe: info: the size of hd1 is 250069680.
 /usr/sbin/grub-probe: info: the size of hd1 is 250069680.
 /usr/sbin/grub-probe: info: scanning hd0 for LVM.
 /usr/sbin/grub-probe: info: the size of hd0 is 250069680.
 /usr/sbin/grub-probe: info: no LVM signature found.
 /usr/sbin/grub-probe: info: the size of hd0 is 250069680.
 /usr/sbin/grub-probe: info: scanning hd0,msdos3 for LVM.
 /usr/sbin/grub-probe: info: the size of hd0 is 250069680.
 /usr/sbin/grub-probe: info: no LVM signature found.
 /usr/sbin/grub-probe: info: scanning hd0,msdos2 for LVM.
 /usr/sbin/grub-probe: info: the size of hd0 is 250069680.
 

Bug#659460: grub-pc: grub-install can't install on raid0 device (grub-probe can't find /boot)

2012-02-11 Thread John Hughes

On 11/02/12 11:29, Vladimir 'φ-coder/phcoder' Serbinenko wrote:

On 11.02.2012 11:14, John Hughes wrote:

Package: grub-pc
Version: 1.99-14
Severity: important
Tags: d-i


/usr/sbin/grub-probe: error: no such disk /dev/md126p5

This looks like fakeraid rather than a honest software raid. You need to
manually add it to device.map.


The difference is rather blurred now that it's mdadm that's handling it 
rather than the old dm-raid.


I'll try adding it to the map by hand.

Which seems to work.




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



Bug#659460: grub-pc: grub-install can't install on raid0 device (grub-probe can't find /boot)

2012-02-11 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 11.02.2012 12:02, John Hughes wrote:
 On 11/02/12 11:29, Vladimir 'φ-coder/phcoder' Serbinenko wrote:
 On 11.02.2012 11:14, John Hughes wrote:
 Package: grub-pc
 Version: 1.99-14
 Severity: important
 Tags: d-i


 /usr/sbin/grub-probe: error: no such disk /dev/md126p5
 This looks like fakeraid rather than a honest software raid. You need to
 manually add it to device.map.

 The difference is rather blurred now that it's mdadm that's handling
 it rather than the old dm-raid.

This is exactly the problem. GRUB can't distinguish between the both. Do
you know an ioctl, or at very least a command to distinguish them?
Also honest raid doesn't try to scam you into believing that it's a
hardware raid.
 I'll try adding it to the map by hand.

 Which seems to work.




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




signature.asc
Description: OpenPGP digital signature


Bug#659460: grub-pc: grub-install can't install on raid0 device (grub-probe can't find /boot)

2012-02-11 Thread John Hughes

On 11/02/12 12:02, John Hughes wrote:

On 11/02/12 11:29, Vladimir 'φ-coder/phcoder' Serbinenko wrote:

This looks like fakeraid rather than a honest software raid. You need to
manually add it to device.map.


The difference is rather blurred now that it's mdadm that's handling 
it rather than the old dm-raid.


I'll try adding it to the map by hand.

Ok, adding

 (hd2) /dev/md126

to target/boot/grub/device.map then re-running the grub-install works  
(it didn't find the windows install, but doing an update-grub from the 
running system fixed that).


Like you I get the feeling that the source of the problem is that it's a 
mdadm raid using intel container format (aka fake raid).  grub looks 
like it's trying to cope with either the old dmraid, or linux raid being 
handled by mdadm, but this case is beyond it's abilities.


Would you like me to try debugging this further?





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



Bug#659460: grub-pc: grub-install can't install on raid0 device (grub-probe can't find /boot)

2012-02-11 Thread John Hughes

On 11/02/12 12:19, Vladimir 'φ-coder/phcoder' Serbinenko wrote:

On 11.02.2012 12:02, John Hughes wrote:


The difference is rather blurred now that it's mdadm that's handling
it rather than the old dm-raid.


This is exactly the problem. GRUB can't distinguish between the both. Do
you know an ioctl, or at very least a command to distinguish them?
Also honest raid doesn't try to scam you into believing that it's a
hardware raid.


What scam?  As far as I can tell it's just a mdadm raid with an intel 
container format rather than a mdadm container format.






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



Bug#659460: grub-pc: grub-install can't install on raid0 device (grub-probe can't find /boot)

2012-02-11 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 11.02.2012 12:36, John Hughes wrote:
 On 11/02/12 12:19, Vladimir 'φ-coder/phcoder' Serbinenko wrote:
 On 11.02.2012 12:02, John Hughes wrote:

 The difference is rather blurred now that it's mdadm that's handling
 it rather than the old dm-raid.

 This is exactly the problem. GRUB can't distinguish between the both. Do
 you know an ioctl, or at very least a command to distinguish them?
 Also honest raid doesn't try to scam you into believing that it's a
 hardware raid.

 What scam?  As far as I can tell it's just a mdadm raid with an intel
 container format rather than a mdadm container format.

Adding BIOS driver for this screws things up.
And the scam is adding this to mobo features as a RAID and an attempt
to make this pass as if it was a hardware RAID.
GRUB currently considers mdX as a non-available through BIOS unless user
overrides it in device.map, we need to add a logic to handle the
fakeraid as a BIOS disk.
It's possible to add support for intel RAID but it will be useless since
the member disks aren't available through BIOS to begin with.




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




signature.asc
Description: OpenPGP digital signature