Testing Skype connection

I tested Skype connection with Nil (thank you Nil for your patience ! :-) sadly it wasn’t working as expected. There are several things, which make it problematic. First of all XO-1 doesn’t have an Ethernet plug, so all data transfer must go by Wi-Fi (packet loss for voice and video) . Secondary XO-1 only has 256 MB of RAM and being booted into Gnome with Skype started, makes the system eventually unresponsive (Memory runs out and starts lagging). While everything seems to work slowly in the beginning when opening Skype (sound goes through and is received back, video seems to work both ways also) things start to slow down after the call is being established for a while. At the end when the memory runs out, the Skype process freezes and terminates. Then there is also latency to Skype POPs which are probably in the USA streaming the signal accross the ocean. Also the GUI for Skype is a bit too large to be successfully navigated inside the XO-1′s screen and during the videocall.

Skype

Using Skype is possible on XO-1. I followed this manual to get started with it. Except where it asked which GNU/linux release to download I have chosen “Fedora” over “Dynamic”. It seems that with Dynamic release you will face unsatisfied dependancies and it won’t work for you. So once you have the Fedora Skype-<version>.rpm simply use the “yum” package manager as root and do “yum localinstall Skype-<version>.rpm” and it will download required dependancies to install Skype properly.

Mounting SD card

So I followed these instructions to mount my Transcend 16 GB SDHC card into the XO-1. First thing that I noticed was that I pushed it right to the end and it didn’t “click” and it’s about 1 milimeter over the edge. Then here is the dmesg that appears after the SD card is being inserted:

[ 2.745938] Registered led device: mmc0::
[ 2.747135] mmc0: SDHCI controller on PCI [0000:00:0c.1] using DMA
[ 3.266919] mmc0: new high speed SDHC card at address b368
[ 3.318202] mmcblk0: mmc0:b368 SDC 15.0 GiB
[ 3.392893] mmcblk0: p1
[ 4.408920] mmcblk0: r/w command failed, status = 0×80900
[ 4.611077] end_request: I/O error, dev mmcblk0, sector 8200
[ 4.620308] Buffer I/O error on device mmcblk0p1, logical block 1
[ 4.896546] mmcblk0: r/w command failed, status = 0×80900
[ 5.002202] end_request: I/O error, dev mmcblk0, sector 31504376
[ 5.012161] Buffer I/O error on device mmcblk0p1, logical block 3937023
[ 16.842786] mmcblk0: r/w command failed, status = 0×80900
[ 16.848209] end_request: I/O error, dev mmcblk0, sector 8200
[ 16.850030] Buffer I/O error on device mmcblk0p1, logical block 1
[ 16.914889] mmcblk0: r/w command failed, status = 0×80900
[ 16.945514] end_request: I/O error, dev mmcblk0, sector 31504376
[ 16.950040] Buffer I/O error on device mmcblk0p1, logical block 3937023
[ 17.293062] mmcblk0: r/w command failed, status = 0×80900
[ 17.298487] end_request: I/O error, dev mmcblk0, sector 8200
[ 17.300032] Buffer I/O error on device mmcblk0p1, logical block 1
[ 17.344788] mmcblk0: r/w command failed, status = 0×80900
[ 17.411110] end_request: I/O error, dev mmcblk0, sector 8200
[ 17.416801] Buffer I/O error on device mmcblk0p1, logical block 1
[ 17.556801] mmcblk0: r/w command failed, status = 0×80900
[ 17.629402] end_request: I/O error, dev mmcblk0, sector 31504376
[ 17.630348] Buffer I/O error on device mmcblk0p1, logical block 3937023
[ 17.753200] mmcblk0: r/w command failed, status = 0×80900
[ 17.758625] end_request: I/O error, dev mmcblk0, sector 10240
[ 17.760114] Buffer I/O error on device mmcblk0p1, logical block 256
[ 19.609234] mmcblk0: r/w command failed, status = 0×80900
[ 19.615186] end_request: I/O error, dev mmcblk0, sector 16384
[ 19.620948] Buffer I/O error on device mmcblk0p1, logical block 1024
[ 266.379045] mmcblk0: r/w command failed, status = 0×80900
[ 266.384856] end_request: I/O error, dev mmcblk0, sector 8196
[ 266.390541] Buffer I/O error on device mmcblk0p1, logical block 4
[ 266.399015] mmcblk0: r/w command failed, status = 0×80900
[ 266.404669] end_request: I/O error, dev mmcblk0, sector 8199
[ 266.410352] Buffer I/O error on device mmcblk0p1, logical block 7
[ 266.435687] mmcblk0: r/w command failed, status = 0×80900
[ 266.441449] end_request: I/O error, dev mmcblk0, sector 8700
[ 266.447126] Buffer I/O error on device mmcblk0p1, logical block 508
[ 267.910160] mmcblk0: r/w command failed, status = 0×80900
[ 267.915587] end_request: I/O error, dev mmcblk0, sector 8714
[ 267.924242] mmcblk0: r/w command failed, status = 0×80900
[ 267.929660] end_request: I/O error, dev mmcblk0, sector 8715
[ 267.937676] mmcblk0: r/w command failed, status = 0×80900
[ 267.943332] end_request: I/O error, dev mmcblk0, sector 8718
[ 267.949569] mmcblk0: r/w command failed, status = 0×80900
[ 267.955272] end_request: I/O error, dev mmcblk0, sector 8719
[ 268.042474] mmcblk0: r/w command failed, status = 0×80900
[ 268.047895] end_request: I/O error, dev mmcblk0, sector 8952

