linux-mips
[Top] [All Lists]

Re: Booting off of sdb1...

To: Mark Salter <marks@sun470.sun470.rd.qms.com>
Subject: Re: Booting off of sdb1...
From: Alex deVries <adevries@engsoc.carleton.ca>
Date: Tue, 2 Sep 1997 19:45:59 -0400 (EDT)
Cc: linux@cthulhu.engr.sgi.com
In-reply-to: <199709022201.RAA26782@speedy.rd.qms.com>
Reply-to: Alex deVries <adevries@engsoc.carleton.ca>
Sender: owner-linux@cthulhu.engr.sgi.com
On Tue, 2 Sep 1997, Mark Salter wrote:
> > The kernel starts, and it finishes off with:
> > Partition check:
> >  sda: sad1 sda2 sda3 sda4
> >  sdb: sdb1 sdb2 sdb3
> > VFS: Mounted root (ext2 filesystem) readonly.
> > : Can't open
> 
> Try this patch to linux/arch/mips/sgi/prom/cmdline.c:

<snip>

Well, I would try that patch, but I am unable to compile kernels because I
_always_ get this:

make[1]: Entering directory `/usr/src/sgi/linux/arch/mips/kernel'
mips-linux-gcc -D__KERNEL__ -I/usr/src/sgi/linux/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic
-D__GOGOGO__ -mcpu=r4600 -mips2 -pipe -c entry.S -o entry.o
entry.S: Assembler messages:
entry.S:208: Error: .previous without corresponding .section; ignored
entry.S:208: Error: .previous without corresponding .section; ignored
entry.S:209: Error: .previous without corresponding .section; ignored
entry.S:209: Error: .previous without corresponding .section; ignored
entry.S:216: Error: .previous without corresponding .section; ignored
entry.S:216: Error: .previous without corresponding .section; ignored
entry.S:218: Error: .previous without corresponding .section; ignored
entry.S:218: Error: .previous without corresponding .section; ignored
entry.S:219: Error: .previous without corresponding .section; ignored
entry.S:219: Error: .previous without corresponding .section; ignored
entry.S:220: Error: .previous without corresponding .section; ignored
entry.S:220: Error: .previous without corresponding .section; ignored
make[1]: *** [entry.o] Error 1
make[1]: Leaving directory `/usr/src/sgi/linux/arch/mips/kernel'
make: *** [linuxsubdirs] Error 2

I'm using the gcc that's up on ftp.linux.sgi.com, and I'm using binutils
2.8.1, which is the latest I believe.

_PLEASE_ can someone who is able to succesfully cross compile kernels post
here what versions they are using, and where I can get them from. Not
sorting this out brings my development efforts to a complete stop. 

- Alex




<Prev in Thread] Current Thread [Next in Thread>