FreeBSD and iSCSI for disks.

Goran Lowkrantz goran.lowkrantz at ismobile.com
Thu Apr 9 08:35:35 UTC 2009


Trying to build 2.1.1 on a CURRENT results in this:
===> iscsi/initiator (all)
cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc 
-DHAVE_KERNEL_OPTION_HEADERS -include 
/usr/obj/usr/src/sys/GENERIC/opt_global.h -I. -I@ -I@/contrib/altq 
-finline-limit=8000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-common -g -fno-omit-frame-pointer 
-I/usr/obj/usr/src/sys/GENERIC -mcmodel=kernel -mno-red-zone  -mfpmath=387 
-mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow  -msoft-float 
-fno-asynchronous-unwind-tables -ffreestanding -fstack-protector 
-std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -c 
/usr/src/sys/modules/iscsi/initiator/../../../dev/iscsi/initiator/iscsi.c
/usr/src/sys/modules/iscsi/initiator/../../../dev/iscsi/initiator/iscsi.c: 
In function 'iscsi_open':
/usr/src/sys/modules/iscsi/initiator/../../../dev/iscsi/initiator/iscsi.c:120: 
error: invalid operands to binary &
/usr/src/sys/modules/iscsi/initiator/../../../dev/iscsi/initiator/iscsi.c:122: 
error: invalid operands to binary &
/usr/src/sys/modules/iscsi/initiator/../../../dev/iscsi/initiator/iscsi.c:126: 
error: invalid operands to binary &
/usr/src/sys/modules/iscsi/initiator/../../../dev/iscsi/initiator/iscsi.c: 
In function 'iscsi_close':
/usr/src/sys/modules/iscsi/initiator/../../../dev/iscsi/initiator/iscsi.c:149: 
error: invalid operands to binary &
/usr/src/sys/modules/iscsi/initiator/../../../dev/iscsi/initiator/iscsi.c:154: 
error: invalid operands to binary &
/usr/src/sys/modules/iscsi/initiator/../../../dev/iscsi/initiator/iscsi.c: 
In function 'iscsi_ioctl':
/usr/src/sys/modules/iscsi/initiator/../../../dev/iscsi/initiator/iscsi.c:184: 
error: invalid operands to binary &
/usr/src/sys/modules/iscsi/initiator/../../../dev/iscsi/initiator/iscsi.c:210: 
error: invalid operands to binary &
/usr/src/sys/modules/iscsi/initiator/../../../dev/iscsi/initiator/iscsi.c: 
In function 'iscsi_read':
/usr/src/sys/modules/iscsi/initiator/../../../dev/iscsi/initiator/iscsi.c:290: 
error: invalid operands to binary &

/glz

--On April 9, 2009 10:43:06 +0300 Danny Braniss <danny at cs.huji.ac.il> wrote:

>> This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
>> --------------enig90DADA8437A99D893FB775F8
>> Content-Type: text/plain; charset=UTF-8
>> Content-Transfer-Encoding: quoted-printable
>>
>> Danny Braniss wrote:
>> >> Garance A Drosihn wrote:
>> >>> Some friends of mine are looking at the new "DroboPro", which makes
>> >>> a=
>>
>> >>> lot of disk space available via iSCSI (in addition to firewire 800),
>> >>> and they were wondering how well iSCSI works with FreeBSD.  I
>> >>> haven't=
>>
>> >>> paid attention to iSCSI support.  Is there anyone using it heavily
>> >>> for disk-storage under FreeBSD?  Has there been much changed for
>> >>> iSCSI support in the 8.x branch, or is 7.x support working fine?
>> >> I suppose you are interested in the "client" (initiator) side of
>> >> iSCSI=
>>
>> >> support. It hasn't changed much between 7.x and 8.x but there are
>> >> apparently some announcements of a newer version:
>> >>
>> >> http://lists.freebsd.org/pipermail/freebsd-scsi/2009-March/003834.htm
>> >> l=
>>
>> >>
>> >> I can't find any more information on it.
>> >
>> > the latest is in:
>> > 	http://www.cs.huji.ac.il/~danny/ftp/freebsd/iscsi-2.1.1.tar.gz
>>
>> Thanks!
>>
>> Is there anything in particular you'd like to get tested in the new
>> version, any significant changes or improvements?
> mainly fixed some bugs, and some code cleanup.
>
> give it a spin, and let me know what target you are testing.
> btw, the default tag opening is a bit concervative (1), you might want to
> change it to somewhat larger, say 64 or 128.
>
> cheers,
> 	danny
>
>
>
> _______________________________________________
> freebsd-stable at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"



................................................... the future isMobile

  Goran Lowkrantz <goran.lowkrantz at ismobile.com>
  System Architect, isMobile AB
  Sandviksgatan 81, PO Box 58, S-971 03 Luleå, Sweden
  Mobile: +46(0)70-587 87 82
http://www.ismobile.com ...............................................


More information about the freebsd-stable mailing list