XO 1.5 Hardware Information and Updating

The XO 1.5 arrived here with build 201.  Right now, the latest build is 206.  I downloaded the files and updated the XO 1.5 per the instructions here:  http://wiki.laptop.org/go/Release_notes/10.1.1

Flashing it took about 10 minutes, versus the old XO’s typical 5 minutes.  That’s to be expected, however, given the amount of storage is about quadruple.


I powered up, and was prompted to enter my name and choose my color, just like any Sugar install.  Connecting to my network went as usual.  Once I got an IP, I went back to my desktop to scan the XO 1.5.

root@anna-desktop:~# nmap -sS 192.168.1.2

Starting Nmap 5.00 ( http://nmap.org ) at 2010-08-26 16:47 CDT
Interesting ports on 192.168.1.2 (192.168.1.2):
Not shown: 997 closed ports
PORT     STATE SERVICE
22/tcp   open  ssh
5298/tcp open  unknown
6000/tcp open  X11
MAC Address: 00:17:C4:A7:4D:83 (Quanta Microsystems)

Nmap done: 1 IP address (1 host up) scanned in 9.36 seconds

Oh, good, ssh is there.  I didn’t initially see the terminal activity in the “Activity Ring” so I hit ctrl+alt+F1 to get a root console and set the password for the olpc user.  Then from my desktop:

ssh olpc@192.168.1.2

And I was in!

The familiar prompt came up:

 Dup dor a’az Mubster!              _____/    Bonjour, enfants du monde!
 Ciao, bambini di tutto il mondo!   || o ||    ¡Hola, chicos del mundo!
 Hallo, Kinder der Welt!            |._X_.|    Hallo, kinderen van de wereld!
 Hello, children of the world!     //_=_=_\   Olá, crianças do mundo!

[olpc@xo-a7-4d-83 ~]$

As an aside, when I ssh’d into the XO 1.5 running 201, which is what it arrived with, I had issues with the power management kicking in and causing my session to hang.  I haven’t noticed that issue with 206.

Let’s see what all’s in /home/olpc

[olpc@xo-a7-4d-83 ~]$ ls -alh
total 128K
drwxr-xr-x 24 olpc olpc 4.0K 2010-08-26 21:42 .
drwxr-xr-x  4 root root 4.0K 2010-08-26 21:40 ..
drwxr-xr-x 40 olpc olpc 4.0K 2007-11-02 12:00 Activities
-rw-r–r–  1 olpc olpc   18 2007-11-02 12:00 .bash_logout
-rw-r–r–  1 olpc olpc  176 2007-11-02 12:00 .bash_profile
-rw-r–r–  1 olpc olpc  124 2007-11-02 12:00 .bashrc
-rw-r–r–  1 olpc olpc   13 2010-08-26 21:42 .boot_time
-rw-r–r–  1 olpc olpc   11 2010-08-26 21:40 .boot_time.prev
drwxr-xr-x  3 olpc olpc 4.0K 2010-08-26 21:40 .config
drwx——  3 olpc olpc 4.0K 2010-08-26 21:40 .dbus
drwxr-xr-x  2 olpc olpc 4.0K 2010-08-26 21:40 Desktop
drwxr-xr-x  2 olpc olpc 4.0K 2010-08-26 21:40 Documents
drwxr-xr-x  2 olpc olpc 4.0K 2010-08-26 21:40 Download
drwxr-xr-x  2 olpc olpc 4.0K 2010-08-26 21:40 .fontconfig
drwx——  3 olpc olpc 4.0K 2010-08-26 21:42 .gconf
drwx——  2 olpc olpc 4.0K 2010-08-26 21:42 .gconfd
drwxr-xr-x  2 olpc olpc 4.0K 2007-11-02 12:00 .gnome2
dr-x——  2 olpc olpc    0 2010-08-26 21:42 .gvfs
-rw-r–r–  1 olpc olpc   19 2010-08-26 21:40 .i18n
-rw-r–r–  1 olpc olpc  441 2010-08-26 21:42 .imsettings.log
drwxr-xr-x 11 olpc olpc 4.0K 2007-11-02 12:00 Library
drwxr-xr-x  2 olpc olpc 4.0K 2010-08-26 21:40 .library_pages
drwxr-xr-x  4 olpc olpc 4.0K 2007-11-02 12:00 .mozilla
drwxr-xr-x  2 olpc olpc 4.0K 2010-08-26 21:40 Music
-rw-r–r–  1 root root    2 2010-08-26 21:40 .olpc-configured
drwxr-xr-x  2 olpc olpc 4.0K 2010-08-26 21:40 Pictures
drwxr-xr-x  2 olpc olpc 4.0K 2010-08-26 21:40 power-logs
drwxr-xr-x  2 olpc olpc 4.0K 2010-08-26 21:40 Public
drwxr-xr-x  2 olpc olpc 4.0K 2007-11-02 12:00 .scim
drwxr-x—  3 olpc olpc 4.0K 2010-08-26 21:40 .sugar
drwxr-xr-x  2 olpc olpc 4.0K 2010-08-26 21:40 Templates
drwxr-xr-x  2 olpc olpc 4.0K 2010-08-26 21:40 Videos
-rw-r–r–  1 olpc olpc  551 2007-11-02 12:00 .xsession-example

There are a lot of activities…

[olpc@xo-a7-4d-83 ~]$ ls -alh Activities/
total 160K
drwxr-xr-x 40 olpc olpc 4.0K 2007-11-02 12:00 .
drwxr-xr-x 24 olpc olpc 4.0K 2010-08-26 21:42 ..
drwxr-xr-x  9 olpc olpc 4.0K 2007-11-02 12:00 Browse.activity
drwxr-xr-x  6 olpc olpc 4.0K 2007-11-02 12:00 Calculate.activity
drwxr-xr-x  5 olpc olpc 4.0K 2007-11-02 12:00 Chat.activity
drwxr-xr-x  8 olpc olpc 4.0K 2007-11-02 12:00 Colors.activity
drwxr-xr-x  5 olpc olpc 4.0K 2007-11-02 12:00 Distance.activity
drwxr-xr-x  4 olpc olpc 4.0K 2007-11-02 12:00 Etoys.activity
drwxr-xr-x  7 olpc olpc 4.0K 2007-11-02 12:00 Finance.activity
drwxr-xr-x  5 olpc olpc 4.0K 2007-11-02 12:00 GetBooks.activity
drwxr-xr-x  4 olpc olpc 4.0K 2007-11-02 12:00 Help.activity
drwxr-xr-x  6 olpc olpc 4.0K 2007-11-02 12:00 ImageViewer.activity
drwxr-xr-x  5 olpc olpc 4.0K 2007-11-02 12:00 Implode.activity
drwxr-xr-x 10 olpc olpc 4.0K 2007-11-02 12:00 InfoSlicer.activity
drwxr-xr-x  5 olpc olpc 4.0K 2007-11-02 12:00 Jukebox.activity
drwxr-xr-x  8 olpc olpc 4.0K 2007-11-02 12:00 Labyrinth.activity
drwxr-xr-x  5 olpc olpc 4.0K 2007-11-02 12:00 Log.activity
drwxr-xr-x  4 olpc olpc 4.0K 2007-11-02 12:00 Maze.activity
drwxr-xr-x  6 olpc olpc 4.0K 2007-11-02 12:00 Measure.activity
drwxr-xr-x 10 olpc olpc 4.0K 2007-11-02 12:00 Memorize.activity
drwxr-xr-x  6 olpc olpc 4.0K 2007-11-02 12:00 Moon.activity
drwxr-xr-x  8 olpc olpc 4.0K 2007-11-02 12:00 Paint.activity
drwxr-xr-x  8 olpc olpc 4.0K 2007-11-02 12:00 Physics.activity
drwxr-xr-x  9 olpc olpc 4.0K 2007-11-02 12:00 Pippy.activity
drwxr-xr-x  6 olpc olpc 4.0K 2007-11-02 12:00 Read.activity
drwxr-xr-x  8 olpc olpc 4.0K 2007-11-02 12:00 Record.activity
drwxr-xr-x  8 olpc olpc 4.0K 2007-11-02 12:00 Scratch.activity
drwxr-xr-x  8 olpc olpc 4.0K 2007-11-02 12:00 Speak.activity
drwxr-xr-x  5 olpc olpc 4.0K 2007-11-02 12:00 StopWatch.activity
drwxr-xr-x  8 olpc olpc 4.0K 2007-11-02 12:00 TamTamEdit.activity
drwxr-xr-x  8 olpc olpc 4.0K 2007-11-02 12:00 TamTamJam.activity
drwxr-xr-x  8 olpc olpc 4.0K 2007-11-02 12:00 TamTamMini.activity
drwxr-xr-x  8 olpc olpc 4.0K 2007-11-02 12:00 TamTamSynthLab.activity
drwxr-xr-x  6 olpc olpc 4.0K 2007-11-02 12:00 Terminal.activity
drwxr-xr-x  8 olpc olpc 4.0K 2007-11-02 12:00 TurtleArt.activity
drwxr-xr-x  8 olpc olpc 4.0K 2007-11-02 12:00 TypingTurtle.activity
drwxr-xr-x 10 olpc olpc 4.0K 2007-11-02 12:00 Wikipedia.activity
drwxr-xr-x 10 olpc olpc 4.0K 2007-11-02 12:00 WikipediaEN.activity
drwxr-xr-x  4 olpc olpc 4.0K 2007-11-02 12:00 Words.activity
drwxr-xr-x  5 olpc olpc 4.0K 2007-11-02 12:00 Write.activity

I see the Terminal Activity in this directory, so I wonder why it doesn’t show up in the home view.  Here’s a screenshot so you can see I’m not imagining it.

Screenshot

Look at all this space!

[olpc@xo-a7-4d-83 ~]$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mmcblk0p2        3.5G  1.6G  2.0G  45% /
tmpfs                  47M     0   47M   0% /dev/shm
/tmp                   47M   96K   47M   1% /tmp
varcacheyum           464M     0  464M   0% /var/cache/yum
vartmp                 47M  8.0K   47M   1% /var/tmp
varlog                 19M  248K   19M   2% /var/log
/dev/mmcblk0p1         62M   17M   43M  29% /bootpart

Let’s see what we’re running here…

[olpc@xo-a7-4d-83 ~]$ cat /etc/issue
OLPC OS 10.1 for XO-1.5 (build 206)
Kernel r on an m (l)

[olpc@xo-a7-4d-83 ~]$ cat /etc/redhat-release
OLPC release 10 (based on Fedora 11)

[olpc@xo-a7-4d-83 ~]$ uname -a
Linux xo-a7-4d-83.localdomain 2.6.31_xo1.5-20100607.1740.1.olpc.ead3d3e #1 PREEMPT Mon Jun 7 17:44:38 EDT 2010 i686 i686 i386 GNU/Linux

You need to be root to look at the hardware info.  Luckily “sudo su -” works like it always has on the XO.

[olpc@xo-a7-4d-83 ~]$ dmidecode
# dmidecode 2.10
/dev/mem: Permission denied
[olpc@xo-a7-4d-83 ~]$ sudo su –
[root@xo-a7-4d-83 ~]# dmidecode
# dmidecode 2.10
Legacy DMI 2.1 present.
12 structures occupying 376 bytes.
Table at 0x000FFC1F.

Handle 0x0000, DMI type 0, 19 bytes
BIOS Information
    Vendor:  IE8y2D ScD%g4r2bAIFA.
    Version: OLPC Ver 1.00.15
    Release Date: 05/08/2010
    Address: 0xF0000
    Runtime Size: 64 kB
    ROM Size: 1024 kB
    Characteristics:
        PCI is supported
        BIOS is upgradeable
        BIOS shadowing is allowed
        Boot from CD is supported
        Selectable boot is supported
        EDD is supported
        ACPI is supported

Handle 0x0100, DMI type 1, 25 bytes
System Information
    Manufacturer: OLPC
    Product Name: XO
    Version: 1.5
    Serial Number: SHC01601322
    UUID: 6F08F886-C531-A608-1BE5-AA11C1F2E56D
    Wake-up Type: Power Switch

Handle 0x0200, DMI type 2, 8 bytes
Base Board Information
    Manufacturer: QUANTA
    Product Name: XO
    Version: 1.5
    Serial Number: SHC01601322

Handle 0x0300, DMI type 3, 13 bytes
Chassis Information
    Manufacturer: OLPC
    Type: Laptop
    Lock: Not Present
    Version: 1.5
    Serial Number: Not Specified
    Asset Tag: Not Specified
    Boot-up State: Safe
    Power Supply State: Safe
    Thermal State: Safe
    Security Status: External Interface Enabled

Handle 0x0400, DMI type 4, 32 bytes
Processor Information
    Socket Designation: Not Specified
    Type: Central Processor
    Family: Other
    Manufacturer: CentaurHauls
    ID: D0 06 00 00 FF BB C9 A7
    Version: VIA C7-M Processor 1000MHz
    Voltage: 1.2 V
    External Clock: 33 MHz
    Max Speed: 433 MHz
    Current Speed: 433 MHz
    Status: Populated, Enabled
    Upgrade: None
    L1 Cache Handle: 0x0701
    L2 Cache Handle: 0x0703
    L3 Cache Handle: No L3 Cache

Handle 0x0701, DMI type 7, 19 bytes
Cache Information
    Socket Designation: Not Specified
    Configuration: Enabled, Not Socketed, Level 1
    Operational Mode: Write Back
    Location: Internal
    Installed Size: 128 kB
    Maximum Size: 128 kB
    Supported SRAM Types:
        Other
    Installed SRAM Type: Other
    Speed: Unknown
    Error Correction Type: Other
    System Type: Unified
    Associativity: 4-way Set-associative

Handle 0x0703, DMI type 7, 19 bytes
Cache Information
    Socket Designation: Not Specified
    Configuration: Enabled, Not Socketed, Level 2
    Operational Mode: Write Back
    Location: Internal
    Installed Size: 128 kB
    Maximum Size: 128 kB
    Supported SRAM Types:
        Other
    Installed SRAM Type: Other
    Speed: Unknown
    Error Correction Type: Other
    System Type: Unified
    Associativity:

Handle 0x0A01, DMI type 10, 6 bytes
On Board Device Information
    Type: Video
    Status: Enabled
    Description: CON

Handle 0x1001, DMI type 16, 15 bytes
Physical Memory Array
    Location: System Board Or Motherboard
    Use: System Memory
    Error Correction Type: None
    Maximum Capacity: 1 GB
    Error Information Handle: Not Provided
    Number Of Devices: 1

Handle 0x1101, DMI type 17, 21 bytes
Memory Device
    Array Handle: 0x1001
    Error Information Handle: Not Provided
    Total Width: 64 bits
    Data Width: 64 bits
    Size: 1024 MB
    Form Factor: Row Of Chips
    Set: None
    Locator: Soldered
    Bank Locator: Not Specified
    Type: DDR2
    Type Detail: Synchronous

Handle 0x1301, DMI type 19, 15 bytes
Memory Array Mapped Address
    Starting Address: 0x00000000000
    Ending Address: 0x0003FFFFFFF
    Range Size: 1 GB
    Physical Array Handle: 0x0031
    Partition Width: 0

Handle 0x7F01, DMI type 127, 4 bytes
End Of Table

More CPU info:

[root@xo-a7-4d-83 ~]# cat /proc/cpuinfo
processor    : 0
vendor_id    : CentaurHauls
cpu family    : 6
model        : 13
model name    : VIA C7-M Processor 1000MHz
stepping    : 0
cpu MHz        : 997.529
cache size    : 128 KB
fdiv_bug    : no
hlt_bug        : no
f00f_bug    : no
coma_bug    : no
fpu        : yes
fpu_exception    : yes
cpuid level    : 1
wp        : yes
flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge cmov pat clflush acpi mmx fxsr sse sse2 tm nx pni est tm2 xtpr rng rng_en ace ace_en ace2 ace2_en phe phe_en pmm pmm_en
bogomips    : 1995.05
clflush size    : 64
power management:

More memory info:

[root@xo-a7-4d-83 ~]# cat /proc/meminfo
MemTotal:         949252 kB
MemFree:          785600 kB
Buffers:            8100 kB
Cached:            95964 kB
SwapCached:            0 kB
Active:            75584 kB
Inactive:          68968 kB
Active(anon):      41560 kB
Inactive(anon):        0 kB
Active(file):      34024 kB
Inactive(file):    68968 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:             0 kB
SwapFree:              0 kB
Dirty:                 0 kB
Writeback:             0 kB
AnonPages:         40504 kB
Mapped:            27084 kB
Slab:              12428 kB
SReclaimable:       7016 kB
SUnreclaim:         5412 kB
PageTables:         1788 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:      474624 kB
Committed_AS:     126276 kB
VmallocTotal:     334276 kB
VmallocUsed:       82540 kB
VmallocChunk:     250200 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       4096 kB
DirectMap4k:        9412 kB
DirectMap4M:      958464 kB

Looks like we’re using a separate boot partition here.

[root@xo-a7-4d-83 ~]# fdisk -l

Disk /dev/mmcblk0: 3965 MB, 3965190144 bytes
32 heads, 32 sectors/track, 7563 cylinders
Units = cylinders of 1024 * 512 = 524288 bytes
Disk identifier: 0x00000000

        Device Boot      Start         End      Blocks   Id  System
/dev/mmcblk0p1   *           9         136       65536   83  Linux
/dev/mmcblk0p2             137        7372     3704832   83  Linux

There’s tons of space on /var/cache/yum, so “yum update” ran OK, unlike the original XO running os850 where I have to mount a usb drive on /var/cache/yum.  Updates did take awhile, but finally completed.

The next order of business was to go ahead and request a developer key.  I was curious if a collection key would work like it does with the original XO, but it didn’t.  So I opened the browse activity and requested it the “traditional” user way.  I could have also gone to https://activation.laptop.org/devkey/post/ and entered the SN and UUID I got from the dmidecode output.

2 thoughts on “XO 1.5 Hardware Information and Updating”

Leave a Reply