From owner-freebsd-arm@FreeBSD.ORG Sun Feb 2 18:26:56 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 627F438A for ; Sun, 2 Feb 2014 18:26:56 +0000 (UTC) Received: from mail-n.franken.de (drew.ipv6.franken.de [IPv6:2001:638:a02:a001:20e:cff:fe4a:feaa]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id EC5EF11E4 for ; Sun, 2 Feb 2014 18:26:55 +0000 (UTC) Received: from [192.168.1.102] (p54819546.dip0.t-ipconnect.de [84.129.149.70]) (Authenticated sender: macmic) by mail-n.franken.de (Postfix) with ESMTP id 25BAB1C0E969C; Sun, 2 Feb 2014 19:26:53 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Subject: Re: panic From: Michael Tuexen In-Reply-To: <20140202181420.GC93141@funkthat.com> Date: Sun, 2 Feb 2014 19:26:52 +0100 Content-Transfer-Encoding: 7bit Message-Id: References: <14E59004-FC13-48DD-B789-AA78767C6871@freebsd.org> <20140202120509.5d1e0f64@bender.Home> <20140202181420.GC93141@funkthat.com> To: John-Mark Gurney X-Mailer: Apple Mail (2.1510) Cc: "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Feb 2014 18:26:56 -0000 On Feb 2, 2014, at 7:14 PM, John-Mark Gurney 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 wrote: >> >>> On Fri, 31 Jan 2014 06:36:43 +0100 >>> Michael Tuexen 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 : 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 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." >