Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/dist/iscsi



Module Name:    src
Committed By:   agc
Date:           Sun May 21 09:26:38 UTC 2006

Modified Files:
        src/dist/iscsi/include: compat.h config.h config.h.in scsi_cmd_codes.h
            util.h
        src/dist/iscsi/src: Makefile.in TODO configure configure.ac disk.c
Added Files:
        src/dist/iscsi/src: uuid.c

Log Message:
Adjust the data VPD returns, to work around a problem in the Cisco
initiator (used on Solaris 10 Update 1) - the initiator demands that a
UUID is returned, so give it one.

Add autoconf glue for that, and a compat uuid_create(3) and
uuid_to_string(3).

This still spews a lot of output via the target's syslog, but persevere,
since it does actually make the target work with the Solaris initiator:

        solaris10# format
        Searching for disks...done

        AVAILABLE DISK SELECTIONS:
               0. c1d0 <DEFAULT cyl 29728 alt 2 hd 64 sec 63>
                  /pci@0,0/pci-ide@1f,1/ide@0/cmdk@0,0
               1. c2t5d0 <DEFAULT cyl 96 alt 2 hd 64 sec 32>
                  
/iscsi/disk%0000iqn.1994-04.org.netbsd.iscsi-target@localhost%3Atarget00001,0
        Specify disk (enter its number): ^D
        solaris10# df -k /mnt
        Filesystem            kbytes    used   avail capacity  Mounted on
        /dev/dsk/c2t5d0s0      91407    1041   81226     2%    /mnt
        solaris10# uname -a
        SunOS solaris10 5.10 Generic_118844-26 i86pc i386 i86pc
        solaris10#


To generate a diff of this commit:
cvs rdiff -r1.6 -r1.7 src/dist/iscsi/include/compat.h \
    src/dist/iscsi/include/config.h.in \
    src/dist/iscsi/include/scsi_cmd_codes.h
cvs rdiff -r1.9 -r1.10 src/dist/iscsi/include/config.h
cvs rdiff -r1.13 -r1.14 src/dist/iscsi/include/util.h
cvs rdiff -r1.7 -r1.8 src/dist/iscsi/src/Makefile.in
cvs rdiff -r1.5 -r1.6 src/dist/iscsi/src/TODO
cvs rdiff -r1.10 -r1.11 src/dist/iscsi/src/configure \
    src/dist/iscsi/src/configure.ac
cvs rdiff -r1.16 -r1.17 src/dist/iscsi/src/disk.c
cvs rdiff -r0 -r1.1 src/dist/iscsi/src/uuid.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index