Discussion:
grub-probe seems to be having problems
(too old to reply)
Lennart Sorensen
2012-03-01 19:47:58 UTC
Permalink
***@rceng03new:~# /usr/sbin/grub-probe --device /dev/md1 --target=partmap
/usr/sbin/grub-probe: error: disk `mduuid/dc00bd3a0e9491bb0b66fa8b9246c2e8' not found.

That seems wrong.

So does:

***@rceng03new:~# /usr/sbin/grub-probe --device /dev/md0 --target=partmap
/usr/sbin/grub-probe: error: Couldn't find physical volume `(null)'. Check your device.map.

***@rceng03new:~# cat /proc/mdstat
Personalities : [raid1] [raid6] [raid5] [raid4]
md1 : active raid5 sdd3[4] sdc3[3](F) sda3[0] sdb3[1]
284773376 blocks super 1.2 level 5, 512k chunk, algorithm 2 [3/3] [UUU]

md0 : active raid1 sdd2[2] sda2[0] sdb2[1]
976884 blocks super 1.2 [3/3] [UUU]

unused devices: <none>

grub-install never seems to generate a device.map file anymore either,
although --recheck happily deletes it for me.

What is supposed to generate the /boot/grub/device.map these days?
--
Len Sorensen
Lennart Sorensen
2012-03-01 20:04:01 UTC
Permalink
Post by Lennart Sorensen
/usr/sbin/grub-probe: error: disk `mduuid/dc00bd3a0e9491bb0b66fa8b9246c2e8' not found.
That seems wrong.
/usr/sbin/grub-probe: error: Couldn't find physical volume `(null)'. Check your device.map.
Personalities : [raid1] [raid6] [raid5] [raid4]
md1 : active raid5 sdd3[4] sdc3[3](F) sda3[0] sdb3[1]
284773376 blocks super 1.2 level 5, 512k chunk, algorithm 2 [3/3] [UUU]
md0 : active raid1 sdd2[2] sda2[0] sdb2[1]
976884 blocks super 1.2 [3/3] [UUU]
unused devices: <none>
grub-install never seems to generate a device.map file anymore either,
although --recheck happily deletes it for me.
What is supposed to generate the /boot/grub/device.map these days?
Some more raid details if it helps:

***@rceng03new:~# mdadm --detail /dev/md0
/dev/md0:
Version : 1.2
Creation Time : Wed Feb 8 14:39:24 2012
Raid Level : raid1
Array Size : 976884 (954.15 MiB 1000.33 MB)
Used Dev Size : 976884 (954.15 MiB 1000.33 MB)
Raid Devices : 3
Total Devices : 3
Persistence : Superblock is persistent

Update Time : Thu Mar 1 15:02:06 2012
State : clean
Active Devices : 3
Working Devices : 3
Failed Devices : 0
Spare Devices : 0

Name : rceng03new:0 (local to host rceng03new)
UUID : 88d43dc8:2888fece:34c1486f:49caa398
Events : 74

Number Major Minor RaidDevice State
0 8 2 0 active sync /dev/sda2
1 8 18 1 active sync /dev/sdb2
2 8 50 2 active sync /dev/sdd2
***@rceng03new:~# mdadm --detail /dev/md1
/dev/md1:
Version : 1.2
Creation Time : Wed Feb 8 14:51:32 2012
Raid Level : raid5
Array Size : 284773376 (271.58 GiB 291.61 GB)
Used Dev Size : 142386688 (135.79 GiB 145.80 GB)
Raid Devices : 3
Total Devices : 3
Persistence : Superblock is persistent

Update Time : Thu Mar 1 15:02:44 2012
State : clean
Active Devices : 3
Working Devices : 3
Failed Devices : 0
Spare Devices : 0

Layout : left-symmetric
Chunk Size : 512K

Name : rceng03new:1 (local to host rceng03new)
UUID : dc00bd3a:0e9491bb:0b66fa8b:9246c2e8
Events : 30538

Number Major Minor RaidDevice State
0 8 3 0 active sync /dev/sda3
1 8 19 1 active sync /dev/sdb3
4 8 51 2 active sync /dev/sdd3
--
Len Sorensen
Vladimir 'φ-coder/phcoder' Serbinenko
2012-03-01 20:07:34 UTC
Permalink
Post by Lennart Sorensen
/usr/sbin/grub-probe: error: disk `mduuid/dc00bd3a0e9491bb0b66fa8b9246c2e8' not found.
Is the uuid correct?
Post by Lennart Sorensen
That seems wrong.
/usr/sbin/grub-probe: error: Couldn't find physical volume `(null)'. Check your device.map.
The problem is that code stops scanning as soon as it detects enough
devices to read from RAID.
Post by Lennart Sorensen
Personalities : [raid1] [raid6] [raid5] [raid4]
md1 : active raid5 sdd3[4] sdc3[3](F) sda3[0] sdb3[1]
284773376 blocks super 1.2 level 5, 512k chunk, algorithm 2 [3/3] [UUU]
md0 : active raid1 sdd2[2] sda2[0] sdb2[1]
976884 blocks super 1.2 [3/3] [UUU]
unused devices:<none>
grub-install never seems to generate a device.map file anymore either,
although --recheck happily deletes it for me.
What is supposed to generate the /boot/grub/device.map these days?
Nothing, it's not used by default anymore and its main use is manual
override.
--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
Lennart Sorensen
2012-03-01 20:15:52 UTC
Permalink
Post by Vladimir 'φ-coder/phcoder' Serbinenko
Post by Lennart Sorensen
/usr/sbin/grub-probe: error: disk `mduuid/dc00bd3a0e9491bb0b66fa8b9246c2e8' not found.
Is the uuid correct?
Yes. No idea about mduuid/ in front, but it matches the uuid I see in
mdadm --detail /dev/md1 (other that it has : every 8 characters).
Post by Vladimir 'φ-coder/phcoder' Serbinenko
Post by Lennart Sorensen
That seems wrong.
/usr/sbin/grub-probe: error: Couldn't find physical volume `(null)'. Check your device.map.
The problem is that code stops scanning as soon as it detects enough
devices to read from RAID.
So why is it complaining if it has what it needs?
Post by Vladimir 'φ-coder/phcoder' Serbinenko
Post by Lennart Sorensen
Personalities : [raid1] [raid6] [raid5] [raid4]
md1 : active raid5 sdd3[4] sdc3[3](F) sda3[0] sdb3[1]
284773376 blocks super 1.2 level 5, 512k chunk, algorithm 2 [3/3] [UUU]
md0 : active raid1 sdd2[2] sda2[0] sdb2[1]
976884 blocks super 1.2 [3/3] [UUU]
unused devices:<none>
grub-install never seems to generate a device.map file anymore either,
although --recheck happily deletes it for me.
What is supposed to generate the /boot/grub/device.map these days?
Nothing, it's not used by default anymore and its main use is manual
override.
Should grub-probe be suggesting checking your device.map if it doesn't
exist and doesn't need it? That's confusing.
--
Len Sorensen
Lennart Sorensen
2012-03-01 20:19:34 UTC
Permalink
Post by Lennart Sorensen
Should grub-probe be suggesting checking your device.map if it doesn't
exist and doesn't need it? That's confusing.
If I use grub-probe from grub 1.99 I get:

***@rceng03new:~/grub2-1.99# ./build/grub-ieee1275/grub-probe --target=fs --device /dev/md1
ext2
***@rceng03new:~/grub2-1.99# ./build/grub-ieee1275/grub-probe --target=fs --device /dev/md0
ext2
***@rceng03new:~/grub2-1.99# ./build/grub-ieee1275/grub-probe --target=abstraction --device /dev/md1
raid raid5rec mdraid1x
***@rceng03new:~/grub2-1.99# ./build/grub-ieee1275/grub-probe --target=abstraction --device /dev/md0
raid mdraid1x

