From owner-freebsd-alpha@FreeBSD.ORG Sun Apr 11 02:34:15 2004 Return-Path: Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5A29716A4CE for ; Sun, 11 Apr 2004 02:34:15 -0700 (PDT) Received: from mta7.pltn13.pbi.net (mta7.pltn13.pbi.net [64.164.98.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 48EDE43D54 for ; Sun, 11 Apr 2004 02:34:15 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (4230d43694a8a9e73c3f76cac9d53d68@adsl-67-115-73-128.dsl.lsan03.pacbell.net [67.115.73.128]) by mta7.pltn13.pbi.net (8.12.10/8.12.10) with ESMTP id i3B9YEnr014636 for ; Sun, 11 Apr 2004 02:34:15 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id AA657536B0; Sun, 11 Apr 2004 02:33:43 -0700 (PDT) Date: Sun, 11 Apr 2004 02:33:43 -0700 From: Kris Kennaway To: alpha@FreeBSD.org Message-ID: <20040411093343.GA89809@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IS0zKkzwUGydFO0o" Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: Another alpha panic X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Apr 2004 09:34:15 -0000 --IS0zKkzwUGydFO0o Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Not that I've had any luck getting someone to take a look at the last half-dozen alpha panics I've reported, but: panic: pmap_emulate_reference(0xfffffc0019436a00, 0xfffffe0014495e68, 0, 1): pa 0xb0a0000 not managed at line 2585 in file /a/asami/portbuild/alpha/src-client/sys/alpha/alpha/pmap.c Stack backtrace: db_print_backtrace() at db_print_backtrace+0x18 backtrace() at backtrace+0x2c __panic() at __panic+0x150 pmap_emulate_reference() at pmap_emulate_reference+0x15c trap() at trap+0x39c XentMM() at XentMM+0x2c --- memory management fault (from ipl 7) --- pmap_activate() at pmap_activate+0xb4 Lcs1() at Lcs1+0x1c --- root of call graph --- Kris --IS0zKkzwUGydFO0o Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAeRD3Wry0BWjoQKURAvCQAKCNUghPurSw9zGaHp2UzKgDd5AXtwCgvzwU LBQXsfvxjIZ3xHWiRHxm6Dw= =/FU4 -----END PGP SIGNATURE----- --IS0zKkzwUGydFO0o-- From owner-freebsd-alpha@FreeBSD.ORG Sun Apr 11 05:16:16 2004 Return-Path: Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 64FC316A4CE; Sun, 11 Apr 2004 05:16:16 -0700 (PDT) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1588043D46; Sun, 11 Apr 2004 05:16:16 -0700 (PDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 42E537303A; Sun, 11 Apr 2004 08:16:15 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20040411121615.42E537303A@freebsd-current.sentex.ca> Date: Sun, 11 Apr 2004 08:16:15 -0400 (EDT) Subject: [current tinderbox] failure on alpha/alpha X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.1 List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Apr 2004 12:16:16 -0000 TB --- 2004-04-11 08:00:01 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2004-04-11 08:00:01 - starting CURRENT tinderbox run for alpha/alpha TB --- 2004-04-11 08:00:01 - checking out the source tree TB --- 2004-04-11 08:00:01 - cd /home/tinderbox/sandbox/CURRENT/alpha/alpha TB --- 2004-04-11 08:00:01 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2004-04-11 08:06:05 - building world (CFLAGS=-O2 -pipe) TB --- 2004-04-11 08:06:05 - cd /home/tinderbox/sandbox/CURRENT/alpha/alpha/src TB --- 2004-04-11 08:06:05 - /usr/bin/make -B buildworld >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything TB --- 2004-04-11 11:43:27 - building generic kernel (COPTFLAGS=-O2 -pipe) TB --- 2004-04-11 11:43:27 - cd /home/tinderbox/sandbox/CURRENT/alpha/alpha/src TB --- 2004-04-11 11:43:27 - /usr/bin/make buildkernel KERNCONF=GENERIC >>> Kernel build for GENERIC started on Sun Apr 11 11:43:28 GMT 2004 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] objcopy --strip-debug pst.ko.debug pst.ko ===> random cc -O2 -pipe -mcpu=ev4 -mtune=ev5 -mieee -I/other/tinderbox/CURRENT/alpha/alpha/src/sys/modules/random/../.. -D_KERNEL -DKLD_MODULE -nostdinc -I- -I/other/tinderbox/CURRENT/alpha/alpha/src/sys/modules/random/../.. -include /other/tinderbox/CURRENT/alpha/alpha/obj/alpha/other/tinderbox/CURRENT/alpha/alpha/src/sys/GENERIC/opt_global.h -I. -I@ -I@/../include -finline-limit=15000 -fno-common -g -I/other/tinderbox/CURRENT/alpha/alpha/obj/alpha/other/tinderbox/CURRENT/alpha/alpha/src/sys/GENERIC -mno-fp-regs -ffixed-8 -Wa,-mev6 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -c /other/tinderbox/CURRENT/alpha/alpha/src/sys/dev/random/randomdev.c cc -O2 -pipe -mcpu=ev4 -mtune=ev5 -mieee -I/other/tinderbox/CURRENT/alpha/alpha/src/sys/modules/random/../.. -D_KERNEL -DKLD_MODULE -nostdinc -I- -I/other/tinderbox/CURRENT/alpha/alpha/src/sys/modules/random/../.. -include /other/tinderbox/CURRENT/alpha/alpha/obj/alpha/other/tinderbox/CURRENT/alpha/alpha/src/sys/GENERIC/opt_global.h -I. -I@ -I@/../include -finline-limit=15000 -fno-common -g -I/other/tinderbox/CURRENT/alpha/alpha/obj/alpha/other/tinderbox/CURRENT/alpha/alpha/src/sys/GENERIC -mno-fp-regs -ffixed-8 -Wa,-mev6 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -c /other/tinderbox/CURRENT/alpha/alpha/src/sys/dev/random/probe.c cc -O2 -pipe -mcpu=ev4 -mtune=ev5 -mieee -I/other/tinderbox/CURRENT/alpha/alpha/src/sys/modules/random/../.. -D_KERNEL -DKLD_MODULE -nostdinc -I- -I/other/tinderbox/CURRENT/alpha/alpha/src/sys/modules/random/../.. -include /other/tinderbox/CURRENT/alpha/alpha/obj/alpha/other/tinderbox/CURRENT/alpha/alpha/src/sys/GENERIC/opt_global.h -I. -I@ -I@/../include -finline-limit=15000 -fno-common -g -I/other/tinderbox/CURRENT/alpha/alpha/obj/alpha/other/tinderbox/CURRENT/alpha/alpha/src/sys/GENERIC -mno-fp-regs -ffixed-8 -Wa,-mev6 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -c /other/tinderbox/CURRENT/alpha/alpha/src/sys/dev/random/nehemiah.c In file included from /other/tinderbox/CURRENT/alpha/alpha/src/sys/sys/mutex.h:41, from /other/tinderbox/CURRENT/alpha/alpha/src/sys/dev/random/nehemiah.c:34: /other/tinderbox/CURRENT/alpha/alpha/src/sys/sys/pcpu.h:74: error: field `pc_idlepcb' has incomplete type *** Error code 1 Stop in /other/tinderbox/CURRENT/alpha/alpha/src/sys/modules/random. *** Error code 1 Stop in /other/tinderbox/CURRENT/alpha/alpha/src/sys/modules. *** Error code 1 Stop in /other/tinderbox/CURRENT/alpha/alpha/obj/alpha/other/tinderbox/CURRENT/alpha/alpha/src/sys/GENERIC. *** Error code 1 Stop in /other/tinderbox/CURRENT/alpha/alpha/src. *** Error code 1 Stop in /other/tinderbox/CURRENT/alpha/alpha/src. TB --- 2004-04-11 12:16:15 - WARNING: /usr/bin/make returned exit code 1 TB --- 2004-04-11 12:16:15 - ERROR: failed to build generic kernel TB --- 2004-04-11 12:16:15 - tinderbox aborted From owner-freebsd-alpha@FreeBSD.ORG Mon Apr 12 04:13:37 2004 Return-Path: Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C9CE116A4CE; Mon, 12 Apr 2004 04:13:37 -0700 (PDT) Received: from smtp-out3.xs4all.nl (smtp-out3.xs4all.nl [194.109.24.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 168A443D2D; Mon, 12 Apr 2004 04:13:37 -0700 (PDT) (envelope-from wkb@freebie.xs4all.nl) Received: from freebie.xs4all.nl (freebie.xs4all.nl [213.84.32.253]) by smtp-out3.xs4all.nl (8.12.10/8.12.10) with ESMTP id i3CBDV3j002029; Mon, 12 Apr 2004 13:13:34 +0200 (CEST) Received: from freebie.xs4all.nl (localhost [127.0.0.1]) by freebie.xs4all.nl (8.12.11/8.12.9) with ESMTP id i3CBDV5h082729; Mon, 12 Apr 2004 13:13:31 +0200 (CEST) (envelope-from wkb@freebie.xs4all.nl) Received: (from wkb@localhost) by freebie.xs4all.nl (8.12.11/8.12.11/Submit) id i3CBDV4C082728; Mon, 12 Apr 2004 13:13:31 +0200 (CEST) (envelope-from wkb) Date: Mon, 12 Apr 2004 13:13:31 +0200 From: Wilko Bulte To: freebsd-alpha@freebsd.org, freebsd-stable@freebsd.org Message-ID: <20040412111331.GA82703@freebie.xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-OS: FreeBSD 4.9-STABLE X-PGP: finger wilko@freebsd.org Subject: FW: FreeBSD 4.10-BETA for Alpha available X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Apr 2004 11:13:38 -0000 For now it is miniinst.iso and disc2.iso only, the latter is currently being uploaded to ftp-master. I'll upload the ftp bits next, probably later today. Wilko ----- Forwarded message from Scott Long ----- Date: Mon, 12 Apr 2004 04:59:34 -0600 From: Scott Long Subject: FreeBSD 4.10-BETA for Alpha available To: stable@FreeBSD.ORG Cc: re@FreeBSD.ORG All, Thanks to the wonderful help of Wilko Bulte, 4.10-BETA images and FTP bits for Alpha are available and ready for testing. As Alpha has fallen in popularity in recent years, I would appreciate both positive and negative reports from everyone who can test these images. Thanks! Scott ----- End forwarded message ----- -- Wilko Bulte wilko@FreeBSD.org From owner-freebsd-alpha@FreeBSD.ORG Mon Apr 12 11:01:27 2004 Return-Path: Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BB25916A4DB for ; Mon, 12 Apr 2004 11:01:27 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B4B5A43D4C for ; Mon, 12 Apr 2004 11:01:27 -0700 (PDT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.10/8.12.10) with ESMTP id i3CI1Rbv084351 for ; Mon, 12 Apr 2004 11:01:27 -0700 (PDT) (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i3CI1Rja084345 for freebsd-alpha@freebsd.org; Mon, 12 Apr 2004 11:01:27 -0700 (PDT) (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 12 Apr 2004 11:01:27 -0700 (PDT) Message-Id: <200404121801.i3CI1Rja084345@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-alpha@FreeBSD.org Subject: Current problem reports assigned to you X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Apr 2004 18:01:28 -0000 Current FreeBSD problem reports Critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2004/01/26] alpha/61973 alpha Machine Check on boot-up of AlphaServer 2 1 problem total. Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2001/09/10] alpha/30486 alpha AlphaServer DS10 floppy access is broken o [2001/09/10] alpha/30487 alpha Floppy access on AlphaServer DS20 solid l o [2003/02/05] alpha/47952 alpha DEFPA causes machine check with V5.0-rele o [2004/01/26] alpha/61940 alpha Can't disklabel new disk from FreeBSD/alp o [2004/02/03] alpha/62321 alpha ntpd gives unaligned access errors on alp 5 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2001/01/26] alpha/24663 alpha Console output gets scribbled into /var/l o [2001/02/22] alpha/25284 alpha PC164 won't reboot with graphics console o [2001/06/07] alpha/27933 alpha Time jitter under load on FreeBSD 4.3 alp f [2001/07/29] alpha/29299 alpha FreeBSD 4.3 Alpha + Tekram SCSI adapter p o [2001/10/01] alpha/30970 alpha Ensoniq 1371 (Creative chipset) does not o [2002/01/24] alpha/34232 alpha rpc.statd throws alignment errors o [2002/03/26] alpha/36327 alpha trap within cvt() while attempting to pri o [2002/05/13] alpha/38031 alpha osf1.ko not loaded during boot-time of li p [2002/11/12] alpha/45240 alpha pstat -f column headings misaligned on Al o [2003/02/25] alpha/48676 alpha Changing the baud rate of serial consoles o [2003/04/12] alpha/50868 alpha fd0 floppy device is not mapped into /dev o [2003/06/02] alpha/52882 alpha fpsetprec/fp_prec_t unsupported on alpha? 12 problems total. From owner-freebsd-alpha@FreeBSD.ORG Tue Apr 13 23:42:26 2004 Return-Path: Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 380DB16A4CE for ; Tue, 13 Apr 2004 23:42:26 -0700 (PDT) Received: from mail.atomfx.com (adsl-gte-la-216-86-209-124.mminternet.com [216.86.209.124]) by mx1.FreeBSD.org (Postfix) with ESMTP id BB20B43D39 for ; Tue, 13 Apr 2004 23:42:23 -0700 (PDT) (envelope-from john@atomfx.com) Received: from atomfx.com (asspain.atomfx.com [192.168.0.5]) by mail.atomfx.com (8.12.10/8.12.8) with ESMTP id i3E6T7fn012499 for ; Tue, 13 Apr 2004 23:29:07 -0700 Message-ID: <407CDBD9.3010507@atomfx.com> Date: Tue, 13 Apr 2004 23:36:09 -0700 From: John Wheez User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-alpha@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-atomfx.com-MailScanner-Information: Please contact the ISP for more information X-atomfx.com-MailScanner: Found to be clean Subject: SATA RAID on Alpha 164XL?? X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Apr 2004 06:42:26 -0000 Anyone has success with putting a SATA raid in to their Alpha 164LX running freebsd? I tried to setup and ide raid using two promise ATA 133 cards and i got nothing but drive CRC errors under linux and freebsd...but teh same hardware worked fine in my x86 box. I even had specially shielded ata cables. Thanks for any comments you your ATA-raid or SATA raid experiences with Alpha. JW From owner-freebsd-alpha@FreeBSD.ORG Wed Apr 14 06:01:17 2004 Return-Path: Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9F18516A4D0 for ; Wed, 14 Apr 2004 06:01:17 -0700 (PDT) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id D25C043D2D for ; Wed, 14 Apr 2004 06:01:16 -0700 (PDT) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [IPv6:3ffe:400:8d0:301:200:92ff:fe9b:20e7]) (authenticated bits=0) i3ED12Po019321 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Wed, 14 Apr 2004 15:01:06 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [IPv6:3ffe:400:8d0:301::12]) by cicely5.cicely.de (8.12.10/8.12.10) with ESMTP id i3ED0Yhn044107 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 14 Apr 2004 15:00:35 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.12.11/8.12.11) with ESMTP id i3ED0YGY049333; Wed, 14 Apr 2004 15:00:34 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.12.11/8.12.11/Submit) id i3ED0We3049332; Wed, 14 Apr 2004 15:00:32 +0200 (CEST) (envelope-from ticso) Date: Wed, 14 Apr 2004 15:00:32 +0200 From: Bernd Walter To: John Wheez Message-ID: <20040414130030.GN5279@cicely12.cicely.de> References: <407CDBD9.3010507@atomfx.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <407CDBD9.3010507@atomfx.com> X-Operating-System: FreeBSD cicely12.cicely.de 5.2-CURRENT alpha User-Agent: Mutt/1.5.6i X-Spam-Status: No, hits=-4.9 required=3.0 tests=BAYES_00 autolearn=ham version=2.61 X-Spam-Report: * -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0000] X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on cicely5.cicely.de cc: freebsd-alpha@freebsd.org Subject: Re: SATA RAID on Alpha 164XL?? X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ticso@cicely.de List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Apr 2004 13:01:17 -0000 On Tue, Apr 13, 2004 at 11:36:09PM -0700, John Wheez wrote: > > Anyone has success with putting a SATA raid in to their Alpha 164LX > running freebsd? > > I tried to setup and ide raid using two promise ATA 133 cards and i got > nothing but drive CRC errors under linux and freebsd...but teh same > hardware worked fine in my x86 box. I even had specially shielded ata > cables. > > Thanks for any comments you your ATA-raid or SATA raid experiences with > Alpha. I doubt that anyone ever used, but principaly it should work. If it doesn't for you then you should give more details. Exact error and boot messages are a good start. Currently we don't even know the FreeBSD version you have tried. -- B.Walter BWCT http://www.bwct.de ticso@bwct.de info@bwct.de From owner-freebsd-alpha@FreeBSD.ORG Wed Apr 14 08:42:18 2004 Return-Path: Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7953B16A4D0 for ; Wed, 14 Apr 2004 08:42:18 -0700 (PDT) Received: from mail3.speakeasy.net (mail3.speakeasy.net [216.254.0.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4EF8E43D54 for ; Wed, 14 Apr 2004 08:42:18 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (qmail 9968 invoked from network); 14 Apr 2004 15:42:14 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 14 Apr 2004 15:42:14 -0000 Received: from 10.50.40.205 (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.10/8.12.10) with ESMTP id i3EFfYdx001084; Wed, 14 Apr 2004 11:41:55 -0400 (EDT) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: alpha@FreeBSD.org Date: Tue, 13 Apr 2004 22:36:20 -0400 User-Agent: KMail/1.6 References: <20040411093343.GA89809@xor.obsecurity.org> In-Reply-To: <20040411093343.GA89809@xor.obsecurity.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200404132236.20792.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx cc: Kris Kennaway Subject: Re: Another alpha panic X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Apr 2004 15:42:18 -0000 On Sunday 11 April 2004 05:33 am, Kris Kennaway wrote: > Not that I've had any luck getting someone to take a look at the last > half-dozen alpha panics I've reported, but: > > panic: pmap_emulate_reference(0xfffffc0019436a00, 0xfffffe0014495e68, 0, > 1): pa 0xb0a0000 not managed at line 2585 in file > /a/asami/portbuild/alpha/src-client/sys/alpha/alpha/pmap.c Stack backtrace: > db_print_backtrace() at db_print_backtrace+0x18 > backtrace() at backtrace+0x2c > __panic() at __panic+0x150 > pmap_emulate_reference() at pmap_emulate_reference+0x15c > trap() at trap+0x39c > XentMM() at XentMM+0x2c > --- memory management fault (from ipl 7) --- > pmap_activate() at pmap_activate+0xb4 > Lcs1() at Lcs1+0x1c > --- root of call graph --- This is a VM-related panic. Perhaps alc@ might have an idea. There might be a reference fault on a K0SEG address or some other silly bug. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org From owner-freebsd-alpha@FreeBSD.ORG Wed Apr 14 14:05:22 2004 Return-Path: Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 668EE16A4CE; Wed, 14 Apr 2004 14:05:22 -0700 (PDT) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B42943D1F; Wed, 14 Apr 2004 14:05:22 -0700 (PDT) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.12.10/8.12.10) with ESMTP id i3EL5LFC011916 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 14 Apr 2004 17:05:21 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.12.9p2/8.12.9/Submit) id i3EL5Jhg061206; Wed, 14 Apr 2004 17:05:19 -0400 (EDT) (envelope-from gallatin) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16509.42895.49213.222503@grasshopper.cs.duke.edu> Date: Wed, 14 Apr 2004 17:05:19 -0400 (EDT) To: kris@obsecurity.org In-Reply-To: <200404132236.20792.jhb@FreeBSD.org> References: <20040411093343.GA89809@xor.obsecurity.org> <200404132236.20792.jhb@FreeBSD.org> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid cc: alc@FreeBSD.org cc: alpha@FreeBSD.org Subject: Re: Another alpha panic X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Apr 2004 21:05:22 -0000 John Baldwin writes: > On Sunday 11 April 2004 05:33 am, Kris Kennaway wrote: > > Not that I've had any luck getting someone to take a look at the last > > half-dozen alpha panics I've reported, but: > > > > panic: pmap_emulate_reference(0xfffffc0019436a00, 0xfffffe0014495e68, 0, > > 1): pa 0xb0a0000 not managed at line 2585 in file > > /a/asami/portbuild/alpha/src-client/sys/alpha/alpha/pmap.c Stack backtrace: > > db_print_backtrace() at db_print_backtrace+0x18 > > backtrace() at backtrace+0x2c > > __panic() at __panic+0x150 > > pmap_emulate_reference() at pmap_emulate_reference+0x15c > > trap() at trap+0x39c > > XentMM() at XentMM+0x2c > > --- memory management fault (from ipl 7) --- > > pmap_activate() at pmap_activate+0xb4 > > Lcs1() at Lcs1+0x1c > > --- root of call graph --- > > This is a VM-related panic. Perhaps alc@ might have an idea. There might be > a reference fault on a K0SEG address or some other silly bug. I just googled and saw that at least 2 of these have come with the same stack (context-switch(), pmap_activate()). What does pmap_activate+0xb4 map to in your kernel? What sort of machine? Is this UP or SMP? Drew From owner-freebsd-alpha@FreeBSD.ORG Wed Apr 14 14:20:10 2004 Return-Path: Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C45216A4CE; Wed, 14 Apr 2004 14:20:10 -0700 (PDT) Received: from smtp-out4.xs4all.nl (smtp-out4.xs4all.nl [194.109.24.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id B735C43D41; Wed, 14 Apr 2004 14:20:09 -0700 (PDT) (envelope-from wkb@freebie.xs4all.nl) Received: from freebie.xs4all.nl (freebie.xs4all.nl [213.84.32.253]) by smtp-out4.xs4all.nl (8.12.10/8.12.10) with ESMTP id i3ELK3CY058340; Wed, 14 Apr 2004 23:20:07 +0200 (CEST) Received: from freebie.xs4all.nl (localhost [127.0.0.1]) by freebie.xs4all.nl (8.12.11/8.12.9) with ESMTP id i3ELJwWW001838; Wed, 14 Apr 2004 23:19:58 +0200 (CEST) (envelope-from wkb@freebie.xs4all.nl) Received: (from wkb@localhost) by freebie.xs4all.nl (8.12.11/8.12.11/Submit) id i3ELJwvT001837; Wed, 14 Apr 2004 23:19:58 +0200 (CEST) (envelope-from wkb) Date: Wed, 14 Apr 2004 23:19:58 +0200 From: Wilko Bulte To: Andrew Gallatin Message-ID: <20040414211958.GA1815@freebie.xs4all.nl> References: <20040411093343.GA89809@xor.obsecurity.org> <200404132236.20792.jhb@FreeBSD.org> <16509.42895.49213.222503@grasshopper.cs.duke.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <16509.42895.49213.222503@grasshopper.cs.duke.edu> User-Agent: Mutt/1.4.1i X-OS: FreeBSD 4.9-STABLE X-PGP: finger wilko@freebsd.org cc: alc@freebsd.org cc: alpha@freebsd.org cc: kris@obsecurity.org Subject: Re: Another alpha panic X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Apr 2004 21:20:10 -0000 On Wed, Apr 14, 2004 at 05:05:19PM -0400, Andrew Gallatin wrote: > > John Baldwin writes: > > On Sunday 11 April 2004 05:33 am, Kris Kennaway wrote: > > > Not that I've had any luck getting someone to take a look at the last > > > half-dozen alpha panics I've reported, but: > > > > > > panic: pmap_emulate_reference(0xfffffc0019436a00, 0xfffffe0014495e68, 0, > > > 1): pa 0xb0a0000 not managed at line 2585 in file > > > /a/asami/portbuild/alpha/src-client/sys/alpha/alpha/pmap.c Stack backtrace: > > > db_print_backtrace() at db_print_backtrace+0x18 > > > backtrace() at backtrace+0x2c > > > __panic() at __panic+0x150 > > > pmap_emulate_reference() at pmap_emulate_reference+0x15c > > > trap() at trap+0x39c > > > XentMM() at XentMM+0x2c > > > --- memory management fault (from ipl 7) --- > > > pmap_activate() at pmap_activate+0xb4 > > > Lcs1() at Lcs1+0x1c > > > --- root of call graph --- > > > > This is a VM-related panic. Perhaps alc@ might have an idea. There might be > > a reference fault on a K0SEG address or some other silly bug. > > I just googled and saw that at least 2 of these have come with the > same stack (context-switch(), pmap_activate()). What does > pmap_activate+0xb4 map to in your kernel? > > What sort of machine? Is this UP or SMP? Most likely a DS10 from the ports cluster. -- Wilko Bulte wilko@FreeBSD.org From owner-freebsd-alpha@FreeBSD.ORG Thu Apr 15 21:55:01 2004 Return-Path: Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1E80316A4CE; Thu, 15 Apr 2004 21:55:01 -0700 (PDT) Received: from mta4.rcsntx.swbell.net (mta4.rcsntx.swbell.net [151.164.30.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 54FF643D48; Thu, 15 Apr 2004 21:55:00 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (98033facd10ad8856dd246428467a820@adsl-67-115-73-128.dsl.lsan03.pacbell.net [67.115.73.128])i3G4ssh7012341; Thu, 15 Apr 2004 23:54:55 -0500 (CDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 39AE453A1B; Thu, 15 Apr 2004 21:54:54 -0700 (PDT) Date: Thu, 15 Apr 2004 21:54:54 -0700 From: Kris Kennaway To: Andrew Gallatin Message-ID: <20040416045453.GA78366@xor.obsecurity.org> References: <20040411093343.GA89809@xor.obsecurity.org> <200404132236.20792.jhb@FreeBSD.org> <16509.42895.49213.222503@grasshopper.cs.duke.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="17pEHd4RhPHOinZp" Content-Disposition: inline In-Reply-To: <16509.42895.49213.222503@grasshopper.cs.duke.edu> User-Agent: Mutt/1.4.2.1i cc: alc@FreeBSD.org cc: alpha@FreeBSD.org cc: kris@obsecurity.org Subject: Re: Another alpha panic X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Apr 2004 04:55:01 -0000 --17pEHd4RhPHOinZp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 14, 2004 at 05:05:19PM -0400, Andrew Gallatin wrote: >=20 > John Baldwin writes: > > On Sunday 11 April 2004 05:33 am, Kris Kennaway wrote: > > > Not that I've had any luck getting someone to take a look at the last > > > half-dozen alpha panics I've reported, but: > > > > > > panic: pmap_emulate_reference(0xfffffc0019436a00, 0xfffffe0014495e68= , 0, > > > 1): pa 0xb0a0000 not managed at line 2585 in file > > > /a/asami/portbuild/alpha/src-client/sys/alpha/alpha/pmap.c Stack bac= ktrace: > > > db_print_backtrace() at db_print_backtrace+0x18 > > > backtrace() at backtrace+0x2c > > > __panic() at __panic+0x150 > > > pmap_emulate_reference() at pmap_emulate_reference+0x15c > > > trap() at trap+0x39c > > > XentMM() at XentMM+0x2c > > > --- memory management fault (from ipl 7) --- > > > pmap_activate() at pmap_activate+0xb4 > > > Lcs1() at Lcs1+0x1c > > > --- root of call graph --- > >=20 > > This is a VM-related panic. Perhaps alc@ might have an idea. There m= ight be=20 > > a reference fault on a K0SEG address or some other silly bug. >=20 > I just googled and saw that at least 2 of these have come with the > same stack (context-switch(), pmap_activate()). What does > pmap_activate+0xb4 map to in your kernel? 0xfffffc00005cf164 is in pmap_activate (/a/asami/portbuild/alpha/src-client= /sys/alpha/alpha/pmap.c:2740). This is a kernel from Mar 6. > What sort of machine? Is this UP or SMP? Apr 11 19:11:40 axp0 kernel: COMPAQ AlphaServer DS10 466 MHz, 462MHz Apr 11 19:11:40 axp0 kernel: 8192 byte page size, 1 processor. Apr 11 19:11:40 axp0 kernel: CPU: EV6 (21264) major=3D8 minor=3D4 extension= s=3D0x303 Apr 11 19:11:40 axp0 kernel: OSF PAL rev: 0x1003300020133 Kris --17pEHd4RhPHOinZp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAf2cdWry0BWjoQKURAu8EAKCMSfATC8I5BJmcaZlAwgTBoTrj7ACcDE6c /OlRRPR5ki96mHwYjF2PMrQ= =FDQm -----END PGP SIGNATURE----- --17pEHd4RhPHOinZp-- From owner-freebsd-alpha@FreeBSD.ORG Thu Apr 15 22:01:48 2004 Return-Path: Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D516D16A4CF for ; Thu, 15 Apr 2004 22:01:48 -0700 (PDT) Received: from host117.ipowerweb.com (host117.ipowerweb.com [12.129.237.159]) by mx1.FreeBSD.org (Postfix) with SMTP id B000343D5C for ; Thu, 15 Apr 2004 22:01:48 -0700 (PDT) (envelope-from alc@imimic.com) Received: (qmail 20665 invoked from network); 16 Apr 2004 05:07:34 -0000 Received: from unknown (HELO imimic.com) (216.63.78.18) by host117.ipowerweb.com with SMTP; 16 Apr 2004 05:07:34 -0000 Message-ID: <407F68BA.6000405@imimic.com> Date: Fri, 16 Apr 2004 00:01:46 -0500 From: "Alan L. Cox" Organization: iMimic Networking, Inc. User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6a) Gecko/20031207 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kris Kennaway References: <20040411093343.GA89809@xor.obsecurity.org> <200404132236.20792.jhb@FreeBSD.org> <16509.42895.49213.222503@grasshopper.cs.duke.edu> <20040416045453.GA78366@xor.obsecurity.org> In-Reply-To: <20040416045453.GA78366@xor.obsecurity.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: alc@FreeBSD.org cc: alpha@FreeBSD.org cc: Andrew Gallatin Subject: Re: Another alpha panic X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Apr 2004 05:01:48 -0000 Kris Kennaway wrote: > On Wed, Apr 14, 2004 at 05:05:19PM -0400, Andrew Gallatin wrote: > >>John Baldwin writes: >> > On Sunday 11 April 2004 05:33 am, Kris Kennaway wrote: >> > > Not that I've had any luck getting someone to take a look at the last >> > > half-dozen alpha panics I've reported, but: >> > > >> > > panic: pmap_emulate_reference(0xfffffc0019436a00, 0xfffffe0014495e68, 0, >> > > 1): pa 0xb0a0000 not managed at line 2585 in file >> > > /a/asami/portbuild/alpha/src-client/sys/alpha/alpha/pmap.c Stack backtrace: >> > > db_print_backtrace() at db_print_backtrace+0x18 >> > > backtrace() at backtrace+0x2c >> > > __panic() at __panic+0x150 >> > > pmap_emulate_reference() at pmap_emulate_reference+0x15c >> > > trap() at trap+0x39c >> > > XentMM() at XentMM+0x2c >> > > --- memory management fault (from ipl 7) --- >> > > pmap_activate() at pmap_activate+0xb4 >> > > Lcs1() at Lcs1+0x1c >> > > --- root of call graph --- >> > >> > This is a VM-related panic. Perhaps alc@ might have an idea. There might be >> > a reference fault on a K0SEG address or some other silly bug. >> >>I just googled and saw that at least 2 of these have come with the >>same stack (context-switch(), pmap_activate()). What does >>pmap_activate+0xb4 map to in your kernel? > > > 0xfffffc00005cf164 is in pmap_activate (/a/asami/portbuild/alpha/src-client/sys/alpha/alpha/pmap.c:2740). > > This is a kernel from Mar 6. > Can you confirm that this corresponds to if (td == curthread) { alpha_pal_swpctx((u_long)td->td_md.md_pcbpaddr); } ? From owner-freebsd-alpha@FreeBSD.ORG Thu Apr 15 22:39:33 2004 Return-Path: Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9791716A4CE; Thu, 15 Apr 2004 22:39:33 -0700 (PDT) Received: from mtaw4.prodigy.net (mtaw4.prodigy.net [64.164.98.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B11143D45; Thu, 15 Apr 2004 22:39:33 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (b607537a71b8a43c5c1a47a516de9428@adsl-67-115-73-128.dsl.lsan03.pacbell.net [67.115.73.128]) by mtaw4.prodigy.net (8.12.10/8.12.10) with ESMTP id i3G5dV5k020115; Thu, 15 Apr 2004 22:39:31 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 0589152345; Thu, 15 Apr 2004 22:39:30 -0700 (PDT) Date: Thu, 15 Apr 2004 22:39:30 -0700 From: Kris Kennaway To: "Alan L. Cox" Message-ID: <20040416053930.GA78940@xor.obsecurity.org> References: <20040411093343.GA89809@xor.obsecurity.org> <200404132236.20792.jhb@FreeBSD.org> <16509.42895.49213.222503@grasshopper.cs.duke.edu> <20040416045453.GA78366@xor.obsecurity.org> <407F68BA.6000405@imimic.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="lrZ03NoBR/3+SXJZ" Content-Disposition: inline In-Reply-To: <407F68BA.6000405@imimic.com> User-Agent: Mutt/1.4.2.1i cc: alc@FreeBSD.org cc: alpha@FreeBSD.org cc: Andrew Gallatin cc: Kris Kennaway Subject: Re: Another alpha panic X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Apr 2004 05:39:33 -0000 --lrZ03NoBR/3+SXJZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 16, 2004 at 12:01:46AM -0500, Alan L. Cox wrote: > Kris Kennaway wrote: > >On Wed, Apr 14, 2004 at 05:05:19PM -0400, Andrew Gallatin wrote: > > > >>John Baldwin writes: > >>> On Sunday 11 April 2004 05:33 am, Kris Kennaway wrote: > >>> > Not that I've had any luck getting someone to take a look at the la= st > >>> > half-dozen alpha panics I've reported, but: > >>> > > >>> > panic: pmap_emulate_reference(0xfffffc0019436a00, 0xfffffe0014495e6= 8,=20 > >>0, > >>> > 1): pa 0xb0a0000 not managed at line 2585 in file > >>> > /a/asami/portbuild/alpha/src-client/sys/alpha/alpha/pmap.c Stack=20 > >>backtrace: > >>> > db_print_backtrace() at db_print_backtrace+0x18 > >>> > backtrace() at backtrace+0x2c > >>> > __panic() at __panic+0x150 > >>> > pmap_emulate_reference() at pmap_emulate_reference+0x15c > >>> > trap() at trap+0x39c > >>> > XentMM() at XentMM+0x2c > >>> > --- memory management fault (from ipl 7) --- > >>> > pmap_activate() at pmap_activate+0xb4 > >>> > Lcs1() at Lcs1+0x1c > >>> > --- root of call graph --- > >>>=20 > >>> This is a VM-related panic. Perhaps alc@ might have an idea. There= =20 > >>might be > a reference fault on a K0SEG address or some other silly bug. > >> > >>I just googled and saw that at least 2 of these have come with the > >>same stack (context-switch(), pmap_activate()). What does > >>pmap_activate+0xb4 map to in your kernel? > > > > > >0xfffffc00005cf164 is in pmap_activate=20 > >(/a/asami/portbuild/alpha/src-client/sys/alpha/alpha/pmap.c:2740). > > > >This is a kernel from Mar 6. > > >=20 > Can you confirm that this corresponds to >=20 > if (td =3D=3D curthread) { > alpha_pal_swpctx((u_long)td->td_md.md_pcbpaddr); > } >=20 > ? Line 2740 seems to be: td->td_pcb->pcb_hw.apcb_ptbr =3D ALPHA_K0SEG_TO_PHYS((vm_offset_t) pmap->pm_lev1) >> PAGE_SH= IFT; Kris --lrZ03NoBR/3+SXJZ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAf3GSWry0BWjoQKURAhhvAJ40AyZh78ik4yFlzRM77PSDidY51wCaAh1R x0p/KEvy8VKroYjlxU39O/4= =M5hR -----END PGP SIGNATURE----- --lrZ03NoBR/3+SXJZ-- From owner-freebsd-alpha@FreeBSD.ORG Thu Apr 15 22:43:42 2004 Return-Path: Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0C72B16A4CE; Thu, 15 Apr 2004 22:43:42 -0700 (PDT) Received: from cs.rice.edu (cs.rice.edu [128.42.1.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id D50A943D62; Thu, 15 Apr 2004 22:43:41 -0700 (PDT) (envelope-from alc@cs.rice.edu) Received: from localhost (calypso.cs.rice.edu [128.42.1.127]) by cs.rice.edu (Postfix) with ESMTP id 4B86E4AC44; Fri, 16 Apr 2004 00:43:41 -0500 (CDT) Received: from cs.rice.edu ([128.42.1.30]) by localhost (calypso.cs.rice.edu [128.42.1.127]) (amavisd-new, port 10024) with LMTP id 19296-01-24; Fri, 16 Apr 2004 00:43:41 -0500 (CDT) Received: by cs.rice.edu (Postfix, from userid 19572) id F04304AC42; Fri, 16 Apr 2004 00:43:40 -0500 (CDT) Date: Fri, 16 Apr 2004 00:43:40 -0500 From: Alan Cox To: Kris Kennaway Message-ID: <20040416054340.GZ238@cs.rice.edu> References: <20040411093343.GA89809@xor.obsecurity.org> <200404132236.20792.jhb@FreeBSD.org> <16509.42895.49213.222503@grasshopper.cs.duke.edu> <20040416045453.GA78366@xor.obsecurity.org> <407F68BA.6000405@imimic.com> <20040416053930.GA78940@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040416053930.GA78940@xor.obsecurity.org> User-Agent: Mutt/1.3.28i X-Virus-Scanned: by amavis-20030616-p7 at cs.rice.edu cc: alc@FreeBSD.org cc: "Alan L. Cox" cc: alpha@FreeBSD.org cc: Andrew Gallatin Subject: Re: Another alpha panic X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Apr 2004 05:43:42 -0000 On Thu, Apr 15, 2004 at 10:39:30PM -0700, Kris Kennaway wrote: > > Line 2740 seems to be: > > td->td_pcb->pcb_hw.apcb_ptbr = > ALPHA_K0SEG_TO_PHYS((vm_offset_t) pmap->pm_lev1) >> PAGE_SHIFT; > Can you provide a disassembly of pmap_activate()? The point being to determine which of the above dereferences is faulting. Alan From owner-freebsd-alpha@FreeBSD.ORG Thu Apr 15 22:48:08 2004 Return-Path: Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 27DDD16A4CE; Thu, 15 Apr 2004 22:48:08 -0700 (PDT) Received: from mta7.pltn13.pbi.net (mta7.pltn13.pbi.net [64.164.98.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id E85E743D41; Thu, 15 Apr 2004 22:48:07 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (79cf76e2c7c83dccc3e3cc5934390c47@adsl-67-115-73-128.dsl.lsan03.pacbell.net [67.115.73.128])i3G5m4t5012675; Thu, 15 Apr 2004 22:48:05 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 4FBDD52345; Thu, 15 Apr 2004 22:48:04 -0700 (PDT) Date: Thu, 15 Apr 2004 22:48:04 -0700 From: Kris Kennaway To: Alan Cox Message-ID: <20040416054804.GA79165@xor.obsecurity.org> References: <20040411093343.GA89809@xor.obsecurity.org> <200404132236.20792.jhb@FreeBSD.org> <16509.42895.49213.222503@grasshopper.cs.duke.edu> <20040416045453.GA78366@xor.obsecurity.org> <407F68BA.6000405@imimic.com> <20040416053930.GA78940@xor.obsecurity.org> <20040416054340.GZ238@cs.rice.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6TrnltStXW4iwmi0" Content-Disposition: inline In-Reply-To: <20040416054340.GZ238@cs.rice.edu> User-Agent: Mutt/1.4.2.1i cc: alc@FreeBSD.org cc: "Alan L. Cox" cc: alpha@FreeBSD.org cc: Andrew Gallatin cc: Kris Kennaway Subject: Re: Another alpha panic X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Apr 2004 05:48:08 -0000 --6TrnltStXW4iwmi0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 16, 2004 at 12:43:40AM -0500, Alan Cox wrote: > On Thu, Apr 15, 2004 at 10:39:30PM -0700, Kris Kennaway wrote: > >=20 > > Line 2740 seems to be: > >=20 > > td->td_pcb->pcb_hw.apcb_ptbr =3D > > ALPHA_K0SEG_TO_PHYS((vm_offset_t) pmap->pm_lev1) >> PAG= E_SHIFT; > >=20 >=20 > Can you provide a disassembly of pmap_activate()? The point being to det= ermine > which of the above dereferences is faulting. >=20 > Alan Dump of assembler code for function pmap_activate: 0xfffffc00005cf0b0 : ldah gp,14(t12) 0xfffffc00005cf0b4 : lda gp,17112(gp) 0xfffffc00005cf0b8 : lda sp,-32(sp) 0xfffffc00005cf0bc : stq ra,0(sp) 0xfffffc00005cf0c0 : stq s0,8(sp) 0xfffffc00005cf0c4 : stq s1,16(sp) 0xfffffc00005cf0c8 : mov a0,s1 0xfffffc00005cf0cc : ldq t0,0(a0) 0xfffffc00005cf0d0 : ldq t0,280(t0) 0xfffffc00005cf0d4 : lda s0,272(t0) 0xfffffc00005cf0d8 : ldq t12,-21592(gp) 0xfffffc00005cf0dc : jsr ra,(t12),0xfffffc00005ca080= 0xfffffc00005cf0e0 : ldah gp,14(ra) 0xfffffc00005cf0e4 : lda gp,17064(gp) 0xfffffc00005cf0e8 : ldq t2,-5128(gp) 0xfffffc00005cf0ec : ldl t0,60(t7) 0xfffffc00005cf0f0 : zapnot t0,0xf,t0 0xfffffc00005cf0f4 : s8addq t0,t2,t0 0xfffffc00005cf0f8 : ldq t0,0(t0) 0xfffffc00005cf0fc : beq t0,0xfffffc00005cf14c 0xfffffc00005cf100 : ldl t0,60(t7) 0xfffffc00005cf104 : zapnot t0,0xf,t0 0xfffffc00005cf108 : s8addq t0,t2,t0 0xfffffc00005cf10c : ldq t0,0(t0) 0xfffffc00005cf110 : cmpeq s0,t0,t0 0xfffffc00005cf114 : bne t0,0xfffffc00005cf14c 0xfffffc00005cf118 : ldl t0,60(t7) 0xfffffc00005cf11c : zapnot t0,0xf,t0 0xfffffc00005cf120 : s8addq t0,t2,t0 0xfffffc00005cf124 : ldq t1,0(t0) 0xfffffc00005cf128 : ldl t0,64(t7) 0xfffffc00005cf12c : ldl_l t3,32(t1) 0xfffffc00005cf130 : andnot t3,t0,t3 0xfffffc00005cf134 : stl_c t3,32(t1) 0xfffffc00005cf138 : beq t3,0xfffffc000061dbb4 0xfffffc00005cf13c : ldl t0,60(t7) 0xfffffc00005cf140 : zapnot t0,0xf,t0 0xfffffc00005cf144 : s8addq t0,t2,t0 0xfffffc00005cf148 : stq zero,0(t0) 0xfffffc00005cf14c : ldq t2,416(s1) 0xfffffc00005cf150 : ldq t1,0(s0) 0xfffffc00005cf154 : ldah t0,-64 0xfffffc00005cf158 : srl t0,0x16,t0 0xfffffc00005cf15c : and t1,t0,t1 0xfffffc00005cf160 : srl t1,0xd,t1 0xfffffc00005cf164 : stq t1,16(t2) 0xfffffc00005cf168 : ldl t0,60(t7) 0xfffffc00005cf16c : zapnot t0,0xf,t0 0xfffffc00005cf170 : s4addq t0,s0,t0 0xfffffc00005cf174 : ldl t1,36(t0) 0xfffffc00005cf178 : zapnot t1,0xf,t1 0xfffffc00005cf17c : ldl t0,172(t7) 0xfffffc00005cf180 : zapnot t0,0xf,t0 0xfffffc00005cf184 : srl t1,0x8,t1 0xfffffc00005cf188 : cmpeq t0,t1,t0 0xfffffc00005cf18c : bne t0,0xfffffc00005cf198 0xfffffc00005cf190 : mov s0,a0 0xfffffc00005cf194 : bsr ra,0xfffffc00005cb4c8 0xfffffc00005cf198 : ldl t0,60(t7) 0xfffffc00005cf19c : zapnot t0,0xf,t0 0xfffffc00005cf1a0 : ldq t1,-5128(gp) 0xfffffc00005cf1a4 : s8addq t0,t1,t0 0xfffffc00005cf1a8 : stq s0,0(t0) 0xfffffc00005cf1ac : ldl t0,64(t7) 0xfffffc00005cf1b0 : ldl_l t1,32(s0) 0xfffffc00005cf1b4 : or t1,t0,t1 0xfffffc00005cf1b8 : stl_c t1,32(s0) 0xfffffc00005cf1bc : beq t1,0xfffffc000061dbb8 0xfffffc00005cf1c0 : ldq t2,416(s1) 0xfffffc00005cf1c4 : ldl t0,60(t7) 0xfffffc00005cf1c8 : zapnot t0,0xf,t0 0xfffffc00005cf1cc : s4addq t0,s0,t0 0xfffffc00005cf1d0 : ldq_u t1,36(t0) 0xfffffc00005cf1d4 : lda t0,36(t0) 0xfffffc00005cf1d8 : extbl t1,t0,t1 0xfffffc00005cf1dc : stl t1,28(t2) 0xfffffc00005cf1e0 : ldq t12,-22960(gp) 0xfffffc00005cf1e4 : jsr ra,(t12),0xfffffc00005ca0b0= 0xfffffc00005cf1e8 : ldah gp,14(ra) 0xfffffc00005cf1ec : lda gp,16800(gp) 0xfffffc00005cf1f0 : ldq t0,0(t7) 0xfffffc00005cf1f4 : cmpeq s1,t0,t0 0xfffffc00005cf1f8 : beq t0,0xfffffc00005cf210 0xfffffc00005cf1fc : ldq a0,560(s1) 0xfffffc00005cf200 : call_pal 0x30 0xfffffc00005cf204 : unop 0xfffffc00005cf208 : nop 0xfffffc00005cf20c : unop 0xfffffc00005cf210 : ldq ra,0(sp) 0xfffffc00005cf214 : ldq s0,8(sp) 0xfffffc00005cf218 : ldq s1,16(sp) 0xfffffc00005cf21c : lda sp,32(sp) 0xfffffc00005cf220 : ret 0xfffffc00005cf224 : unop 0xfffffc00005cf228 : nop 0xfffffc00005cf22c : unop --6TrnltStXW4iwmi0 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAf3OTWry0BWjoQKURAs4sAJ9iddYUUjZNRDPoZg2tJ8rJADi3sQCdGvN5 oJWAfhm4uY9oRZ5M0Oncqtc= =tpEl -----END PGP SIGNATURE----- --6TrnltStXW4iwmi0-- From owner-freebsd-alpha@FreeBSD.ORG Thu Apr 15 23:04:16 2004 Return-Path: Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2B6EB16A4CE for ; Thu, 15 Apr 2004 23:04:16 -0700 (PDT) Received: from host117.ipowerweb.com (host117.ipowerweb.com [12.129.237.159]) by mx1.FreeBSD.org (Postfix) with SMTP id BDCE743D2F for ; Thu, 15 Apr 2004 23:04:15 -0700 (PDT) (envelope-from alc@imimic.com) Received: (qmail 69971 invoked from network); 16 Apr 2004 06:10:01 -0000 Received: from unknown (HELO imimic.com) (216.63.78.18) by host117.ipowerweb.com with SMTP; 16 Apr 2004 06:10:01 -0000 Message-ID: <407F775D.7020908@imimic.com> Date: Fri, 16 Apr 2004 01:04:13 -0500 From: "Alan L. Cox" Organization: iMimic Networking, Inc. User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6a) Gecko/20031207 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kris Kennaway References: <20040411093343.GA89809@xor.obsecurity.org> <200404132236.20792.jhb@FreeBSD.org> <16509.42895.49213.222503@grasshopper.cs.duke.edu> <20040416045453.GA78366@xor.obsecurity.org> <407F68BA.6000405@imimic.com> <20040416053930.GA78940@xor.obsecurity.org> <20040416054340.GZ238@cs.rice.edu> <20040416054804.GA79165@xor.obsecurity.org> In-Reply-To: <20040416054804.GA79165@xor.obsecurity.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: alc@FreeBSD.org cc: alpha@FreeBSD.org cc: Alan Cox cc: Andrew Gallatin Subject: Re: Another alpha panic X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Apr 2004 06:04:16 -0000 Kris Kennaway wrote: > > Dump of assembler code for function pmap_activate: > 0xfffffc00005cf0b0 : ldah gp,14(t12) ... > 0xfffffc00005cf160 : srl t1,0xd,t1 > 0xfffffc00005cf164 : stq t1,16(t2) ... I believe that the shift right is the "... >> PAGE_SHIFT" in td->td_pcb->pcb_hw.apcb_ptbr = ALPHA_K0SEG_TO_PHYS((vm_offset_t) pmap->pm_lev1) >> PAGE_SHIFT; and the store quad is dereferencing "td->td_pcb". In other words, td->td_pcb points to never-never land. Alan From owner-freebsd-alpha@FreeBSD.ORG Fri Apr 16 07:08:15 2004 Return-Path: Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3540D16A4CF; Fri, 16 Apr 2004 07:08:15 -0700 (PDT) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id D0C6B43D1D; Fri, 16 Apr 2004 07:08:14 -0700 (PDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 15D637303A; Fri, 16 Apr 2004 10:08:13 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20040416140813.15D637303A@freebsd-current.sentex.ca> Date: Fri, 16 Apr 2004 10:08:13 -0400 (EDT) Subject: [current tinderbox] failure on alpha/alpha X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.1 List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Apr 2004 14:08:15 -0000 TB --- 2004-04-16 08:00:01 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2004-04-16 08:00:01 - starting CURRENT tinderbox run for alpha/alpha TB --- 2004-04-16 08:00:01 - checking out the source tree TB --- 2004-04-16 08:00:01 - cd /home/tinderbox/sandbox/CURRENT/alpha/alpha TB --- 2004-04-16 08:00:01 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2004-04-16 08:09:06 - building world (CFLAGS=-O2 -pipe) TB --- 2004-04-16 08:09:06 - cd /home/tinderbox/sandbox/CURRENT/alpha/alpha/src TB --- 2004-04-16 08:09:06 - /usr/bin/make -B buildworld >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything TB --- 2004-04-16 13:17:00 - building generic kernel (COPTFLAGS=-O2 -pipe) TB --- 2004-04-16 13:17:00 - cd /home/tinderbox/sandbox/CURRENT/alpha/alpha/src TB --- 2004-04-16 13:17:00 - /usr/bin/make buildkernel KERNCONF=GENERIC >>> Kernel build for GENERIC started on Fri Apr 16 13:17:01 GMT 2004 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for GENERIC completed on Fri Apr 16 13:52:54 GMT 2004 TB --- 2004-04-16 13:52:54 - generating LINT kernel config TB --- 2004-04-16 13:52:54 - cd /home/tinderbox/sandbox/CURRENT/alpha/alpha/src/sys/alpha/conf TB --- 2004-04-16 13:52:54 - /usr/bin/make -B LINT TB --- 2004-04-16 13:52:54 - building LINT kernel (COPTFLAGS=-O2 -pipe) TB --- 2004-04-16 13:52:54 - cd /home/tinderbox/sandbox/CURRENT/alpha/alpha/src TB --- 2004-04-16 13:52:54 - /usr/bin/make buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Fri Apr 16 13:52:55 GMT 2004 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] awk -f /other/tinderbox/CURRENT/alpha/alpha/src/sys/tools/makeobjops.awk /other/tinderbox/CURRENT/alpha/alpha/src/sys/dev/smbus/smbus_if.m -c ; cc -c -O2 -pipe -fno-strict-aliasing -mcpu=ev4 -mtune=ev5 -mieee -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/other/tinderbox/CURRENT/alpha/alpha/src/sys -I/other/tinderbox/CURRENT/alpha/alpha/src/sys/contrib/dev/acpica -I/other/tinderbox/CURRENT/alpha/alpha/src/sys/contrib/ipfilter -I/other/tinderbox/CURRENT/alpha/alpha/src/sys/contrib/pf -I/other/tinderbox/CURRENT/alpha/alpha/src/sys/contrib/dev/ath -I/other/tinderbox/CURRENT/alpha/alpha/src/sys/contrib/dev/ath/freebsd -I/other/tinderbox/CURRENT/alpha/alpha/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=15000 -fno-builtin -mno-fp-regs -ffixed-8 -Wa,-mev6 -ffreestanding -Werror smbus_if.c cc -c -O2 -pipe -fno-strict-aliasing -mcpu=ev4 -mtune=ev5 -mieee -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/other/tinderbox/CURRENT/alpha/alpha/src/sys -I/other/tinderbox/CURRENT/alpha/alpha/src/sys/contrib/dev/acpica -I/other/tinderbox/CURRENT/alpha/alpha/src/sys/contrib/ipfilter -I/other/tinderbox/CURRENT/alpha/alpha/src/sys/contrib/pf -I/other/tinderbox/CURRENT/alpha/alpha/src/sys/contrib/dev/ath -I/other/tinderbox/CURRENT/alpha/alpha/src/sys/contrib/dev/ath/freebsd -I/other/tinderbox/CURRENT/alpha/alpha/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=15000 -fno-builtin -mno-fp-regs -ffixed-8 -Wa,-mev6 -ffreestanding -Werror /other/tinderbox/CURRENT/alpha/alpha/src/sys/dev/smbus/smb.c cc -c -O2 -pipe -fno-strict-aliasing -mcpu=ev4 -mtune=ev5 -mieee -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/other/tinderbox/CURRENT/alpha/alpha/src/sys -I/other/tinderbox/CURRENT/alpha/alpha/src/sys/contrib/dev/acpica -I/other/tinderbox/CURRENT/alpha/alpha/src/sys/contrib/ipfilter -I/other/tinderbox/CURRENT/alpha/alpha/src/sys/contrib/pf -I/other/tinderbox/CURRENT/alpha/alpha/src/sys/contrib/dev/ath -I/other/tinderbox/CURRENT/alpha/alpha/src/sys/contrib/dev/ath/freebsd -I/other/tinderbox/CURRENT/alpha/alpha/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=15000 -fno-builtin -mno-fp-regs -ffixed-8 -Wa,-mev6 -ffreestanding -Werror /other/tinderbox/CURRENT/alpha/alpha/src/sys/dev/smbus/smbconf.c cc -c -O2 -pipe -fno-strict-aliasing -mcpu=ev4 -mtune=ev5 -mieee -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/other/tinderbox/CURRENT/alpha/alpha/src/sys -I/other/tinderbox/CURRENT/alpha/alpha/src/sys/contrib/dev/acpica -I/other/tinderbox/CURRENT/alpha/alpha/src/sys/contrib/ipfilter -I/other/tinderbox/CURRENT/alpha/alpha/src/sys/contrib/pf -I/other/tinderbox/CURRENT/alpha/alpha/src/sys/contrib/dev/ath -I/other/tinderbox/CURRENT/alpha/alpha/src/sys/contrib/dev/ath/freebsd -I/other/tinderbox/CURRENT/alpha/alpha/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=15000 -fno-builtin -mno-fp-regs -ffixed-8 -Wa,-mev6 -ffreestanding -Werror /other/tinderbox/CURRENT/alpha/alpha/src/sys/dev/smbus/smbus.c cc -c -O2 -pipe -fno-strict-aliasing -mcpu=ev4 -mtune=ev5 -mieee -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/other/tinderbox/CURRENT/alpha/alpha/src/sys -I/other/tinderbox/CURRENT/alpha/alpha/src/sys/contrib/dev/acpica -I/other/tinderbox/CURRENT/alpha/alpha/src/sys/contrib/ipfilter -I/other/tinderbox/CURRENT/alpha/alpha/src/sys/contrib/pf -I/other/tinderbox/CURRENT/alpha/alpha/src/sys/contrib/dev/ath -I/other/tinderbox/CURRENT/alpha/alpha/src/sys/contrib/dev/ath/freebsd -I/other/tinderbox/CURRENT/alpha/alpha/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=15000 -fno-builtin -mno-fp-regs -ffixed-8 -Wa,-mev6 -ffreestanding -Werror /other/tinderbox/CURRENT/alpha/alpha/src/sys/dev/sn/if_sn.c /other/tinderbox/CURRENT/alpha/alpha/src/sys/dev/sn/if_sn.c: In function `sn_attach': /other/tinderbox/CURRENT/alpha/alpha/src/sys/dev/sn/if_sn.c:162: warning: unused variable `ifa' /other/tinderbox/CURRENT/alpha/alpha/src/sys/dev/sn/if_sn.c:163: warning: unused variable `sdl' *** Error code 1 Stop in /other/tinderbox/CURRENT/alpha/alpha/obj/alpha/other/tinderbox/CURRENT/alpha/alpha/src/sys/LINT. *** Error code 1 Stop in /other/tinderbox/CURRENT/alpha/alpha/src. *** Error code 1 Stop in /other/tinderbox/CURRENT/alpha/alpha/src. TB --- 2004-04-16 14:08:13 - WARNING: /usr/bin/make returned exit code 1 TB --- 2004-04-16 14:08:13 - ERROR: failed to build lint kernel TB --- 2004-04-16 14:08:13 - tinderbox aborted From owner-freebsd-alpha@FreeBSD.ORG Fri Apr 16 07:41:31 2004 Return-Path: Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3F67D16A4CE; Fri, 16 Apr 2004 07:41:31 -0700 (PDT) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 85CBF43D39; Fri, 16 Apr 2004 07:41:30 -0700 (PDT) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.12.10/8.12.10) with ESMTP id i3GEfRFC018300 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 16 Apr 2004 10:41:27 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.12.9p2/8.12.9/Submit) id i3GEfM65063897; Fri, 16 Apr 2004 10:41:22 -0400 (EDT) (envelope-from gallatin) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16511.61586.123216.627307@grasshopper.cs.duke.edu> Date: Fri, 16 Apr 2004 10:41:22 -0400 (EDT) To: "Alan L. Cox" In-Reply-To: <407F775D.7020908@imimic.com> References: <20040411093343.GA89809@xor.obsecurity.org> <200404132236.20792.jhb@FreeBSD.org> <16509.42895.49213.222503@grasshopper.cs.duke.edu> <20040416045453.GA78366@xor.obsecurity.org> <407F68BA.6000405@imimic.com> <20040416053930.GA78940@xor.obsecurity.org> <20040416054340.GZ238@cs.rice.edu> <20040416054804.GA79165@xor.obsecurity.org> <407F775D.7020908@imimic.com> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid cc: alc@FreeBSD.org cc: alpha@FreeBSD.org cc: Alan Cox cc: Andrew Gallatin cc: Kris Kennaway Subject: Re: Another alpha panic X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Apr 2004 14:41:31 -0000 Alan L. Cox writes: > Kris Kennaway wrote: > > > > Dump of assembler code for function pmap_activate: > > 0xfffffc00005cf0b0 : ldah gp,14(t12) > ... > > 0xfffffc00005cf160 : srl t1,0xd,t1 > > 0xfffffc00005cf164 : stq t1,16(t2) > ... > I believe that the shift right is the "... >> PAGE_SHIFT" in > > td->td_pcb->pcb_hw.apcb_ptbr = > ALPHA_K0SEG_TO_PHYS((vm_offset_t) pmap->pm_lev1) >> PAGE_SHIFT; > > and the store quad is dereferencing "td->td_pcb". In other words, > td->td_pcb points to never-never land. > Is it really pointing into never-never land? The original panic was that pmap_emulate_reference() was complaining that the page was not managed.. The physical address 0xb0a0000 is not totally unreasonable, and would sit around ~176MB into memory. The fact that the trap was an ALPHA_MMCSR_FOW, and not an ALPHA_MMCSR_INVALTRANS or ALPHA_MMCSR_ACCESS makes me think that the kva was also good... I was wondering if there might be some more insidious pmap corruption happening. Or at least why a page in the middle of memory is not marked as managed. Drew From owner-freebsd-alpha@FreeBSD.ORG Fri Apr 16 09:27:51 2004 Return-Path: Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7432C16A4FA; Fri, 16 Apr 2004 09:27:49 -0700 (PDT) Received: from cs.rice.edu (cs.rice.edu [128.42.1.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 45F5543D1F; Fri, 16 Apr 2004 09:27:49 -0700 (PDT) (envelope-from alc@cs.rice.edu) Received: from localhost (calypso.cs.rice.edu [128.42.1.127]) by cs.rice.edu (Postfix) with ESMTP id D65694ACAB; Fri, 16 Apr 2004 11:27:48 -0500 (CDT) Received: from cs.rice.edu ([128.42.1.30]) by localhost (calypso.cs.rice.edu [128.42.1.127]) (amavisd-new, port 10024) with LMTP id 15098-01-15; Fri, 16 Apr 2004 11:27:48 -0500 (CDT) Received: by cs.rice.edu (Postfix, from userid 19572) id 83DAB4ACA7; Fri, 16 Apr 2004 11:27:48 -0500 (CDT) Date: Fri, 16 Apr 2004 11:27:48 -0500 From: Alan Cox To: Andrew Gallatin Message-ID: <20040416162748.GB238@cs.rice.edu> References: <20040411093343.GA89809@xor.obsecurity.org> <200404132236.20792.jhb@FreeBSD.org> <16509.42895.49213.222503@grasshopper.cs.duke.edu> <20040416045453.GA78366@xor.obsecurity.org> <407F68BA.6000405@imimic.com> <20040416053930.GA78940@xor.obsecurity.org> <20040416054340.GZ238@cs.rice.edu> <20040416054804.GA79165@xor.obsecurity.org> <407F775D.7020908@imimic.com> <16511.61586.123216.627307@grasshopper.cs.duke.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <16511.61586.123216.627307@grasshopper.cs.duke.edu> User-Agent: Mutt/1.3.28i X-Virus-Scanned: by amavis-20030616-p7 at cs.rice.edu cc: alc@FreeBSD.org cc: "Alan L. Cox" cc: alpha@FreeBSD.org cc: Kris Kennaway Subject: Re: Another alpha panic X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Apr 2004 16:27:52 -0000 On Fri, Apr 16, 2004 at 10:41:22AM -0400, Andrew Gallatin wrote: > > Alan L. Cox writes: > > Kris Kennaway wrote: > > > > > > Dump of assembler code for function pmap_activate: > > > 0xfffffc00005cf0b0 : ldah gp,14(t12) > > ... > > > 0xfffffc00005cf160 : srl t1,0xd,t1 > > > 0xfffffc00005cf164 : stq t1,16(t2) > > ... > > I believe that the shift right is the "... >> PAGE_SHIFT" in > > > > td->td_pcb->pcb_hw.apcb_ptbr = > > ALPHA_K0SEG_TO_PHYS((vm_offset_t) pmap->pm_lev1) >> PAGE_SHIFT; > > > > and the store quad is dereferencing "td->td_pcb". In other words, > > td->td_pcb points to never-never land. > > > > Is it really pointing into never-never land? The original panic was > that pmap_emulate_reference() was complaining that the page was not > managed.. The physical address 0xb0a0000 is not totally unreasonable, > and would sit around ~176MB into memory. > > The fact that the trap was an ALPHA_MMCSR_FOW, and not an > ALPHA_MMCSR_INVALTRANS or ALPHA_MMCSR_ACCESS makes me think that the > kva was also good... > Here is an observation that may or may not be related: The alpha pmap doesn't implement the PG_UNMANAGED flag on vm_pages. So, it instantiates pv entries even though the machine-independent VM says not to. Fixing this should be mechanical in nature: Search for all uses of PG_UNMANAGED in amd64's or i386's and change alpha's pmap accordingly. Volunteer? I can review the patch but not test it. Alan From owner-freebsd-alpha@FreeBSD.ORG Fri Apr 16 12:24:46 2004 Return-Path: Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C276A16A4CE for ; Fri, 16 Apr 2004 12:24:46 -0700 (PDT) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5914143D2F for ; Fri, 16 Apr 2004 12:24:44 -0700 (PDT) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.12.10/8.12.10) with ESMTP id i3GJOfFC020939 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 16 Apr 2004 15:24:41 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.12.9p2/8.12.9/Submit) id i3GJOZ0X064193; Fri, 16 Apr 2004 15:24:35 -0400 (EDT) (envelope-from gallatin) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="9YKtECucS/" Content-Transfer-Encoding: 7bit Message-ID: <16512.13043.868658.232276@grasshopper.cs.duke.edu> Date: Fri, 16 Apr 2004 15:24:35 -0400 (EDT) To: Alan Cox In-Reply-To: <20040416162748.GB238@cs.rice.edu> References: <20040411093343.GA89809@xor.obsecurity.org> <200404132236.20792.jhb@FreeBSD.org> <16509.42895.49213.222503@grasshopper.cs.duke.edu> <20040416045453.GA78366@xor.obsecurity.org> <407F68BA.6000405@imimic.com> <20040416053930.GA78940@xor.obsecurity.org> <20040416054340.GZ238@cs.rice.edu> <20040416054804.GA79165@xor.obsecurity.org> <407F775D.7020908@imimic.com> <16511.61586.123216.627307@grasshopper.cs.duke.edu> <20040416162748.GB238@cs.rice.edu> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid cc: alpha@FreeBSD.org Subject: Re: Another alpha panic X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Apr 2004 19:24:47 -0000 --9YKtECucS/ Content-Type: text/plain; charset=us-ascii Content-Description: message body text Content-Transfer-Encoding: 7bit Alan Cox writes: > Fixing this should be mechanical in nature: Search for all uses > of PG_UNMANAGED in amd64's or i386's and change alpha's pmap accordingly. > Volunteer? I can review the patch but not test it. How does the attached patch look? I"ll try a buildworld with it before commiting, naturally.. Its sort of funny that pmap_enter_quick() talks about "Enter on the PV list if part of our managed memory" and then puts it there anyway.. Drew --9YKtECucS/ Content-Type: application/octet-stream Content-Description: PG_UNMANAGED diff for review Content-Disposition: attachment; filename="alpha_PG_UNMANAGED.diff" Content-Transfer-Encoding: base64 SW5kZXg6IGFscGhhL2FscGhhL3BtYXAuYwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09ClJDUyBmaWxlOiAvaG9t ZS9uY3ZzL3NyYy9zeXMvYWxwaGEvYWxwaGEvcG1hcC5jLHYKcmV0cmlldmluZyByZXZpc2lv biAxLjE0MwpkaWZmIC11IC1yMS4xNDMgcG1hcC5jCi0tLSBhbHBoYS9hbHBoYS9wbWFwLmMJ MTEgQXByIDIwMDQgMDU6MDg6MjYgLTAwMDAJMS4xNDMKKysrIGFscGhhL2FscGhhL3BtYXAu YwkxNiBBcHIgMjAwNCAxOToxNToyNiAtMDAwMApAQCAtMTkwNiw3ICsxOTA2LDggQEAKIAkg KiByYWlzZSBJUEwgd2hpbGUgbWFuaXB1bGF0aW5nIHB2X3RhYmxlIHNpbmNlIHBtYXBfZW50 ZXIgY2FuIGJlCiAJICogY2FsbGVkIGF0IGludGVycnVwdCB0aW1lLgogCSAqLwotCWlmIChw bWFwX2luaXRpYWxpemVkICYmIChtLT5mbGFncyAmIFBHX0ZJQ1RJVElPVVMpID09IDApIHsK KwlpZiAocG1hcF9pbml0aWFsaXplZCAmJiAKKwkgICAgKG0tPmZsYWdzICYgKFBHX0ZJQ1RJ VElPVVN8UEdfVU5NQU5BR0VEKSkgPT0gMCkgewogCQlwbWFwX2luc2VydF9lbnRyeShwbWFw LCB2YSwgbXB0ZSwgbSk7CiAJCW1hbmFnZWQgfD0gUEdfTUFOQUdFRDsKIAl9CkBAIC0yMDMx LDcgKzIwMzIsOCBAQAogCSAqIHJhaXNlIElQTCB3aGlsZSBtYW5pcHVsYXRpbmcgcHZfdGFi bGUgc2luY2UgcG1hcF9lbnRlciBjYW4gYmUKIAkgKiBjYWxsZWQgYXQgaW50ZXJydXB0IHRp bWUuCiAJICovCi0JcG1hcF9pbnNlcnRfZW50cnkocG1hcCwgdmEsIG1wdGUsIG0pOworCWlm ICgobS0+ZmxhZ3MgJiAoUEdfRklDVElUSU9VU3xQR19VTk1BTkFHRUQpKSA9PSAwKQorCQlw bWFwX2luc2VydF9lbnRyeShwbWFwLCB2YSwgbXB0ZSwgbSk7CiAKIAkvKgogCSAqIEluY3Jl bWVudCBjb3VudGVycwpAQCAtMjA0MSw3ICsyMDQzLDEwIEBACiAJLyoKIAkgKiBOb3cgdmFs aWRhdGUgbWFwcGluZyB3aXRoIFJPIHByb3RlY3Rpb24KIAkgKi8KLQkqcHRlID0gcG1hcF9w aHlzX3RvX3B0ZShWTV9QQUdFX1RPX1BIWVMobSkpIHwgUEdfViB8IFBHX0tSRSB8IFBHX1VS RSB8IFBHX01BTkFHRUQgfCBQR19GT1IgfCBQR19GT0UgfCBQR19GT1c7CisJaWYgKG0tPmZs YWdzICYgKFBHX0ZJQ1RJVElPVVN8UEdfVU5NQU5BR0VEKSkKKwkJKnB0ZSA9IHBtYXBfcGh5 c190b19wdGUoVk1fUEFHRV9UT19QSFlTKG0pKSB8IFBHX1YgfCBQR19LUkUgfCBQR19VUkU7 CisJZWxzZQorCQkqcHRlID0gcG1hcF9waHlzX3RvX3B0ZShWTV9QQUdFX1RPX1BIWVMobSkp IHwgUEdfViB8IFBHX0tSRSB8IFBHX1VSRSB8IFBHX01BTkFHRUQgfCBQR19GT1IgfCBQR19G T0UgfCBQR19GT1c7CiAKIAlhbHBoYV9wYWxfaW1iKCk7CQkJLyogWFhYIG92ZXJraWxsPyAq LwogCXJldHVybiBtcHRlOwo= --9YKtECucS/-- From owner-freebsd-alpha@FreeBSD.ORG Fri Apr 16 17:36:02 2004 Return-Path: Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A510516A4CE for ; Fri, 16 Apr 2004 17:36:02 -0700 (PDT) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5166843D54 for ; Fri, 16 Apr 2004 17:36:02 -0700 (PDT) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.12.10/8.12.10) with ESMTP id i3H0a0FC021670 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 16 Apr 2004 20:36:00 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.12.9p2/8.12.9/Submit) id i3H0Zr7C064520; Fri, 16 Apr 2004 20:35:53 -0400 (EDT) (envelope-from gallatin) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16512.31721.348101.780586@grasshopper.cs.duke.edu> Date: Fri, 16 Apr 2004 20:35:53 -0400 (EDT) To: Alan Cox In-Reply-To: <16512.13043.868658.232276@grasshopper.cs.duke.edu> References: <20040411093343.GA89809@xor.obsecurity.org> <200404132236.20792.jhb@FreeBSD.org> <16509.42895.49213.222503@grasshopper.cs.duke.edu> <20040416045453.GA78366@xor.obsecurity.org> <407F68BA.6000405@imimic.com> <20040416053930.GA78940@xor.obsecurity.org> <20040416054340.GZ238@cs.rice.edu> <20040416054804.GA79165@xor.obsecurity.org> <407F775D.7020908@imimic.com> <16511.61586.123216.627307@grasshopper.cs.duke.edu> <20040416162748.GB238@cs.rice.edu> <16512.13043.868658.232276@grasshopper.cs.duke.edu> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid cc: alpha@FreeBSD.org Subject: Re: Another alpha panic X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Apr 2004 00:36:02 -0000 Andrew Gallatin writes: > > Alan Cox writes: > > > Fixing this should be mechanical in nature: Search for all uses > > of PG_UNMANAGED in amd64's or i386's and change alpha's pmap accordingly. > > Volunteer? I can review the patch but not test it. > > How does the attached patch look? I"ll try a buildworld with > it before commiting, naturally.. FWIW, the patch seems to test fine. First time I've built world on my UP1000 in 6 months.. Drew From owner-freebsd-alpha@FreeBSD.ORG Fri Apr 16 20:55:03 2004 Return-Path: Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0A78616A4CE for ; Fri, 16 Apr 2004 20:55:03 -0700 (PDT) Received: from cs.rice.edu (cs.rice.edu [128.42.1.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id E371443D3F for ; Fri, 16 Apr 2004 20:55:02 -0700 (PDT) (envelope-from alc@cs.rice.edu) Received: from localhost (calypso.cs.rice.edu [128.42.1.127]) by cs.rice.edu (Postfix) with ESMTP id 83F7D4AD26; Fri, 16 Apr 2004 22:55:02 -0500 (CDT) Received: from cs.rice.edu ([128.42.1.30]) by localhost (calypso.cs.rice.edu [128.42.1.127]) (amavisd-new, port 10024) with LMTP id 13721-01-76; Fri, 16 Apr 2004 22:55:02 -0500 (CDT) Received: by cs.rice.edu (Postfix, from userid 19572) id 2A0694AD25; Fri, 16 Apr 2004 22:55:02 -0500 (CDT) Date: Fri, 16 Apr 2004 22:55:01 -0500 From: Alan Cox To: Andrew Gallatin Message-ID: <20040417035501.GE238@cs.rice.edu> References: <16509.42895.49213.222503@grasshopper.cs.duke.edu> <20040416045453.GA78366@xor.obsecurity.org> <407F68BA.6000405@imimic.com> <20040416053930.GA78940@xor.obsecurity.org> <20040416054340.GZ238@cs.rice.edu> <20040416054804.GA79165@xor.obsecurity.org> <407F775D.7020908@imimic.com> <16511.61586.123216.627307@grasshopper.cs.duke.edu> <20040416162748.GB238@cs.rice.edu> <16512.13043.868658.232276@grasshopper.cs.duke.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <16512.13043.868658.232276@grasshopper.cs.duke.edu> User-Agent: Mutt/1.3.28i X-Virus-Scanned: by amavis-20030616-p7 at cs.rice.edu cc: alpha@FreeBSD.org Subject: Re: Another alpha panic X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Apr 2004 03:55:03 -0000 On Fri, Apr 16, 2004 at 03:24:35PM -0400, Andrew Gallatin wrote: Content-Description: message body text > > Alan Cox writes: > > > Fixing this should be mechanical in nature: Search for all uses > > of PG_UNMANAGED in amd64's or i386's and change alpha's pmap accordingly. > > Volunteer? I can review the patch but not test it. > > How does the attached patch look? I"ll try a buildworld with > it before commiting, naturally.. > > Its sort of funny that pmap_enter_quick() talks about > "Enter on the PV list if part of our managed memory" > and then puts it there anyway.. > The patch looks correct. In regards to the funny comment in pmap_enter_quick(), I can say the following: once upon a time, all pages passed to pmap_enter_quick() would have been managed pages. So, the check could have been safely omitted as a micro-optimization. Alan P.S. A thought regarding style, in pmap_enter_quick(), why not follow the same idiom used in pmap_enter() for implementing the "management" bits? Specifically, something like managed = 0; if ((m->flags & (PG_FICTITIOUS | PG_UNMANAGED)) == 0) { pmap_insert_entry(pmap, va, mpte, m); managed = PG_MANAGED | PG_FOR | PG_FOW | PG_FOE; } ... *pte = ... | managed; From owner-freebsd-alpha@FreeBSD.ORG Fri Apr 16 21:27:53 2004 Return-Path: Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9785116A4CE for ; Fri, 16 Apr 2004 21:27:53 -0700 (PDT) Received: from mta7.pltn13.pbi.net (mta7.pltn13.pbi.net [64.164.98.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 87BB243D1F for ; Fri, 16 Apr 2004 21:27:53 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (f28ec4eaee9c5f64902b3776482155bf@adsl-67-115-73-128.dsl.lsan03.pacbell.net [67.115.73.128]) by mta7.pltn13.pbi.net (8.12.10/8.12.10) with ESMTP id i3H4Rot5001028 for ; Fri, 16 Apr 2004 21:27:53 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id AEB93511FC; Fri, 16 Apr 2004 21:27:43 -0700 (PDT) Date: Fri, 16 Apr 2004 21:27:43 -0700 From: Kris Kennaway To: alpha@FreeBSD.org Message-ID: <20040417042743.GA96517@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GvXjxJ+pjyke8COw" Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: Alpha deadlock X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Apr 2004 04:27:53 -0000 --GvXjxJ+pjyke8COw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline One of the alpha machines has deadlocked; the running process is: 79102 fffffc001a451680 fffffe0014428000 0 78395 78391 0004000 [CPU 0] cp which has the following process trace: --- interrupt (from ipl 0) --- critical_exit() at critical_exit+0x4c _mtx_unlock_spin_flags() at _mtx_unlock_spin_flags+0xe4 witness_checkorder() at witness_checkorder+0x64c _mtx_lock_flags() at _mtx_lock_flags+0x9c vm_fault() at vm_fault+0x298 trap() at trap+0x554 XentMM() at XentMM+0x2c --- memory management fault --- bcopy() at bcopy+0x14 copyin() at copyin+0x38 uiomove() at uiomove+0x1cc ffs_write() at ffs_write+0x4d8 vn_write() at vn_write+0x2a0 dofilewrite() at dofilewrite+0x130 write() at write+0x64 syscall() at syscall+0x36c XentSys() at XentSys+0x64 --- syscall (4, FreeBSD ELF64, write) --- --- user mode --- db> Kris --GvXjxJ+pjyke8COw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAgLI/Wry0BWjoQKURApTFAKDo94HPUusJulpfB9ZedxWCGHRNTACgyxCy Emvn6ugWXAxop7xzsYDzJY0= =xPr2 -----END PGP SIGNATURE----- --GvXjxJ+pjyke8COw--