Re: svn commit: r274914 - in head/sys: kern sys ufs/ffs vm

2014-11-27 Thread Ruslan Bukin
On Thu, Nov 27, 2014 at 11:28:31AM -0800, Adrian Chadd wrote: > On 27 November 2014 at 10:36, Ruslan Bukin wrote: > > Hi, > > > > There is a theory that a problem is related to CPU caches, and it can be > > BERI-cpu > > specific only. > > > > And sorry I didn't realized virtio was still in the ke

Re: svn commit: r274914 - in head/sys: kern sys ufs/ffs vm

2014-11-27 Thread Adrian Chadd
On 27 November 2014 at 10:36, Ruslan Bukin wrote: > Hi, > > There is a theory that a problem is related to CPU caches, and it can be > BERI-cpu > specific only. > > And sorry I didn't realized virtio was still in the kernel when I was trying > MDROOT (we do dcache operations in virtio). > > The w

Re: svn commit: r274914 - in head/sys: kern sys ufs/ffs vm

2014-11-27 Thread Ruslan Bukin
Hi, There is a theory that a problem is related to CPU caches, and it can be BERI-cpu specific only. And sorry I didn't realized virtio was still in the kernel when I was trying MDROOT (we do dcache operations in virtio). The workaround I found is to disable all the instruction cache invalidati

Re: svn commit: r274914 - in head/sys: kern sys ufs/ffs vm

2014-11-27 Thread Adrian Chadd
Hi, Has there been any further progress with this? If there hasn't, then I'd like to see it backed out for the time being. I'm worried that this has introduced some subtle bugs and this isn't yet fully understood. Thanks, -adrian On 25 November 2014 at 09:38, Ruslan Bukin wrote: > On Tue,

Re: svn commit: r274914 - in head/sys: kern sys ufs/ffs vm

2014-11-25 Thread Ruslan Bukin
On Tue, Nov 25, 2014 at 06:29:22PM +0300, Gleb Smirnoff wrote: > R> Un-unioning helps partially: I receive much less panics and able to boot > until login prompt in ~ 1/3 attempts with patch attached. > > What happens then? Same panic as w/o patch? > Same random panics: [..] Starting file syst

Re: svn commit: r274914 - in head/sys: kern sys ufs/ffs vm

2014-11-25 Thread Gleb Smirnoff
On Tue, Nov 25, 2014 at 12:27:54PM +, Ruslan Bukin wrote: R> On Tue, Nov 25, 2014 at 10:31:45AM +0300, Gleb Smirnoff wrote: R> > On Mon, Nov 24, 2014 at 09:16:20PM +, Ruslan Bukin wrote: R> > R> On Mon, Nov 24, 2014 at 10:29:02PM +0300, Gleb Smirnoff wrote: R> > R> > On Mon, Nov 24, 2014 at

Re: svn commit: r274914 - in head/sys: kern sys ufs/ffs vm

2014-11-25 Thread Ruslan Bukin
On Tue, Nov 25, 2014 at 10:31:45AM +0300, Gleb Smirnoff wrote: > On Mon, Nov 24, 2014 at 09:16:20PM +, Ruslan Bukin wrote: > R> On Mon, Nov 24, 2014 at 10:29:02PM +0300, Gleb Smirnoff wrote: > R> > On Mon, Nov 24, 2014 at 06:03:56PM +, Ruslan Bukin wrote: > R> > R> > I this on stock kernel

Re: svn commit: r274914 - in head/sys: kern sys ufs/ffs vm

2014-11-24 Thread Gleb Smirnoff
On Mon, Nov 24, 2014 at 09:16:20PM +, Ruslan Bukin wrote: R> On Mon, Nov 24, 2014 at 10:29:02PM +0300, Gleb Smirnoff wrote: R> > On Mon, Nov 24, 2014 at 06:03:56PM +, Ruslan Bukin wrote: R> > R> > I this on stock kernel or on kernel with your modifications ? R> > R> R> > R> Stock one. I al

