From owner-freebsd-hackers@FreeBSD.ORG Fri Jun 13 08:45:22 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 31A0E37B404 for ; Fri, 13 Jun 2003 08:45:22 -0700 (PDT) Received: from mx1.lphp.org (APastourelles-107-1-7-82.w217-128.abo.wanadoo.fr [217.128.208.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 05E1B43F85 for ; Fri, 13 Jun 2003 08:45:20 -0700 (PDT) (envelope-from ajacoutot@lphp.org) Received: from srv01.lphp.org.local (localhost [127.0.0.1]) by mx1.lphp.org (8.12.8p1/8.12.8) with ESMTP id h5DFjIwc091533 for ; Fri, 13 Jun 2003 17:45:18 +0200 (CEST) (envelope-from ajacoutot@lphp.org) Received: (from www@localhost) by srv01.lphp.org.local (8.12.8p1/8.12.8/Submit) id h5DFjCfL091532 for freebsd-hackers@freebsd.org; Fri, 13 Jun 2003 17:45:12 +0200 (CEST) (envelope-from ajacoutot@lphp.org) X-Authentication-Warning: srv01.lphp.org.local: www set sender to ajacoutot@lphp.org using -f Received: from sta01.lphp.org.local (sta01.lphp.org.local [192.168.0.4]) by webmail.lphp.org (IMP) with HTTP for ; Fri, 13 Jun 2003 17:45:12 +0200 Message-ID: <1055519112.3ee9f1889860e@webmail.lphp.org> Date: Fri, 13 Jun 2003 17:45:12 +0200 From: Antoine Jacoutot To: "freebsd-hackers@freebsd.org" MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.1 / FreeBSD-4.8 Subject: problem with UMASS X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jun 2003 15:45:22 -0000 Hi ! I'm using a USB adapter to plug a HDD into my FreeBSD-4.8 box. If I boot with the device pluged-in, it works fine, but if I plug it in after boot or unplug then replug it, it doesn't work anymore (I get timeout errors). Here is some information about this device: from dmesg.boot: umass0: QTS USB 2.0 ATAPI Bridge, rev 2.00/11.00, addr 2 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-0 device da0: 650KB/s transfers da0: 117800MB (241254720 512 byte sectors: 64H 32S/T 52264C) from /var/log/messages: srv01 /kernel: (da0:umass-sim0:0:0:0): READ(6)/WRITE(6) not supported, increasing minimum_cmd_size to 10. Someone told me to try adding the device to da_quirk_table in src/sys/cam/scsi/scsi_da.c and recompiling, but I'm not sure how to add the thing. Any help would be greatly appreciated. Regards. -- Antoine Jacoutot ajacoutot@lphp.org http://www.lphp.org pgp key: http://www.lphp.org/ressources/ajacoutot.asc