Tests/SD card
Insert the SD card
Justification: Self
Actions:
- Rotate the XO's monitor 90 degrees counterclockwise so the SD slot is accessible.
- Push the SD card into the slot (on the underside of the screen, far right) until you hear it click.
- Rotate the XO's monitor 90 degrees clockwise, so that it aligns with the keyboard.
Verify:
- That the monitor is able to rotate properly.
- That the SD card fits into the slot properly.
- That the SD card slides in properly and clicks.
Notes: While it's always easy to get an SD card in properly, clicking it in immediately isn't always easy - it sometimes gets slightly stuck. This shouldn't be much of a problem, but it can trigger a very nasty bug detailed in the next section.
Check the log
Justification: Self
Actions
- Press Ctrl+Alt+Groups (F2) to get to the console.
- Login as "root."
- Type "dmesg | tail."
Verify:
- That no error messages are displayed in the log.
- That the following message (slightly altered depending on the type/size of the SD card you insert) appears:
PM: Adding info for mmc:mmc0:1234 mmcblk0: mmc0:1234 SD512 497152KiB mmcblk0: p1
Notes: Sometimes, if the SD card got stuck halfway through insertion, a long string of error messages will appear on the screen.
Mount the SD card
Justification: Self
Actions:
- Type "mount /dev/mmcblk0p1 /mnt" in the console.
Verify:
- That no error messages are displayed in the log.
- That you have successfully mounted the card.
Notes: If you received error messages while inserting the SD card, this step will fail. You will receive the message "mount: You must specify the filesystem type."
Justification: Self
Actions
- Type "cd /mnt" in the console.
- Type "pwd" in the console.
- Type "ls" in the console.
Verify:
- That no error messages are displayed in the log.
- That you successfully move to /mnt.
- That your location is displayed as "/mnt" is displayed after you type "pwd."
- That typing "ls" displays two files: "test" and "vmlinuz-2.6.18-20061031.10.olpc.2a1ac1000865f321"
Editing data on the SD card
Justification:
Actions
- Type "cat > /mnt/test2" in the console.
- Type some text, then press ctrl+D
- Type "ls" in the console.
- Type "rm test2" in the console.
- Type "ls" in the console.
Verify:
- That no error messages are displayed in the log.
- That the ls command indicates that test2 has been created properly.
- That the later ls command indicates that test2 has been removed properly.
Unmount the SD card
Justification: Self
Actions
- Type "umount /mnt" in the console.
- Type "cd .." to leave /mnt.
- Type "umount /mnt" to unmount the SD card.
- Type "pwd" in the console.
- Type "cd /mnt" in the console.
- Type "ls" in the console.
Verify:
- That no error messages are displayed in the log.
- That you receive the message "umount: /mnt: device is busy" when you first tr to unmount.
- That typing "umount /mnt" the second time successfully unmounts the SD card.
- That typing "pwd" displays "/" as your location.
- That typing "ls" after entering "/mnt" displays nothing.
Remove the SD card
Justification: Self
Actions
- Rotate the XO's monitor 90 degrees counterclockwise.
- Push in on the card so that it pops out.
- Pull the SD card out of the SD slot.
Verify:
- That the SD card pops out far enough for you to fit your fingers around it. **
- That the SD card slides out smoothly.
Notes: As has been well-documented, most SD cards get stuck when you try to pop them out. While they do pop out, they don't pop out nearly far enough -they're still almost fully inside the slot. I had to use pliers to get one of the cards out.