Posts: 641
Joined: Mon Jan 16, 2012 12:59 pm

Re: Next firmware tree is now 3.10

Tue Dec 24, 2013 12:06 am

Was there any resolution to the loss of FSTRIM in recent kernels? I've just updated to #614 from #577, and now my fstrim cron job is failing with the new kernel.

If fstrim serves no purpose on an SD card then fine, I'll stop running it, is everyone now agreed it is of no value?

User avatar
Posts: 128
Joined: Mon Jun 04, 2012 3:59 pm
Location: @Home

Re: Next firmware tree is now 3.10

Tue Dec 24, 2013 9:59 am

fstrim is useless on sdcards, as dummy controllers in sdcards don't support trim command anyway.
+°´°+,¸¸,+°´°~ Everyone should have a taste of UK Raspberry Pie =D ~°´°+,¸¸,+°´°+
Rasberry Pi, SoC @ 1225Mhz :o, 256MB Ram @ 550Mhz, 16GB SD-Card, Raspbian

Posts: 3
Joined: Wed Jan 08, 2014 7:29 pm

Re: Next firmware tree is now 3.10

Thu Jan 23, 2014 8:27 pm

MrEngman wrote:I'm having real problems trying to compile 3.10.18+. When trying to compile I am getting a weird error but don't know why or how to fix it. Error is:-

Code: Select all

 . . .
 BC kernel/timeconst.h
 /bin/sh: 1: bc: not found
 make[1]: *** [kernel/timeconst.h] Error 127
 make: *** [kernel] Error 2
. . .
Minor update, I could not find a binary "bc" but the source kit loaded and built running code with warnings. I used:

Code: Select all

mkdir /usr/src/bc/
cd /usr/src/bc/
cat /etc/apt/source.list
deb-src stable main contrib non-free rpi
apt-get source bc
. . . 
. . . 
make install
I am a little surprised by the Debian comment . . . "bc" eliminated a 'perl' utility . . . yet introduced a whole new 'language.' Regardless, the build is working.

Bob Wilson

Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5369
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: Next firmware tree is now 3.10

Mon Apr 14, 2014 11:36 pm

Posts: 65
Joined: Thu May 09, 2013 11:47 am

Re: Next firmware tree is now 3.10

Fri Apr 18, 2014 10:20 pm


Not sure if this is the right place to mention, but I suspect gpio_pcf857x is broken in 3.10.36/37: ... ss#p532595


Posts: 490
Joined: Mon Feb 27, 2012 2:37 pm

Re: Next firmware tree is now 3.10

Wed Apr 30, 2014 8:05 pm

I tried to recompile 3.10.36 with usb driver as a module and it fails like this

Code: Select all

  Kernel: arch/arm/boot/zImage is ready
  Building modules, stage 2.
  MODPOST 1226 modules
ERROR: "DWC_TASK_HI_SCHEDULE" [drivers/usb/host/dwc_otg/dwc_otg.ko] undefined!
ERROR: "fiq_fix_enable" [drivers/usb/host/dwc_otg/dwc_otg.ko] undefined!
make[1]: *** [__modpost] Error 1
I admit it is not very practical to have it as module, I just tried to experiment with power consumption of model B. It did save significant power when not enabled in kernel but otherwise it brings more questions than answers :-) More details in this thread

Return to “Advanced users”