Re: rpi/dwc2 kernel panics

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

It seems this is gcc bug 58854 [0]. Applying [1] to vanilla 4.8.2 fixes
the panics for me.

[0] http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58854
[1] http://gcc.gnu.org/git/?p=gcc.git;a=patch;h=d8e03d55d2e9801086aa8da2f9c347510aef8e11

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux