From owner-freebsd-arm@FreeBSD.ORG Sat Sep 20 13:14:01 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 E1F3A402 for ; Sat, 20 Sep 2014 13:14:00 +0000 (UTC) Received: from mail-wi0-x22b.google.com (mail-wi0-x22b.google.com [IPv6:2a00:1450:400c:c05::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7A404A21 for ; Sat, 20 Sep 2014 13:14:00 +0000 (UTC) Received: by mail-wi0-f171.google.com with SMTP id ho1so793204wib.16 for ; Sat, 20 Sep 2014 06:13:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=bqIpASThNtsDja+ExxGDp6j38+ANxruH805nn7kWocY=; b=0EBqRaY9NrXUWpdL2bK8XsqDi6hzuSnNg7s/Z7vs3F3bwNrar9eU4FF2HMzYPXOS+j 0nY29SVKMS+AKVRoiXTysk7xjbUQG27E29mr4jdWIBMKnp9zyvfTzl6vN1LIhvSJG6Xa r4ztn5tvbFO3ZZAdT6EE13i7YMJBXcrI7+JaWUWlHL1V9JshCHA2/XCZI5mzfdBlr2JS sUt8a6INS5IckYGkg2TQhO6oC8AdDfsDC0cXgdpgm8LpuFao2e4BcnAY1lFTqoRdBydl SSdOBvJmoKIt4hzRZY4OxzBSguLnyRWoHJSQfZMDq5jscYFuGHr0Vj8TxWbIDaj7FemA h9+Q== MIME-Version: 1.0 X-Received: by 10.180.188.13 with SMTP id fw13mr3194829wic.83.1411218838526; Sat, 20 Sep 2014 06:13:58 -0700 (PDT) Received: by 10.194.184.107 with HTTP; Sat, 20 Sep 2014 06:13:58 -0700 (PDT) Received: by 10.194.184.107 with HTTP; Sat, 20 Sep 2014 06:13:58 -0700 (PDT) In-Reply-To: <568188637.10901.1411218668061.JavaMail.www@wwinf1p20> References: <568188637.10901.1411218668061.JavaMail.www@wwinf1p20> Date: Sat, 20 Sep 2014 16:13:58 +0300 Message-ID: Subject: Re: kernel debugger on cubietruck From: Boris Astardzhiev To: Gilles DALMAS Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Sep 2014 13:14:01 -0000 Hi, As far as I see strcmp() is passed a NULL pointer, try issuing a backtrace to get the exact place of calling. Regards On Sep 20, 2014 4:11 PM, "Gilles DALMAS" wrote: > hi, > > > > I would compile freebsd for it run on a cubietruck. For this I used the > wiki page: https://wiki.freebsd.org/FreeBSD/arm/Cubieboard using option > confifuration "CUBIEBOARD2." everything goes well, but starting on the > "truck", I get this message: > > > > vm_fault(0xc08bab80, 0, 1, 0) -> 1 > Fatal kernel mode data abort: 'Translation Fault (S)' > trapframe: 0xc08e5a48 > FSR=00000005, FAR=00000000, spsr=a00001d3 > r0 =00000000, r1 =c0547c85, r2 =00000072, r3 =00000008 > r4 =c3b49f00, r5 =c3b4a080, r6 =c3b4a0b8, r7 =00000000 > r8 =c056b038, r9 =c3ae1700, r10=c05d4930, r11=c08e5ab0 > r12=00000000, ssp=c08e5a98, slr=c024e0f0, pc =c03d7604 > > [ thread pid 0 tid 100000 ] > Stopped at strcmp+0x4: ldrb r3, [r0] > > > > where is the problem please ? > > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"