Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Feb 2014 19:26:52 +0100
From:      Michael Tuexen <tuexen@freebsd.org>
To:        John-Mark Gurney <jmg@funkthat.com>
Cc:        "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Subject:   Re: panic
Message-ID:  <A10C1FD0-497E-4188-8233-D6C282AF23AE@freebsd.org>
In-Reply-To: <20140202181420.GC93141@funkthat.com>
References:  <14E59004-FC13-48DD-B789-AA78767C6871@freebsd.org> <20140202120509.5d1e0f64@bender.Home> <B6C771EC-B635-4392-9088-1CFC640329EB@freebsd.org> <20140202181420.GC93141@funkthat.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Feb 2, 2014, at 7:14 PM, John-Mark Gurney <jmg@funkthat.com> wrote:

> Michael Tuexen wrote this message on Sun, Feb 02, 2014 at 13:11 +0100:
>> On Feb 2, 2014, at 1:05 PM, Andrew Turner <andrew@fubar.geek.nz> wrote:
>> 
>>> On Fri, 31 Jan 2014 06:36:43 +0100
>>> Michael Tuexen <tuexen@freebsd.org> wrote:
>>> 
>>>> Dear all,
>>>> 
>>>> while building the or xcb-util-renderutil-0.3.8 port I got
>>>> panic: Undefined instruction in kernel.
>>>> when running r261186 on a RPI-B. I could successfully build
>>>> ports for cvs, subversion, git...
>>> 
>>> Can you get the opcodes in your kernel around 0xc048ec60. There are two
>>> instructions that may be the problem and depending on which one you are
>>> hitting it would indicate a different problem.
>>> 
>>> Also if possible can you get more of the kernel output from around the
>>> panic. There are a few kernel printf calls that would narrow down what
>>> is happening.
>> Hi Andrew,
>> 
>> I'm sorry, I rebooted the pi in the meantime...
> 
> As long as you didn't compile a new kernel, just do:
> objdump -d --start-address=0xc048ec50 /boot/kernel/kernel
> 
> And send us the lines between 0xc048ec50 and 0xc048ec70...
Sure:

/boot/kernel/kernel:     file format elf32-littlearm

Disassembly of section .text:

c048ec50 <undefinedinstruction+0xf4>:
c048ec50:       e1a01007        mov     r1, r7
c048ec54:       e1a02009        mov     r2, r9
c048ec58:       e1a03004        mov     r3, r4
c048ec5c:       e12fff35        blx     r5
c048ec60:       e3a01000        mov     r1, #0  ; 0x0
c048ec64:       e3500000        cmp     r0, #0  ; 0x0
c048ec68:       0a000005        beq     c048ec84 <undefinedinstruction+0x128>
c048ec6c:       e5966000        ldr     r6, [r6]
c048ec70:       e3560000        cmp     r6, #0  ; 0x0

Please let me know if you need any other information.

Best regards
Michael
> 
> -- 
>  John-Mark Gurney				Voice: +1 415 225 5579
> 
>     "All that I will do, has been done, All that I have, has not."
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A10C1FD0-497E-4188-8233-D6C282AF23AE>