It seems that I can mount it succesfully :

/dev/mmcblk0p1 15744000 29504 15714496 1% /run/media/olpc/9016-4EF8
/dev/mmcblk0p1 15744000 29504 15714496 1% /mnt/test4

Testing write speed:

-bash-4.2# dd if=/dev/zero of=/mnt/test4/test.tmp bs=500K count=1024
1024+0 records in
1024+0 records out
524288000 bytes (524 MB) copied, 304.54 s, 1.7 MB/s

Testing read speed:

-bash-4.2# dd if=/mnt/test4/test.tmp of=/dev/null bs=500K count=1024
1024+0 records in
1024+0 records out
524288000 bytes (524 MB) copied, 102.197 s, 5.1 MB/s

XO-1 dmesg

Here is the output of “dmesg” command for my OLPC XO-1.

[ 0.000000] Linux version 3.3.8_xo1-20121216.0805.olpc.547d7ed (mockbuild@bob.laptop.org) (gcc version 4.7.2 20121109 (Red Hat 4.7.2-8) (GCC) ) #1 PREEMPT Sun Dec 16 08:08:28 EST 2012
[ 0.000000] OFW detected in memory, cif @ 0xff83a960 (reserving top 8MB)
[ 0.000000] Reserving virtual address space above 0xff800000
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e801: 0000000000000000 – 000000000009f000 (usable)
[ 0.000000] BIOS-e801: 0000000000100000 – 000000000e8bbc00 (usable)
[ 0.000000] Notice: NX (Execute Disable) protection missing in CPU!
[ 0.000000] DMI 2.1 present.
[ 0.000000] DMI: OLPC XO/XO, BIOS OLPC Ver 1.00.01 07/09/2012
[ 0.000000] e820 update range: 0000000000000000 – 0000000000010000 (usable) ==> (reserved)
[ 0.000000] e820 remove range: 00000000000a0000 – 0000000000100000 (usable)
[ 0.000000] last_pfn = 0xe8bb max_arch_pfn = 0×100000
[ 0.000000] initial memory mapped : 0 – 00c00000
[ 0.000000] Base memory trampoline at [c009e000] 9e000 size 4096
[ 0.000000] init_memory_mapping: 0000000000000000-000000000e8bb000
[ 0.000000] 0000000000 – 0000400000 page 4k
[ 0.000000] 0000400000 – 000e800000 page 2M
[ 0.000000] 000e800000 – 000e8bb000 page 4k
[ 0.000000] kernel direct mapping tables up to e8bb000 @ bfb000-c00000
[ 0.000000] RAMDISK: 0e8bbfb5 – 0ec00000
[ 0.000000] Allocated new RAMDISK: 0e576000 – 0e8ba04b
[ 0.000000] Move RAMDISK from 000000000e8bbfb5 – 000000000ebfffff to 0e576000 – 0e8ba04a
[ 0.000000] 232MB LOWMEM available.
[ 0.000000] mapped low ram: 0 – 0e8bb000
[ 0.000000] low ram: 0 – 0e8bb000
[ 0.000000] PROM DT: Built device tree with 40960 bytes of memory.
[ 0.000000] Zone PFN ranges:
[ 0.000000] DMA 0×00000010 -> 0×00001000
[ 0.000000] Normal 0×00001000 -> 0x0000e8bb
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] Early memory PFN ranges
[ 0.000000] 0: 0×00000010 -> 0x0000009f
[ 0.000000] 0: 0×00000100 -> 0x0000e8bb
[ 0.000000] On node 0 totalpages: 59466
[ 0.000000] free_area_init_node: node 0, pgdat c07ca0c4, node_mem_map ce394200
[ 0.000000] DMA zone: 32 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 3951 pages, LIFO batch:0
[ 0.000000] Normal zone: 434 pages used for memmap
[ 0.000000] Normal zone: 55049 pages, LIFO batch:15
[ 0.000000] Allocating PCI resources starting at e8bbc00 (gap: e8bbc00:f1744400)
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 59000
[ 0.000000] Kernel command line: console=ttyS0,115200 console=tty0 fbcon=font:SUN12x22 no_console_suspend selinux=0
[ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Initializing CPU#0
[ 0.000000] Memory: 227956k/238316k available (2765k kernel code, 9908k reserved, 1138k data, 240k init, 0k highmem)
[ 0.000000] virtual kernel memory layout:
[ 0.000000] fixmap : 0xff7e5000 – 0xff7ff000 ( 104 kB)
[ 0.000000] vmalloc : 0xcf0bb000 – 0xff7e3000 ( 775 MB)
[ 0.000000] lowmem : 0xc0000000 – 0xce8bb000 ( 232 MB)
[ 0.000000] .init : 0xc07d0000 – 0xc080c000 ( 240 kB)
[ 0.000000] .data : 0xc06b3587 – 0xc07cff00 (1138 kB)
[ 0.000000] .text : 0xc0400000 – 0xc06b3587 (2765 kB)
[ 0.000000] Checking if this processor honours the WP bit even in supervisor mode…Ok.
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] CPU 0 irqstacks, hard=cdc06000 soft=cdc08000
[ 0.000000] Console: colour EGA 80×25
[ 0.000000] console [tty0] enabled
[ 0.000000] console [ttyS0] enabled
[ 0.000000] Fast TSC calibration using PIT
[ 0.000000] Detected 431.205 MHz processor.
[ 0.030007] Calibrating delay loop (skipped), value calculated using timer frequency.. 862.41 BogoMIPS (lpj=4312050)
[ 0.042787] pid_max: default: 4096 minimum: 301
[ 0.047707] Security Framework initialized
[ 0.050127] Mount-cache hash table entries: 512
[ 0.062185] CPU: Geode(TM) Integrated Processor by AMD PCS stepping 02
[ 0.069128] Performance Events: no PMU driver, software events only.
[ 0.074093] devtmpfs: initialized
[ 0.080666] NET: Registered protocol family 16
[ 0.086249] OLPC board revision C2 (EC=58)
[ 0.090896] olpc-xo1-rtc: Initializing OLPC XO-1 RTC
[ 0.096375] PCI: Using configuration type OLPC XO-1
[ 0.105036] bio: create slab <bio-0> at 0
[ 0.111043] SCSI subsystem initialized
[ 0.115047] usbcore: registered new interface driver usbfs
[ 0.120119] usbcore: registered new interface driver hub
[ 0.125617] usbcore: registered new device driver usb
[ 0.130500] Advanced Linux Sound Architecture Driver Version 1.0.24.
[ 0.137007] PCI: Probing PCI hardware
[ 0.140014] PCI: Probing PCI hardware (bus 00)
[ 0.140032] PCI: root bus 00: using default resources
[ 0.140221] PCI host bridge to bus 0000:00
[ 0.144404] pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
[ 0.150019] pci_bus 0000:00: root bus resource [mem 0x00000000-0xffffffff]
[ 0.160064] pci 0000:00:01.0: [1022:0028] type 0 class 0×000600
[ 0.160166] pci 0000:00:01.1: [1022:2081] type 0 class 0×000300
[ 0.160204] pci 0000:00:01.1: reg 10: [mem 0xfd000000-0xfdffffff]
[ 0.160236] pci 0000:00:01.1: reg 14: [mem 0xfe000000-0xfe003fff]
[ 0.160269] pci 0000:00:01.1: reg 18: [mem 0xfe004000-0xfe007fff]
[ 0.160301] pci 0000:00:01.1: reg 1c: [mem 0xfe008000-0xfe00bfff]
[ 0.160334] pci 0000:00:01.1: reg 20: [mem 0xfe00c000-0xfe00ffff]
[ 0.160408] pci 0000:00:01.2: [1022:2082] type 0 class 0×001010
[ 0.160443] pci 0000:00:01.2: reg 10: [mem 0xfe010000-0xfe013fff]
[ 0.160568] pci 0000:00:0c.0: [11ab:4100] type 0 class 0×000501
[ 0.160620] pci 0000:00:0c.0: reg 10: [mem 0xfe020000-0xfe023fff]
[ 0.160792] pci 0000:00:0c.1: [11ab:4101] type 0 class 0×000805
[ 0.160843] pci 0000:00:0c.1: reg 10: [mem 0xfe024000-0xfe027fff]
[ 0.160960] pci 0000:00:0c.1: supports D1
[ 0.160982] pci 0000:00:0c.1: PME# supported from D0 D3hot
[ 0.161069] pci 0000:00:0c.2: [11ab:4102] type 0 class 0×000400
[ 0.161120] pci 0000:00:0c.2: reg 10: [mem 0xfe028000-0xfe02bfff]
[ 0.161284] pci 0000:00:0f.0: [1022:2090] type 0 class 0×000601
[ 0.161318] pci 0000:00:0f.0: reg 10: [io 0x18b0-0x18b7]
[ 0.161349] pci 0000:00:0f.0: reg 14: [io 0x1000-0x10ff]
[ 0.161379] pci 0000:00:0f.0: reg 18: [io 0x1800-0x183f]
[ 0.161410] pci 0000:00:0f.0: reg 1c: [io 0x1880-0x189f]
[ 0.161440] pci 0000:00:0f.0: reg 20: [io 0x1400-0x147f]
[ 0.161471] pci 0000:00:0f.0: reg 24: [io 0x1840-0x187f]
[ 0.161545] pci 0000:00:0f.3: [1022:2093] type 0 class 0×000401
[ 0.161579] pci 0000:00:0f.3: reg 10: [io 0x1480-0x14ff]
[ 0.161676] pci 0000:00:0f.4: [1022:2094] type 0 class 0x000c03
[ 0.161713] pci 0000:00:0f.4: reg 10: [mem 0xfe01a000-0xfe01afff]
[ 0.161779] pci 0000:00:0f.4: PME# supported from D0 D3hot D3cold
[ 0.161853] pci 0000:00:0f.5: [1022:2095] type 0 class 0x000c03
[ 0.161891] pci 0000:00:0f.5: reg 10: [mem 0xfe01b000-0xfe01bfff]
[ 0.161957] pci 0000:00:0f.5: PME# supported from D0 D3hot D3cold
[ 0.164214] PCI: pci_cache_line_size set to 32 bytes
[ 0.164350] reserve RAM buffer: 000000000009f000 – 000000000009ffff
[ 0.164374] reserve RAM buffer: 000000000e8bbc00 – 000000000fffffff
[ 0.165220] Switching to clocksource pit
[ 0.171773] PCI: max bus depth: 0 pci_try_num: 1
[ 0.171822] pci_bus 0000:00: resource 4 [io 0x0000-0xffff]
[ 0.171850] pci_bus 0000:00: resource 5 [mem 0x00000000-0xffffffff]
[ 0.172120] NET: Registered protocol family 2
[ 0.176775] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.184320] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.191753] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.198418] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.204892] TCP reno registered
[ 0.208322] NET: Registered protocol family 1
[ 0.212838] pci 0000:00:01.1: Boot video device
[ 0.270142] PCI: CLS 32 bytes, default 32
[ 0.270403] Trying to unpack rootfs image as initramfs…
[ 0.957877] Freeing initrd memory: 3348k freed
[ 0.968623] HugeTLB registered 4 MB page size, pre-allocated 0 pages
[ 0.976452] JFFS2 version 2.2. (NAND) (SUMMARY) 2001-2006 Red Hat, Inc.
[ 0.984363] msgmni has been set to 451
[ 0.989016] io scheduler noop registered
[ 0.993206] io scheduler cfq registered (default)
[ 1.005163] lxfb 0000:00:01.1: 16384 KB of video memory at 0xfd000000
[ 1.152394] Console: switching to colour frame buffer device 100×40
[ 1.204391] fb0: Geode LX frame buffer device
[ 1.209989] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled
[ 1.490205] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a NS16550A
[ 1.498168] Non-volatile memory driver v1.3
[ 1.503044] AMD Geode RNG detected
[ 1.515393] brd: module loaded
[ 1.519246] cs5535-gpio cs5535-gpio: reserved resource region [io 0x1000-0x10ff]
[ 1.527885] gpiochip_add: registered GPIOs 0 to 31 on device: cs5535-gpio
[ 1.536186] OLPC XO-1 support registered
[ 1.541317] input: Power Button as /devices/pci0000:00/0000:00:0f.0/olpc-xo1-sci-acpi/input/input0
[ 1.553793] input: EBook Switch as /devices/pci0000:00/0000:00:0f.0/olpc-xo1-sci-acpi/input/input1
[ 1.561325] input: Lid Switch as /devices/pci0000:00/0000:00:0f.0/olpc-xo1-sci-acpi/input/input2
[ 1.582964] olpc-xo1-sci-acpi olpc-xo1-sci-acpi: SCI is mapped to IRQ 3
[ 1.600620] cs5535-mfd 0000:00:0f.0: 5 devices registered.
[ 1.619048] NAND device: Manufacturer ID: 0xad, Chip ID: 0xdc (Hynix NAND 512MiB 3,3V 8-bit)
[ 1.626164] 2 NAND chips detected
[ 1.638529] Bad block table found at page 524224, version 0×01
[ 1.644375] Bad block table found at page 524160, version 0×01
[ 1.650288] nand_read_bbt: bad block at 0x000000fe0000
[ 1.665979] nand_read_bbt: bad block at 0x000010fe0000
[ 1.671759] nand_read_bbt: bad block at 0×000022040000
[ 1.687532] nand_read_bbt: bad block at 0x0000220c0000
[ 1.693437] nand_read_bbt: bad block at 0x00002a0c0000
[ 1.709394] nand_read_bbt: bad block at 0x00002e480000
[ 1.715522] nand_read_bbt: bad block at 0x00003a040000
[ 1.723098] Searching for RedBoot partition table in cafe_nand at offset 0×0
[ 1.738903] No RedBoot partition table detected in cafe_nand
[ 1.747990] ehci_hcd: USB 2.0 ‘Enhanced’ Host Controller (EHCI) Driver
[ 1.757772] ehci_hcd 0000:00:0f.5: setting latency timer to 64
[ 1.757798] ehci_hcd 0000:00:0f.5: EHCI Host Controller
[ 1.766519] ehci_hcd 0000:00:0f.5: new USB bus registered, assigned bus number 1
[ 1.800133] ehci_hcd 0000:00:0f.5: cache line size of 32 is not supported
[ 1.800186] ehci_hcd 0000:00:0f.5: irq 10, io mem 0xfe01b000
[ 1.830140] ehci_hcd 0000:00:0f.5: USB 2.0 started, EHCI 1.00
[ 1.850519] hub 1-0:1.0: USB hub found
[ 1.867388] hub 1-0:1.0: 4 ports detected
[ 1.874517] ohci_hcd: USB 1.1 ‘Open’ Host Controller (OHCI) Driver
[ 1.883791] ohci_hcd 0000:00:0f.4: setting latency timer to 64
[ 1.883816] ohci_hcd 0000:00:0f.4: OHCI Host Controller
[ 1.891881] ohci_hcd 0000:00:0f.4: new USB bus registered, assigned bus number 2
[ 1.902320] ohci_hcd 0000:00:0f.4: irq 10, io mem 0xfe01a000
[ 1.960140] Switching to clocksource tsc
[ 2.009831] hub 2-0:1.0: USB hub found
[ 2.036096] hub 2-0:1.0: 4 ports detected
[ 2.062479] Initializing USB Mass Storage driver…
[ 2.089330] usbcore: registered new interface driver usb-storage
[ 2.116930] USB Mass Storage support registered.
[ 2.142588] usbcore: registered new interface driver libusual
[ 2.179531] serio: i8042 KBD port at 0×60,0×64 irq 1
[ 2.204678] serio: i8042 AUX port at 0×60,0×64 irq 12
[ 2.230086] usb 1-1: new high-speed USB device number 2 using ehci_hcd
[ 2.255515] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0
[ 2.280913] rtc0: alarms up to one year, y3k, 114 bytes nvram
[ 2.305480] cs5535-smb cs5535-smb: SCx200 device ‘CS5535 ACB0′ registered
[ 2.330851] Linux video capture interface: v2.00
[ 2.369456] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input3
[ 2.481032] cpuidle: using governor ladder
[ 2.530124] cpuidle: using governor menu
[ 2.580950] sdhci: Secure Digital Host Controller Interface driver
[ 2.626812] sdhci: Copyright(c) Pierre Ossman
[ 2.651949] sdhci-pci 0000:00:0c.1: SDHCI controller found [11ab:4101] (rev 10)
[ 2.681153] sdhci-pci 0000:00:0c.1: Invalid iomem size. You may experience problems.
[ 2.711533] Registered led device: mmc0::
[ 2.712729] mmc0: SDHCI controller on PCI [0000:00:0c.1] using DMA
[ 2.742455] geode-aes: GEODE AES engine enabled.
[ 2.770071] i2c-core: driver [olpc_dcon] using legacy suspend method
[ 2.799287] i2c-core: driver [olpc_dcon] using legacy resume method
[ 2.831701] olpc-dcon: Discovered DCON version 2
[ 2.863670] snd_cs5535audio 0000:00:0f.3: setting latency timer to 64
[ 2.867429] Failure reading codec reg 0x7e,Last value=0x7e805368
[ 2.896243] Failure reading codec reg 0x7e,Last value=0x7e805368
[ 2.935144] ALSA device list:
[ 2.960068] #0: CS5535 Audio cs5535audio at 0×1480, irq 5
[ 2.988346] TCP bic registered
[ 3.013664] Initializing XFRM netlink socket
[ 3.040461] NET: Registered protocol family 10
[ 3.067839] Mobile IPv6
[ 3.092083] NET: Registered protocol family 17
[ 3.119458] Registering the dns_resolver key type
[ 3.148345] Freeing unused kernel memory: 240k freed
[ 3.176059] Write protecting the kernel text: 2768k
[ 3.204334] Write protecting the kernel read-only data: 940k
[ 3.281558] tmpfs: No value for mount option ‘strictatime’
[ 3.349555] tmpfs: No value for mount option ‘strictatime’
[ 3.412877] tmpfs: No value for mount option ‘strictatime’
[ 3.534067] dracut: dracut-18 (Spherical Cow) dracut-024-10.git20121121.fc18
[ 3.608647] systemd-udevd[62]: starting version 195
[ 11.343123] JFFS2 notice: (87) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 11.430215] dracut: Mounted root filesystem mtd0
[ 11.474187] System isn’t partitioned, won’t resize
[ 13.465389] dcon_freeze_store: 0
[ 13.468659] dcon_source_switch to CPU
[ 13.496829] olpc-dcon: The CPU has control
[ 13.625751] dracut: Switching root
[ 14.204051] systemd[1]: systemd 195 running in system mode. (+PAM +LIBWRAP +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ; fedora)
[ 14.219823] systemd[1]: Set hostname to <xo-0c-e7-52.localdomain>.
[ 14.486218] systemd[1]: Started Replay Read-Ahead Data.
[ 14.491678] systemd[1]: Expecting device dev-ttyS0.device…
[ 14.497680] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
[ 14.505889] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 14.513645] systemd[1]: Starting Syslog Socket.
[ 14.518699] systemd[1]: Listening on Syslog Socket.
[ 14.524185] systemd[1]: Starting Remote File Systems.
[ 14.529553] systemd[1]: Reached target Remote File Systems.
[ 14.535314] systemd[1]: Starting /dev/initctl Compatibility Named Pipe.
[ 14.542396] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[ 14.549480] systemd[1]: Starting Delayed Shutdown Socket.
[ 14.555357] systemd[1]: Listening on Delayed Shutdown Socket.
[ 14.561313] systemd[1]: Starting Dispatch Password Requests to Console Directory Watch.
[ 14.569710] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ 14.578302] systemd[1]: Starting udev Kernel Socket.
[ 14.584041] systemd[1]: Listening on udev Kernel Socket.
[ 14.589911] systemd[1]: Starting udev Control Socket.
[ 14.595512] systemd[1]: Listening on udev Control Socket.
[ 14.601241] systemd[1]: Starting Arbitrary Executable File Formats File System Automount Point.
[ 14.610991] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[ 14.620571] systemd[1]: Starting Encrypted Volumes.
[ 14.625756] systemd[1]: Reached target Encrypted Volumes.
[ 14.631334] systemd[1]: Starting Swap.
[ 14.635371] systemd[1]: Reached target Swap.
[ 14.639806] systemd[1]: Starting Journal Socket.
[ 14.645403] systemd[1]: Listening on Journal Socket.
[ 14.650575] systemd[1]: Starting Syslog.
[ 14.654790] systemd[1]: Reached target Syslog.
[ 14.659385] systemd[1]: Starting Setup Virtual Console…
[ 14.669168] systemd[1]: Started Load Kernel Modules.
[ 14.680796] systemd[1]: Started Set Up Additional Binary Formats.
[ 14.688064] systemd[1]: Starting Apply Kernel Variables…
[ 14.712922] systemd[1]: Mounting Debug File System…
[ 14.760817] systemd[1]: Mounting Huge Pages File System…
[ 14.768490] systemd[1]: Mounted Configuration File System.
[ 14.790685] systemd[1]: Starting Journal Service…
[ 14.798557] systemd[1]: Started Journal Service.
[ 15.012538] systemd[1]: Mounted FUSE Control File System.
[ 15.018128] systemd[1]: Mounting POSIX Message Queue File System…
[ 15.042698] systemd[1]: Starting udev Coldplug all Devices…
[ 15.141146] systemd[1]: Starting udev Kernel Device Manager…
[ 15.149644] systemd[1]: Started Import network configuration from initramfs.
[ 15.180331] systemd[1]: Started File System Check on Root Device.
[ 15.186584] systemd[1]: Starting Configure read-only root support…
[ 15.243155] systemd[1]: Starting Remount Root and Kernel File Systems…
[ 15.296931] systemd[1]: Started Apply Kernel Variables.
[ 15.677298] systemd-udevd[166]: starting version 195
[ 17.343672] Marvell M88ALP01 ‘CAFE’ Camera Controller version 2
[ 17.349692] cafe1000-ccic 0000:00:0c.2: enabling device (0000 -> 0002)
[ 17.910089] psmouse serio1: hgpk: ID: 67 00 50
[ 17.910115] psmouse serio1: hgpk: OLPC touchpad revision 0×50
[ 18.049377] cfg80211: Calling CRDA to update world regulatory domain
[ 18.137398] lib80211: common routines for IEEE802.11 drivers
[ 18.180092] lib80211_crypt: registered algorithm ‘NULL’
[ 18.356616] input: OLPC HGPK ALPS HGPK as /devices/platform/i8042/serio1/input/input4
[ 18.420229] usbcore: registered new interface driver usb8xxx
[ 18.461439] mousedev: PS/2 mouse device common for all mice
[ 19.219732] cfg80211: World regulatory domain updated:
[ 19.258464] cfg80211: (start_freq – end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 19.310098] cfg80211: (2402000 KHz – 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 19.317945] cfg80211: (2457000 KHz – 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 19.380326] ov7670 1-0021: chip found @ 0×42 (cafe_ccic)
[ 19.405760] cfg80211: (2474000 KHz – 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 19.468885] cfg80211: (5170000 KHz – 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 19.516533] cfg80211: (5735000 KHz – 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 19.541700] cafe1000-ccic 0000:00:0c.2: Release, 0 frames, 0 singles, 0 delivered
[ 19.759652] usb8xxx: Firmware ready event received
[ 19.773087] usb8xxx 1-1:1.0: (unregistered net_device): 00:17:c4:0c:e7:52, fw 5.110.22p23, cap 0x000003a3
[ 19.849303] cfg80211: Calling CRDA for country: EU
[ 19.870129] usb8xxx 1-1:1.0: wlan0: Marvell WLAN 802.11 adapter
[ 19.953574] usb8xxx 1-1:1.0: wlan0: PREP_CMD: command 0×0074 failed: 2
[ 19.999369] usb8xxx 1-1:1.0: wlan0: Firmware does not seem to support PS mode
[ 20.051882] usb8xxx 1-1:1.0: wlan0: PREP_CMD: command 0×0043 failed: 1
[ 20.058467] usb8xxx 1-1:1.0: wlan0: HOST_SLEEP_CFG failed 1
[ 20.372067] systemd-journald[159]: Received SIGUSR1
[ 20.564956] systemd-udevd[193]: renamed network interface wlan0 to eth0
[ 20.808508] usbcore: registered new interface driver sisusb
[ 20.849819] usbcore: registered new interface driver udlfb
[ 20.991397] usbcore: deregistering interface driver udlfb
[ 22.730193] input: olpc-kbdshim virtual keyboard as /devices/virtual/input/input5
[ 22.757025] input: olpc-kbdshim virtual mouse as /devices/virtual/input/input6
[ 24.245885] dcon_freeze_store: 1
[ 24.249155] dcon_source_switch to DCON
[ 24.297562] olpc-dcon: The DCON has control
[ 24.780200] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 35.930160] fuse init (API version 7.18)
[ 42.718660] dcon_freeze_store: 0
[ 42.725528] dcon_source_switch to CPU
[ 42.753950] olpc-dcon: The CPU has control
[ 160.516211] gvfsd-metadata[856]: segfault at b ip 08052f71 sp bfc06ce0 error 4 in gvfsd-metadata[8048000+11000]
[ 264.792070] JFFS2 warning: (1164) jffs2_sum_write_data: Not enough space for summary, padsize = -123
[ 271.463845] dcon_freeze_store: 0
[ 472.592866] dcon_freeze_store: 0
[ 577.363265] gvfsd-metadata[1617]: segfault at b ip 08052f71 sp bf82a900 error 4 in gvfsd-metadata[8048000+11000]
[ 763.486423] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 1255.237782] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 1265.490053] eth0: no IPv6 routers present
[ 1674.166649] psmouse serio1: hgpk: packet spew detected (2,2)
[ 1674.180242] psmouse serio1: hgpk: recalibrating touchpad..
[ 1681.447169] psmouse serio1: hgpk: detected -151px jump in y
[ 1681.458773] psmouse serio1: hgpk: detected secondary -76px jump in y
[ 1681.470662] psmouse serio1: hgpk: detected secondary -37px jump in y
[ 1681.485491] psmouse serio1: hgpk: detected secondary -19px jump in y
[ 1682.476732] psmouse serio1: hgpk: scheduling recalibration
[ 1682.490122] psmouse serio1: hgpk: recalibrating touchpad..
[ 1805.658674] JFFS2 warning: (2270) jffs2_sum_write_data: Summary too big (-32 data, -984 pad) in eraseblock at 2d0a0000
[ 2026.231483] snd-malloc: invalid device type 0

