2 -------------------------
3 Installing the OSD System
4 -------------------------
6 1. Build kernel version 2.4 w/ SMP mode disabled and make sure the
7 directory /usr/src/linux points to this build.
8 2. Modify initiator.h and initiator.c (as per the README) to point to
10 3. Run 'make osd' to build all the OSD executables. In particular,
11 you need uosd, so.o, intel_iscsi.o and osdfs.o.
12 4. Run 'make all' to build the remaining executables.
13 5. Select a machine as the target and run "uosd -f" as root on this
14 machine. This will create files and directories in /tmp.
16 ----------------------
17 Testing the OSD System
18 ----------------------
20 6. Run utest to make sure the target is working OK.
21 7. Do an "insmod ./so.o" to install the Linux SCSI upper layer driver for OSD.
22 8. Do an "insmod ./intel_iscsi.o" to install the kernel mode iSCSI initiator.
23 9. Do an "insmod ./osdfs.o" to install the file system.
24 10. Make the OSD device with "mknod /dev/so0 b 232 0".
25 11. Do a "mount -t osdfs /dev/so0 /mnt" to mount the filesystem.
26 12. Go to /mnt and run "echo Hello, World! > foo" to create an object
28 13. Do a "cat foo" to read the object. you should see "Hello, world!"
30 From here you should be able to use /mnt as you would any filesystem.
36 include/scsi/scsi.h:143
39 drivers/scsi/scsi.h:92:
40 #define MAX_SCSI_DEVICE_CODE 15
42 drivers/scsi/scsi.h:354:
43 #define MAX_COMMAND_SIZE 256
45 drivers/scsi/scsi.c:145:
48 drivers/scsi/scsi_dma.c:248:
49 SDpnt->type == TYPE_DISK || SDpnt->type == TYPE_MOD || SDpnt->type == TYPE_OSD) {
51 drivers/scsi/scsi_scan.c:644:
58 -Field testing on some workstations resulted in compiling errors if highmem support in the kernel as enabled