From owner-freebsd-stable Sun Jul 21 5:15: 9 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9D04A37B400 for ; Sun, 21 Jul 2002 05:15:04 -0700 (PDT) Received: from hcshh.hcs.de (hcshh.hcs.de [194.123.40.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6985D43E3B for ; Sun, 21 Jul 2002 05:15:03 -0700 (PDT) (envelope-from hm@hcs.de) Received: from localhost (localhost.hcs.de [127.0.0.1]) by hcshh.hcs.de (Postfix) with ESMTP id 4A6A0155C7 for ; Sun, 21 Jul 2002 14:15:01 +0200 (CEST) Received: from hcswork.hcs.de (hcswork.hcs.de [172.24.124.5]) by hcshh.hcs.de (Postfix) with ESMTP id 5A722155C5 for ; Sun, 21 Jul 2002 14:14:59 +0200 (CEST) Received: by hcswork.hcs.de (Postfix, from userid 200) id 0186E566; Sun, 21 Jul 2002 14:14:58 +0200 (METDST) Subject: USB spl problem (was: "Hanging" TCP connections over ISDN) In-Reply-To: <20020716133233.13299566@hcswork.hcs.de> "from Hellmuth Michaelis at Jul 16, 2002 03:32:33 pm" To: FreeBSD-Stable List Date: Sun, 21 Jul 2002 14:14:58 +0200 (METDST) Reply-To: hm@hcs.de Organization: HCS Hanseatischer Computerservice GmbH X-Mailer: ELM [version 2.4ME+ PL84 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Message-Id: <20020721121458.0186E566@hcswork.hcs.de> From: hm@hcs.de (Hellmuth Michaelis) X-Virus-Scanned-HCS: by AMaViS perl-11 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > since upgrading two ISDN-connected systems from 4.5 RC1 to 4.6 TCP > connections between this two systems "hang" from time to time. On this system, since all card slots are occupied, i'm using an USB to ethernet device which is using the "aue" driver. When this device is connected to the system, ISDN connections "hang", ISDN transfer rates go down to 1..2 kB/s, when this device is disconnected, ISDN transfer rates are the full ~7.8 kB/s constantly, no "hangs". In the aue driver, there is a timeout routine running (aue_tick) all the time at splimp(). Removing the splimp() and placing splimp's only at the necessary places in this routine lets ISDN and USB run fine again, no hangs, no problems anymore. I've seen this xxx_tick routine in USB drivers at more places, and it seems that spls are running within USB at that level for LONG periods of time, anyone there who has an idea why this is necessary ? hellmuth -- Hellmuth Michaelis Tel +49 40 55 97 47-70 HCS Hanseatischer Computerservice GmbH Fax +49 40 55 97 47-77 Oldesloer Strasse 97-99 Mail hm [at] hcs.de D-22457 Hamburg WWW http://www.hcs.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message