From owner-freebsd-scsi@FreeBSD.ORG Mon Apr 5 00:26:07 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 88F7216A4CE for ; Mon, 5 Apr 2004 00:26:07 -0700 (PDT) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 78D1743D1D for ; Mon, 5 Apr 2004 00:26:06 -0700 (PDT) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (localhost [127.0.0.1]) (authenticated bits=0) by cain.gsoft.com.au (8.12.9/8.12.8) with ESMTP id i357Q3Q9005553; Mon, 5 Apr 2004 16:56:03 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-scsi@freebsd.org Date: Mon, 5 Apr 2004 16:56:01 +0930 User-Agent: KMail/1.6.1 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200404051656.01286.doconnor@gsoft.com.au> X-Spam-Score: -2.3 () CARRIAGE_RETURNS,SPAM_PHRASE_00_01,USER_AGENT,USER_AGENT_KMAIL X-Scanned-By: MIMEDefang 2.16 (www . roaringpenguin . com / mimedefang) Subject: Accessing AIT MIC? (memory in cartridge) X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Apr 2004 07:26:07 -0000 Has anyone got any code in FreeBSD to do this? Each AIT tape has some memory on it which the drive can read and write. The device in question is a Sony SDX-500V, and I also have a Sony SDX-300C. I had a look on Google for Linux or FreeBSD related stuff but no joy :( -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 9A8C 569F 685A D928 5140 AE4B 319B 41F4 5D17 FDD5 From owner-freebsd-scsi@FreeBSD.ORG Mon Apr 5 11:23:32 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DFB8516A4CE for ; Mon, 5 Apr 2004 11:23:32 -0700 (PDT) Received: from styx.aic.net (styx.aic.net [195.250.64.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 58D9143D1D for ; Mon, 5 Apr 2004 11:23:32 -0700 (PDT) (envelope-from vahan@arminco.com) Received: from phoenix.arminco.com ([195.250.65.9] helo=arminco.com ident=BlackCrow) by styx.aic.net with esmtp (Exim 4.30; FreeBSD) id 1BAYks-00021f-En for freebsd-scsi@freebsd.org; Mon, 05 Apr 2004 23:23:30 +0500 Message-ID: <4071A421.4020507@arminco.com> Date: Mon, 05 Apr 2004 23:23:29 +0500 From: Vahan Yerkanian Organization: ARMINCO Global Telecommunications User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-scsi@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: current state of ahd driver X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Apr 2004 18:23:33 -0000 Hi all, After thoroughly searching the archives and still loosing hair at fast speed with trying to make aic7902 work on a supermicro dual p4 motherboard with scsi320 hard drives I decided to ask for help here. What is official status of ahd driver at the moment? 4.9 and 5.2.1 still have the same dump messages on bootup for me. Are there any workarounds? any custom drivers? regards, Vahan ahd1: port 0x4800-0x48ff,0x4c00-0x4cff mem 0xfc402000-0xfc40 3fff irq 11 at device 2.1 on pci6 aic7902: Ultra320 Wide Channel B, SCSI Id=7, PCI-X 101-133Mhz, 512 SCBs [snip] ahd1: PCI error Interrupt >>>>>>>>>>>>>>>>>> Dump Card State Begins <<<<<<<<<<<<<<<<< ahd1: Dumping Card State at program address 0x94 Mode 0x22 Card was paused HS_MAILBOX[0x0] INTCTL[0x0] SEQINTSTAT[0x0] SAVED_MODE[0x0] DFFSTAT[0x30]:(CURRFIFO_0|FIFO0FREE|FIFO1FREE) SCSISIGI[0x0]:(P_DATAOUT) SCSIPHASE[0x0] SCSIBUS[0x0] LASTPHASE[0x1]:(P_DATAOUT|P_BUSFREE) SCSISEQ0[0x0] SCSISEQ1[0x12]:(ENAUTOATNP|ENRSELI) SEQCTL0[0x10]:(FASTMODE) SEQINTCTL[0x80]:(INTVEC1DSL) SEQ_FLAGS[0x0] SEQ_FLAGS2[0x0] SSTAT0[0x0] SSTAT1[0x8]:(BUSFREE) SSTAT2[0x0] SSTAT3[0x0] PERRDIAG[0x0] SIMODE1[0xa4]:(ENSCSIPERR|ENSCSIRST|ENSELTIMO) LQISTAT0[0x0] LQISTAT1[0x0] LQISTAT2[0x0] LQOSTAT0[0x0] LQOSTAT1[0x0] LQOSTAT2[0x0] SCB Count = 16 CMDS_PENDING = 0 LASTSCB 0xffff CURRSCB 0x0 NEXTSCB 0x0 qinstart = 0 qinfifonext = 0 QINFIFO: WAITING_TID_QUEUES: Pending list: Total 0 Kernel Free SCB list: 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Sequencer Complete DMA-inprog list: Sequencer Complete list: Sequencer DMA-Up and Complete list: ahd1: FIFO0 Free, LONGJMP == 0x80ff, SCB 0x0 SEQIMODE[0x3f]:(ENCFG4TCMD|ENCFG4ICMD|ENCFG4TSTAT|ENCFG4ISTAT|ENCFG4DATA|ENSAVEPTRS) SEQINTSRC[0x0] DFCNTRL[0x0] DFSTATUS[0x89]:(FIFOEMP|HDONE|PRELOAD_AVAIL) SG_CACHE_SHADOW[0x2]:(LAST_SEG) SG_STATE[0x0] DFFSXFRCTL[0x0] SOFFCNT[0x0] MDFFSTAT[0x5]:(FIFOFREE|DLZERO) SHADDR = 0x00, SHCNT = 0x0 HADDR = 0x00, HCNT = 0x0 CCSGCTL[0x10]:(SG_CACHE_AVAIL) ahd1: FIFO1 Free, LONGJMP == 0x8072, SCB 0x0 SEQIMODE[0x3f]:(ENCFG4TCMD|ENCFG4ICMD|ENCFG4TSTAT|ENCFG4ISTAT|ENCFG4DATA|ENSAVEPTRS) SEQINTSRC[0x0] DFCNTRL[0x0] DFSTATUS[0x89]:(FIFOEMP|HDONE|PRELOAD_AVAIL) SG_CACHE_SHADOW[0x2]:(LAST_SEG) SG_STATE[0x0] DFFSXFRCTL[0x0] SOFFCNT[0x0] MDFFSTAT[0x5]:(FIFOFREE|DLZERO) SHADDR = 0x00, SHCNT = 0x0 HADDR = 0x00, HCNT = 0x0 CCSGCTL[0x10]:(SG_CACHE_AVAIL) LQIN: 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 ahd1: LQISTATE = 0x0, LQOSTATE = 0x0, OPTIONMODE = 0x42 ahd1: OS_SPACE_CNT = 0x20 MAXCMDCNT = 0x0 SIMODE0[0x6c]:(ENOVERRUN|ENIOERR|ENSELDI|ENSELDO) CCSCBCTL[0x0] ahd1: REG0 == 0x39, SINDEX = 0x33, DINDEX = 0x0 ahd1: SCBPTR == 0x0, SCB_NEXT == 0xff00, SCB_NEXT2 == 0x0 CDB 0 0 0 0 0 0 STACK: 0x1 0x8 0x7 0x6 0x5 0x4 0x3 0x29 >>>>>>>>>>>>>>>>> ahd1: Signaled Target Abort From owner-freebsd-scsi@FreeBSD.ORG Mon Apr 5 11:31:35 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C176F16A4CE for ; Mon, 5 Apr 2004 11:31:35 -0700 (PDT) Received: from aslan.scsiguy.com (mail.scsiguy.com [63.229.232.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1170F43D31 for ; Mon, 5 Apr 2004 11:31:35 -0700 (PDT) (envelope-from gibbs@scsiguy.com) Received: from localhost (aslan.scsiguy.com [63.229.232.106]) by aslan.scsiguy.com (8.12.11/8.12.8) with ESMTP id i35IVRSc059108; Mon, 5 Apr 2004 12:31:27 -0600 (MDT) (envelope-from gibbs@scsiguy.com) Date: Mon, 05 Apr 2004 12:31:27 -0600 From: "Justin T. Gibbs" To: Vahan Yerkanian , freebsd-scsi@freebsd.org Message-ID: <4003580000.1081189887@aslan.btc.adaptec.com> In-Reply-To: <4071A421.4020507@arminco.com> References: <4071A421.4020507@arminco.com> X-Mailer: Mulberry/3.1.1 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Re: current state of ahd driver X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Justin T. Gibbs" List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Apr 2004 18:31:35 -0000 ... > > What is official status of ahd driver at the moment? 4.9 and 5.2.1 still > have the same dump messages on bootup for me. Neither 4.9 nor 5.2.1 have the lastest ahd driver. You should be able to pull the driver from either the -stable or -current branch and rebuild a kernel for either of these releases to effect an upgrade to the latest drivers. However, if I had to hazard a guess as to why things are not happy, it would be that FreeBSD's EISA probe is running into the controller. It used to be that you could disable EISA probing from userconfig (which only applies to -stable), but I haven't look into this for some time. -- Justin From owner-freebsd-scsi@FreeBSD.ORG Mon Apr 5 13:51:42 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A740C16A4CE for ; Mon, 5 Apr 2004 13:51:42 -0700 (PDT) Received: from MyBox.BoxChat.net (mybox.boxchat.net [68.15.171.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 547A443D45 for ; Mon, 5 Apr 2004 13:51:42 -0700 (PDT) (envelope-from junk@boxchat.net) Received: from mybox.boxchat (router.mybox.boxchat [192.168.1.1]) by MyBox.BoxChat.net (8.12.11/8.12.9) with ESMTP id i35KrmlT001509 for ; Mon, 5 Apr 2004 15:53:48 -0500 From: junk To: freebsd-scsi@freebsd.org Content-Type: text/plain Message-Id: <1081198427.1470.2.camel@MyBox.BoxChat.net> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Mon, 05 Apr 2004 15:53:48 -0500 Content-Transfer-Encoding: 7bit Subject: mounting scsi tape drive X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Apr 2004 20:51:42 -0000 I am having a problem mounting a scsi tape drive. The kernel sees it , but it wont mount. >From dmesg: sa0 at ahc0 bus 0 target 5 lun 0 sa0: Removable Sequential Access SCSI-2 device sa0: 5.000MB/s transfers (5.000MHz, offset 15) When i try to mount it: [root@cpr]/dev(184): mount /dev/sa0 /mnt/tape/ mount: /dev/sa0: Block device required even tried: [root@cpr]/dev(185): mount /dev/nsa0 /mnt/tape/ mount: /dev/nsa0: Block device required [root@cpr]/dev(186): mt rewind mt: /dev/nsa0: Invalid argument Can someone please help with this? Thanks From owner-freebsd-scsi@FreeBSD.ORG Mon Apr 5 13:58:00 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 674A016A4CE for ; Mon, 5 Apr 2004 13:58:00 -0700 (PDT) Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id E8DD043D1D for ; Mon, 5 Apr 2004 13:57:59 -0700 (PDT) (envelope-from ken@panzer.kdm.org) Received: from panzer.kdm.org (localhost [127.0.0.1]) by panzer.kdm.org (8.12.9/8.12.5) with ESMTP id i35KvvLX065517; Mon, 5 Apr 2004 14:57:57 -0600 (MDT) (envelope-from ken@panzer.kdm.org) Received: (from ken@localhost) by panzer.kdm.org (8.12.9/8.12.5/Submit) id i35Kvv9u065515; Mon, 5 Apr 2004 14:57:57 -0600 (MDT) (envelope-from ken) Date: Mon, 5 Apr 2004 14:57:57 -0600 From: "Kenneth D. Merry" To: junk Message-ID: <20040405205757.GA65486@panzer.kdm.org> References: <1081198427.1470.2.camel@MyBox.BoxChat.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1081198427.1470.2.camel@MyBox.BoxChat.net> User-Agent: Mutt/1.4.1i cc: freebsd-scsi@freebsd.org Subject: Re: mounting scsi tape drive X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Apr 2004 20:58:00 -0000 On Mon, Apr 05, 2004 at 15:53:48 -0500, junk wrote: > I am having a problem mounting a scsi tape drive. > The kernel sees it , but it wont mount. > > >From dmesg: > > sa0 at ahc0 bus 0 target 5 lun 0 > sa0: Removable Sequential Access SCSI-2 device > sa0: 5.000MB/s transfers (5.000MHz, offset 15) > > When i try to mount it: > > [root@cpr]/dev(184): mount /dev/sa0 /mnt/tape/ > mount: /dev/sa0: Block device required > > even tried: > [root@cpr]/dev(185): mount /dev/nsa0 /mnt/tape/ > mount: /dev/nsa0: Block device required You can't mount a tape drive like that. mount only works for disk devices with filesystems. > [root@cpr]/dev(186): mt rewind > mt: /dev/nsa0: Invalid argument Do you have a tape in the drive? What happens when you type 'mt status'? Try this: camcontrol tur sa0 -v Ken -- Kenneth Merry ken@kdm.org From owner-freebsd-scsi@FreeBSD.ORG Mon Apr 5 14:00:40 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DC09816A4CF for ; Mon, 5 Apr 2004 14:00:40 -0700 (PDT) Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A1E443D31 for ; Mon, 5 Apr 2004 14:00:40 -0700 (PDT) (envelope-from ken@panzer.kdm.org) Received: from panzer.kdm.org (localhost [127.0.0.1]) by panzer.kdm.org (8.12.9/8.12.5) with ESMTP id i35L0dLX065557; Mon, 5 Apr 2004 15:00:39 -0600 (MDT) (envelope-from ken@panzer.kdm.org) Received: (from ken@localhost) by panzer.kdm.org (8.12.9/8.12.5/Submit) id i35L0cvA065556; Mon, 5 Apr 2004 15:00:38 -0600 (MDT) (envelope-from ken) Date: Mon, 5 Apr 2004 15:00:38 -0600 From: "Kenneth D. Merry" To: "Daniel O'Connor" Message-ID: <20040405210038.GB65486@panzer.kdm.org> References: <200404051656.01286.doconnor@gsoft.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200404051656.01286.doconnor@gsoft.com.au> User-Agent: Mutt/1.4.1i cc: freebsd-scsi@freebsd.org Subject: Re: Accessing AIT MIC? (memory in cartridge) X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Apr 2004 21:00:41 -0000 On Mon, Apr 05, 2004 at 16:56:01 +0930, Daniel O'Connor wrote: > Has anyone got any code in FreeBSD to do this? Each AIT tape has some memory > on it which the drive can read and write. > > The device in question is a Sony SDX-500V, and I also have a Sony SDX-300C. > > I had a look on Google for Linux or FreeBSD related stuff but no joy :( It probably wouldn't be hard to talk to it if you had the specs on how to do it. (It would only be a few SCSI commands to talk to it.) You'd just have to teach your backup application how to write out the relevant data to the MIC part. IIRC, at least on the early AIT drives, not every AIT tape had the MIC feature. The tapes that had it were a little more expensive. Ken -- Kenneth Merry ken@kdm.org From owner-freebsd-scsi@FreeBSD.ORG Mon Apr 5 14:01:49 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0A64F16A4CF for ; Mon, 5 Apr 2004 14:01:49 -0700 (PDT) Received: from MyBox.BoxChat.net (mybox.boxchat.net [68.15.171.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 93BB543D46 for ; Mon, 5 Apr 2004 14:01:48 -0700 (PDT) (envelope-from junk@boxchat.net) Received: from mybox.boxchat (router.mybox.boxchat [192.168.1.1]) by MyBox.BoxChat.net (8.12.11/8.12.9) with ESMTP id i35L3s4X001539; Mon, 5 Apr 2004 16:03:54 -0500 From: junk To: "Kenneth D. Merry" In-Reply-To: <20040405205757.GA65486@panzer.kdm.org> References: <1081198427.1470.2.camel@MyBox.BoxChat.net> <20040405205757.GA65486@panzer.kdm.org> Content-Type: text/plain Message-Id: <1081199034.1473.7.camel@MyBox.BoxChat.net> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Mon, 05 Apr 2004 16:03:54 -0500 Content-Transfer-Encoding: 7bit cc: freebsd-scsi@freebsd.org Subject: Re: mounting scsi tape drive X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Apr 2004 21:01:49 -0000 Yes, I have a tape in it. [root@cpr]/etc(195): mt status mt: /dev/nsa0: Invalid argument [root@cpr]/etc(196): camcontrol tur sa0 -v Unit is not ready (pass2:ahc0:0:5:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (pass2:ahc0:0:5:0): ILLEGAL REQUEST asc:80,81 (pass2:ahc0:0:5:0): Vendor Specific ASC On Mon, 2004-04-05 at 15:57, Kenneth D. Merry wrote: > On Mon, Apr 05, 2004 at 15:53:48 -0500, junk wrote: > > I am having a problem mounting a scsi tape drive. > > The kernel sees it , but it wont mount. > > > > >From dmesg: > > > > sa0 at ahc0 bus 0 target 5 lun 0 > > sa0: Removable Sequential Access SCSI-2 device > > sa0: 5.000MB/s transfers (5.000MHz, offset 15) > > > > When i try to mount it: > > > > [root@cpr]/dev(184): mount /dev/sa0 /mnt/tape/ > > mount: /dev/sa0: Block device required > > > > even tried: > > [root@cpr]/dev(185): mount /dev/nsa0 /mnt/tape/ > > mount: /dev/nsa0: Block device required > > You can't mount a tape drive like that. mount only works for disk devices > with filesystems. > > > [root@cpr]/dev(186): mt rewind > > mt: /dev/nsa0: Invalid argument > > Do you have a tape in the drive? What happens when you type 'mt status'? > > Try this: > > camcontrol tur sa0 -v > > Ken From owner-freebsd-scsi@FreeBSD.ORG Mon Apr 5 14:07:19 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 378FA16A4CE for ; Mon, 5 Apr 2004 14:07:19 -0700 (PDT) Received: from MyBox.BoxChat.net (mybox.boxchat.net [68.15.171.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC56C43D46 for ; Mon, 5 Apr 2004 14:07:18 -0700 (PDT) (envelope-from junk@boxchat.net) Received: from mybox.boxchat (router.mybox.boxchat [192.168.1.1]) by MyBox.BoxChat.net (8.12.11/8.12.9) with ESMTP id i35L9OYt001548 for ; Mon, 5 Apr 2004 16:09:24 -0500 From: junk To: freebsd-scsi@freebsd.org In-Reply-To: <1081199034.1473.7.camel@MyBox.BoxChat.net> References: <1081198427.1470.2.camel@MyBox.BoxChat.net> <20040405205757.GA65486@panzer.kdm.org> <1081199034.1473.7.camel@MyBox.BoxChat.net> Content-Type: text/plain Message-Id: <1081199364.1484.10.camel@MyBox.BoxChat.net> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Mon, 05 Apr 2004 16:09:24 -0500 Content-Transfer-Encoding: 7bit Subject: Re: mounting scsi tape drive X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Apr 2004 21:07:19 -0000 Well after trying my 3rd tape, it finally works. Who would have thought I'd get two tapes in a row bad. Thanks Wade On Mon, 2004-04-05 at 16:03, junk wrote: > Yes, I have a tape in it. > > [root@cpr]/etc(195): mt status > mt: /dev/nsa0: Invalid argument > > [root@cpr]/etc(196): camcontrol tur sa0 -v > Unit is not ready > (pass2:ahc0:0:5:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 > (pass2:ahc0:0:5:0): ILLEGAL REQUEST asc:80,81 > (pass2:ahc0:0:5:0): Vendor Specific ASC > > > > On Mon, 2004-04-05 at 15:57, Kenneth D. Merry wrote: > > On Mon, Apr 05, 2004 at 15:53:48 -0500, junk wrote: > > > I am having a problem mounting a scsi tape drive. > > > The kernel sees it , but it wont mount. > > > > > > >From dmesg: > > > > > > sa0 at ahc0 bus 0 target 5 lun 0 > > > sa0: Removable Sequential Access SCSI-2 device > > > sa0: 5.000MB/s transfers (5.000MHz, offset 15) > > > > > > When i try to mount it: > > > > > > [root@cpr]/dev(184): mount /dev/sa0 /mnt/tape/ > > > mount: /dev/sa0: Block device required > > > > > > even tried: > > > [root@cpr]/dev(185): mount /dev/nsa0 /mnt/tape/ > > > mount: /dev/nsa0: Block device required > > > > You can't mount a tape drive like that. mount only works for disk devices > > with filesystems. > > > > > [root@cpr]/dev(186): mt rewind > > > mt: /dev/nsa0: Invalid argument > > > > Do you have a tape in the drive? What happens when you type 'mt status'? > > > > Try this: > > > > camcontrol tur sa0 -v > > > > Ken > > _______________________________________________ > 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" From owner-freebsd-scsi@FreeBSD.ORG Mon Apr 5 14:19:15 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8259816A4CF for ; Mon, 5 Apr 2004 14:19:15 -0700 (PDT) Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id A2CF743D46 for ; Mon, 5 Apr 2004 14:19:14 -0700 (PDT) (envelope-from ken@panzer.kdm.org) Received: from panzer.kdm.org (localhost [127.0.0.1]) by panzer.kdm.org (8.12.9/8.12.5) with ESMTP id i35LJCLX065820; Mon, 5 Apr 2004 15:19:12 -0600 (MDT) (envelope-from ken@panzer.kdm.org) Received: (from ken@localhost) by panzer.kdm.org (8.12.9/8.12.5/Submit) id i35LJCKr065819; Mon, 5 Apr 2004 15:19:12 -0600 (MDT) (envelope-from ken) Date: Mon, 5 Apr 2004 15:19:12 -0600 From: "Kenneth D. Merry" To: junk Message-ID: <20040405211912.GA65722@panzer.kdm.org> References: <1081198427.1470.2.camel@MyBox.BoxChat.net> <20040405205757.GA65486@panzer.kdm.org> <1081199034.1473.7.camel@MyBox.BoxChat.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1081199034.1473.7.camel@MyBox.BoxChat.net> User-Agent: Mutt/1.4.1i cc: freebsd-scsi@freebsd.org Subject: Re: mounting scsi tape drive X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Apr 2004 21:19:15 -0000 On Mon, Apr 05, 2004 at 16:03:54 -0500, junk wrote: > On Mon, 2004-04-05 at 15:57, Kenneth D. Merry wrote: > > On Mon, Apr 05, 2004 at 15:53:48 -0500, junk wrote: > > > I am having a problem mounting a scsi tape drive. > > > The kernel sees it , but it wont mount. > > > > > > >From dmesg: > > > > > > sa0 at ahc0 bus 0 target 5 lun 0 > > > sa0: Removable Sequential Access SCSI-2 device > > > sa0: 5.000MB/s transfers (5.000MHz, offset 15) > > > > > > When i try to mount it: > > > > > > [root@cpr]/dev(184): mount /dev/sa0 /mnt/tape/ > > > mount: /dev/sa0: Block device required > > > > > > even tried: > > > [root@cpr]/dev(185): mount /dev/nsa0 /mnt/tape/ > > > mount: /dev/nsa0: Block device required > > > > You can't mount a tape drive like that. mount only works for disk devices > > with filesystems. > > > > > [root@cpr]/dev(186): mt rewind > > > mt: /dev/nsa0: Invalid argument > > > > Do you have a tape in the drive? What happens when you type 'mt status'? > > > > Try this: > > > > camcontrol tur sa0 -v > > > > Ken > Yes, I have a tape in it. > > [root@cpr]/etc(195): mt status > mt: /dev/nsa0: Invalid argument You might be getting something in the dmesg when you type mt status. > [root@cpr]/etc(196): camcontrol tur sa0 -v > Unit is not ready > (pass2:ahc0:0:5:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 > (pass2:ahc0:0:5:0): ILLEGAL REQUEST asc:80,81 > (pass2:ahc0:0:5:0): Vendor Specific ASC [ reply moved to the bottom, please don't top post ] That's a vendor-specific ASC/ASCQ. There's something wrong with the tape or drive, but there's not much we can tell from that response. I'd see if you can find a SCSI manual or interface spec for the drive. That might help you figure out what's wrong. Or, look to see if there are any error LEDs on the drive, and then try to decode the meaning from the manual. It's kinda weird to return illegal request for a test unit ready, but then again I'm not really sure what's wrong with the drive. Ken -- Kenneth Merry ken@kdm.org From owner-freebsd-scsi@FreeBSD.ORG Mon Apr 5 15:28:19 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 39B4816A4CE for ; Mon, 5 Apr 2004 15:28:19 -0700 (PDT) Received: from MyBox.BoxChat.net (mybox.boxchat.net [68.15.171.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 82BE443D53 for ; Mon, 5 Apr 2004 15:28:18 -0700 (PDT) (envelope-from junk@boxchat.net) Received: from mybox.boxchat (router.mybox.boxchat [192.168.1.1]) by MyBox.BoxChat.net (8.12.11/8.12.9) with ESMTP id i35MUAQ1001778 for ; Mon, 5 Apr 2004 17:30:11 -0500 From: junk To: freebsd-scsi@freebsd.org In-Reply-To: <1081199364.1484.10.camel@MyBox.BoxChat.net> References: <1081198427.1470.2.camel@MyBox.BoxChat.net> <20040405205757.GA65486@panzer.kdm.org> <1081199034.1473.7.camel@MyBox.BoxChat.net> <1081199364.1484.10.camel@MyBox.BoxChat.net> Content-Type: text/plain Message-Id: <1081204210.1755.3.camel@MyBox.BoxChat.net> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Mon, 05 Apr 2004 17:30:10 -0500 Content-Transfer-Encoding: 7bit Subject: Re: mounting scsi tape drive X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Apr 2004 22:28:19 -0000 Ok, i got the drive working, but im not sure why I can't write to it. [root@cpr]/home/techie(163): camcontrol tur sa0 -v Unit is ready [root@cpr]/home/techie(164): mt status Mode Density Blocksize bpi Compression Current: 0x41:DLTapeIV(40GB) variable 98250 disabled ---------available modes--------- 0: 0x41:DLTapeIV(40GB) variable 98250 none 1: 0x41:DLTapeIV(40GB) variable 98250 none 2: 0x41:DLTapeIV(40GB) variable 98250 none 3: 0x41:DLTapeIV(40GB) variable 98250 none --------------------------------- Current Driver State: at rest. --------------------------------- File Number: 0 Record Number: 0 Residual Count 28 I am gettin this in dmesg after i try to write to it: (sa0:ahc0:0:5:0): WRITE FILEMARKS. CDB: 10 0 0 0 2 0 (sa0:ahc0:0:5:0): ILLEGAL REQUEST asc:24,0 (sa0:ahc0:0:5:0): Invalid field in CDB (sa0:ahc0:0:5:0): failed to write terminating filemark(s) (sa0:ahc0:0:5:0): tape is now frozen- use an OFFLINE, REWIND or MTEOM command to clear this state. Sorry to keep bothering you all. I'm new to scsi tape drives. :/ Thanks. On Mon, 2004-04-05 at 16:09, junk wrote: > Well after trying my 3rd tape, it finally works. > Who would have thought I'd get two tapes in a row bad. > > Thanks > Wade > > On Mon, 2004-04-05 at 16:03, junk wrote: > > Yes, I have a tape in it. > > > > [root@cpr]/etc(195): mt status > > mt: /dev/nsa0: Invalid argument > > > > [root@cpr]/etc(196): camcontrol tur sa0 -v > > Unit is not ready > > (pass2:ahc0:0:5:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 > > (pass2:ahc0:0:5:0): ILLEGAL REQUEST asc:80,81 > > (pass2:ahc0:0:5:0): Vendor Specific ASC > > > > > > > > On Mon, 2004-04-05 at 15:57, Kenneth D. Merry wrote: > > > On Mon, Apr 05, 2004 at 15:53:48 -0500, junk wrote: > > > > I am having a problem mounting a scsi tape drive. > > > > The kernel sees it , but it wont mount. > > > > > > > > >From dmesg: > > > > > > > > sa0 at ahc0 bus 0 target 5 lun 0 > > > > sa0: Removable Sequential Access SCSI-2 device > > > > sa0: 5.000MB/s transfers (5.000MHz, offset 15) > > > > > > > > When i try to mount it: > > > > > > > > [root@cpr]/dev(184): mount /dev/sa0 /mnt/tape/ > > > > mount: /dev/sa0: Block device required > > > > > > > > even tried: > > > > [root@cpr]/dev(185): mount /dev/nsa0 /mnt/tape/ > > > > mount: /dev/nsa0: Block device required > > > > > > You can't mount a tape drive like that. mount only works for disk devices > > > with filesystems. > > > > > > > [root@cpr]/dev(186): mt rewind > > > > mt: /dev/nsa0: Invalid argument > > > > > > Do you have a tape in the drive? What happens when you type 'mt status'? > > > > > > Try this: > > > > > > camcontrol tur sa0 -v > > > > > > Ken > > > > _______________________________________________ > > 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" > > _______________________________________________ > 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" From owner-freebsd-scsi@FreeBSD.ORG Mon Apr 5 16:05:44 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C220D16A4CF for ; Mon, 5 Apr 2004 16:05:44 -0700 (PDT) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 80F9643D55 for ; Mon, 5 Apr 2004 16:05:43 -0700 (PDT) (envelope-from doconnor@gsoft.com.au) Received: from gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by cain.gsoft.com.au (8.12.9/8.12.8) with SMTP id i35N5eQ9028838; Tue, 6 Apr 2004 08:35:40 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" Received: from 150.101.39.129 (SquirrelMail authenticated user doconnor) by cain.gsoft.com.au with HTTP; Tue, 6 Apr 2004 08:35:40 +0930 (CST) Message-ID: <4711.150.101.39.129.1081206340.squirrel@cain.gsoft.com.au> Date: Tue, 6 Apr 2004 08:35:40 +0930 (CST) To: In-Reply-To: <20040405210038.GB65486@panzer.kdm.org> References: <200404051656.01286.doconnor@gsoft.com.au> <20040405210038.GB65486@panzer.kdm.org> X-Mailer: SquirrelMail (version 1.2.9) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: -1 () CARRIAGE_RETURNS,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_00_01 X-Scanned-By: MIMEDefang 2.16 (www . roaringpenguin . com / mimedefang) cc: doconnor@gsoft.com.au cc: freebsd-scsi@freebsd.org Subject: Re: Accessing AIT MIC? (memory in cartridge) X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Apr 2004 23:05:44 -0000 > On Mon, Apr 05, 2004 at 16:56:01 +0930, Daniel O'Connor wrote: >> I had a look on Google for Linux or FreeBSD related stuff but no joy >> :( > > It probably wouldn't be hard to talk to it if you had the specs on how > to do it. (It would only be a few SCSI commands to talk to it.) You'd > just have to teach your backup application how to write out the relevant > data to the MIC part. Hmm.. I did a bit more searching and it seems that it seems to be a proposed standard -> http://www.google.com.au/search?q=cache:FGU6McIYoNIJ:www.t10.org/ftp/t10/document.99/99-223r1.pdf+AIT+MIC+SCSI+command&hl=en&ie=UTF-8 However, finding the gritty details seems considerably more difficult. > IIRC, at least on the early AIT drives, not every AIT tape had the MIC > feature. The tapes that had it were a little more expensive. Yeah that is true, mostly I am just curious about the feature :) --- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum From owner-freebsd-scsi@FreeBSD.ORG Tue Apr 6 07:04:55 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7343D16A4CE for ; Tue, 6 Apr 2004 07:04:55 -0700 (PDT) Received: from styx.aic.net (styx.aic.net [195.250.64.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF3A943D2D for ; Tue, 6 Apr 2004 07:04:54 -0700 (PDT) (envelope-from vahan@arminco.com) Received: from 035-7.dial.aic.net ([195.250.75.35] helo=arminco.com ident=BlackCrow) by styx.aic.net with esmtp (Exim 4.30; FreeBSD) id 1BArAs-0003t1-JG; Tue, 06 Apr 2004 19:03:35 +0500 Message-ID: <4072B8B3.50307@arminco.com> Date: Tue, 06 Apr 2004 19:03:31 +0500 From: Vahan Yerkanian Organization: ARMINCO Global Telecommunications User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Justin T. Gibbs" References: <4071A421.4020507@arminco.com> <4003580000.1081189887@aslan.btc.adaptec.com> In-Reply-To: <4003580000.1081189887@aslan.btc.adaptec.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-scsi@freebsd.org Subject: Re: current state of ahd driver X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Apr 2004 14:04:55 -0000 Dear Justin, I've followed your advise and disabled the eisa from the kernel (and why it's still there in the GENERIC...). The problem vanished and the box is working happily on scsi320 seagate drives and aic7902 with the out-of-box freebsd 4.9 ahd drivers. Thanks, Vahan Justin T. Gibbs wrote: > Neither 4.9 nor 5.2.1 have the lastest ahd driver. You should be > able to pull the driver from either the -stable or -current branch > and rebuild a kernel for either of these releases to effect an upgrade > to the latest drivers. However, if I had to hazard a guess as to > why things are not happy, it would be that FreeBSD's EISA probe is > running into the controller. It used to be that you could disable > EISA probing from userconfig (which only applies to -stable), but I > haven't look into this for some time. > > -- > Justin > From owner-freebsd-scsi@FreeBSD.ORG Tue Apr 6 10:03:48 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 04C5416A4CE for ; Tue, 6 Apr 2004 10:03:48 -0700 (PDT) Received: from mail.utcorp.net (mail.utcorp.net [146.145.135.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id 96BF243D46 for ; Tue, 6 Apr 2004 10:03:47 -0700 (PDT) (envelope-from lexar@utcorp.com) Received: from [146.145.135.24] (helo=utcorp.com) by mail.utcorp.net with esmtp (Exim 4.30; FreeBSD) id 1BAuEl-000FKt-AA for freebsd-scsi@freebsd.org; Tue, 06 Apr 2004 13:19:47 -0400 Message-ID: <4072E17B.1060900@utcorp.com> Date: Tue, 06 Apr 2004 12:57:31 -0400 From: lexar User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040121 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-scsi@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-yoursite-MailScanner-Information: Please contact the ISP for more information X-yoursite-MailScanner: Found to be clean Subject: Mylex DAC960PD experiment X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Apr 2004 17:03:48 -0000 I have 6 x maxtor atlas 36gb scsi 320 drives in hotswapable drive trays in a 2 channel chassis. I picked up a Mylex DAC960PD really cheap on ebay for learning about RAID. I didn't want to drop alot of $$$ until I really know what I want and there seem to be many choices ... I obviously am not getting this off-the-bat. This is what I have tried: 1) I flash upgraded the card (FBSD kernel warned me it was too old). 2) I ran the daccf util, chose 'automatic configuration', it said that RAID 5 was the default. 3) I initialized the 'system drive' (took forever, I guess this is a slow card). 4) I only get 32 GB yield: # /dev/mlxd0c: type: ESDI disk: mlxd0s1 label: flags: bytes/sector: 512 sectors/track: 32 tracks/cylinder: 128 sectors/cylinder: 4096 cylinders: 16381 sectors/unit: 67100640 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # milliseconds track-to-track seek: 0 # milliseconds drivedata: 0 8 partitions: # size offset fstype [fsize bsize bps/cpg] c: 67100640 0 4.2BSD 2048 16384 89 # (Cyl. 0 - 16381*) And when I try mlxcontrol, it says : newgate# mlxcontrol status mlx0: DAC960P/PD, 3 channels, firmware 2.73- -48, 4MB RAM mlx0: command failed - rebuild successfully terminated mlx0: command failed - rebuild successfully terminated mlx0: command failed - rebuild successfully terminated mlx0: command failed - rebuild successfully terminated mlx0: command failed - rebuild successfully terminated mlx0: command failed - rebuild successfully terminated mlx0: command failed - rebuild successfully terminated mlx0: command failed - rebuild successfully terminated mlx0: command failed - rebuild successfully terminated mlx0: command failed - rebuild successfully terminated mlx0: command failed - rebuild successfully terminated mlx0: command failed - rebuild successfully terminated mlx0: command failed - rebuild successfully terminated mlx0: command failed - rebuild successfully terminated mlx0: command failed - rebuild successfully terminated mlx0: command failed - rebuild successfully terminated mlx0: command failed - rebuild successfully terminated mlx0: command failed - rebuild successfully terminated mlx0: command failed - rebuild successfully terminated mlx0: command failed - rebuild successfully terminated mlx0: command failed - rebuild successfully terminated mlxd0: critical The critical I understand, I build a fileystem on the 32 GB array and turned off one drive. Which brings up another question: is there the possibility (with this or any other controller) for rebuilding the array without bringing the machine down? Shouldn't 6 x 36GB on RAID 5 yeild 180Gb? Bios start up screen : DAC960P BIOS Version 1.41 - 15 May 96 Mylex Corporation Spinning up drives ......... DAC960 Firmware Version 2.73-0-0 DAC960 Memory = 4 Mbytes (DRAM) WARNING: 1 system drive is critical WARNING: The following SCSI device is dead : Chn 0, Tgt 2 BIOS Enabled - Press to Disable BIOS 1 system drive installed Press any key to continue Dmesg output : mlx0: DAC960P/PD, 3 channels, firmware 2.73-0-00, 4MB RAM mlxd0: on mlx0 mlxd0: 32765MB (67102720 sectors) RAID 5 (critical) TIA for any help I recieve. From owner-freebsd-scsi@FreeBSD.ORG Wed Apr 7 01:25:18 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CA31416A4D0 for ; Wed, 7 Apr 2004 01:25:18 -0700 (PDT) Received: from web41901.mail.yahoo.com (web41901.mail.yahoo.com [66.218.93.152]) by mx1.FreeBSD.org (Postfix) with SMTP id A0E1443D55 for ; Wed, 7 Apr 2004 01:25:18 -0700 (PDT) (envelope-from chocobofrank@yahoo.com.hk) Message-ID: <20040407082441.17281.qmail@web41901.mail.yahoo.com> Received: from [202.85.164.159] by web41901.mail.yahoo.com via HTTP; Wed, 07 Apr 2004 16:24:41 CST Date: Wed, 7 Apr 2004 16:24:41 +0800 (CST) From: =?big5?q?frank=20cheong?= To: freebsd-scsi@freebsd.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="0-889521238-1081326281=:17205" Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Wed, 07 Apr 2004 05:17:09 -0700 X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: IBM x345 serveRaid 6i fresh install problem X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Apr 2004 08:25:18 -0000 --0-889521238-1081326281=:17205 Content-Type: text/plain; charset=big5 Content-Transfer-Encoding: 8bit Content-Id: Content-Disposition: inline I have tried to install using the latest (FREEBSD-CURRENT) while it couldn't even boot up correctly. Anyway I have attached the pciconf.gz here see if the latest ips driver already amended with this new serveRAID configuration. _________________________________________________________ 必殺技、飲歌、小星星... 浪漫鈴聲 情心連繫 http://us.rd.yahoo.com/evt=22281/*http://ringtone.yahoo.com.hk/ --0-889521238-1081326281=:17205-- From owner-freebsd-scsi@FreeBSD.ORG Wed Apr 7 13:46:54 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7FF5116A4CE for ; Wed, 7 Apr 2004 13:46:54 -0700 (PDT) Received: from cmsrelay02.mx.net (cmsrelay02.mx.net [165.212.11.111]) by mx1.FreeBSD.org (Postfix) with SMTP id 3B7CA43D46 for ; Wed, 7 Apr 2004 13:46:54 -0700 (PDT) (envelope-from noackjr@alumni.rice.edu) Received: from uadvg130.cms.usa.net (165.212.11.130) by cmsoutbound.mx.net with SMTP; 7 Apr 2004 20:38:38 -0000 Received: from optimator.noacks.org [65.69.0.65] by uadvg130.cms.usa.net (ASMTP/noackjr@usa.net) via mtad (C8.MAIN.3.13N) with ESMTP id 541iDguMj0311M30; Wed, 07 Apr 2004 20:38:35 GMT X-USANET-Auth: 65.69.0.65 AUTH noackjr@usa.net optimator.noacks.org Received: from localhost (localhost [127.0.0.1]) by optimator.noacks.org (Postfix) with ESMTP id C86496162; Wed, 7 Apr 2004 15:38:34 -0500 (CDT) Received: from optimator.noacks.org ([127.0.0.1]) by localhost (optimator.noacks.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 21130-08; Wed, 7 Apr 2004 15:38:32 -0500 (CDT) Received: from alumni.rice.edu (optimator [192.168.1.11]) by optimator.noacks.org (Postfix) with ESMTP id 12ADB610C; Wed, 7 Apr 2004 15:38:32 -0500 (CDT) Message-ID: <407466C7.8030200@alumni.rice.edu> Date: Wed, 07 Apr 2004 15:38:31 -0500 From: Jon Noack User-Agent: Mozilla Thunderbird 0.5+ (Windows/20040312) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-scsi@freebsd.org, obrien@freebsd.org, scott_long@btc.adaptec.com, mark_salyzyn@adaptec.com Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at noacks.org Subject: asr and the modern era X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: noackjr@alumni.rice.edu List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Apr 2004 20:46:54 -0000 Hey all, I have an Adaptec 2100s, a spare machine (i386), and no lif^H^H^H project at the moment. It seems that the asr driver is rather unloved. I would like to rectify that in my awkward, teenage boy coming-into-his-own way... I'm not familiar with any of the code in question, so this will be a learning experience for me. I hope it will be beneficial for me and others. What I would greatly appreciate is any help/pointers to get me on my way. My (admittedly uninformed) goal is to complete the steps outlined on the busdma page (http://www.freebsd.org/projects/busdma/index.html). I contacted David O'Brien about any progress he's made but have not heard back from him (I assume not much has happened here). I would especially appreciate comments from those who have performed these same steps for other drivers. I hope to acquire an amd64 machine at some point to help test these changes. Given my lack of experience, this is a bit overwhelming, but I plan to dive right in. Direction to the deep end of the pool would be very helpful ;-). Thanks, Jon Noack From owner-freebsd-scsi@FreeBSD.ORG Thu Apr 8 22:10:50 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3E6FB16A4CE; Thu, 8 Apr 2004 22:10:50 -0700 (PDT) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id D50E743D39; Thu, 8 Apr 2004 22:10:49 -0700 (PDT) (envelope-from scottl@freebsd.org) Received: from freebsd.org (junior-wifi.samsco.home [192.168.0.11]) by pooker.samsco.org (8.12.10/8.12.10) with ESMTP id i395CIWn076366; Thu, 8 Apr 2004 23:12:18 -0600 (MDT) (envelope-from scottl@freebsd.org) Message-ID: <40763009.2050909@freebsd.org> Date: Thu, 08 Apr 2004 23:09:29 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040304 X-Accept-Language: en-us, en MIME-Version: 1.0 To: noackjr@alumni.rice.edu References: <407466C7.8030200@alumni.rice.edu> In-Reply-To: <407466C7.8030200@alumni.rice.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=0.0 required=3.8 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on pooker.samsco.org cc: freebsd-scsi@freebsd.org cc: scott_long@btc.adaptec.com cc: obrien@freebsd.org cc: mark_salyzyn@adaptec.com Subject: Re: asr and the modern era X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Apr 2004 05:10:50 -0000 Jon Noack wrote: > Hey all, > I have an Adaptec 2100s, a spare machine (i386), and no lif^H^H^H > project at the moment. It seems that the asr driver is rather unloved. > I would like to rectify that in my awkward, teenage boy > coming-into-his-own way... > > I'm not familiar with any of the code in question, so this will be a > learning experience for me. I hope it will be beneficial for me and > others. What I would greatly appreciate is any help/pointers to get me > on my way. My (admittedly uninformed) goal is to complete the steps > outlined on the busdma page > (http://www.freebsd.org/projects/busdma/index.html). I contacted David > O'Brien about any progress he's made but have not heard back from him (I > assume not much has happened here). I would especially appreciate > comments from those who have performed these same steps for other > drivers. I hope to acquire an amd64 machine at some point to help test > these changes. > > Given my lack of experience, this is a bit overwhelming, but I plan to > dive right in. Direction to the deep end of the pool would be very > helpful ;-). > > Thanks, > Jon Noack > This driver needs bus_dma love, bus_space love, style(9) love, and a general audit and cleanup of it's use of kernel APIs. I recommend taking a canary with you and evacuting the room when the driver starts sucking the oxygen out of the room =-) Barring that, I'm happy to answer questions. Scott From owner-freebsd-scsi@FreeBSD.ORG Fri Apr 9 06:44:44 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5D5AE16A4CE for ; Fri, 9 Apr 2004 06:44:44 -0700 (PDT) Received: from par033x2.europe.ra.rockwell.com (raeurfw.ra.rockwell.com [195.61.102.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 140B443D55 for ; Fri, 9 Apr 2004 06:44:43 -0700 (PDT) (envelope-from mkes@ra.rockwell.com) Received: from ferda.cze.ra.rockwell.com ([10.70.136.59]) by par033x2.europe.ra.rockwell.com with ESMTP (8.9.3 (PHNE_25183+JAGae58098)/8.7.3) id PAA02134 for ; Fri, 9 Apr 2004 15:44:25 +0200 (METDST) Received: (qmail 3241 invoked from network); 9 Apr 2004 13:44:25 -0000 Received: from euczprgmkes1.cze.ra.rockwell.com (HELO ra.rockwell.com) ([10.70.137.156]) (envelope-sender ) SMTP for ; 9 Apr 2004 13:44:25 -0000 Message-ID: <4076A8C6.40704@ra.rockwell.com> Date: Fri, 09 Apr 2004 15:44:38 +0200 From: Miroslav Kes User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-scsi@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: HP NetRaid performance problem X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Apr 2004 13:44:44 -0000 Hi, I have HP NetServer LH 3000 machine with the NetRAID controller ... the dmesg says: amr0: mem 0xe0000000-0xefffffff irq 5 at device 3.1 on pci3 amr0: Firmware E.01.00, BIOS B.02.01, 32MB RAM There is 1 disk (system) alone (RAID 0) and 3 disks (data) configured as RAID 5 array. The problem is that the write performance is very poor - about 6 - 10 times slower than the read performance (with softupdates on). Any idea what can be wrong would be really welcome. Thanks Mira P.S. Unfortunately I'm currently loosing the battle with other (W2K based) servers in hearts of my users in the office. Just because o that problem. From owner-freebsd-scsi@FreeBSD.ORG Fri Apr 9 20:09:20 2004 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C69BF16A4CE for ; Fri, 9 Apr 2004 20:09:20 -0700 (PDT) Received: from smtpout-1-2d.secureserver.net (smtpout-1-2d.secureserver.net [64.202.165.68]) by mx1.FreeBSD.org (Postfix) with SMTP id 66AD643D2F for ; Fri, 9 Apr 2004 20:09:20 -0700 (PDT) (envelope-from Support@ASP-Generator.com) Received: (qmail 20591 invoked from network); 10 Apr 2004 03:09:36 -0000 Received: from unknown (64.165.235.105) by smtpout-1-2d.secureserver.net (64.202.165.68) with ESMTP; 10 Apr 2004 03:09:36 -0000 From: "Support" To: Date: Fri, 9 Apr 2004 20:09:21 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2727.1300 Subject: Dump Card State Begins ... X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Apr 2004 03:09:20 -0000 Hi Justin, I was searching for a problem I am having with my SCSI hard drive and found a post by you. http://lists.freebsd.org/pipermail/freebsd-scsi/2003-July/000400.html I am having exactly the same error that you talked about with a ST373307LC drive with timeouts. I found the page on Seagate for firmware and called them but they are closed on the weekend and my whole system is down. http://www.seagate.com/support/disc/u320_firmware.html Do you have the firmware for this drive? I would be appreciative if you could send it. My best regards to you Justin, Kruz Roberts