From owner-freebsd-arm@freebsd.org Fri Sep 16 17:42:30 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A8459BDD3A4 for ; Fri, 16 Sep 2016 17:42:30 +0000 (UTC) (envelope-from pz-freebsd-arm@ziemba.us) Received: from osmtp.ziemba.us (osmtp.ziemba.us [208.106.105.149]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5470FD35 for ; Fri, 16 Sep 2016 17:42:29 +0000 (UTC) (envelope-from pz-freebsd-arm@ziemba.us) Received: from hairball.ziemba.us (localhost.ziemba.us [127.0.0.1]) by hairball.ziemba.us (8.14.9/8.14.9) with ESMTP id u8GHgQ3N046806 for ; Fri, 16 Sep 2016 10:42:26 -0700 (PDT) (envelope-from pz-freebsd-arm@ziemba.us) Received: (from mailnull@localhost) by hairball.ziemba.us (8.14.9/8.14.9/Submit) id u8GHgPFa046805 for freebsd-arm@freebsd.org; Fri, 16 Sep 2016 10:42:25 -0700 (PDT) (envelope-from pz-freebsd-arm@ziemba.us) X-Authentication-Warning: hairball.ziemba.us: mailnull set sender to pz-freebsd-arm@ziemba.us using -f Received: (from news@localhost) by usenet.ziemba.us (8.14.5/8.14.5/Submit) id u8GHeD4V095063 for treehouse-mail-freebsd-arm@hairball.ziemba.us; Fri, 16 Sep 2016 10:40:13 -0700 (PDT) (envelope-from news) From: "G. Paul Ziemba" To: freebsd-arm@freebsd.org Subject: Re: RPI2 12.0-CURRENT r305028 bootup crash in pf Date: Fri, 16 Sep 2016 17:40:13 +0000 (UTC) Message-id: References: Reply-to: unp@ziemba.us Errors-to: "G. Paul Ziemba" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Sep 2016 17:42:30 -0000 hps@selasky.org (Hans Petter Selasky) writes: >This error is likely due to trying to enter KDB. Can you use a newer >kernel revision. It has some extra USB patches to avoid KDB from >crashing like this. I appreciate your response, thank you! I obtained sources 15 Sep 2016 14:38 PDT via svn from https://svn0.us-west.freebsd.org/base/head and built with crochet, resulting in FreeBSD-armv6-12.0-RPI2-305849.img. It looks like about the same result (to me anyhow, maybe you will spot a critical difference). The following output occurred when I booted without a keyboard attached (again, hand-transcribed). I tried attaching a USB keyboard at this point, but typing on it did not yield anything on the screen. I also tried booting again with the keyboard attached. The kernel produced a message during boot that recognized the keyboard, but still, typing had no effect at the "db> " prompt. ---- begin console transcription ---- Kernel page fault with the following non-sleepable locks held: exclusive sleep mutex pf fragments (pf fragments) r = 0 (0xc4e03808) locked 0 /v2/Source/public/freebsd/pi/crochet/src/sys/modules/pf/../../netpfil/pf/pf_norm.c:224 stack backtrace: Fatal kernel mode data abort: 'Translation Fault (L1)' on read trapframe: 0xeb4c2d40 FSR=00000005, FAR=00000004, spsr=80000013 r0 =00000000, r1 =00000001, r2 =ffffffff, r3 =c087b774 r4 =0000000f, r5 =c4df839a, r6 =c4e03800, r7 =00000000 r8 =c4e0343c, r9 =c4e03458, r10=00000000, r11=eb4c2df0 r12=c4e03808, ssp=eb4c2dd0, slr=c02a6514, pc =c4deb88c [ thread pid 358 tid 100084 ] Stopped at pf_purge_expired_fragments+0x44: ldr r0, [r0, #0x004] db> ---- end console transcription ---- -- G. Paul Ziemba FreeBSD unix: 10:41AM up 26 days, 13:20, 16 users, load averages: 1.93, 2.09, 1.98