Bienvenido! - Willkommen! - Welcome!

Bitácora Técnica de Tux&Cía., Santa Cruz de la Sierra, BO
Bitácora Central: Tux&Cía.
Bitácora de Información Avanzada: Tux&Cía.-Información
May the source be with you!

Wednesday, September 29, 2010

SSDs life span

Source Edited by G.Abhinav:
For those who don't know, here are the links on how SSDs work, why they've got only limited number of write / erase cycles, and why MLC SSDs have a very short life-span as compared to SLC SSDs.
The entire article is in itself quite informative, and you should read it if you've the time to do so.
So now you know that every write / erase means the clock of doom is ticking closer to zero hour for your SSD. The clock ticks ten times faster if you've got a MLC SSD which is what is relatively common. So to protect the data and money you've invested in your SSDs, you definitely need to make them last longer.
But you've got lots of things in Windows, that are an indispensable part of the OS, that keep writing or erasing data a huge number of times without your knowledge. Most of these can be avoided or at least made to operate in such a way that they don't harm your SSDs, and now we'll look at them:
1. Defragmentation software :
Defragmentation software consolidates files by moving all the fragments of a file to one place i.e., to adjacent sectors in a HDD, or adjacent cells in a SSD. In this process, it erases data from some cells and writes them into other cells. Keep doing it daily or even weekly, you're going to end up exceeding the write / erase cycles too quickly for your liking.
And for SSDs, defragmenting is totally unnecessary. You see, in HDDs, the seek head has to move over various sectors and hence it has a read time in the order of miliseconds. So it'd help reduce this seek time noticeably by defragmentation when you place all parts of the file sequentially in order to eliminate the necessity of searching through the entire platter.
But with SSDs, there are no moving parts and the SSD already knows in which cell each part of the file is written and so seek time is thousands of times still less; it's in microseconds, and so however heavily a file is fragmented, the SSD knows exactly where every fragment is, and any amount of fragmentation is not going to affect the seek time of SSDs and hence read time for that file.
So remember to disable defragmentation of any SSD volume that you might be having.

2. Logs and disk clean up utilities :
Logs are another problem because data is being constantly written to the SSD's cells. If you're going to use some disk clean up utility, it'll simply delete the data in those cells. So those cells would have been made to undergo one write / erase cycle everytime the utility cleans up your SSD. And contnuation of the log will be written to other cells (because of wear-levelling) and they will also be made to undergo similar such unnecessary write / erase cycles.
So the best thing is to do is not maintain logs, but if you do need them, like temperature logs for CPU, GPU, etc.. then see if you can change the directory of where a log file is being written. If you can change it, then ensure that the directory does not point to a SSD volume. But most of the logs are maintained by Windows and can't be relocated and so the best thing to do will be to let them be as such and use the clean up utility a lot less frequently.
3. Internet Explorer browser cache and default downloads folder :
The content of every website visited is written to a small browser cache. Within that cache itself, data gets written and rewritten many times. Add to that the number of times you delete that internet cache (or some disk clean utility does it for you) and you end up with a very large number of write / erase cycles.
So you can change the directory of the browser cache and ensure that this directory does not point to a SSD volume. So now, the temporary internet files no longer get written into your SSD. You should also change the default directory where the files you download are saved to, when using download managers, and let the new directory not be on a SSD volume.

