grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

help need for powerpc issue


From: rubisher
Subject: help need for powerpc issue
Date: Wed, 04 Nov 2009 20:47:39 +0000
User-agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090701)

Hello all,

Is some off you could advise me at some starting point to investigate this 
issue encountered to boot a lpar.
(I just take the opportunity to still have access to such platform to help 
comunity)


Bean wrote:
On Sun, Oct 25, 2009 at 11:22 PM, rubisher <address@hidden> wrote:
[snip]

Hi,

You shouldn't need scsi, which is used by ata module to access pci
bus, but openfirmware would export the boot disk for you.

Use these command:

set debug=disk
ls

This should print some debug information in grub console.

I try to do my best to clean up as much as possible info collected:

Elapsed time since release of system processors: 149810 mins 22 secs
Welcome to GRUB!

Entering rescue mode...

<<< I first noticed that grub fallback immidiately in rescue mode?

                            GNU GRUB  version 1.97+experimental

cursor-on, unknown word [ Minimal BASH-like line editing is supported. For the 
first word, TAB
   lists possible command completions. Anywhere else TAB lists possible
   device/file completions. ]

cursor-off, unknown word

<<< Well I already sent a proposal to fix annoying this "cursor-off, unknown 
word"

                            GNU GRUB  version 1.97+experimental

sh:grub> ls
SRCTREE/kern/disk.c:245: Opening `/vdevice/address@hidden/address@hidden,1'...
SRCTREE/disk/ieee1275/ofdisk.c:173: Opening 
`/vdevice/address@hidden/address@hidden:0'.
SRCTREE/disk/ieee1275/ofdisk.c:183: Opened 
`/vdevice/address@hidden/address@hidden:0' as handle 0x19ff180.
SRCTREE/kern/disk.c:389: Reading `/vdevice/address@hidden/address@hidden,1'...
SRCTREE/disk/ieee1275/ofdisk.c:239: Reading handle 0x19ff180: sector 0x0, size 
0x8, buf 0x3a2640.
SRCTREE/kern/disk.c:389: Reading `/vdevice/address@hidden/address@hidden,1'...
SRCTREE/disk/ieee1275/ofdisk.c:239: Reading handle 0x19ff180: sector 0x20, size 
0x8, buf 0x1c0dbd0.
SRCTREE/kern/disk.c:389: Reading `/vdevice/address@hidden/address@hidden,1'...
SRCTREE/kern/disk.c:389: Reading `/vdevice/address@hidden/address@hidden,1'...
SRCTREE/disk/ieee1275/ofdisk.c:239: Reading handle 0x19ff180: sector 0x188, 
size 0x8, buf 0x1c26980.
SRCTREE/kern/disk.c:389: Reading `/vdevice/address@hidden/address@hidden,1'...
[snip]
SRCTREE/kern/disk.c:389: Reading `/vdevice/address@hidden/address@hidden,1'...
SRCTREE/disk/ieee1275/ofdisk.c:239: Reading handle 0x19ff180: sector 0x190, 
size 0x8, buf 0x1c0dc30.
SRCTREE/kern/disk.c:389: Reading `/vdevice/address@hidden/address@hidden,1'...
[snip]
SRCTREE/kern/disk.c:389: Reading `/vdevice/address@hidden/address@hidden,1'...
SRCTREE/disk/ieee1275/ofdisk.c:239: Reading handle 0x19ff180: sector 0x458, 
size 0x8, buf 0x1c09940.
SRCTREE/kern/disk.c:389: Reading `/vdevice/address@hidden/address@hidden,1'...
[snip]
SRCTREE/kern/disk.c:389: Reading `/vdevice/address@hidden/address@hidden,1'...
SRCTREE/disk/ieee1275/ofdisk.c:239: Reading handle 0x19ff180: sector 0x460, 
size 0x8, buf 0x1c09940.
SRCTREE/kern/disk.c:389: Reading `/vdevice/address@hidden/address@hidden,1'...
[snip]
SRCTREE/kern/disk.c:389: Reading `/vdevice/address@hidden/address@hidden,1'...
SRCTREE/disk/ieee1275/ofdisk.c:239: Reading handle 0x19ff180: sector 0x468, 
size 0x8, buf 0x1c09940.
SRCTREE/kern/disk.c:333: Closing `/vdevice/address@hidden/address@hidden,1'.
SRCTREE/disk/ieee1275/ofdisk.c:226: Closing handle 0x19ff180.
SRCTREE/kern/disk.c:245: Opening `/vdevice/address@hidden/address@hidden,1'...
SRCTREE/disk/ieee1275/ofdisk.c:173: Opening 
`/vdevice/address@hidden/address@hidden:0'.
SRCTREE/disk/ieee1275/ofdisk.c:183: Opened 
`/vdevice/address@hidden/address@hidden:0' as handle 0x19ff180.
SRCTREE/kern/disk.c:389: Reading `/vdevice/address@hidden/address@hidden,1'...
SRCTREE/disk/ieee1275/ofdisk.c:239: Reading handle 0x19ff180: sector 0x0, size 
0x8, buf 0x1c26980.
SRCTREE/kern/disk.c:389: Reading `/vdevice/address@hidden/address@hidden,1'...
SRCTREE/disk/ieee1275/ofdisk.c:239: Reading handle 0x19ff180: sector 0x20, size 
0x8, buf 0x1c06910.
SRCTREE/kern/disk.c:389: Reading `/vdevice/address@hidden/address@hidden,1'...
SRCTREE/kern/disk.c:389: Reading `/vdevice/address@hidden/address@hidden,1'...
SRCTREE/disk/ieee1275/ofdisk.c:239: Reading handle 0x19ff180: sector 0x188, 
size 0x8, buf 0x1c048f0.
SRCTREE/kern/disk.c:389: Reading `/vdevice/address@hidden/address@hidden,1'...
[snip]
SRCTREE/kern/disk.c:389: Reading `/vdevice/address@hidden/address@hidden,1'...
SRCTREE/disk/ieee1275/ofdisk.c:239: Reading handle 0x19ff180: sector 0x190, 
size 0x8, buf 0x1c26980.
SRCTREE/kern/disk.c:389: Reading `/vdevice/address@hidden/address@hidden,1'...
[snip]
SRCTREE/kern/disk.c:389: Reading `/vdevice/address@hidden/address@hidden,1'...
SRCTREE/disk/ieee1275/ofdisk.c:239: Reading handle 0x19ff180: sector 0x2c8, 
size 0x8, buf 0x1c26980.
SRCTREE/kern/disk.c:389: Reading `/vdevice/address@hidden/address@hidden,1'...
[snip]
SRCTREE/kern/disk.c:389: Reading `/vdevice/address@hidden/address@hidden,1'...
SRCTREE/disk/ieee1275/ofdisk.c:239: Reading handle 0x19ff180: sector 0x2d0, 
size 0x8, buf 0x1c26980.
SRCTREE/kern/disk.c:389: Reading `/vdevice/address@hidden/address@hidden,1'...
[snip]
SRCTREE/kern/disk.c:389: Reading `/vdevice/address@hidden/address@hidden,1'...
SRCTREE/disk/ieee1275/ofdisk.c:239: Reading handle 0x19ff180: sector 0x2d8, 
size 0x8, buf 0x1c26980.
SRCTREE/kern/disk.c:333: Closing `/vdevice/address@hidden/address@hidden,1'.
SRCTREE/disk/ieee1275/ofdisk.c:226: Closing handle 0x19ff180.
SRCTREE/disk/ieee1275/ofdisk.c:82: disk name = ibm, sp
SRCTREE/disk/ieee1275/ofdisk.c:82: disk name = network
SRCTREE/disk/ieee1275/ofdisk.c:82: disk name = net
SRCTREE/disk/ieee1275/ofdisk.c:82: disk name = network1
SRCTREE/disk/ieee1275/ofdisk.c:82: disk name = scsi
SRCTREE/disk/ieee1275/ofdisk.c:82: disk name = nvram
SRCTREE/disk/ieee1275/ofdisk.c:82: disk name = rtc
SRCTREE/disk/ieee1275/ofdisk.c:82: disk name = screen