OLPC XO-1 Hardware and Software

There is extended documentation available about OLPC XO-1, what kind of hardware it is and what kind of software it supports. I will try to headline the features that have impressed me personally, considering that the production of this laptop dates back to 2006, with that in mind. First of all it has very impressive design, its not an ordinary looking laptop, kids might consider it looking more like a toy. Once the Wi-Fi ears get in the upward position and front lid gets opened, there is a 7.5″ LCD screen with 2 modes depending on light conditions, Grayscale (B&W) lowpowered and color. It has an integrated webcam with 640×480 resolution. The front screen can be turned around for 180 degrees and you can rotate it and fold it on the backside to get the “E-book” look. It’s primary software Sugar OS is based on Fedora GNU/Linux.

Sugar Vs. Gnome

There is an option in the Sugar GUI control panel where you can change the Window Manager to Gnome. It is build in all recent Sugar OS releases and is exchangeable by just one click. Gnome would be suitable for older kids or adults, who are already more experienced in computer navigation, but it’s always good to keep at hand the full GNU/Linux desktop environment, which turns the XO-1 into a fully functional GNU/Linux system.

OLPC Community in Slovenia

As I am (so far) the only author for this OLPC blog, I wanted to share some further information about the progress in Slovenia. There is the OLPC user group on OLPC Wiki, you are welcome to edit that page and let us know about you, if you are interested in this project. I would also like to share the link to pictures that Maja ( Maja živjo ! ) took on her trips to Bangladesh, where she and her husband are involved in OLPC Bangladesh and taught the kids using XO-1. There are also entries on the mailing lists (link 2) that Bernie Innocenti has presented the laptop at the ACP-EU joint parliamentary assembly in Ljubljana in 2008.

