Difference between revisions of "MacBuild Intel Checklist"

From FreekiWiki
Jump to navigation Jump to search
(→‎Build: added usplash.conf mods and checking for smp with dual processors)
 
(177 intermediate revisions by 10 users not shown)
Line 1: Line 1:
==Build==
+
=Getting Started=
  
{| fontname="Helvetica" fontsize="12" border="1"
+
==Visual inspections==
|-
+
*'''What kind of computer are you working on?''' Is it a tower, laptop, all-in-one? Does it have an Intel or PPC processor?  What's the model number printed on the bottom (if you can read it, mark it on your triage checklist)?
|width="40%" align="center"|Steps
+
*'''Check for damage'''
|width="53%" align="center"|Notes/Detailed Instructions
+
If the case is dirty, clean it off with a rag. If the (laptop) battery looks beaten up or warped, change it with a good one.
|width="7%" align="center"|Done
 
|-
 
  
||
+
==Set Up Your Computer==
|-
+
'''SEE MACBUILD SPECS TO DETERMINE WHAT KINDS OF HARDWARE YOU SHOULD BE INSTALLING IN THE COMPUTER YOU ARE REBUILDING'''
| Attach keyboard/mouse, monitor, network cable, and power cord (as necessary) ||
+
===Towers:===
||
+
*Replace RAM with tested memory (if we have the appropriate tested RAM)
|-
+
*If the computer has an Intel processor, install a hard drive with a Xubuntu image installed
| Clear the PRAM ||
+
*If the computer has a PPC processor, install a blank hard drive
While starting up, hold the '''Option+Apple+p+r''' keys.  Continue holding the keys until the system chimes three timesRelease the keys after the third chime is heard and shift quickly to the '''Option+Apple+o+f''' keys.
+
===Laptops:===
||
+
*Find the appropriate power supply for your laptop.  Check the bottom of the laptop for power requirements.  Ask your instructor if you can't find this.
|-
+
*Laptop RAM is never tested before being installed, so you can leave the RAM the computer came with for the moment
| Set the system clock and NVRAM in Open Firmware ||
+
*For MacBooks -- replace the HDD with an imaged one
While starting up, hold the '''Option+Apple+o+f''' keys.  Release the keys when the Open Firmware prompt comes up.  Run the following command:
+
*For iBooks, MacBook Pros and other hard-to-work-on laptops, leave the HDD where it is and you'll follow directions to wipe it later
decimal dev rtc [sec min hour day month year] set-time
+
*Attach keyboard/mouse, monitor, network cable, and power cord (as necessary)
All values aside from the year should be two-digit numbers in 24-hour formatThe year should be a four-digit number.  Additionally, the clock needs to be set to UTC, so remember to add 7 hours to the current time if on regular time or 8 hours during Daylight Saving Time. For example, to set the clock to 1:58 PM on September 18th, 2009, the command would be
+
===iMacs:===
  decimal dev rtc 00 58 20 18 09 2009 set-time
+
*INTEL: HDDs are difficult to install, so you'll wipe the drive and install an operating system following the directions in this packet laterRAM is easy to install, but it's laptop-sized memory, which we only test in systems, so it's okay to leave the pre-installed RAM where you'll test it later.
To reset the NVRAM type the following commands in the specified order:
+
*PPC: HDDs are difficult to install, so you'll wipe the drive following the directions in this packet laterDepending on the model, RAM is easy to install.  Check the model number on iFixit.com to see which one you have. Ask your instructor for clarification.
reset-nvram
 
set-defaults
 
reset-all
 
  
The system will reboot after the '''reset-all''' command is entered.
+
=OS X Triage=
||
 
|-
 
  
||
+
==Booting into OS X==
|-
+
There are a couple of ways to boot into OSX 10.  Apple computers tend to boot to external hard drives more reliably, but the hard drives themselves are not as reliable as the network. As of writing this, Photobooth is not available on network boots, so if you are working on a computer with a built-in camera, you should boot to an external drive to test the camera.
| Start the network installation and run badblocks if necessary||
 
To access this install, hold down the '''n''' key (for network) while the computer starts. As soon as the network icon starts blinking on the screen you may release the '''n''' key.
 
  
# At the first boot prompt enter an '''l''' (for linux). At the second boot prompt press "Return" to install the current version of Ubuntu.
+
'''From Network:'''
# The installation will stop at the keyboard selection. Accept the defaults (No or USA) for the next 3 screens and the installation will continue automatically.
+
* Connect ethernet cable from the wall to the system
# If prompted to choose between wired and wireless network choose eth0 (wired)
+
* Hold down the ''N'' key on the keyboard while the system starts up to enter the network boot screen.
# When prompted for a hostname, delete the current entry and enter '''macbox''' in its place
+
 
# When prompted for HD partitioning we need to make a decision.
+
'''From External HDD:'''
## If this is a computer with a wiped and tested hard drive we can accept the default and let the installation proceed.
+
* Connect the OS X 10.5 Firewire HDD to the system
## If this is a computer that needs to have the hard drive tested (coming straight from Mac eval or TARDIS), we need to run '''badblocks'''. To do this we choose "Go Back" and then select "Execute a shell" from the menu. At the prompt type "'''badblocks -wvvf -c1024 /dev/hda'''" and hit enter.  If that command fails, try "'''badblocks -wvvf -c1024 /dev/sda'''" instead. It will take about 3 hours to run badblocks.
+
* Connect the Firewire HDD to a power source
## If there are any bad blocks we must replace the hard drive.
+
* Make sure the Firewire HDD is turned on (there's a power switch on the back of the drive)
## If there are no bad blocks, you can proceed with the installation. To do this type "exit" to leave the shell, select "Partition drives" from the list, accept the defaults and the rest of the installation will proceed automatically.
+
* Hold the ''Option'' key on the keyboard while system starts up to enter the Startup Manager
The remainder of the installation will take approximately 30 minutes and the computer will automatically reboot following the installation.
+
* Select the Firewire drive (OS X Testing HDD) from the Startup Manager to boot into OS X
||
+
* If a warning box appears while you are logging in, just click "ignore"
|-
+
 
| Start up Ubuntu ||
+
----
* Log into the system using the username '''oem''' and password '''freegeek'''.
+
 
* If the system has problems starting up, refer to [http://wiki.freegeek.org/index.php/MacBuild_Desktop_Build#Special_Configurations the Special Configurations list]
+
==Confirm hardware==
||
+
*Click on the System Profiler icon in the dock.
|-
+
*Check the '''ATA''' and '''Memory''' sections of ''System Profiler'' to confirm that it matches what you've added to the system so far
| Set up the environment and verify hardware in the system  
+
**If you did not install RAM or a HDD earlier, check the amount of memory now and compare with the [[MacBuild Specs|MacBuild Spec Sheet]]. You can adjust RAM by shutting the computer down and removing or adding RAM at this point.  Remember that you will probably still need to test the RAM
||
+
**If it fails to see the HDD or reports the amount of memory incorrectly, the system may have a bad logic board and end up getting recycled. Ask an instructor for troubleshooting assistance
* Add the Terminal to the panel so it can be launched quickly. You can do this by dragging and dropping the terminal icon to the top task bar.
+
*Check the '''Disc Burning''' section of ''System Profiler'' to see what the optical drive in the system can do
* Check to see if the splash screen has been enabled. To do this open the /etc/usplash.conf file to see if the resolution has been set. If the file is blank then add the appropriate resolution
+
*Fill out the system specs on the Keeper label if they are not already filled out
<code>sudo nano /etc/usplash.conf</code>
+
----
add the following to the file:
+
 
<code>xres=1024 yres=768</code>
+
==Test CD writing==
save the file and then run
+
If you determined that the optical drive in the system can write CD-RWs, do the following:
<code>sudo update-initramfs -u</code>
+
*Erase a rewritable CD disk
To verify the hardware in a system, open up a terminal and run:
+
** Insert a CD-RW disk
sudo lshw
+
** Open up '''Disk Utility''' (Click on the '''Disk Utility''' icon in the dock)
This runs a command called '''lshw''' (which stands for "list hardware") The items to pay attention to are:
+
** Click on the optical drive on the left sidebar of the '''Disk Utility''' window
*Amount of system memory
+
** Click on the ''Erase'' tab that comes up on the right side of the window
** You should be able to find this under the '''memory''' heading in '''lshw'''. It should be the same as the physical amount of memory in the system.
+
** Confirm that it will perform a quick erase, and click on the '''Erase''' button
*Type of optical drive
+
** When the erasing is complete you'll get a dialog box. Choose '''Open Finder''' from the drop down menu and click OK. This will mount the disk on the desktop.  
** This can be found under the '''cdrom''' heading in '''lshw'''.   
+
 
*Presence of wireless card
+
*Write to a blank rewritable disk
** This should be under one of the '''network''' headings.  You should look for an entry that mentions something about "Wireless interface" or "Broadcom".  If that exists, the system has a wireless card.
+
** Select the '''burnme.cdr''' file in the left panel of '''Disk Utility''' and click the '''Burn''' button at the top of Disk Utility.
*This is a good time to shut down the system and install additional memory or a wireless card if they are missing. Ubuntu will not run well with 256MB of memory and will sometimes generate errors that don't occur when 512MB or more memory is installed.
+
** The disk should automatically eject when finished. If the disk icon still appears on the desktop, drag it into the trash.   
* If you have a dual processor machine you may notice that the second processor (cpu1) has "DISABLED" listed after it in lshw. In order to enable the second processor run the following command:
+
----
<code>sudo apt-get install linux-powerpc-smp</code>
+
 
||
+
==Check if WiFi works==
|-
+
*Click on the AirPort icon near the upper-right corner of the screen
| Test CD/DVD data and sound ||
+
*Check to see if the '''Freegeek''' wireless network shows up on the list
# Insert, play, and eject a music CD
+
Disconnect the wired network, select '''Freegeek''' from the list, open up a browser, and navigate to any web page.  If you see the Free Geek click-through page, it works.
# If machine has a CD-RW or DVD-RW, use '''brasero''' to erase a CD-RW disk, and create/burn a new data project.
+
 
# If machine has a DVD drive:
+
----
#* insert a data DVD, inspect directory contents
+
 
||
+
==Stress test the CPU==
|-
+
*Click on the cpu test icon in the dock
| Check if wireless works (if the system has a wireless card) ||
+
*choose primenet as the test type and start test
Use Network Manager to see if you can connect to Free Geek's wireless network. If you can, the wireless card works.
+
**This should take 3-10 minutes
||
+
*If this or any other test fails, mark the printme sheet with the test results and sell the computer as-is, or recycle it - ask your instructor
|-
+
----
| Generate "printme" report for system ||
+
 
#Set up the printer by selecting System - Administration - Printing. When the printers window opens, select server and then settings and click on the top box (access printers shared by other computers). Close the printing window.
+
==Stress test the GPU==
# In a terminal, type '''''printme'''''
+
*Set up the screen saver for the GPU test.
#* Enter your volunteer ID in the Volunteer ID field
+
**Under the Apple menu select '''System Preferences''' > '''Desktops and Screen Saver'''
#* Job should be changed to Builder
+
**Scroll down to the bottom and select '''GPULife'''
#* System ID should be left blank
+
**Select '''Options''', unclick '''limit framerate''' and click '''show framerate'''
#* Type should be changed to Apple
+
**Set '''Zoom''' to '''1''' and click '''OK'''
#* Keeper label type should be set to No Sticker
+
*Drag your mouse arrow to the very bottom right-hand corner of the screen. 
#* Choose whether the computer is covered or not
+
*A black screen should come up with lots of colorful moving dots which are being generated by the GPU.
#* Notes should include the following information:
+
*Look for any artifacting (obvious glitches, lines, popping lights, cross hatching), this points to GPU failure.
#** Version of Ubuntu installed
+
*Check to see that the frames per second number at the bottom left-hand of the screen stays consistent.
#** Any components that show up in lshw (modems, certain wireless cards) that aren't supported by Ubuntu should be listed
+
*If everything looks good after a minute or so, you can exit the screen by moving your mouse out of the corner.
#** Any special issues the machine has
+
*If there are any gross artifacts, such as lines on the screen or a plaid screen, consult your instructor. Occasional white pixels are OK.
# When asked where to print the report, select the printer '''Double'''.
+
----
||
+
==Test the iSight camera (Laptop and iMac only)==
|-
+
*Double click on the OS X Testing HDD icon and then double click on Applications. Double click on the Photo Booth application to open it. If you can see yourself in the Photo Booth application the camera works.
| Power down the system, attach the printme sheet, and take to the store or place on storage shelf as appropriate.||
+
----
||
+
 
|}
+
==Check The Battery (laptop only)==
 +
*Select the Coconut Battery icon from dock. Note the battery capacity (not the current charge) and remember that we will need to enter this value in the Notes portion of the printme sheet. For example: "according to Coconut Battery the battery has 67% of original capacity".
 +
----
 +
 
 +
==Test the memory==
 +
This test should only be run if you were not able to install all tested memory (anything with Laptop RAM or older iMacs)
 +
*Open "rember" by clicking on the icon in the dock.
 +
*click OK, leave selected default settings, and run the test.
 +
** The test should take 5-30 minutes depending on the amount of RAM and the speed of the processor. With large amounts of RAM (over 1.0 GB) it may take up to an hour.
 +
* If any memory fails the test, replace it with good tested memory
 +
----
 +
 
 +
==Bless the Hard Drive==
 +
*Open a terminal and type
 +
sudo bless --device /dev/disk0s1 --setBoot --legacy
 +
* You will be prompted for your password, enter "freegeek". It will look like nothing happened, but it worked!
 +
----
 +
 
 +
=Next Steps=
 +
Once you have finished all of these steps, the computer is ready for a QC.  Check in with your instructor to check if there is time left in the shift for you to finish this yourself.  If there is time, the instructions for the QC Checklist are [[MacBuild Intel QC Checklist|here]]. If the shift is nearly over, please put your tools away and clean up your area to prepare the space for the next shift.
 +
 
 +
 
 +
[[Category:Macintosh Archive]]
 +
<br>
 +
<br>
 +
[[MacBuild Intel Checklist en Espanol | En Espanol]]

Latest revision as of 12:18, 21 February 2014

Getting Started

Visual inspections

  • What kind of computer are you working on? Is it a tower, laptop, all-in-one? Does it have an Intel or PPC processor? What's the model number printed on the bottom (if you can read it, mark it on your triage checklist)?
  • Check for damage

If the case is dirty, clean it off with a rag. If the (laptop) battery looks beaten up or warped, change it with a good one.

Set Up Your Computer

SEE MACBUILD SPECS TO DETERMINE WHAT KINDS OF HARDWARE YOU SHOULD BE INSTALLING IN THE COMPUTER YOU ARE REBUILDING

Towers:

  • Replace RAM with tested memory (if we have the appropriate tested RAM)
  • If the computer has an Intel processor, install a hard drive with a Xubuntu image installed
  • If the computer has a PPC processor, install a blank hard drive

Laptops:

  • Find the appropriate power supply for your laptop. Check the bottom of the laptop for power requirements. Ask your instructor if you can't find this.
  • Laptop RAM is never tested before being installed, so you can leave the RAM the computer came with for the moment
  • For MacBooks -- replace the HDD with an imaged one
  • For iBooks, MacBook Pros and other hard-to-work-on laptops, leave the HDD where it is and you'll follow directions to wipe it later
  • Attach keyboard/mouse, monitor, network cable, and power cord (as necessary)

iMacs:

  • INTEL: HDDs are difficult to install, so you'll wipe the drive and install an operating system following the directions in this packet later. RAM is easy to install, but it's laptop-sized memory, which we only test in systems, so it's okay to leave the pre-installed RAM where you'll test it later.
  • PPC: HDDs are difficult to install, so you'll wipe the drive following the directions in this packet later. Depending on the model, RAM is easy to install. Check the model number on iFixit.com to see which one you have. Ask your instructor for clarification.

OS X Triage

Booting into OS X

There are a couple of ways to boot into OSX 10. Apple computers tend to boot to external hard drives more reliably, but the hard drives themselves are not as reliable as the network. As of writing this, Photobooth is not available on network boots, so if you are working on a computer with a built-in camera, you should boot to an external drive to test the camera.

From Network:

  • Connect ethernet cable from the wall to the system
  • Hold down the N key on the keyboard while the system starts up to enter the network boot screen.

From External HDD:

  • Connect the OS X 10.5 Firewire HDD to the system
  • Connect the Firewire HDD to a power source
  • Make sure the Firewire HDD is turned on (there's a power switch on the back of the drive)
  • Hold the Option key on the keyboard while system starts up to enter the Startup Manager
  • Select the Firewire drive (OS X Testing HDD) from the Startup Manager to boot into OS X
  • If a warning box appears while you are logging in, just click "ignore"

Confirm hardware

  • Click on the System Profiler icon in the dock.
  • Check the ATA and Memory sections of System Profiler to confirm that it matches what you've added to the system so far
    • If you did not install RAM or a HDD earlier, check the amount of memory now and compare with the MacBuild Spec Sheet. You can adjust RAM by shutting the computer down and removing or adding RAM at this point. Remember that you will probably still need to test the RAM
    • If it fails to see the HDD or reports the amount of memory incorrectly, the system may have a bad logic board and end up getting recycled. Ask an instructor for troubleshooting assistance
  • Check the Disc Burning section of System Profiler to see what the optical drive in the system can do
  • Fill out the system specs on the Keeper label if they are not already filled out

Test CD writing

If you determined that the optical drive in the system can write CD-RWs, do the following:

  • Erase a rewritable CD disk
    • Insert a CD-RW disk
    • Open up Disk Utility (Click on the Disk Utility icon in the dock)
    • Click on the optical drive on the left sidebar of the Disk Utility window
    • Click on the Erase tab that comes up on the right side of the window
    • Confirm that it will perform a quick erase, and click on the Erase button
    • When the erasing is complete you'll get a dialog box. Choose Open Finder from the drop down menu and click OK. This will mount the disk on the desktop.
  • Write to a blank rewritable disk
    • Select the burnme.cdr file in the left panel of Disk Utility and click the Burn button at the top of Disk Utility.
    • The disk should automatically eject when finished. If the disk icon still appears on the desktop, drag it into the trash.

Check if WiFi works

  • Click on the AirPort icon near the upper-right corner of the screen
  • Check to see if the Freegeek wireless network shows up on the list

Disconnect the wired network, select Freegeek from the list, open up a browser, and navigate to any web page. If you see the Free Geek click-through page, it works.


Stress test the CPU

  • Click on the cpu test icon in the dock
  • choose primenet as the test type and start test
    • This should take 3-10 minutes
  • If this or any other test fails, mark the printme sheet with the test results and sell the computer as-is, or recycle it - ask your instructor

Stress test the GPU

  • Set up the screen saver for the GPU test.
    • Under the Apple menu select System Preferences > Desktops and Screen Saver
    • Scroll down to the bottom and select GPULife
    • Select Options, unclick limit framerate and click show framerate
    • Set Zoom to 1 and click OK
  • Drag your mouse arrow to the very bottom right-hand corner of the screen.
  • A black screen should come up with lots of colorful moving dots which are being generated by the GPU.
  • Look for any artifacting (obvious glitches, lines, popping lights, cross hatching), this points to GPU failure.
  • Check to see that the frames per second number at the bottom left-hand of the screen stays consistent.
  • If everything looks good after a minute or so, you can exit the screen by moving your mouse out of the corner.
  • If there are any gross artifacts, such as lines on the screen or a plaid screen, consult your instructor. Occasional white pixels are OK.

Test the iSight camera (Laptop and iMac only)

  • Double click on the OS X Testing HDD icon and then double click on Applications. Double click on the Photo Booth application to open it. If you can see yourself in the Photo Booth application the camera works.

Check The Battery (laptop only)

  • Select the Coconut Battery icon from dock. Note the battery capacity (not the current charge) and remember that we will need to enter this value in the Notes portion of the printme sheet. For example: "according to Coconut Battery the battery has 67% of original capacity".

Test the memory

This test should only be run if you were not able to install all tested memory (anything with Laptop RAM or older iMacs)

  • Open "rember" by clicking on the icon in the dock.
  • click OK, leave selected default settings, and run the test.
    • The test should take 5-30 minutes depending on the amount of RAM and the speed of the processor. With large amounts of RAM (over 1.0 GB) it may take up to an hour.
  • If any memory fails the test, replace it with good tested memory

Bless the Hard Drive

  • Open a terminal and type
sudo bless --device /dev/disk0s1 --setBoot --legacy
  • You will be prompted for your password, enter "freegeek". It will look like nothing happened, but it worked!

Next Steps

Once you have finished all of these steps, the computer is ready for a QC. Check in with your instructor to check if there is time left in the shift for you to finish this yourself. If there is time, the instructions for the QC Checklist are here. If the shift is nearly over, please put your tools away and clean up your area to prepare the space for the next shift.

En Espanol