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 Which one are you using? gcc-arm-linux-gnueabi [2] or gcc-arm-linux-gnueabihf [3]? Maybe there's a reason the former is 4.7 while the latter is 4.8? In case you're using 4.7, care to give 4.8 a try? In any case, I'm hesitant to blame this on a compiler bug since booting any of those kernels with "nousb" didn't yet end is weird panics. Thanks, Andre [0] https://packages.debian.org/unstable/gcc-arm-none-eabi [1] http://anonscm.debian.org/gitweb/?p=collab-maint/gcc-arm-none-eabi.git;a=tree;f=debian/patches [2] http://packages.ubuntu.com/saucy/devel/gcc-arm-linux-gnueabi [3] http://packages.ubuntu.com/saucy/devel/gcc-arm-linux-gnueabihf -- 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