Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Aug 2017 18:21:35 -0600
From:      Ian Lepore <ian@freebsd.org>
To:        freebsd-arm@freebsd.org
Subject:   Re: [BBB] kernel panic during boot
Message-ID:  <1502238095.50720.51.camel@freebsd.org>
In-Reply-To: <20170808111918.GA38273@freebsd-t420.fritz.box>
References:  <20170808111918.GA38273@freebsd-t420.fritz.box>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1502238095.50720.51.camel>