Date: 13 Feb 2003 11:04:46 +1030 From: "Daniel O'Connor" <doconnor@gsoft.com.au> To: FreeBSD Stable List <freebsd-stable@freebsd.org> Cc: Hidetoshi Shimokawa <simokawa@freebsd.org> Subject: sbp + drive enclosures Message-ID: <1045096485.398.14.camel@chowder.gsoft.com.au>
next in thread | raw e-mail | index | archive | help
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: <IEEE1394(FireWire) bus> 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: <SBP2/SCSI over firewire> on firewire0 da0 at sbp0 bus 0 target 0 lun 0 da0: <Wise Adv Wise Advanced ID 0028> 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 <Wise Adv Wise Advanced ID 0028> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1045096485.398.14.camel>