Reflashing OLPC

My OLPC XO-1 arrived with an older firmware dating back to 2007 having Sugar OS version 0.70, so I decided to upgrade it to a recent firmware with Sugar OS 0.98. First I wanted to backup the existing files, but it seemed like I would need to get the developer key , I have tried different procedures to get to the open firmware without one, but it seemed to fail. So, because my OLPC seemed to be locked I skipped the backup procedure and I went directly to flashing with 13.1.0 firmware and placed it onto USB key following this procedure. Be aware that If installation progress is not displayed, you may be running an older firmware version which does not recognise the fs0.zip file. Rename fs0.zip to fs.zip and try again (that was my case). The new firmware has sshd disabled by default in order to log in remotelly, you will need to enable it by following this manual. The output after upgrade looks like this:

-bash-4.2# uname -a
Linux xo-0c-e7-52.localdomain 3.3.8_xo1-20121216.0805.olpc.547d7ed #1 PREEMPT Sun Dec 16 08:08:28 EST 2012 i586 i586 i386 GNU/Linux

-bash-4.2# df
Filesystem     1K-blocks   Used Available Use% Mounted on
rootfs           1048576 833020    215556  80% /
devtmpfs          113976      0    113976   0% /dev
mtd0             1048576 833020    215556  80% /
devtmpfs          113976      0    113976   0% /dev
mtd0             1048576 833020    215556  80% /home
mtd0             1048576 833020    215556  80% /versions
mtd0             1048576 833020    215556  80% /security
tmpfs              51200      0     51200   0% /dev/shm
tmpfs             115772    936    114836   1% /run
tmpfs             115772      0    115772   0% /sys/fs/cgroup
vartmp             51200      8     51192   1% /var/tmp
varlog             20480     96     20384   1% /var/log
/tmp               51200      4     51196   1% /tmp
none                1024      8      1016   1% /var/lib/stateless/writable
none                1024      8      1016   1% /var/cache/man
none                1024      8      1016   1% /var/lib/xkb
none                1024      8      1016   1% /var/lib/dhclient
none                1024      8      1016   1% /etc/adjtime
none                1024      8      1016   1% /var/lib/logrotate.status
none                1024      8      1016   1% /var/spool
mtd0             1048576 833020    215556  80% /etc/ssh
mtd0             1048576 833020    215556  80% /etc/hosts
mtd0             1048576 833020    215556  80% /var/lib/dbus
mtd0             1048576 833020    215556  80% /var/lib/random-seed
mtd0             1048576 833020    215556  80% /etc/NetworkManager/system-connections

-bash-4.2# free
             total       used       free     shared    buffers     cached
Mem:        231544     203716      27828          0          0     106104
-/+ buffers/cache:      97612     133932
Swap:            0          0          0

-bash-4.2# rpm -q sugar
sugar-0.98.3-1.fc18.olpc.noarch

Quote of the day

“This is not just a matter of giving a laptop to each child, as if bestowing on them some magical charm. The magic lies within — within each child, within each scientist, scholar, or just plain citizen in the making. This initiative is meant to bring it forth into the light of day.”
—Kofi Annan