Re: svn commit: r274914 - in head/sys: kern sys ufs/ffs vm

2014-11-24 Thread Gleb Smirnoff
On Mon, Nov 24, 2014 at 03:45:10PM -0800, Adrian Chadd wrote: A> Why'd you make it all a union in strict buf? To avoid growing it and emphasize that fields are mutuall exclusive. -- Totus tuus, Glebius. ___ svn-src-all@freebsd.org mailing list http://l

Re: svn commit: r274914 - in head/sys: kern sys ufs/ffs vm

2014-11-24 Thread Adrian Chadd
Why'd you make it all a union in strict buf? Adrian On Nov 23, 2014 5:01 AM, "Gleb Smirnoff" wrote: > Author: glebius > Date: Sun Nov 23 12:01:52 2014 > New Revision: 274914 > URL: https://svnweb.freebsd.org/changeset/base/274914 > > Log: > Merge from projects/sendfile: > > o Provide a new V

Re: svn commit: r274914 - in head/sys: kern sys ufs/ffs vm

2014-11-24 Thread Ruslan Bukin
On Mon, Nov 24, 2014 at 10:29:02PM +0300, Gleb Smirnoff wrote: > On Mon, Nov 24, 2014 at 06:03:56PM +, Ruslan Bukin wrote: > R> > I this on stock kernel or on kernel with your modifications ? > R> > R> Stock one. I also checked with no virtio but MDROOT - same problems. > > I could expect a p

Re: svn commit: r274914 - in head/sys: kern sys ufs/ffs vm

2014-11-24 Thread Gleb Smirnoff
On Mon, Nov 24, 2014 at 06:03:56PM +, Ruslan Bukin wrote: R> > I this on stock kernel or on kernel with your modifications ? R> R> Stock one. I also checked with no virtio but MDROOT - same problems. I could expect a panic with a damaged 'struct buf', but not vm_page. Can you please do a cle

Re: svn commit: r274914 - in head/sys: kern sys ufs/ffs vm

2014-11-24 Thread Ruslan Bukin
On Mon, Nov 24, 2014 at 07:37:33PM +0200, Konstantin Belousov wrote: > On Mon, Nov 24, 2014 at 11:05:37AM +, Ruslan Bukin wrote: > > Hi, Gleb, > > > > I get some problems with it: I'm working on block device emulation > > using virtio(4) in heterogeneous environment (FreeBSD/ARM frontend > > p

Re: svn commit: r274914 - in head/sys: kern sys ufs/ffs vm

2014-11-24 Thread Konstantin Belousov
On Mon, Nov 24, 2014 at 11:05:37AM +, Ruslan Bukin wrote: > Hi, Gleb, > > I get some problems with it: I'm working on block device emulation > using virtio(4) in heterogeneous environment (FreeBSD/ARM frontend > provide block to FreeBSD/MIPS64 soft core). On a MIPS side I now > permanently rec

Re: svn commit: r274914 - in head/sys: kern sys ufs/ffs vm

2014-11-24 Thread Ruslan Bukin
Hi, Gleb, I get some problems with it: I'm working on block device emulation using virtio(4) in heterogeneous environment (FreeBSD/ARM frontend provide block to FreeBSD/MIPS64 soft core). On a MIPS side I now permanently receive panic below Any idea ? [...] crypto: cryptosoft0 registers alg 22 f

svn commit: r274914 - in head/sys: kern sys ufs/ffs vm

2014-11-23 Thread Gleb Smirnoff
Author: glebius Date: Sun Nov 23 12:01:52 2014 New Revision: 274914 URL: https://svnweb.freebsd.org/changeset/base/274914 Log: Merge from projects/sendfile: o Provide a new VOP_GETPAGES_ASYNC(), which works like VOP_GETPAGES(), but doesn't sleep. It returns immediately, and will execute