Slashdot Mirror


Firewire and Linux?

aozilla asks: "I was just at Pricewatch, and I noticed that 80 gig firewire drives are available for only $200. My good old IBM Deskstar just crashed, so I'm in the market for a new hard drive, and I'd love to go with Firewire. External, hot-swappable and the ability to have more than 2 devices without significant slowdown are the main features I'd like on top of what I get from my IDE drives. I'd like to hear from those who have experience running firewire on Linux. How good is the driver support? Is hot-swappability really supported (just umount and unplug, plug and mount)? Are there any recommendations for PCI Firewire cards for Linux? How many drives can reasonably fit before power becomes an issue (I assume the less expensive drives obtain power from the port)? My main goals are capacity, cost, and convenience. Speed is not too much of an issue, and I'm more a fan of automated and explicit backups rather than RAID."

33 of 318 comments (clear)

  1. Firewire and Linux by Phaze3 · · Score: 3, Informative

    I have had alot of Luck with my firewire drive in linux. Of course I couldnt get it working as my boot drive but It gives me a whole lot of extra storage for mp3s, web sites, etc... I just wish I could get my camcorder to work....

  2. Probably hard to boot from by MadCow42 · · Score: 4, Informative

    The only problem you'll really run into is trying to make it a boot drive. I don't know of any BIOS's that have "FireWire" as a boot option.

    However, you may be able to use a Linux Boot Disk with the FireWire driver on it... it would take some work, but it may be possible.

    Just a thought,
    MadCow.

    --
    I used to have a sig, but I set it free and it never came back.
    1. Re:Probably hard to boot from by Anonymous Coward · · Score: 3, Informative

      Just a quick look on google, and it looks like Phoenix has FireWire boot support in the BIOS. However, it probably won't be enabled unless the board has integrated 1394. There's also some laptops that support booting of FW.

    2. Re:Probably hard to boot from by Cutriss · · Score: 5, Informative

      I'm not intending to troll here, but Macs can boot from FireWire (And USB). Granted, Macs have their own custom boot firmware, but the point is that it can be done. Feasability is the issue, though. I doubt that people will want to start hacking custom BIOSes to enable FireWire as a boot device...

      --
      "Mod, mod, mod...and another troll bites the dust."
  3. a lot of info is available by sam@caveman.org · · Score: 5, Informative

    check out linux1394.sourceforge.net. lots of info about which cards have good linux drivers, and how good the drivers are, etc.

    -sam

    --
    burn the computers. go back to the abacus.
    1. Re:a lot of info is available by Anonymous Coward · · Score: 5, Informative

      Just to let you all know, I use two 80gig 1394 external drives. Basically they are an ata100 drive with a bit of hardware in the enclosure to convert to 1394. Two weeks ago, I lost the controller card in the enclosure of one of the drives. Not only did I loose the data, but also the drives themselves were damaged due to this. Being that they are Maxtor drives, they did a great job on replacing the faulty equipment, but to bad for the data. This is not only a problem for Linux, but also for windows. Buyers beware. Firewire has great potential for many things, if only they didn't have a problem with the controllers.

    2. Re:a lot of info is available by 11223 · · Score: 4, Informative
      This is not always true. Many manufacturers are starting to introduce hard drives and other devices that are native firewire and not implemented via ATA bridges. This should bring better performance as well as reduce other problems and bugs like the one you described.

      Be sure to check whether it's a native drive before you buy. (Of course, if you don't mind, you can buy the enclosure seperately and just assemble your own.)

  4. My experience: Not good by Billy+Bo+Bob · · Score: 5, Interesting

    I haven't tried the 80 gig drives but I use a 1 gig microdrive with a firewire dongle regularly on 2.4.something. It doesn't work great. While transferring a lot of files, the computer becomes quite unresponsive (it seems to spend a lot of the time in the kernel). Finishing up the last file often takes a very long time, all the while the computer often appears frozen. It does freeze occasionally (only when using firewire).

    In addition, unmounting/remounting only works sometimes. Often I have to unload the modules and reload them. Based on my experience, I would say mass-storage on firewire on Linux isn't ready for prime-time yet. YMMV.

    1. Re:My experience: Not good by PalmKiller · · Score: 4, Informative

      Did you try the cvs source from sourceforge (site mentioned earlier by someone else. It says storage support is recently supported and NOT stable in kernel release...you must patch it with the updates from cvs, if you did not you will have problems, also if you used kernels 2.4.7-2.4.11 you will have stability problems, must use 2.4.6 or 2.2.12+.

    2. Re:My experience: Not good by garcia · · Score: 3, Interesting

      my father is using a 40G firewire drive from Maxtor. There is no way to format the drive. If it get screwy you have to send it back to the manufactorer for a new one??

      it is VERY slow and KILLS the system when trying to use it for anything. This was in Windows.

      I can't even imagine what the drivers would be like in Linux.

  5. EPSON Scanners are supported by specht · · Score: 3, Offtopic

    I've never used a FireWire hard disk, but I am using an EPSON Expression1680 scanner that is connected over FireWire. This device is hot-swappable, you just disconnect it, reconnect it and it is still working. I would suspect that disks behave similar as long as they are unmounted.

  6. How fast compared to ATA-100? by techmuse · · Score: 3, Interesting

    I'm wondering what kind of performance a Firewire drive would give compared to an ATA-100 7200 RPM hard drive. Faster? Slower? Where would the data bottleneck on the way to the CPU?

    1. Re:How fast compared to ATA-100? by sobiloff · · Score: 5, Informative

      Be careful with your bits and bytes:

      • Ultra ATA/100 has a maximum burst transfer rate of 100 megabytes per second (MB/s), or 800 megabits per second (Mb/s).
      • Ultra 160 SCSI has a maximum sustained transfer rate of 160 megabytes per second (MB/s), or 1280 megabits per second (Mb/s).
      • IEEE 1394 has a maximum sustained transfer rate of 50 megabytes per second (MB/s), or 400 megabits per second (Mb/s).
      • USB 2.0 has a maximum sustained transfer rate of 60 megabytes per second (MB/s), or 480 megabits per second (Mb/s).
      • USB 1.1 at high speed has a maximum sustained transfer rate of 1.5 megabytes per second (MB/s), or 12 megabits per second (Mb/s).

      Hence, Ultra 160 SCSI is faster than Ultra ATA/100, which is faster than IEEE 1394. Don't get me wrong -- I think 1394 is great, but don't throw out your ATA or SCSI interfaces quite yet.

  7. Not sure if they work under Linux yet, but.. by Ryan+Amos · · Score: 3, Interesting

    The SoundBlaster Audigy line, in addition to being fucking awesome sound cards, include FireWire on the card. I'm not sure if they work under Linux (I'm more of a server guy, I don't run Linux on a desktop box so I know little to nothing about audio drivers) IIRC however, there are only two or three companies making FireWire chipsets as the licensing fees are apparently pretty expensive, which greatly cuts down on the number of chipsets Linux has to support. I've personally never used my FireWire (even though I have it on my Athlon and iBook) but I'd love to get my hands on a few of these FireWire drives for the nasty anime DivX habit I have..

    1. Re:Not sure if they work under Linux yet, but.. by GoRK · · Score: 3, Informative

      that's' stuff in the windows drivers. audigy support is coming along nicely for linux thanks in most part to Daniel Bertrand who has been getting things done at a feverish pace. Check out the audigy tag from the emu10k1 cvs at www.opensource.creative.com

  8. Two things by Jeffrey+Baker · · Score: 3, Interesting

    Two things the linux 1394 driver doesn't mix well with right now: non-i386 architectures, and systems with multiple CPUs. Also the 1394 storage code is very immature. I'd wait a while before going with 1394 storage on linux.

  9. Power... by Anonymous Coward · · Score: 5, Informative

    FireWire devices can be powered off the bus, using 6 pin to 6 pin FireWire connectors, instead of the 4 pins. The extra 2 pins carry the power. However, only small 2.5" drives tend to be powered over this connection. It's useful for recharging batteries, such as the Apple iPod. But for anything you'll be using with a desktop you probably get a desktop power transformer with your FireWire drive.

    I personally feel most comfortable building my own FireWire drive by selecting a really good looking enclosure and using whatever drives I want. For example take a look at this site here in the UK, www.pc500.net who have the IceBox, available with drives as well if you'd rather not bugger about with it yourself (see http://www.pc500.net/~pc500/catbrowse.php?bid=1127 ).

    Anyways, FireWire is a great thing for moving drives between different platforms, such as Mac & PC. However, there is a need for a single filing system which works easily across Linux, Mac, Windows, etc. This biggest problem is normally the Mac to be honest, it doesn't read others, and others can't read it, if you get what I mean.

    (sorry for the plug to my work site ;-)

    1. Re:Power... by JPRelph · · Score: 5, Informative

      I've used Macs since system 7, and back then it had no problem with DOS disks. I'm using OSX now and it has no problems whatsoever with Windows disks, and the system will happily reside on a ufs system.

    2. Re:Power... by hearingaid · · Score: 3, Informative

      The MacOS filename limit under HFS is 31 characters IIRC. I suspect this no longer applies under OS X, with its native ufs support.

      They'll probably add resource.frk files still, or perhaps .AppleDouble directories (which is what appear on my netatalk server).

      However, they do support tons of disk formats natively.

      And, BTW, what's more, you can mount HFS drives on Linux. :)

      --

      my old sig used to be funny, but then slashcode ate it and now it's not funny anymore

  10. Re:Ummmm....wait...... by ncc74656 · · Score: 3, Interesting
    I assume the less expensive drives obtain power from the port
    I thought all firewire devices got there power from the bus not an external plug.
    I stuck a 100GB Western Digital hard drive in an ADS Pyro 1394 Drive Kit. The case has its own power supply, as I doubt that FireWire is up to powering a 7200rpm hard drive (you could also install a CD burner, DVD-ROM drive, or other IDE devices (up to 5.25" half-height) in the case). Also, not all IEEE-1394 implementations provide power (Sony's i.Link comes to mind as an example).
    --
    20 January 2017: the End of an Error.
  11. Re:Go with USB 2.0 by PatJensen · · Score: 4, Interesting
    When you get a chance, can you please give me a referral for your crack dealer? He must sell some really good stuff.



    I have one question for you, can you please point me to a web page with a USB hard drive that outperforms FireWire? Apple tax or not, FireWire kills USB 1.0 in performance AND reliability.



    A serial bus used for products like mice and modems won't even touch the throughput on a FireWire drive. Try again!



    -Pat

  12. Video Cameras by eplese · · Score: 3, Informative

    I've had very good success with my DV camcorder under Linux. I'm using Linux 2.4.6 with a program called dvgrab to actually capture the video. It couldn't work better. And best of all, dvgrab will split up the videos on the computer based on where you hit the record button on the tape. That way you don't have to manually split them up.

  13. Re:Why keep re-inventing SCSI? by Frank+Sullivan · · Score: 4, Informative

    iirc, the 1394 spec started life as the SCSI-3 committee. In other words, FireWire is what SCSI was supposed to evolve into - including among other things, much cheaper chipsets and cabling.

    --
    Hand me that airplane glue and I'll tell you another story.
  14. Oxford 911 chip by tortus · · Score: 4, Informative

    Well regardless of what OS you are on, make sure that the external drive controller has the the Oxford 911 chip in it. It syncs the ata 66 and 100 (and I believe ata 133) to the 400 mbps that firewire claims to provide.

    All of the video editors out there who tried to capture video to external firewire drives that existed before the Oxford 911 chip was released can recall the torture endured with all the dropped frames.

    The older firewire drives are still roaming around out there. especially on ebay. Buyer beware.

  15. Stuff you might want to know about Maxtor firewire by tcc · · Score: 5, Informative

    1. The supplied cable is the "standard" 6 pin firewire... 6 pins to 6 pins.

    2. If you have a Dell Inspirion 8x00 laptop for example, you need an extra cable to convert 6 pins to 4 pins (smaller connector) to fit in the laptop (had to buy it as an extra).

    3. The transfer speed I got here (Dell inspiron 8000) was around 15-20MB/s read, and ~5-7MB/s write (pretty sustained)
    on win2k pro.

    4. It rocks for big dumb storage, but it sucks if you need fast access to your data, you'd be better off with a 48Gig drive with a 20gig partition with NTFS encryption on for most tasks, but then again, if you need the full 80 gig for some reason, it's the best choice for the money (and so much faster than crappy Usb 1.0). I formatted 2 partition (works from disk manager, doesn't need any extra software), 40 gig normal 40 gig with compression... NOW I have enough space.. and yes the hotswap feature works like a charm.

    --
    --- Metamoderating abusive downgraders since my 300th post.
  16. A few 1394 observations by lordsutch · · Score: 5, Informative
    I've been doing some work with 1394 devices under Linux, both as a personal hobby and for my employers. This is what I've been able to determine:
    • Stability: 1394 storage is pretty stable when you only have one drive on the bus. Multiple drives may make things flaky, particularly when you have lots of IO going on and are using broken drivers.
    • Speed: performance isn't bad with one drive, but multiple drives are slow. This is mainly due to the use of serialized IO; nonserialized IO is faster but makes things very unstable.
    • Hotplug: Hotplugging really isn't there yet. You may have to connect and disconnect a device a few times for the 1394 code to recognize it. Once you connect it successfully, you have to run rescan-scsi-bus.sh to get it to show up in /proc/scsi/scsi. Then you can mount it. Unplugging is slightly less hassle: umount, disconnect the device, and run rescan-scsi-bus.sh. The dynamic nature of the bus makes it hard to have a decent fstab with multiple drives; you may want to use volume labels to get around this problem.
    • Power: all of the units I've seen are self-powered, not bus-powered, so the power isn't a problem.
    • Cards: most OHCI cards should work with no hassles. I bought the cheapest (~$35) 1394 cards I could find on buy.com and they work just fine (they have a VIA chipset).
    My best advice would be to surf over to the Linux1394 project website and read the docs over there; you'll probably want to get their drivers anyway, instead of using what's in the stock kernel.
    --
    My Blog. Sela Ward can sell me long distanc
  17. Re:Already discussed stupid hd buses w/ ATA133 sto by aozilla · · Score: 3, Insightful

    I think firewire is cool as hell, but not for this application. It's got bandwidth galore, to move video data back and forth, but this doesn't translate to "bandwidth galore for storage".

    Why not? Are the seek times more? What are the practical problems with firewire vs. IDE?

    Hot plugability is an issue? How many times will you actually use this?

    Four times a day, Monday through Friday, at the very least. Sharing with 2 PCs... I'd also use it for backup purposes if it really worked well. Why bother with tape backups when I can spend $200 and back up 80 gigs?

    If speed isn't an issue, what's wrong with IDE?

    As I said, hot swappability, and the ability to add more than two devices without a significant speed detriment (and the ability to add more than 3 HDs at all, besides my CD-rom).

    Another advantage is that I won't have to spend 2 hours installing the drives in my parents' computers when I give the old drives to them and buy new ones.

    Or even external scsi? A decent scsi card, and external drive are no more expensive than the 1384 drives I've seen. There are plenty of dumb/slow/external drive solutions, and in every case they're cheaper than firewire.

    My rough estimate would be $250x3 for 3 80 gig drives, plus $100 for the 1384 card. What hot swappable reasonably fast (no tape drives) solution do you know of for $850 for 240 gigs?

    --
    ok then your [sic] infringing on my copyright! Could you as [sic] me next time before STEALING my comments for your own?
  18. Re:Why keep re-inventing SCSI? - its the cables by victim · · Score: 5, Insightful

    When you dig down into the SBP-2 layer of IEEE-1394 you will find that it is SCSI. SCSI commands and responses are used for the mass storage device on IEEE-1394. The only thing that is different is the physical and low level signal transmission. So, at the software level (once you get above the lowest level packet sender/receiver) there is no difference from scsi.

    At the physical level you get to trade a 50 or 68 pin connector and cable for a 6 or 4 pin connector and cable. The controller chips probably cost about the same in volume, maybe a couple of bucks different. A good SCSI cable (and don't mess with bad ones) is $50. A good firewire cable is $7.

    There is your reason. A $300 disk is $350 with
    SCSI and $308 with Firewire. (I added a dollar for the $0.50 license fee on the ports at each end of the cable. :-) A 12% cost savings will win in the end.

    Non-tangibles such as easy configuration, the ability to pile a dump truck load of disks on a single interface, and not becoming ensnared in a wriggling mass of cables are just nice bonuses.

    (I have used SCSI for ages, but now prefer IEEE-1394 for my archival storage machines. I still use SCSI for my high reliability and high performance machines, but that is more a Linux driver issue than anything intrinsically IEEE-1394.)

  19. Re:Ummmm....wait...... by afs · · Score: 4, Insightful

    First, Firewire == Apple-branded 1394. IEEE 1394 is an IEEE spec, it has nothing to do with IBM.

    Second, 1394 specifies both powered and unpowered connectors/cables. Powered is far more common. You'll see the unpowered connectors on cameras and Vaios. They're small and break off in the port.

    Most devices use the powered connectors, even if they don't draw any juice. A wall-wart is always safer, since you may be sharing the power with other devices: good for recharging (iPod); bad for a reliable hard drive (but very convenient with a laptop..)

  20. Beware of Cheap Firewire Drives by omnirealm · · Score: 3, Informative

    I have a friend who is a videographer. He purchased two different cheap firewire drives from two different vendors. Both of them failed within a month... not a physical failure of the drive, but a logical failure (MacOS couldn't mount the drives any more, but just offered to initialize the drives). He lost many hours of work from some clips he was working on. Upon his request, I have since cracked open both drives, removed the EIDE drives, and installed them in his box as internal units.

    --
    An unjust law is no law at all. - St. Augustine
  21. Mac boot firmware not custom at all. by Doktor+Memory · · Score: 3, Interesting

    Just a small note: ever since the 7500/8500/9500 model PowerMacs, all of Apple's computers have used the IEEE 1275 "Open Firmware" firmware architecture. Sun also uses this, branded as OpenBoot, and I believe IBM uses it in their POWER4 servers as well. It's not custom in the least.

    It's always been a complete mystery to me why PC vendors didn't implement OpenBoot, since it's inexpensive,open, and provides many of the functions that you currently need to buy expensive hardware dongles to get on PCs.

    (Preemptive note to moderators: realweasel.com really is a hardware site.)

    --

    News for Nerds. Stuff that Matters? Like hell.

  22. Re:How about USB 2.0? by Graymalkin · · Score: 3, Interesting

    The choice seems clear if you lack the ability to process information in a logical manner. USB is a host-based bus, it needs a host controller in order for any of the devices to talk to one another. All data has to pass through a central controller (on your PC) in order for any of the devices to even see one another. FireWire on the otherhand is a host independent system as each FW device has a FW controller as one of its logic conponents. This essentially makes all FW devices their own hosts. They can connect directly to one another and intercommunicate or in a daisy chain configuration each device can talk to any other device without the intervention of some contral controller. A FW camera and HD both plugged into a computer you can tell the camera to send video to the HD and it will with no further intervention of the computer. A USB configuration like that would require all data to pass through the computer's USB controller and then into the hard drive. There's FW drives that plug directly into DV cameras and can offload video without a computer even involved. The next FW spec increases the throughput to a couple gigabits per second, in some cases current FW components with a driver update would be compatible with the new FW spec.

    --
    I'm a loner Dottie, a Rebel.
  23. What happened with Device Bay? by Animats · · Score: 3, Informative
    There's a spec called Device Bay for removable IEEE-1394 drives. It's a spec for the physical connector and packaging, so you can just plug IEEE-1394 drives in. Nobody uses it. Unclear why. It beats the "little boxes all over the desk" concept. You can get IEEE-1394 drives, and you can get proprietary removable drive packaging, but as yet, Device Bay is rare.

    The former Device Bay consortium home page, "www.device-bay.com", now links to something called "Euro-Teen Sluts".