From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1N24vj-0006NK-9m for mharc-grub-devel@gnu.org; Sun, 25 Oct 2009 11:22:51 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N24vh-0006N1-Va for grub-devel@gnu.org; Sun, 25 Oct 2009 11:22:50 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N24vd-0006L1-6X for grub-devel@gnu.org; Sun, 25 Oct 2009 11:22:49 -0400 Received: from [199.232.76.173] (port=55844 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N24vc-0006Kw-US for grub-devel@gnu.org; Sun, 25 Oct 2009 11:22:44 -0400 Received: from eir.is.scarlet.be ([193.74.71.27]:41878) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N24vc-0002Us-Ch for grub-devel@gnu.org; Sun, 25 Oct 2009 11:22:44 -0400 Received: from [213.49.126.182] (ip-213-49-126-182.dsl.scarlet.be [213.49.126.182]) (authenticated bits=0) by eir.is.scarlet.be (8.14.2/8.14.2) with ESMTP id n9PFMcHW018327; Sun, 25 Oct 2009 16:22:39 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=scarlet.be; s=scarlet; t=1256484160; bh=xY9g4UQccpxyHMmFAORLkcE4RKJDySsOJFPFSFHrgiA=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=0hB7AYFTlzTljqn3C4DLwTFG3hjv6KnzjcxR2g1NdKeIt+3oJ7r+tKyOgJhUsicw/ I0owOKdQXPBbaGQTOl3/svTYtlanTVJFrX+RmVNT3snryINo2tb6yJodq0iYGAszDv nUHmcG6bEnZAAml59opqYMFD+bk4iz1sqtIYxWr0= Message-ID: <4AE46D3E.8050700@scarlet.be> Date: Sun, 25 Oct 2009 15:22:38 +0000 From: rubisher User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090701) MIME-Version: 1.0 To: The development of GRUB 2 References: <4AE21358.60906@scarlet.be> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC-scarlet.be-Metrics: eir 20001; Body=2 Fuz1=2 Fuz2=2 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: powerpc/sparc problems X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Oct 2009 15:22:50 -0000 Bean wrote: > On Sat, Oct 24, 2009 at 4:34 AM, rubisher wrote: [snip] >> >> As it seems that you have some experience with powerpc, may be can you >> advise me with some your tips (how did you build your image, a sample of one >> your menuentry?): I also tried to follow recipe of >> i.e. >> # cd /usr/lib/grub/powerpc-ieee1275 (where *.mod stand) >> # /usr/bin/grub-mkelfimage -n --directory=/usr/lib/grub/powerpc-ieee1275 >> --output=/boot/grub/grubof.modules *.mod >> (-n for pseries) but this image sadely make panicing ofs: >> DEFAULT CATCH!, exception-handler=fff00300 >> at %SRR0: 0000000000c3c25c %SRR1: 800000000000b002 >> Call History >> ------------ >> @ - c3c1f0 >> close-package - c58060 >> (poplocals) - c3a758 >> (init-program) - c7e298 >> boot - c7ec7c >> evaluate - c4a638 >> invalid pointer - d83655 >> invalid pointer - f >> invalid pointer - f >> catch - c38fe8 >> bt-task-boot-on-this - d140d8 >> (poplocals) - c3a758 >> catch - c38fe8 >> execute-device-method - c58bcc >> (poplocals) - c3a758 >> (select-boot-seq) - c59ba4 >> >> Client's Fix Pt Regs: >> Client's Fix Pt Regs: >> 00 00100000000001f4 ffffffffffffffff 00000000deadbeef fffffffffffffffc >> 04 0000000000000000 0000000000000000 0000000000000000 0000000000000001 >> 08 0000000000001000 0000030002001000 0000000000000003 0000000000007000 >> 0c 0000000022800000 0000000000c17100 0000000000c18000 000000000009c4b0 >> 10 0000000000db8c20 0000000000db8939 0000000000c57d80 0000000000c58060 >> 14 0000000000000000 ffffffffffffffff 0000000000000000 0000000000000000 >> 18 0000000000c13000 0000000000c38000 0000000000c14d40 0000000000c16ec0 >> 1c 0000000000c20000 0000000000c3fdf0 0000000000c11ea0 0000000000c10fa8 >> Special Regs: >> %IV: 00000300 %CR: 84800000 %XER: 20000008 %DSISR: 08000000 >> %SRR0: 0000000000c3c25c %SRR1: 800000000000b002 >> %LR: 0000000000c3c1f0 %CTR: 0000000000000000 >> %DAR: ffffffffffffffff >> Virtual PID = 0 >> ofdbg >> >> At this point I am worry that the change of optimization compile option (-Os >> -> -O0) break something or am I facing to some issue related to my ofs or >> something else in config file (e.g. I just figure out that I didn't change >> my grub.cfg with the usage of lasetest describe image grubof.modules: I >> didn't remove the 'insmod ext2', thought?) > > Hi, > > Don't include all modules, the boot image seems to be broken when it > exceed certain size. The following list should be enough: > > minicmd fat part_msdos normal sh ls linux > > in the grub shell, use ls command to list detected devices. > Thanks; at least i didn't encountered anymore ofs panic but in grub rescue sheel 'ls' just return an empty line; I can just grab 'lsmod' info: sh:grub> lsmod Name Ref Count Dependencies linux 1 boot,elf elf 2 gzio gzio 3 ls 1 normal,extcmd extcmd 2 sh 1 normal normal 4 boot boot 6 part_msdos 1 fat 1 minicmd 1 but if I try to add another module (e.g. scsi or what else) it always respond: "error: invalid arch independent ELF magic"