So this seems to be a regression in the current code.
--
Len Sorensen
Vladimir 'φ-coder/phcoder' Serbinenko
2012-03-03 22:00:28 UTC
Permalink
Post by Lennart Sorensen
/usr/sbin/grub-probe: error: disk `mduuid/dc00bd3a0e9491bb0b66fa8b9246c2e8' not found.
Attached patch eliminates some idiosyncracies problems with mdraid 1.x.
Also fixes partial import problem and raid5 partial array problem.
Post by Lennart Sorensen
That seems wrong.
/usr/sbin/grub-probe: error: Couldn't find physical volume `(null)'. Check your device.map.
Personalities : [raid1] [raid6] [raid5] [raid4]
md1 : active raid5 sdd3[4] sdc3[3](F) sda3[0] sdb3[1]
284773376 blocks super 1.2 level 5, 512k chunk, algorithm 2 [3/3] [UUU]
md0 : active raid1 sdd2[2] sda2[0] sdb2[1]
976884 blocks super 1.2 [3/3] [UUU]
unused devices:<none>
grub-install never seems to generate a device.map file anymore either,
although --recheck happily deletes it for me.
What is supposed to generate the /boot/grub/device.map these days?
--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
Lennart Sorensen
2012-03-05 20:07:29 UTC
Permalink
Post by Vladimir 'φ-coder/phcoder' Serbinenko
Post by Lennart Sorensen
/usr/sbin/grub-probe: error: disk `mduuid/dc00bd3a0e9491bb0b66fa8b9246c2e8' not found.
Attached patch eliminates some idiosyncracies problems with mdraid
1.x. Also fixes partial import problem and raid5 partial array
problem.
No improvement that I can see.

Is it possible there is endianess bugs in the code?

1.x format is ALWAYS little endian, but I am on a big endian machine.
0.9 format is host endianess.
--
Len Sorensen
Lennart Sorensen
2012-03-05 23:10:45 UTC
Permalink
Post by Lennart Sorensen
No improvement that I can see.
Is it possible there is endianess bugs in the code?
1.x format is ALWAYS little endian, but I am on a big endian machine.
0.9 format is host endianess.
Does this give any hints:

***@rceng03new:~/grub2-1.99+20120305/build/grub-ieee1275# ./grub-probe --target=fs --device /dev/md1
grub-core/kern/disk.c:230: Opening `hostdisk//dev/sda'...
grub-core/kern/disk.c:230: Opening `hostdisk//dev/sda'...
grub-core/disk/diskfilter.c:127: Scanning for DISKFILTER devices on disk hostdisk//dev/sda
grub-core/disk/diskfilter.c:127: Scanning for DISKFILTER devices on disk hostdisk//dev/sda
grub-core/disk/diskfilter.c:127: Scanning for DISKFILTER devices on disk hostdisk//dev/sda
grub-core/disk/diskfilter.c:791: Found array md/0
grub-core/disk/diskfilter.c:988: Inserting hostdisk//dev/sda into md/0 (mdraid1x)
grub-core/kern/disk.c:230: Opening `hostdisk//dev/sda'...
grub-core/kern/disk.c:230: Opening `md/0'...
grub-core/disk/diskfilter.c:127: Scanning for DISKFILTER devices on disk md/0
grub-core/kern/disk.c:326: Closing `md/0'.
grub-core/disk/diskfilter.c:127: Scanning for DISKFILTER devices on disk hostdisk//dev/sda
grub-core/disk/diskfilter.c:791: Found array md/1
grub-core/disk/diskfilter.c:988: Inserting hostdisk//dev/sda into md/1 (mdraid1x)
grub-core/kern/disk.c:230: Opening `hostdisk//dev/sda'...
grub-core/kern/disk.c:326: Closing `hostdisk//dev/sda'.
grub-core/kern/disk.c:326: Closing `hostdisk//dev/sda'.
grub-core/kern/disk.c:230: Opening `hostdisk//dev/sdb'...
grub-core/kern/disk.c:230: Opening `hostdisk//dev/sdb'...
grub-core/disk/diskfilter.c:127: Scanning for DISKFILTER devices on disk hostdisk//dev/sdb
grub-core/disk/diskfilter.c:127: Scanning for DISKFILTER devices on disk hostdisk//dev/sdb
grub-core/disk/diskfilter.c:127: Scanning for DISKFILTER devices on disk hostdisk//dev/sdb
grub-core/disk/diskfilter.c:127: Scanning for DISKFILTER devices on disk hostdisk//dev/sdb
grub-core/disk/diskfilter.c:988: Inserting hostdisk//dev/sdb into md/1 (mdraid1x)
grub-core/kern/disk.c:326: Closing `hostdisk//dev/sdb'.
grub-core/kern/disk.c:326: Closing `hostdisk//dev/sdb'.
grub-core/kern/disk.c:230: Opening `hostdisk//dev/sdd'...
grub-core/kern/disk.c:230: Opening `hostdisk//dev/sdd'...
grub-core/disk/diskfilter.c:127: Scanning for DISKFILTER devices on disk hostdisk//dev/sdd
grub-core/disk/diskfilter.c:127: Scanning for DISKFILTER devices on disk hostdisk//dev/sdd
grub-core/disk/diskfilter.c:127: Scanning for DISKFILTER devices on disk hostdisk//dev/sdd
grub-core/disk/diskfilter.c:127: Scanning for DISKFILTER devices on disk hostdisk//dev/sdd
grub-core/kern/disk.c:326: Closing `hostdisk//dev/sdd'.
grub-core/kern/disk.c:326: Closing `hostdisk//dev/sdd'.
grub-core/kern/disk.c:230: Opening `hostdisk//dev/sda'...
grub-core/kern/disk.c:230: Opening `hostdisk//dev/sda'...
grub-core/disk/diskfilter.c:127: Scanning for DISKFILTER devices on disk hostdisk//dev/sda
grub-core/disk/diskfilter.c:127: Scanning for DISKFILTER devices on disk hostdisk//dev/sda
grub-core/disk/diskfilter.c:127: Scanning for DISKFILTER devices on disk hostdisk//dev/sda
grub-core/disk/diskfilter.c:127: Scanning for DISKFILTER devices on disk hostdisk//dev/sda
grub-core/kern/disk.c:326: Closing `hostdisk//dev/sda'.
grub-core/kern/disk.c:326: Closing `hostdisk//dev/sda'.
grub-core/kern/disk.c:230: Opening `hostdisk//dev/sdb'...
grub-core/kern/disk.c:230: Opening `hostdisk//dev/sdb'...
grub-core/disk/diskfilter.c:127: Scanning for DISKFILTER devices on disk hostdisk//dev/sdb
grub-core/disk/diskfilter.c:127: Scanning for DISKFILTER devices on disk hostdisk//dev/sdb
grub-core/disk/diskfilter.c:127: Scanning for DISKFILTER devices on disk hostdisk//dev/sdb
grub-core/disk/diskfilter.c:127: Scanning for DISKFILTER devices on disk hostdisk//dev/sdb
grub-core/disk/diskfilter.c:988: Inserting hostdisk//dev/sdb into md/1 (mdraid1x)
grub-core/kern/disk.c:326: Closing `hostdisk//dev/sdb'.
grub-core/kern/disk.c:326: Closing `hostdisk//dev/sdb'.
grub-core/kern/disk.c:230: Opening `hostdisk//dev/sdd'...
grub-core/kern/disk.c:230: Opening `hostdisk//dev/sdd'...
grub-core/disk/diskfilter.c:127: Scanning for DISKFILTER devices on disk hostdisk//dev/sdd
grub-core/disk/diskfilter.c:127: Scanning for DISKFILTER devices on disk hostdisk//dev/sdd
grub-core/disk/diskfilter.c:127: Scanning for DISKFILTER devices on disk hostdisk//dev/sdd
grub-core/disk/diskfilter.c:127: Scanning for DISKFILTER devices on disk hostdisk//dev/sdd
grub-core/kern/disk.c:326: Closing `hostdisk//dev/sdd'.
grub-core/kern/disk.c:326: Closing `hostdisk//dev/sdd'.
grub-core/kern/disk.c:230: Opening `mduuid/dc00bd3a0e9491bb0b66fa8b9246c2e8'...
grub-core/kern/disk.c:230: Opening `hostdisk//dev/sda'...
grub-core/disk/diskfilter.c:127: Scanning for DISKFILTER devices on disk hostdisk//dev/sda
grub-core/disk/diskfilter.c:127: Scanning for DISKFILTER devices on disk hostdisk//dev/sda
grub-core/disk/diskfilter.c:127: Scanning for DISKFILTER devices on disk hostdisk//dev/sda
grub-core/disk/diskfilter.c:127: Scanning for DISKFILTER devices on disk hostdisk//dev/sda
grub-core/kern/disk.c:326: Closing `hostdisk//dev/sda'.
grub-core/kern/disk.c:230: Opening `hostdisk//dev/sdb'...
grub-core/disk/diskfilter.c:127: Scanning for DISKFILTER devices on disk hostdisk//dev/sdb
grub-core/disk/diskfilter.c:127: Scanning for DISKFILTER devices on disk hostdisk//dev/sdb
grub-core/disk/diskfilter.c:127: Scanning for DISKFILTER devices on disk hostdisk//dev/sdb
grub-core/disk/diskfilter.c:127: Scanning for DISKFILTER devices on disk hostdisk//dev/sdb
grub-core/disk/diskfilter.c:988: Inserting hostdisk//dev/sdb into md/1 (mdraid1x)
grub-core/kern/disk.c:326: Closing `hostdisk//dev/sdb'.
grub-core/kern/disk.c:230: Opening `hostdisk//dev/sdd'...
grub-core/disk/diskfilter.c:127: Scanning for DISKFILTER devices on disk hostdisk//dev/sdd
grub-core/disk/diskfilter.c:127: Scanning for DISKFILTER devices on disk hostdisk//dev/sdd
grub-core/disk/diskfilter.c:127: Scanning for DISKFILTER devices on disk hostdisk//dev/sdd
grub-core/disk/diskfilter.c:127: Scanning for DISKFILTER devices on disk hostdisk//dev/sdd
grub-core/kern/disk.c:326: Closing `hostdisk//dev/sdd'.
grub-core/kern/disk.c:312: Opening `mduuid/dc00bd3a0e9491bb0b66fa8b9246c2e8' failed.
grub-core/kern/disk.c:326: Closing `mduuid/dc00bd3a0e9491bb0b66fa8b9246c2e8'.
./grub-probe: error: disk `mduuid/dc00bd3a0e9491bb0b66fa8b9246c2e8' not found.

not sure why it says:
Inserting hostdisk//dev/sdb into md/1 (mdraid1x)

md/1 uses sda3, sdb3 and sdd3, not sdb raw.
--
Len Sorensen
Vladimir 'φ-coder/phcoder' Serbinenko
2012-03-08 17:46:42 UTC
Permalink
Post by Lennart Sorensen
Post by Vladimir 'φ-coder/phcoder' Serbinenko
Post by Lennart Sorensen
/usr/sbin/grub-probe: error: disk `mduuid/dc00bd3a0e9491bb0b66fa8b9246c2e8' not found.
Attached patch eliminates some idiosyncracies problems with mdraid
1.x. Also fixes partial import problem and raid5 partial array
problem.
No improvement that I can see.
Is it possible there is endianess bugs in the code?
Yes, I've just fixed one. grub-fstest works on big-endian now. Couldn't
test grub-probe since the Ubuntu on my PPC test machine is outdated.
Post by Lennart Sorensen
1.x format is ALWAYS little endian, but I am on a big endian machine.
0.9 format is host endianess.
GRUB always assumes that RAID metadata is in little-endian. We don't
have any "native-endian parsers" since we assume that grub-probe results
are valid for GRUB runtime as well even if they run on different
endianness. If we need any support for structures which can be either le
or be we compile code twice, once for le, once for be (look at e.g. cpio
code). I couldn't test the images created on big-endian platform due to
ancient distro.
--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
Lennart Sorensen
2012-03-08 19:01:02 UTC
Permalink
Post by Vladimir 'φ-coder/phcoder' Serbinenko
Yes, I've just fixed one. grub-fstest works on big-endian now.
Couldn't test grub-probe since the Ubuntu on my PPC test machine is
outdated.
I can certainly give it a try if it is in bzr now.
Post by Vladimir 'φ-coder/phcoder' Serbinenko
GRUB always assumes that RAID metadata is in little-endian. We don't
have any "native-endian parsers" since we assume that grub-probe
results are valid for GRUB runtime as well even if they run on
different endianness. If we need any support for structures which
can be either le or be we compile code twice, once for le, once for
be (look at e.g. cpio code). I couldn't test the images created on
big-endian platform due to ancient distro.
Fair enough.
--
Len Sorensen
Vladimir 'φ-coder/phcoder' Serbinenko
2012-03-08 19:14:08 UTC
Permalink
Post by Lennart Sorensen
Post by Vladimir 'φ-coder/phcoder' Serbinenko
Yes, I've just fixed one. grub-fstest works on big-endian now.
Couldn't test grub-probe since the Ubuntu on my PPC test machine is
outdated.
I can certainly give it a try if it is in bzr now.
It is.
Post by Lennart Sorensen
Post by Vladimir 'φ-coder/phcoder' Serbinenko
GRUB always assumes that RAID metadata is in little-endian. We don't
have any "native-endian parsers" since we assume that grub-probe
results are valid for GRUB runtime as well even if they run on
different endianness. If we need any support for structures which
can be either le or be we compile code twice, once for le, once for
be (look at e.g. cpio code). I couldn't test the images created on
big-endian platform due to ancient distro.
Fair enough.
I'll have to download the new distro when I'm on better internet.
--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
Lennart Sorensen
2012-03-08 20:15:06 UTC
Permalink
Post by Vladimir 'φ-coder/phcoder' Serbinenko
It is.
That helped some at least.

Still not perfect.

For example:

