All of lore.kernel.org
 help / color / mirror / Atom feed
From: rubisher <rubisher@scarlet.be>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: powerpc/sparc problems
Date: Mon, 26 Oct 2009 21:06:02 +0000	[thread overview]
Message-ID: <4AE60F3A.5080902@scarlet.be> (raw)
In-Reply-To: <ca0f59980910250857k3ee8da2bw8a2f9cf5a08cfc68@mail.gmail.com>

Bean wrote:
> On Sun, Oct 25, 2009 at 11:22 PM, rubisher <rubisher@scarlet.be> 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

<<< I don't know yet what those 'cursor-on/off, unknown word' means?

                             GNU GRUB  version 1.97+experimental

sh:grub> ls
SRCTREE/kern/disk.c:245: Opening `/vdevice/v-scsi@30000016/disk@8100000000000000,1'...
SRCTREE/disk/ieee1275/ofdisk.c:173: Opening `/vdevice/v-scsi@30000016/disk@8100000000000000:0'.
SRCTREE/disk/ieee1275/ofdisk.c:183: Opened `/vdevice/v-scsi@30000016/disk@8100000000000000:0' as handle 0x19ff180.
SRCTREE/kern/disk.c:389: Reading `/vdevice/v-scsi@30000016/disk@8100000000000000,1'...
SRCTREE/disk/ieee1275/ofdisk.c:239: Reading handle 0x19ff180: sector 0x0, size 0x8, buf 0x3a2640.
SRCTREE/kern/disk.c:389: Reading `/vdevice/v-scsi@30000016/disk@8100000000000000,1'...
SRCTREE/disk/ieee1275/ofdisk.c:239: Reading handle 0x19ff180: sector 0x20, size 0x8, buf 0x1c0dbd0.
SRCTREE/kern/disk.c:389: Reading `/vdevice/v-scsi@30000016/disk@8100000000000000,1'...
SRCTREE/kern/disk.c:389: Reading `/vdevice/v-scsi@30000016/disk@8100000000000000,1'...
SRCTREE/disk/ieee1275/ofdisk.c:239: Reading handle 0x19ff180: sector 0x188, size 0x8, buf 0x1c26980.
SRCTREE/kern/disk.c:389: Reading `/vdevice/v-scsi@30000016/disk@8100000000000000,1'...
[snip]
SRCTREE/kern/disk.c:389: Reading `/vdevice/v-scsi@30000016/disk@8100000000000000,1'...
SRCTREE/disk/ieee1275/ofdisk.c:239: Reading handle 0x19ff180: sector 0x190, size 0x8, buf 0x1c0dc30.
SRCTREE/kern/disk.c:389: Reading `/vdevice/v-scsi@30000016/disk@8100000000000000,1'...
[snip]
SRCTREE/kern/disk.c:389: Reading `/vdevice/v-scsi@30000016/disk@8100000000000000,1'...
SRCTREE/disk/ieee1275/ofdisk.c:239: Reading handle 0x19ff180: sector 0x458, size 0x8, buf 0x1c09940.
SRCTREE/kern/disk.c:389: Reading `/vdevice/v-scsi@30000016/disk@8100000000000000,1'...
[snip]
SRCTREE/kern/disk.c:389: Reading `/vdevice/v-scsi@30000016/disk@8100000000000000,1'...
SRCTREE/disk/ieee1275/ofdisk.c:239: Reading handle 0x19ff180: sector 0x460, size 0x8, buf 0x1c09940.
SRCTREE/kern/disk.c:389: Reading `/vdevice/v-scsi@30000016/disk@8100000000000000,1'...
[snip]
SRCTREE/kern/disk.c:389: Reading `/vdevice/v-scsi@30000016/disk@8100000000000000,1'...
SRCTREE/disk/ieee1275/ofdisk.c:239: Reading handle 0x19ff180: sector 0x468, size 0x8, buf 0x1c09940.
SRCTREE/kern/disk.c:333: Closing `/vdevice/v-scsi@30000016/disk@8100000000000000,1'.
SRCTREE/disk/ieee1275/ofdisk.c:226: Closing handle 0x19ff180.
SRCTREE/kern/disk.c:245: Opening `/vdevice/v-scsi@30000016/disk@8100000000000000,1'...
SRCTREE/disk/ieee1275/ofdisk.c:173: Opening `/vdevice/v-scsi@30000016/disk@8100000000000000:0'.
SRCTREE/disk/ieee1275/ofdisk.c:183: Opened `/vdevice/v-scsi@30000016/disk@8100000000000000:0' as handle 0x19ff180.
SRCTREE/kern/disk.c:389: Reading `/vdevice/v-scsi@30000016/disk@8100000000000000,1'...
SRCTREE/disk/ieee1275/ofdisk.c:239: Reading handle 0x19ff180: sector 0x0, size 0x8, buf 0x1c26980.
SRCTREE/kern/disk.c:389: Reading `/vdevice/v-scsi@30000016/disk@8100000000000000,1'...
SRCTREE/disk/ieee1275/ofdisk.c:239: Reading handle 0x19ff180: sector 0x20, size 0x8, buf 0x1c06910.
SRCTREE/kern/disk.c:389: Reading `/vdevice/v-scsi@30000016/disk@8100000000000000,1'...
SRCTREE/kern/disk.c:389: Reading `/vdevice/v-scsi@30000016/disk@8100000000000000,1'...
SRCTREE/disk/ieee1275/ofdisk.c:239: Reading handle 0x19ff180: sector 0x188, size 0x8, buf 0x1c048f0.
SRCTREE/kern/disk.c:389: Reading `/vdevice/v-scsi@30000016/disk@8100000000000000,1'...
[snip]
SRCTREE/kern/disk.c:389: Reading `/vdevice/v-scsi@30000016/disk@8100000000000000,1'...
SRCTREE/disk/ieee1275/ofdisk.c:239: Reading handle 0x19ff180: sector 0x190, size 0x8, buf 0x1c26980.
SRCTREE/kern/disk.c:389: Reading `/vdevice/v-scsi@30000016/disk@8100000000000000,1'...
[snip]
SRCTREE/kern/disk.c:389: Reading `/vdevice/v-scsi@30000016/disk@8100000000000000,1'...
SRCTREE/disk/ieee1275/ofdisk.c:239: Reading handle 0x19ff180: sector 0x2c8, size 0x8, buf 0x1c26980.
SRCTREE/kern/disk.c:389: Reading `/vdevice/v-scsi@30000016/disk@8100000000000000,1'...
[snip]
SRCTREE/kern/disk.c:389: Reading `/vdevice/v-scsi@30000016/disk@8100000000000000,1'...
SRCTREE/disk/ieee1275/ofdisk.c:239: Reading handle 0x19ff180: sector 0x2d0, size 0x8, buf 0x1c26980.
SRCTREE/kern/disk.c:389: Reading `/vdevice/v-scsi@30000016/disk@8100000000000000,1'...
[snip]
SRCTREE/kern/disk.c:389: Reading `/vdevice/v-scsi@30000016/disk@8100000000000000,1'...
SRCTREE/disk/ieee1275/ofdisk.c:239: Reading handle 0x19ff180: sector 0x2d8, size 0x8, buf 0x1c26980.
SRCTREE/kern/disk.c:333: Closing `/vdevice/v-scsi@30000016/disk@8100000000000000,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/v-scsi@30000016/disk@8100000000000000,1' this is well the string put in nvram
(I try also to rm ',1' at the end but that doesn't help?)

tia for further 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)root@p5tst001:~# 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	other threads:[~2009-10-26 21:06 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-22  9:12 powerpc/sparc problems rubisher
2009-10-22  9:31 ` Bean
2009-10-23 20:34   ` rubisher
2009-10-24  6:13     ` Bean
2009-10-25 15:22       ` rubisher
2009-10-25 15:57         ` Bean
2009-10-26 21:06           ` rubisher [this message]
2009-11-04 20:47           ` help need for powerpc issue rubisher
  -- strict thread matches above, loose matches on Subject: below --
2009-10-12  8:55 powerpc/sparc problems Felix Zielcke
2009-10-12  9:05 ` David Miller
2009-10-12  9:42   ` Felix Zielcke
2009-10-12  9:56   ` Vladimir 'phcoder' Serbinenko
2009-10-12 10:11     ` David Miller
2009-10-12 10:27     ` Felix Zielcke
2009-10-12  9:26 ` Vladimir 'phcoder' Serbinenko
2009-10-12  9:33 ` Felix Zielcke
2009-10-20 18:07   ` rubisher
2009-10-20 20:24     ` Vladimir 'phcoder' Serbinenko
2009-10-21 15:59       ` rubisher
2009-10-12  9:58 ` Bean
2009-10-12 10:14   ` David Miller
2009-10-12 10:26     ` Vladimir 'phcoder' Serbinenko
2009-10-12 10:28       ` David Miller
2009-10-12 15:29         ` Pavel Roskin
2009-10-12 15:45           ` Vladimir 'phcoder' Serbinenko
2009-10-12 22:03             ` Pavel Roskin
2009-10-12 23:39             ` David Miller
2009-10-15 11:58         ` Vladimir 'phcoder' Serbinenko
2009-10-15 22:41           ` Pavel Roskin
2009-10-16 12:44             ` David Miller
2009-10-16 14:10               ` Pavel Roskin
2009-10-17  1:21               ` Pavel Roskin
2009-10-17  9:08                 ` Vladimir 'phcoder' Serbinenko
2009-10-17 10:11                 ` Robert Millan
2009-10-12 10:31     ` Bean
2009-10-12 11:07       ` David Miller
2009-10-12 14:05         ` Bean
2009-10-14 16:37       ` Robert Millan
2009-10-21 16:03   ` rubisher
2009-10-21 20:15     ` Bean
2009-10-28 10:24 ` Felix Zielcke
2009-10-28 10:29   ` David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4AE60F3A.5080902@scarlet.be \
    --to=rubisher@scarlet.be \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.