Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Jan 2011 14:16:37 +0100
From:      Matthias Andree <matthias.andree@gmx.de>
To:        freebsd-current@freebsd.org
Subject:   Re: No human readable message with g_vfs
Message-ID:  <4D21CC35.5060803@gmx.de>
In-Reply-To: <ifsi3f$5ub$1@dough.gmane.org>
References:  <4D1B0E41.40405@gmail.com> <ifsi3f$5ub$1@dough.gmane.org>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D21CC35.5060803>