tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Possible issue with vnd

On 2017-05-01 12:46 PM, D'Arcy Cain wrote:
One thing I found out is that I accidentally created everything with no
/etc/mk.conf.  Not sure if I need something in that.  I am rebuilding
everything again with my mk.conf restored.  Of course, most stuff in
there is pkgsrc related so I don't see that helping.

That made no difference. Here's something that was suggested to me though. In src/sys/dev/vnd.c it says this.

$NetBSD: vnd.c,v 2015/11/18 08:48:46 msaitoh Exp $

Perhaps the Linux file system blocks are smaller than the NetBSD ones and we need this revision;

revision 1.255
date: 2015-11-30 01:04:47 -0500; author: mlelstv; state: Exp; lines: +28 -2; commitid: 9TPgApzsrkJdY4Ly;
Fall back to VOP_READ/VOP_WRITE if the simulated disk has smaller
sectors than the underlying filesystem and VOP_STRATEGY would fail.

What are the chances of getting a pullup on that?

D'Arcy J.M. Cain <> IM:darcy%Vex.Net@localhost

Home | Main Index | Thread Index | Old Index