Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Dec 2010 16:14:46 +0200
From:      Daniel Braniss <danny@cs.huji.ac.il>
To:        Pavel Timofeev <timp87@gmail.com>
Cc:        freebsd-scsi@freebsd.org
Subject:   Re: iscsi_initiator crashes system (FreeBSD 8.2-BETA1) 
Message-ID:  <E1PSVeQ-0007EF-89@kabab.cs.huji.ac.il>
In-Reply-To: <AANLkTi=YQbuDtS75AJON4yJJMhS0nx%2BBK1GeNcsdanUU@mail.gmail.com> 
References:  <AANLkTi=YQbuDtS75AJON4yJJMhS0nx%2BBK1GeNcsdanUU@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> --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--





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1PSVeQ-0007EF-89>