From owner-freebsd-stable Wed Feb 12 16:35: 4 2003 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9619537B401; Wed, 12 Feb 2003 16:35:01 -0800 (PST) Received: from cain.gsoft.com.au (genesi.lnk.telstra.net [139.130.136.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5920543F3F; Wed, 12 Feb 2003 16:34:58 -0800 (PST) (envelope-from doconnor@gsoft.com.au) Received: from [127.0.0.1] (localhost [127.0.0.1]) by cain.gsoft.com.au (8.12.4/8.12.6) with ESMTP id h1D0Ykjs094263; Thu, 13 Feb 2003 11:04:50 +1030 (CST) (envelope-from doconnor@gsoft.com.au) X-Authentication-Warning: cain.gsoft.com.au: Host localhost [127.0.0.1] claimed to be [127.0.0.1] Subject: sbp + drive enclosures From: "Daniel O'Connor" To: FreeBSD Stable List Cc: Hidetoshi Shimokawa Content-Type: text/plain Organization: Message-Id: <1045096485.398.14.camel@chowder.gsoft.com.au> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 Date: 13 Feb 2003 11:04:46 +1030 Content-Transfer-Encoding: 7bit X-Spam-Score: 1.1 (*) CARRIAGE_RETURNS,SPAM_PHRASE_00_01 X-Scanned-By: MIMEDefang 2.16 (www . roaringpenguin . com / mimedefang) Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I have purchased (well work has :) a 3.5" HD firewire enclosure, and I am attempting to get it to work with the -stable firewire code (It's my understanding that 4.x and 5.x code is pretty identical). It DOES work - when I plug it in it's detected and probed. I could fdisk/disklabel/newfs the drive and mount it. It even goes pretty fast :) Unfortunately when I disconnect it the firewire half seems to notice, but it doesn't notify the SCSI layer :( If I try a 'camcontrol rescan' it hangs in cbwait (not sure how long, but I left it for >30 minutes with no change). If I reinsert the drive I get a panic 'malloc(W_WAITOK) in interrupt context'. I am tried 'camcontrol stop da0' before disconnecting but no joy there. A friend of mine with an iPod suggested 'camcontrol eject' but that command doesn't appear to be supported - I get the following -> chowder# camcontrol eject 0:0:0 Error received from stop unit command Here is part of my dmesg -> fwohci0: vendor=104c, dev=8027 fwohci0: <1394 Open Host Controller Interface> mem 0xf6ff8000-0xf6ffbfff,0xf6ffd800-0xf6ffdfff irq 11 at device 15.2 on pci2 fwohci0: PCI bus latency was changing to 250. fwohci0: OHCI version 1.0 (ROM=1) fwohci0: No. of Isochronous channel is 4. fwohci0: EUI64 5b:4f:c0:00:3f:ff:ff:ff fwohci0: Phy 1394a available S400, 1 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 fwohci0: Initiate bus reset fwohci0: BUS reset fwohci0: BUS reset fwohci0: BUS reset fwohci0: BUS reset fwohci0: BUS reset fwohci0: BUS reset fwohci0: BUS reset fwohci0: BUS reset fwohci0: BUS reset fwohci0: BUS reset fwohci0: node_id = 0xc000ffc1, CYCLEMASTER mode firewire0: 2 nodes, maxhop <= 1, cable IRM = 1 (me) firewire0: New S400 device ID:0030e001e0017089 firewire0: Device SBP-II sbp0: on firewire0 da0 at sbp0 bus 0 target 0 lun 0 da0: Fixed Simplified Direct Access SCSI-4 device da0: 50.000MB/s transfers da0: 76319MB (156301488 512 byte sectors: 255H 63S/T 9729C) sbp0:0:0 Function rejected sbp0:0:0 Function rejected sbp0:0:0 Function rejected And after I unplug.. fwohci0: BUS reset fwohci0: node_id = 0xc000ffc0, CYCLEMASTER mode firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) chowder# camcontrol devlist at scbus0 target 0 lun 0 (da0,pass0) The machine in question is a Dell Inspiron 8000. I am about to try it in another system (when the RAM arrives :) -- 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message