From owner-freebsd-current@FreeBSD.ORG Mon Jan 3 13:43:21 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 928E71065670 for ; Mon, 3 Jan 2011 13:43:21 +0000 (UTC) (envelope-from matthias.andree@gmx.de) Received: from mail.gmx.net (mailout-de.gmx.net [213.165.64.23]) by mx1.freebsd.org (Postfix) with SMTP id DB2808FC12 for ; Mon, 3 Jan 2011 13:43:20 +0000 (UTC) Received: (qmail invoked by alias); 03 Jan 2011 13:16:39 -0000 Received: from p4FE32505.dip.t-dialin.net (EHLO [192.168.0.3]) [79.227.37.5] by mail.gmx.net (mp007) with SMTP; 03 Jan 2011 14:16:39 +0100 X-Authenticated: #428038 X-Provags-ID: V01U2FsdGVkX1+8fGFSwu68OMypILqZRskInbys02YOpSKDlo5O3U V7DZbMxNiM+ZJ7 Message-ID: <4D21CC35.5060803@gmx.de> Date: Mon, 03 Jan 2011 14:16:37 +0100 From: Matthias Andree User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101208 Lightning/1.0b2 Mnenhy/0.8.2 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-current@freebsd.org References: <4D1B0E41.40405@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Subject: Re: No human readable message with g_vfs X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Jan 2011 13:43:21 -0000 Am 03.01.2011 14:14, schrieb Ivan Voras: > On 12/29/10 11:32, David Demelier wrote: >> Hello, >> >> Sometimes when I use my external harddrive I get these awful message : >> >> g_vfs_done():da1[WRITE(offset=34590720, length=65536)]error = 5 >> /var/log/messages.1.bz2:Dec 21 18:36:07 Abricot kernel: >> g_vfs_done():da1[WRITE(offset=34656256, length=65536)]error = 5 >> /var/log/messages.1.bz2:Dec 21 18:36:07 Abricot kernel: >> g_vfs_done():da1[WRITE(offset=34721792, length=65536)]error = 5 >> /var/log/messages.1.bz2:Dec 21 18:36:07 Abricot kernel: >> g_vfs_done():da1[WRITE(offset=34787328, length=65536)]error = 5 >> /var/log/messages.1.bz2:Dec 21 18:36:07 Abricot kernel: >> g_vfs_done():da1[WRITE(offset=34852864, length=65536)]error = 5 >> /var/log/messages.1.bz2:Dec 21 22:50:28 Abricot kernel: >> g_vfs_done():ufs/public[WRITE(offset=244271529984, length=16384)]error >> = 5 >> /var/log/messages.1.bz2:Dec 21 22:50:28 Abricot kernel: >> g_vfs_done():ufs/public[READ(offset=244563705856, length=131072)]error >> = 5 >> /var/log/messages.5.bz2:Nov 29 16:36:52 Abricot kernel: >> g_vfs_done():ufs/public[READ(offset=232718991360, length=131072)]error >> = 5 >> >> I think for a lambda user these are absolutely not understandable. I > > Would a better message be "WRITE error on da0, offset=34590720. > length=65536, errno=5"? nah, strerror(errno) isn't that much of an effort