From owner-freebsd-scsi@FreeBSD.ORG Mon Feb 19 11:08:35 2007 Return-Path: X-Original-To: freebsd-scsi@FreeBSD.org Delivered-To: freebsd-scsi@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3284A16A401 for ; Mon, 19 Feb 2007 11:08:35 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 2103713C47E for ; Mon, 19 Feb 2007 11:08:35 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l1JB8Y7M021479 for ; Mon, 19 Feb 2007 11:08:34 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l1JB8XFT021475 for freebsd-scsi@FreeBSD.org; Mon, 19 Feb 2007 11:08:33 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 19 Feb 2007 11:08:33 GMT Message-Id: <200702191108.l1JB8XFT021475@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: linimon set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-scsi@FreeBSD.org Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Feb 2007 11:08:35 -0000 Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/27059 scsi [sym] SCSI subsystem hangs under heavy load on (Server o kern/39388 scsi ncr/sym drivers fail with 53c810 and more than 256MB m o kern/40895 scsi wierd kernel / device driver bug o kern/52638 scsi [panic] SCSI U320 on SMP server won't run faster than s kern/57398 scsi [mly] Current fails to install on mly(4) based RAID di o kern/60598 scsi wire down of scsi devices conflicts with config o kern/60641 scsi [sym] Sporadic SCSI bus resets with 53C810 under load s kern/61165 scsi [panic] kernel page fault after calling cam_send_ccb o kern/74627 scsi [ahc] [hang] Adaptec 2940U2W Can't boot 5.3 o kern/81887 scsi [aac] Adaptec SCSI 2130S aac0: GetDeviceProbeInfo comm o kern/90282 scsi [sym] SCSI bus resets cause loss of ch device o kern/92798 scsi [ahc] SCSI problem with timeouts o kern/93128 scsi [sym] FreeBSD 6.1 BETA 1 has problems with Symbios/LSI o kern/94838 scsi Kernel panic while mounting SD card with lock switch o o kern/99954 scsi [ahc] reading from DVD failes on 6.x (regression) 15 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/23314 scsi aic driver fails to detect Adaptec 1520B unless PnP is o kern/35234 scsi World access to /dev/pass? (for scanner) requires acce o kern/38828 scsi [feature request] DPT PM2012B/90 doesn't work o kern/44587 scsi dev/dpt/dpt.h is missing defines required for DPT_HAND o kern/76178 scsi [ahd] Problem with ahd and large SCSI Raid system o kern/96133 scsi [scsi] [patch] add scsi quirk for joyfly 128mb flash u o kern/103702 scsi [cam] [patch] ChipsBnk: Unsupported USB memory stick 7 problems total. From owner-freebsd-scsi@FreeBSD.ORG Tue Feb 20 16:59:09 2007 Return-Path: X-Original-To: scsi@freebsd.org Delivered-To: freebsd-scsi@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3DC5816AF84 for ; Tue, 20 Feb 2007 16:59:09 +0000 (UTC) (envelope-from dbrewer@pixelfish.com) Received: from mail01.vmatrixmail.com (mail01.vmatrixmail.com [216.219.244.230]) by mx1.freebsd.org (Postfix) with ESMTP id A9E2C13C478 for ; Tue, 20 Feb 2007 16:59:08 +0000 (UTC) (envelope-from dbrewer@pixelfish.com) Received: (vmatrix@mail01.vmatrixmail.com) by vmatrixmail.com id S6073470AbXBTQdf for ; Tue, 20 Feb 2007 08:33:35 -0800 To: scsi@freebsd.org MIME-Version: 1.0 X-Mailer: Rich Media Mail V4. Vmatrix, (C) 2003 From: "David Brewer" Sender: "David Brewer" Message-Id: Date: Tue, 20 Feb 2007 08:33:35 -0800 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Your Recent Trade Show Results X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dbrewer@pixelfish.com List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Feb 2007 16:59:09 -0000 Greetings!

Are you happy with your results from Social Linux Expo 2007? Did you have what it takes to make the difference between creating excitement and blending in with the competition, between lots of hot leads and a few hard sells ... between success and failure?

Did you have video?

Why video? Video vividly demonstrates the features and benefits of your products. Video captures the praises of your most enthusiastic customers. Video instills interest, reaction and trust. Video sells.

In just 45 days, PixelFish creates marketing videos that become an integral part of your marketing and sales efforts when it streams from your Web site, launches from multimedia email newsletters, plays from CD video brochures and loops from a DVD at your tradeshow booth.

We are PixelFish. We deliver “The Evolution of Video”. And we guarantee results. Click on the videos to the right to see samples of our work.

Contact us today for a free evaluation of your video marketing needs.

David Brewer
PixelFish, Inc.
800.503.3020 x102
dbrewer@pixelfish.com
http://www.pixelfish.com
RedMan Video
Pentax Video
JEM Video
------------------------------------------------ Unsubscribe to safely remove yourself from this email list, please send email to info@pixelfish.com. Powered by Pixelfish http://www.pixelfish.com From owner-freebsd-scsi@FreeBSD.ORG Tue Feb 20 19:14:35 2007 Return-Path: X-Original-To: freebsd-scsi@freebsd.org Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8FE4716A9C2 for ; Tue, 20 Feb 2007 19:14:35 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [64.129.166.50]) by mx1.freebsd.org (Postfix) with ESMTP id 6801E13C467 for ; Tue, 20 Feb 2007 19:14:35 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.8/8.13.8) with ESMTP id l1KIsRIZ066290 for ; Tue, 20 Feb 2007 12:54:27 -0600 (CST) (envelope-from anderson@centtech.com) Message-ID: <45DB43E6.9040901@centtech.com> Date: Tue, 20 Feb 2007 12:54:30 -0600 From: Eric Anderson User-Agent: Thunderbird 1.5.0.9 (X11/20070204) MIME-Version: 1.0 To: freebsd-scsi@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.88.4/2613/Tue Feb 20 10:39:58 2007 on mh1.centtech.com X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=8.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.6 X-Spam-Checker-Version: SpamAssassin 3.1.6 (2006-10-03) on mh1.centtech.com Subject: Tape changer, small issue X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Feb 2007 19:14:35 -0000 When accessing a tape changer, after moving one of the tapes to a new slot, I can't access the changer anymore. A 'camcontrol rescan -v' makes it accessible again. Here's what I did: # chio status -v picker 0: voltag: <:0> slot 0: voltag: <:0> [..snip..] slot 57: voltag: <000026L3:0> portal 0: voltag: <000024L3:0> portal 1: voltag: <000025L3:0> drive 0: voltag: <000027L3:0> drive 1: voltag: <:0> # chio move drive 0 slot 56 (takes some time as expected) # chio move slot 12 drive 0 (returns instantly, and I see this in /var/log/messages: isp0: command timed out for 0.132.0) # chio status -v chio: /dev/ch0: CHIOGSTATUS: Input/output error (I try it a few more times, same issue) Then, I do: # camcontrol devlist -v scbus0 on isp0 bus 0: [..snip other devices..] at scbus0 target 132 lun 0 (ch0,pass6) at scbus0 target 133 lun 0 (sa0,pass7) at scbus0 target 134 lun 0 (sa1,pass8) [..snip other devices..] < > at scbus0 target -1 lun -1 () scbus1 on isp1 bus 0: < > at scbus1 target -1 lun -1 () scbus-1 on xpt0 bus 0: < > at scbus-1 target -1 lun -1 (xpt0) Now I can move tapes around again just fine. Any ideas? Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology An undefined problem has an infinite number of solutions. ------------------------------------------------------------------------ From owner-freebsd-scsi@FreeBSD.ORG Wed Feb 21 23:07:19 2007 Return-Path: X-Original-To: scsi@freebsd.org Delivered-To: freebsd-scsi@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9D6D616A400 for ; Wed, 21 Feb 2007 23:07:19 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 5DAAE13C49D for ; Wed, 21 Feb 2007 23:07:19 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id l1LN5gHI001062 for ; Wed, 21 Feb 2007 16:05:42 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Wed, 21 Feb 2007 16:05:42 -0700 (MST) Message-Id: <20070221.160542.-169061472.imp@bsdimp.com> To: scsi@freebsd.org From: "M. Warner Losh" X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Wed, 21 Feb 2007 16:05:42 -0700 (MST) Cc: Subject: Quirk for this? X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Feb 2007 23:07:19 -0000 I have a umass device that lies about the size of the device: umass0: on uhub1 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-2 device da0: 1.000MB/s transfers da0: 61MB (125441 512 byte sectors: 64H 32S/T 61C) However, when I plug it in with other umass devices, this is what I see: umass0: on uhub2 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-0 device da0: 40.000MB/s transfers da0: 61MB (125440 512 byte sectors: 64H 32S/T 61C) The 125440 number is what is reported by ata as well. Is there some way I can quirk this to not get a huge cascade of errors when the last sector is read by the tasting code? I didn't see any way when I was reading the code, but the quirks are scatter in a few different files and I might have missed something. Warner From owner-freebsd-scsi@FreeBSD.ORG Fri Feb 23 04:24:34 2007 Return-Path: X-Original-To: scsi@freebsd.org Delivered-To: freebsd-scsi@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3F27716A401 for ; Fri, 23 Feb 2007 04:24:34 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.freebsd.org (Postfix) with ESMTP id 0270D13C48D for ; Fri, 23 Feb 2007 04:24:33 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from phobos.samsco.home (phobos.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id l1N4OPq8089068; Thu, 22 Feb 2007 21:24:30 -0700 (MST) (envelope-from scottl@samsco.org) Message-ID: <45DE6C64.8020400@samsco.org> Date: Thu, 22 Feb 2007 21:24:04 -0700 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.2pre) Gecko/20070111 SeaMonkey/1.1 MIME-Version: 1.0 To: "M. Warner Losh" References: <20070221.160542.-169061472.imp@bsdimp.com> In-Reply-To: <20070221.160542.-169061472.imp@bsdimp.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (pooker.samsco.org [168.103.85.57]); Thu, 22 Feb 2007 21:24:30 -0700 (MST) X-Spam-Status: No, score=-1.4 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on pooker.samsco.org Cc: scsi@freebsd.org Subject: Re: Quirk for this? X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Feb 2007 04:24:34 -0000 M. Warner Losh wrote: > I have a umass device that lies about the size of the device: > > umass0: on uhub1 > da0 at umass-sim0 bus 0 target 0 lun 0 > da0: Removable Direct Access SCSI-2 device > da0: 1.000MB/s transfers > da0: 61MB (125441 512 byte sectors: 64H 32S/T 61C) > > However, when I plug it in with other umass devices, this is what I > see: > > umass0: on uhub2 > da0 at umass-sim0 bus 0 target 0 lun 0 > da0: Removable Direct Access SCSI-0 device > da0: 40.000MB/s transfers > da0: 61MB (125440 512 byte sectors: 64H 32S/T 61C) > > The 125440 number is what is reported by ata as well. > > Is there some way I can quirk this to not get a huge cascade of errors > when the last sector is read by the tasting code? I didn't see any > way when I was reading the code, but the quirks are scatter in a few > different files and I might have missed something. > > Warner I don't understand, it changes its inquiry and size data depending on how many other devices are plugged into the bus with it? That's highly bizarre. No, there is no size coercion quirk. We could add one, but we need to decide on what an appropriate coercion is, and how to trigger it. Size coerecion is highly, highly hard to get right. Scott From owner-freebsd-scsi@FreeBSD.ORG Fri Feb 23 15:06:21 2007 Return-Path: X-Original-To: freebsd-scsi@freebsd.org Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E821816A402 for ; Fri, 23 Feb 2007 15:06:21 +0000 (UTC) (envelope-from bartsch@dssgmbh.de) Received: from mail.incore.de (dss.incore.de [195.145.1.138]) by mx1.freebsd.org (Postfix) with ESMTP id A779613C4A3 for ; Fri, 23 Feb 2007 15:06:21 +0000 (UTC) (envelope-from bartsch@dssgmbh.de) Received: from localhost (inetmail.dmz [10.3.0.3]) by inetmail.dmz (Postfix) with ESMTP id F07134BF37; Sun, 18 Feb 2007 19:24:55 +0100 (CET) X-Virus-Scanned: amavisd-new at incore.de Received: from inetmail.dmz ([10.3.0.3]) by localhost (inetmail.dmz [10.3.0.3]) (amavisd-new, port 10024) with LMTP id FPBCtFs4YL9h; Sun, 18 Feb 2007 19:24:53 +0100 (CET) Received: from mail.incore (fwintern.dmz [10.0.0.253]) by inetmail.dmz (Postfix) with ESMTP id 2D6FC4B1BD; Sun, 18 Feb 2007 19:24:53 +0100 (CET) Received: from [127.0.0.1] (console.incore [192.168.0.32]) by mail.incore (Postfix) with ESMTP id C1F445C024; Sun, 18 Feb 2007 19:24:52 +0100 (CET) Message-ID: <45D899F4.1060407@dssgmbh.de> Date: Sun, 18 Feb 2007 19:24:52 +0100 From: Alfred Bartsch User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: javocado References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-scsi@freebsd.org Subject: Re: unable to create/delete array from LSI card using megaraid, megarc X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Feb 2007 15:06:22 -0000 javocado schrieb: > I'm running 6.2-R and have installed linux-megamgr and megarc from > ports. Both utilities run fine, but neither will allow me to add or > remove an array from the system (I have to do it via the BIOS > utility). Relevant parts: > > # dmesg |grep amr > amr0: mem 0xdf200000-0xdf20ffff irq 72 at > device 1.0 on pci8 > amr0: delete logical drives supported by controller > amr0: Firmware 1L47, BIOS G121, 64MB RAM > amr0: delete logical drives supported by controller > amrd0: on amr0 > amrd0: 70006MB (143372288 sectors) RAID 1 (optimal) > amrd1: on amr0 > amrd1: 140013MB (286746624 sectors) RAID 1 (optimal) > > Is this normal, or do I have a misconfiguration? > > Thanks. This is IMHO some kind of accident control, try "# sysctl dev.amr.0.allow_volume_configure=1" before starting megarc/linux-megamgr. This should enable changes to the RAID configuration (replace 0 with 1 ... if you've got more than one MegaRAID-Controller in your server). HTH Alfred Bartsch mailto: From owner-freebsd-scsi@FreeBSD.ORG Fri Feb 23 17:10:28 2007 Return-Path: X-Original-To: scsi@freebsd.org Delivered-To: freebsd-scsi@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D0F7816A401 for ; Fri, 23 Feb 2007 17:10:28 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 7000D13C4A5 for ; Fri, 23 Feb 2007 17:10:28 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id l1NH8dWQ028892; Fri, 23 Feb 2007 10:08:39 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Fri, 23 Feb 2007 10:08:39 -0700 (MST) Message-Id: <20070223.100839.112608684.imp@bsdimp.com> To: scottl@samsco.org From: Warner Losh In-Reply-To: <45DE6C64.8020400@samsco.org> References: <20070221.160542.-169061472.imp@bsdimp.com> <45DE6C64.8020400@samsco.org> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Fri, 23 Feb 2007 10:08:39 -0700 (MST) Cc: scsi@freebsd.org Subject: Re: Quirk for this? X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Feb 2007 17:10:28 -0000 > M. Warner Losh wrote: > > I have a umass device that lies about the size of the device: > > > > umass0: on uhub1 > > da0 at umass-sim0 bus 0 target 0 lun 0 > > da0: Removable Direct Access SCSI-2 device > > da0: 1.000MB/s transfers > > da0: 61MB (125441 512 byte sectors: 64H 32S/T 61C) > > > > However, when I plug it in with other umass devices, this is what I > > see: > > > > umass0: on uhub2 > > da0 at umass-sim0 bus 0 target 0 lun 0 > > da0: Removable Direct Access SCSI-0 device > > da0: 40.000MB/s transfers > > da0: 61MB (125440 512 byte sectors: 64H 32S/T 61C) > > > > The 125440 number is what is reported by ata as well. > > > > Is there some way I can quirk this to not get a huge cascade of errors > > when the last sector is read by the tasting code? I didn't see any > > way when I was reading the code, but the quirks are scatter in a few > > different files and I might have missed something. > > > > Warner > > I don't understand, it changes its inquiry and size data depending on > how many other devices are plugged into the bus with it? That's highly > bizarre. No, there is no size coercion quirk. We could add one, but we > need to decide on what an appropriate coercion is, and how to trigger > it. Size coerecion is highly, highly hard to get right. OK. Maybe I was unclear in my first post. One of the SanDisk devices that I have, the first one listed, reports the size wrong. It is one too big. This is the USB/CF adapter whatsit. No matter which CF card I plug into it, it is reported one too large. This is a bug in the USB/CF adapter. This is shown first in the list above. The other USB/CF adapter, as well as my PC Card/CF adapter, reports the correct size for the card (which is shown second). The question is: Given that I know that the first USB/CF adapter always reports one too big, is there a way this can be fixed? Warner From owner-freebsd-scsi@FreeBSD.ORG Fri Feb 23 18:46:23 2007 Return-Path: X-Original-To: scsi@freebsd.org Delivered-To: freebsd-scsi@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C78A916A405 for ; Fri, 23 Feb 2007 18:46:23 +0000 (UTC) (envelope-from lydianconcepts@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.171]) by mx1.freebsd.org (Postfix) with ESMTP id 5B48E13C49D for ; Fri, 23 Feb 2007 18:46:23 +0000 (UTC) (envelope-from lydianconcepts@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so406834ugh for ; Fri, 23 Feb 2007 10:46:22 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=abXUgTVOIDEJSXT7UHplnFG9nPL4VDpTaz/7IXn1cgekXUqYqhvzK537c+rQB1b+RFwfTmJGOQ2caWmD8bcYH/74f9CMW6gfd6jZyBd2VQW8GiBZJ7EJcSIXoumz/M2a6i7sQmr8RAVQsn9WX3WsnMMcGlufdh0J3SStgoXKvFU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=TK0TxMj/45x4XZ4JlLGLIiJMmIQcjoKowO09PRhLi1Un7V0b8ihWTKDwA5KhScPi6brBuseoLaXEfWAXpnxYIOl90acJs3h6jjGZhgAxd1aJ1TyEZNhBgxlB4JNjw975m3ENUntlj5gfwwadTvMV9spb/J1GLeYoYzHy/x9hTas= Received: by 10.114.151.13 with SMTP id y13mr379903wad.1172254627623; Fri, 23 Feb 2007 10:17:07 -0800 (PST) Received: by 10.114.24.2 with HTTP; Fri, 23 Feb 2007 10:17:07 -0800 (PST) Message-ID: <7579f7fb0702231017rdc246ebqeface91c9d5481e3@mail.gmail.com> Date: Fri, 23 Feb 2007 10:17:07 -0800 From: "Matthew Jacob" To: "Warner Losh" In-Reply-To: <20070223.100839.112608684.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070221.160542.-169061472.imp@bsdimp.com> <45DE6C64.8020400@samsco.org> <20070223.100839.112608684.imp@bsdimp.com> Cc: scsi@freebsd.org Subject: Re: Quirk for this? X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Feb 2007 18:46:23 -0000 > The question is: Given that I know that the first USB/CF adapter > always reports one too big, is there a way this can be fixed? There are two problems here that I see: a) The GEOM taste code cannot be overridden. b) How do we accomodate/detect broken h/w? I'm inclined to think that GEOM stuff cannot/should not be "fixed". The second question is the harder one. You personally can fix this for yourself by doing your own specialized quirk matching and just adjusting the READ CAPACITY results accordingly. We have to ask whether this particular breakage is both widespread enough and the devices important enough to try and generalize some solution for. From owner-freebsd-scsi@FreeBSD.ORG Fri Feb 23 19:14:38 2007 Return-Path: X-Original-To: scsi@freebsd.org Delivered-To: freebsd-scsi@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 88DDA16A405 for ; Fri, 23 Feb 2007 19:14:38 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from mh1.centtech.com (moat3.centtech.com [64.129.166.50]) by mx1.freebsd.org (Postfix) with ESMTP id 4220B13C4A3 for ; Fri, 23 Feb 2007 19:14:38 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.8/8.13.8) with ESMTP id l1NIhh3D065679; Fri, 23 Feb 2007 12:43:43 -0600 (CST) (envelope-from anderson@freebsd.org) Message-ID: <45DF35E3.8010005@freebsd.org> Date: Fri, 23 Feb 2007 12:43:47 -0600 From: Eric Anderson User-Agent: Thunderbird 1.5.0.9 (X11/20070204) MIME-Version: 1.0 To: Warner Losh References: <20070221.160542.-169061472.imp@bsdimp.com> <45DE6C64.8020400@samsco.org> <20070223.100839.112608684.imp@bsdimp.com> In-Reply-To: <20070223.100839.112608684.imp@bsdimp.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.88.4/2631/Thu Feb 22 15:33:11 2007 on mh1.centtech.com X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=8.0 tests=BAYES_00 autolearn=ham version=3.1.6 X-Spam-Checker-Version: SpamAssassin 3.1.6 (2006-10-03) on mh1.centtech.com Cc: scsi@freebsd.org Subject: Re: Quirk for this? X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Feb 2007 19:14:38 -0000 On 02/23/07 11:08, Warner Losh wrote: >> M. Warner Losh wrote: >>> I have a umass device that lies about the size of the device: >>> >>> umass0: on uhub1 >>> da0 at umass-sim0 bus 0 target 0 lun 0 >>> da0: Removable Direct Access SCSI-2 device >>> da0: 1.000MB/s transfers >>> da0: 61MB (125441 512 byte sectors: 64H 32S/T 61C) >>> >>> However, when I plug it in with other umass devices, this is what I >>> see: >>> >>> umass0: on uhub2 >>> da0 at umass-sim0 bus 0 target 0 lun 0 >>> da0: Removable Direct Access SCSI-0 device >>> da0: 40.000MB/s transfers >>> da0: 61MB (125440 512 byte sectors: 64H 32S/T 61C) >>> >>> The 125440 number is what is reported by ata as well. >>> >>> Is there some way I can quirk this to not get a huge cascade of errors >>> when the last sector is read by the tasting code? I didn't see any >>> way when I was reading the code, but the quirks are scatter in a few >>> different files and I might have missed something. >>> >>> Warner >> I don't understand, it changes its inquiry and size data depending on >> how many other devices are plugged into the bus with it? That's highly >> bizarre. No, there is no size coercion quirk. We could add one, but we >> need to decide on what an appropriate coercion is, and how to trigger >> it. Size coerecion is highly, highly hard to get right. > > OK. Maybe I was unclear in my first post. > > One of the SanDisk devices that I have, the first one listed, reports > the size wrong. It is one too big. This is the USB/CF adapter > whatsit. No matter which CF card I plug into it, it is reported one > too large. This is a bug in the USB/CF adapter. This is shown first > in the list above. > > The other USB/CF adapter, as well as my PC Card/CF adapter, reports > the correct size for the card (which is shown second). > > The question is: Given that I know that the first USB/CF adapter > always reports one too big, is there a way this can be fixed? Just curious, but is it possible one is reporting the sectors on cf + starting sector, where it makes the starting sector 1 instead of 0? I've seen some warnings about this with regards to compact flash (when searching for other issues relating to a Soekris box). Could one just do a read on the last sector of a umass device and look for an error, and if so, reduce the size (maybe only if the size is reported as an odd number)? Eric From owner-freebsd-scsi@FreeBSD.ORG Sat Feb 24 03:34:22 2007 Return-Path: X-Original-To: scsi@freebsd.org Delivered-To: freebsd-scsi@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A348116A400 for ; Sat, 24 Feb 2007 03:34:22 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 68A1713C46B for ; Sat, 24 Feb 2007 03:34:22 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id l1O3YEDK034088 for ; Fri, 23 Feb 2007 20:34:15 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Fri, 23 Feb 2007 20:33:09 -0700 (MST) Message-Id: <20070223.203309.-1300543896.imp@bsdimp.com> To: scsi@freebsd.org From: "M. Warner Losh" X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Fri, 23 Feb 2007 20:34:15 -0700 (MST) Cc: Subject: Another usb umass question... X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Feb 2007 03:34:22 -0000 OK. I have another umass qustion... I have two external USB enclosures that I've been using... One has a DVD burner in it and the other has a real disk in it. I've found that I've had some issues. umass, unpatched, seems to filter out many of the SCSI commands that I want to use to burn DVDs and/or run smartmon for the disk. Even with the slowness in usb I see on my amd64 box, it still seems to be a faster drive than the ata dvd burner that came with the laptop... I also know that there are ISSUES with many of the thumb drives which is why the filters are in place. Is there some kind of middle ground that can accomidate both uses? Is there some automated way of detecting these two different cases? Warner From owner-freebsd-scsi@FreeBSD.ORG Sat Feb 24 03:54:42 2007 Return-Path: X-Original-To: scsi@freebsd.org Delivered-To: freebsd-scsi@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 77C6016A40B for ; Sat, 24 Feb 2007 03:54:42 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.freebsd.org (Postfix) with ESMTP id 3D04413C4A6 for ; Sat, 24 Feb 2007 03:54:40 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from phobos.samsco.home (phobos.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id l1O3sVoO097203; Fri, 23 Feb 2007 20:54:36 -0700 (MST) (envelope-from scottl@samsco.org) Message-ID: <45DFB6F5.9090605@samsco.org> Date: Fri, 23 Feb 2007 20:54:29 -0700 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.2pre) Gecko/20070111 SeaMonkey/1.1 MIME-Version: 1.0 To: "M. Warner Losh" References: <20070223.203309.-1300543896.imp@bsdimp.com> In-Reply-To: <20070223.203309.-1300543896.imp@bsdimp.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (pooker.samsco.org [168.103.85.57]); Fri, 23 Feb 2007 20:54:36 -0700 (MST) X-Spam-Status: No, score=-1.4 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on pooker.samsco.org Cc: scsi@freebsd.org Subject: Re: Another usb umass question... X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Feb 2007 03:54:42 -0000 M. Warner Losh wrote: > OK. I have another umass qustion... > > I have two external USB enclosures that I've been using... One has a > DVD burner in it and the other has a real disk in it. I've found that > I've had some issues. umass, unpatched, seems to filter out many of > the SCSI commands that I want to use to burn DVDs and/or run smartmon > for the disk. Even with the slowness in usb I see on my amd64 box, it > still seems to be a faster drive than the ata dvd burner that came > with the laptop... > > I also know that there are ISSUES with many of the thumb drives which > is why the filters are in place. > > Is there some kind of middle ground that can accomidate both uses? Is > there some automated way of detecting these two different cases? > > Warner Yes, there is a more intelligent way to handle it, but it requires breaking umass into a USB front end and various ATA, MMC, RBC, and SBC backends, and/or doing the same in CAM core. Scott From owner-freebsd-scsi@FreeBSD.ORG Sat Feb 24 06:20:41 2007 Return-Path: X-Original-To: freebsd-scsi@freebsd.org Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5DE0B16A403 for ; Sat, 24 Feb 2007 06:20:41 +0000 (UTC) (envelope-from chris@sigd.net) Received: from ms05.mailstreet2003.net (ms05.mailstreet2003.net [69.25.50.235]) by mx1.freebsd.org (Postfix) with ESMTP id 2C63913C46B for ; Sat, 24 Feb 2007 06:20:41 +0000 (UTC) (envelope-from chris@sigd.net) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Sat, 24 Feb 2007 01:08:34 -0500 Message-ID: <6FC9F9894A9F8C49A722CF9F2132FC220C470F94@ms05.mailstreet2003.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Qlogic 24xx PCI-E card and Qlogic 23xx PCI-X card Thread-Index: AcdX2jdhWM+rKzGIQceE3xW3K0mu8A== From: "Chris Haulmark" To: Subject: Qlogic 24xx PCI-E card and Qlogic 23xx PCI-X card X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Feb 2007 06:20:41 -0000 Hey, Anyone got either of those cards working on FreeBSD? Can someone confirm this so I wouldn't have to be a guinea pig and get flamed for not doing proper testings (not an engineer by design) to confirm it myself. Here are the exact options: PCI-X: Qlogic 2342 2Gb Fiber Channel Host Bus Adapter - 2 Ports Qlogic 2340 2Gb Fiber Channel Host Bus Adapter - 1 Port PCI-E: Qlogic 2462 4Gb Fiber Channel Host Bus Adapter - 2 Ports Qlogic 2462 4Gb Fiber Channel Host Bus Adapter - 1 Port Chris From owner-freebsd-scsi@FreeBSD.ORG Sat Feb 24 07:04:22 2007 Return-Path: X-Original-To: scsi@freebsd.org Delivered-To: freebsd-scsi@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E3CE516A403 for ; Sat, 24 Feb 2007 07:04:22 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id A333713C428 for ; Sat, 24 Feb 2007 07:04:22 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id l1O73hLl035308; Sat, 24 Feb 2007 00:03:44 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Sat, 24 Feb 2007 00:03:45 -0700 (MST) Message-Id: <20070224.000345.1102528636.imp@bsdimp.com> To: lydianconcepts@gmail.com From: "M. Warner Losh" In-Reply-To: <7579f7fb0702231017rdc246ebqeface91c9d5481e3@mail.gmail.com> References: <45DE6C64.8020400@samsco.org> <20070223.100839.112608684.imp@bsdimp.com> <7579f7fb0702231017rdc246ebqeface91c9d5481e3@mail.gmail.com> X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Sat, 24 Feb 2007 00:03:44 -0700 (MST) Cc: scsi@freebsd.org Subject: Re: Quirk for this? X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Feb 2007 07:04:23 -0000 In message: <7579f7fb0702231017rdc246ebqeface91c9d5481e3@mail.gmail.com> "Matthew Jacob" writes: : > The question is: Given that I know that the first USB/CF adapter : > always reports one too big, is there a way this can be fixed? : : There are two problems here that I see: : : a) The GEOM taste code cannot be overridden. : : b) How do we accomodate/detect broken h/w? : : I'm inclined to think that GEOM stuff cannot/should not be "fixed". : The second question is the harder one. I agree that GEOM shouldn't be the agent of change. : You personally can fix this for yourself by doing your own specialized : quirk matching and just adjusting the READ CAPACITY results : accordingly. We have to ask whether this particular breakage is both : widespread enough and the devices important enough to try and : generalize some solution for. So far I've only found one, and this is a device that is easily 4 or 5 years old. If there's an easy way to cope, it is worth fixing. However, it may be unique to my device... Warner From owner-freebsd-scsi@FreeBSD.ORG Sat Feb 24 16:40:25 2007 Return-Path: X-Original-To: freebsd-scsi@freebsd.org Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3FD3416A404 for ; Sat, 24 Feb 2007 16:40:25 +0000 (UTC) (envelope-from lydianconcepts@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.250]) by mx1.freebsd.org (Postfix) with ESMTP id F187213C481 for ; Sat, 24 Feb 2007 16:40:24 +0000 (UTC) (envelope-from lydianconcepts@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so553019ana for ; Sat, 24 Feb 2007 08:40:24 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=fMdBIG7Dhje3pWhxLwMjPCv8YzX4gq9TYbvT8n7gvRSuXhakUWIN0YKe7ZUtzZfpKEiHTibzgH0GadIO+krKLbZgpV1B8rqe1N02RBNUi+r03UZesyuAEaUFwAG6yFtM6oFJ02T4B7+D2Ckhl/ynCww+SALqSwvAu50GLHjxq7Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=eMnn4qqsI+HtQGpILLP5ND01mMJLi9LiTK39ae8bO8y7WOazYSvY7lYaEXm3NknuRUbW/kpQBTEs5z0UW+JN5VbTzqJ3HsgPYpdWrpDGARl10q8MtlIJcJUic+ViTHJF8h30I15HtSyca8rhmC5RY2tlW91IOsSjcJyQKgJI0Jc= Received: by 10.114.155.1 with SMTP id c1mr89317wae.1172335220333; Sat, 24 Feb 2007 08:40:20 -0800 (PST) Received: by 10.114.25.18 with HTTP; Sat, 24 Feb 2007 08:40:20 -0800 (PST) Message-ID: <7579f7fb0702240840r42a4d41h53d26ecd4411933b@mail.gmail.com> Date: Sat, 24 Feb 2007 08:40:20 -0800 From: "Matthew Jacob" To: "Chris Haulmark" In-Reply-To: <6FC9F9894A9F8C49A722CF9F2132FC220C470F94@ms05.mailstreet2003.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6FC9F9894A9F8C49A722CF9F2132FC220C470F94@ms05.mailstreet2003.net> Cc: freebsd-scsi@freebsd.org Subject: Re: Qlogic 24xx PCI-E card and Qlogic 23xx PCI-X card X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Feb 2007 16:40:25 -0000 -current only. On 2/23/07, Chris Haulmark wrote: > Hey, > > Anyone got either of those cards working on FreeBSD? Can someone > confirm this so I wouldn't have to be a guinea pig and get > flamed for not doing proper testings (not an engineer by design) > to confirm it myself. > > Here are the exact options: > > PCI-X: > Qlogic 2342 2Gb Fiber Channel Host Bus Adapter - 2 Ports > Qlogic 2340 2Gb Fiber Channel Host Bus Adapter - 1 Port > > PCI-E: > Qlogic 2462 4Gb Fiber Channel Host Bus Adapter - 2 Ports > Qlogic 2462 4Gb Fiber Channel Host Bus Adapter - 1 Port > > Chris > _______________________________________________ > freebsd-scsi@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-scsi > To unsubscribe, send any mail to "freebsd-scsi-unsubscribe@freebsd.org" >