Showing posts with label Troubleshooting. Show all posts
Showing posts with label Troubleshooting. Show all posts

Sunday, May 2, 2010

DNS Issue

I recently solved a problem with my ISP's DNS lookup. Google Chrome was waiting forever on loading pages that weren't already DNS cached. I could tell this because they spent a long time on the "Resolving Host" phase, then they would report back with "Page Unavailable".

Further diagnosis included using cmd tools. I used `nslookup` in order to force responses from my local ISP's DNS. While the responses didn't usually take more than a few seconds, there was definitely a problem somewhere. I then changed my DNS in windows to use the Google Public DNS. This seems to have solved my issue.

While I'm aware that DNS lookup on the Google servers would probably take slightly longer than my ISP's, Google doesn't have the problem of timing out on ever uncached request. I've been using Google Public DNS for 4 days now, and everything is just awesome.

Google Public DNS Servers are:
  • 8.8.8.8
  • 8.8.4.4

Sunday, October 18, 2009

The Troublesome Laptop

So I have this Dell Inspiron 5150, which are notorious for having hardware failures. This particular laptop only worked occasionally. The original user thought it was a heating issue, definitely a common problem with this model.

However, this laptop is actually a victim of a bad RAM seat. The DIMM B bus is going bad, and has cost me a memory module. It took a while to diagnose but the main thing I noticed that lead me to the RAM was the intermittent failures both in booting and freezing while running.

I began to get the message, "The amount of system memory has changed. Press F1 to continue..." And after that the piece of RAM in that slot started to have read errors in some sectors. I upgraded the RAM in DIMM A with a 1GB stick and haven't had a problem since. The DIMM B slot remains empty.

While troubleshooting the hardware I also found out that the memory slots are directly connected to the motherboard and would require me to replace the main board in order to fix it.

Tuesday, February 17, 2009

Computer Freezes or Restarts at mup.sys

I just recently fixed a computer with this issue. What had happened was, the computer was restarted while Windows XP was in the middle of loading a system restore point.

After some research I determined that after mup.sys is loaded in safe-mode the computer begins to look at registry entries. And since system restore reverts you registry, the computer would not boot due to registry corruption.

The solution:
Manually do / finish the system restore.
This is easy if you know where the files are that you are looking for. But be very careful, because you can do some serious damage if you don't know what you are doing or don't do it correctly.

There are five different registry files. They are System, SAM, Software, Security, and Default.

The registry files that are loaded are in:
Windows\system32\config\

The default registry files from the initial install are in:
Windows\repair\

And finally System Restore Points are saved in:
[Windows Drive]\System Volume Information\_restore{[GUID]}\RP###\snapshot\

There are a few ways you can restore the system, the easiest one is probably this way:
  • Stick the harddisk into a working computer (NOT recommended if cause was a virus.)
  • Load up windows and go into the new harddisk.
  • Make sure you can see/access system folders.
    (Tools -> Options... View and uncheck "Hide Protected Operating System Files.")
    (For folder access either modify permissions or share the folder.)
  • Go into the system32\config folder and backup the five files in there.
  • Navigate to the desired system restore point folder, and choose the desired restore point folder. These will be by date created. (Usually you want the most recent one.)
  • Copy the files into the config folder and rename them to replace the existing ones. (i.e. SAM, SECUTIRY, SOFTWARE, SYSTEM, and DEFAULT.) Make sure you delete the '.' on default. Naming must be exact.
  • Once you have copied the desired restore point registry files, you can put the harddisk back in the original computer and try booting it again. Everything should be OK.

A more complex method:
  • Boot from the Windows XP CD, and choose 'R' for Recovery Console.
  • Log onto the broken copy of Windows.
  • Use the copy command to back up the files in the config folder.
    cd system32\config
    copy software software.bak
    ect...
  • Use the copy command to restore the original registry.
    cd ..
    cd ..
    cd repair
    copy software C:\windows\system32\config
    ect...
  • Once all five registry files have been copied. Restart the system and adjust the clock in the bios to last month.
  • Boot the OS from the harddisk. (Recommended boot in Safe-Mode.)
  • Now navigate to the "System Volume Information" Folder. (see above...)
  • Pick the proper restore point and copy the files into a temporary directory. Remember where this directory is. A good one would be C:\regtemp.
  • Once all the files are copied, reboot and go back into recovery console.
  • Copy the restore point files from the temp directory into system32\config.
  • Reboot and your system should be restored to that restore point.

Note: You may get some errors and some requests to re-activate Windows. You can ignore the errors and just follow the re-activation prompt to do it over the internet. It should re-activate with no issues.