how does cpu_freq avoid such from happening?Licaon_Kter wrote:basically overvolting triggers itwallarug wrote:What is the warranty 'bit'?
how does cpu_freq avoid such from happening?Licaon_Kter wrote:basically overvolting triggers itwallarug wrote:What is the warranty 'bit'?
overvolting is a user choice, it's activated in the config.txtwallarug wrote:how does cpu_freq avoid such from happening?

You are allowed to overvolt if done through raspi-config which uses the cpufreq driver.Licaon_Kter wrote:basically overvolting triggers it
That's great info!dom wrote:You are allowed to overvolt if done through raspi-config which uses the cpufreq driver.Licaon_Kter wrote:basically overvolting triggers it
Manually adding "force_turbo=1" to config.txt, when over_voltage>0 will override the cpufreq driver and sets your warranty bit.
wallarug wrote: How can you tell if your warranty is voided? Is there a command or would they just check it at the factory?
Code: Select all
cat /proc/cpuinfo
Thanks, This is really helpful.milhouse wrote:wallarug wrote: How can you tell if your warranty is voided? Is there a command or would they just check it at the factory?Look at your Revision code - if it starts with a 1, you've set the warranty bit (and your warranty is void).Code: Select all
cat /proc/cpuinfo
Try lowering the settings. That works for most people.TikkenBaxter wrote: Is there a even more safe overclock settings I could try?

Code: Select all
init_emmc_clock=100000000Code: Select all
sdhci-bcm2708.emmc_clock_freq=100000000Code: Select all
sudo hdparm -t /dev/mmcblk0Tested with:dom wrote:@Tompen @portets (and others)
Can you please try (in config.txt)and in cmdline.txtCode: Select all
init_emmc_clock=100000000Code: Select all
sdhci-bcm2708.emmc_clock_freq=100000000
Code: Select all
pi@raspberrypi ~ $ uname -a
Linux raspberrypi 3.2.27+ #238 PREEMPT Fri Oct 5 23:19:10 BST 2012 armv6l GNU/Linux
pi@raspberrypi ~ $ vcgencmd version
Oct 6 2012 15:41:08
Copyright (c) 2012 Broadcom
version 342154 (release)
Code: Select all
pi@raspberrypi ~ $ tail -f /var/log/syslog
Oct 12 13:48:12 raspberrypi dbus[1915]: [system] Successfully activated service 'org.freedesktop.ConsoleKit'
Oct 12 13:49:13 raspberrypi kernel: [ 76.890240] mmc0: final write to SD card still running
Oct 12 13:49:23 raspberrypi kernel: [ 86.913336] mmc0: Timeout waiting for hardware interrupt - cmd12.
Oct 12 13:49:23 raspberrypi kernel: [ 86.914533] mmcblk0: error -110 sending stop command, original cmd response 0x900, card status 0x900
Oct 12 13:49:38 raspberrypi kernel: [ 101.040923] mmc0: final write to SD card still running
Oct 12 13:49:48 raspberrypi kernel: [ 111.053337] mmc0: Timeout waiting for hardware interrupt - cmd12.
Oct 12 13:49:48 raspberrypi kernel: [ 111.054520] mmcblk0: error -110 sending stop command, original cmd response 0x900, card status 0x900
Oct 12 13:50:12 raspberrypi kernel: [ 135.033361] mmc0: Timeout waiting for hardware interrupt - cmd25.
Oct 12 13:50:12 raspberrypi kernel: [ 135.033404] mmc0: resetting ongoing cmd 25DMA before 241664/241664 [1]/[9] complete
Oct 12 13:50:12 raspberrypi kernel: [ 135.037832] mmcblk0: error -110 transferring data, sector 6192480, nr 1024, cmd response 0x900, card status 0xc00
Oct 12 13:50:12 raspberrypi kernel: [ 135.038008] mmc0: DMA IRQ 6 ignored - results were reset
Oct 12 13:50:12 raspberrypi kernel: [ 135.038114] end_request: I/O error, dev mmcblk0, sector 6192643
Oct 12 13:50:12 raspberrypi kernel: [ 135.038145] end_request: I/O error, dev mmcblk0, sector 6192648
Oct 12 13:50:12 raspberrypi kernel: [ 135.038171] end_request: I/O error, dev mmcblk0, sector 6192656
Oct 12 13:50:12 raspberrypi kernel: [ 135.038195] end_request: I/O error, dev mmcblk0, sector 6192664
Oct 12 13:50:12 raspberrypi kernel: [ 135.038218] end_request: I/O error, dev mmcblk0, sector 6192672
Oct 12 13:50:12 raspberrypi kernel: [ 135.038241] end_request: I/O error, dev mmcblk0, sector 6192680
Oct 12 13:50:12 raspberrypi kernel: [ 135.038264] end_request: I/O error, dev mmcblk0, sector 6192688
Oct 12 13:50:12 raspberrypi kernel: [ 135.038288] end_request: I/O error, dev mmcblk0, sector 6192696
...
Oct 12 13:50:12 raspberrypi kernel: [ 135.040128] Buffer I/O error on device mmcblk0p2, logical block 758700
Oct 12 13:50:12 raspberrypi kernel: [ 135.040175] Buffer I/O error on device mmcblk0p2, logical block 758701
Oct 12 13:50:12 raspberrypi kernel: [ 135.040197] Buffer I/O error on device mmcblk0p2, logical block 758702
Oct 12 13:50:12 raspberrypi kernel: [ 135.040218] Buffer I/O error on device mmcblk0p2, logical block 758703
Oct 12 13:50:12 raspberrypi kernel: [ 135.040237] Buffer I/O error on device mmcblk0p2, logical block 758704
Oct 12 13:50:12 raspberrypi kernel: [ 135.040255] Buffer I/O error on device mmcblk0p2, logical block 758705
Oct 12 13:50:12 raspberrypi kernel: [ 135.040272] Buffer I/O error on device mmcblk0p2, logical block 758706
Oct 12 13:50:12 raspberrypi kernel: [ 135.040291] Buffer I/O error on device mmcblk0p2, logical block 758707
...
Oct 12 13:50:12 raspberrypi kernel: [ 135.042509] EXT4-fs warning (device mmcblk0p2): ext4_end_bio:251: I/O error writing to inode 4876 (offset 263897088 size 524288 starting block 774188)
Oct 12 13:50:16 raspberrypi kernel: [ 139.168879] JBD2: Detected IO errors while flushing file data on mmcblk0p2-8
Oct 12 13:50:17 raspberrypi kernel: [ 140.716760] mmc0: final write to SD card still running
Oct 12 13:50:27 raspberrypi kernel: [ 150.733336] mmc0: Timeout waiting for hardware interrupt - cmd12.
Oct 12 13:50:27 raspberrypi kernel: [ 150.734596] mmcblk0: error -110 sending stop command, original cmd response 0x900, card status 0x900
Oct 12 13:50:32 raspberrypi kernel: [ 155.630136] JBD2: Detected IO errors while flushing file data on mmcblk0p2-8
hdparm results WITH config/cmdline tweaks (at 750/250/+0):dom wrote: and let me know if the corruption has gone, and whethergives the expected result.Code: Select all
sudo hdparm -t /dev/mmcblk0
Code: Select all
pi@raspberrypi ~ $ sudo hdparm -t /dev/mmcblk0
/dev/mmcblk0:
Timing buffered disk reads: 52 MB in 3.11 seconds = 16.70 MB/sec
Code: Select all
pi@raspberrypi ~ $ sudo hdparm -t /dev/mmcblk0
/dev/mmcblk0:
Timing buffered disk reads: 52 MB in 3.12 seconds = 16.68 MB/sec

