From owner-freebsd-stable Thu May 16 2:34:44 2002 Delivered-To: freebsd-stable@freebsd.org Received: from iguana.icir.org (iguana.icir.org [192.150.187.36]) by hub.freebsd.org (Postfix) with ESMTP id 3A56537B40A; Thu, 16 May 2002 02:34:40 -0700 (PDT) Received: (from rizzo@localhost) by iguana.icir.org (8.11.6/8.11.3) id g4G9Yej65179; Thu, 16 May 2002 02:34:40 -0700 (PDT) (envelope-from rizzo) Date: Thu, 16 May 2002 02:34:39 -0700 From: Luigi Rizzo To: stable@freebsd.org Subject: problems with USB floppy/usb and resume Message-ID: <20020516023439.A64962@iguana.icir.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.23i 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 Hi, since upgrading from 4.2 to a recent RELENG_4 i noticed the following problems with my laptop (Sharp AX 10) and external USB floppy (MITSUMI) (which used to work fine with 4.2): + insertion of the external device is not seen after a suspend/resume. Killing/restarting usbd does not seem to help. I am pretty sure that this worked with the 4.2 kernel. usbdevs shows addr 1: UHCI root hub, Intel addr 2: UUT-USB41 hub, Texas Instruments and when the device is seen, it is shown as attached to the TI hub. da0 Removable Direct Access SCSI-0 device da0: 20KB/s transfers I can successfully connect devices (e.g. mice) to the root hub, but due to different connectors I cannot connect the floppy there. Still i suspect the TI hub not being properly reinitialised after the resume + with a stock system, the system tries to issue some 6-byte and another (sync-cache) unsupported command. I had to add quirks to sys/cam/scsi/scsi_da.c (same as for the Y-E DATA device) to disable the generation of those commands. Once i do this, i can successfully read from the disk, but then writes fail with WRITE(10). CDB: 2a 0 0 0 0 0 0 0 8 0 ABORTED COMMAND asc:4e,0 Overlapped commands attempted and also fdformat /dev/ad0 replies fdformat: not a floppy disk: /dev/ad0 (this may or may not be related to the WRITE failure, though i see no such messages when i try fdformat). So, any idea on how to debug (and possibly fix) this stuff before 4.6 is out ? thanks luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message