From owner-freebsd-current@FreeBSD.ORG Sun Oct 26 17:07:21 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DE21E16A4B3 for ; Sun, 26 Oct 2003 17:07:21 -0800 (PST) Received: from ozlabs.org (ozlabs.org [203.10.76.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A20443FB1 for ; Sun, 26 Oct 2003 17:07:20 -0800 (PST) (envelope-from grog@lemis.com) Received: from blackwater.lemis.com (blackwater.lemis.com [192.109.197.80]) by ozlabs.org (Postfix) with ESMTP id 5611D2BD36 for ; Mon, 27 Oct 2003 12:07:17 +1100 (EST) Received: by blackwater.lemis.com (Postfix, from userid 1004) id 5E8B2511FA; Mon, 27 Oct 2003 11:37:14 +1030 (CST) Date: Mon, 27 Oct 2003 11:37:14 +1030 From: Greg 'groggy' Lehey To: FreeBSD current users Message-ID: <20031027010714.GM5759@wantadilla.lemis.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="1hVIwB4NpNcOOTEe" Content-Disposition: inline User-Agent: Mutt/1.4i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 Subject: Repeatable panic from 'camcontrol devlist' X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Oct 2003 01:07:22 -0000 --1hVIwB4NpNcOOTEe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline I'm running a -CURRENT kernel built about a week ago, and on 'camcontrol devlist' I get the following repeatable panic: #10 0xc063b1d5 in panic (fmt=0xc084458e "vmapbuf") at /src/FreeBSD/5-CURRENT-WANTADILLA/src/sys/kern/kern_shutdown.c:534 #11 0xc0684d4e in vmapbuf (bp=0xc4659400) at /src/FreeBSD/5-CURRENT-WANTADILLA/src/sys/kern/vfs_bio.c:3729 #12 0xc0444c81 in cam_periph_mapmem (ccb=0x0, mapinfo=0xcda8f8a8) at /src/FreeBSD/5-CURRENT-WANTADILLA/src/sys/cam/cam_periph.c:652 #13 0xc0446eaa in xptioctl (dev=0x0, cmd=3255201792, addr=0xcda8f8a8 "", flag=3, td=0xc2204390) at /src/FreeBSD/5-CURRENT-WANTADILLA/src/sys/cam/cam_xpt.c:1132 #14 0xc06009ec in spec_ioctl (ap=0xcda8fb7c) at /src/FreeBSD/5-CURRENT-WANTADILLA/src/sys/fs/specfs/spec_vnops.c:351 #15 0xc0600108 in spec_vnoperate (ap=0x0) at /src/FreeBSD/5-CURRENT-WANTADILLA/src/sys/fs/specfs/spec_vnops.c:122 #16 0xc069e0e1 in vn_ioctl (fp=0xc2117b6c, com=3261076738, data=0xc2067000, active_cred=0xc211c980, td=0xc2204390) at vnode_if.h:503 #17 0xc0660e35 in ioctl (td=0xc2204390, uap=0xcda8fd10) at /src/FreeBSD/5-CURRENT-WANTADILLA/src/sys/sys/file.h:261 It doesn't happen on another machine running a kernel built yesterday. If anybody can confirm that this problem has been fixed, I'll leave it; otherwise any pointers would be of use. FWIW, it dies here: (kgdb) f 11 #11 0xc0684d4e in vmapbuf (bp=0xc4659400) at /src/FreeBSD/5-CURRENT-WANTADILLA/src/sys/kern/vfs_bio.c:3729 3729 panic("vmapbuf: mapped more than MAXPHYS"); (kgdb) l 3724 if (m == NULL) 3725 goto retry; 3726 bp->b_pages[pidx] = m; 3727 } 3728 if (pidx > btoc(MAXPHYS)) 3729 panic("vmapbuf: mapped more than MAXPHYS"); 3730 pmap_qenter((vm_offset_t)bp->b_saveaddr, bp->b_pages, pidx); 3731 3732 kva = bp->b_saveaddr; 3733 bp->b_npages = pidx; (kgdb) p pidx $2 = 0xcda8f8a8 Greg -- See complete headers for address and phone numbers. --1hVIwB4NpNcOOTEe Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (FreeBSD) iD8DBQE/nG/CIubykFB6QiMRAt1WAJ0SHy/MjJ8suWxAuVdSl8iCsan3HgCcDCmD 6D5YCagZ1hpwobHBidCs15E= =NJSI -----END PGP SIGNATURE----- --1hVIwB4NpNcOOTEe--