Thanks for testing, but I do believe your problem is different from the usual core_freq>=300 => corruption.milhouse wrote:Not sure what the "expected result" should be - should the SD card performance be the same as before, or noticeably different? Wondering if the tweaks had any effect on my setup...
I can confirm that the addition of these emmc settings does NOT make a stock system any worse than before (based on brief testing, a handful of dd runs - no corruption or worrisome log entries observed).dom wrote: Can you confirm with stock (core_freq=250, over_voltage=0, arm_freq=700, sdram_freq=400) that the addition of the two emmc settings makes your system no worse than before?

Thanks.milhouse wrote:I can confirm that the addition of these emmc settings does NOT make a stock system any worse than before (based on brief testing, a handful of dd runs - no corruption or worrisome log entries observed).
I'm trying with Turbo Mode with your settings and there is no corruption (yet).dom wrote:@Tompen @portets (and others)
Can you please try (in config.txt)and in cmdline.txtCode: Select all
init_emmc_clock=100000000and let me know if the corruption has gone, and whetherCode: Select all
sdhci-bcm2708.emmc_clock_freq=100000000gives the expected result.Code: Select all
sudo hdparm -t /dev/mmcblk0
This should work with existing kernels.

Do you get corruption without my settings?gaston wrote: I'm trying with Turbo Mode with your settings and there is no corruption (yet).
I get corruption almost immediately without your settings with the Turbo mode.dom wrote:Do you get corruption without my settings?gaston wrote: I'm trying with Turbo Mode with your settings and there is no corruption (yet).

That sounds promising then. Fingers crossed this fix works.gaston wrote: I get corruption almost immediately without your settings with the Turbo mode.
Theres no recommended - every RPi setup seems to be different and what you can achieve seems to depend on your RPi/your software versions/your SD Card/your PSU and whatever else you've got plugged in and whatever your actually doing with it.What are the current recommended overclock settings and what firmware should I be using?
dom, if not turbo mode, but fx 950Mhz (or 900Mhz or something else!).dom wrote:@Tompen @portets (and others)
Can you please try (in config.txt)and in cmdline.txtCode: Select all
init_emmc_clock=100000000and let me know if the corruption has gone, and whetherCode: Select all
sdhci-bcm2708.emmc_clock_freq=100000000gives the expected result.Code: Select all
sudo hdparm -t /dev/mmcblk0
This should work with existing kernels.
Code: Select all
init_emmc_clock=95000000Code: Select all
sdhci-bcm2708.emmc_clock_freq=95000000
No. emmc clock should be fixed at 100MHz. Doesn't matter what the arm or core frequency is.mcmanuf wrote:Dom, if not turbo mode, but fx 950Mhz (or 900Mhz or something else!).
Should the two lines above then beandCode: Select all
init_emmc_clock=95000000Code: Select all
sdhci-bcm2708.emmc_clock_freq=95000000

Yes, core_freq_min or sdram_freq_min would cause this. I'd guess you need 100-200MHz for each of those to maintain a 1080p display.ZirconiumX wrote:Though I know this shouldn't be in the overclocking forum - setting the *_freq_min settings makes my HDMI blank out. It works fine without them.