NetBSD-Bugs archive

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

Re: kern/43247 (KASSERT while copying 32GB file from NFS to TMPFS)



The following reply was made to PR kern/43247; it has been noted by GNATS.

From: Nicolas Joly <njoly%pasteur.fr@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: kern/43247 (KASSERT while copying 32GB file from NFS to TMPFS)
Date: Mon, 23 Dec 2013 19:02:38 +0100

 On Wed, Dec 18, 2013 at 08:10:23PM +0200, Mindaugas Rasiukevicius wrote:
 > Hi,
 > 
 > Nicolas Joly <njoly%pasteur.fr@localhost> wrote:
 > > Finally got some spare time today to setup the machine, and run the
 > > testcase. I had no problem with 32GB file ... but as the new machine
 > > has twice memory than the previous one (128GB was 64GB), i tried with
 > > a 64GB file, and it failed the very same way :
 > > 
 > > panic: kernel diagnostic assertion "uvm_pagelookup(&aobj->u_obj,
 > > (UAO_SWHASH_ELT_PAGEIDX_BASE(elt) + j) << PAGE_SHIFT) == NULL" failed:
 > > file "/local/src/NetBSD/src/sys/uvm/uvm_aobj.c",line 1407 cpu6: Begin
 > > traceback... vpanic() at netbsd:vpanic+0x136 kern_assert() at
 > > netbsd:kern_assert+0x48 uao_dropswap_range() at netbsd:uao_dropswap_range
 > > +0x2bb tmpfs_reg_resize() at netbsd:tmpfs_reg_resize+0xfe
 > > tmpfs_chsize() at netbsd:tmpfs_chsize+0xa5
 > > tmpfs_setattr() at netbsd:tmpfs_setattr+0x149
 > > VOP_SETATTR() at netbsd:VOP_SETATTR+0x34
 > > vn_open() at netbsd:vn_open+0x190
 > > do_open() at netbsd:do_open+0x102
 > > do_sys_openat() at netbsd:do_sys_openat+0x68
 > > sys_open() at netbsd:sys_open+0x24
 > > syscall() at netbsd:syscall+0x9a
 > > --- syscall (number 5) ---
 > > 7f7ff703b07a:
 > > cpu6: End traceback...
 > 
 > http://www.netbsd.org/~rmind/uvm_aobj_bugtrap.diff
 > 
 > If it is easy to reproduce, can you just get this debug info?
 
 uao_dropswap_range: s 0, e 16777216, elt->tag 36608, j 0, vaddr = 2399141888; 
2399141888
 
 After that, only j and vaddr values changes :
 
       j 0   vaddr = 2399141888
       j 1   vaddr = 2399145984
       j 2   vaddr = 2399150080
       j 3   vaddr = 2399154176
       j 4   vaddr = 2399158272
       j 5   vaddr = 2399162368
       j 6   vaddr = 2399166464
 
 At that time, i hit another panic which prevented further values.
 
 Thanks.
 
 -- 
 Nicolas Joly
 
 Biology IT Center
 Institut Pasteur, Paris.
 


Home | Main Index | Thread Index | Old Index