4. Instant messaging :
Whenever you send Instant mesages or have PC to PC voice chats, the typed messages, or spoken sound files are written as very small files to the SSD before being sent to the other person (it's in a folder which is either the installation folder of the IM software or located in Application Data or Local settings) and then they are deleted after the chat.

Again, these write / erase wears SSD cells. Try installing the program in a mechanical HDD instead of SSD if the IM files are saved to the installation folder. If it's otherwise and the files are written inside Application data or Local settings, only the program creator should alter the program to suit SSDs. Additionally, if you've read through the entire article I've linked this post to, you'll find writing of very small packets of data into most MLC SSDs by itself causes problems.
5. Page file :
Page file or virtual memory is a portion of the HDD, or a particular number of cells of a SSD that's used as if it were RAM. Now data gets written, erased and rewritten into the page file a staggering number of times every minute. And this data is the page file constantly changes with the dynamism of the data in the RAM. So your SSD will hardly last a year if it has got the page file in it.
And wear levelling algorithms will constantly change the cells that act as page file and so you'll end up with all of the cells of the SSD worn out completely in the blink of an eye. So the best option is to add 2 GB more of RAM and then disable your page file altogether. This simple step will dramatically prolong the life of your SSDs, even if you have the operating system in it.
Or if you're very particular about having a page file, you can change the drive where the paging file is, and have it on a mechanical drive instead, but beware; applications will suffer lags because the mechanical drive involved is not as fast as the SSD and hence the benefits of a SSD will not be fully realized as it is made dependent on a mechanical drive.

6. Registry :
Now coming to the second biggest, but the most incurable problem of all: the Windows registry. It grows constantly everytime you install programs or even simply use Windows, and data entries are also constantly being deleted from the registry. The rate at which registry entries are written / erased is in itself enough to wear out SSDs within a few years. Add to that the fact these are written in very small packets, and that disk caching will not be of much use here.
This is most bugging because there is nothing you can do to translocate the registry to another directory. So this can be resolved only if Microsoft decides to create upcoming versions of Windows optimized for SSDs with registry whose location is left to our choice at the time of installation of the OS. Until then there's nothing we users can do. Perhaps the statement "if SSDs suck, blame Windows and not SSDs" has a lot more veracity in it after all.
7. Intelligent disk management :
The simplest way of all; just don't move files from one partition to another or install or uninstall, or create or delete files and folders unless absolutely necessary.
SSDs are simply great with marvellous read and write speeds, lightning quick access times, great durability and with enormous endurance wherein they can last almost infinitely when you just keep reading files from it.
But when it comes to writing files and erasing them many times over as in normal usage, the real Achilles' heel of the SSDs are exposed and that's where the trouble begins with them. This happens to be the sole aspect in which HDDs beat them.

Startup Repair does not fix problem

Windows NT 6.1 (Vista /7) no longer starts, and Startup Repair does not fix problem:
http://support.microsoft.com/kb/934540/en-us

A Windows Vista-based or Windows 7-based computer does not start because the master boot record (MBR) has been corrupted. When you try to use the Startup Repair tool to fix the MBR, the Startup Repair tool reports that no problem was found.

Note You can access the Startup Repair tool on the Windows Vista or Windows 7 installation disc that is appropriate for your version of Windows.

View the article in the Microsoft Knowledge Base:
927392
You can use the Bootrec.exe tool in the Windows Recovery Environment (Windows RE) to troubleshoot and repair the following items in Windows Vista or Windows 7:
  • A boot sector
  • A Boot Configuration Data (BCD) store
Note When you are troubleshooting startup issues by using the Windows RE, you should first try the Startup Repair option in the System Recovery Options dialog box. If the Startup Repair option does not resolve the issue, or if you must troubleshoot more steps manually, use the Bootrec.exe tool.
To run the Bootrec.exe tool, you must start Windows RE. To do this, follow these steps:
  1. Put the Windows Vista or Windows 7 installation disc in the disc drive, and then start the computer.
  2. Press a key when you are prompted.
  3. Select a language, a time, a currency, a keyboard or an input method, and then clickNext.
  4. Click Repair your computer.
  5. Click the operating system that you want to repair, and then click Next.
  6. In the System Recovery Options dialog box, click Command Prompt.
  7. Type Bootrec.exe, and then press ENTER.
Note To start the computer from the Windows Vista or Windows 7 DVD, the computer must be configured to start from the DVD drive. For more information about how to configure the computer to start from the DVD drive, see the documentation that is included with the computer or contact the computer manufacturer.

Bootrec.exe options

Note If rebuilding the BCD does not resolve the startup issue, you can export and delete the BCD, and then run this option again. By doing this, you make sure that the BCD is completely rebuilt. To do this, type the following commands at the Windows RE command prompt:
  • bcdedit /export C:\BCD_Backup
  • c:
  • cd boot
  • attrib bcd -s -h -r
  • ren c:\boot\bcd bcd.old
  • bootrec /RebuildBcd
The Bootrec.exe tool supports the following options. Use the option that is appropriate for your situation.

/FixMbr

The /FixMbr option writes a Windows 7 or Windows Vista-compatible MBR to the system partition. This option does not overwrite the existing partition table. Use this option when you must resolve MBR corruption issues, or when you have to remove non-standard code from the MBR.

/FixBoot

The /FixBoot option writes a new boot sector to the system partition by using a boot sector that is compatible with Windows Vista or Windows 7. Use this option if one of the following conditions is true:
  • The boot sector has been replaced with a non-standard Windows Vista or Windows 7 boot sector.
  • The boot sector is damaged.
  • An earlier Windows operating system has been installed after Windows Vista or Windows 7 was installed. In this scenario, the computer starts by using Windows NT Loader (NTLDR) instead of Windows Boot Manager (Bootmgr.exe).

/ScanOs

The /ScanOs option scans all disks for installations that are compatible with Windows Vista or Windows 7. Additionally, this option displays the entries that are currently not in the BCD store. Use this option when there are Windows Vista or Windows 7 installations that the Boot Manager menu does not list.

/RebuildBcd

The /RebuildBcd option scans all disks for installations that are compatible with Windows Vista or Windows 7.
Additionally, this option lets you select the installations that you want to add to the BCD store. Use this option when you must completely rebuild the BCD.

Vista: System Recovery Options

The System Recovery Options menu in this version of Windows contains several tools that can help you recover Windows from a serious error. You can perform repairs to the files that Windows uses to start itself, perform a restore operation using System Restore, and restore your entire computer and system files using backups that you have made previously.
The System Recovery Options menu is on the Windows installation disc. The menu might also be installed on your hard disk if your computer has preinstalled recovery options.
Note

Note

If your computer does not include the System Recovery Options menu, your computer manufacturer might have provided other recovery options. Check the information that came with your computer or go to the manufacturer's website for more information.
System recovery option
Description
Startup Repair
Fixes certain problems, such as missing or damaged system files, that might prevent Windows from starting correctly. When you run Startup Repair, it scans your computer for the problem and then tries to fix it so your computer can start correctly. For more information, see Startup Repair: frequently asked questions.
System Restore
This option helps you restore your computer's system files to an earlier point in time. It's a way to undo system changes to your computer without affecting your personal files, such as e‑mail, documents, or photos. If you use System Restore when the computer is in safe mode, you cannot undo the restore operation. However, you can run System Restore again and choose a different restore point if one exists. For more information, see System Restore: frequently asked questions.
WindowsComplete PC Restore
Restores the contents of your hard disk from a backup. For more information, search Help and Support for "complete PC restore."Windows Complete PC Backup and Restore is not included withWindows Vista Starter, Windows Vista Home Basic, or Windows VistaHome Premium.
WindowsMemory Diagnostic Tool
Scans your computer's memory for errors. For more information, seeHow do I know if my computer has a memory problem?
Command Prompt
Command Prompt replaces the Recovery Console from earlier versions of Windows. Advanced users can use Command Prompt to perform recovery-related operations and also run other command line tools for diagnosing and troubleshooting problems. For more information about command line tools and commands, see Command-line reference for IT Pros

Windows command line interface

Command-line-reference-for-IT-Pros

Command Prompt replaces the Recovery Console from earlier versions of Windows. Advanced users can use Command Prompt to perform recovery-related operations and also run other command line tools for diagnosing and troubleshooting problems. For more information about command line tools and commands, see Command-line reference for IT Pros

Tuesday, September 28, 2010

ZOTAC: CMOS Checksum Bad




zotac.com forum
Did you REALLY clear the CMOS?
1. Pull the power cord out the back.
2. Pull EVERYTHING off the motherboard including internal usb headers, RAM and all power cables so all your left with is the motherboard with attached processor.
3 Pull All Power Cables so absolutely nothing is attached to the power supply
2. Remove CMOS battery.
3. Clear CMOS with Jumper
4. Let Computer sit overnight just to be absolutely sure any capacitors are discharged.
5. Replace CMOS battery
6. Replace CMOS jumoer.
7. Replace RAM and attach power cables to motherboard. Nothing else should be plugged in or attached to the power supply at this point.
8. Attach known working keyboard. (I've had trouble booting previously because my wireless keyboard was running out of batteries)
9. Plug power cord back in press power

...........................................................
How-to POST Test a Motherboard - POWER ON SELF TEST Guide

Recovery method for errors in the BIOS update
If the system doesn't power on and there is no display.
1) Download BIOS.
2) Copy file to USB Flash drive and rename to AMIBOOT.ROM
3) Connect USB Flash drive to USB port.
4) Power on system, press keyboard keys CTRL + HOME and continue to hold keys for 10-15 seconds.
5) When the USB Flash drive LED flash release keys.
6) Wait few minutes and the system will shutdown.
7) The system will turn on and function normally.

