[BBB] kernel panic during boot

Ian Lepore ian at freebsd.org
Wed Aug 9 00:21:44 UTC 2017


On Tue, 2017-08-08 at 13:19 +0200, Manuel Stühn wrote:
> Hi,
> booting a FreeBSD CURRENT r322118 on a BBB (GENERIC-NODEBUG kernel)
> ends 
> with a panic:
> 
> [...]
> iichb0: <TI I2C Controller> mem 0x44e0b000-0x44e0bfff irq 17 on 
> simplebus0
> iichb0: I2C revision 4.0 FIFO size: 32 bytes
> iicbus0: <OFW I2C bus> on iichb0
> panic: timed sleep before timers are working
> cpuid = 0
> time = 1
> KDB: stack backtrace:
> db_trace_self() at db_trace_self
> [...]
> 
> The complete boot log incl. backtrace is attached.
> 
> Any ideas?

It looks like we had 2 i2c rtc drivers that were misbehaving (trying to
do i2c transfers before interrupts are enabled).  For now I simply
removed them from the GENERIC config as a workaround (r322282).  I've
ordered samples of the chips and when they arrive I'll rework the
drivers to behave better.

-- Ian



More information about the freebsd-arm mailing list