From owner-freebsd-current@FreeBSD.ORG Mon Jun 25 08:18:54 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 4246916A400 for ; Mon, 25 Jun 2007 08:18:54 +0000 (UTC) (envelope-from nike_d@cytexbg.com) Received: from sellinet.net (galileo.sellinet.net [82.199.192.2]) by mx1.freebsd.org (Postfix) with SMTP id 8853A13C45D for ; Mon, 25 Jun 2007 08:18:53 +0000 (UTC) (envelope-from nike_d@cytexbg.com) Received: (qmail 7216 invoked by uid 1009); 25 Jun 2007 11:18:51 +0300 Received: from nike_d@cytexbg.com by galileo by uid 1002 with qmail-scanner-1.22 (spamassassin: 3.0.3. Clear:RC:1(82.199.197.152):. Processed in 0.988256 secs); 25 Jun 2007 08:18:51 -0000 Received: from unknown (HELO ndenev.totalterror.net) (82.199.197.152) by galileo.sellinet.net with SMTP; 25 Jun 2007 11:18:49 +0300 Received: (qmail 11920 invoked from network); 25 Jun 2007 11:18:49 +0300 Received: from unknown (HELO ?127.0.0.1?) (127.0.0.1) by ndenev.totalterror.net with SMTP; 25 Jun 2007 11:18:49 +0300 Message-ID: <467F7A69.9000909@cytexbg.com> Date: Mon, 25 Jun 2007 11:18:49 +0300 From: Niki Denev User-Agent: Thunderbird 1.5.0.10 (X11/20070326) MIME-Version: 1.0 To: "M. Warner Losh" References: <46779C8C.8000707@cytexbg.com> <200706191113.03925.hselasky@c2i.net> <4677BD25.8030202@cytexbg.com> <20070623.212128.323264592.imp@bsdimp.com> In-Reply-To: <20070623.212128.323264592.imp@bsdimp.com> X-Enigmail-Version: 0.94.3.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 08:18:54 -0000 -----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. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGf3ppHNAJ/fLbfrkRAtL+AKCxm2AKjxi4uUetfZ+bv1PO432FXACgz+Ll dpGLAw8qx9EyITVE/n7yqJ4= =iGEZ -----END PGP SIGNATURE-----