From owner-freebsd-stable@FreeBSD.ORG Tue Oct 7 09:21:04 2003 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 99B8716A4B3; Tue, 7 Oct 2003 09:21:04 -0700 (PDT) Received: from mg.ihep.su (mg.ihep.su [194.190.161.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 81A7043FBF; Tue, 7 Oct 2003 09:21:02 -0700 (PDT) (envelope-from Alexandre.Kardanev@ihep.su) Received: by mg.ihep.su (Postfix, from userid 65436) id 08ABB134784; Tue, 7 Oct 2003 20:21:00 +0400 (MSD) Received: from mg.ihep.su (localhost [127.0.0.1]) by mg.ihep.su (Postfix) with SMTP id 883F2134820; Tue, 7 Oct 2003 20:20:59 +0400 (MSD) X-Mailbox-Line: From Alexandre.Kardanev@ihep.su Tue Oct 7 20:20:59 2003 Received: from sirius-b.ihep.su (sirius-b.ihep.su [194.190.161.4]) by mg.ihep.su (Postfix) with ESMTP id AA7C9134784; Tue, 7 Oct 2003 20:19:38 +0400 (MSD) Received: from Sirius.ihep.su (sirius.ihep.su [194.190.161.68]) by sirius-b.ihep.su (8.10.0/8.10.0) with ESMTP id h97GJp308421; Tue, 7 Oct 2003 20:19:51 +0400 (MSK) X-Sender: kardanev@sirius.ihep.su Received: from localhost by Sirius.ihep.su (8.9.3/1.1.22.3/03Apr00-0540PM) id UAA0000231855; Tue, 7 Oct 2003 20:19:29 +0400 (MSK) Date: Tue, 7 Oct 2003 20:19:29 +0400 (MSK) From: Alexandre Kardanev To: Thomas Quinot In-Reply-To: <20031007153059.GA66201@melusine.cuivre.fr.eu.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=koi8-r Content-Transfer-Encoding: 8BIT X-Spam-Status: No, hits=1.6 required=5.0 tests=IN_REP_TO,SUBJ_ENDS_IN_Q_MARK,NO_MX_FOR_FROM,RCVD_IN_OSIRUSOFT_COM version=2.20 X-Spam-Level: * cc: freebsd-stable@FreeBSD.ORG Subject: Re: USB code breaks in 4.9-RC1? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2003 16:21:04 -0000 On Tue, 7 Oct 2003, Thomas Quinot wrote: > Le 2003-10-07, Alexandre Kardanev écrivait : > > > After 4.8 prerelease inserting it will immediately crash my Compaq > > Descpro-P400 > > The patch below, which I just posted to scsi@, should at least prevent > the panic. Please try it and let me know if it indeed helps. > > Thomas. > > Index: scsi_da.c > =================================================================== > RCS file: /home/ncvs/src/sys/cam/scsi/scsi_da.c,v > retrieving revision 1.159 > diff -u -r1.159 scsi_da.c > --- scsi_da.c 4 Sep 2003 01:01:20 -0000 1.159 > +++ scsi_da.c 7 Oct 2003 14:48:26 -0000 [...] > @@ -925,6 +927,7 @@ > > mtx_lock(&Giant); > sysctl_ctx_init(&softc->sysctl_ctx); > + softc->flags |= DA_FLAG_SCTX_INIT; > softc->sysctl_tree = SYSCTL_ADD_NODE(&softc->sysctl_ctx, > SYSCTL_STATIC_CHILDREN(_kern_cam_da), OID_AUTO, tmpstr2, > CTLFLAG_RD, 0, tmpstr); > > -- > Thomas.Quinot@Cuivre.FR.EU.ORG > Yes, my system didn't crash now.... Except 2 points: 1) in my scsi_da.c no string: mtx_lock(&Giant); 2) my stick dosn't work: umass0: BBB reset failed, IOERROR umass0: BBB bulk-in clear stall failed, IOERROR umass0: BBB bulk-out clear stall failed, IOERROR umass0: BBB reset failed, IOERROR umass0: BBB bulk-in clear stall failed, IOERROR umass0: BBB bulk-out clear stall failed, IOERROR umass0: BBB reset failed, IOERROR umass0: BBB bulk-in clear stall failed, IOERROR umass0: BBB bulk-out clear stall failed, IOERROR umass0: BBB reset failed, IOERROR umass0: BBB bulk-in clear stall failed, IOERROR umass0: BBB bulk-out clear stall failed, IOERROR umass0: BBB reset failed, IOERROR umass0: BBB bulk-in clear stall failed, IOERROR umass0: BBB bulk-out clear stall failed, IOERROR (da6:umass-sim0:0:0:0): got CAM status 0x4 (da6:umass-sim0:0:0:0): fatal error, failed to attach to device (da6:umass-sim0:0:0:0): lost device (da6:umass-sim0:0:0:0): removing device entry In any case it strange: If I boot with that flash card - it works, if I insert it after booting - dosn't... ABK2-RIPE ------------------- "It's always easier to destroy than to create" -Any general, any army, any age