From owner-freebsd-scsi@FreeBSD.ORG Thu Dec 16 13:30:53 2010 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A4AE106566B for ; Thu, 16 Dec 2010 13:30:53 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id 6FBC18FC08 for ; Thu, 16 Dec 2010 13:30:53 +0000 (UTC) Received: from isper.nabble.com ([192.168.236.156]) by sam.nabble.com with esmtp (Exim 4.69) (envelope-from ) id 1PTDv2-0004EN-Hj for freebsd-scsi@freebsd.org; Thu, 16 Dec 2010 05:30:52 -0800 Message-ID: <30472700.post@talk.nabble.com> Date: Thu, 16 Dec 2010 05:30:52 -0800 (PST) From: Pavel Timofeev To: freebsd-scsi@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: timp87@gmail.com References: Subject: Re: iscsi_initiator crashes system (FreeBSD 8.2-BETA1) X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Dec 2010 13:30:53 -0000 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!
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)

iSCSI discovery works. And `iscontrol -n iscsitrg_name` works >> f= >> ine.
>> 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 >> sys= >> tem crashes.
>>
/var/log/messages contain lines like this
Dec 14 12:04:05 timbsd >> sys= >> logd: kernel boot file is /boot/kernel/kernel
Dec 14 12:04:05 timbsd >> ker= >> nel: g_vfs_done():da0a[READ(offset=3D18014398509481984, >> length=3D16384)]err= >> or =3D 5
>> Dec 14 12:04:05 timbsd kernel: mode =3D 017776, inum =3D 1201220, fs =3D >> /m= >> nt/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
De= >> c 13 15:44:45 timbsd kernel: pid 1528 (bsdtar), uid 0 inumber 612416 on >> /mn= >> t/iscsi: bad block
>> Dec 13 15:44:45 timbsd kernel: dev =3D da0a, block =3D 404104882969600, >> fs = >> =3D /mnt/iscsi
Dec 13 15:44:45 timbsd kernel: panic: ffs_blkfree: >> freein= >> g free block
Dec 13 15:44:45 timbsd kernel: #3 0xc0ae236f at >> handle_work= >> item_freeblocks+0x2cf
>> Dec 13 15:44:45 timbsd kernel: #4 0xc0aead4f at >> softdep_setup_freeblocks+0x= >> d3f
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-- > > > _______________________________________________ > freebsd-scsi@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-scsi > To unsubscribe, send any mail to "freebsd-scsi-unsubscribe@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.