From owner-freebsd-arm@freebsd.org Sun Sep 27 10:34:53 2015 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 27FCB9D07C3 for ; Sun, 27 Sep 2015 10:34:53 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from mail.kronometrix.org (mail.kronometrix.org [54.72.43.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.kronometrix.org", Issuer "mail.kronometrix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B7518BEF for ; Sun, 27 Sep 2015 10:34:52 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from [192.168.1.171] (89-27-2-202.bb.dnainternet.fi [89.27.2.202]) (authenticated bits=0) by mail.kronometrix.org (8.14.9/8.14.9) with ESMTP id t8RAYgOC037405 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sun, 27 Sep 2015 10:34:43 GMT (envelope-from sparvu@kronometrix.org) Reply-To: sparvu@kronometrix.org To: freebsd-arm@freebsd.org From: Stefan Parvu Subject: RBPI2 ds1307 rtc kernel panic X-Enigmail-Draft-Status: N1110 Organization: kronometrix.org Message-ID: <5607C63D.2010203@kronometrix.org> Date: Sun, 27 Sep 2015 13:34:37 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Sep 2015 10:34:53 -0000 Im seeing kernel panics after I have compiled support for DS1307 RTC device on RBPI2 hardware: panic: sleepq_add: td 0xc395b000 to sleep on wchan 0xc39fa380 with sleeping prohibited The system here: iichb0: mem 0x205000-0x20501f irq 61 on simplebus0 iicbus0: on iichb0 iic0: on iicbus0 iichb1: mem 0x804000-0x80401f irq 61 on simplebus0 iicbus1: on iichb1 iic1: on iicbus1 ds13070: at addr 0xd0 on iicbus1 FreeBSD rpi2 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r288098: Thu Aug 20 04:00:38 UTC 2015 root@rpi2:/usr/obj/usr/src/sys/KPI2 arm I have compiled the kernel by Vadim's procedure [1] but modified for RBPI2: bcm2836.dtsi: https://github.com/vzaigrin/ds1307/issues/1 Anyone any ideas why the crash ? Many thanks [1] https://vzaigrin.wordpress.com/2015/08/04/real-time-clock-on-raspberry-pi-with-freebsd-11/ -- Stefan Parvu