From owner-freebsd-stable@FreeBSD.ORG Wed Mar 17 01:00:33 2004 Return-Path: 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 DF00D16A4CE for ; Wed, 17 Mar 2004 01:00:33 -0800 (PST) Received: from alogis.com (firewall.solit-ag.de [212.184.102.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C57F43D31 for ; Wed, 17 Mar 2004 01:00:32 -0800 (PST) (envelope-from Holger.Kipp@alogis.com) Received: from intserv.int1.b.intern (localhost [127.0.0.1]) by alogis.com (8.11.1/8.9.3) with SMTP id i2H90Rb06558; Wed, 17 Mar 2004 10:00:28 +0100 (CET) (envelope-from hk@alogis.com) Message-Id: <200403170900.i2H90Rb06558@alogis.com> Date: Wed, 17 Mar 2004 09:00:22 +0000 From: Holger Kipp To: jp@devnull.cz X-Mailer: phpGroupWare (http://www.phpgroupware.org) MIME-version: 1.0 Content-type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-description: Mail message body cc: stable@freebsd.org Subject: Re: umass panic (after detaching/attaching card-reader 3 times) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Holger.Kipp@alogis.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Mar 2004 09:00:34 -0000 Jan Pechanec (jp@devnull.cz) wrote: > >On Sat, 6 Mar 2004, Holger Kipp wrote: > >>I experience a very repeatably but unwanted behaviour with umass/usb: >> >>System hangs/panics after detaching and attaching 8-in-1 Card Reader >>several times. Card Reader is attached to Cypress Semiconductor Slim >>Hub (ie not directly), but using the built-in hub give the same >>results. >we have similar experince with some of our new boxes based on >Via chipset. It seems to me that the attached device is innocent (same >errors as yours - uhub port errors, umass detached, umass BBB reset >failed etc.) and that the problem is somewhere on Via's side. We are >still analysing the problem - but did you get any further since then? Unfortunately not - I was still 'waiting' for someone who deals with usb/umass to shed some light on the issue or asking the right questions. (What is worse is that I don't have the time to look into this right now.) The interesting thing is that umass detach seems to happen during the BBB-whatever-cycle such that the systems seems to end up using invalid nullpointers. This imho should never happen. >Mar 6 20:43:41 katrin /kernel: umass0: BBB bulk-in clear stall failed, STALLED >Mar 6 20:43:41 katrin /kernel: umass0: at uhub2 port 4 (addr 3) disconnected >Mar 6 20:43:41 katrin /kernel: umass0: detached >Mar 6 20:43:41 katrin /kernel: (null): BBB bulk-out clear stall failed, CANCELLED >Mar 6 20:43:41 katrin /kernel: umass-sim:0:0:0:func_code 0x0901: Invalid target (target needed) >Mar 6 20:43:41 katrin last message repeated 2 times >Mar 6 20:43:41 katrin /kernel: panic: (null): Unknown state 0 Unfortunately I don't have enough resources to test this with CURRENT. I am also waiting for MFC of umass which might fix a few things. Regards, Holger Kipp