From owner-freebsd-questions Sun Jan 12 19:41:28 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 64AD437B401 for ; Sun, 12 Jan 2003 19:41:27 -0800 (PST) Received: from spork.pantherdragon.org (spork.pantherdragon.org [206.29.168.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id 67CFD43EB2 for ; Sun, 12 Jan 2003 19:41:26 -0800 (PST) (envelope-from dmp@pantherdragon.org) Received: from sparx.techno.pagans (12-224-208-117.client.attbi.com [12.224.208.117]) by spork.pantherdragon.org (Postfix) with ESMTP id 8013C1005F for ; Sun, 12 Jan 2003 19:41:24 -0800 (PST) Received: from pantherdragon.org (speck.techno.pagans [172.21.42.2]) by sparx.techno.pagans (Postfix) with ESMTP id ED964AB6A for ; Sun, 12 Jan 2003 19:41:22 -0800 (PST) Message-ID: <3E223562.4070903@pantherdragon.org> Date: Sun, 12 Jan 2003 19:41:22 -0800 From: Darren Pilgrim User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: en-us, en MIME-Version: 1.0 Cc: freebsd-questions@freebsd.org Subject: Re: USB hub detach causing panic in 4.7p3?! (more information) References: <3E222713.1010706@pantherdragon.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Darren Pilgrim wrote: > I'm going to try a few more things, like plugging and unplugging the hub > with the monitor on, as well as plugging and unplugging devices from > both the root hub and the hub in the monitor to see if it's more > general, or if it's just something wrong with the uhub detach routine. I tried various patterns of plugging and unplugging devices and the hub, as well as booting with and without the hub connected and with and without additional devices connected to the hub. The additional device was a Microsoft Wireless Intellimouse Explorer. I should note that I have /etc/usbd.conf modified to not run moused when a ums device is attached. In all cases, panics only occured when the hub was detached without anything attached to it. In all other cases the hub and the ums device attached to the hub it detached and reattached repeatedly without problems. While doing this testing, the fault information was different in two places: the stack and frame pointer values in the second (after the "syncing disks" message) fault information block were different, but consistent for all panics: stack pointer = 0x10:0xc0250dd0 frame pointer = 0x10:0xc0250dd8 The first fault's information block and the remaining information from the second block was the same as previously reported. I also looked through my logs and found that, until this afternoon, the ums device was always attached when I had turned the monitor off. My logs cover 4.7-R, 4.7p2, and 4.7p3, with over 20 reboots between 1am Friday morning and 5pm today, the time of the first panic. I suppose the question now is: why does uhub cause a page fault when an unused hub is detached? Unused meaning there are no devices hanging off it. I'd also like to take this moment to thank all the hackers who made FreeBSD so damned robust that I could deliberately panic the machine over and over and have all the filesystems come up fine every time. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message