Skip to contentSkip to conversation

sgi O2 supported?

DISCUSSION Waldemar Brodkorb 4 participants 6 messages Jan 7, 2017 – Jan 9, 2017

lore
Share & tools
lore
#0 lore raw

Hi,

can I use grub to bootup Linux/mips64 from SCSI disk on a SGI O2 machine?

I cross-compiled grub (git hash 07662af7aed55bcec448bc2a6610de1f0cb62100).
The toolchain is fine, I can bootup a Linux system via TFTP.

I create a grub.img with following modules included:
boot linux ext2 part_dvh normal

I copy grub.img with dvhtool to the volume header and try to bootup:

Quoted 2 lines

setenv OSLoader grub
boot

341112
Cannot load scsi(0)disk(1)rdisk(0)partition(8)/grub. Range check failure: text start 0x881ffde0, size 0x53478. Text section would overwrite an already loaded program.Unable to execute scsi(0)disk(1)rdisk(0)partition(8)/grub: not enough space Unable to load scsi(0)disk(1)rdisk(0)partition(8)/grub: not enough space

Seems like the load address is bad?

Is it possible to use grub for this task?

best regards
Waldemar

#1 lore raw

07.01.2017 22:34, Waldemar Brodkorb пишет:

Quoted 10 lines

Hi,

can I use grub to bootup Linux/mips64 from SCSI disk on a SGI O2 machine?

I cross-compiled grub (git hash 07662af7aed55bcec448bc2a6610de1f0cb62100).
The toolchain is fine, I can bootup a Linux system via TFTP.

I create a grub.img

For which platform?

Quoted 28 lines

with following modules included:
boot linux ext2 part_dvh normal

I copy grub.img with dvhtool to the volume header and try to bootup:

Quoted 2 lines

setenv OSLoader grub
boot

341112
Cannot load scsi(0)disk(1)rdisk(0)partition(8)/grub. Range check failure: text start 0x881ffde0, size 0x53478. Text section would overwrite an already loaded program.Unable to execute scsi(0)disk(1)rdisk(0)partition(8)/grub: not enough space Unable to load scsi(0)disk(1)rdisk(0)partition(8)/grub: not enough space

Seems like the load address is bad?

Is it possible to use grub for this task?

best regards
Waldemar

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel

#2 lore raw

Hi,
Andrei Borzenkov wrote,

Quoted 6 lines

07.01.2017 22:34, Waldemar Brodkorb пишет:

Quoted 5 lines

Hi,

can I use grub to bootup Linux/mips64 from SCSI disk on a SGI O2 machine?

Quoted 7 lines
Quoted 5 lines

I cross-compiled grub (git hash 07662af7aed55bcec448bc2a6610de1f0cb62100).
The toolchain is fine, I can bootup a Linux system via TFTP.

I create a grub.img

For which platform?

Grub is cross-compiled for platform arc.
Isn't arc the right choice? I thought ARC/ARCS is the prom inside the SGI machine.

http://cgit.openadk.org/cgi/cgit/openadk.git/tree/package/grub/Makefile

best regards
Waldemar

#4 lore raw
In reply to Waldemar Brodkorb

Can you send me an image (of any bootloade) that boots? We can then try another address then

Quoted 37 lines · On Sat, 7 Jan 2017, 20:34 Waldemar Brodkorb <[email protected]> wrote:

Hi,

can I use grub to bootup Linux/mips64 from SCSI disk on a SGI O2 machine?

I cross-compiled grub (git hash 07662af7aed55bcec448bc2a6610de1f0cb62100).
The toolchain is fine, I can bootup a Linux system via TFTP.

I create a grub.img with following modules included:
boot linux ext2 part_dvh normal

I copy grub.img with dvhtool to the volume header and try to bootup:

Quoted 2 lines

setenv OSLoader grub
boot

341112
Cannot load scsi(0)disk(1)rdisk(0)partition(8)/grub. Range check failure: text start 0x881ffde0, size 0x53478. Text section would overwrite an already loaded program.Unable to execute scsi(0)disk(1)rdisk(0)partition(8)/grub: not enough space Unable to load scsi(0)disk(1)rdisk(0)partition(8)/grub: not enough space

Seems like the load address is bad?

Is it possible to use grub for this task?

best regards
Waldemar

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel

#5 lore raw

Hi Vladimir,
Vladimir 'phcoder' Serbinenko wrote,

Quoted 2 lines

Can you send me an image (of any bootloade) that boots? We can then try another address then

http://debug.openadk.org/arc/

The arcboot.ip32 is for SGI O2, the arcboot.ip22 for SGI Indy. The arcboot.ip32 at least executes fine on my SGI O2. (it is MIPS32 binary)
I need to check if ARCS can execute arcboot compiled to ELF64 binary.

best regards
Waldemar

#3 lore raw
In reply to Waldemar Brodkorb
Quoted 5 lines · Waldemar Brodkorb

Grub is cross-compiled for platform arc.
Isn't arc the right choice? I thought ARC/ARCS is the prom inside the SGI machine.

http://cgit.openadk.org/cgi/cgit/openadk.git/tree/package/grub/Makefile

Well mips-arc should be right, mipsel-arc would not be.

I have not tried grub (or linux) on my SGI since it has an unsupported video board, so IRIX is all I get to play with on it.

Signature · 1 line
Len Sorensen