[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Google
  Web www.spinics.net

RE: 5.0.0.0.3rc6-363 help: running IO to atarget



could u double check which kernel u are running? is this 2.6.11-iscsi?
if so, try do make clean and redo make and reload.

ming

On Tue, 2005-08-09 at 15:03 -0600, Nate Iverson wrote:
> I rebooted and now I'm getting
> 
> [root@co-sanbs10 linux-iscsi-5.0.0.0.3rc6-363]# insmod kernel/scsi_transport_iscsi.ko
> insmod: error inserting 'kernel/scsi_transport_iscsi.ko': -1 Unknown symbol in module
> 
> In dmesg
> scsi_transport_iscsi: Unknown symbol scsi_remove_host
> scsi_transport_iscsi: Unknown symbol scsi_host_get
> scsi_transport_iscsi: Unknown symbol scsi_host_put
> scsi_transport_iscsi: Unknown symbol scsi_add_host
> scsi_transport_iscsi: Unknown symbol scsi_is_host_device
> scsi_transport_iscsi: Unknown symbol scsi_host_alloc
> scsi_transport_iscsi: Unknown symbol scsi_host_lookup
> 
> I'm using fedora core 4 and a custom kernel 2.6.11-iscsi. linux-iscsi-5.0.0.0.3rc6-363 compiled successfully. I compiled and installed sysfsutils-1.3.0, because FC4 didn't have libsysfs.h
> 
> What distribution is everyone else using? 
> 
> -----Original Message-----
> From: Ming Zhang [mailto:mingz@xxxxxxxxxxx]
> Sent: Tuesday, August 09, 2005 11:19 AM
> To: Nate Iverson
> Cc: Linux-Iscsi-Users (E-mail)
> Subject: Re:  5.0.0.0.3rc6-363 help: running IO to
> atarget
> 
> 
> On Tue, 2005-08-09 at 09:48 -0600, Nate Iverson wrote:
> > How do I run IO to an ISCSI LUN in lk2.6? Specifically, what is the /dev naming convention for the iSCSI LUN? 
> > 
> > I have an active session.
> > 
> > [root@co-sanbs10 usr]# ./iscsiadm
> > Active sessions:
> > [00:0db902] 172.18.64.182:3260,1 iqn.2001-04.com.pillar:co-sanbs7.hdb
> > 
> > [root@co-sanbs10 usr]# cat /proc/scsi/scsi
> > Attached devices:
> > Host: scsi0 Channel: 00 Id: 00 Lun: 00
> >   Vendor: IET      Model: VIRTUAL-DISK     Rev: 0
> >   Type:   Direct-Access                    ANSI SCSI revision: 04
> 
> run dmesg to see if any device node is generated.
> 
> 
> > 
> > [root@co-sanbs10 usr]# fdisk /dev/sda
> > Unable to open /dev/sda
> > 
> this is a little weired.
> 
> > 
> > 
> > 
> > 
> > 
> > I can run IO using the following dt command line on lk2.4. I'm running IO to the raw partition.
> > 
> > dt of=/dev/sda1 bs=16m capacity=1g passes=inf
> > 
> > 172.18.64.182:3260 is a Linux iSCSI Enterprise Target that I can access using lk2.4 and linux-iscsi-3.6.3
> > 
> > iSCSI: driver shutdown killing all sessions
> > iSCSI: driver shutdown killing timer 1584
> > iSCSI: driver shutdown waiting for timer to terminate
> > iSCSI: driver shutdown complete at 6211
> > iSCSI: bus 0 target 0 = iqn.2001-04.com.pillar:co-sanbs7.hdb
> > iSCSI: bus 0 target 0 portal 0 = address 172.18.64.182 port 3260 group 1
> > iSCSI: bus 0 target 0 trying to establish session cff4a000 to portal 0, address 172.18.64.182 port 3260 group 1
> > iSCSI: session cff4a000 authenticated by target iqn.2001-04.com.pillar:co-sanbs7.hdb
> > iSCSI: bus 0 target 0 established session cff4a000 #1, portal 0, address 172.18.64.182 port 3260 group 1
> > scsi singledevice 2 0 0 0
> >   Vendor: IET       Model: VIRTUAL-DISK      Rev: 0
> >   Type:   Direct-Access                      ANSI SCSI revision: 04
> > Attached scsi disk sda at scsi2, channel 0, id 0, lun 0
> > SCSI device sda: 78125000 512-byte hdwr sectors (40000 MB)
> >  sda: sda1
> > 
> > Thanks for your time,
> > Nate
> > 
> > 
> > 
> > -------------------------------------------------------
> > SF.Net email is Sponsored by the Better Software Conference & EXPO
> > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> > _______________________________________________
> > linux-iscsi-users mailing list
> > linux-iscsi-users@xxxxxxxxxxxxxxxxxxxxx
> > https://lists.sourceforge.net/lists/listinfo/linux-iscsi-users
> 



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
linux-iscsi-users mailing list
linux-iscsi-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/linux-iscsi-users

[IP Storage]     [IETF]     [Linux SCSI]     [iSCSI Book]     [Linux Resources]     [Yosemite News]     [Photo]     [Home]     [IETF Announcements]     [IETF Discussion]     [SCSI Hardware]