NetBSD Problem Report #41245

From bernd@arresum.veego.de  Sat Apr 18 13:46:29 2009
Return-Path: <bernd@arresum.veego.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 34B3863C166
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 18 Apr 2009 13:46:29 +0000 (UTC)
Message-Id: <200904181346.n3IDkGuI011094@arresum.veego.de>
Date: Sat, 18 Apr 2009 15:46:16 +0200 (CEST)
From: Bernd Ernesti <pr200912@veego.de>
Reply-To: Bernd Ernesti <pr200912@veego.de>
To: gnats-bugs@gnats.NetBSD.org
Subject: kernel diagnostic assertion "vp->v_iflag & VI_TEXT" failed
X-Send-Pr-Version: 3.95

>Number:         41245
>Notify-List:    tonnerre
>Category:       kern
>Synopsis:       kernel diagnostic assertion "vp->v_iflag & VI_TEXT" failed
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 18 13:50:00 +0000 2009
>Closed-Date:    Sat Dec 19 02:55:21 +0000 2015
>Last-Modified:  Sat Dec 19 02:55:21 +0000 2015
>Originator:     Bernd Ernesti
>Release:        NetBSD 5.99.11	2009-04-18 08:00 UTC
>Organization:

>Environment:
System: NetBSD 5.99.11
Architecture: i386
Machine: i386
>Description:
	The following kernel panic happend while I was building some packages:
kernel diagnostic assertion "vp->v_iflag & VI_TEXT" failed: file "/src/sys/kern/exec_subr.c", line 162
__kernassert
vmcmd_map_pagedvn
execve1
sys_execve

	The full backtrace can be found here: ftp.netbsd.org:/pub/NetBSD/misc/veego/panic01.gif

>How-To-Repeat:
	e.g.:
	% cd /usr/pkgsrc && make
>Fix:

>Release-Note:

>Audit-Trail:

From: Tonnerre LOMBARD <tonnerre@netbsd.ch>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/41245: kernel diagnostic assertion "vp->v_iflag &
 VI_TEXT" failed
Date: Sat, 22 Aug 2009 21:12:57 +0200

 --usmEMHW3qhun5W3r
 Content-Type: text/plain; charset=utf-8
 Content-Disposition: inline

 Salut,

 This bug keeps biting me too on amd64. Very easy to reproduce:
 use current, compile some pkgsrc packages. Bang.

 It is possible that an MP system is required to reproduce it.
 veego didn't disclose whether his system is MP, but all of mine
 are.

 			Tonnerre

 --usmEMHW3qhun5W3r
 Content-Type: application/pgp-signature
 Content-Disposition: inline

 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.9 (NetBSD)

 iQIcBAEBAgAGBQJKkEM5AAoJEDO5FOg4ijzZ+RAQAJ6/lCZzuzMAUnMMrvRJgm8J
 fenHoIQGqdddRiMLqzzS2hjjzGihUi5qpiLDV9wT76h0moj/bULxqeVesVOW4TFI
 t4H3ta8EGYwCzlVART+VovbXiTJULEb1HqnhCi/s9J4zRtHOg+jtuFeMjjIItTCT
 w82ZpKWJQ4RJb57UkTjNlgupwfTC1xuIHSq7/R4LLG3o6yFvGjBIP/yw0SOcDQrH
 Tq4qXsYg23iHRf3XnluqExdSWmqvpE1SmEmD1szieWO3eFEsoqNu4vXcmj2Sp+4C
 Yn3fSrtmMXuTJpyfuodkICazQLn3g6mOwjl5wkXI9Bn9gc9MDsnJwCSQE1B9bHR8
 8e8s5BXEaQWWVo5NI5MHHWqKt+6cSLT1kySsZl/d3MU+gSRuu7Lp2fSt20wGw1w4
 Q9r91wq5a68DWB/hA2gAtHAEn/ln2ZGILMmD+rbV4ojKedjh9rRM5LDtv1pCVnZl
 7tYwzvfKvASiqJJqP5UMGu2BAFYirtMEM70qWjIcLT6FDg2xErqPUNX/206uWMFI
 4pJDhdGNkV8NTDF5q7s841jmiS5xZOEj1neB8Mq0KJBAJuE93sHVEAGoNH4GkZ/f
 SWC6OPgAmEJvjUch+Cv3bQXzzVmvS0r2Dsn8SmvfZPJsR+X/2kRtssNq+U2trks6
 3iEUHGaSu1t1aH6cz584
 =8Ilc
 -----END PGP SIGNATURE-----

 --usmEMHW3qhun5W3r--

From: Bernd Ernesti <pr200912@veego.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/41245: kernel diagnostic assertion "vp->v_iflag & VI_TEXT" failed
Date: Sat, 22 Aug 2009 21:57:22 +0200

 On Sat, Aug 22, 2009 at 07:15:04PM +0000, Tonnerre LOMBARD wrote:
 [..]

 >  It is possible that an MP system is required to reproduce it.
 >  veego didn't disclose whether his system is MP, but all of mine
 >  are.

 Yes it is a MP system running i386 and not amd64, because there no real
 value with 2GB ram.

 Bernd

State-Changed-From-To: open->feedback
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Thu, 17 Nov 2011 01:44:10 +0000
State-Changed-Why:
Is this fixed? I know it's been seen a lot more recently than 2009, but I'm
pretty sure it then got fixed.


State-Changed-From-To: feedback->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sun, 20 Nov 2011 21:31:59 +0000
State-Changed-Why:
veego says he can't test, but mrg says it was in fact fixed properly


