From owner-freebsd-scsi@FreeBSD.ORG Sun Aug 31 17:34:20 2003 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 7D3C516A4BF for ; Sun, 31 Aug 2003 17:34:20 -0700 (PDT) Received: from bast.unixathome.org (bast.unixathome.org [66.11.174.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id C440D43F85 for ; Sun, 31 Aug 2003 17:34:19 -0700 (PDT) (envelope-from dan@langille.org) Received: from wocker (wocker.unixathome.org [192.168.0.99]) by bast.unixathome.org (Postfix) with ESMTP id DFDDC3D28; Sun, 31 Aug 2003 20:34:18 -0400 (EDT) From: "Dan Langille" To: Dan Nelson Date: Sun, 31 Aug 2003 20:35:38 -0400 MIME-Version: 1.0 Message-ID: <3F525C1A.21504.35EB4B7E@localhost> Priority: normal In-reply-to: References: X-mailer: Pegasus Mail for Windows (v4.02a) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body cc: freebsd-scsi@freebsd.org Subject: Re: (Fwd) Re: SCSI tape data loss 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, 01 Sep 2003 00:34:20 -0000 On 28 Aug 2003 at 13:11, Dan Nelson wrote: > Daniel Eischen wrote: > > Can I ask a question? When writing to a character/block special file > > in non-blocking mode, are there any instances where 0 can be returned > > from the write() other than when writing to a tape device? > > > > The only way I can see to fix this in libc_r is to fstat() the > > descriptor when the threads library initializes it (uthread_fd.c) > > and save st_mode for that fd. Then in write() check to see if > > it is S_ISCHR() or S_ISBLK() and 0 was returned. It could > > break out of write() if that was the case and return 0 to > > the caller. But this doesn't work if you can get 0 back > > from a write to other devices. > > I would be inclined to always pass a zero return from read or write back > to the application; doesn't a read/write on a nonblocking device return > EAGAIN if there's nothing to do? Should a PR be opened? -- Dan Langille : http://www.langille.org/ From owner-freebsd-scsi@FreeBSD.ORG Mon Sep 1 08:18:00 2003 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 2FB0816A4BF for ; Mon, 1 Sep 2003 08:18:00 -0700 (PDT) Received: from bast.unixathome.org (bast.unixathome.org [66.11.174.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8544143FEC for ; Mon, 1 Sep 2003 08:17:57 -0700 (PDT) (envelope-from dan@langille.org) Received: from wocker (wocker.unixathome.org [192.168.0.99]) by bast.unixathome.org (Postfix) with ESMTP id 49D013F4E; Mon, 1 Sep 2003 11:17:57 -0400 (EDT) From: "Dan Langille" To: freebsd-scsi@freebsd.org Date: Mon, 01 Sep 2003 11:19:20 -0400 MIME-Version: 1.0 Message-ID: <3F532B38.27815.39145AAE@localhost> Priority: normal In-reply-to: <3F525C1A.21504.35EB4B7E@localhost> References: X-mailer: Pegasus Mail for Windows (v4.02a) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body cc: Kern Sibbald Subject: Re: (Fwd) Re: SCSI tape data loss 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, 01 Sep 2003 15:18:00 -0000 On 31 Aug 2003 at 20:35, Dan Langille wrote: > On 28 Aug 2003 at 13:11, Dan Nelson wrote: > > > Daniel Eischen wrote: > > > Can I ask a question? When writing to a character/block special file > > > in non-blocking mode, are there any instances where 0 can be returned > > > from the write() other than when writing to a tape device? > > > > > > The only way I can see to fix this in libc_r is to fstat() the > > > descriptor when the threads library initializes it (uthread_fd.c) > > > and save st_mode for that fd. Then in write() check to see if > > > it is S_ISCHR() or S_ISBLK() and 0 was returned. It could > > > break out of write() if that was the case and return 0 to > > > the caller. But this doesn't work if you can get 0 back > > > from a write to other devices. > > > > I would be inclined to always pass a zero return from read or write back > > to the application; doesn't a read/write on a nonblocking device return > > EAGAIN if there's nothing to do? > > Should a PR be opened? Done: 56274 => http://www.freebsd.org/cgi/query-pr.cgi?pr=56274 -- Dan Langille : http://www.langille.org/ From owner-freebsd-scsi@FreeBSD.ORG Mon Sep 1 08:59:02 2003 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 EF8DB16A4BF; Mon, 1 Sep 2003 08:59:01 -0700 (PDT) Received: from motgate3.mot.com (motgate3.mot.com [144.189.100.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id E458E43FE9; Mon, 1 Sep 2003 08:59:00 -0700 (PDT) (envelope-from Rafal.Jaworowski@motorola.com) Received: from az33exr04.mot.com (az33exr04.mot.com [10.64.251.234]) by motgate3.mot.com (Motorola/Motgate3) with ESMTP id h81Fx0XE028797; Mon, 1 Sep 2003 08:59:00 -0700 (MST) Received: from zpl02exm01.corp.mot.com (zpl02exm01.mpsc.mot.com [175.28.10.102])h81FwrtI019020; Mon, 1 Sep 2003 10:58:56 -0500 Received: by zpl02exm01.corp.mot.com with Internet Mail Service (5.5.2657.2) id ; Mon, 1 Sep 2003 17:58:51 +0200 Message-ID: From: Jaworowski Rafal-ARJ004 To: "'scottl@freebsd.org'" , "'scsi@freebsd.org'" Date: Mon, 1 Sep 2003 17:58:51 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.2) Content-Type: text/plain Subject: ServeRAID ips driver problems 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, 01 Sep 2003 15:59:02 -0000 [please reply to my address also since I'm not subscribed to the list] I've got a ServeRAID II adapter and when trying to use it under 5.1-RELEASE I'm encountering the following issues: 1. kernel boot related. When using a kernel with ips compiled in (i.e. GENERIC), the driver fails to get the logical disk info from the controller like this: ips0: port 0xd800-0xd8ff mem 0xff000000-0xff001fff irq 11 at device 13.0 on pci0 ips0: reinitializing adapter, this could take several minutes. ips0: failed to get configuration from device device_probe_and_attach: ips0 attach returned 6 Then it usually panics a bit later, but I don't have logs and traces available at the moment. I can re-generate them on demand as it's perfectly repeatable. It also occured one time or two that the ips driver seemed to reinitialize the adapter successfully but found zero logical disks (even though there were defined) and would not panic then. Later I figured out that when you don't compile ips in, and instead kldload it when in multiuser, it would get info on logical disks fine: #kldload ips ips0: port 0xd800-0xd8ff mem 0xff000000-0xff001fff irq 11 at device 13.0 on pci0 ips0: reinitializing adapter, this could take several minutes. ips0: logical drives: 1 ipsd0: on ips0 ipsd0: Logical Drive (8678MB) In this case, even though the ips reports drive's size correctly (8678MB), I've got problems with geometry - see below. 2. wrong geometry is being recognized. After kldload-ing ips, I tried to label the disk: # bsdlabel -Ae ipsd0 bsdlabel: /dev/ipsd0: no valid label found # bsdlabel -Aw ipsd0 auto # bsdlabel -Ae ipsd0 type: unknown disk: amnesiac label: flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 254 sectors/cylinder: 16002 cylinders: 62 sectors/unit: 995328 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: 995328 0 unused 0 0 # "raw" part, don't edit Which counts to some 486MB and this is apparently not what I have (8678MB logical disk size). When I manually tweak the disklabel contents so as to have the correct overall sector number (17772544), it would take it, but newfs somhow gets the (incorrect) auto settings. I'm not sure if this is GEOM or the ips driver still that recognizes geometry in a wrong way. When the logical disk defined with ServeRAID config utility is =<2GB the bsdlabel would find the right geometry. As mentioned earlier, I'm trying to bring 5.1-RELEASE to work with ServeRAID II. The machine is Dell Optiplex GX1p with A10 BIOS revision (latest available) and I'm booting from an ATA disk. I upgraded the ServeRAID BIOS version to 3.50.12 and firmware to 2.88.10 (the most recent I was able to find at IBM's site) Loading/unloading ACPI doesn't make difference for any of the reported problems. Changing RAID parameters didn't help either (stripe sizes, mapping modes: extended/limited) The ServeRAID adapter is not faulty since the one-floppy config utility from IBM allows to create arrays, define logical disks, verifies the media and the adapter itself are ok. Also W2k installs successfully and boots off of the RAID-defined disk. I also applied some ips-related patches flying around in scsi- maillist archives (sent once by Scott) with no improvement. Any help on this is appreciated. If there's anything else I could do in terms of log capturing etc. please let me know. thanks, Rafal From owner-freebsd-scsi@FreeBSD.ORG Mon Sep 1 11:04:23 2003 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 7441C16A4C0 for ; Mon, 1 Sep 2003 11:04:23 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A155440E3 for ; Mon, 1 Sep 2003 11:03:04 -0700 (PDT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h81I33Up004395 for ; Mon, 1 Sep 2003 11:03:03 -0700 (PDT) (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h81I339G004389 for scsi@freebsd.org; Mon, 1 Sep 2003 11:03:03 -0700 (PDT) Date: Mon, 1 Sep 2003 11:03:03 -0700 (PDT) Message-Id: <200309011803.h81I339G004389@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: scsi@FreeBSD.org Subject: Current problem reports assigned to you 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, 01 Sep 2003 18:04:23 -0000 Current FreeBSD problem reports Critical problems Serious problems Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- f [1999/12/21] kern/15608 scsi acd0 / cd0 give inconsistent errors on em 1 problem total. From owner-freebsd-scsi@FreeBSD.ORG Tue Sep 2 01:26:07 2003 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 DF9A716A4BF for ; Tue, 2 Sep 2003 01:26:07 -0700 (PDT) Received: from mailhost.ssr.com (ns.ssr.com [199.4.235.2]) by mx1.FreeBSD.org (Postfix) with SMTP id 44EC244008 for ; Tue, 2 Sep 2003 01:26:07 -0700 (PDT) (envelope-from sdb@ssr.com) Received: (qmail 981 invoked by uid 103); 2 Sep 2003 08:26:03 -0000 Date: 2 Sep 2003 08:26:03 -0000 Message-ID: <20030902082603.980.qmail@ssr.com> From: Scott Ballantyne To: freebsd-scsi@freebsd.org Subject: Adaptec 2120S question... 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, 02 Sep 2003 08:26:08 -0000 Thanks to the advice here, I've been very happily using an Adaptec 2120S. It would be nice to use the management software that came on the CD. Is it possible to run this with Linux emulation on 4.8? If so, could someone give me a hint how to do it? Do I just use the rpm command to extract the distribution from the CD? Thanks, sdb -- sdb@ssr.com From owner-freebsd-scsi@FreeBSD.ORG Tue Sep 2 01:46:39 2003 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 4CCC116A4C0 for ; Tue, 2 Sep 2003 01:46:39 -0700 (PDT) Received: from smtp.mho.com (smtp.mho.net [64.58.4.6]) by mx1.FreeBSD.org (Postfix) with SMTP id 4C71E43FE0 for ; Tue, 2 Sep 2003 01:46:38 -0700 (PDT) (envelope-from scottl@freebsd.org) Received: (qmail 72645 invoked by uid 1002); 2 Sep 2003 08:46:37 -0000 Received: from unknown (HELO freebsd.org) (64.58.1.252) by smtp.mho.net with SMTP; 2 Sep 2003 08:46:37 -0000 Message-ID: <3F5458E0.7070604@freebsd.org> Date: Tue, 02 Sep 2003 02:46:24 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3) Gecko/20030425 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Scott Ballantyne References: <20030902082603.980.qmail@ssr.com> In-Reply-To: <20030902082603.980.qmail@ssr.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-scsi@freebsd.org Subject: Re: Adaptec 2120S question... 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, 02 Sep 2003 08:46:39 -0000 Scott Ballantyne wrote: > Thanks to the advice here, I've been very happily using an Adaptec > 2120S. > > It would be nice to use the management software that came on the > CD. Is it possible to run this with Linux emulation on 4.8? > > If so, could someone give me a hint how to do it? Do I just use the > rpm command to extract the distribution from the CD? > > Thanks, > sdb Yes, it's quite possible. You'll need to compile your kernel (or, if you're using modules, the aac module) with the option 'AAC_COMPAT_LINUX'. That will enable the aac driver to respond to management apps that run through Linux emulation. As for the apps itself, the RPM on the CD comes with two programs. The GUI is called 'Storage Manager Browser Edition' and can safely be thrown away and never touched. I'm not sure if it will work under emulation, and frankly there is no compelling reason to find out. The CLI is called 'aaccli' and is buried in the RPM. This is the program that you want. It's a little tricky to learn, but it is quite powerful, scriptable, and useful. What you'll need to do is extract the RPM with 'rpm2cpio < | cpio -i --make-directories' Search through the result for aaccli, and run the command 'brandelf -t Linux aaccli'. After that, the aaccli should be ready to run. Don't hesitate to email me if you have questions/problems. Scott From owner-freebsd-scsi@FreeBSD.ORG Tue Sep 2 04:32:35 2003 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 5ECDB16A4BF; Tue, 2 Sep 2003 04:32:35 -0700 (PDT) Received: from mail.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E1D043FF3; Tue, 2 Sep 2003 04:32:34 -0700 (PDT) (envelope-from awohl@awohl.com) Received: from www.fastmail.fm (localhost [127.0.0.1]) by localhost.localdomain (Postfix) with ESMTP id B8EA7166E68; Tue, 2 Sep 2003 07:32:33 -0400 (EDT) Received: from 10.202.2.132 ([10.202.2.132] helo=www.fastmail.fm) by messagingengine.com with SMTP; Tue, 02 Sep 2003 07:32:33 -0400 Received: by www.fastmail.fm (Postfix, from userid 99) id B07BA3A82F; Tue, 2 Sep 2003 07:32:32 -0400 (EDT) Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="ISO-8859-1" MIME-Version: 1.0 X-Mailer: MIME::Lite 1.2 (F2.71; T1.001; A1.51; B2.12; Q2.03) From: "Aaron Wohl" To: "Scott Long" , "Scott Ballantyne" Date: Tue, 02 Sep 2003 05:32:32 -0600 X-Epoch: 1062502353 X-Sasl-enc: LHLIUguCijvc5jgH2geMSg References: <20030902082603.980.qmail@ssr.com> <3F5458E0.7070604@freebsd.org> In-Reply-To: <3F5458E0.7070604@freebsd.org> Message-Id: <20030902113232.B07BA3A82F@www.fastmail.fm> cc: freebsd-scsi@freebsd.org Subject: Adaptec AACCLI (was Re :Adaptec 2120S question...) 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, 02 Sep 2003 11:32:35 -0000 On Tue, 02 Sep 2003 02:46:24 -0600, "Scott Long" said: ... > The CLI is called 'aaccli' and is buried in the RPM. This is the > program that you want. It's a little tricky to learn, but it is > quite powerful, scriptable, and useful. What you'll need to do is > extract the RPM with 'rpm2cpio < | cpio -i --make-directories' > Search through the result for aaccli, and run the command 'brandelf -t > Linux aaccli'. After that, the aaccli should be ready to run. > > Don't hesitate to email me if you have questions/problems. > > Scott Does anyone have perl script to run aaccli every hour to check for for failures (drive/container/temperature/redundant power/etc)? With the previous utility dptutil for adaptec controllers it was easy with -Lall to see an Optimal status for each drive and container when it was happy which changed when it broke. With aaccli its not clear to me how every kind of failure would show up. From owner-freebsd-scsi@FreeBSD.ORG Thu Sep 4 02:40:48 2003 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 9435016A4BF for ; Thu, 4 Sep 2003 02:40:48 -0700 (PDT) Received: from web20713.mail.yahoo.com (web20713.mail.yahoo.com [66.163.169.154]) by mx1.FreeBSD.org (Postfix) with SMTP id 33E9843FE0 for ; Thu, 4 Sep 2003 02:40:48 -0700 (PDT) (envelope-from michael_stanford@yahoo.com) Message-ID: <20030904094048.36374.qmail@web20713.mail.yahoo.com> Received: from [202.94.4.250] by web20713.mail.yahoo.com via HTTP; Thu, 04 Sep 2003 02:40:48 PDT Date: Thu, 4 Sep 2003 02:40:48 -0700 (PDT) From: michael stanford To: freebsd-scsi@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: AIC7899's 2 SCSI channels infect with each other in target 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: Thu, 04 Sep 2003 09:40:48 -0000 Interested in your topic. Any progress, drop me a line. Rgds Michael __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From owner-freebsd-scsi@FreeBSD.ORG Thu Sep 4 06:29:18 2003 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 A1C6E16A4BF for ; Thu, 4 Sep 2003 06:29:18 -0700 (PDT) Received: from mail.caraldi.com (caraldi.com [62.212.102.95]) by mx1.FreeBSD.org (Postfix) with ESMTP id C784B43FB1 for ; Thu, 4 Sep 2003 06:29:17 -0700 (PDT) (envelope-from jbq@caraldi.com) Received: from watt.intra.caraldi.com (watt.intra.caraldi.com [192.168.100.101]) by mail.caraldi.com (Postfix) with ESMTP id 7E18220C6 for ; Thu, 4 Sep 2003 15:29:16 +0200 (CEST) Received: by watt.intra.caraldi.com (Postfix, from userid 1001) id CB8B979; Thu, 4 Sep 2003 15:30:43 +0200 (CEST) Date: Thu, 4 Sep 2003 15:30:43 +0200 From: Jean-Baptiste Quenot To: scsi@FreeBSD.org Message-ID: <20030904133041.GA54600@watt.intra.caraldi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.5.4i Subject: Kernel quirk *needed* for FreeDik USB Mini Data 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: Thu, 04 Sep 2003 13:29:18 -0000 [I'm not subscribed to the 'scsi' list] Uncommitted kernel quirk for FreeDik USB Mini Data Drive does not work any more after changes to cam/scsi/scsi_da.c. The quirk is needed because the device does not seem to support the « Synchronize Cache » command. See http://www.FreeBSD.org/cgi/query-pr.cgi?pr=kern/54786 for details. Best regards, -- Jean-Baptiste Quenot http://caraldi.com/jbq/ From owner-freebsd-scsi@FreeBSD.ORG Thu Sep 4 09:41:08 2003 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 6692816A4BF for ; Thu, 4 Sep 2003 09:41:08 -0700 (PDT) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id F175943FE0 for ; Thu, 4 Sep 2003 09:41:07 -0700 (PDT) (envelope-from nate@rootlabs.com) Received: (qmail 67600 invoked by uid 1000); 4 Sep 2003 16:41:08 -0000 Date: Thu, 4 Sep 2003 09:41:08 -0700 (PDT) From: Nate Lawson To: Jean-Baptiste Quenot In-Reply-To: <20030904133041.GA54600@watt.intra.caraldi.com> Message-ID: <20030904094032.V67448@root.org> References: <20030904133041.GA54600@watt.intra.caraldi.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT cc: scsi@FreeBSD.org Subject: Re: Kernel quirk *needed* for FreeDik USB Mini Data 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: Thu, 04 Sep 2003 16:41:08 -0000 On Thu, 4 Sep 2003, Jean-Baptiste Quenot wrote: > [I'm not subscribed to the 'scsi' list] > > Uncommitted kernel quirk for FreeDik USB Mini Data Drive does not work > any more after changes to cam/scsi/scsi_da.c. The quirk is needed > because the device does not seem to support the « Synchronize Cache » > command. I'm handling this PR. -Nate From owner-freebsd-scsi@FreeBSD.ORG Fri Sep 5 03:36:19 2003 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 8F2EF16A4BF for ; Fri, 5 Sep 2003 03:36:19 -0700 (PDT) Received: from smtp-out7.blueyonder.co.uk (smtp-out7.blueyonder.co.uk [195.188.213.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 530CF43FEC for ; Fri, 5 Sep 2003 03:36:16 -0700 (PDT) (envelope-from bruce@brucec.ath.cx) Received: from buffy.brucec.ath.cx ([82.41.200.2]) by smtp-out7.blueyonder.co.uk with Microsoft SMTPSVC(5.0.2195.5600); Fri, 5 Sep 2003 11:36:14 +0100 Received: by buffy.brucec.ath.cx (Postfix, from userid 1001) id A6CBC408D; Fri, 5 Sep 2003 11:36:23 +0100 (BST) Date: Fri, 5 Sep 2003 11:36:23 +0100 From: Bruce Cran To: scsi@freebsd.org Message-ID: <20030905103623.GA424@buffy.brucec.ath.cx> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="2oS5YaxWCcQjTEyO" Content-Disposition: inline User-Agent: Mutt/1.4.1i X-OriginalArrivalTime: 05 Sep 2003 10:36:15.0189 (UTC) FILETIME=[88631050:01C37399] Subject: DA_OLD_QUIRKS device, USB Mass Storage 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, 05 Sep 2003 10:36:19 -0000 --2oS5YaxWCcQjTEyO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, I think I've found a device which needs the DA_OLD_QUIRKS option. I bought a USB key device a couple of months ago, and was using it in FreeBSD without problem. Now, trying it again after not using it for a while, it doesn't work: I've attached the dmesg from the probe. I've not tried it yet, but I'm guessing that enabling DA_OLD_QUIRKS will restore it to being functional. -- Bruce Cran --2oS5YaxWCcQjTEyO Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=umass_device_quirk wi0: Lucent Firmware: Station (8.36.1) wi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps umass0: TGE Mass Storage Device, rev 1.10/1.00, addr 2 umass0: Get Max Lun not supported (STALLED) GEOM: create disk da0 dp=0xc4073050 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-2 device da0: 1.000MB/s transfers da0: Attempt to query device size failed: NOT READY, Medium not present (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI Status: Check Condition (da0:umass-sim0:0:0:0): NOT READY asc:3a,0 (da0:umass-sim0:0:0:0): Medium not present (da0:umass-sim0:0:0:0): Unretryable error Opened disk da0 -> 6 (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI Status: Check Condition (da0:umass-sim0:0:0:0): NOT READY asc:3a,0 (da0:umass-sim0:0:0:0): Medium not present (da0:umass-sim0:0:0:0): Unretryable error Opened disk da0 -> 6 (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI Status: Check Condition (da0:umass-sim0:0:0:0): NOT READY asc:3a,0 (da0:umass-sim0:0:0:0): Medium not present (da0:umass-sim0:0:0:0): Unretryable error Opened disk da0 -> 6 (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI Status: Check Condition (da0:umass-sim0:0:0:0): NOT READY asc:3a,0 (da0:umass-sim0:0:0:0): Medium not present (da0:umass-sim0:0:0:0): Unretryable error Opened disk da0 -> 6 (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI Status: Check Condition (da0:umass-sim0:0:0:0): NOT READY asc:3a,0 (da0:umass-sim0:0:0:0): Medium not present (da0:umass-sim0:0:0:0): Unretryable error Opened disk da0 -> 6 module_register: module uhub/umass already exists! Module uhub/umass failed to register: 17 (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI Status: Check Condition (da0:umass-sim0:0:0:0): NOT READY asc:3a,0 (da0:umass-sim0:0:0:0): Medium not present (da0:umass-sim0:0:0:0): Unretryable error Opened disk da0 -> 6 (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI Status: Check Condition (da0:umass-sim0:0:0:0): NOT READY asc:3a,0 (da0:umass-sim0:0:0:0): Medium not present (da0:umass-sim0:0:0:0): Unretryable error Opened disk da0 -> 6 --2oS5YaxWCcQjTEyO-- From owner-freebsd-scsi@FreeBSD.ORG Fri Sep 5 03:57:00 2003 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 860E616A4BF for ; Fri, 5 Sep 2003 03:57:00 -0700 (PDT) Received: from murphys.services.quay.plus.net (murphys.services.quay.plus.net [212.159.14.225]) by mx1.FreeBSD.org (Postfix) with SMTP id E8EED43FD7 for ; Fri, 5 Sep 2003 03:56:57 -0700 (PDT) (envelope-from hmallett@logicol.co.uk) Received: (qmail 25541 invoked from network); 5 Sep 2003 10:56:38 -0000 Received: from logicol.plus.com (HELO ltspdc1.logicol.co.uk) (212.56.64.172) by murphys.services.quay.plus.net with SMTP; 5 Sep 2003 10:56:38 -0000 Received: by LTSPDC1 with Internet Mail Service (5.5.1960.3) id ; Fri, 5 Sep 2003 11:57:37 +0100 Message-ID: <0B1E2BBC365ED711A6C4000475C90EDA0C619A@LTSPDC1> From: Hywel Mallett To: "'freebsd-scsi@freebsd.org'" Date: Fri, 5 Sep 2003 11:57:36 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.1960.3) Content-Type: text/plain Subject: Very slow 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: Fri, 05 Sep 2003 10:57:00 -0000 I have a Tandberg SLR60 tape drive, connected to an Adaptec 29160 controller. The drive can backup using dump at around 3MB/s, which is acceptable, if a bit slower than I was expecting. I have a problem though in that I have a large number tapes I need to read the data from. The tapes were written using cpio (on SCO OpenServer), and when trying to read from the tapes using cpio, I only obtain transfer rates of 150KB/s maximum. iostat shows that during both the cpio and the dump, sa0 is managing around ~290 transfers per second, but during the dump each transfer is 10KB, but during the cpio, each dump is 0.5KB. My basic question is do these figures sound normal? Is there a limit of 300 tps on a scsi bus? If so, how could I make the cpio faster? My thoughts included restoring from tape to a file, then using cpio on the file. TIA, Hywel From owner-freebsd-scsi@FreeBSD.ORG Fri Sep 5 06:55:12 2003 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 C7EB716A4BF; Fri, 5 Sep 2003 06:55:12 -0700 (PDT) Received: from chuggalug.clues.com (chuggalug.demon.co.uk [62.49.17.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D54743F85; Fri, 5 Sep 2003 06:55:07 -0700 (PDT) (envelope-from geoffb@chuggalug.clues.com) Received: from chuggalug.clues.com (localhost [127.0.0.1]) by chuggalug.clues.com (8.12.9/8.12.8) with ESMTP id h85Dp1Vp042126; Fri, 5 Sep 2003 13:51:01 GMT (envelope-from geoffb@chuggalug.clues.com) Received: (from geoffb@localhost) by chuggalug.clues.com (8.12.9/8.12.8/Submit) id h85Dp0xq042125; Fri, 5 Sep 2003 13:51:00 GMT Date: Fri, 5 Sep 2003 13:51:00 +0000 From: Geoff Buckingham To: Richard Puga Message-ID: <20030905135100.GA42050@chuggalug.clues.com> References: <3F57DBF6.A96CABE3@mauibuilt.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3F57DBF6.A96CABE3@mauibuilt.com> User-Agent: Mutt/1.4.1i cc: current@freebsd.org cc: scsi@freebsd.org Subject: Re: ips.ko load sequence for IBM ServerRaid 5i 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, 05 Sep 2003 13:55:12 -0000 I know this is the already the second place you have been directed to, but you may have more luck in freebsd-scsi. (cc'd there) On Thu, Sep 04, 2003 at 02:42:30PM -1000, Richard Puga wrote: > I do have the ips driver working with the IBM ServerRaid 5i. However it > only works if I boot > of an IDE drive and load the driver after the kernel is loaded. > > What I believe the problem to be is the fact that this "Raid" card is > just an add in card to a > modified PCI slot that makes the on board LSI dual channel controller > into a RAID, and > something in the kernel is loading (not the LSI driver its been taken > out) which makes these > 2 separate devices act as one through the PCI bus and is the reason it > can only be loaded > after booting. > > I believe a quick and dirty fix for this may be to load the ips.ko > module after the kernel has booted > and before init mounts /. > > Is there a way to do this via something in /boot/loader (the standard > way in loader.conf loads it too soon) > or perhaps a way to compile isp into the kernel in a way that it would > be probed > at a later time or in a different sequence? > > Thanks again in advance > > Richard Puga > puga@mauibuilt.com > > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" From owner-freebsd-scsi@FreeBSD.ORG Fri Sep 5 10:13:05 2003 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 DE79516A4BF for ; Fri, 5 Sep 2003 10:13:05 -0700 (PDT) Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9241D43FA3 for ; Fri, 5 Sep 2003 10:13:03 -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 h85HCvYU003301; Fri, 5 Sep 2003 11:12: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 h85HCth8003300; Fri, 5 Sep 2003 11:12:55 -0600 (MDT) (envelope-from ken) Date: Fri, 5 Sep 2003 11:12:54 -0600 From: "Kenneth D. Merry" To: Hywel Mallett Message-ID: <20030905171254.GA3206@panzer.kdm.org> References: <0B1E2BBC365ED711A6C4000475C90EDA0C619A@LTSPDC1> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0B1E2BBC365ED711A6C4000475C90EDA0C619A@LTSPDC1> User-Agent: Mutt/1.4.1i cc: "'freebsd-scsi@freebsd.org'" Subject: Re: Very slow 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: Fri, 05 Sep 2003 17:13:06 -0000 On Fri, Sep 05, 2003 at 11:57:36 +0100, Hywel Mallett wrote: > I have a Tandberg SLR60 tape drive, connected to an Adaptec 29160 > controller. The drive can backup using dump at around 3MB/s, which is > acceptable, if a bit slower than I was expecting. > I have a problem though in that I have a large number tapes I need to > read the data from. The tapes were written using cpio (on SCO > OpenServer), and when trying to read from the tapes using cpio, I only > obtain transfer rates of 150KB/s maximum. > iostat shows that during both the cpio and the dump, sa0 is managing > around ~290 transfers per second, but during the dump each transfer is > 10KB, but during the cpio, each dump is 0.5KB. > My basic question is do these figures sound normal? Is there a limit of > 300 tps on a scsi bus? > If so, how could I make the cpio faster? My thoughts included restoring > from tape to a file, then using cpio on the file. You can try using the --block-size option to cpio to specify what blocksize cpio should use. This should ideally use whatever blocksize was used to write the tape originally. That's probably why things are going so slowly. Another option, as you pointed out, is to use dd to read the tape, using a larger blocksize, and then use cpio on the output from dd. With 512 byte blocks, your speed will be somewhat limited, since you can only have one command outstanding to the tape drive at a time. So you're limited by the tape drive's latency, and you may also be causing the tape to have to rewind and re-read blocks if it isn't able to stream. (You'd proably be able to hear it doing that if that were the case.) Ken -- Kenneth Merry ken@kdm.org From owner-freebsd-scsi@FreeBSD.ORG Fri Sep 5 10:32:46 2003 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 9690216A4C0 for ; Fri, 5 Sep 2003 10:32:46 -0700 (PDT) Received: from mauibuilt.com (mauibuilt.com [205.166.249.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id C1C1043FF2 for ; Fri, 5 Sep 2003 10:32:45 -0700 (PDT) (envelope-from puga@mauibuilt.com) Received: from mauibuilt.com (tedgnm@puga.mauibuilt.com [205.166.10.2]) by mauibuilt.com (8.12.6/8.12.6) with ESMTP id h85HWjXo090538 for ; Fri, 5 Sep 2003 07:32:45 -1000 (HST) (envelope-from puga@mauibuilt.com) Sender: puga@mauibuilt.com Message-ID: <3F58C8BB.D83E703@mauibuilt.com> Date: Fri, 05 Sep 2003 07:32:43 -1000 From: Richard Puga Organization: Maui Built Machines X-Mailer: Mozilla 4.8 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-scsi@freebsd.org Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: ips.ko load sequence 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, 05 Sep 2003 17:32:46 -0000 I have the ips driver working with the IBM ServerRaid 5i. However it only works if I boot off an IDE drive and load the driver after the kernel is loaded. What I believe the problem to be is the fact that this "Raid" card is just an add in card to a modified PCI slot that makes the on board LSI dual channel controller into a RAID, and something in the kernel is loading (not the LSI driver its been taken out) which makes these 2 separate devices act as one through the PCI bus and is the reason the ips.ko driver can only be loaded after booting. I believe a quick and dirty fix for this may be to load the ips.ko module after the kernel has booted and before init mounts /. Is there a way to do this via something in /boot/loader (the standard way in loader.conf loads it too soon) or perhaps a way to compile isp into the kernel in a way that it would be probed at a later time or in a different sequence or to make the kernel load the module right before ffs_mountroofs? Thanks again in advance Richard Puga puga@mauibuilt.com From owner-freebsd-scsi@FreeBSD.ORG Fri Sep 5 12:52:59 2003 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 B77D616A4E0 for ; Fri, 5 Sep 2003 12:52:59 -0700 (PDT) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 359C743FE3 for ; Fri, 5 Sep 2003 12:52:59 -0700 (PDT) (envelope-from nate@rootlabs.com) Received: (qmail 72219 invoked by uid 1000); 5 Sep 2003 19:53:00 -0000 Date: Fri, 5 Sep 2003 12:53:00 -0700 (PDT) From: Nate Lawson To: Richard Puga In-Reply-To: <3F58C8BB.D83E703@mauibuilt.com> Message-ID: <20030905125156.M72174@root.org> References: <3F58C8BB.D83E703@mauibuilt.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-scsi@freebsd.org Subject: Re: ips.ko load sequence 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, 05 Sep 2003 19:52:59 -0000 On Fri, 5 Sep 2003, Richard Puga wrote: > I have the ips driver working with the IBM ServerRaid 5i. However it > only works if I boot off an IDE drive and load the driver after the > kernel is loaded. > > What I believe the problem to be is the fact that this "Raid" card is > just an add in card to a modified PCI slot that makes the on board LSI > dual channel controller into a RAID, and something in the kernel is > loading (not the LSI driver its been taken out) which makes these 2 > separate devices act as one through the PCI bus and is the reason the > ips.ko driver can only be loaded after booting. > > I believe a quick and dirty fix for this may be to load the ips.ko > module after the kernel has booted and before init mounts /. > > Is there a way to do this via something in /boot/loader (the standard > way in loader.conf loads it too soon) or perhaps a way to compile isp > into the kernel in a way that it would be probed at a later time or in a > different sequence or to make the kernel load the module right before > ffs_mountroofs? Perhaps a better way is to split the driver probe and attach routines and run the latter at lowest startup priority so it runs right before the disk probe. -Nate From owner-freebsd-scsi@FreeBSD.ORG Fri Sep 5 14:07:50 2003 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 E549016A4BF for ; Fri, 5 Sep 2003 14:07:50 -0700 (PDT) Received: from mauibuilt.com (mauibuilt.com [205.166.249.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id B27C04401E for ; Fri, 5 Sep 2003 14:07:49 -0700 (PDT) (envelope-from puga@mauibuilt.com) Received: from mauibuilt.com (ipknwl@puga.mauibuilt.com [205.166.10.2]) by mauibuilt.com (8.12.6/8.12.6) with ESMTP id h85L7mXo091433; Fri, 5 Sep 2003 11:07:49 -1000 (HST) (envelope-from puga@mauibuilt.com) Sender: puga@mauibuilt.com Message-ID: <3F58FB21.F0768E22@mauibuilt.com> Date: Fri, 05 Sep 2003 11:07:46 -1000 From: Richard Puga Organization: Maui Built Machines X-Mailer: Mozilla 4.8 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: Nate Lawson References: <3F58C8BB.D83E703@mauibuilt.com> <20030905125156.M72174@root.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-scsi@freebsd.org Subject: Re: ips.ko load sequence 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, 05 Sep 2003 21:07:51 -0000 That sounds exalty like what I need, Could you give me some pointer on how to do that? Thank you very much. Richard Puga puga@mauibuilt.com Nate Lawson wrote: > On Fri, 5 Sep 2003, Richard Puga wrote: > > I have the ips driver working with the IBM ServerRaid 5i. However it > > only works if I boot off an IDE drive and load the driver after the > > kernel is loaded. > > > > What I believe the problem to be is the fact that this "Raid" card is > > just an add in card to a modified PCI slot that makes the on board LSI > > dual channel controller into a RAID, and something in the kernel is > > loading (not the LSI driver its been taken out) which makes these 2 > > separate devices act as one through the PCI bus and is the reason the > > ips.ko driver can only be loaded after booting. > > > > I believe a quick and dirty fix for this may be to load the ips.ko > > module after the kernel has booted and before init mounts /. > > > > Is there a way to do this via something in /boot/loader (the standard > > way in loader.conf loads it too soon) or perhaps a way to compile isp > > into the kernel in a way that it would be probed at a later time or in a > > different sequence or to make the kernel load the module right before > > ffs_mountroofs? > > Perhaps a better way is to split the driver probe and attach routines and > run the latter at lowest startup priority so it runs right before the > disk probe. > > -Nate