rem: `/vdevice/address@hidden/address@hidden,1' this is well the string put in 
nvram
(I try also to rm ',1' at the end but that doesn't help?)

That said, on my ibm p5 (I haven't access to any other system booting with 
different ofs), I have to install grub on a
dedicated fs (as far as I understand, I can choose between hfs and fat, here I 
select fat) as follow:

(p5_sid)address@hidden:~# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sdb6              2015808   1986772     29036  99% /
/dev/sdb3               247919    161597     86322  66% /boot
/dev/sdb1                23337     21302      2035  92% /boot/grub
[snip]

I copied my vmlinux and it's related initrd files in /boot/grub and use a 
simplified grub.cfg:
set timeout=5

menuentry "Debian GNU/Linux, with Linux 2.6.30-2-powerpc64" {
        linux   /vmlinux-2.6.30-2-powerpc64 
root=UUID=3c51c43e-63a7-4ff1-9b1c-cf98addcb7ed ro sysrq=1 insmod=sym53c8xx
insmod=ipr quiet
        initrd  /initrd.img-2.6.30-2-powerpc64
}

Ok, it always fall in rescue mode but shows me well a single line menu "Debian 
GNU/Linux, with Linux 2.6.30-2-powerpc64" and
then my debian installation boot well ;<)
That's a bit like with grub legacy on my i386 where grub stand in the same fs 
as boot but in a subdir

but that's just a tips and not what we want to do?
(afaik my reading told of max size of about 24Mb for /boot/grub fs, so it 
wouldn't be able to contains a lot of kernel)

Thanks in advance for additional feedback,
        J.

PS: those latest test was made with latest debian pkg src of 
grub2_1.97+experimental.20091026-1.dsc without optimization (-O0)






reply via email to

[Prev in Thread] Current Thread [Next in Thread]