The Linux SCSI Target Wiki

Jump to: navigation, search
See platforms for an overview over the supported devices and CPUs.
FIC Neo1973 with acces to HD and USB Flash storage on i386 LIO-VM and the Sony PlayStation 3.
OpenMoko media player accessing HD/DVDs/CDs from LIO over WiFi.
Playing WiFi video with mplayer -vo fbdev and 320x240 .avi content.

OpenMoko GTA01 and GTA02 devices can be turned into mobile media jukeboxes with the Core-iSCSI Initiator accessing media over the network to/from LinuxIO.



Openmoko is a project to create a family of open source mobile phones, including the hardware specification and the operating system.[1] The project was sponsored by Openmoko Inc.

The first sub-project is OpenMoko Linux, a Linux-based operating system designed for mobile phones, built using free software.

The second sub-project is the development of hardware devices on which OpenMoko Linux runs. The first device released was the Neo1973,[2][3] which was followed up by the Neo FreeRunner on 25 June 2008.[4] Unlike most other mobile phone platforms, these phones are designed to provide end users with the ability to modify the operating system and software stack. Other Openmoko-supported phones are also available.

On 2 April 2009, OpenMoko canceled planned phones and will probably concentrate on other kinds of hardware,[5] but will still support and sell the current Neo FreeRunner.[6]


FIC Neo1973

The FIC Neo1973 (GTA01) was the first cell phone shipping with a completly open stack. It served as the OpenMoko GTA01 reference platform. This is important for IP storage over cellular networks, as described in GSM.

The prototype has been tested by running Core-iSCSI connected to a PS3 over 802.11b/g WiFi and GPRS using a small (2GB) ext3 READ-ONLY mount. So far, audio playback using OpenMoko Media Player across WiFi is stable.


Neo FreeRunner

The Neo FreeRunner (GTA02) succeeded the Neo1973. The software reference stack we built for it contains Core-iSCSI+OCFS2 on the client side, and LIO+DRBD on the server side (Downloads).

Download: Initiator Core-iSCSI v1.6.2.11.




Installation of the modules:

ipkg install <module_name>.ipk

After installing the *modules* .ipk, so modprobe will pickup the new modules:

depmod -ae


The OpenMoko shows the iSCSI device as follows:

root@om-gta02:~# df -h
Filesystem                Size      Used Available Use% Mounted on
rootfs                  246.6M     59.7M    186.9M  24% /
/dev/root               246.6M     59.7M    186.9M  24% /
tmpfs                    40.0k         0     40.0k   0% /mnt/.psplash
/dev/root               246.6M     59.7M    186.9M  24% /dev/.static/dev
udev                      2.0M     76.0k      1.9M   4% /dev
/dev/mmcblk0p1          483.6M     73.9M    409.7M  15% /media/card
tmpfs                    61.6M    752.0k     60.9M   1% /var/volatile
tmpfs                    61.6M    388.0k     61.3M   1% /dev/shm
/dev/sda                  1.9G    604.8M      1.2G  32% /media/sda

Kernel ring buffer

The ouput in the kernel ring buffer when booting Core-iSCSI is:

root@om-gta02:~# /etc/init.d/initiator status
--------------------[iSCSI Session Info for iSCSI Channel 1]--------------------
TargetAlias: Playstation3_CBA_PPC64
iSBE Session ID: 2  ISID: 0x80 3d 09 ee 00 00  TSIH: 183
Cmds in Session Pool: 3  Session State: INIT_SESS_LOGGED_IN
---------------------[iSCSI Session Values]-----------------------
 CmdSN    :  ExpCmdSN  :  MaxCmdSN  :     ITT    :     TTT
 0x000001e6   0x000001e6   0x000001e7   0x00000430   0x0000020d
----------------------[iSCSI Connections]-------------------------
CID: 0  Connection State: INIT_CONN_LOGGED_IN
     Address,1 TCP  ExpStatSN: 0x00000430
------------------------[SCSI Info for iSCSI Channel 1]-------------------------
SCSI Host No: 0  SCSI-II Host TCQ Count: 128
Logical Unit TCQ Depth: 64  SGTableSize: 32  MaxSectors: 256
iSCSI Logical Unit Number: 0  Status: ONLINE -> READ/WRITE
        DISK: sda       SCSI BUS Location: 1/0/0  Sector Size: 512
        Active Tasks: 0  Total Tasks: 484       Total Bytes: 48359024k

Core-iSCSI Initiator Stack v1.6.2.10 on Linux/armv4tl on 2.6.24
iSCSI InitiatorName:
Linux om-gta02 2.6.24 #1 PREEMPT Tue May 13 01:34:17 UTC 2008 armv4tl unknown
23:31:00 up 55 min,  2 users,  load average: 4.07, 3.46, 3.19


GSM provides more information specific to iSCSI over cellular networks, Core-iSCSI provides more information on the initiator, LIO contains locating distribution support and how to build from source.

LIO-VM describes how to quickly setup an iSCSI target by using a virtual machine. This works particularly well with FILEIO, USB, and generic SCSI backstore export, e.g. with VMware Workstation for Linux, MacIntosh and Windows.

See also


  1. "Openmoko-Announce - Free Your Phone". 2007-01-20. 
  2. "Neo1973". Openmoko Wiki. Openmoko. 2008-05-21. 
  3. "Neo Base". Openmoko. 2008. Archived from the original on 2008-06-22. 
  4. "Open source phone goes mass-market". 2008-06-25. 
  5. "No More OpenMoko Phone". 2009-04-04. 
  6. "Openmoko Phone Not Dead After All". 2009-04-09. 

External links

Personal tools
Google AdSense