From: "Greg A. Woods" <woods@planix.ca>
To: NetBSD GNATS <gnats-bugs@NetBSD.org>
Cc: NetBSD GNATS Administrator <gnats-admin@NetBSD.org>
Subject: Re: kern/41245: kernel diagnostic assertion "vp->v_iflag & VI_TEXT" failed
Date: Thu, 05 Jun 2014 14:35:51 -0700

 I'm seeing this on an i386 machine running the tip of the netbsd-5 branch.

 Is there any chance anyone knows for sure what the exact fix was, and if
 it would be possible to pull that fix up to the netbsd-5 branch?  (I can
 easily patch and update the kernel for this machine, but much less
 easily update the whole OS at this time.)

 panic: kernel diagnostic assertion "vp->v_iflag & VI_TEXT" failed: file "/once/rest/work/woods/m-NetBSD-5/sys/kern/exec_subr.c", line 162WARNING: SPL NOT LOWERED ON TRAP EXIT

 fatal asynchronous system trapfatal breakpoint trap in supervisor mode
  in supervisor mode
 trap type 3 code 2 eip c01007e3 cs 8 eflags 10206 cr2 80c3000 ilevel 0
 tkerarpne lty:p es up1 ecrvoidseo 0r  teirpap  c0a5scyncccahrco cnosu 8s  sefysltaegms  t2r4a6 p,cr c2o 8de0=40f7
 5Stopped in pid 23455.1 (nbmake) at      netbsd:copyout+0x33:    repe movsl      (%esi),%es:(%edi)
 db{0}> 

 db{0}> machine cpu 2
 using CPU 2
 db{0}> trace
 bus_space_write_1(800,c0d2ba00,35,c0d6aa68,0,35,e88fd850,c05d7b9a,800,35) at netbsd:bus_space_write_1+0x17
 comcnputc(800,35,0,c04f6cdc,5,5,e88fd880,c04fbe42,35,e88fd88c) at netbsd:comcnputc+0x21
 cnputc(35,e88fd88c,c04fb0d9,6,c3f784b4,1000000,1,fffffff8,1,0) at netbsd:cnputc+0x2a
 putchar(c0bad1de,c3ee0010,8,0,a,e88fd900,e88fd964,0,0,0) at netbsd:putchar+0xc2
 kprintf(c0bae208,5,0,0,e88fd94c,e88fd95c,c04fbe42,a,e88fd94c,0) at netbsd:kprintf+0x33b
 printf(c0bae208,1,0,c05cccac,8,246,804f750,0,0,a) at netbsd:printf+0x4b
 trap() at netbsd:trap+0x3ab
 --- trap (number 1) ---
 breakpoint(c0c0d30e,e88fda68,c33a5800,c04f6b05,f325378c,f43ba1d8,0,0,c046c2f2,dc531d60) at netbsd:breakpoint+0x4
 panic(c0c267ec,c0b4c591,c0b93ca1,c0b93cd4,a2,f43ba1c8,e88fdabc,c04a8a6e,c0b4c591,c0b93cd4) at netbsd:panic+0x1b0
 __kernassert(c0b4c591,c0b93cd4,a2,c0b93ca1,d743f8b8,4f,4e,ed7d95c4,bfc00000,ed7d95c4) at netbsd:__kernassert+0x39
 vmcmd_map_pagedvn(dc531d60,f1131868,bfc00000,e88fdca4,e94d3e8c,ed86bcdc,e88fdb0c,c04f615a,8,ed86bcdc) at netbsd:vmcmd_map_pagedvn+0x13e
 execve1(dc531d60,bbb078bc,bbb07804,bbb0781c,c04bd1e0,dc531d60,e88fdd3c,c05d63f9,dc531d60,e88fdd00) at netbsd:execve1+0x80c
 sys_execve(dc531d60,e88fdd00,e88fdd28,e88fdd40,0,c0c48084,3b,bbb078bc,bbb07804,bbb0781c) at netbsd:sys_execve+0x31
 syscall(e88fdd48,b3,ab,bfbf001f,1f,bbb078bc,bbb07804,bfbfe738,bbb078bc,0) at netbsd:syscall+0x109
 db{0}> 

 -- 
 						Greg A. Woods

 +1 250 762-7675                                RoboHack <woods@robohack.ca>
 Planix, Inc. <woods@planix.com>      Secrets of the Weird <woods@weird.com>

From: David Holland <dholland-bugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/41245: kernel diagnostic assertion "vp->v_iflag & VI_TEXT"
 failed
Date: Fri, 6 Jun 2014 04:05:10 +0000

 On Thu, Jun 05, 2014 at 10:45:01PM +0000, Greg A. Woods wrote:
  >  I'm seeing this on an i386 machine running the tip of the netbsd-5 branch.
  >  
  >  Is there any chance anyone knows for sure what the exact fix was, and if
  >  it would be possible to pull that fix up to the netbsd-5 branch?  (I can
  >  easily patch and update the kernel for this machine, but much less
  >  easily update the whole OS at this time.)

 I don't know, but maybe someone else does.


 -- 
 David A. Holland
 dholland@netbsd.org

State-Changed-From-To: closed->open
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sat, 07 Jun 2014 21:01:24 +0000
State-Changed-Why:
this is appearing on -5


State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sat, 19 Dec 2015 02:55:21 +0000
State-Changed-Why:
but -5 is now EOL


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.