From owner-freebsd-current@FreeBSD.ORG Mon Jun 25 22:07:33 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3365816A400 for ; Mon, 25 Jun 2007 22:07:33 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id D9FFA13C44C for ; Mon, 25 Jun 2007 22:07:32 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.13.8/8.13.4) with ESMTP id l5PM6TXi015284; Mon, 25 Jun 2007 16:06:30 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Mon, 25 Jun 2007 16:07:05 -0600 (MDT) Message-Id: <20070625.160705.163264235.imp@bsdimp.com> To: nike_d@cytexbg.com From: "M. Warner Losh" In-Reply-To: <467F7A69.9000909@cytexbg.com> References: <4677BD25.8030202@cytexbg.com> <20070623.212128.323264592.imp@bsdimp.com> <467F7A69.9000909@cytexbg.com> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Mon, 25 Jun 2007 16:06:31 -0600 (MDT) Cc: freebsd-current@freebsd.org, hselasky@c2i.net Subject: Re: panic when removing pccard 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: Mon, 25 Jun 2007 22:07:33 -0000 In message: <467F7A69.9000909@cytexbg.com> Niki Denev writes: : -----BEGIN PGP SIGNED MESSAGE----- : Hash: SHA1 : : M. Warner Losh wrote: : > I've done some testing with the recently improved in-tree usb stack, : > and it doesn't panic for me when I remove a CardBus USB card, both : > with and without devices. It also does remove the extra /dev/usb* : > entries properly. I couldn't cause any crashes with the latest : > -current. : > : > Warner : : Unfortunately it still does panic for me by simply inserting the card : (Huawei E630 3g card a.k.a Vodafone Mobile Connect), waiting for the : usb busses to be added and the ucom0 device to be recognized ( it takes : a few seconds) and then ejecting the card. : Again the message is : : : ucom0: detached : (null): at uhub2 port 1 (addr 2) disconnected : : Fatal trap 12: page fault while in kernel mode : fault virtual address = 0x400 : fault code = supervisor read, page not presend : instruction pointer = 0x20:0xc0595b2d : stack pointer = 0x28:0xd2f4db34 : frame pointer = 0x28:0xd2f4db5c : code segment = base 0x0, limit 0xfffff, type 0x1b : = DPL 0, pres 1, def32 1, gran 1 : processor eflags = interrupt enabled, resume, IOPL = 0 : current process = 28 (cbb0 event thread) : trap number = 12 : panic: page fault : : This problem does not exist if i compile my kernel with the HPS Usb Stack. I don't suppose you could compile a kernel with DDB and get me a traceback? Warner