Slashdot Mirror


Diagnostic Tools for Testing 2nd Hand Machines?

tom asks: "Buying second hand computers you always run a risk. I was wondering if the slashdot readers could suggest a toolbox of (preferably small) tools that you could take along with you on one or two floppy's so you could run some diagnostics on machines you would consider buying. I'm thinking of the checkdisks, benchmark programs, soundcard checks, USB checks etc."

46 comments

  1. Linux by TriCCer · · Score: 1

    How about a linux or freebsd bootdisk?

    --
    c0w goes moo.
  2. Bootable Linux by pythorlh · · Score: 3, Informative

    Maybe one of href=http://slashdot.org/article.pl?sid=02/08/04/0 00205&mode=nested&tid=106

    --
    Do not confuse duty with what other people expect of you; they are utterly different.Duty is a debt you owe to yourself.
    1. Re:Bootable Linux by DasBub · · Score: 2, Informative

      For the Copy & Paste impaired:

      Knoppix, a feature-rich GNU/Linux distro that boots from and lives on a CD.

    2. Re:Bootable Linux by Admiral+Lazzurs · · Score: 1

      You mean for the people in Linux who use GNOME2!

  3. Well now. by Neck_of_the_Woods · · Score: 3, Informative

    The best bet that I have found with buying systems that are used, in bulk is just to go ahead and assume that they are all broke. Assume nothing is going to work right, and factor in how much it is going to cost you in time to get something working and if it is worth it. I had the luck of running up on about 20 p2 systems a year back and purchased them for 30 bucks each, assuming that everything in them was hosed and the most I could get out of them was one or 2 parts on average. I got more on most, 1/2 had failed drives was the biggest problem. Followed by hosed motherboards. All in all I got about 12 full systems out of the 20, and gave them away like candy to people I knew that needed them. Ended up keeping 3 for myself. It all ended well, but assume they are hosed and you will not end up on the short end.

    Good luck,

    --
    Neck_of_the_Woods
    #/usr/local/surf/glassy/overhead
  4. ZipSlack by joeljkp · · Score: 1

    ZipSlack perhaps? http://www.slackware.com

    --
    WeRelate.org - wiki-based genealogy
  5. memtest by kraf · · Score: 2, Informative

    see subj.

    1. Re:memtest by arb · · Score: 1

      Somebody mod this guy up! This is most definitely not flamebait - he's referring to a tool called memtest.

  6. memtest86 by josepha48 · · Score: 3
    if you are buying intel hardware memtest86 is probably the best thing to start with. (http://www.memtest86.com/)

    This will check the compuiter memory but may take a while.

    Also you could LInux on a floppy or NetBSD/FreeBSD/Linux on a cdrom and see how it detects the hardware, by looking at the outputs of dmesg, and a few other things like that.

    --

    Only 'flamers' flame!

    1. Re:memtest86 by raxhonp · · Score: 0

      Thanks a lot. Never heard about that tool before but I already like it.

      But does someone knows about generic tools that could perform diagnostics on the other basic parts of a computer: the motherboard and the CPU. It could for instance be a linux boot disk tailored to report every issues found (and why not also the harware configuration: chipset, IRQ, ...).

    2. Re:memtest86 by josepha48 · · Score: 3, Informative
      dmesg has this kind of output. Also on a LInux distro you can look at the /proc filesystem. /proc/pci tells all sorts of info about the PCI bus and what is attached. It tells the Bus, device, function, USB stuff, Ethernet stuff, etc. All devices on pci. Alternatively you could use lspci as well. Below is the output of lspci:

      00:00.0 Host bridge: Intel Corporation 440BX/ZX - 82443BX/ZX Host bridge (rev 03)
      00:01.0 PCI bridge: Intel Corporation 440BX/ZX - 82443BX/ZX AGP bridge (rev 03)
      00:04.0 ISA bridge: Intel Corporation 82371AB PIIX4 ISA (rev 02)
      00:04.1 IDE interface: Intel Corporation 82371AB PIIX4 IDE (rev 01)
      00:04.2 USB Controller: Intel Corporation 82371AB PIIX4 USB (rev 01)
      00:04.3 Bridge: Intel Corporation 82371AB PIIX4 ACPI (rev 02)
      00:09.0 Ethernet controller: Accton Technology Corporation SMC2-1211TX (rev 10)

      If the CPU was bad the system would probably not boot. I have not heard of to many intel CPUs being bad, but I'm sure a

      --

      Only 'flamers' flame!

    3. Re:memtest86 by raxhonp · · Score: 0

      Yep, you got it, thanks again (too bad I don't have moderation points left).

      Now, let's go a little bit further. On old computers, the usual problem I have is to find the IRQ and IO of ISA cards. Sometimes I first install windoze just to have them. Any clue?

    4. Re:memtest86 by josepha48 · · Score: 2
      Yes use the -vv option of lspci it will give IRQ's for all PCI devices. Also cat /proc/interrupts, as this will tell what is on what IRQ. EG:

      0: 280187814 263632587 IO-APIC-edge timer

      0 is the irq of the timer in this case and it is adual cpu system. ide usually sits on 14 and 15, etc.

      /proc/dma tells of what dma are in use. /proc/cpuinfo tells whole bunches of cpu info, like processor, speed, vendor, extensions, stepping, etc..

      look at /proc. the /proc/irq diretory has hte irqs as well, then there is /proc/scsi if you have scsi and there are files that tell vendor make and model of scsi devices.. there is whole lots of info here.

      --

      Only 'flamers' flame!

    5. Re:memtest86 by raxhonp · · Score: 1

      Yes, but it doesn't solve the issue with the ISA cards. Using old boxes to, for instance, build a firewall more often means having to mess with IRQ and IO assigned to given ISA cards. What is the easiest way to find out the proper settings. Once again, the solution is for me to install a windoze something and write down the settings on a piece of paper. But what a waste of time. Any nicer solution?

    6. Re:memtest86 by josepha48 · · Score: 2
      For isa pnp devices there is always pnpdump. This outputs the pnp devices.

      For other isa hardware dmesg is probably your best bet. If you compile a kernel with most isa drivers in it it would detect the isa card and should put in the /proc filesystem info on the card. In the case of none pnp isa cards you can look at the jumpers and see what irq they are at. If it is a sound card and it is an old soundblaster it is probably irq 5 or 7. NIC, are probably 7 or 11. Most older hardware may not have usb either so that may not be a concern. I'd probably take a boot floppy and a cd.

      Oh and if you watch your computer boot up the screen that flashes for a second or two has ALL The info about your hardware. In fact just going into the bios will in many cases tell you your CPU speed , your hard drive size (use the detect harddrive option) and many other things.

      I still say dmesg will tell you lots, even isa stuff.

      --

      Only 'flamers' flame!

  7. MemTest86 by Nynaeve · · Score: 1

    MemTest86
    This is an memory tester that boots from a floppy. I use it frequently, and it works very well - a must-have for a testing toolkit.

  8. Get a booting -from CD distro + Compile the kernel by pruneau · · Score: 2
    My .5 cents.

    If you manage to get a --on floppy or --on cd distro, make sure you have a compiler and enough room to extract the linux kernel sources, and watch out for signal 11.

    It's usually a goot burn test/benchmark of disk/cpu/memory.
    --
    [Pruneau /\o^O/\ warranty void if this .sig is removed]
  9. Your brain - then some very basic tools by ivan256 · · Score: 3, Informative

    I don't know about it fitting on a floppy disk, but the best thing you can bring along is in your head already. Base the price you're going to pay on what the terms of the deal are. As is, no refunds? Assume they're all broken, and price accordingly. Guaranteed working? For how long? Again, base your price mainly on the terms, not on the equipment.

    After that, there are some simple things you can do to find out what you're getting, assuming they'll let you test every unit. I've written some shell scripts the I've got in an initrd with busybox that I burned to a CD that tells you if the machine can boot, and if so, what hardwhere is in it. It looks for PCI devices, SCSI disks, IDE disks, memory... Basically any info you can pull out of proc. It formats it all nicely on a single screen, so you don't need to type anything, and you spend 45 seconds at a machine max. There's no need for a full OS with apps, or a bootable distribution. I have a single floppy version as well, but it won't find every SCSI device. If you'd like a copy, send me an e-mail.

  10. Case and power supply is all by shoppa · · Score: 2
    IMHO the most likely things to be salvaged from an old PC are the case and power supply. Make sure the case will take a new ATX motherboard, and be sure the power supply has enough oomph to run the new motherboard.

    Others might quibble about testing the existing (small) hard drives, floppy drive, and CD-ROM, but I'd just count on trashing these items. They're cheap and plentiful new. Besides, if you're buying massive numbers of machines to administer in a giant cluster, you probably don't need or want any removable media on each machine.

    Same goes for whatever existing motherboards might be in the machines. If they're a couple years old you'd probably have to go hunting around the net to find BIOS updates etc. to make them work with your peripherals. It's not worth the time, especially with decent new motherboards available for a half-hour's pay.

    1. Re:Case and power supply is all by Anonymous Coward · · Score: 0

      > IMHO the most likely things to be salvaged from an old PC are the case and power supply. Make sure the case will take a new ATX motherboard, and be sure the power supply has enough oomph to run the new motherboard.

      Sometimes, not even that. Older cases don't allow for ventilation/fans to support new Athlon-based motherboards that really benefit from good case cooling.

      I recently replaced an older PC, and needed to replace the case for this reason. It was a "Rats!" decision, but I didn't want to risk the new CPU due to poor cooling.

  11. Well.... by qurob · · Score: 1


    Spin-Rite checks HD's

    An older Norton Utilities (mid-90's) should do the trick for other items

    Micro-Scope tool kit works great for most anything you can think of

    1. Re:Well.... by Nynaeve · · Score: 5, Informative

      Hard drive testing programs:
      IBM -- Drive Fitness Test
      Maxtor -- Powermax
      Western Digital -- Data Lifeguard Tools Utilities: DLGDIAG
      Seagate -- SeaTools
      Fujitsu -- Diagnostic Tool
      NOTE: Some of these tools may work with all drives, but this (free) collection should cover quite a few drives.

    2. Re:Well.... by Anonymous Coward · · Score: 0

      Linux bootdisk -- badblocks(8).

  12. DOS, the Diagnostics OS by the+way,+what're+you · · Score: 2, Funny

    Bring along a DOS 6.22 boot disk. It contains several useful commands, including chkdsk (check disk), dir (detect incorrect RAM), command (complete machine diagnostics) and fc (fix computer). Happy hunting!

    --
    example.org - powered by Linux!
    1. Re:DOS, the Diagnostics OS by Anonymous Coward · · Score: 0

      Don't forget msd (M$ Diagnostic)!

  13. Intel or other?? by RCO · · Score: 1

    Most of the posts that I've seen so far pertain to Intel based systems, but I know I've had this question a number of times when I was looking at systems that weren't Intel based. Does anyone have suggestions concerning the rest of the hardware out there???

    --
    'And all the monkeys aren't in the zoo Every day you meet quite a few...'
    1. Re:Intel or other?? by nelsonal · · Score: 1

      Its all pretty specific to each system then, but my advice would be learn the system report command for each OS that you are interested in purchasing, since most of them originally had an OS you can learn quite a bit about the internals. Also learn the ideosyncracies of the manufacturer's comps. I had a friend with a perfectly good Alpha that's network card was only recognised under WindowsNT, because it wasn't the original DEC card. Also you generally cant pick up proprietary stuff for nearly as cheap (under about $200) as old intel stuff, unless its total crap.

      --
      Degaussing scares the bad magnetism out of the monitor and fills it with good karma.
    2. Re:Intel or other?? by RCO · · Score: 1

      Sounds about right, Your suggestion is basically what I've been doing, I just wanted to find out if maybe I was missing something simple. I know they used to put out POST cards for Intel systems, that you could plug into the MB, and when you powered the system up, it would attempt to test most of the hardware on the MB. At this point though the hardware present on the MB is so varied, etc. that I haven't seen many of those POST cards in recent years. I thought maybe there was something similar for the other hardware bases. Thanks.

      --
      'And all the monkeys aren't in the zoo Every day you meet quite a few...'
    3. Re:Intel or other?? by Anonymous Coward · · Score: 0

      I forgot to mention that the ARS forums, especially the Unix forum is a good place to look for some of the individual tweeks and things to look for in a system. They get occasional deals through their trading forum, but ebay & dovebid are better places to look.

  14. Re:Get a booting -from CD distro + Compile the ker by Anonymous Coward · · Score: 0

    hey pruneau va licher canelle

  15. SETI@home by rainer_d · · Score: 3, Insightful

    If you have the time, try running the SETI@home-client for 24h - and then install FreeBSD, make world, compile KDE3, mozilla and OpenOffice from ports.
    (>6 GB disk-space needed, though)

    SETI will bring the CPU to the limit. If it's overclocked and/or badly cooled or otherwise unstable, you'll see that quickly.

    The rest will stress-test your IO-capabilities ;-)

    If it survives all that, then it looks like you can trust the system quite a bit.

    Rainer

    --
    Windows 2000 - from the guys who brought us edlin
    1. Re:SETI@home by qurob · · Score: 1

      Insightful?

      If you're buying second hand computers, there's a good chance they might not be the latest and greatest. You might not have 24 hours to run SETI@Home. Swap meet, for example.

      What if you can't connect to the internet to get a SETI data set? What if you don't have the hardware for installing Linux, KDE, etc etc?

    2. Re:SETI@home by rainer_d · · Score: 1

      Well,
      don't blame me for other people's points...

      I did say "_if_ you have the time"...
      My old P200MMX has got some heat-problems which are only visible after some hours of make world.
      I haven't tried, but I guess a simple memtest86 wouldn't do here.
      And if you buy @ebay, this whole article is useless, because you can't even touch the box until UPS or whoever has sent it to you.
      So, yes, I assume he has some time on hand to actually test it.

      --
      Windows 2000 - from the guys who brought us edlin
    3. Re:SETI@home by Fweeky · · Score: 4, Informative
      SETI will bring the CPU to the limit. If it's overclocked and/or badly cooled or otherwise unstable, you'll see that quickly.
      Better to use a dedicated util for this, like CPUBurn, which will exercise the CPU as much as possible to generate heat and verify everything's still working.

      Just because SETI/RC5/etc push CPU usage to 100%, doesn't mean they fully exercise all the various units on the CPU, or even that they'll notice if a bit flips here or there.
    4. Re:SETI@home by vidnet · · Score: 1
      f you have the time, try running the SETI@home-client for 24h - and then install FreeBSD, make world, compile KDE3, mozilla and OpenOffice from ports.

      And if you don't quite feel like getting the computer after that, atleast you've done the owner a big favor (though they might not comprehend that right away, so prepare for a quick getaway)

  16. Re:Get a booting -from CD distro + Compile the ker by raxhonp · · Score: 0

    For my record: what's a signal 11?

  17. Simple tests... by netfist · · Score: 1
    Don't forget IBM's dft tool, which works with most modern hard disks, not only IBM models.

    plain unix method: dd if= bs= of=/dev/null is nice for a simple read test. Watch for console error messages. ;-)

    BTW, what I've found is that a lot of IDE drive errors result from bad cabling, not bad drives!

    The CPU stab test from jv16.org is also quite nice,sadly needs windows...

    *use a dozen or so known good disks ;-)

    1. Re:Simple tests... by netfist · · Score: 1

      sorry, tiredly forgot I was using html formatting. line was dd if=drive under test bs=like, 1m for hdd, 8k for fdd of=/dev/null

  18. For old machines, use old software. by Deagol · · Score: 3, Insightful
    My favorite pre-web ftp site (after the original SIMTEL archive went down) was Garbo: ftp://garbo.uwasa.fi. It's web-enabled now (change "ftp" to "http" in the url), though most stuff is really dated now.

    Scrounge around the "sysinfo" and "sysutil" directories. There are a bunch of old utils that do what you're looking for.

    There was a german DOS utility. I can't remember the name, but I think it was simply "config" (or was it "pcconfig" or "pcinfo"?). Anyway, that utility could identify damned near anything in a PC (CPU, chipsets, memory, motherboard, etc.) and it ran some diagnostics. I tried to locate it again for this post, but I couldn't find it. If anyone knows where it went...

    1. Re:For old machines, use old software. by Deagol · · Score: 3, Informative

      Sorry for the self-reply! The util was called PC-CONFIG, and it's at http://www.holin.com. Great package. It's shareware, though. The prices are reasonable, however.

  19. My Mini-CD Consists of.. by xchino · · Score: 2, Insightful

    I cary a 3.5" mini cd full of diagnostics programs for winblows, because god knows you need them when dealing with windows and windows users. Here is a list of what's on the disc. First of all it's a basic MS-DOS bootable disk with all the functionality of a regular MS-DOS boot CD (fdisk, format, edit, etc) and a few utilities such as
    Fresh Diagnose
    VNC server and viewer
    NessusWX
    Fresh Diagnose is an excellent benchmark/testing utility.
    VNC is for accessing remote desktops (Great for lazy people such as myself)
    NessusWX is a windows interface for Nessus security scanner. A must for checking default installations of any OS.
    All the extra utilites are freeware. MS-DOS is of course copyrighted.

    hth

    --
    Everyone is entitled to their own opinion. It's just that yours is stupid.
  20. Linux bootdisk ideas by Deagol · · Score: 2
    To stress the memory, I use both stream (memory benchmark util) and memtest86 (as others have pointed out). For stressing disks, I use bonnie or bonnie++ (disk IO benchmark). To check for bad media, use the "badblocks" command -- it'll destroy any data, so be careful!

    I use the dnetc client (distributed.net) to tax the CPU.

  21. Re:Get a booting -from CD distro + Compile the ker by orangesquid · · Score: 2

    ~$ gcc explanation_of_signal11.c
    gcc: Internal compiler error: program cc1 got fatal signal 11
    ~$ damn. maybe he/she will follow that link and understand it, then.
    sh: damn.: command not found
    ~$ exit
    logout

    --
    --TheOrangeSquid Is it any wonder things seem so awry? We swim in a sea of confusion and don't have to think to survive
  22. Re:Get a booting -from CD distro + Compile the ker by raxhonp · · Score: 1, Funny

    ~$ make understand
    make: *** No rule to make target `understand'. Stop.

  23. autoruns by skotte · · Score: 2

    here's an interesting one. let's say you (or someone you know) has just bought a brand new computer. or more or less new. or at any rate you know it works.

    but the blarsted thing starts all this junk up when the machine boots! everything fFrom media players, to monitor controllers, to printer and scanner watchdogs, almost certainly some schedule apps, and maybe a couple virusscanners! untold ram is just being gnashed away by a string of programs sitting in the systray!

    so, i always, when i go to look at a fFriend's new computer, take autoruns fFrom www.sysinternals.com . conveniently shows every thing which is scheduled to boot fFrom anywhere in the registry or startup directory. lovely lovely app.

    that, and a nice task manager (there are many available.) i like A.T.M.

  24. Old DOS program called Troubleshooter by BigBlockMopar · · Score: 2

    My suggestion is an ancient DOS program called Troubleshooter. (ts.exe)

    It fits on a floppy, boots, tells you all sorts of stuff, including checking CD-ROM drives, multimedia, video cards, convergence and purity checks for monitors in various modes, everything.

    Does memory, CPU, bus tests, hard disk tests.

    The only problem is that it's older than Pentium MMX, and I've never seen a newer version. It identifies a Pentium, including the speed, but not MMX. I tried it on a 500MHz Celeron, and it told me that I had a 760MHz Pentium. I tried it on a 1.5 GHz Athlon and it told me that I had a 2500MHz K6.

    It's less useful for IDing machines now, but it's still great for doing hardware tests.

    --
    Fire and Meat. Yummy.