From owner-freebsd-hardware@FreeBSD.ORG Tue Jul 1 21:37:58 2008 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0BEA21065670 for ; Tue, 1 Jul 2008 21:37:58 +0000 (UTC) (envelope-from goaengel@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 69C668FC1F for ; Tue, 1 Jul 2008 21:37:57 +0000 (UTC) (envelope-from goaengel@gmx.net) Received: (qmail invoked by alias); 01 Jul 2008 21:11:14 -0000 Received: from p5498B64C.dip0.t-ipconnect.de (EHLO localhost) [84.152.182.76] by mail.gmx.net (mp020) with SMTP; 01 Jul 2008 23:11:14 +0200 X-Authenticated: #39106949 X-Provags-ID: V01U2FsdGVkX1+vxpEYeTGvBlMQJJk1opIVtJByCNotlz6CdNlIYu 25sWTqpBONStKj Date: Tue, 1 Jul 2008 23:15:53 +0200 From: Tino Engel To: freebsd-hardware@freebsd.org Message-ID: <20080701231553.56092a51@gmx.net> X-Mailer: Claws Mail 3.4.0 (GTK+ 2.12.10; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.48 Subject: USB Quirk attempts in scsi_da.c failing X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jul 2008 21:37:58 -0000 Dear freebsd people, I am trying to get a new usb mass storage device working. But every attmpt fails as follows: root:/usr/src# dmesg | tail -6 umass0: on uhub2 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-2 device da0: 40.000MB/s transfers da0: 3855MB (7895552 512 byte sectors: 255H 63S/T 491C) (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 The problem is: elgrande:/home/elgrande/vidz# ls -d /dev/da* /dev/da0 /dev/da0s1 is not there, and so i cannot mount the drive, of course... I tried to add the device to scsi_da.c quirk list, and rbuilt the kernel. (not world cause /usb/da/atapicam is in my kernel, but i am trying this currently, to be sure). root:/usr/src# diff sys/cam/scsi/scsi_da.c sys/cam/scsi/scsi_da.c.orig 516,522d515 < * SAMSUNG YP-U3 < */ < {T_DIRECT, SIP_MEDIA_FIXED, "SAMSUNG", "*", "*"}, < /*quirks*/ DA_Q_NO_SYNC_CACHE < }, < { < /* Remark: I also tried {T_DIRECT, SIP_MEDIA_FIXED, "SAMSUNG", "YP-U3", "*"} but it made no difference. root:/usr/src# usbdevs -v | grep "port 5 addr 2" port 5 addr 2: high speed, power 500 mA, config 1, YP-U3(0x507c), Samsung Electronics(0x04e8), rev 2.20 But rebuilding and installing kernel did not work. As additional info I can give: root:/usr/src# usbdevs -v | grep "port 5 addr 2" port 5 addr 2: high speed, power 500 mA, config 1, YP-U3(0x507c), Samsung Electronics(0x04e8), rev 2.20 The device is working on several windows pc's at work, as a normal external disk drive. I would be very happy to receive help, what i can do, to get it working... (I do not have the money for another new player ;)) I really think, that I am doing something wrond with the usb quirk, because I still get the "synchronize chache failed" errors, and synchronizing is what i tried to disable... Best regards, Tino