Port-powerpc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

prep machine kernel PGM trap by cpu_get_dfs()



Hi! all,


My prep machine(RS/6000 43P 7248-133) panics by kernel PGM trap.

(this message copy by my hand ;-)

  mainbus0 (root)
  cpu0 at mainbus0: 604 (Revision 3.4), ID 0 (primary)
  cpu0: HID0 0xc084<ICE,DCE,SGE,BHT>, powersave: 1
  cpu0: trap: pid 0.1 (system): kernel PGM trap @ 0x12758c (SR1=0x89032)
  panic: tarp
  Stopped in pid 0.1 (system) at netbsd:cpu_Debugger+0x10:  lwz     r0,0x1(r1)
  db> bt
  0x0041bb00: at panic+0x25c
  0x0041bb50: at trap+0x108
  0x0041bbe0: kernel PGM trap by cpu_get_dfs+0x8: srr1=0x89032
              r1=0x41bca0, cr=0x24888244, xer=0, ctr=0x1259ec
  saved LR(0xfffffffd) is invalid


I look cpu_get_dfs() by objdump. 

  # powerpc--netbsd-objdump -d cpu_subr.o

  <...snip...>

  00000030 <cpu_get_dfs>:
      30:       94 21 ff f0     stwu    r1,-16(r1)
      34:       7d 7f 42 a6     mfpvr   r11
      38:       7d 51 fa a6     mfspr   r10,1009


hmm...
I know such a function did not exist until last month.  Does 604 support
mfspr(SPR_HID1)?

http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/powerpc/oea/cpu_subr.c.diff?r1=1.55&r2=1.56&only_with_tag=MAIN&f=h


By the way, because boot of prep supports only inkernel, the generation
of such kernel panic is very embarrassed.  No be known whether boot of
prep should also support HDD like bebox.
Do you know all IDE/SCSI controllers of onboard of prep?
wdc and siop are supported in bebox.

Thanks,
--
kiyohara


Home | Main Index | Thread Index | Old Index