rpi/dwc2 kernel panics

Andre Heider a.heider at gmail.com
Fri Feb 14 11:59:54 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:
> >>gcc-linaro-arm-linux-gnueabihf-raspbian-2012.08-20120724_linux"
> >>* 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 [0], 4.8.2, which has a couple of
> >patches [1].
> >
> >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.

Indeed a current 4.8 snapshot builds working kernels for me:
gcc version 4.8.3 20140213 (prerelease) (GCC)

Do you have any more infos about this issue?

Thanks,
Andre



More information about the linux-rpi-kernel mailing list