Port-xen archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: iSCSI
On Sat, Jul 07, 2012 at 12:02:43PM -0600, Michael L. Hitch wrote:
> >(yet?) in domUs. So I was thinking maybe it's just easy enough to
> >include that into a new domU kernel. However, I have been reading both
> >chapter 19 and 32 of the NetBSD guide, but I'm still not sure of what to
> >add to my kernel config file to include sys/dev/iscsi. Can anyone give a
> >hint ?
>
> I've been running iSCSI with a XEN3_DOM0 kernel; all I did was
> add this to the kernel config:
>
[...]
> +
> +# iscsi
> +pseudo-device iscsi
Thanks for that. I have tried with the snapshot 201207061340Z, and it
fails at the linking step:
# link XEN3PAE_DOMU_ISCSI/netbsd
ld -Map netbsd.map --cref -T
../../../../arch/i386/conf/kern.ldscript.Xen -Ttext 0xc0100000 -e start
-X -o netbsd ${SYSTEM_OBJ} ${EXTRA_OBJ} vers.o
iscsi_main.o: In function `map_session':
iscsi_main.c:(.text+0x32f): undefined reference to `scsi_bustype'
iscsi_main.c:(.text+0x37b): undefined reference to `scsiprint'
*** Error code 1
Stop.
make: stopped in /usr/src/sys/arch/i386/compile/XEN3PAE_DOMU_ISCSI
I have also tried Christos' solution, but that fails at the config step:
netbsd6# config XEN3PAE_DOMU_ISCSI
../../../../dev/iscsi/files.iscsi:5: redefinition of `iscsi'
../../../../dev/iscsi/files.iscsi:7: file system or option `ISCSI_DEBUG'
already defined
../../../../dev/iscsi/files.iscsi:8: file system or option
`ISCSI_PERFTEST' already defined
../../../../dev/iscsi/files.iscsi:9: file system or option
`ISCSI_TEST_MODE' already defined
../../../../dev/iscsi/files.iscsi:11: duplicate file dev/iscsi/base64.c
../../../../dev/iscsi/files.iscsi:11: here is the original definition
../../../../dev/iscsi/files.iscsi:12: duplicate file
dev/iscsi/iscsi_ioctl.c
../../../../dev/iscsi/files.iscsi:12: here is the original definition
../../../../dev/iscsi/files.iscsi:13: duplicate file
dev/iscsi/iscsi_main.c
../../../../dev/iscsi/files.iscsi:13: here is the original definition
../../../../dev/iscsi/files.iscsi:14: duplicate file
dev/iscsi/iscsi_profile.c
../../../../dev/iscsi/files.iscsi:14: here is the original definition
../../../../dev/iscsi/files.iscsi:15: duplicate file
dev/iscsi/iscsi_rcv.c
../../../../dev/iscsi/files.iscsi:15: here is the original definition
../../../../dev/iscsi/files.iscsi:16: duplicate file
dev/iscsi/iscsi_send.c
../../../../dev/iscsi/files.iscsi:16: here is the original definition
../../../../dev/iscsi/files.iscsi:17: duplicate file
dev/iscsi/iscsi_test.c
../../../../dev/iscsi/files.iscsi:17: here is the original definition
../../../../dev/iscsi/files.iscsi:18: duplicate file
dev/iscsi/iscsi_text.c
../../../../dev/iscsi/files.iscsi:18: here is the original definition
../../../../dev/iscsi/files.iscsi:19: duplicate file
dev/iscsi/iscsi_utils.c
../../../../dev/iscsi/files.iscsi:19: here is the original definition
*** Stop.
Any suggestion ?
--
Étienne
Home |
Main Index |
Thread Index |
Old Index