iscsi_initiator crashes system (FreeBSD 8.2-BETA1)

Pavel Timofeev timp87 at gmail.com
Tue Dec 14 14:15:11 UTC 2010


Good day to all!
I`m trying work with a volume on Clariion CX3-40 via iSCSI on new FreeBSD
8.2-BETA1 i386 (net.iscsi_initiator.driver_version: 2.2.4.2)

iSCSI discovery works. And `iscontrol -n iscsitrg_name` works fine.
Then I make `newfs -U /dev/da0` and `mount /dev/da0 /mnt/iscsi`.
All is well at first glance.
I can copy files from local hdd to /mnt/iscsi, and can read from /mnt/iscsi,
but not small files only.
When I want to make some action with many small files like `cp -r /usr/src
/mnt/iscsi/` my system crashes.

/var/log/messages contain lines like this
Dec 14 12:04:05 timbsd syslogd: kernel boot file is /boot/kernel/kernel
Dec 14 12:04:05 timbsd kernel:
g_vfs_done():da0a[READ(offset=18014398509481984, length=16384)]error = 5
Dec 14 12:04:05 timbsd kernel: mode = 017776, inum = 1201220, fs =
/mnt/iscsi
Dec 14 12:04:05 timbsd kernel: panic: ffs_valloc: dup alloc
or
Dec 13 15:44:45 timbsd kernel: bad block 2147483904, ino 612416
Dec 13 15:44:45 timbsd kernel: pid 1528 (bsdtar), uid 0 inumber 612416 on
/mnt/iscsi: bad block
Dec 13 15:44:45 timbsd kernel: dev = da0a, block = 404104882969600, fs =
/mnt/iscsi
Dec 13 15:44:45 timbsd kernel: panic: ffs_blkfree: freeing free block
Dec 13 15:44:45 timbsd kernel: #3 0xc0ae236f at
handle_workitem_freeblocks+0x2cf
Dec 13 15:44:45 timbsd kernel: #4 0xc0aead4f at
softdep_setup_freeblocks+0xd3f
Dec 13 15:56:42 timbsd kernel: panic: handle_written_inodeblock: bad size

What other information should I provide for debug?

P.S. sorry for my bad english. I am learning.


More information about the freebsd-scsi mailing list