iscsi-2.3.1 on FreeBSD 7.3

Toomas Aas toomas.aas at raad.tartu.ee
Thu May 19 17:27:50 UTC 2011


N, 19 mai   2011 kirjutas Daniel Braniss <danny at cs.huji.ac.il>:


> wups, sorry, here is a patch to apply after the previous patch.

After applying this additional patch, I have some success. The module  
loaded ok and I could create a session with my EMC Celerra NX4 iSCSI  
server (which I couldn't do using the version of iSCSI initiator  
included with FreeBSD 7.3). /dev/da0 was created and I could  
successfully fdisk, label, newfs and mount it.

Then, for testing purposes, i untar'ed the FreeBSD source tree to this  
filesystem. Halfway through the process stalled and this message  
appeared in /var/log/messages:

kernel: so_input: out of pdus, wait

After it had waited for approximately 8 minutes, I noticed that Apache  
running on the same server had become unresponsive. Other processes  
seemed to still be running OK, but as Apache couldn't be stopped even  
with kill -9, I rebooted the server. During reboot, there was a panic  
which looked like this:

-----------------------------------------------------------------------
0] ism_stop: terminating
0] ism_stop: n=4
0] ism_stop: final n=3
0] ic_destroy: name=iscsi unit=0
g_vfs_done():da0s1d[WRITE(offset=17168261120, length=4096)]error = 6
/mnt/iscsi: got error 6 while accessing filesystem
panic: softdep_deallocate_dependencies: unrecovered I/O error
cpuid = 0
Uptime: 35m18s
(da0:iscsi0:0:0:2): lost device
-----------------------------------------------------------------------

my iscsi.conf is pretty simple at the moment:
-----------------------------------------------------------------------
celerra_path1 {
         TargetName = iqn.1992-05.com.emc:sl7e90837000600000-2;
         TargetAddress = 192.168.11.1;
}
-----------------------------------------------------------------------

So, what are pdus and how do I get more of them? ;)

-- 
Toomas Aas



More information about the freebsd-scsi mailing list