From owner-freebsd-bugs@FreeBSD.ORG Sat Dec 25 06:50:22 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4FADC16A4CE for ; Sat, 25 Dec 2004 06:50:22 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2974143D53 for ; Sat, 25 Dec 2004 06:50:22 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id iBP6oM9P028615 for ; Sat, 25 Dec 2004 06:50:22 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id iBP6oM4H028610; Sat, 25 Dec 2004 06:50:22 GMT (envelope-from gnats) Resent-Date: Sat, 25 Dec 2004 06:50:22 GMT Resent-Message-Id: <200412250650.iBP6oM4H028610@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Michael W.Oliver" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A272716A4CE for ; Sat, 25 Dec 2004 06:49:36 +0000 (GMT) Received: from phoenix.gargantuan.com (phoenix.gargantuan.com [24.73.171.238]) by mx1.FreeBSD.org (Postfix) with ESMTP id 55C4143D54 for ; Sat, 25 Dec 2004 06:49:36 +0000 (GMT) (envelope-from michael@gargantuan.com) Received: from localhost (localhost.gargantuan.com [127.0.0.1]) by spamassassin-injector (Postfix) with SMTP id 54825718 for ; Sat, 25 Dec 2004 01:49:35 -0500 (EST) Received: by phoenix.gargantuan.com (Postfix, from userid 1001) id ADA716A9; Sat, 25 Dec 2004 01:49:30 -0500 (EST) Message-Id: <20041225064930.ADA716A9@phoenix.gargantuan.com> Date: Sat, 25 Dec 2004 01:49:30 -0500 (EST) From: "Michael W.Oliver" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/75482: bug in fwohci_pci.c causes cdrom installation to fail X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Michael W.Oliver" List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Dec 2004 06:50:22 -0000 >Number: 75482 >Category: kern >Synopsis: bug in fwohci_pci.c causes cdrom installation to fail >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Dec 25 06:50:21 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Michael W. Oliver >Release: FreeBSD 5.3-RELEASE amd64 >Organization: n/a >Environment: no `uname' available since installation panics >Description: fwohci0: mem 0xd0000000-0xd0003fff,0xd0008000-0xd00087ff irq 17 at device 6.0 on pci0 fwohci0: Reserved 0x800 bytes for rid 0x10 type 3 at 0xd0008000 fwohci0: [MPSAFE] fwohci0: OHCI version 1.10 (ROM=1) NMI ISA b0, EISA ff RAM parity error, likely hardware failure. Fatal trap 19: non-maskable interrupt trap while in kernel mode instruction pointer = 0x8:0xffffffff8024db66 stack pointer = 0x10:0xffffffff80c99950 frame pointer = 0x10:0xffffffff80e39000 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = interrupt enabled, IOPL = 0 current process = 0 (swapper) trap number = 19 panic: non-maskable interrupt trap Uptime: 1s Shutting down ACPI Automatic reboot in 15 seconds - press a key on the console to abort >How-To-Repeat: boot a system with the TSB43AB21/A/AI/A-EP firewire controller with a 5.3-RELEASE iso >Fix: the hint to this fix was found on the dfly list via google, and the fix was done by simokawa@freebsd.org. I am just submitting it here so that it gets applied to the FreeBSD tree. (this patch is actually against RELENG_5) (also, this is my first PR, so if I screwed something up, please let me know so that I don't do it again) Index: sys/dev/firewire/fwohci_pci.c =================================================================== RCS file: /home/ncvs/src/sys/dev/firewire/fwohci_pci.c,v retrieving revision 1.48 diff -u -r1.48 fwohci_pci.c --- sys/dev/firewire/fwohci_pci.c 4 Aug 2004 12:18:39 -0000 1.48 +++ sys/dev/firewire/fwohci_pci.c 25 Dec 2004 05:51:53 -0000 @@ -241,6 +241,7 @@ PCIM_CMD_SERRESPEN | PCIM_CMD_PERRESPEN; #if 1 cmd &= ~PCIM_CMD_MWRICEN; + cmd &= ~(PCIM_CMD_SERRESPEN | PCIM_CMD_PERRESPEN); #endif pci_write_config(self, PCIR_COMMAND, cmd, 2); >Release-Note: >Audit-Trail: >Unformatted: