From owner-freebsd-alpha@FreeBSD.ORG Mon Oct 4 11:02:09 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 386F116A4CE for ; Mon, 4 Oct 2004 11:02:09 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 11DE943D41 for ; Mon, 4 Oct 2004 11:02:09 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i94B28Kc031354 for ; Mon, 4 Oct 2004 11:02:08 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i94B28qf031348 for freebsd-alpha@freebsd.org; Mon, 4 Oct 2004 11:02:08 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 4 Oct 2004 11:02:08 GMT Message-Id: <200410041102.i94B28qf031348@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, 04 Oct 2004 11:02:09 -0000 Current FreeBSD problem reports Critical problems 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 [2003/11/10] alpha/59116 alpha [ntfs] mount_ntfs of a Windows 2000-forma o [2004/01/26] alpha/61940 alpha Can't disklabel new disk from FreeBSD/alp o [2004/01/27] alpha/61973 alpha Machine Check on boot-up of AlphaServer 2 f [2004/06/06] alpha/67626 alpha X crashes an alpha machine, resulting reb 7 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2001/01/27] 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/27930 alpha NE2000 not supported on FreeBSD Alpha 4.x 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/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 [2004/05/10] alpha/66478 alpha unexpected machine check: panic for 4.9, o [2004/06/13] alpha/67903 alpha hw.chipset.memory: 1099511627776 - thats o [2004/09/23] alpha/72024 alpha LONG_MIN / 1 sends a "Floating exception" 14 problems total. From owner-freebsd-alpha@FreeBSD.ORG Mon Oct 4 19:08:34 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 C55C616A4CE; Mon, 4 Oct 2004 19:08:34 +0000 (GMT) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [205.211.164.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 57CCB43D53; Mon, 4 Oct 2004 19:08:34 +0000 (GMT) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1.sentex.ca [199.212.134.4]) by smarthost2.sentex.ca (8.13.1/8.13.1) with ESMTP id i94J8XlQ095196; Mon, 4 Oct 2004 15:08:33 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-stable.sentex.ca (freebsd-stable.sentex.ca [64.7.128.103]) by smtp1.sentex.ca (8.13.1/8.13.1) with ESMTP id i94J8XZB045180; Mon, 4 Oct 2004 15:08:33 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-stable.sentex.ca (Postfix, from userid 666) id AE552241A0; Mon, 4 Oct 2004 15:08:33 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20041004190833.AE552241A0@freebsd-stable.sentex.ca> Date: Mon, 4 Oct 2004 15:08:33 -0400 (EDT) Subject: [releng_4 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: Mon, 04 Oct 2004 19:08:35 -0000 TB --- 2004-10-04 19:00:01 - tinderbox 2.3 running on freebsd-stable.sentex.ca TB --- 2004-10-04 19:00:01 - starting RELENG_4 tinderbox run for alpha/alpha TB --- 2004-10-04 19:00:01 - checking out the source tree TB --- 2004-10-04 19:00:01 - cd /tinderbox/RELENG_4/alpha/alpha TB --- 2004-10-04 19:00:01 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -rRELENG_4 src TB --- 2004-10-04 19:08:33 - WARNING: /usr/bin/cvs caught signal 9 TB --- 2004-10-04 19:08:33 - ERROR: unable to check out the source tree TB --- 2004-10-04 19:08:33 - tinderbox aborted From owner-freebsd-alpha@FreeBSD.ORG Mon Oct 4 19:09:54 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 E26A516A506; Mon, 4 Oct 2004 19:09:54 +0000 (GMT) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [205.211.164.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 83F6243D39; Mon, 4 Oct 2004 19:09:54 +0000 (GMT) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1.sentex.ca [199.212.134.4]) by smarthost2.sentex.ca (8.13.1/8.13.1) with ESMTP id i94J9rXw095374; Mon, 4 Oct 2004 15:09:53 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-stable.sentex.ca (freebsd-stable.sentex.ca [64.7.128.103]) by smtp1.sentex.ca (8.13.1/8.13.1) with ESMTP id i94J9rYi046023; Mon, 4 Oct 2004 15:09:53 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-stable.sentex.ca (Postfix, from userid 666) id D3539241C8; Mon, 4 Oct 2004 15:09:53 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20041004190953.D3539241C8@freebsd-stable.sentex.ca> Date: Mon, 4 Oct 2004 15:09:53 -0400 (EDT) Subject: [releng_4_8 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: Mon, 04 Oct 2004 19:09:55 -0000 TB --- 2004-10-04 19:09:46 - tinderbox 2.3 running on freebsd-stable.sentex.ca TB --- 2004-10-04 19:09:46 - starting RELENG_4_8 tinderbox run for alpha/alpha TB --- 2004-10-04 19:09:46 - checking out the source tree TB --- 2004-10-04 19:09:46 - cd /tinderbox/RELENG_4_8/alpha/alpha TB --- 2004-10-04 19:09:46 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -rRELENG_4_8 src From owner-freebsd-alpha@FreeBSD.ORG Thu Oct 7 11:58:55 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 D7B0316A4CE for ; Thu, 7 Oct 2004 11:58:55 +0000 (GMT) Received: from ms-smtp-03-eri0.ohiordc.rr.com (ms-smtp-03-smtplb.ohiordc.rr.com [65.24.5.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6924843D1D for ; Thu, 7 Oct 2004 11:58:55 +0000 (GMT) (envelope-from lausts@acm.org) Received: from USABBCLEL01477 (cpe-69-135-252-190.woh.rr.com [69.135.252.190]) i97BwqwZ024683 for ; Thu, 7 Oct 2004 07:58:53 -0400 (EDT) From: "Thomas Laus" Organization: ABB Automation To: freebsd-alpha@freebsd.org Date: Thu, 07 Oct 2004 07:58:52 -0400 Message-ID: <4164F73C.14149.527131@localhost> Priority: normal X-mailer: Pegasus Mail for Windows (v4.12a) X-Virus-Scanned: Symantec AntiVirus Scan Engine Subject: AlphaStation 255 tty-level buffer overflows X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: lausts@acm.org List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Oct 2004 11:58:56 -0000 Group: Are there any known problems with the serial ports in FreeBSD 4.10 Alpha implementation? I have a Oncore GPS Reference Clock on sio1 and a Belkin UPS on sio0. I seem to be getting tty-level buffer overflows from the sio1 port. I am running ntpd from the FreeBSD release. The ntp reference clock is polled every 16 seconds. The ups connection to sio0 is also a polled operation every 5 seconds. This setup has been running fine on my Athlon 1GHz server for the past few years. I became the owner of a few AS255's and decided to put one of them to use as my ntp server. My Athlon is also running 4.10 and the same version of all of the base system as the AS255. It's dmesg lists a 16550A serial controller, the same as the AlphaStation. I looked through the FreeBSD mailing list archives for any reference to problems with the AlphaStation serial ports running under FreeBSD, but came up short. My system log: Oct 7 04:04:06 as255 /kernel: sio1: 320 more tty-level buffer overflows (total 117556) Oct 7 04:04:07 as255 /kernel: sio1: 24 more tty-level buffer overflows (total 117580) Oct 7 04:12:18 as255 /kernel: sio1: 111 more tty-level buffer overflows (total 117691) Oct 7 04:12:19 as255 /kernel: sio1: 88 more tty-level buffer overflows (total 117779) Oct 7 04:12:20 as255 ntpd[553]: pps sync disabled Oct 7 04:20:28 as255 ntpd[553]: pps sync enabled Oct 7 05:01:29 as255 /kernel: sio1: 33 more tty-level buffer overflows (total 117880) Oct 7 05:01:30 as255 /kernel: sio1: 228 more tty-level buffer overflows (total 118108) Oct 7 05:01:30 as255 /kernel: sio1: 161 more tty-level buffer overflows (total 118269) Oct 7 05:01:30 as255 /kernel: sio1: 161 more tty-level buffer overflows (total 118430) Oct 7 05:01:32 as255 /kernel: sio1: 104 more tty-level buffer overflows (total 118534) .... shutdown restart .... Oct 7 06:53:27 as255 /kernel: sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 Oct 7 06:53:27 as255 /kernel: sio0: type 16550A Oct 7 06:53:27 as255 /kernel: sio0: interrupting at ISA irq 4 Oct 7 06:53:27 as255 /kernel: sio1 at port 0x2f8-0x2ff irq 3 on isa0 Oct 7 06:53:27 as255 /kernel: sio1: type 16550A Oct 7 06:53:27 as255 /kernel: sio1: interrupting at ISA irq 3 Tom -- Public Keys: PGP KeyID = 0x5F22FDC1 GnuPG KeyID = 0x620836CF From owner-freebsd-alpha@FreeBSD.ORG Fri Oct 8 21:55: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 DC48516A4CE; Fri, 8 Oct 2004 21:55:26 +0000 (GMT) Received: from twu.net (bilbo.twu.net [64.246.24.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5BADF43D2F; Fri, 8 Oct 2004 21:55:24 +0000 (GMT) (envelope-from admin@truthsolo.net) Received: from [192.168.123.116] (121-90.8-67.tampabay.rr.com [67.8.90.121]) (authenticated bits=0) by twu.net (8.12.9/8.12.9) with ESMTP id i98LqD0L022297; Fri, 8 Oct 2004 17:52:13 -0400 Mime-Version: 1.0 (Apple Message framework v619) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; format=flowed To: freebsd-current@freebsd.org, freebsd-alpha@freebsd.org From: Rob Dosogne Date: Fri, 8 Oct 2004 17:55:23 -0400 X-Mailer: Apple Mail (2.619) Subject: CPU hang during boot at isp0 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, 08 Oct 2004 21:55:27 -0000 With all kernels I built after 5.2.1-RELEASE, the system halts cpu during boot at: isp0: [GIANT-LOCKED] Machine is DEC Alpha 600au (21164A) booting from drive on a QLogic 1040B SCSI controller. Additional info can be provided, just let me know what you want. :-) cheers, Rob Dosogne, your friendly neighborhood sysadmin. http://www.truthsolo.net/ ---- Join in the new game that's sweeping the country. It's called "Bureaucracy". Everybody stands in a circle. The first person to do anything loses. From owner-freebsd-alpha@FreeBSD.ORG Fri Oct 8 22:56:39 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 26DA016A522 for ; Fri, 8 Oct 2004 22:56:39 +0000 (GMT) Received: from web14103.mail.yahoo.com (web14103.mail.yahoo.com [216.136.172.133]) by mx1.FreeBSD.org (Postfix) with SMTP id E043443D48 for ; Fri, 8 Oct 2004 22:56:38 +0000 (GMT) (envelope-from cguttesen@yahoo.dk) Message-ID: <20041008225638.12280.qmail@web14103.mail.yahoo.com> Received: from [194.248.174.50] by web14103.mail.yahoo.com via HTTP; Sat, 09 Oct 2004 00:56:38 CEST Date: Sat, 9 Oct 2004 00:56:38 +0200 (CEST) From: Claus Guttesen To: Rob Dosogne , freebsd-current@freebsd.org, freebsd-alpha@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: Re: CPU hang during boot at isp0 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, 08 Oct 2004 22:56:39 -0000 > system halts cpu > during boot at: > isp0: [GIANT-LOCKED] > Machine is DEC Alpha 600au (21164A) booting from > drive on a QLogic > 1040B SCSI controller. May not apply to Alpha, but did you include device ispfw along with 'device isp'? Maybe this should be included in GENERIC as well? regards Claus From owner-freebsd-alpha@FreeBSD.ORG Sat Oct 9 23:10:21 2004 Return-Path: Delivered-To: freebsd-alpha@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D13F816A4CE for ; Sat, 9 Oct 2004 23:10:21 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A47DD43D1F for ; Sat, 9 Oct 2004 23:10:21 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i99NALoP078479 for ; Sat, 9 Oct 2004 23:10:21 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i99NAL6r078478; Sat, 9 Oct 2004 23:10:21 GMT (envelope-from gnats) Date: Sat, 9 Oct 2004 23:10:21 GMT Message-Id: <200410092310.i99NAL6r078478@freefall.freebsd.org> To: freebsd-alpha@FreeBSD.org From: Peter Edwards Subject: Re: alpha/72024: LONG_MIN / 1 sends a "Floating exception" X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Peter Edwards List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Oct 2004 23:10:21 -0000 The following reply was made to PR alpha/72024; it has been noted by GNATS. From: Peter Edwards To: freebsd-gnats-submit@FreeBSD.org, ppelissi@caramail.com Cc: Subject: Re: alpha/72024: LONG_MIN / 1 sends a "Floating exception" Date: Sun, 10 Oct 2004 00:03:13 +0100 This is a multi-part message in MIME format. --------------020907060008000208010003 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Ooh a good excuse to look at Alpha assembler. (/me googles for the alpha instruction set.) (Can someone on the -alpha list tell me if this reasoning is correct, and if I should commit the patch?) Alpha appears not to have an integer division instruction, so this is implemented by divq(), the source of which is generated from "src/lib/libc/alpha/gen/divrem4" (For reading the macros when preprocessing as divq, S is true, OP is "div", and WORDSIZE is 64) If I'm reading it correctly, the start of this function decides what sign the result should have, then gets the absolute value of each operand, (search for "subq zero, A, A" and "subq zero, B, B".) Note, for "LONG_MIN", or 0x8000000000000000, 2's compliment subtraction for zero gives back the 0x8000000000000000 The body of the work is done with logical shifts, so everything still works when treating the dividend as an unsigned long. At the end of the function, the code takes the calculated result, and decides if it needs to negate it: > /* Check to see if we should negate it. */ > subqv zero, RESULT, T_0 > cmovlbs NEG, T_0, RESULT The "v" here means "trap overflows", which is why we blow up. LONG_MIN is the only value that _can_ blow up here, and you can only reach this case if you start with LONG_MIN / 1, if my reasoning isn't flawed. So, I think it's perfectly safe to remove the "v" from the subq instruction. i.e., I think the attached patch is correct. --------------020907060008000208010003 Content-Type: text/plain; name="divrem.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="divrem.txt" Index: lib/libc/alpha/gen/divrem.m4 =================================================================== RCS file: /usr/cvs/FreeBSD-CVS/src/lib/libc/alpha/gen/divrem.m4,v retrieving revision 1.3 diff -u -r1.3 divrem.m4 --- lib/libc/alpha/gen/divrem.m4 10 May 2000 19:04:57 -0000 1.3 +++ lib/libc/alpha/gen/divrem.m4 9 Oct 2004 22:54:36 -0000 @@ -172,7 +172,7 @@ ifelse(S, `true', ` /* Check to see if we should negate it. */ - subqv zero, RESULT, T_0 + subq zero, RESULT, T_0 cmovlbs NEG, T_0, RESULT ') --------------020907060008000208010003--