........................................................
You can flash the BIOS by using AFUDOS. Here are some steps on how to set it up.
* Use this utility to download FreeDOS and install onto USB drive.
* Copy AFUDOS and the BIOS to the USB drive
* Restart
* Load FreeDOS LiveCD with HiMEM + EMM386
* Change drive to B:\
* Flash the BIOS
Make sure you look at the Readme.txt for the AFUDOS command line. Copy exactly what is in the Readme file. 

..................................................
zotacusa.com/downloads/?cat=124
http://www.computerbase.de/forum/showthread.php?t=745029
Program all Blocks
Destroy CMOS checksum
hab mit afuwin laut zotac homepage mein Bios auf die neueste Version geflasht und vergessen Destroy CMOS Checksum anzuhacken.

Wenn ich jetzt boote schreibt er mir: CMOS Checksum Bad

Soweit so gut, ich hab dann auf F1 ins Setup - Alles auf Default gesetzt und neu gebootet.
Dann hab ich versucht mittels Jumper nen Cmos Reset zu machen. (Umgejumpert, gewartet, zurück gejumpert...noch immer das selbe Problem.
Dann habe ich die Batterie entfernt und ne Zeit lang gewartet...nach dem Wiedereinsetzten meinte er zwar das Uhrzeit/Datum nichtmehr stimmen und ich die einstellen müsste, aber danach wieder der CMOS Checksum Bad Fehler.
Hab dann versucht mit nem bootfähigem USB Stick mittels Afudos nochmal neu zu flashen, das Problem ist nur der USB Stick wird nicht als Bootable Device gefunden (es gibt kein Write Protection im Bios, dass konnte ich mal ausschließen). Mir ist aufgefallen, dass ich ja trotz änderungen im BIOS und mittels F10 speichern und verlassen trotzdem immer wieder die alten Settings geladen werden...








Possible solutions



-------------------------------------


This problem arises when the step to load the default BIOS settings after the flash is not taken. To fix the issue load the default settings in BIOS and perform a reboot. If the problem persists, attempt a re-flash or CMOS reset and then load the default settings and reboot.

--------------------------------------
Reflash the BIOS. I had this issue when I did the upgrade because the default check box for BIOS Image apparently doesn't flash the full BIOS update to the chip. I tried it a second time and checked all the boxes and everything worked great.
--------------------------------------
Use AFUDOS vs. AFUWIN (at least it seemed easiest and worked for me).
Make a DOS bootable USB flash drive and copy AFUDOS.exe and the appropriate .rom file to the flash drive.
After booting to the flash drive, you can use the command line:



AFUDOS xxxxxx.rom /B /P /N /X /C

Where xxxx is your boards .rom file name.
The next re-boot should indicate the CMOS checksum is bad, and ask to reset with defaults. Go ahead and do so.
If the next boot does not start without some sort of checksum error, I expect you have a hardware problem.
Also make sure you did not accidentally leave the CMOS reset jumper in the reset position.
To explain a little from the information I got from your post, there are two seperate issues you are dealing with here.
First is your version of ROM BIOS, which is flashed into a flash memory device somewhere in the motherboard electronics.
The functionality of the BIOS is configured using CMOS memory. I gather that you are able to go into the BIOS and change things (like boot order to boot from the flah drive). If this is true, at least part of your BIOS been re-flashed OK, but you are still getting CMOS checksum errors. While I was re-flashing I also noticed there was something called NVRAM being cleared, which may also be part of your checksum error. 
The organization of CMOS/NVRAM could change from version to version of the BIOS. This could change the checksum validly, so it sounds like you have changes the BIOS, and not the CMOS/NVRAM versions.
The command line options have something to do with the resetting the CMOS, NVRAM and other re-flashing options.
You can determine the meaning of each by typing AFUDOS /? after booting from the flah drive and read the options. I got the options directly from the readme file in the .zip file from Zotac.
Anyway, I would not worry about the memory issue until you get the CMOS reset and working properly. This shows 960M memory size shows up in a number of posts, and is apparently also assoiciated with CMOS memory. Once you get the checksum... fixed this should go away and show the memory correctly again.

Paragon Adaptive Restore 2010 Personal Edition Advanced Recovery CD

freshwap.net/applications
Windows family operating systems are notorious for their excessive sensibility to hardware, especially when it turns to replacement of such a crucial device as HDD controller or motherboard – actually Windows will most likely fail to boot as a result of this operation.
With our Adaptive Restore technology you can forget about that 'excessive sensibility of Windows OS' once and for all. Developed back in 2008, it now enables to make any Win2K system (Windows 2000/XP/Server 2003 and Vista/7/Server 2008) bootable on dissimilar hardware.
Download

APC Back UPS power management SW

PowerChute Personal Edition
(Compatible with APC Back-UPS with communication capabilities)
Easy-to-use, safe system shutdown software with power management functions
Compatible with APC Back-UPS with communication capabilities)

Easy-to-use, safe system shutdown software with power management functions

The ideal choice for home battery backup users.
At the core of PowerChute® Personal Edition is graceful unattended shutdown, which in the event of an extended power outage prevents potential data corruption. Designed for exceptional usability, it provides first-time users with optimal protection based on APC industry-leading power management expertise. Experienced users will appreciate the ability to tailor the software's behavior to their individual circumstances.

Descargar APC Power chute for Windows

PowerChute® Network Shutdown v 2.2.4