Announcement

Collapse
No announcement yet.

Electronic Gremlins Attack!

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Electronic Gremlins Attack!

    Several years ago I installed Linux on a friends laptop. He moved to Kubuntu when I moved to Kubuntu.
    A few months ago his wife, a long time Windows fan, asked me find out why her Windows box was not behaving right. She had taken the box to a local technician but he couldn't find any reason for the symptoms. I found a Trojan keyboard logger vector setting in her MBR. She asked me to replace Windows with Kubuntu on her laptop was on pins and needles the entire weekend, until she could go to the bank, and contact her credit card companies to change her account information.

    A week ago, Oct 29th, he brought his daughter's Gateway 400SD4 laptop to my house. It was a graduation gift to his daughter, who hadn't used it in 3 years, since Windows stopped booting up on it. She wanted me to look at it and see if I could get it was worth fixing and if I could get it running.

    Time is an enemy to dormant electronic equipment. The electrolyte in electrolytic capacitors can corrode their container and leak onto the mobo, corroding traces and other components. On board batteries lose their charge. LiIon batteries can lose too much of their charge and suffer damage. Resistors can lose plasticizers and change resistance values. Seals on displays and harddrives can age and crack, leaking air and moisture into the device, damaging it. Data on harddrives can undergo magnetic creep (2nd Law effects) and smear the O's and 1's, making it harder for parity checks to recover data. (dd if=/dev/sda of=/dev/sda can restore magnetic zones by rewriting data to itself)
    When devices with large capacitors or inductors are turned on their failure can cause other, healthy components to fail ... things like transistors, leds, op amps, etc...

    I turned it on. Windows XP would not boot. I hit F2 and looked at the battery and HD info. The LiIon battery was 0% charged. The HD data looked good. The BIOS date was correct, but the time was not. That particular CMOS battery supposedly had 2 years left of its shelf life. That was strong enough to toggle the data counter once a day, but not enough to toggle the timer each millisecond.

    I put Kubuntu 10.4 into the CDROM and rebooted. It came up. I connected an ethernet cable from my wireless to it and clicked on the Install Icon. I gave it the entire HD and twenty minutes later I had a brand new shiny Kubuntu KDE desktop. I installed the multimedia codecs, FireFox and a few other apps. My friend and I sat there making small talk about how easy Kubuntu went onto that old computer. When I tried to move the mouse it wouldn't. The keyboard wouldn't work either. I hit the power button and rebooted. A long string of track and sector errors rolled off the screen.

    Bad HD? I rebooted the LiveCD, ran hdparam and found 79 bad blocks in the last 10GB of the 40GB HD. in a console ran "fdisk -l /dev/sda". It gave an CHS setting that didn't look like what was showing in the BIOS. The capacity was 40GB alright, but C=7552000, not the 4806 value that fdisk showed. I checked the BIOS again and noticed that there was an "OS type" setting that had "DOS" in it. I toggled the value and saw "Other" as the only other option, which was for "Unix and Novell and other OSs". OK. I saved that setting, exited the BIOS and rebooted the LiveCD. I tried to reinstall but GParted couldn't successfully complete the EXT4 formatting. To avoid the last 10GB I repartitioned the HD so that /dev/sda1 was 30GB and /dev/sda2 was a 500MB swap partition. Gparted still failed in the formatting of sda1.

    Fdisk was still showing the H=4806 value. I booted my floppy of DOS 6.22 and used its fdisk to repartition the HD. On reboot Gparted failed again. I then used "dd if=/dev/zero of=/dev/sda" from the LiveCD to zero the entire HD. Eighteen hours later I booted the LiveCD again. GParted failed again. I used "Boot & Nuke" and started over. Using Puppy I tried partitions of:
    sd1=10GB, sd2=10GB, sd3=10GB, sd4=500MB
    sd1=20GB, sd2=10GB, sd3=500MB
    and several others. ALL the partition attempts wrote to the HD without errors. ALL failed to format properly.

    I used FreeDOS's fdisk to repartition the HD. I booted PCLinuxOS OpenBox and in its Konsole I used "dd if=/dev/zero of=/dev/sda1 bs=512 count=1" to clear the boot sector. I tried to install OpenBox. It failed at the conclusion of the EXT4 format.

    It is now Sunday afternoon, Nov 7. I had used the entire week trying to get the HD to work, or at least part of it. I decided to force the CHS settings using cfdisk from the Puppy 5.11 LiveCD (built on Ubuntu 10.4), despite warnings it could trash the HD. What could I lose?

    cfdisk -z -g -c=7552000 -h=16 -s=63

    and I formatted sd1 as 30GB and sd2 as 500MB swap. The partition table wrote to the HD without errors. I put PCLinuxOS back in and rebooted.

    I was going to hit the escape key and select the CDROM from the boot menu but before I could do that the HD booted almost instantly and within a few seconds I saw the Kubuntu splash screen! THE VERY SAME installation I had completed a week ago and ran for nearly half an hour before it crashed! I was stunned. HOW could grub, the / directory, or anything on that disk survive what I put it through?

    I expected none of the directories to contain files but everyone I looked at did.
    I ran several applications and they all ran find. I put a CPU temperature applet and watched as the Pentium 4 CPU cycled between 129F and 150F. The Pentium 4 M CPU has a max temp of 212F.
    After about 20 minutes the desktop broke and bad sector numbers started rolling down the screen. The HD was, IMO, unrecoverable.

    Yesterday I booted Maveric, unmounted sda1 and sda2 and ran the LiveCD for nine hours without problems. As I mentioned elsewhere, I plugged in a DL-650G wireless PCI card and it was detected and configured immediately. After entering my ESSID and password I got a fast connection.
    I am next going to see if it boot and run a USB Kubuntu.



    "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
    – John F. Kennedy, February 26, 1962.

    #2
    Re: Electronic Gremlins Attack!

    Have a bit of spare time on your hands do you?
    Windows no longer obstructs my view.
    Using Kubuntu Linux since March 23, 2007.
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      Re: Electronic Gremlins Attack!

      Not last week! I spent at least 40 hours futzing with that old Gateway 400SD4.

      For $49 I can get a new HD for it. But, it would take $89 for a 2 hr LiIon battery, $18 for a new CMOS ML1225 battery and just to replace the battery I'd have to remove 48 screws, the bezel, the keyboard, the barrier, and then search for the only device on the mobo photo which isn't labeled as a battery. Gateway charges $169 plus costs to replace the battery. My friend didn't like those charges, even though labor was free and I agree with him. Putting $150 into a nearly 8 year old laptop isn't worth it. And THAT assumes that I could take it apart, replace the defective components, and it would still work after I put it back together. I gave him no guarantee on that. Even though it can run a Maverick LiveCD with a DL-650G wireless connection perfectly, it leaves only 15MB for application space. Run just about anything and it slows down to abacus speed. It's laying in the junk pile now.
      "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
      – John F. Kennedy, February 26, 1962.

      Comment


        #4
        Re: Electronic Gremlins Attack!

        Originally posted by GreyGeek

        Putting $150 into a nearly 8 year old laptop isn't worth it. And THAT assumes that I could take it apart, replace the defective components, and it would still work after I put it back together.
        I agree. You realize, of course, that sometimes merely disturbing the dust accumulation is all it takes to accelerate the natural demise of an old piece of electronics ... :P

        Comment


          #5
          Re: Electronic Gremlins Attack!

          Ya, that's where the gremlins hide!
          "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
          – John F. Kennedy, February 26, 1962.

          Comment


            #6
            Re: Electronic Gremlins Attack!

            Originally posted by GreyGeek
            It's laying in the junk pile now.
            That's where it belongs. I have six old laptops in my junk pile that are economically unrepairable. I keep hoping someone will come up with a match, and allow me to make one good one out of two bad ones. Two of them have a bad display. They drive an external monitor fine. Keep hoping for one with a good display. I keep the hard drives and AC adapters. Those have been helpful in several cases. Other useful parts are the memory and the wireless card.

            Comment


              #7
              Re: Electronic Gremlins Attack!

              Running a Maverick LiveCD on that old Gateway I can't do squat because it leaves only 15MB of free memory left. Running Puppy 5.11 I have 245MB of free memory, so there are some apps I can play with, and even after downloading them and installing them in ramfs.

              The main reason I posted that story was because after I got a good install of Kubuntu Maverick and it subsequently crashed, I repeatedly, over the course of a week, redid the HD partitions in a variety of sizes, dd the entire HD, dd'd the MBR, formatted the entire HD several times, all to no avail. When I used "cfdisk -z -g -c 7752000 -h=16 -s=63" and wrote the partition table out and rebooted the original installation of Kubuntu booted and ran with out errors. All those partition changes, dd'ing, and formatting really didn't do anything to the HD at all, even when they finished without errors.

              Really weird.
              "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
              – John F. Kennedy, February 26, 1962.

              Comment


                #8
                Re: Electronic Gremlins Attack!

                Which is why I never throw away a good hard drive.!!

                Comment


                  #9
                  Re: Electronic Gremlins Attack!

                  The only spare HD I have right now is a Hitachi 20GB. It's yours if you want it.

                  Comment


                    #10
                    Re: Electronic Gremlins Attack!

                    Thanks, but it probably wouldn't fit the HD sled that I would have to mount it to in order to plug it into the Gateway. Pins probably wouldn't align either.
                    "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
                    – John F. Kennedy, February 26, 1962.

                    Comment


                      #11
                      Re: Electronic Gremlins Attack!

                      These things are pretty much universal. I never ran into a problem with that. Have to use the caddy and mounting adapter, if so equipped from the old drive. No problem. My digital camera died last week after 5 years of service, or I would send you a picture of it. Ever try to take one of those apart? The screws are even smaller than laptop screws. And when you get inside, you don't have a clue what to do.

                      Comment


                        #12
                        Re: Electronic Gremlins Attack!

                        Below is an image from the 400SD4 service manual showing the HD sled. If you think your HD will fit in that then send me an email with the USPO shipping charges and I'll send you a check.
                        Attached Files
                        "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
                        – John F. Kennedy, February 26, 1962.

                        Comment


                          #13
                          Re: Electronic Gremlins Attack!

                          Originally posted by Detonate

                          Ever try to take one of those apart? The screws are even smaller than laptop screws.
                          Huh! I installed a SSD in my Toshiba NB205 netbook a few weeks back. The drive cover is held on by two Torx T6 screws. Have you ever seen a T6 driver? Have you ever tried to find one?

                          On the old IDE drives, I have a small collection of oldies that I'd be willing to send off to anyone who wants to pay the postage. I'm away from home atm so I can't post model numbers, but there's a Quantum in there, a Hitachi Deskstar, and a couple of Maxtors, if memory serves. The Quantum and Maxtors are less than 10GB, the Hitachi is maybe 30GB. They all "work", meaning they never failed, they just got replaced by larger drives.

                          Comment


                            #14
                            Re: Electronic Gremlins Attack!

                            From my scanner. I'm pretty sure it will work.



                            Uploaded with ImageShack.us

                            Comment


                              #15
                              Re: Electronic Gremlins Attack!

                              The scanner didn't get mad at you after scanning something made of metal?
                              Multibooting: Kubuntu Noble 24.04
                              Before: Jammy 22.04, Focal 20.04, Precise 12.04 Xenial 16.04 and Bionic 18.04
                              Win XP, 7 & 10 sadly
                              Using Linux since June, 2008

                              Comment

                              Working...
                              X