Port-ofppc archive

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

Re: PegasosII(ofppc) can't boot



On Aug 31, 2013, at 7:56 AM, Frank Wille <frank%phoenix.owl.de@localhost> wrote:

> Matt Thomas wrote:
> 
>> I've added code to NOP the mfmsr/rldicl/mtmsrd instructions and replace
>> the rfid with rfi instructions if the system detects that the 64bit
>> bridge is not present.
>> 
>> This allowed a PMPPC kernel to boot with PPC_OEA64_BRIDGE added to the
>> config.
> 
> Unfortunately it doesn't work for me. It seems like ofppc has an additional
> problem.
> 
> My Pegasos2 still crashes at the same point as 24h before, while
> initializing the console in ofppc_init_comcons(). This is MD code, which is
> not present in PMPPC.
> 
> The following happens now:
> 
> ---8<---
> NetBSD 6.99.23 (GENERIC) #0: Sat Aug 31 15:43:54 CEST 2013
> 
> frank%albireo.wendik.de@localhost:/home/frank/netbsd/current/src/objofppc/sys/arch/ofppc/compile/GENERIC
> Model: Pegasos2
> total memory = 512 MB
> avail memory = 481 MB
> bootpath: /pci@80000000/ide@C,1/disk@0,0/netbsdcur
> mainbus0 (root)
> rtas0 at mainbus0: version 1, entry @pa 0x6c8000
> cpu0 at mainbus0: 750 (Revision 3.1), ID 0 (primary)
> cpu0: HID0 0x8050c0ac<EMCP,NAP,DPM,ICE,DCE,SGE,BTIC,ABE,BHT>, powersave: 1
> cpu0: 600.00 MHz, 512KB WB with ECC L2 cache
> cpu0: L1 I-cache 32 KB 32B/line, D-cache 32 KB 32B/line
> cpu0: L2 cache 128 KB 32B/line
> gt0 at mainbus0trap: pid 0.1 (system): kernel PGM trap @ 0x3c4
> (SRR1=0x81000)
> Press a key to panic.
> panic: trap
> Stopped in pid 0.1 (system) at  netbsd:cpu_Debugger+0x10:       lwz     r0,
> 0x14
> (r1)
> db> bt
> 0x0061c810: at db_panic+0xe8
> 0x0061c830: at vpanic+0x13c
> 0x0061c860: at panic+0x4c
> 0x0061c8a0: at trap+0x120
> 0x0061c930: kernel PGM trap by 0x3c4: srr1=0x81000
>            r1=0x6c7ca0 cr=0x24002042 xer=0 ctr=0x1018a0
> 0x006c7ca0: at ofppc_init_comcons+0x1a0
> 0x006c7d20: at gt_attach+0x2d8
> 0x006c7d70: at config_attach_loc+0x1fc
> 0x006c7da0: at mainbus_attach+0x250
> 0x006c7e80: at config_attach_loc+0x1fc
> 0x006c7eb0: at cpu_configure+0x20
> 0x006c7ec0: at main+0x248
> 0x006c7f10: at 0x1000d0
> ---8<---
> 
> ofppc_init_comcons+0x1a0 is the call to bus_space_map() with
> &genppc_isa_io_space_tag, in ofppc/machdep.c line 328. This tag is set to
> the Marvell's gtpci_io_bs_tag (ofppc/pci/gt_mainbus.c). There seems to be
> something wrong with it.

try it again.  I didn't do RFID->RFI in the exception handlers but I do now.


Home | Main Index | Thread Index | Old Index