iscsi_initiator crashes system (FreeBSD 8.2-BETA1)

Pavel Timofeev timp87 at gmail.com
Thu Dec 16 13:30:53 UTC 2010



Daniel Braniss-2 wrote:
> 
>> --0022152d5de95b793a04975f41ca
>> Content-Type: text/plain; charset=UTF-8
>> 
>> 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`.
> 
> IMHO you are playing with fire :-).
> At first glance it doesn't look as an iscsi bug, but firstly
> use gpart(8) to get a valid label or use sade(8).
> 
>> 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.
>> 
>> --0022152d5de95b793a04975f41ca
>> Content-Type: text/html; charset=UTF-8
>> Content-Transfer-Encoding: quoted-printable
>> 
>> Good day to all!<br>I`m trying work with a volume on Clariion CX3-40 via
>> iS=
>> CSI on new FreeBSD 8.2-BETA1 i386 (net.iscsi_initiator.driver_version:
>> 2.2.=
>> 4.2)<br><br>iSCSI discovery works. And `iscontrol -n iscsitrg_name` works
>> f=
>> ine.<br>
>> Then I make `newfs -U /dev/da0` and `mount /dev/da0 /mnt/iscsi`.<br>All
>> is =
>> well at first glance.<br>I can copy files from local hdd to /mnt/iscsi,
>> and=
>>  can read from /mnt/iscsi, but not small files only.<br>When I want to
>> make=
>>  some action with many small files like `cp -r /usr/src /mnt/iscsi/` my
>> sys=
>> tem crashes.<br>
>> <br>/var/log/messages contain lines like this<br>Dec 14 12:04:05 timbsd
>> sys=
>> logd: kernel boot file is /boot/kernel/kernel<br>Dec 14 12:04:05 timbsd
>> ker=
>> nel: g_vfs_done():da0a[READ(offset=3D18014398509481984,
>> length=3D16384)]err=
>> or =3D 5<br>
>> Dec 14 12:04:05 timbsd kernel: mode =3D 017776, inum =3D 1201220, fs =3D
>> /m=
>> nt/iscsi<br>Dec 14 12:04:05 timbsd kernel: panic: ffs_valloc: dup
>> alloc<br>=
>> or<br>Dec 13 15:44:45 timbsd kernel: bad block 2147483904, ino
>> 612416<br>De=
>> c 13 15:44:45 timbsd kernel: pid 1528 (bsdtar), uid 0 inumber 612416 on
>> /mn=
>> t/iscsi: bad block<br>
>> Dec 13 15:44:45 timbsd kernel: dev =3D da0a, block =3D 404104882969600,
>> fs =
>> =3D /mnt/iscsi<br>Dec 13 15:44:45 timbsd kernel: panic: ffs_blkfree:
>> freein=
>> g free block<br>Dec 13 15:44:45 timbsd kernel: #3 0xc0ae236f at
>> handle_work=
>> item_freeblocks+0x2cf<br>
>> Dec 13 15:44:45 timbsd kernel: #4 0xc0aead4f at
>> softdep_setup_freeblocks+0x=
>> d3f<br>Dec 13 15:56:42 timbsd kernel: panic: handle_written_inodeblock:
>> bad=
>>  size<br><br>What other information should I provide for debug?<br><br>
>> P.S. sorry for my bad english. I am learning.<br>
>> 
>> --0022152d5de95b793a04975f41ca--
> 
> 
> _______________________________________________
> freebsd-scsi at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-scsi
> To unsubscribe, send any mail to "freebsd-scsi-unsubscribe at freebsd.org"
> 
> 

I forgot to say: can`t kill iscontrol. `kill -9` or `kill -15` does not work
for iscontrol
-- 
View this message in context: http://old.nabble.com/iscsi_initiator-crashes-system-%28FreeBSD-8.2-BETA1%29-tp30455007p30472700.html
Sent from the freebsd-scsi mailing list archive at Nabble.com.



More information about the freebsd-scsi mailing list