From nobody@FreeBSD.org  Sun Oct 13 06:03:43 2002
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id B54E637B401
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 13 Oct 2002 06:03:43 -0700 (PDT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 2EB6A43E8A
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 13 Oct 2002 06:03:43 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.6/8.12.6) with ESMTP id g9DD3g7R060048
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 13 Oct 2002 06:03:42 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.6/8.12.6/Submit) id g9DD3g8B060047;
	Sun, 13 Oct 2002 06:03:42 -0700 (PDT)
Message-Id: <200210131303.g9DD3g8B060047@www.freebsd.org>
Date: Sun, 13 Oct 2002 06:03:42 -0700 (PDT)
From: Thomas Klein <thomas.klein@lanterne.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: panic at boot on mounting root
X-Send-Pr-Version: www-1.0

>Number:         44007
>Category:       kern
>Synopsis:       panic at boot on mounting root
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 13 06:10:01 PDT 2002
>Closed-Date:    Mon Oct 14 13:34:28 PDT 2002
>Last-Modified:  Tue Oct 15 05:40:03 PDT 2002
>Originator:     Thomas Klein
>Release:        4.7 stable
>Organization:
--
>Environment:
i can't, it doesn't boot at all
>Description:
At boot time, the kernel panic

here is the message : 
Mounting root from ufs:/dev/ad2s1a
panic : relpbuf():b_vp was probably reassignbuf()d 0xcbd1a1d4 4100200
reboot in 15s ... ... press a key...

it works with my .old kernel (the same config file)

my .old kernel is a 4.7RC

i try to compile the 4.7stable with the GENERIC config file, it crashed at boot in the same way

my motherboard is a ASUS K7V with VIA controller
CPU: AMD Athlon(TM) XP 1900+ (1599.56-MHz 686-class CPU)
ad2: 58644MB <IC35L060AVVA07-0> [119150/16/63] at ata1-master UDMA33
ad2 is an IBM 60Go 120GXP 

so, 4.7RC works without problem / 
4.7 stable panic
4.7 stable (GENERIC conf file) panic
>How-To-Repeat:
juste boot with 4.7stable kernel (generic or home made conf file)
>Fix:
      
>Release-Note:
>Audit-Trail:

From: Dmitry Morozovsky <marck@rinet.ru>
To: Thomas Klein <thomas.klein@lanterne.org>
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: kern/44007: panic at boot on mounting root
Date: Sun, 13 Oct 2002 18:38:37 +0400 (MSD)

 Jere is 't' output from my DDB (sorry, no serial console, so written by hand
 ;):
 
 pprelvp(c8db48d4) + 0x1b
 relpbuf(c8db48d4,0,0,0,c000) + 0x60
 spec_getpages(ce8c9cc4,d0698c80,10000,0,0) + 0x2e5
 ffs_getpages(ce8c9cc4) +0x33d
 vnode_pager_getpages(c02407e0,ce8c9d50,10,0,bfbfffe4) + 0x4e
 exec_map_first_page(ce8c9e28,bfbffff2,c021c24a,ce8c9e28) + 0xff
 execve(ce8c2e00,ce8c9f90,bfbfffe4,bfbffff2,bfbfffef,bfbffffd,bfbfffec,0) +
 0x1b8
 start_init(0) + 0x271
 
 alas, can't kgdb sources...
 
 Sincerely,
 D.Marck                                   [DM5020, DM268-RIPE, DM3-RIPN]
 ------------------------------------------------------------------------
 *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru ***
 ------------------------------------------------------------------------
 

From: Dmitry Morozovsky <marck@rinet.ru>
To: Thomas Klein <thomas.klein@lanterne.org>
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: kern/44007: panic at boot on mounting root
Date: Sun, 13 Oct 2002 19:23:48 +0400 (MSD)

 Looking at today's commits to -stable, I see that reverting rev 1.249.2.28 of
 vfs_subr.c helps:
 
 Index: sys/kern/vfs_subr.c
 ===================================================================
 RCS file: /home/ncvs/src/sys/kern/vfs_subr.c,v
 retrieving revision 1.249.2.28
 diff -u -r1.249.2.28 vfs_subr.c
 @@ -1256,7 +1256,7 @@
         KASSERT(bp->b_vp != NULL, ("pbrelvp: NULL"));
 
         /* XXX REMOVE ME */
 -       if (!TAILQ_NEXT(bp, b_vnbufs)) {
 +       if (bp->b_vnbufs.tqe_next != NULL) {
                 panic(
                     "relpbuf(): b_vp was probably reassignbuf()d %p %x",
                     bp,
 

From: Przemyslaw Frasunek <venglin@freebsd.lublin.pl>
To: freebsd-gnats-submit@freebsd.org
Cc:  
Subject: Re: kern/44007: panic at boot on mounting root
Date: 13 Oct 2002 17:24:04 +0200

 Thomas Klein <thomas.klein@lanterne.org> napisa(a):
 
 > At boot time, the kernel panic
 > here is the message :
 > Mounting root from ufs:/dev/ad2s1a
 > panic : relpbuf():b_vp was probably reassignbuf()d 0xcbd1a1d4 4100200
 
 I had the same panic on 4.7-STABLE (today cvsup'd), both GENERIC and my
 own.
 
 -RELEASE works OK.
 
 -- 
 * Fido: 2:480/124 ** WWW: http://www.frasunek.com/ ** NIC-HDL: PMF9-RIPE *
 * Inet: przemyslaw@frasunek.com ** PGP: D48684904685DF43EA93AFA13BE170BF *
State-Changed-From-To: open->closed 
State-Changed-By: iedowse 
State-Changed-When: Mon Oct 14 13:31:58 PDT 2002 
State-Changed-Why:  

Fixed in revision 1.249.2.29 of vfs_subr.c, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=44007 

From: Andreas Stegmaier <A.Stegmaier@alcatel.de>
To: freebsd-gnats-submit@FreeBSD.org, thomas.klein@lanterne.org,
	marck@rinet.ru
Cc:  
Subject: Re: kern/44007: panic at boot on mounting root
Date: Tue, 15 Oct 2002 14:35:25 +0200

 --------------560DA02265C7393DCB72CD8E
 Content-Type: text/plain; charset=us-ascii
 Content-Transfer-Encoding: 7bit
 
 Hello,
 
 i have the same error with the same Mainboard. I use CTM for upgrading.
 My question is: which ctm do solve the problem. The last one I used is
 src-4.1180.gz
 
 
 
 kind regards
 
 A.Stegmaier
 
 
 --------------560DA02265C7393DCB72CD8E
 Content-Type: text/html; charset=us-ascii
 Content-Transfer-Encoding: 7bit
 
 <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
 <html>
 <tt>Hello,</tt><tt></tt>
 <p><tt>i have the same error with the same Mainboard. I use CTM for upgrading.</tt>
 <br><tt>My question is: which ctm do solve the problem. The last one I
 used is</tt>
 <br><tt>src-4.1180.gz</tt>
 <br><tt></tt>&nbsp;
 <br><tt></tt>&nbsp;<tt></tt>
 <p><tt>kind regards</tt>
 <br><br>
 <tt>A.Stegmaier</tt>
 <br><tt></tt>&nbsp;</html>
 
 --------------560DA02265C7393DCB72CD8E--
 
>Unformatted:
