rpi/dwc2 kernel panics
a.heider at gmail.com
Fri Feb 14 12:33:28 EST 2014
On Fri, Feb 14, 2014 at 09:33:54AM +0000, Nick Hudson wrote:
> On 02/13/14 18:47, Andre Heider wrote:
> >On Wed, Feb 12, 2014 at 08:00:18PM -0700, Stephen Warren wrote:
> >>On 02/12/2014 11:52 AM, Andre Heider wrote:
> >>>Hi guys,
> >>>I just tried today's Linus' master (45f7fdc2ff) with usb-linus (3635c7e2d5)
> >>>merged on top to give the latest dwc2 fixes another try.
> >>>Unfortunately I'm getting various crashes on system startup. Kernel boots
> >>>fine, dwc2 and the integrated smsc95xx are detected, but somewhere in the
> >>>init sequence the system panics.
> >>I haven't ever seen crashes like that, when running linux-next. I also
> >>merged those two exact commits together and didn't see any issue in 10
> >>boot cycles.
> >Same thing here with linux-next (Linux rpi 3.14.0-rc2-next-20140213-rpi).
> >The last traces has systemd in there, but good old sysvinit crashed
> >spectacular too.
> >>FWIW, I am running:
> >>* A rev2 Model B
> >>* Firmware commit 9c3d7b6 "Add latest linaro gcc toolchain:
> >>* Upstream U-Boot (very recent) and kernel
> >>* Using Ubuntu 13.10's packaged ARM cross-compiler
> >Huh, switching compilers made a difference...
> >I was using debian's cross compiler , 4.8.2, which has a couple of
> >patches .
> >With my old self compiled and unpatched toolchains I didn't yet get
> >any crashes, I tried:
> >binutils 2.20 + gcc 4.4.4
> >binutils 2.21.1 + gcc 4.4.7
> >binutils 2.23.1 + gcc 4.7.1
> >binutils 2.24 + gcc 4.7.2
> >but with these versions (also unpatched) I do get the crashes:
> >binutils 2.23.2 + gcc 4.8.1
> >binutils 2.24 + gcc 4.8.2
> I saw problems with 4.8 on NetBSD/evbarm and my RaspberryPI. They were fixed
> by changes to the gcc-4_8-branch some time after 4.8.2.
It seems this is gcc bug 58854 . Applying  to vanilla 4.8.2 fixes
the panics for me.
More information about the linux-rpi-kernel