From owner-freebsd-current@FreeBSD.ORG Sun Feb 8 00:17:04 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AE3561065670 for ; Sun, 8 Feb 2009 00:17:04 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (brucec-1-pt.tunnel.tserv4.nyc4.ipv6.he.net [IPv6:2001:470:1f06:c09::2]) by mx1.freebsd.org (Postfix) with ESMTP id 6F2D88FC17 for ; Sun, 8 Feb 2009 00:17:04 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id 401A619014 for ; Sat, 7 Feb 2009 19:17:03 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on muon X-Spam-Level: X-Spam-Status: No, score=-2.6 required=8.0 tests=AWL,BAYES_00,NO_RELAYS autolearn=ham version=3.2.5 Received: from gluon (unknown [IPv6:2a01:348:10f:0:240:f4ff:fe57:9871]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA for ; Sat, 7 Feb 2009 19:17:03 -0500 (EST) Date: Sun, 8 Feb 2009 00:16:56 +0000 From: Bruce Cran To: current@freebsd.org Message-ID: <20090208001656.48a1a14d@gluon> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.14.4; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Subject: "Fatal trap" when unloading usb2_controller_ehci X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Feb 2009 00:17:05 -0000 Unloading usb2_controller_ehci is crashing FreeBSD on -CURRENT from a few days ago, resulting in a "Fatal trap" that isn't immediately fatal but ends up knocking out the rest of the system. Shortly after issuing a kldunload, the kernel drops into DDB with: Fatal trap 30: reserved (unknown) fault while in kernel mode cpuid = 0; apic id = 00 instruction pointer = 0x8 : 0xffffffff804bc646 stack pointer = 0x10: 0xfffffffe40023b70 frame pointer = 0x10: 0xfffffffe40023b80 code segment = base 0x0, limit 0xfffff, type 0x1b processor eflags = interrupt enabled, IOPL = 0 current process = 11 (idle : cpu0) [thread pid 11 tid 100004] Stopped at acpi_cpu_c1+0x6 : leave A backtrace just shows that the idle task was running at the time of the trap. Attempting to continue results in a load of "calcru: runtime went backwards" messages followed by the ATA driver dying with: WARNING - SETFEATURES SET TRANSFER MODE taskqueue timeout - completing request directly Then follows similar messages about SET_MULTI, ENABLE RCACHE, ENABLE_WCACHE and WRITE_DMA48 etc. -- Bruce Cran