[Top] [All Lists]

Re: cross-compile fails

Subject: Re: cross-compile fails
From: Vince Weaver <>
Date: Wed, 12 Jan 2000 15:04:20 -0500 (EST)
In-reply-to: <>
Hello again

OK, I got things to compile [I hadn't done enough "make clean"'s it would

after copying the created vmlinux file to / on the machine [it is running
Irix 6.5] I then rebooted into the BootProm and told it to
"boot vmlinux"

It then gave this:


134480+22592+3216+341792+49040d+4460+6704 entry: 0x8dfa5fa0

Exception: <vector=Normal>
Status register: 0x30044803<CU1,CU0,CH,IM7,IM4,IPL=???,MODE=KERNEL,EXL,IE>
Cause register: 0x3010<LE=0,IP6,IP5,EXL=RADE>
Exception PC: 0x88147eec
Read address error exception, bad address: 0x2b
Local I/O interrupt register 1: 0x80 <VR/GIO2>
Local I/O interrupt register 2: 0xc0 <SLOT0,SLOT1>
  Saved user regs in hex (&gpda 0xa8740e48, &_regs 0xa8741048):
  tmp: 881be090 881be090 a 88150864 13 8dfabd30 0 48
  sve: 8dfde8e4 8dfff908 8dfb0b00 8dfff300 a8747590 9fc4a744 0 9fc4a744
  t8 48 t9 8dfffb8f at 88150000 v0 0 v1 8dfff2e0 k1 bad11bad
  gp 88008000 fp 9fc4a88c sp 88009fd0 ra 880025d0

PANIC: Unexpected exception


Typed that in by hand, hope there are no mistakes

if I look up the PC in the file I find

0000000088147eec T sgi_sysinit

and if I do an objdump I find:

0000000088147eec <sgi_sysinit>:
    88147eec:   27bdffd0        addiu   $sp,$sp,-48
    88147ef0:   afb20018        sw      $s2,24($sp)
    88147ef4:   00009021        move    $s2,$zero
    88147ef8:   afb10014        sw      $s1,20($sp)
    88147efc:   2411ffff        li      $s1,-1
    88147f00:   02402021        move    $a0,$s2
    88147f04:   afbf0028        sw      $ra,40($sp)
    88147f08:   afb50024        sw      $s5,36($sp)
    88147f0c:   afb40020        sw      $s4,32($sp)
    88147f10:   afb3001c        sw      $s3,28($sp)
    88147f14:   0e0522de        jal     88148b78 <prom_getchild>
    continues for a while

any hints what might be wrong?  I can send a .config to anyone who might
want it.

The cross compiler tools are from the i386/mips-linux .rpm file on

The system I am trying this on is an Indigo2:

orws1:/disk3/usr/people/vince$ hinv
CPU: MIPS R4000 Processor Chip Revision: 3.0
FPU: MIPS R4000 Floating Point Coprocessor Revision: 0.0
1 100 MHZ IP22 Processor
Main memory size: 96 Mbytes
Secondary unified instruction/data cache size: 1 Mbyte on Processor 0
Instruction cache size: 8 Kbytes
Data cache size: 8 Kbytes
Integral SCSI controller 0: Version WD33C93B, revision D
  Disk drive: unit 1 on SCSI controller 0
  Tape drive: unit 2 on SCSI controller 0: DAT
  Disk drive: unit 3 on SCSI controller 0
Integral SCSI controller 1: Version WD33C93B, revision D
On-board serial ports: 2
On-board bi-directional parallel port
Graphics board: GU1-Extreme
Integral Ethernet: ec0, version 1
Iris Audio Processor: version A2 revision 0.1.0
EISA bus: adapter 0


\  /\  /\  /  Vince Weaver          

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