From owner-freebsd-amd64@FreeBSD.ORG Sun Dec 28 12:00:45 2003 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 053FA16A4D1 for ; Sun, 28 Dec 2003 12:00:45 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3906D43D39 for ; Sun, 28 Dec 2003 12:00:40 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) hBSK0eFR063936 for ; Sun, 28 Dec 2003 12:00:40 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id hBSK0eoA063935; Sun, 28 Dec 2003 12:00:40 -0800 (PST) (envelope-from gnats) Resent-Date: Sun, 28 Dec 2003 12:00:40 -0800 (PST) Resent-Message-Id: <200312282000.hBSK0eoA063935@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-amd64@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Thomas Pasch Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2AB3016A4CE for ; Sun, 28 Dec 2003 11:58:24 -0800 (PST) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 43A9A43D45 for ; Sun, 28 Dec 2003 11:58:23 -0800 (PST) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.10/8.12.10) with ESMTP id hBSJwNdL083134 for ; Sun, 28 Dec 2003 11:58:23 -0800 (PST) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.10/8.12.10/Submit) id hBSJwNYl083133; Sun, 28 Dec 2003 11:58:23 -0800 (PST) (envelope-from nobody) Message-Id: <200312281958.hBSJwNYl083133@www.freebsd.org> Date: Sun, 28 Dec 2003 11:58:23 -0800 (PST) From: Thomas Pasch To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.0 Subject: amd64/60664: Fatal trap 9 in kernel while downloading packages via sysinstall X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Dec 2003 20:00:45 -0000 >Number: 60664 >Category: amd64 >Synopsis: Fatal trap 9 in kernel while downloading packages via sysinstall >Confidential: no >Severity: critical >Priority: low >Responsible: freebsd-amd64 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Dec 28 12:00:39 PST 2003 >Closed-Date: >Last-Modified: >Originator: Thomas Pasch >Release: 5.2-RC2 (amd64) >Organization: >Environment: n/a >Description: Fatal trap 9: general protection fault while in kernel mode cpuid = 0; apic id = 0 instruction pointer = 0x8:0xffffffff80458d6c stack pointer = 0x10:0xffffffffa215eab0 frame pointer = 0x10:0xffffffff002f9bc0 code segment = base 0x0, limit 0xfffff, type 0x1b = DLP 0, pres 1, long 1, def32 0, gran 1 processor eflags = interrupts enabled, resume, IOPL = 0 current process = 3 (g_up) panic: general protection fault cpuid = 0 Syncing disks, buffers remaining... panic: softdep_lock: lock held by 0xfffffffffffffffe cpuid = 0; Uptime: 1m40s -- System: Processor: Athlon64 3200+ (clock: 2GHz) Board: Gigabyte GA-K8NNXP Chipset: nForce3 150 Ram: 2x512Mb DDR 400 CL 2-2-2 HD: Samsung 160Gb UDMA 133 SP1614N Graphic Card: Card: Sapphire Radeon 9600 Atlantis Chip: ATI Radeon 9600 (VPU) Ram: 128Mb Network Card: Type: 10/100Mbit Ethernet Chip: Realtek 8139 >How-To-Repeat: 1. Install amd64 5.2-RC2 from miniinst iso CD (md5 verified). 2. See what happen when you download packages via FTP. 3. This problem is severe because is currupts the file systems in the FreeBSD slice. >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-amd64@FreeBSD.ORG Mon Dec 29 02:51:28 2003 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7776316A4CE for ; Mon, 29 Dec 2003 02:51:28 -0800 (PST) Received: from pandora.cs.kun.nl (pandora.cs.kun.nl [131.174.33.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id A54CC43D39 for ; Mon, 29 Dec 2003 02:51:26 -0800 (PST) (envelope-from adridg@cs.kun.nl) Received: from odin.cs.kun.nl by pandora.cs.kun.nl via odin.cs.kun.nl [131.174.33.33] with ESMTP for id hBTApPBj026764 (8.12.10/3.58); Mon, 29 Dec 2003 11:51:25 +0100 (MET) Date: Mon, 29 Dec 2003 11:51:25 +0100 (MET) From: Adriaan de Groot To: amd64@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Still panics with atapi use X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: adridg@cs.kun.nl List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Dec 2003 10:51:28 -0000 After 3 panics yesterday, I finally got one while not in X, so's I could jot down the details. the system is an amd64 3200+ on an asus k8v, with 1G ram and a single 120G sata HDD on the onboard Promise PDC20378 (ad4 on ata2). There's an atapi CDRW on the primary (P)ATA connector, as slave. It's acd0 on ata0. It runs at PIO4. The usage scenario is each of the past 4 panics has been the same: dagrab -a -d /dev/acd0. It doesn't seem to be correlated to heavy cpu loading or other disk usage. Details of this last panic (as usual, text paraphrased, but the numbers are exact): fatal trap 12, page fault while in supervisor mode cpuid = 0 apic = 0 fva = 0x20 fc = supervisor read, page not present ip = 0x8:ffffffff8036b06c sp = 0x10:ffffffffaa78cbb0 fp = 0x10:ffffff0000b1f000 cs = base 0x0 limit 0xfffff type 0x1b DPL 0 pres 1 long 1 def32 0 gran 1 pef = interrupt enabled, resume, IOPL = 0 cp = 2 (g_event) tn = 12 panic: page fault cpuid = 0 uptime = 2d 13h (weird, i'm sure it paniced at least twice yesterday) The system was last rebuilt december 15th, FreeBSD beans.ebn.kun.nl 5.2-CURRENT FreeBSD 5.2-CURRENT #15: Mon Dec 15 21:44:44 CET 2003 root@beans.ebn.kun.nl:/usr/obj/mnt/sys/CURRENT/src/sys/BEANS amd64 ANy hints on how to track this down better? -- Adriaan de Groot adridg@cs.kun.nl Kamer A6020 024-3652272 GPG Key Fingerprint 934E 31AA 80A7 723F 54F9 50ED 76AC EE01 FEA2 A3FE http://www.cs.kun.nl/~adridg/research/ From owner-freebsd-amd64@FreeBSD.ORG Mon Dec 29 11:03:38 2003 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BF3B416A4D1 for ; Mon, 29 Dec 2003 11:03:38 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8835B43D96 for ; Mon, 29 Dec 2003 11:02:24 -0800 (PST) (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 hBTJ2OFR041064 for ; Mon, 29 Dec 2003 11:02:24 -0800 (PST) (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id hBTJ2NWP041058 for freebsd-amd64@freebsd.org; Mon, 29 Dec 2003 11:02:23 -0800 (PST) (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 29 Dec 2003 11:02:23 -0800 (PST) Message-Id: <200312291902.hBTJ2NWP041058@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-amd64@FreeBSD.org Subject: Current problem reports assigned to you X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Dec 2003 19:03:38 -0000 Current FreeBSD problem reports Critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2003/11/26] amd64/59713 amd64 Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A002516A4CE for ; Mon, 29 Dec 2003 17:47:06 -0800 (PST) Received: from mx7.roble.com (mx7.roble.com [206.40.34.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2CD2E43D2D for ; Mon, 29 Dec 2003 17:47:06 -0800 (PST) (envelope-from marquis@roble.com) Date: Mon, 29 Dec 2003 17:47:03 -0800 (PST) From: Roger Marquis To: freebsd-amd64@freebsd.org In-Reply-To: <20031229200101.B7C2616A4D2@hub.freebsd.org> References: <20031229200101.B7C2616A4D2@hub.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Message-Id: <20031230014703.DE866DAC7D@mx7.roble.com> Subject: Tyan GX28 support? X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Dec 2003 01:47:06 -0000 Has anyone tested 5.X with a Tyan GX28 1U server? Since this will be my first experiment with a CPU architecture other than x86 or Sparc I'd be grateful for any pointers or recommendations. TIA, -- Roger Marquis Roble Systems Consulting http://www.roble.com/ From owner-freebsd-amd64@FreeBSD.ORG Mon Dec 29 19:22:04 2003 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 313A416A4CE for ; Mon, 29 Dec 2003 19:22:04 -0800 (PST) Received: from bigtex.jrv.org (rrcs-sw-24-73-246-106.biz.rr.com [24.73.246.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F6F243D31 for ; Mon, 29 Dec 2003 19:22:03 -0800 (PST) (envelope-from james@bigtex.jrv.org) Received: from bigtex.jrv.org (localhost [127.0.0.1]) by bigtex.jrv.org (8.12.1/8.12.1) with ESMTP id hBU3M1o8054204 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Mon, 29 Dec 2003 21:22:02 -0600 (CST) Received: (from james@localhost) by bigtex.jrv.org (8.12.1/8.12.1/Submit) id hBU3M123054201; Mon, 29 Dec 2003 21:22:01 -0600 (CST) Date: Mon, 29 Dec 2003 21:22:01 -0600 (CST) Message-Id: <200312300322.hBU3M123054201@bigtex.jrv.org> From: James Van Artsdalen To: freebsd-amd64@freebsd.org cc: jhinkle@gnax.net Subject: Re: What motherboard? X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Dec 2003 03:22:04 -0000 I'm using a Tyan S2885 (K8W) with two Opteron 244 chips and 8 GB of registered DDR (Crucial Part # CT12872Y335). This is working flawlessly. I believe the Opteron is the only member of the AMD64 family that supports multi-processor operation. A dual-channel DDR memory is built into the Opteron and it requires registered DDIMs. Date: Fri, 26 Dec 2003 19:23:23 -0500 (EST) Subject: What motherboard? what motherboard do you guys recommend for use on a dual cpu system. would prefer ddr non registered memory capability and sata drive support. thanks! From owner-freebsd-amd64@FreeBSD.ORG Tue Dec 30 02:16:32 2003 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3073416A4CE for ; Tue, 30 Dec 2003 02:16:32 -0800 (PST) Received: from bigtex.jrv.org (rrcs-sw-24-73-246-106.biz.rr.com [24.73.246.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 218EA43D4C for ; Tue, 30 Dec 2003 02:16:31 -0800 (PST) (envelope-from james@bigtex.jrv.org) Received: from bigtex.jrv.org (localhost [127.0.0.1]) by bigtex.jrv.org (8.12.1/8.12.1) with ESMTP id hBUAGUo8085643 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Tue, 30 Dec 2003 04:16:30 -0600 (CST) Received: (from james@localhost) by bigtex.jrv.org (8.12.1/8.12.1/Submit) id hBUAGT4Q085640; Tue, 30 Dec 2003 04:16:29 -0600 (CST) Date: Tue, 30 Dec 2003 04:16:29 -0600 (CST) Message-Id: <200312301016.hBUAGT4Q085640@bigtex.jrv.org> From: James Van Artsdalen To: freebsd-amd64@freebsd.org Subject: Re: libc assembly optimizations? X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Dec 2003 10:16:32 -0000 Here's an alternative for fabs (3): ENTRY(fabs) psllq $1,%xmm0 /* 64-bit shifts lefts */ psrlq $1,%xmm0 /* logical shift right clears sign */ ret /usr/src/lib/libc/amd64/gen/fabs.S does the code below. gcc generates essentially the same code as below. The shifts above seem to work and look better to me. The string ops can made be significantly improved if allowed to read extra bytes around the string but within the same 16-byte paragraph as the start or end of the string. This seems safe in userland. Finally, can the SSE2 regs be safely used in kernel mode? Page fill and aligned-bulk bcopy calls can be improved this way. /* * Ok, this sucks. Is there really no way to push an xmm register onto * the FP stack directly? */ ENTRY(fabs) movsd %xmm0, -8(%rsp) fldl -8(%rsp) fabs fstpl -8(%rsp) movsd -8(%rsp),%xmm0 ret From owner-freebsd-amd64@FreeBSD.ORG Wed Dec 31 01:37:09 2003 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D5DCC16A4CE for ; Wed, 31 Dec 2003 01:37:09 -0800 (PST) Received: from bigtex.jrv.org (rrcs-sw-24-73-246-106.biz.rr.com [24.73.246.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id B63A743D1D for ; Wed, 31 Dec 2003 01:37:08 -0800 (PST) (envelope-from james@bigtex.jrv.org) Received: from bigtex.jrv.org (localhost [127.0.0.1]) by bigtex.jrv.org (8.12.1/8.12.1) with ESMTP id hBV9b7o8056592 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Wed, 31 Dec 2003 03:37:07 -0600 (CST) Received: (from james@localhost) by bigtex.jrv.org (8.12.1/8.12.1/Submit) id hBV9b7da056589; Wed, 31 Dec 2003 03:37:07 -0600 (CST) Date: Wed, 31 Dec 2003 03:37:07 -0600 (CST) Message-Id: <200312310937.hBV9b7da056589@bigtex.jrv.org> From: James Van Artsdalen To: freebsd-amd64@freebsd.org cc: marquis@roble.com Subject: Re: Tyan GX28 support? X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Dec 2003 09:37:10 -0000 I'm using a Tyan S2885, which appears somewhat similar to this. FreeBSD has run flawlessly for me - no reboots, crashes or other headaches. I'm using FreeBSD 5.2 RC2. The onboard sATA on the S2885 isn't supported. The GX28 uses a Promise controller chip that is more likely to work. I have no idea if the LSI SCSI controller is supported. It's a BCM5704c ethernet: mine is a 5705. I'm using 8 GB of memory (8x Crucial part #CT12872Y335) and a HighPoint 1542 sATA controller. Date: Mon, 29 Dec 2003 17:47:03 -0800 (PST) Subject: Tyan GX28 support? Has anyone tested 5.X with a Tyan GX28 1U server?