# grub-install /dev/sda1
+ prefix=/usr
+ exec_prefix=/usr
+ datarootdir=/usr/share
+ sbindir=/usr/sbin
+ bindir=/usr/bin
+ libdir=/usr/lib
+ sysconfdir=/etc
+ PACKAGE_NAME=GRUB
+ PACKAGE_TARNAME=grub
+ PACKAGE_VERSION=1.99+20120308-0.1
+ export TEXTDOMAIN=grub
+ export TEXTDOMAINDIR=/usr/share/locale
+ host_os=linux-gnu
+ source_dir=
+ target=
+ datadir=/usr/share
+ [ x = x ]
+ pkgdatadir=/usr/share/grub
+ localedir=/usr/share/locale
+ basename /usr/sbin/grub-install
+ self=grub-install
+ echo grub-mkimage
+ sed s,x,x,
+ grub_mkimage=/usr/bin/grub-mkimage
+ echo grub-probe
+ sed s,x,x,
+ grub_probe=/usr/sbin/grub-probe
+ echo grub-editenv
+ sed s,x,x,
+ grub_editenv=/usr/bin/grub-editenv
+ echo grub-mkrelpath
+ sed s,x,x,
+ grub_mkrelpath=/usr/bin/grub-mkrelpath
+ rootdir=
+ bootdir=
+ echo /boot/grub
+ sed s,//*,/,g
+ grubdir=/boot/grub
+ modules=
+ install_device=
+ force_lba=
+ recheck=no
+ debug=no
+ debug_image=
+ update_nvram=yes
+ removable=no
+ efi_quiet=
+ test -f /etc/default/grub
+ . /etc/default/grub
+ GRUB_DEFAULT=0
+ GRUB_TIMEOUT=5
+ lsb_release -i -s
+ GRUB_DISTRIBUTOR=Debian
+ GRUB_CMDLINE_LINUX_DEFAULT=quiet
+ GRUB_CMDLINE_LINUX=
+ echo Debian
+ tr A-Z a-z
+ cut -d -f1
+ bootloader_id=debian
+ test -z debian
+ disk_module=unspecified
+ . /usr/share/grub/grub-mkconfig_lib
+ transform=s,x,x,
+ prefix=/usr
+ exec_prefix=/usr
+ datarootdir=/usr/share
+ datadir=/usr/share
+ bindir=/usr/bin
+ sbindir=/usr/sbin
+ pkgdatadir=/usr/share/grub
+ test x/usr/sbin/grub-probe = x
+ test x/usr/bin/grub-mkrelpath = x
+ which gettext
+ :
+ allow_floppy=
+ force_file_id=
+ test 1 -gt 0
+ option=/dev/sda1
+ shift
+ test x != x
+ install_device=/dev/sda1
+ test 0 -gt 0
+ [ x = x ]
+ [ x = x ]
+ uname -m
+ target=powerpc-ieee1275
+ source_dir=/usr/lib/grub/powerpc-ieee1275
+ [ -d /usr/lib/grub/powerpc-ieee1275 ]
+ . /usr/lib/grub/powerpc-ieee1275/modinfo.sh
+ grub_modinfo_target_cpu=powerpc
+ grub_modinfo_platform=ieee1275
+ [ powerpc-ieee1275 = i386-pc ]
+ [ ieee1275 = ieee1275 ]
+ disk_module=
+ test x = x
+ [ powerpc-ieee1275 = i386-pc ]
+ test x = x
+ [ powerpc-ieee1275 = sparc64-ieee1275 ]
+ test x/dev/sda1 = x
+ [ powerpc-ieee1275 = i386-pc ]
+ [ powerpc-ieee1275 = sparc64-ieee1275 ]
+ [ powerpc-ieee1275 = powerpc-ieee1275 ]
+ setup_verbose=
+ test xno = xyes
+ [ -z ]
+ bootdir=/boot
+ [ -n ]
+ echo /boot/grub
+ sed s,//*,/,g
+ grubdir=/boot/grub
+ device_map=/boot/grub/device.map
+ [ powerpc-ieee1275 = i386-pc ]
+ [ powerpc-ieee1275 = sparc64-ieee1275 ]
+ set /usr/bin/grub-mkimage dummy
+ test -f /usr/bin/grub-mkimage
+ :
+ [ xieee1275 = xefi ]
+ mkdir -p /boot/grub
+ mkdir -p /boot/grub/powerpc-ieee1275
+ test no = yes
+ test -f /boot/grub/device.map
+ device_map=
+ test -f /boot/grub/*.mod
+ test -f /boot/grub/*.lst
+ test -f /boot/grub/*.img
+ test -f /boot/grub/efiemu??.o
+ test -f /boot/grub/powerpc-ieee1275/adler32.mod
+ basename /boot/grub/powerpc-ieee1275/adler32.mod
+ [ adler32.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/adler32.mod
+ test -f /boot/grub/powerpc-ieee1275/affs.mod
+ basename /boot/grub/powerpc-ieee1275/affs.mod
+ [ affs.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/affs.mod
+ test -f /boot/grub/powerpc-ieee1275/afs.mod
+ basename /boot/grub/powerpc-ieee1275/afs.mod
+ [ afs.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/afs.mod
+ test -f /boot/grub/powerpc-ieee1275/all_video.mod
+ basename /boot/grub/powerpc-ieee1275/all_video.mod
+ [ all_video.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/all_video.mod
+ test -f /boot/grub/powerpc-ieee1275/bfs.mod
+ basename /boot/grub/powerpc-ieee1275/bfs.mod
+ [ bfs.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/bfs.mod
+ test -f /boot/grub/powerpc-ieee1275/bitmap.mod
+ basename /boot/grub/powerpc-ieee1275/bitmap.mod
+ [ bitmap.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/bitmap.mod
+ test -f /boot/grub/powerpc-ieee1275/bitmap_scale.mod
+ basename /boot/grub/powerpc-ieee1275/bitmap_scale.mod
+ [ bitmap_scale.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/bitmap_scale.mod
+ test -f /boot/grub/powerpc-ieee1275/blocklist.mod
+ basename /boot/grub/powerpc-ieee1275/blocklist.mod
+ [ blocklist.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/blocklist.mod
+ test -f /boot/grub/powerpc-ieee1275/boot.mod
+ basename /boot/grub/powerpc-ieee1275/boot.mod
+ [ boot.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/boot.mod
+ test -f /boot/grub/powerpc-ieee1275/btrfs.mod
+ basename /boot/grub/powerpc-ieee1275/btrfs.mod
+ [ btrfs.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/btrfs.mod
+ test -f /boot/grub/powerpc-ieee1275/bufio.mod
+ basename /boot/grub/powerpc-ieee1275/bufio.mod
+ [ bufio.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/bufio.mod
+ test -f /boot/grub/powerpc-ieee1275/cat.mod
+ basename /boot/grub/powerpc-ieee1275/cat.mod
+ [ cat.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/cat.mod
+ test -f /boot/grub/powerpc-ieee1275/cmostest.mod
+ basename /boot/grub/powerpc-ieee1275/cmostest.mod
+ [ cmostest.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/cmostest.mod
+ test -f /boot/grub/powerpc-ieee1275/cmp.mod
+ basename /boot/grub/powerpc-ieee1275/cmp.mod
+ [ cmp.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/cmp.mod
+ test -f /boot/grub/powerpc-ieee1275/configfile.mod
+ basename /boot/grub/powerpc-ieee1275/configfile.mod
+ [ configfile.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/configfile.mod
+ test -f /boot/grub/powerpc-ieee1275/cpio.mod
+ basename /boot/grub/powerpc-ieee1275/cpio.mod
+ [ cpio.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/cpio.mod
+ test -f /boot/grub/powerpc-ieee1275/cpio_be.mod
+ basename /boot/grub/powerpc-ieee1275/cpio_be.mod
+ [ cpio_be.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/cpio_be.mod
+ test -f /boot/grub/powerpc-ieee1275/crc64.mod
+ basename /boot/grub/powerpc-ieee1275/crc64.mod
+ [ crc64.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/crc64.mod
+ test -f /boot/grub/powerpc-ieee1275/crypto.mod
+ basename /boot/grub/powerpc-ieee1275/crypto.mod
+ [ crypto.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/crypto.mod
+ test -f /boot/grub/powerpc-ieee1275/cryptodisk.mod
+ basename /boot/grub/powerpc-ieee1275/cryptodisk.mod
+ [ cryptodisk.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/cryptodisk.mod
+ test -f /boot/grub/powerpc-ieee1275/date.mod
+ basename /boot/grub/powerpc-ieee1275/date.mod
+ [ date.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/date.mod
+ test -f /boot/grub/powerpc-ieee1275/datehook.mod
+ basename /boot/grub/powerpc-ieee1275/datehook.mod
+ [ datehook.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/datehook.mod
+ test -f /boot/grub/powerpc-ieee1275/datetime.mod
+ basename /boot/grub/powerpc-ieee1275/datetime.mod
+ [ datetime.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/datetime.mod
+ test -f /boot/grub/powerpc-ieee1275/diskfilter.mod
+ basename /boot/grub/powerpc-ieee1275/diskfilter.mod
+ [ diskfilter.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/diskfilter.mod
+ test -f /boot/grub/powerpc-ieee1275/dm_nv.mod
+ basename /boot/grub/powerpc-ieee1275/dm_nv.mod
+ [ dm_nv.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/dm_nv.mod
+ test -f /boot/grub/powerpc-ieee1275/echo.mod
+ basename /boot/grub/powerpc-ieee1275/echo.mod
+ [ echo.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/echo.mod
+ test -f /boot/grub/powerpc-ieee1275/elf.mod
+ basename /boot/grub/powerpc-ieee1275/elf.mod
+ [ elf.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/elf.mod
+ test -f /boot/grub/powerpc-ieee1275/example_functional_test.mod
+ basename /boot/grub/powerpc-ieee1275/example_functional_test.mod
+ [ example_functional_test.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/example_functional_test.mod
+ test -f /boot/grub/powerpc-ieee1275/exfat.mod
+ basename /boot/grub/powerpc-ieee1275/exfat.mod
+ [ exfat.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/exfat.mod
+ test -f /boot/grub/powerpc-ieee1275/ext2.mod
+ basename /boot/grub/powerpc-ieee1275/ext2.mod
+ [ ext2.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/ext2.mod
+ test -f /boot/grub/powerpc-ieee1275/fat.mod
+ basename /boot/grub/powerpc-ieee1275/fat.mod
+ [ fat.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/fat.mod
+ test -f /boot/grub/powerpc-ieee1275/font.mod
+ basename /boot/grub/powerpc-ieee1275/font.mod
+ [ font.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/font.mod
+ test -f /boot/grub/powerpc-ieee1275/fshelp.mod
+ basename /boot/grub/powerpc-ieee1275/fshelp.mod
+ [ fshelp.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/fshelp.mod
+ test -f /boot/grub/powerpc-ieee1275/functional_test.mod
+ basename /boot/grub/powerpc-ieee1275/functional_test.mod
+ [ functional_test.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/functional_test.mod
+ test -f /boot/grub/powerpc-ieee1275/gcry_arcfour.mod
+ basename /boot/grub/powerpc-ieee1275/gcry_arcfour.mod
+ [ gcry_arcfour.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/gcry_arcfour.mod
+ test -f /boot/grub/powerpc-ieee1275/gcry_blowfish.mod
+ basename /boot/grub/powerpc-ieee1275/gcry_blowfish.mod
+ [ gcry_blowfish.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/gcry_blowfish.mod
+ test -f /boot/grub/powerpc-ieee1275/gcry_camellia.mod
+ basename /boot/grub/powerpc-ieee1275/gcry_camellia.mod
+ [ gcry_camellia.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/gcry_camellia.mod
+ test -f /boot/grub/powerpc-ieee1275/gcry_cast5.mod
+ basename /boot/grub/powerpc-ieee1275/gcry_cast5.mod
+ [ gcry_cast5.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/gcry_cast5.mod
+ test -f /boot/grub/powerpc-ieee1275/gcry_crc.mod
+ basename /boot/grub/powerpc-ieee1275/gcry_crc.mod
+ [ gcry_crc.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/gcry_crc.mod
+ test -f /boot/grub/powerpc-ieee1275/gcry_des.mod
+ basename /boot/grub/powerpc-ieee1275/gcry_des.mod
+ [ gcry_des.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/gcry_des.mod
+ test -f /boot/grub/powerpc-ieee1275/gcry_md4.mod
+ basename /boot/grub/powerpc-ieee1275/gcry_md4.mod
+ [ gcry_md4.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/gcry_md4.mod
+ test -f /boot/grub/powerpc-ieee1275/gcry_md5.mod
+ basename /boot/grub/powerpc-ieee1275/gcry_md5.mod
+ [ gcry_md5.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/gcry_md5.mod
+ test -f /boot/grub/powerpc-ieee1275/gcry_rfc2268.mod
+ basename /boot/grub/powerpc-ieee1275/gcry_rfc2268.mod
+ [ gcry_rfc2268.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/gcry_rfc2268.mod
+ test -f /boot/grub/powerpc-ieee1275/gcry_rijndael.mod
+ basename /boot/grub/powerpc-ieee1275/gcry_rijndael.mod
+ [ gcry_rijndael.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/gcry_rijndael.mod
+ test -f /boot/grub/powerpc-ieee1275/gcry_rmd160.mod
+ basename /boot/grub/powerpc-ieee1275/gcry_rmd160.mod
+ [ gcry_rmd160.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/gcry_rmd160.mod
+ test -f /boot/grub/powerpc-ieee1275/gcry_seed.mod
+ basename /boot/grub/powerpc-ieee1275/gcry_seed.mod
+ [ gcry_seed.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/gcry_seed.mod
+ test -f /boot/grub/powerpc-ieee1275/gcry_serpent.mod
+ basename /boot/grub/powerpc-ieee1275/gcry_serpent.mod
+ [ gcry_serpent.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/gcry_serpent.mod
+ test -f /boot/grub/powerpc-ieee1275/gcry_sha1.mod
+ basename /boot/grub/powerpc-ieee1275/gcry_sha1.mod
+ [ gcry_sha1.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/gcry_sha1.mod
+ test -f /boot/grub/powerpc-ieee1275/gcry_sha256.mod
+ basename /boot/grub/powerpc-ieee1275/gcry_sha256.mod
+ [ gcry_sha256.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/gcry_sha256.mod
+ test -f /boot/grub/powerpc-ieee1275/gcry_sha512.mod
+ basename /boot/grub/powerpc-ieee1275/gcry_sha512.mod
+ [ gcry_sha512.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/gcry_sha512.mod
+ test -f /boot/grub/powerpc-ieee1275/gcry_tiger.mod
+ basename /boot/grub/powerpc-ieee1275/gcry_tiger.mod
+ [ gcry_tiger.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/gcry_tiger.mod
+ test -f /boot/grub/powerpc-ieee1275/gcry_twofish.mod
+ basename /boot/grub/powerpc-ieee1275/gcry_twofish.mod
+ [ gcry_twofish.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/gcry_twofish.mod
+ test -f /boot/grub/powerpc-ieee1275/gcry_whirlpool.mod
+ basename /boot/grub/powerpc-ieee1275/gcry_whirlpool.mod
+ [ gcry_whirlpool.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/gcry_whirlpool.mod
+ test -f /boot/grub/powerpc-ieee1275/geli.mod
+ basename /boot/grub/powerpc-ieee1275/geli.mod
+ [ geli.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/geli.mod
+ test -f /boot/grub/powerpc-ieee1275/gettext.mod
+ basename /boot/grub/powerpc-ieee1275/gettext.mod
+ [ gettext.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/gettext.mod
+ test -f /boot/grub/powerpc-ieee1275/gfxmenu.mod
+ basename /boot/grub/powerpc-ieee1275/gfxmenu.mod
+ [ gfxmenu.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/gfxmenu.mod
+ test -f /boot/grub/powerpc-ieee1275/gfxterm.mod
+ basename /boot/grub/powerpc-ieee1275/gfxterm.mod
+ [ gfxterm.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/gfxterm.mod
+ test -f /boot/grub/powerpc-ieee1275/gptsync.mod
+ basename /boot/grub/powerpc-ieee1275/gptsync.mod
+ [ gptsync.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/gptsync.mod
+ test -f /boot/grub/powerpc-ieee1275/gzio.mod
+ basename /boot/grub/powerpc-ieee1275/gzio.mod
+ [ gzio.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/gzio.mod
+ test -f /boot/grub/powerpc-ieee1275/halt.mod
+ basename /boot/grub/powerpc-ieee1275/halt.mod
+ [ halt.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/halt.mod
+ test -f /boot/grub/powerpc-ieee1275/hashsum.mod
+ basename /boot/grub/powerpc-ieee1275/hashsum.mod
+ [ hashsum.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/hashsum.mod
+ test -f /boot/grub/powerpc-ieee1275/hello.mod
+ basename /boot/grub/powerpc-ieee1275/hello.mod
+ [ hello.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/hello.mod
+ test -f /boot/grub/powerpc-ieee1275/help.mod
+ basename /boot/grub/powerpc-ieee1275/help.mod
+ [ help.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/help.mod
+ test -f /boot/grub/powerpc-ieee1275/hexdump.mod
+ basename /boot/grub/powerpc-ieee1275/hexdump.mod
+ [ hexdump.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/hexdump.mod
+ test -f /boot/grub/powerpc-ieee1275/hfs.mod
+ basename /boot/grub/powerpc-ieee1275/hfs.mod
+ [ hfs.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/hfs.mod
+ test -f /boot/grub/powerpc-ieee1275/hfsplus.mod
+ basename /boot/grub/powerpc-ieee1275/hfsplus.mod
+ [ hfsplus.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/hfsplus.mod
+ test -f /boot/grub/powerpc-ieee1275/http.mod
+ basename /boot/grub/powerpc-ieee1275/http.mod
+ [ http.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/http.mod
+ test -f /boot/grub/powerpc-ieee1275/ieee1275_fb.mod
+ basename /boot/grub/powerpc-ieee1275/ieee1275_fb.mod
+ [ ieee1275_fb.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/ieee1275_fb.mod
+ test -f /boot/grub/powerpc-ieee1275/iso9660.mod
+ basename /boot/grub/powerpc-ieee1275/iso9660.mod
+ [ iso9660.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/iso9660.mod
+ test -f /boot/grub/powerpc-ieee1275/jfs.mod
+ basename /boot/grub/powerpc-ieee1275/jfs.mod
+ [ jfs.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/jfs.mod
+ test -f /boot/grub/powerpc-ieee1275/jpeg.mod
+ basename /boot/grub/powerpc-ieee1275/jpeg.mod
+ [ jpeg.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/jpeg.mod
+ test -f /boot/grub/powerpc-ieee1275/keylayouts.mod
+ basename /boot/grub/powerpc-ieee1275/keylayouts.mod
+ [ keylayouts.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/keylayouts.mod
+ test -f /boot/grub/powerpc-ieee1275/keystatus.mod
+ basename /boot/grub/powerpc-ieee1275/keystatus.mod
+ [ keystatus.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/keystatus.mod
+ test -f /boot/grub/powerpc-ieee1275/ldm.mod
+ basename /boot/grub/powerpc-ieee1275/ldm.mod
+ [ ldm.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/ldm.mod
+ test -f /boot/grub/powerpc-ieee1275/linux.mod
+ basename /boot/grub/powerpc-ieee1275/linux.mod
+ [ linux.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/linux.mod
+ test -f /boot/grub/powerpc-ieee1275/loadenv.mod
+ basename /boot/grub/powerpc-ieee1275/loadenv.mod
+ [ loadenv.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/loadenv.mod
+ test -f /boot/grub/powerpc-ieee1275/loopback.mod
+ basename /boot/grub/powerpc-ieee1275/loopback.mod
+ [ loopback.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/loopback.mod
+ test -f /boot/grub/powerpc-ieee1275/ls.mod
+ basename /boot/grub/powerpc-ieee1275/ls.mod
+ [ ls.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/ls.mod
+ test -f /boot/grub/powerpc-ieee1275/lsmmap.mod
+ basename /boot/grub/powerpc-ieee1275/lsmmap.mod
+ [ lsmmap.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/lsmmap.mod
+ test -f /boot/grub/powerpc-ieee1275/luks.mod
+ basename /boot/grub/powerpc-ieee1275/luks.mod
+ [ luks.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/luks.mod
+ test -f /boot/grub/powerpc-ieee1275/lvm.mod
+ basename /boot/grub/powerpc-ieee1275/lvm.mod
+ [ lvm.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/lvm.mod
+ test -f /boot/grub/powerpc-ieee1275/lzopio.mod
+ basename /boot/grub/powerpc-ieee1275/lzopio.mod
+ [ lzopio.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/lzopio.mod
+ test -f /boot/grub/powerpc-ieee1275/mdraid09.mod
+ basename /boot/grub/powerpc-ieee1275/mdraid09.mod
+ [ mdraid09.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/mdraid09.mod
+ test -f /boot/grub/powerpc-ieee1275/mdraid1x.mod
+ basename /boot/grub/powerpc-ieee1275/mdraid1x.mod
+ [ mdraid1x.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/mdraid1x.mod
+ test -f /boot/grub/powerpc-ieee1275/memdisk.mod
+ basename /boot/grub/powerpc-ieee1275/memdisk.mod
+ [ memdisk.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/memdisk.mod
+ test -f /boot/grub/powerpc-ieee1275/memrw.mod
+ basename /boot/grub/powerpc-ieee1275/memrw.mod
+ [ memrw.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/memrw.mod
+ test -f /boot/grub/powerpc-ieee1275/minicmd.mod
+ basename /boot/grub/powerpc-ieee1275/minicmd.mod
+ [ minicmd.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/minicmd.mod
+ test -f /boot/grub/powerpc-ieee1275/minix.mod
+ basename /boot/grub/powerpc-ieee1275/minix.mod
+ [ minix.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/minix.mod
+ test -f /boot/grub/powerpc-ieee1275/minix2.mod
+ basename /boot/grub/powerpc-ieee1275/minix2.mod
+ [ minix2.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/minix2.mod
+ test -f /boot/grub/powerpc-ieee1275/minix3.mod
+ basename /boot/grub/powerpc-ieee1275/minix3.mod
+ [ minix3.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/minix3.mod
+ test -f /boot/grub/powerpc-ieee1275/msdospart.mod
+ basename /boot/grub/powerpc-ieee1275/msdospart.mod
+ [ msdospart.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/msdospart.mod
+ test -f /boot/grub/powerpc-ieee1275/net.mod
+ basename /boot/grub/powerpc-ieee1275/net.mod
+ [ net.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/net.mod
+ test -f /boot/grub/powerpc-ieee1275/newc.mod
+ basename /boot/grub/powerpc-ieee1275/newc.mod
+ [ newc.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/newc.mod
+ test -f /boot/grub/powerpc-ieee1275/nilfs2.mod
+ basename /boot/grub/powerpc-ieee1275/nilfs2.mod
+ [ nilfs2.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/nilfs2.mod
+ test -f /boot/grub/powerpc-ieee1275/normal.mod
+ basename /boot/grub/powerpc-ieee1275/normal.mod
+ [ normal.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/normal.mod
+ test -f /boot/grub/powerpc-ieee1275/ntfs.mod
+ basename /boot/grub/powerpc-ieee1275/ntfs.mod
+ [ ntfs.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/ntfs.mod
+ test -f /boot/grub/powerpc-ieee1275/ntfscomp.mod
+ basename /boot/grub/powerpc-ieee1275/ntfscomp.mod
+ [ ntfscomp.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/ntfscomp.mod
+ test -f /boot/grub/powerpc-ieee1275/odc.mod
+ basename /boot/grub/powerpc-ieee1275/odc.mod
+ [ odc.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/odc.mod
+ test -f /boot/grub/powerpc-ieee1275/ofnet.mod
+ basename /boot/grub/powerpc-ieee1275/ofnet.mod
+ [ ofnet.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/ofnet.mod
+ test -f /boot/grub/powerpc-ieee1275/part_acorn.mod
+ basename /boot/grub/powerpc-ieee1275/part_acorn.mod
+ [ part_acorn.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/part_acorn.mod
+ test -f /boot/grub/powerpc-ieee1275/part_amiga.mod
+ basename /boot/grub/powerpc-ieee1275/part_amiga.mod
+ [ part_amiga.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/part_amiga.mod
+ test -f /boot/grub/powerpc-ieee1275/part_apple.mod
+ basename /boot/grub/powerpc-ieee1275/part_apple.mod
+ [ part_apple.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/part_apple.mod
+ test -f /boot/grub/powerpc-ieee1275/part_bsd.mod
+ basename /boot/grub/powerpc-ieee1275/part_bsd.mod
+ [ part_bsd.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/part_bsd.mod
+ test -f /boot/grub/powerpc-ieee1275/part_dvh.mod
+ basename /boot/grub/powerpc-ieee1275/part_dvh.mod
+ [ part_dvh.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/part_dvh.mod
+ test -f /boot/grub/powerpc-ieee1275/part_gpt.mod
+ basename /boot/grub/powerpc-ieee1275/part_gpt.mod
+ [ part_gpt.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/part_gpt.mod
+ test -f /boot/grub/powerpc-ieee1275/part_msdos.mod
+ basename /boot/grub/powerpc-ieee1275/part_msdos.mod
+ [ part_msdos.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/part_msdos.mod
+ test -f /boot/grub/powerpc-ieee1275/part_plan.mod
+ basename /boot/grub/powerpc-ieee1275/part_plan.mod
+ [ part_plan.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/part_plan.mod
+ test -f /boot/grub/powerpc-ieee1275/part_sun.mod
+ basename /boot/grub/powerpc-ieee1275/part_sun.mod
+ [ part_sun.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/part_sun.mod
+ test -f /boot/grub/powerpc-ieee1275/part_sunpc.mod
+ basename /boot/grub/powerpc-ieee1275/part_sunpc.mod
+ [ part_sunpc.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/part_sunpc.mod
+ test -f /boot/grub/powerpc-ieee1275/parttool.mod
+ basename /boot/grub/powerpc-ieee1275/parttool.mod
+ [ parttool.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/parttool.mod
+ test -f /boot/grub/powerpc-ieee1275/password.mod
+ basename /boot/grub/powerpc-ieee1275/password.mod
+ [ password.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/password.mod
+ test -f /boot/grub/powerpc-ieee1275/password_pbkdf2.mod
+ basename /boot/grub/powerpc-ieee1275/password_pbkdf2.mod
+ [ password_pbkdf2.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/password_pbkdf2.mod
+ test -f /boot/grub/powerpc-ieee1275/pbkdf2.mod
+ basename /boot/grub/powerpc-ieee1275/pbkdf2.mod
+ [ pbkdf2.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/pbkdf2.mod
+ test -f /boot/grub/powerpc-ieee1275/png.mod
+ basename /boot/grub/powerpc-ieee1275/png.mod
+ [ png.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/png.mod
+ test -f /boot/grub/powerpc-ieee1275/priority_queue.mod
+ basename /boot/grub/powerpc-ieee1275/priority_queue.mod
+ [ priority_queue.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/priority_queue.mod
+ test -f /boot/grub/powerpc-ieee1275/probe.mod
+ basename /boot/grub/powerpc-ieee1275/probe.mod
+ [ probe.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/probe.mod
+ test -f /boot/grub/powerpc-ieee1275/raid5rec.mod
+ basename /boot/grub/powerpc-ieee1275/raid5rec.mod
+ [ raid5rec.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/raid5rec.mod
+ test -f /boot/grub/powerpc-ieee1275/raid6rec.mod
+ basename /boot/grub/powerpc-ieee1275/raid6rec.mod
+ [ raid6rec.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/raid6rec.mod
+ test -f /boot/grub/powerpc-ieee1275/read.mod
+ basename /boot/grub/powerpc-ieee1275/read.mod
+ [ read.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/read.mod
+ test -f /boot/grub/powerpc-ieee1275/reboot.mod
+ basename /boot/grub/powerpc-ieee1275/reboot.mod
+ [ reboot.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/reboot.mod
+ test -f /boot/grub/powerpc-ieee1275/regexp.mod
+ basename /boot/grub/powerpc-ieee1275/regexp.mod
+ [ regexp.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/regexp.mod
+ test -f /boot/grub/powerpc-ieee1275/reiserfs.mod
+ basename /boot/grub/powerpc-ieee1275/reiserfs.mod
+ [ reiserfs.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/reiserfs.mod
+ test -f /boot/grub/powerpc-ieee1275/relocator.mod
+ basename /boot/grub/powerpc-ieee1275/relocator.mod
+ [ relocator.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/relocator.mod
+ test -f /boot/grub/powerpc-ieee1275/romfs.mod
+ basename /boot/grub/powerpc-ieee1275/romfs.mod
+ [ romfs.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/romfs.mod
+ test -f /boot/grub/powerpc-ieee1275/scsi.mod
+ basename /boot/grub/powerpc-ieee1275/scsi.mod
+ [ scsi.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/scsi.mod
+ test -f /boot/grub/powerpc-ieee1275/search.mod
+ basename /boot/grub/powerpc-ieee1275/search.mod
+ [ search.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/search.mod
+ test -f /boot/grub/powerpc-ieee1275/search_fs_file.mod
+ basename /boot/grub/powerpc-ieee1275/search_fs_file.mod
+ [ search_fs_file.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/search_fs_file.mod
+ test -f /boot/grub/powerpc-ieee1275/search_fs_uuid.mod
+ basename /boot/grub/powerpc-ieee1275/search_fs_uuid.mod
+ [ search_fs_uuid.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/search_fs_uuid.mod
+ test -f /boot/grub/powerpc-ieee1275/search_label.mod
+ basename /boot/grub/powerpc-ieee1275/search_label.mod
+ [ search_label.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/search_label.mod
+ test -f /boot/grub/powerpc-ieee1275/serial.mod
+ basename /boot/grub/powerpc-ieee1275/serial.mod
+ [ serial.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/serial.mod
+ test -f /boot/grub/powerpc-ieee1275/setjmp.mod
+ basename /boot/grub/powerpc-ieee1275/setjmp.mod
+ [ setjmp.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/setjmp.mod
+ test -f /boot/grub/powerpc-ieee1275/sfs.mod
+ basename /boot/grub/powerpc-ieee1275/sfs.mod
+ [ sfs.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/sfs.mod
+ test -f /boot/grub/powerpc-ieee1275/sleep.mod
+ basename /boot/grub/powerpc-ieee1275/sleep.mod
+ [ sleep.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/sleep.mod
+ test -f /boot/grub/powerpc-ieee1275/squash4.mod
+ basename /boot/grub/powerpc-ieee1275/squash4.mod
+ [ squash4.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/squash4.mod
+ test -f /boot/grub/powerpc-ieee1275/suspend.mod
+ basename /boot/grub/powerpc-ieee1275/suspend.mod
+ [ suspend.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/suspend.mod
+ test -f /boot/grub/powerpc-ieee1275/tar.mod
+ basename /boot/grub/powerpc-ieee1275/tar.mod
+ [ tar.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/tar.mod
+ test -f /boot/grub/powerpc-ieee1275/terminal.mod
+ basename /boot/grub/powerpc-ieee1275/terminal.mod
+ [ terminal.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/terminal.mod
+ test -f /boot/grub/powerpc-ieee1275/test.mod
+ basename /boot/grub/powerpc-ieee1275/test.mod
+ [ test.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/test.mod
+ test -f /boot/grub/powerpc-ieee1275/test_blockarg.mod
+ basename /boot/grub/powerpc-ieee1275/test_blockarg.mod
+ [ test_blockarg.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/test_blockarg.mod
+ test -f /boot/grub/powerpc-ieee1275/testload.mod
+ basename /boot/grub/powerpc-ieee1275/testload.mod
+ [ testload.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/testload.mod
+ test -f /boot/grub/powerpc-ieee1275/tftp.mod
+ basename /boot/grub/powerpc-ieee1275/tftp.mod
+ [ tftp.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/tftp.mod
+ test -f /boot/grub/powerpc-ieee1275/tga.mod
+ basename /boot/grub/powerpc-ieee1275/tga.mod
+ [ tga.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/tga.mod
+ test -f /boot/grub/powerpc-ieee1275/time.mod
+ basename /boot/grub/powerpc-ieee1275/time.mod
+ [ time.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/time.mod
+ test -f /boot/grub/powerpc-ieee1275/trig.mod
+ basename /boot/grub/powerpc-ieee1275/trig.mod
+ [ trig.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/trig.mod
+ test -f /boot/grub/powerpc-ieee1275/true.mod
+ basename /boot/grub/powerpc-ieee1275/true.mod
+ [ true.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/true.mod
+ test -f /boot/grub/powerpc-ieee1275/udf.mod
+ basename /boot/grub/powerpc-ieee1275/udf.mod
+ [ udf.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/udf.mod
+ test -f /boot/grub/powerpc-ieee1275/ufs1.mod
+ basename /boot/grub/powerpc-ieee1275/ufs1.mod
+ [ ufs1.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/ufs1.mod
+ test -f /boot/grub/powerpc-ieee1275/ufs2.mod
+ basename /boot/grub/powerpc-ieee1275/ufs2.mod
+ [ ufs2.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/ufs2.mod
+ test -f /boot/grub/powerpc-ieee1275/video.mod
+ basename /boot/grub/powerpc-ieee1275/video.mod
+ [ video.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/video.mod
+ test -f /boot/grub/powerpc-ieee1275/video_fb.mod
+ basename /boot/grub/powerpc-ieee1275/video_fb.mod
+ [ video_fb.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/video_fb.mod
+ test -f /boot/grub/powerpc-ieee1275/videoinfo.mod
+ basename /boot/grub/powerpc-ieee1275/videoinfo.mod
+ [ videoinfo.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/videoinfo.mod
+ test -f /boot/grub/powerpc-ieee1275/videotest.mod
+ basename /boot/grub/powerpc-ieee1275/videotest.mod
+ [ videotest.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/videotest.mod
+ test -f /boot/grub/powerpc-ieee1275/xfs.mod
+ basename /boot/grub/powerpc-ieee1275/xfs.mod
+ [ xfs.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/xfs.mod
+ test -f /boot/grub/powerpc-ieee1275/xnu_uuid.mod
+ basename /boot/grub/powerpc-ieee1275/xnu_uuid.mod
+ [ xnu_uuid.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/xnu_uuid.mod
+ test -f /boot/grub/powerpc-ieee1275/xzio.mod
+ basename /boot/grub/powerpc-ieee1275/xzio.mod
+ [ xzio.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/xzio.mod
+ test -f /boot/grub/powerpc-ieee1275/zfs.mod
+ basename /boot/grub/powerpc-ieee1275/zfs.mod
+ [ zfs.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/zfs.mod
+ test -f /boot/grub/powerpc-ieee1275/zfscrypt.mod
+ basename /boot/grub/powerpc-ieee1275/zfscrypt.mod
+ [ zfscrypt.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/zfscrypt.mod
+ test -f /boot/grub/powerpc-ieee1275/zfsinfo.mod
+ basename /boot/grub/powerpc-ieee1275/zfsinfo.mod
+ [ zfsinfo.mod != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/zfsinfo.mod
+ test -f /boot/grub/powerpc-ieee1275/command.lst
+ basename /boot/grub/powerpc-ieee1275/command.lst
+ [ command.lst != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/command.lst
+ test -f /boot/grub/powerpc-ieee1275/crypto.lst
+ basename /boot/grub/powerpc-ieee1275/crypto.lst
+ [ crypto.lst != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/crypto.lst
+ test -f /boot/grub/powerpc-ieee1275/fs.lst
+ basename /boot/grub/powerpc-ieee1275/fs.lst
+ [ fs.lst != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/fs.lst
+ test -f /boot/grub/powerpc-ieee1275/moddep.lst
+ basename /boot/grub/powerpc-ieee1275/moddep.lst
+ [ moddep.lst != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/moddep.lst
+ test -f /boot/grub/powerpc-ieee1275/partmap.lst
+ basename /boot/grub/powerpc-ieee1275/partmap.lst
+ [ partmap.lst != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/partmap.lst
+ test -f /boot/grub/powerpc-ieee1275/parttool.lst
+ basename /boot/grub/powerpc-ieee1275/parttool.lst
+ [ parttool.lst != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/parttool.lst
+ test -f /boot/grub/powerpc-ieee1275/terminal.lst
+ basename /boot/grub/powerpc-ieee1275/terminal.lst
+ [ terminal.lst != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/terminal.lst
+ test -f /boot/grub/powerpc-ieee1275/video.lst
+ basename /boot/grub/powerpc-ieee1275/video.lst
+ [ video.lst != menu.lst ]
+ rm -f /boot/grub/powerpc-ieee1275/video.lst
+ test -f /boot/grub/powerpc-ieee1275/*.img
+ test -f /boot/grub/powerpc-ieee1275/efiemu??.o
+ cp -f /usr/lib/grub/powerpc-ieee1275/adler32.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/affs.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/afs.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/all_video.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/bfs.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/bitmap.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/bitmap_scale.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/blocklist.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/boot.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/btrfs.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/bufio.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/cat.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/cmostest.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/cmp.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/configfile.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/cpio.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/cpio_be.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/crc64.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/crypto.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/cryptodisk.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/date.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/datehook.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/datetime.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/diskfilter.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/dm_nv.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/echo.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/elf.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/example_functional_test.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/exfat.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/ext2.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/fat.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/font.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/fshelp.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/functional_test.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/gcry_arcfour.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/gcry_blowfish.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/gcry_camellia.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/gcry_cast5.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/gcry_crc.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/gcry_des.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/gcry_md4.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/gcry_md5.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/gcry_rfc2268.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/gcry_rijndael.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/gcry_rmd160.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/gcry_seed.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/gcry_serpent.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/gcry_sha1.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/gcry_sha256.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/gcry_sha512.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/gcry_tiger.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/gcry_twofish.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/gcry_whirlpool.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/geli.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/gettext.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/gfxmenu.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/gfxterm.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/gptsync.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/gzio.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/halt.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/hashsum.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/hello.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/help.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/hexdump.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/hfs.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/hfsplus.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/http.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/ieee1275_fb.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/iso9660.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/jfs.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/jpeg.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/keylayouts.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/keystatus.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/ldm.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/linux.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/loadenv.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/loopback.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/ls.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/lsmmap.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/luks.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/lvm.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/lzopio.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/mdraid09.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/mdraid1x.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/memdisk.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/memrw.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/minicmd.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/minix.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/minix2.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/minix3.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/msdospart.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/net.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/newc.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/nilfs2.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/normal.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/ntfs.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/ntfscomp.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/odc.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/ofnet.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/part_acorn.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/part_amiga.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/part_apple.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/part_bsd.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/part_dvh.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/part_gpt.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/part_msdos.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/part_plan.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/part_sun.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/part_sunpc.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/parttool.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/password.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/password_pbkdf2.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/pbkdf2.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/png.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/priority_queue.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/probe.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/raid5rec.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/raid6rec.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/read.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/reboot.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/regexp.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/reiserfs.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/relocator.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/romfs.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/scsi.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/search.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/search_fs_file.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/search_fs_uuid.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/search_label.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/serial.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/setjmp.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/sfs.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/sleep.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/squash4.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/suspend.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/tar.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/terminal.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/test.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/test_blockarg.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/testload.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/tftp.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/tga.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/time.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/trig.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/true.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/udf.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/ufs1.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/ufs2.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/video.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/video_fb.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/videoinfo.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/videotest.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/xfs.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/xnu_uuid.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/xzio.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/zfs.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/zfscrypt.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/zfsinfo.mod /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/command.lst /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/crypto.lst /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/fs.lst /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/moddep.lst /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/partmap.lst /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/parttool.lst /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/terminal.lst /boot/grub/powerpc-ieee1275
+ cp -f /usr/lib/grub/powerpc-ieee1275/video.lst /boot/grub/powerpc-ieee1275
+ [ powerpc-ieee1275 = i386-pc ]
+ [ powerpc-ieee1275 = sparc64-ieee1275 ]
+ mkdir -p /boot/grub/locale/
+ test -f /usr/share/locale/af/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/am/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/ang/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/ar/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/ara/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/as/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/ast/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/az/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/az_IR/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/bal/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/be/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/***@latin/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/bg/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/bn/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/bn_IN/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/br/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/bs/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/byn/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/ca/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/***@valencia/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/crh/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/cs/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/csb/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/cy/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/da/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/de/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/de_AT/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/dz/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/el/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/en/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/***@boldquot/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/***@quot/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/***@shaw/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/en_AU/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/en_CA/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/en_GB/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/en_NZ/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/en_US/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/eo/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/es/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/et/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/et_EE/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/eu/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/fa/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/fi/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/fo/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/fr/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/fur/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/ga/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/gez/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/gl/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/gu/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/haw/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/he/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/hi/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/hr/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/hu/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/hy/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/ia/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/id/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/io/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/is/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/it/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/ja/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/ka/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/kk/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/km/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/kn/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/ko/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/kok/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/ku/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/ky/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/lg/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/li/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/locale.alias/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/lt/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/lv/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/mai/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/mg/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/mi/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/mk/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/ml/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/mn/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/mr/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/ms/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/mt/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/my/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/nb/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/nds/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/ne/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/nl/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/nn/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/no/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/nso/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/oc/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/or/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/pa/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/pl/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/ps/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/pt/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/pt_BR/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/qu/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/ro/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/ru/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/rw/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/si/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/sk/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/sl/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/so/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/sq/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/sr/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/***@ije/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/***@latin/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/sv/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/sw/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/ta/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/te/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/th/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/ti/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/tig/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/tk/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/tl/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/tr/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/tt/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/ug/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/uk/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/ur/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/urd/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/uz/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/***@cyrillic/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/ve/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/vi/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/wa/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/wal/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/wo/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/xh/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/yi/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/zh_CN/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/zh_HK/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/zh_TW/LC_MESSAGES/grub.mo
+ test -f /usr/share/locale/zu/LC_MESSAGES/grub.mo
+ test -d /usr/share/grub/themes/starfield
+ mkdir -p /boot/grub/themes/starfield
+ cp /usr/share/grub/themes/starfield/COPYING.CC-BY-SA-3.0 /usr/share/grub/themes/starfield/README /usr/share/grub/themes/starfield/blob_w.png /usr/share/grub/themes/starfield/boot_menu_c.png /usr/share/grub/themes/starfield/boot_menu_e.png /usr/share/grub/themes/starfield/boot_menu_n.png /usr/share/grub/themes/starfield/boot_menu_ne.png /usr/share/grub/themes/starfield/boot_menu_nw.png /usr/share/grub/themes/starfield/boot_menu_s.png /usr/share/grub/themes/starfield/boot_menu_se.png /usr/share/grub/themes/starfield/boot_menu_sw.png /usr/share/grub/themes/starfield/boot_menu_w.png /usr/share/grub/themes/starfield/dejavu.pf2 /usr/share/grub/themes/starfield/slider_c.png /usr/share/grub/themes/starfield/slider_n.png /usr/share/grub/themes/starfield/slider_s.png /usr/share/grub/themes/starfield/starfield.png /usr/share/grub/themes/starfield/terminal_box_c.png /usr/share/grub/themes/starfield/terminal_box_e.png /usr/share/grub/themes/starfield/terminal_box_n.png /usr/share/grub/themes/starfield/terminal_box_ne.png /usr/share/grub/themes/starfield/terminal_box_nw.png /usr/share/grub/themes/starfield/terminal_box_s.png /usr/share/grub/themes/starfield/terminal_box_se.png /usr/share/grub/themes/starfield/terminal_box_sw.png /usr/share/grub/themes/starfield/terminal_box_w.png /usr/share/grub/themes/starfield/theme.txt /boot/grub/themes/starfield
+ test -f /usr/share/grub/unicode.pf2
+ mkdir -p /boot/grub/fonts
+ cp /usr/share/grub/unicode.pf2 /boot/grub/fonts
+ is_path_readable_by_grub /boot/grub/powerpc-ieee1275
+ path=/boot/grub/powerpc-ieee1275
+ test -e /boot/grub/powerpc-ieee1275
+ :
+ /usr/sbin/grub-probe -t fs /boot/grub/powerpc-ieee1275
+ :
+ /usr/sbin/grub-probe -t abstraction /boot/grub/powerpc-ieee1275
/usr/sbin/grub-probe: error: Couldn't find physical volume `(null)'. Check your device.map.
+ abstractions=
+ return 1
+ echo /boot/grub not readable
/boot/grub not readable
+ exit 1
+ /usr/sbin/grub-probe --device-map= --target=device /boot/grub
+ grub_device=/dev/md0
+ test -f /boot/grub/grubenv
+ echo /dev/md0
+ xargs /usr/sbin/grub-probe --device-map= --target=fs --device
+ fs_module=ext2
+ test xext2 = x
+ partmap_module=
+ echo /dev/md0
+ xargs /usr/sbin/grub-probe --device-map= --target=partmap --device
+ echo /dev/md0
+ xargs /usr/sbin/grub-probe --device-map= --target=abstraction --device
/usr/sbin/grub-probe: error: Couldn't find physical volume `(null)'. Check your device.map.
+ devabstraction_module=
+ [ x = xata ]
+ [ x = xnative ]
+ modules=
+ modules= ext2
+ /usr/bin/grub-mkrelpath /boot/grub
+ relative_grubdir=/grub
+ [ x/grub = x ]
+ prefix_drive=
+ config_opt=
+ rm -f /boot/grub/powerpc-ieee1275/load.cfg
+ [ x != x ]
+ [ x = x ]
+ [ x/dev/sda1 != x ]
+ echo /dev/sda1
+ grep -qx (.*)
+ /usr/sbin/grub-probe --device-map= --target=drive --device /dev/sda1
+ install_drive=(hostdisk//dev/sda,msdos1)
+ echo (hostdisk//dev/sda,msdos1)
+ sed -e s/^(\(\([^,\\]\|\\\\\|\\,\)*\)\(\(,[a-zA-Z0-9]*\)*\))$/\1/
+ install_drive=hostdisk//dev/sda
+ echo /dev/md0
+ xargs /usr/sbin/grub-probe --device-map= --target=drive --device
+ grub_drive=(mduuid/88d43dc82888fece34c1486f49caa398)
+ echo (mduuid/88d43dc82888fece34c1486f49caa398)
+ sed -e s/^(\(\([^,\\]\|\\\\\|\\,\)*\)\(\(,[a-zA-Z0-9]*\)*\))$/\3/
+ grub_partition=
+ echo (mduuid/88d43dc82888fece34c1486f49caa398)
+ sed -e s/^(\(\([^,\\]\|\\\\\|\\,\)*\)\(\(,[a-zA-Z0-9]*\)*\))$/\1/
+ grub_drive=mduuid/88d43dc82888fece34c1486f49caa398
+ [ x != x ]
+ [ xmduuid/88d43dc82888fece34c1486f49caa398 != xhostdisk//dev/sda ]
+ uuid=
+ [ x != xy ]
+ echo /dev/md0
+ xargs /usr/sbin/grub-probe --device-map= --target=fs_uuid --device
+ uuid=0b0e82ba-12c4-4c96-b9db-deb31d84254c
+ [ x != x ]
+ [ xieee1275 = xpc ]
+ [ xieee1275 = xefi ]
+ [ xieee1275 = xieee1275 ]
+ echo /dev/md0
+ xargs /usr/sbin/grub-probe --device-map= --target=ieee1275_hints --device
+ hints=mduuid/88d43dc82888fece34c1486f49caa398
+ [ x0b0e82ba-12c4-4c96-b9db-deb31d84254c != x ]
+ echo search.fs_uuid 0b0e82ba-12c4-4c96-b9db-deb31d84254c root mduuid/88d43dc82888fece34c1486f49caa398
+ search_module=search_fs_uuid
+ echo set prefix=($root)/grub
+ config_opt=-c /boot/grub/powerpc-ieee1275/load.cfg
+ modules= ext2 search_fs_uuid
+ mkimage_target=powerpc-ieee1275
+ imgext=elf
+ /usr/bin/grub-mkimage -c /boot/grub/powerpc-ieee1275/load.cfg -d /usr/lib/grub/powerpc-ieee1275 -O powerpc-ieee1275 --output=/boot/grub/powerpc-ieee1275/core.elf --prefix=/grub ext2 search_fs_uuid
+ [ powerpc-ieee1275 = mipsel-loongson ]
+ [ powerpc-ieee1275 = i386-ieee1275 ]
+ [ powerpc-ieee1275 = powerpc-ieee1275 ]
+ cp /boot/grub/powerpc-ieee1275/core.elf /boot/grub/grub
+ [ powerpc-ieee1275 = i386-pc ]
+ [ powerpc-ieee1275 = sparc64-ieee1275 ]
+ [ powerpc-ieee1275 = i386-ieee1275 ]
+ [ powerpc-ieee1275 = powerpc-ieee1275 ]
+ [ xyes = xyes ]
+ which ofpathname
+ ofpathname=/usr/sbin/ofpathname
+ which nvsetenv
+ nvsetenv=/sbin/nvsetenv
+ set /usr/sbin/ofpathname dummy
+ test -f /usr/sbin/ofpathname
+ :
+ set /sbin/nvsetenv dummy
+ test -f /sbin/nvsetenv
+ :
+ echo /dev/sda1
+ sed -e s/\/dev\/// -e s/[0-9]\+//
+ dev=sda
+ echo /dev/sda1
+ sed -e s/.*[^0-9]\([0-9]\+\)$/\1/
+ partno=1
+ /usr/sbin/ofpathname sda
+ ofpath=/***@80000002000000a/pci1014,***@0/sas/***@0
+ /usr/bin/grub-mkrelpath /boot/grub/powerpc-ieee1275/core.elf
+ sed s,/,\\,g
+ boot_device=/***@80000002000000a/pci1014,***@0/sas/***@0:1,\grub\powerpc-ieee1275\core.elf
+ [ powerpc-ieee1275 = powerpc-ieee1275 ]
+ [ -n /dev/sda1 ]
+ /usr/sbin/grub-probe -m -d /dev/sda1 -t msdos_parttype
+ [ 41 != 41 ]
+ file -s /dev/sda1 -b
+ awk { print $1 }
+ [ ELF = ELF ]
+ boot_device=/***@80000002000000a/pci1014,***@0/sas/***@0
+ dd if=/boot/grub/powerpc-ieee1275/core.elf of=/dev/sda1 status=noxfer
187+1 records in
187+1 records out
+ /sbin/nvsetenv boot-device /***@80000002000000a/pci1014,***@0/sas/***@0
+ gettext Installation finished. No error reported.
Installation finished. No error reported.+ echo

+ exit 0

So for some reason, it left out msdos partitin support, most likely
because it still doesn't clue in to the fact that md/0 and md/1 are on
sd[abc]1 and sd[abc]2 respectively.

/usr/sbin/grub-probe --device-map= --target=abstraction --device /dev/md0
still fails.

But it does seem able to find the filesystem of md/0 and md/1 now.
--
Len Sorensen
Vladimir 'φ-coder/phcoder' Serbinenko
2012-03-08 23:37:17 UTC
Permalink
Post by Lennart Sorensen
So for some reason, it left out msdos partitin support, most likely
because it still doesn't clue in to the fact that md/0 and md/1 are on
sd[abc]1 and sd[abc]2 respectively.
2 and 3 actually. But if it didn't notice this it wouldn't be able to
read them in the first place.
I couldn't replicate it on my newly-installed debian squeeze since for
some strange reason I can't launch kpartx (and /dev/mapper is missing)
Post by Lennart Sorensen
/usr/sbin/grub-probe --device-map= --target=abstraction --device /dev/md0
still fails.
Couldn't reproduce it. Can you check that you don't have any changes in
your tree compared with HEAD?
Post by Lennart Sorensen
But it does seem able to find the filesystem of md/0 and md/1 now.
--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
Lennart Sorensen
2012-03-09 14:53:41 UTC
Permalink
Post by Vladimir 'φ-coder/phcoder' Serbinenko
2 and 3 actually. But if it didn't notice this it wouldn't be able
to read them in the first place.
Oh yeah partition 1 is PReP boot.
Post by Vladimir 'φ-coder/phcoder' Serbinenko
I couldn't replicate it on my newly-installed debian squeeze since
for some strange reason I can't launch kpartx (and /dev/mapper is
missing)
Couldn't reproduce it. Can you check that you don't have any changes
in your tree compared with HEAD?
Well what I did was:

cd grub
bzr pull
cd ..
cp grub grub2-1.99+20120308
cp -a debian grub2-1.99+20120308/
cd grub2-1.99+20120308
edit debian/changelog for new date stamp
dpkg-buildpackage -us -uc -b

I only have a few of Debian's patches enabled, none of which touch the
source code, only the grub-mkconfig and /etc/grub.d/ files.

So yes it has to have been clean.

It compiles without warnings though, which is nice.
--
Len Sorensen
Vladimir 'φ-coder/phcoder' Serbinenko
2012-03-09 00:11:01 UTC
Permalink
Post by Lennart Sorensen
/usr/sbin/grub-probe --device-map= --target=abstraction --device /dev/md0
still fails.
Do you have a verbose log?
--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
Lennart Sorensen
2012-03-09 15:39:07 UTC
Permalink
Post by Vladimir 'φ-coder/phcoder' Serbinenko
Post by Lennart Sorensen
/usr/sbin/grub-probe --device-map= --target=abstraction --device /dev/md0
still fails.
Do you have a verbose log?
I think this would count as one:

# /usr/sbin/grub-probe --device-map= --target=abstraction --device /dev/md0 --verbose
/usr/sbin/grub-probe: info: no device.map.
/usr/sbin/grub-probe: info: changing current directory to /dev.
/usr/sbin/grub-probe: info: changing current directory to net.
/usr/sbin/grub-probe: info: changing current directory to shm.
/usr/sbin/grub-probe: info: changing current directory to md.
/usr/sbin/grub-probe: info: changing current directory to disk.
/usr/sbin/grub-probe: info: changing current directory to by-label.
/usr/sbin/grub-probe: info: changing current directory to by-uuid.
/usr/sbin/grub-probe: info: changing current directory to by-id.
/usr/sbin/grub-probe: info: changing current directory to by-path.
/usr/sbin/grub-probe: info: changing current directory to block.
/usr/sbin/grub-probe: info: changing current directory to /dev.
/usr/sbin/grub-probe: info: changing current directory to net.
/usr/sbin/grub-probe: info: changing current directory to shm.
/usr/sbin/grub-probe: info: changing current directory to md.
/usr/sbin/grub-probe: info: changing current directory to disk.
/usr/sbin/grub-probe: info: changing current directory to by-label.
/usr/sbin/grub-probe: info: changing current directory to by-uuid.
/usr/sbin/grub-probe: info: changing current directory to by-id.
/usr/sbin/grub-probe: info: changing current directory to by-path.
/usr/sbin/grub-probe: info: changing current directory to block.
/usr/sbin/grub-probe: info: changing current directory to /dev.
/usr/sbin/grub-probe: info: Looking for /dev/sda2.
/usr/sbin/grub-probe: info: /dev/sda2 starts from 16384.
/usr/sbin/grub-probe: info: opening the device hostdisk//dev/sda.
/usr/sbin/grub-probe: info: the size of hostdisk//dev/sda is 286748000.
/usr/sbin/grub-probe: info: the size of hostdisk//dev/sda is 286748000.
/usr/sbin/grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sda.
/usr/sbin/grub-probe: info: no LVM signature found.
/usr/sbin/grub-probe: info: scanning hostdisk//dev/sda for LDM.
/usr/sbin/grub-probe: info: no LDM signature found.
/usr/sbin/grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sda.
/usr/sbin/grub-probe: info: no LVM signature found.
/usr/sbin/grub-probe: info: scanning hostdisk//dev/sda for LDM.
/usr/sbin/grub-probe: info: no LDM signature found.
/usr/sbin/grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sda.
/usr/sbin/grub-probe: info: no LVM signature found.
/usr/sbin/grub-probe: info: Found array md/0.
/usr/sbin/grub-probe: info: Inserting hostdisk//dev/sda into md/0 (mdraid1x)
.
/usr/sbin/grub-probe: info: the size of hostdisk//dev/sda is 286748000.
/usr/sbin/grub-probe: info: Scanning for DISKFILTER devices on disk md/0.
/usr/sbin/grub-probe: info: no LVM signature found.
/usr/sbin/grub-probe: info: scanning md/0 for LDM.
/usr/sbin/grub-probe: info: no LDM signature found.
/usr/sbin/grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sda.
/usr/sbin/grub-probe: info: no LVM signature found.
/usr/sbin/grub-probe: info: Found array md/1.
/usr/sbin/grub-probe: info: Inserting hostdisk//dev/sda into md/1 (mdraid1x)
.
/usr/sbin/grub-probe: info: the size of hostdisk//dev/sda is 286748000.
/usr/sbin/grub-probe: info: Partition 0 starts from 2048.
/usr/sbin/grub-probe: info: Partition 1 starts from 16384.
/usr/sbin/grub-probe: info: Looking for /dev/sdb2.
/usr/sbin/grub-probe: info: /dev/sdb2 starts from 16384.
/usr/sbin/grub-probe: info: opening the device hostdisk//dev/sdb.
/usr/sbin/grub-probe: info: the size of hostdisk//dev/sdb is 286748000.
/usr/sbin/grub-probe: info: the size of hostdisk//dev/sdb is 286748000.
/usr/sbin/grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sdb.
/usr/sbin/grub-probe: info: no LVM signature found.
/usr/sbin/grub-probe: info: scanning hostdisk//dev/sdb for LDM.
/usr/sbin/grub-probe: info: no LDM signature found.
/usr/sbin/grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sdb.
/usr/sbin/grub-probe: info: no LVM signature found.
/usr/sbin/grub-probe: info: scanning hostdisk//dev/sdb for LDM.
/usr/sbin/grub-probe: info: no LDM signature found.
/usr/sbin/grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sdb.
/usr/sbin/grub-probe: info: no LVM signature found.
/usr/sbin/grub-probe: info: Inserting hostdisk//dev/sdb into md/0 (mdraid1x)
.
/usr/sbin/grub-probe: info: the size of hostdisk//dev/sdb is 286748000.
/usr/sbin/grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sdb.
/usr/sbin/grub-probe: info: no LVM signature found.
/usr/sbin/grub-probe: info: Inserting hostdisk//dev/sdb into md/1 (mdraid1x)
.
/usr/sbin/grub-probe: info: the size of hostdisk//dev/sdb is 286748000.
/usr/sbin/grub-probe: info: Partition 0 starts from 2048.
/usr/sbin/grub-probe: info: Partition 1 starts from 16384.
/usr/sbin/grub-probe: info: Looking for /dev/sdd2.
/usr/sbin/grub-probe: info: /dev/sdd2 starts from 16384.
/usr/sbin/grub-probe: info: opening the device hostdisk//dev/sdd.
/usr/sbin/grub-probe: info: the size of hostdisk//dev/sdd is 286748000.
/usr/sbin/grub-probe: info: the size of hostdisk//dev/sdd is 286748000.
/usr/sbin/grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sdd.
/usr/sbin/grub-probe: info: no LVM signature found.
/usr/sbin/grub-probe: info: scanning hostdisk//dev/sdd for LDM.
/usr/sbin/grub-probe: info: no LDM signature found.
/usr/sbin/grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sdd.
/usr/sbin/grub-probe: info: no LVM signature found.
/usr/sbin/grub-probe: info: scanning hostdisk//dev/sdd for LDM.
/usr/sbin/grub-probe: info: no LDM signature found.
/usr/sbin/grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sdd.
/usr/sbin/grub-probe: info: no LVM signature found.
/usr/sbin/grub-probe: info: scanning hostdisk//dev/sdd for LDM.
/usr/sbin/grub-probe: info: no LDM signature found.
/usr/sbin/grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sdd.
/usr/sbin/grub-probe: info: no LVM signature found.
/usr/sbin/grub-probe: info: scanning hostdisk//dev/sdd for LDM.
/usr/sbin/grub-probe: info: no LDM signature found.
/usr/sbin/grub-probe: info: Partition 0 starts from 2048.
/usr/sbin/grub-probe: info: Partition 1 starts from 16384.
/usr/sbin/grub-probe: info: changing current directory to /dev.
/usr/sbin/grub-probe: info: changing current directory to net.
/usr/sbin/grub-probe: info: changing current directory to shm.
/usr/sbin/grub-probe: info: changing current directory to md.
/usr/sbin/grub-probe: info: changing current directory to disk.
/usr/sbin/grub-probe: info: changing current directory to by-label.
/usr/sbin/grub-probe: info: changing current directory to by-uuid.
/usr/sbin/grub-probe: info: changing current directory to by-id.
/usr/sbin/grub-probe: info: changing current directory to by-path.
/usr/sbin/grub-probe: info: changing current directory to block.
/usr/sbin/grub-probe: info: changing current directory to /dev.
/usr/sbin/grub-probe: info: changing current directory to net.
/usr/sbin/grub-probe: info: changing current directory to shm.
/usr/sbin/grub-probe: info: changing current directory to md.
/usr/sbin/grub-probe: info: changing current directory to disk.
/usr/sbin/grub-probe: info: changing current directory to by-label.
/usr/sbin/grub-probe: info: changing current directory to by-uuid.
/usr/sbin/grub-probe: info: changing current directory to by-id.
/usr/sbin/grub-probe: info: changing current directory to by-path.
/usr/sbin/grub-probe: info: changing current directory to block.
/usr/sbin/grub-probe: info: changing current directory to /dev.
/usr/sbin/grub-probe: info: Looking for /dev/sda2.
/usr/sbin/grub-probe: info: /dev/sda2 starts from 16384.
/usr/sbin/grub-probe: info: opening the device hostdisk//dev/sda.
/usr/sbin/grub-probe: info: the size of hostdisk//dev/sda is 286748000.
/usr/sbin/grub-probe: info: the size of hostdisk//dev/sda is 286748000.
/usr/sbin/grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sda.
/usr/sbin/grub-probe: info: no LVM signature found.
/usr/sbin/grub-probe: info: scanning hostdisk//dev/sda for LDM.
/usr/sbin/grub-probe: info: no LDM signature found.
/usr/sbin/grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sda.
/usr/sbin/grub-probe: info: no LVM signature found.
/usr/sbin/grub-probe: info: scanning hostdisk//dev/sda for LDM.
/usr/sbin/grub-probe: info: no LDM signature found.
/usr/sbin/grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sda.
/usr/sbin/grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sda.
/usr/sbin/grub-probe: info: Partition 0 starts from 2048.
/usr/sbin/grub-probe: info: Partition 1 starts from 16384.
/usr/sbin/grub-probe: info: Looking for /dev/sdb2.
/usr/sbin/grub-probe: info: /dev/sdb2 starts from 16384.
/usr/sbin/grub-probe: info: opening the device hostdisk//dev/sdb.
/usr/sbin/grub-probe: info: the size of hostdisk//dev/sdb is 286748000.
/usr/sbin/grub-probe: info: the size of hostdisk//dev/sdb is 286748000.
/usr/sbin/grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sdb.
/usr/sbin/grub-probe: info: no LVM signature found.
/usr/sbin/grub-probe: info: scanning hostdisk//dev/sdb for LDM.
/usr/sbin/grub-probe: info: no LDM signature found.
/usr/sbin/grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sdb.
/usr/sbin/grub-probe: info: no LVM signature found.
/usr/sbin/grub-probe: info: scanning hostdisk//dev/sdb for LDM.
/usr/sbin/grub-probe: info: no LDM signature found.
/usr/sbin/grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sdb.
/usr/sbin/grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sdb.
/usr/sbin/grub-probe: info: Partition 0 starts from 2048.
/usr/sbin/grub-probe: info: Partition 1 starts from 16384.
/usr/sbin/grub-probe: info: Looking for /dev/sdd2.
/usr/sbin/grub-probe: info: /dev/sdd2 starts from 16384.
/usr/sbin/grub-probe: info: opening the device hostdisk//dev/sdd.
/usr/sbin/grub-probe: info: the size of hostdisk//dev/sdd is 286748000.
/usr/sbin/grub-probe: info: the size of hostdisk//dev/sdd is 286748000.
/usr/sbin/grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sdd.
/usr/sbin/grub-probe: info: no LVM signature found.
/usr/sbin/grub-probe: info: scanning hostdisk//dev/sdd for LDM.
/usr/sbin/grub-probe: info: no LDM signature found.
/usr/sbin/grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sdd.
/usr/sbin/grub-probe: info: no LVM signature found.
/usr/sbin/grub-probe: info: scanning hostdisk//dev/sdd for LDM.
/usr/sbin/grub-probe: info: no LDM signature found.
/usr/sbin/grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sdd.
/usr/sbin/grub-probe: info: no LVM signature found.
/usr/sbin/grub-probe: info: scanning hostdisk//dev/sdd for LDM.
/usr/sbin/grub-probe: info: no LDM signature found.
/usr/sbin/grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sdd.
/usr/sbin/grub-probe: info: no LVM signature found.
/usr/sbin/grub-probe: info: scanning hostdisk//dev/sdd for LDM.
/usr/sbin/grub-probe: info: no LDM signature found.
/usr/sbin/grub-probe: info: Partition 0 starts from 2048.
/usr/sbin/grub-probe: info: Partition 1 starts from 16384.
/usr/sbin/grub-probe: info: opening mduuid/88d43dc82888fece34c1486f49caa398.
/usr/sbin/grub-probe: info: the size of hostdisk//dev/sda is 286748000.
/usr/sbin/grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sda.
/usr/sbin/grub-probe: info: no LVM signature found.
/usr/sbin/grub-probe: info: scanning hostdisk//dev/sda for LDM.
/usr/sbin/grub-probe: info: no LDM signature found.
/usr/sbin/grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sda.
/usr/sbin/grub-probe: info: no LVM signature found.
/usr/sbin/grub-probe: info: scanning hostdisk//dev/sda for LDM.
/usr/sbin/grub-probe: info: no LDM signature found.
/usr/sbin/grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sda.
/usr/sbin/grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sda.
/usr/sbin/grub-probe: info: the size of hostdisk//dev/sdb is 286748000.
/usr/sbin/grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sdb.
/usr/sbin/grub-probe: info: no LVM signature found.
/usr/sbin/grub-probe: info: scanning hostdisk//dev/sdb for LDM.
/usr/sbin/grub-probe: info: no LDM signature found.
/usr/sbin/grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sdb.
/usr/sbin/grub-probe: info: no LVM signature found.
/usr/sbin/grub-probe: info: scanning hostdisk//dev/sdb for LDM.
/usr/sbin/grub-probe: info: no LDM signature found.
/usr/sbin/grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sdb.
/usr/sbin/grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sdb.
/usr/sbin/grub-probe: info: the size of hostdisk//dev/sdd is 286748000.
/usr/sbin/grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sdd.
/usr/sbin/grub-probe: info: no LVM signature found.
/usr/sbin/grub-probe: info: scanning hostdisk//dev/sdd for LDM.
/usr/sbin/grub-probe: info: no LDM signature found.
/usr/sbin/grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sdd.
/usr/sbin/grub-probe: info: no LVM signature found.
/usr/sbin/grub-probe: info: scanning hostdisk//dev/sdd for LDM.
/usr/sbin/grub-probe: info: no LDM signature found.
/usr/sbin/grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sdd.
/usr/sbin/grub-probe: info: no LVM signature found.
/usr/sbin/grub-probe: info: scanning hostdisk//dev/sdd for LDM.
/usr/sbin/grub-probe: info: no LDM signature found.
/usr/sbin/grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sdd.
/usr/sbin/grub-probe: info: no LVM signature found.
/usr/sbin/grub-probe: info: scanning hostdisk//dev/sdd for LDM.
/usr/sbin/grub-probe: info: no LDM signature found.
/usr/sbin/grub-probe: info: Scanning for DISKFILTER devices on disk md/1.
/usr/sbin/grub-probe: info: no LVM signature found.
/usr/sbin/grub-probe: info: scanning md/1 for LDM.
/usr/sbin/grub-probe: info: no LDM signature found.
/usr/sbin/grub-probe: error: Couldn't find physical volume `(null)'. Check your device.map.
Lennart Sorensen
2012-03-09 15:43:42 UTC
Permalink
On Fri, Mar 09, 2012 at 10:39:07AM -0500, Lennart Sorensen wrote:
[snip]
Post by Lennart Sorensen
/usr/sbin/grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sdd.
/usr/sbin/grub-probe: info: no LVM signature found.
/usr/sbin/grub-probe: info: scanning hostdisk//dev/sdd for LDM.
/usr/sbin/grub-probe: info: no LDM signature found.
/usr/sbin/grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sdd.
/usr/sbin/grub-probe: info: no LVM signature found.
/usr/sbin/grub-probe: info: scanning hostdisk//dev/sdd for LDM.
/usr/sbin/grub-probe: info: no LDM signature found.
/usr/sbin/grub-probe: info: Scanning for DISKFILTER devices on disk md/1.
/usr/sbin/grub-probe: info: no LVM signature found.
/usr/sbin/grub-probe: info: scanning md/1 for LDM.
/usr/sbin/grub-probe: info: no LDM signature found.
/usr/sbin/grub-probe: error: Couldn't find physical volume `(null)'. Check your device.map.
I keep wondering why it says it adds sda and sdb to md/0 and md/1 but
never adds sdd to them. Why does it hate sdd?
--
Len Sorensen
Lennart Sorensen
2012-03-09 15:47:34 UTC
Permalink
Post by Lennart Sorensen
I keep wondering why it says it adds sda and sdb to md/0 and md/1 but
never adds sdd to them. Why does it hate sdd?
One slightly odd thing perhaps is that sda is device 0, sdb is device
1 and sdd is device 4 in the /dev/md1, but on the other hand in md/0,
they are 0, 1 and 2, so at least that has no excuse not to work.
--
Len Sorensen
Vladimir 'φ-coder/phcoder' Serbinenko
2012-03-09 15:48:55 UTC
Permalink
Post by Lennart Sorensen
[snip]
Post by Lennart Sorensen
/usr/sbin/grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sdd.
/usr/sbin/grub-probe: info: no LVM signature found.
/usr/sbin/grub-probe: info: scanning hostdisk//dev/sdd for LDM.
/usr/sbin/grub-probe: info: no LDM signature found.
/usr/sbin/grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sdd.
/usr/sbin/grub-probe: info: no LVM signature found.
/usr/sbin/grub-probe: info: scanning hostdisk//dev/sdd for LDM.
/usr/sbin/grub-probe: info: no LDM signature found.
/usr/sbin/grub-probe: info: Scanning for DISKFILTER devices on disk md/1.
/usr/sbin/grub-probe: info: no LVM signature found.
/usr/sbin/grub-probe: info: scanning md/1 for LDM.
/usr/sbin/grub-probe: info: no LDM signature found.
/usr/sbin/grub-probe: error: Couldn't find physical volume `(null)'. Check your device.map.
I keep wondering why it says it adds sda and sdb to md/0 and md/1 but
never adds sdd to them. Why does it hate sdd?
That's exactly the question. Can you send the raw dump of metadata block
on sdd partitions? (fdisk -lu output as well as first and last 64K of
partitions would do it)
--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
Vladimir 'φ-coder/phcoder' Serbinenko
2012-03-09 18:15:43 UTC
Permalink
Attached is the first 512bytes of each disk (so partition table), and
the first 64k of each partition and I believe the last 64k of each
partition. The raid meta data appears to be in the first 64k of each
partition. I have spared the grub-devel list from getting those.
The thing is: raid_disks = 2 in your metadata. I don't know how this
could be correct or how you could land with such a config.
@md: The problem is following: Lennart has a raid 1 on 3 disks, however
raid_disks in sdd2 is 2 and dev_roles contains only [0, 1, -1, -1, ...],
dev_number is 0
sda2 and sdb2 contain proper raid_disks=3, dev_roles=[0,1,2,-1,-1,..]
and dev_number= 0 respectively 1. It looks to me as a seriously damaged
metadata but apparently mdadm has no problem
@Lennart: did you dd one disk to another or done something like this?

***@rceng03new:~# mdadm --detail /dev/md0
/dev/md0:
Version : 1.2
Creation Time : Wed Feb 8 14:39:24 2012
Raid Level : raid1
Array Size : 976884 (954.15 MiB 1000.33 MB)
Used Dev Size : 976884 (954.15 MiB 1000.33 MB)
Raid Devices : 3
Total Devices : 3
Persistence : Superblock is persistent

Update Time : Thu Mar 1 15:02:06 2012
State : clean
Active Devices : 3
Working Devices : 3
Failed Devices : 0
Spare Devices : 0

Name : rceng03new:0 (local to host rceng03new)
UUID : 88d43dc8:2888fece:34c1486f:49caa398
Events : 74

Number Major Minor RaidDevice State
0 8 2 0 active sync /dev/sda2
1 8 18 1 active sync /dev/sdb2
2 8 50 2 active sync /dev/sdd2
--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
Lennart Sorensen
2012-03-09 18:39:46 UTC
Permalink
Post by Vladimir 'φ-coder/phcoder' Serbinenko
The thing is: raid_disks = 2 in your metadata. I don't know how this
could be correct or how you could land with such a config.
@md: The problem is following: Lennart has a raid 1 on 3 disks, however
raid_disks in sdd2 is 2 and dev_roles contains only [0, 1, -1, -1, ...],
dev_number is 0
sda2 and sdb2 contain proper raid_disks=3, dev_roles=[0,1,2,-1,-1,..]
and dev_number= 0 respectively 1. It looks to me as a seriously damaged
metadata but apparently mdadm has no problem
@Lennart: did you dd one disk to another or done something like this?
No. I did 'dd if=/dev/sda of=/dev/sdd bs=512 count=1' to copy the
partition table, then I did 'hdparm -z /dev/sdd' to reread the partition
table. I then did 'mdadm --add /dev/md1 /dev/sdd3' to add the final
device to md1 so that it could get raid running fully (I created it with
2/3 devices in degraded mode). For md0 I added a third raid1 device
just to have all 3 disks able to serve as root even if a disk fails,
and to ensure I could boot no matter what disk failed.

For completeness sake I did actually add /dev/sdc which was an external
USB drive to the raid5 (/dev/md1) first, just to keep the raid safe
until the final internal drive arived. I then added /dev/sdd3, which
became a hot spare, and then marked sdc3 as faulty, which got the raid
to resync onto the new drive.
Post by Vladimir 'φ-coder/phcoder' Serbinenko
Version : 1.2
Creation Time : Wed Feb 8 14:39:24 2012
Raid Level : raid1
Array Size : 976884 (954.15 MiB 1000.33 MB)
Used Dev Size : 976884 (954.15 MiB 1000.33 MB)
Raid Devices : 3
Total Devices : 3
Persistence : Superblock is persistent
Update Time : Thu Mar 1 15:02:06 2012
State : clean
Active Devices : 3
Working Devices : 3
Failed Devices : 0
Spare Devices : 0
Name : rceng03new:0 (local to host rceng03new)
UUID : 88d43dc8:2888fece:34c1486f:49caa398
Events : 74
Number Major Minor RaidDevice State
0 8 2 0 active sync /dev/sda2
1 8 18 1 active sync /dev/sdb2
2 8 50 2 active sync /dev/sdd2
--
Len Sorensen
Lennart Sorensen
2012-03-09 20:37:57 UTC
Permalink
Post by Lennart Sorensen
No. I did 'dd if=/dev/sda of=/dev/sdd bs=512 count=1' to copy the
partition table, then I did 'hdparm -z /dev/sdd' to reread the partition
table. I then did 'mdadm --add /dev/md1 /dev/sdd3' to add the final
device to md1 so that it could get raid running fully (I created it with
2/3 devices in degraded mode). For md0 I added a third raid1 device
just to have all 3 disks able to serve as root even if a disk fails,
and to ensure I could boot no matter what disk failed.
For completeness sake I did actually add /dev/sdc which was an external
USB drive to the raid5 (/dev/md1) first, just to keep the raid safe
until the final internal drive arived. I then added /dev/sdd3, which
became a hot spare, and then marked sdc3 as faulty, which got the raid
to resync onto the new drive.
Interestingly after poking at reading all the disks and poking mdadm
--examine and --detail, now grub-prob likes md1, but still dislikes md0.

***@rceng03new:/tmp# /usr/sbin/grub-probe --device-map= --target=abstraction --device /dev/md1
diskfilter mdraid1x raid5rec
***@rceng03new:/tmp# /usr/sbin/grub-probe --device-map= --target=abstraction --device /dev/md0
/usr/sbin/grub-probe: error: Couldn't find physical volume `(null)'. Check your device.map.

md1 was failing before with the same grub code.

I don't get it. I wonder if there is any known issues in 2.6.32 kernel
and/or mdadm - v3.1.4 - 31st August 2010
--
Len Sorensen
Lennart Sorensen
2012-03-19 21:28:50 UTC
Permalink
Post by Lennart Sorensen
Interestingly after poking at reading all the disks and poking mdadm
--examine and --detail, now grub-prob likes md1, but still dislikes md0.
diskfilter mdraid1x raid5rec
/usr/sbin/grub-probe: error: Couldn't find physical volume `(null)'. Check your device.map.
md1 was failing before with the same grub code.
I don't get it. I wonder if there is any known issues in 2.6.32 kernel
and/or mdadm - v3.1.4 - 31st August 2010
Any suggestion for how to try and debug this myself, like which
file/function to start debuging at? I would like to put this machine
in to production use soon, but I would also like to take this chance to
fix the bug in grub first.
--
Len Sorensen
Vladimir 'φ-coder/phcoder' Serbinenko
2012-03-20 10:28:18 UTC
Permalink
Post by Lennart Sorensen
Post by Lennart Sorensen
Interestingly after poking at reading all the disks and poking mdadm
--examine and --detail, now grub-prob likes md1, but still dislikes md0.
diskfilter mdraid1x raid5rec
/usr/sbin/grub-probe: error: Couldn't find physical volume `(null)'. Check your device.map.
md1 was failing before with the same grub code.
I don't get it. I wonder if there is any known issues in 2.6.32 kernel
and/or mdadm - v3.1.4 - 31st August 2010
Any suggestion for how to try and debug this myself, like which
file/function to start debuging at? I would like to put this machine
in to production use soon, but I would also like to take this chance to
fix the bug in grub first.
There is no need to debug. I know exactly why GRUB is confused: because
as far as my understanding goes the superblock makes no sense (details
in previous mail). What we need is that someone familiar with md tells
me how this sector should be interpreted.
--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
Lennart Sorensen
2012-03-20 19:02:35 UTC
Permalink
because as far as my understanding goes the superblock makes no
sense (details in previous mail). What we need is that someone
familiar with md tells me how this sector should be interpreted.
This is just weird.

I run grub-probe and sometimes it works and sometimes it doesn't.

Something is giving inconsistent results. I don't know if it is a
problem in 2.6.32 kernel returning inconsistent data for the superblock,
or if grub isn't correctly initializing the superblock before filling it,
or if grub isn't actually reading the superblock properly.

Sometimes /dev/sdd2 isn't being recognized as a member of /dev/md0,
and other times it is.

By the way, the code in grub-install that tries to check if a PReP
partition is empty using 'cmp' doesn't work. It always fails.
The suggestion it gives doesn't help.

Forcing the partition to contain an elf header makes grub-install happy,
but that's not so easy to do until you got grub already installed there.

Also a recent change to non powerpc ieee1275 in grub-install has broken
nvsetenv, since ofpath is no longer being set on powerpc. So boot-device
isn't set anymore. This worked a few weeks ago.
--
Len Sorensen
Vladimir 'φ-coder/phcoder' Serbinenko
2012-03-20 19:10:12 UTC
Permalink
Post by Lennart Sorensen
because as far as my understanding goes the superblock makes no
sense (details in previous mail). What we need is that someone
familiar with md tells me how this sector should be interpreted.
This is just weird.
I run grub-probe and sometimes it works and sometimes it doesn't.
Something is giving inconsistent results. I don't know if it is a
problem in 2.6.32 kernel returning inconsistent data for the superblock,
or if grub isn't correctly initializing the superblock before filling it,
or if grub isn't actually reading the superblock properly.
My conclusions are based on direct examination of the files you supplied
not GRUB output.
Post by Lennart Sorensen
Sometimes /dev/sdd2 isn't being recognized as a member of /dev/md0,
and other times it is.
By the way, the code in grub-install that tries to check if a PReP
partition is empty using 'cmp' doesn't work. It always fails.
The suggestion it gives doesn't help.
Forcing the partition to contain an elf header makes grub-install happy,
but that's not so easy to do until you got grub already installed there.
Also a recent change to non powerpc ieee1275 in grub-install has broken
nvsetenv, since ofpath is no longer being set on powerpc. So boot-device
isn't set anymore. This worked a few weeks ago.
The change in question isn't "non-powerpc", quite the opposite, it was
to fix the install on powerpc Mac. Just different vendors use different
boot methods.
Please try this:
=== modified file 'util/grub-install.in'
--- util/grub-install.in 2012-03-10 11:33:52 +0000
+++ util/grub-install.in 2012-03-20 19:08:57 +0000
@@ -764,6 +764,12 @@
echo " dd if=/dev/zero of=${install_device}"
exit 1
fi
+ ofpath="`$ofpathname "${install_device}"`" || {
+ # TRANSLATORS: "device tree path" is the name of the device
+ # for IEEE1275
+ gettext_printf "Couldn't find IEEE1275 device tree path for
%s.\nYou will have to set \`boot-device' variable manually.\n" "$dev" 1>&2
+ exit 1
+ }
fi

"$nvsetenv" boot-device "$boot_device" || {
--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
Lennart Sorensen
2012-03-20 19:13:02 UTC
Permalink
Post by Vladimir 'φ-coder/phcoder' Serbinenko
The change in question isn't "non-powerpc", quite the opposite, it
was to fix the install on powerpc Mac. Just different vendors use
different boot methods.
Yeah I should have said ibm powerpc.
Post by Vladimir 'φ-coder/phcoder' Serbinenko
=== modified file 'util/grub-install.in'
--- util/grub-install.in 2012-03-10 11:33:52 +0000
+++ util/grub-install.in 2012-03-20 19:08:57 +0000
@@ -764,6 +764,12 @@
echo " dd if=/dev/zero of=${install_device}"
exit 1
fi
+ ofpath="`$ofpathname "${install_device}"`" || {
+ # TRANSLATORS: "device tree path" is the name of the device
+ # for IEEE1275
+ gettext_printf "Couldn't find IEEE1275 device tree path for
%s.\nYou will have to set \`boot-device' variable manually.\n"
"$dev" 1>&2
+ exit 1
+ }
fi
"$nvsetenv" boot-device "$boot_device" || {
That looks like it will work.
--
Len Sorensen
Lennart Sorensen
2012-03-20 19:14:23 UTC
Permalink
Post by Vladimir 'φ-coder/phcoder' Serbinenko
My conclusions are based on direct examination of the files you
supplied not GRUB output.
Right. Which makes me think the kernel isn't returning consistent data.
That's scary.

I have managed to run the same grub-probe command and get it not work,
and then running it a minute later it works. That shouldn't be happening.
--
Len Sorensen
Lennart Sorensen
2012-03-20 19:41:38 UTC
Permalink
Post by Lennart Sorensen
Right. Which makes me think the kernel isn't returning consistent data.
That's scary.
I have managed to run the same grub-probe command and get it not work,
and then running it a minute later it works. That shouldn't be happening.
I rebooted with 3.2.9 and at boot I saw a message from mdraid about some
of the devices appearing to have the wrong state but actually being OK,
and it fixing it. Right now grub-probe has so far consistently worked
after rebooting with the new kernel.

Weird.
--
Len Sorensen
Lennart Sorensen
2012-03-20 19:11:51 UTC
Permalink
Post by Lennart Sorensen
This is just weird.
I run grub-probe and sometimes it works and sometimes it doesn't.
Something is giving inconsistent results. I don't know if it is a
problem in 2.6.32 kernel returning inconsistent data for the superblock,
or if grub isn't correctly initializing the superblock before filling it,
or if grub isn't actually reading the superblock properly.
Sometimes /dev/sdd2 isn't being recognized as a member of /dev/md0,
and other times it is.
Still no idea why this is happening.
Post by Lennart Sorensen
By the way, the code in grub-install that tries to check if a PReP
partition is empty using 'cmp' doesn't work. It always fails.
The suggestion it gives doesn't help.
Don't have a good fix for this yet.
Post by Lennart Sorensen
Forcing the partition to contain an elf header makes grub-install happy,
but that's not so easy to do until you got grub already installed there.
Also a recent change to non powerpc ieee1275 in grub-install has broken
nvsetenv, since ofpath is no longer being set on powerpc. So boot-device
isn't set anymore. This worked a few weeks ago.
This seems to fix the grub-install problem:

***@rceng03new:~/grub2-1.99+20120320# diff -u /root/grub/util/grub-install.in ./util/grub-install.in
--- /root/grub/util/grub-install.in 2012-03-20 12:12:51.276823000 -0400
+++ ./util/grub-install.in 2012-03-20 15:09:20.790385732 -0400
@@ -744,6 +744,14 @@

# If a install device is defined, copy the core.elf to PReP partition.
else
+ dev="`echo $install_device | sed -e 's/\/dev\///' -e 's/[0-9]\+//'`"
+ partno="`echo $install_device | sed -e 's/.*[^0-9]\([0-9]\+\)$/\1/'`"
+ ofpath="`$ofpathname $dev`" || {
+ # TRANSLATORS: "device tree path" is the name of the device
+ # for IEEE1275
+ gettext_printf "Couldn't find IEEE1275 device tree path for %s.\nYou will have to set \`boot-device' variable manually.\n" "$dev" 1>&2
+ exit 1
+ }
if [ "$("${grub_probe}" -m "${device_map}" -d "${install_device}" -t msdos_parttype)" != "41" ]; then
gettext "The chosen partition is not a PReP partition." 1>&2
echo 1>&2


Somehow that piece ended up inside the if != ieee1275-powerpc section
(and modified to not work for the ibm powerpc way either).
--
Len Sorensen
Vladimir 'φ-coder/phcoder' Serbinenko
2012-03-09 00:24:47 UTC
Permalink
Post by Lennart Sorensen
/usr/sbin/grub-probe --device-map= --target=abstraction --device /dev/md0
still fails.
I've found one case when something like you describe can appear, on LVM
on RAID. Here is the patch but it's unlikely to help in your case.
=== modified file 'grub-core/disk/diskfilter.c'
--- grub-core/disk/diskfilter.c 2012-03-04 00:33:09 +0000
+++ grub-core/disk/diskfilter.c 2012-03-09 00:23:08 +0000
@@ -260,6 +260,8 @@
struct grub_diskfilter_pv *pv;
grub_disk_pull_t pull;
grub_disk_dev_t p;
+ struct grub_diskfilter_vg *vg;
+ struct grub_diskfilter_lv *lv2 = NULL;

if (!lv->vg->pvs)
return NULL;
@@ -278,6 +280,19 @@
pv = pv->next;
}

+ for (vg = array_list; pv && vg; vg = vg->next)
+ {
+ if (vg->lvs)
+ for (lv2 = vg->lvs; pv && lv2; lv2 = lv2->next)
+ if (!lv2->scanned && lv2->fullname && lv2->became_readable_at)
+ {
+ scan_disk (lv2->fullname);
+ lv2->scanned = 1;
+ while (pv && pv->disk)
+ pv = pv->next;
+ }
+ }
+
for (pv = lv->vg->pvs; pv; pv = pv->next)
{
if (!pv->disk)
--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
Continue reading on narkive:
Loading...