Skip to contentSkip to conversation

More on SCSI

DISCUSSION Tvrtko A. Uršulin 2 participants 3 messages Feb 10, 2004 – Feb 11, 2004

lore
Share & tools
lore
#0 lore raw

I found this patch on the list and tried to compile in the scsi support....

xenolinux-2.4.24-sparse/arch/xeno/config.in: 1.12 1.13 iap10 04/01/20 18:24:17 (modified, needs delta)

@@ -108,6 +108,17 @@

endmenu

+mainmenu_option next_comment
+comment 'SCSI support'
+
+tristate 'SCSI support' CONFIG_SCSI
+
+if [ "$CONFIG_SCSI" != "n" ]; then
+ source drivers/scsi/Config.in
+fi
+endmenu
+
+
if [ "$CONFIG_NET" = "y" ]; then
source net/Config.in
fi

... this was the error:

ld -m elf_i386 -T /root/build/xenolinux-2.4.24/arch/xeno/vmlinux.lds -e stext arch/xeno/kernel/head.o arch/xeno/kernel/init_task.o init/main.o init/version.o init/do_mounts.o \
--start-group \
kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o arch/xeno/kernel/kernel.o
arch/xeno/mm/mm.o arch/xeno/drivers/console/con.o arch/xeno/drivers/block/blk.o arch/xeno/drivers/network/net.o arch/xeno/drivers/dom0/dom0.o arch/xeno/drivers/balloon/balloon_driver.o \
drivers/char/char.o drivers/block/block.o drivers/misc/misc.o
drivers/net/net.o drivers/scsi/scsidrv.o drivers/cdrom/driver.o

drivers/video/video.o drivers/media/media.o \
        net/network.o \
        /root/build/xenolinux-2.4.24/arch/xeno/lib/lib.a /root/build/xenolinux-2.4.24/lib/lib.a /root/build/xenolinux-2.4.24/arch/xeno/lib/lib.a 
\
        --end-group \
        -o vmlinux

drivers/scsi/scsidrv.o(.text+0xc159): In function `ahc_linux_detect':
: undefined reference to ahc_linux_eisa_init' drivers/scsi/scsidrv.o(.text+0xccb0): In function ahc_dmamem_alloc':
: undefined reference to pci_alloc_consistent' drivers/scsi/scsidrv.o(.text+0xcd04): In function ahc_dmamem_free':
: undefined reference to `pci_free_consistent'
make: *** [vmlinux] Error 1

understendable. I will try without aic7xxx driver with only sd support. (I am desperate) :))

-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn

#1 lore raw
Quoted 2 lines

I found this patch on the list and tried to compile in the scsi support....

I think you're misunderstanding what the patch is for.

If you want to access a disk via an aic7xxx SCSI controller then you need that support in Xen rather than XenoLinux -- xenolinux just used the xen_block device.

The patch was a step toward doing iSCSI in XenoLinux, where block requests would get turned into network packets that would go out via xen_net.

Best,
Ian

-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn

#2 lore raw
Quoted 4 lines · Ian Pratt
Quoted 2 lines

I found this patch on the list and tried to compile in the scsi support....

I think you're misunderstanding what the patch is for.

Yes I know, but I was desperate (or impatient) :)

-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn