RBPI2 ds1307 rtc kernel panic

Stefan Parvu sparvu at kronometrix.org
Sun Sep 27 10:34:53 UTC 2015


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: <BCM2708/2835 BSC controller> mem 0x205000-0x20501f irq 61 on
simplebus0
iicbus0: <OFW I2C bus> on iichb0
iic0: <I2C generic I/O> on iicbus0
iichb1: <BCM2708/2835 BSC controller> mem 0x804000-0x80401f irq 61 on
simplebus0
iicbus1: <OFW I2C bus> on iichb1
iic1: <I2C generic I/O> on iicbus1
ds13070: <Maxim DS1307 RTC> 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 at 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 <sparvu at kronometrix.org>


More information about the freebsd-arm mailing list