Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jun 2001 18:45:02 +0100 (BST)
From:      Nick Hibma <n_hibma@qubesoft.com>
To:        Brian Behlendorf <brian@collab.net>
Cc:        "Karsten W. Rohrbach" <karsten@rohrbach.de>, <mobile@FreeBSD.ORG>
Subject:   Re: C1-XS sound and USB issues (was Re: Vaio PCG-XG9 Problem)
Message-ID:  <20010626184348.S44767-100000@bluebottle>
In-Reply-To: <Pine.BSF.4.31.0106192259550.604-100000@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010626184348.S44767-100000>