From owner-freebsd-mobile Tue Jun 26 10:45:11 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from gate.qubesoft.com (gate.qubesoft.com [212.113.16.243]) by hub.freebsd.org (Postfix) with ESMTP id E793037B405 for ; Tue, 26 Jun 2001 10:45:05 -0700 (PDT) (envelope-from n_hibma@qubesoft.com) Received: from bluebottle.qubesoft.com (bluebottle [192.168.1.2]) by gate.qubesoft.com (8.11.3/8.11.3) with ESMTP id f5QHj3l07140; Tue, 26 Jun 2001 18:45:03 +0100 (BST) (envelope-from n_hibma@qubesoft.com) Received: from localhost (localhost [127.0.0.1]) by bluebottle.qubesoft.com (8.11.4/8.11.4) with ESMTP id f5QHj2W65804; Tue, 26 Jun 2001 18:45:03 +0100 (BST) (envelope-from n_hibma@qubesoft.com) Date: Tue, 26 Jun 2001 18:45:02 +0100 (BST) From: Nick Hibma X-X-Sender: To: Brian Behlendorf Cc: "Karsten W. Rohrbach" , Subject: Re: C1-XS sound and USB issues (was Re: Vaio PCG-XG9 Problem) In-Reply-To: Message-ID: <20010626184348.S44767-100000@bluebottle> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The problem has to do with the way the driver reads registers (basically sleeping in interrupt context). There is no real solution for it, apart from using a kthread to handle the handling of finished USB transfers in the ethernet drivers. Nick On Tue, 19 Jun 2001, Brian Behlendorf wrote: > On Tue, 19 Jun 2001, Karsten W. Rohrbach wrote: > > Brian Behlendorf(brian@collab.net)@2001.06.13 14:17:19 +0000: > > [...] > > > /kernel: aue0: usb error on rx: IOERROR > > > last message repeated 9 times > > > /kernel: aue0: at uhub0 port 1 (addr 2) disconnected > > > /kernel: acphy0: detached > > > /kernel: miibus0: detached > > > /kernel: aue0: usb error on rx: IOERROR > > > /kernel: aue0: detached > > > > > > No problem so far. So I reattach, it works; I use it for an hour, I > > > detach, *poof*. No kernel core dump, keyboard/mouse response, no messages > > > anywhere, a hard reboot needed. This isn't an IRQ issue, is it? Any > > > ideas on how to debug further? > > > > try > > ifconfig aue0 down > > and look what happens when you remove and reconnect again > > Sure enough, doing "ifconfig aue0 down" before detaching the USB ethernet > dongle keeps it from crashing the system, and detaching without will crash > the system the second time (or later). Is this a race condition of some > sort, so I always have to remember to do the ifconfig aue0 down, or a bug > that could get fixed? > > Brian > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-mobile" in the body of the message > -- Qube Software, Ltd. Private: n_hibma@qubesoft.com n_hibma@webweaving.org n_hibma@freebsd.org http://www.qubesoft.com/ http://www.etla.net/~n_hibma/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message