Slashdot Mirror


New Seagate Drives Have Real Difficulties With Linux

wtansill writes "Seagate's Free Agent series of drives are not intended to be compatible with the Open Source operating system Linux. The Inquirer reports on the problem: an unhelpful power saving mode. 'The problem is to do with the power-saving systems on Seagate's latest range of drives and the fact that it is shipped already formatted to NTFS. The NTFS is only a slight hurdle to Linux users who have a kernel with NTFS writing enabled or can work mkfs. But the "power saving" timer is a real bugger. It will shut the drive off after several minutes of inactivity and helpfully drop the USB connection. When the connection does come back it returns as USB1 which is apparently as useful as a chocolate teapot.' Via Engadget, though, there is a solution!

36 of 361 comments (clear)

  1. Actually by Eddi3 · · Score: 3, Funny

    Actually, it's only incompatible with Open Sauce operating systems, so Linux should be fine.

  2. Free Agent unreliable by Crank+Monkey · · Score: 3, Informative

    I bought a Free Agent and I have not been happy with it. Sometimes it works and other times it doesn't. I went online to see what other users had experienced and read similar comments. A few people never had any problem with and liked it, but most had issues setting it up or getting it to run. I don't like this product.

  3. Powersaving mode comes back up as USB 1? by Antique+Geekmeister · · Score: 3, Insightful

    Disconnecting hard drives is a big problem for external devices. So is power saving, and laptop use especially. I'll bet that Seagate will sell a "Mac-compatible" version fairly soon that voids this problem, and it'll be compatible with Linux.

    But this is an amazingly foolish mistake on Seagate's part.

  4. Bad summary... by Zombie+Ryushu · · Score: 5, Informative

    The Drive works, you just have to use sdparm to clear the idle flag so the drive won't spin down at all. But this is bad, its a deliberately defective product and I hope someone sues. Make that lots of people.

    1. Re:Bad summary... by tsa · · Score: 4, Insightful

      Why sue? Can't you just go back to the shop and return it? It's a faulty product, after all.

      --

      -- Cheers!

    2. Re:Bad summary... by thetartanavenger · · Score: 5, Insightful

      Someone mod this guy up!! I'm fed up with this typical attitude of "omg let's sue them!!" There's no point if the situation can be resolved some other sensible way. Suing should be saved for when they start refusing to refund/replace the faulty product, not because the product doesn't quite work because they messed it up. Warranties exist for a reason!!

      --
      Who need's speling and grammar?
  5. General reliability seems to be a problem also by Mathinker · · Score: 5, Informative

    Judging from the huge numbers of comments on NewEgg (I'd guess that it was at least 20% of the comments) that the drive died within days or months, this Linux-unfriendly idle flag setting is really just a minor irritation.

    On the other hand, since many of the failure comments blamed it on overheating, perhaps Linux users from regions with real penguins will be OK.

  6. No more Seagate if they produce useless crap by aim2future · · Score: 5, Insightful

    I could buy an argument as "there is a development bug, but we are fixing it soon and we are very sorry for this, but the faulty drives will be replaced".

    There is no way in hell, I buy an argument like "Our drives are not supposed to work with Linux".

    Either they hire complete idiots for their tech support, or this a sign of something really really bad smelling as the OOXML scandal or the SCO scandal.

    Anyway, now I won't buy any more Seagate drives, at least not until Seagate has cleared this mess up.
    1. Re:No more Seagate if they produce useless crap by gooneybird · · Score: 3, Informative

      A Chinese company tried to purchase Seagate a while back, but their quality was too high (i.e. not enough profit), so Seagate is slowly lowering the quality enough so that they will come back and buy them. On another note: some firmware engineer doesn't really understand a damn thing about how unix operating systems run. I suspect that Seagate is attempting to jump on the "green" bandwagon by being "power consumption" friendly, to the point of their drives not actually working correctly anymore, but they sure will be green - especially when they don't power up at all. Prediction: look for a new product line from Seagate called "green-gate" drives. To Seagate: Ignore your customers at your own peril. Green be damned.

    2. Re:No more Seagate if they produce useless crap by Jesus_666 · · Score: 4, Insightful

      The really smart way to react would have been: "This is a issue with Linux taking longer then expected by us to identify itself as USB 2 compatible upon the hard drive leaving standby mode. We will publish a modifed firmware with a longer timeout; until then Linux users can use the entirely unsupported workarounds detailed on our website."

      Or: "This is a issue with Linux taking longer then expected by us to identify itself as USB 2 compatible upon the hard drive leaving standby mode. Unfortunately, the timeout is hardcoded in the drive's USB interface and cannot be changed; Linux users are advised to use the entirely unsupported workarounds detailed on our website or choose a different product."

      Both responses would have saved face. Linux users can stomach some fairly complex workarounds (especially since those workarounds tend to end up as transparent fixes in places like the kernel), but they won't accept "Linux is not supported".

      --
      USE HOT GRITS WITH STATUE OF NATALIE PORTMAN (NAKED AND PETRIFIED)
    3. Re:No more Seagate if they produce useless crap by Svartalf · · Score: 3, Insightful

      Indeed. The behavior of the USB drive is non-compliant with the USB storage device spec. It's a useful behavior, to be sure, if you
      can make it work on all the mainline OSes (Sorry, Seagate- Linux happens to be one of them...), but they didn't do their due dilligence
      and when caught out on it, they resorted to the "Linux isn't supported" BS (But then neither is MacOS for that matter- heh...lame.).

      That doesn't engender a desire for me to buy any more of their stuff- ever again.

      --
      I am not merely a "consumer" or a "taxpayer". I am a Citizen of the State of Texas
    4. Re:No more Seagate if they produce useless crap by flappinbooger · · Score: 4, Informative

      I ran into this problem and solved it a couple of months ago. This is a problem that has been around for a while, and with some digging it isn't too hard to solve. Let me give you the rundown.

      It's a "problem" with external USB hard drives, the free-agent and free-agent pro. They go to sleep in a way that is incompatible with Linux. The drives ARE compatible with linux if you have a kernel that can r/w NTFS or if you format the thing to a file system that linux prefers.

      The drive hibernates and then when linux goes to wake it up it gets all bent out of shape and says the drive is dead or gone. Sometimes. Usually.

      The fix is to turn off the hibernation. If you have the pro version it comes with a utility to do this. If you have a non-pro version you're halfway stuck. Either you gotta somehow find the pro-tools software, or contact seagate and they WILL show you where to DL it off their website. Do the online chat thing and they'll give it to you no problem. They were very nice about it, actually. Took me about 10 minutes to do that. The pro software works just fine on the non-pro drive to change the sleep time. It's a one-time fix.

      I didn't run into this on a linux PC, I was using a free-agent on a Buffalo Linkstation NAS as a backup drive. The linkstation runs linux.... So.... It would hibernate and then when the LS would go to backup - BZZT! Error. Works GREAT now. I'm actually very happy with seagate, I've had to deal with them a couple times this year and it was actually pretty smooth. They have the longest warranty also, I believe.

      --
      Flappinbooger isn't my real name
  7. Tried the fix, but burned out the drive by Paul+Fernhout · · Score: 4, Informative

    I bought two of these drives (500GB) a couple months ago. I tried that fix on one (turned off standby spin-down via sdparm), but ultimately the drive failed in about a week (possibly from heat, but I also needed to plug and unplug it when running as the power switch was not responding properly). And despite any five year warranties, who is going to send a failed drive with all your data off to who-knows-where? Years ago, back when drives cost $1000 for 1GB, I did that twice -- once the manufacturer sent my fixed drive back to a different person, and another time they sent it to an old address. There is another issue with the drives, which is that the tower part is not very solidly attached to the base, so it is wobbly (hard to believe, but the connection of the base to the tower drive section seemed very loose on the one I tried -- in general that whole two-part design seems questionable to me from a ruggedness standpoint). The power button is very confusing too -- it barely moves (maybe its capacitance based?) and does not always seem to work as I might expect it to (which may also have lead to the failure, when I pulled the plug on it). I returned the other one unopened. Someday I might put the first in an external enclosure and see if it works at all (some people online report success with that, although it entails physically breaking the case to get the drive out from what I read), but even if it does I will never trust it. I would recommend avoiding these drives for anyone based on the wobbly design alone. Despite the warranty and previously liking Seagate (before they bought Maxtor), I've moved back to Western Digital drives and others -- at least WD drives just sit there without potentially wobbling if you put them on a computer case with the slightest vibration. They definitely look cool in operation with the glowing stripe, but it seems this iteration put style way before function.

    --
    A 21st century issue: the irony of technologies of abundance in the hands of those still thinking in terms of scarcity.
  8. I have dropped external drives... by Hymer · · Score: 3, Interesting

    ...they are slow and OS dependent, either you loose oceans of space (FAT formatted drives) or you can't write to them from some OS'es (NTFS formatted drives) or a Mac just reformats the whole drive because it can't read it.
    A NAS cost a little more and got all features you need without any of the problems... and you can get them almost as small as a external 3,5" drives. ...and they are fast... many af them now have gigabit ethernet.

    1. Re:I have dropped external drives... by gigne · · Score: 3, Informative

      I'm not Mac inclined, but I did notice ext2fsx http://sourceforge.net/projects/ext2fsx/ which is the Mac driver for ext2/3. Although at first look it doesn't say anything about ext3, the filesystems are compatible. Ext3 is just the journalling on top of ext2 IIRC. I assume Mac does FAT filesystems, so just pop the driver in that partition on your external drive.

      --
      Signature v3.0, now with 42% less memory usage.
    2. Re:I have dropped external drives... by moosesocks · · Score: 3, Informative

      ...they are slow and OS dependent, either you loose oceans of space (FAT formatted drives) or you can't write to them from some OS'es (NTFS formatted drives) or a Mac just reformats the whole drive because it can't read it.


      1) This is a complaint about the current state of filesystems, not external hard drives. Likewise, there *is* support for read/write NTFS on Mac and Linux these days if you're feeling adventurous, and it's said to be extremely reliable.

      2) A mac won't format an NTFS disk unless you explicitly tell it to. For one thing, OS X has NTFS read support.

      3) Gigabit NAS is nice, as long as you've got the money to pay for it, and also have gigabit network hardware (which most people at home don't these days..)
      --
      -- If you try to fail and succeed, which have you done? - Uli's moose
  9. Easy workaround by shurdeek · · Score: 4, Informative

    I have two FreeAgentDesktop 500G's and also had this problem. I found a solution on the web and adapted it slightly to be automatic. Create this script:

    #!/bin/sh

    for i in /sys/class/scsi_disk/*; do
                    if [ "`cat "$i/device/model"`" = "FreeAgentDesktop" ]; then
                                    if [ "`cat "$i/allow_restart"`" -eq 0 ]; then
                                                    echo 1 > "$i/allow_restart"
                                    fi
                    fi
    done

    And put it into cron to run every 10 minutes (FreeAgentDesktops timeout is 15 minutes). I have it on ubuntu 7.04 but the only dependencies I recognise is to have kernel 2.6, sysfs and cron, which should not be an issue. I guess there is a nicer way to do this (e.g. script for dbus/hotplug), feel free to improve.

    1. Re:Easy workaround by shurdeek · · Score: 4, Informative

      I see no reason why disabling sleep on the disk is somehow superior to telling linux to be more graceful when communicating with it. The reason why I use cron is that the disk is not permanently attached to the computer, and as I hinted, using dbus/hald/hotplug is probably preferable than using cron. I'm just too lazy to find out how that works.

      Besides, looks like this is not an issue anymore. Check this posting and the followups:

      http://www.mail-archive.com/linux-usb-users@lists.sourceforge.net/msg19677.html

      Apparently you don't need to worry about this with new kernels.

    2. Re:Easy workaround by nacturation · · Score: 3, Funny

      #!/bin/sh

      for i in /sys/class/scsi_disk/*; do

                      if [ "`cat "$i/device/model"`" = "FreeAgentDesktop" ]; then

                                      echo Return for refund immediately!

                      fi
      done

      There... fixed your script.

      --
      Want to improve your Karma? Instead of "Post Anonymously", try the "Post Humously" option.
  10. Windows-only configuration program exists by Mathinker · · Score: 3, Informative
    From URL http://www.nslu2-linux.org/wiki/FAQ/DealWithAutoSpinDownOnSeagateFreeAgent :

    Seagate Utility for Windows

    Here is a link to a utility by Seagate that, among other things, will allow you to adjust the spindown time of FreeAgent drives. Windows only.

    http://www.seagate.com/ww/v/index.jsp?locale=en-US&name=freeagent-downloads&vgnextoid=3723b5b59b7d5110VgnVCM100000f5ee0a0aRCRD


  11. Re:Power-saving? by Znork · · Score: 4, Insightful

    Looks like there's a fairly good solution at NSLU2-Linux. Sounds like it might handle the reattachment better.

    That said, while I initially liked USB attached disks, I've later found the issues with lack of SMART and other features over USB to be a showstopper for any serious use (ie, anything beyond a replacement for burning DVD's for sneakernet transmission). I'm no longer particularly surprised when the level of 'working' of such devices is found to be relative.

  12. Re:Western Digital drive is DRM-crippled by Anonymous Coward · · Score: 3, Informative

    Western Digital's 1TB My Book World Edition external hard drive has been crippled by DRM for your safety.
    From the WD site:
    "Due to unverifiable media license authentication, the most common audio and video file types cannot be shared with different users using WD Anywhere Access."

    You have 20 seconds to comply
    WD's list of banned file types encompasses over 35 extensions. This includes AAC, MP3, AVI, DivX, WMV, and Quicktime files. And why not Windows TMP files too.

    http://www.channelregister.co.uk/2007/12/07/western_digital_drm_crippled_harddrive/

  13. Seagate programmers are STILL incompetent by dltaylor · · Score: 3, Informative

    I've avoided buying Seagate drives since they started botching the SCSI interface back on the 150 MEGABYTE drives. The drives would accept selection while spinning up and loading the firmware from the media, then hang the bus until power was cycled. I have SCSI adapters with jumpers labeled "Seagate" that would hold off scanning the SCSI bus for a couple of minutes to let the Seagates become ready. No problem like that with any other drive manufacturer. This problem lasted at least through the 2 GByte 3.5" Barracuda, since I've tested HBAs against them and seen it.

    It doesn't surprise me at all that they still have incompetent firmware programmers.

    Simple solution: stop buying Seagate products and your problems will be fewer.

  14. a better solution from Ubuntu forums by slonik · · Score: 5, Informative

    A solution to the FreeAgent spin-down problem was published on Ubuntu forums back in July 2007:
    http://ubuntuforums.org/showthread.php?t=494673
    It works for me very well. Importantly, it does not disable disk's power control. Instead, it auto restarts the disk whenever needed.

  15. Re:it is unfair by ajs318 · · Score: 4, Funny

    Er ..... any HP-badged one?

    --
    Je fume. Tu fumes. Nous fûmes!
  16. Re:Power-saving? by ajs318 · · Score: 4, Informative

    How about a crontab entry that just writes something to the drive and syncs it* every so often?

    (*) Under Linux in its default configuration, the file system is abstracted. All write operations are cached, and reads can be served from cache. Generally (this is an oversimplification) if sync is not issued deliberately, nothing is decached until shutdown, unless RAM starts getting dangerously low (it's too smart to do disk caching in swap space). This has the side-effect that on a box with plenty of RAM, a file can be created, modified, read and deleted without ever seeing oxide. It also means that certain things such as old versions of exim (which created masses of temporary files) and complex MySQL queries using temporary tables, seem to run blisteringly fast on Linux and slow to a crawl on Solaris (whose default setting is to decache between write and read operations, so that the read is served from disk and not cache.)

    --
    Je fume. Tu fumes. Nous fûmes!
  17. Re:This article is FUD by ajs318 · · Score: 3, Informative

    Given that it's a long timeout (15'), I'd guess that you simply haven't run afoul of it. Or possibly your distro has a patched kernel and allows longer for the drive to reconnect. The problem -- as far as I can piece it together -- is that a standard kernel.org kernel is not allowing the drive enough time to restart properly. A race condition ensues. The drive -- having sent a USB2 message, which got ignored because the host timed out -- thinks that the host computer isn't USB2 capable, and so reverts to USB1.

    --
    Je fume. Tu fumes. Nous fûmes!
  18. Re:Power-saving? by gweihir · · Score: 4, Insightful

    The problem seems not to be the power saving, but the drop of the USB connection, which AFAIK violates all standards. It seesm to mean that the computer has to know the drive is there, and that it should ignore the obviously crashed USB connection and just asume the drive is still fine. Linux does the right thing and disconnects the drive. My guess is that on Windows, there is either a more optimistic driver (i.e. one that makes the customer happy and hides the problem) or these Seagates actually need their own, special driver.

    --
    Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
  19. Re:Oh dear... by JohnFluxx · · Score: 3, Informative

    Wait what? You're blaming linux because Seagate made a new drive that breaks the USB spec?

    I'm flaming you and telling you that you are stupid because you are blaming linux for following the spec.

  20. Re:Power-saving? by bigdavesmith · · Score: 3, Insightful

    Sounds like a dilemma to me
    It's really not. Just don't buy the seagate drives.
  21. Re:Power-saving? by TheRaven64 · · Score: 4, Informative
    Windows has always used a Heisenburg unmount strategy (i.e. you don't know whether the drive is unmounted until you try accessing it). This makes a lot of sense if you consider where this behaviour came from; the original IBM PC. This machine had floppy drives which were manually operated; there was no software eject mode. This meant that it was common for a user to accidentally eject the disk while programs were still accessing it. Observing the UI principle that it's better to ask forgiveness than permission (something Vista has forgotten), DOS would suspend any program that tried to access a missing disk and prompt the user to reinsert it. Later, this behaviour became even more useful for network drives, since when network shares disappeared was often beyond the control of the user.

    MacOS Classic adopted a different behaviour; the Mac designers removed the eject button from the floppy disk drive, making it impossible to eject a disk without the OS having a chance to unmount it first. I'm not quite sure how they dealt with network drives, however. UNIX was designed as a multi-user system, so only the system administrator would be able to add and remove disks (everyone else would be using a dumb terminal away from the computer) and since UNIX system administrators are meant to know what they are doing it they were expected to mount and unmount disk manually.

    --
    I am TheRaven on Soylent News
  22. Already fixed upstream! by pp · · Score: 3, Informative

    As usual with Linux, at the time slashdot picks the story up, the problem has
    been fixed for some time (10 days ago in Linus' tree, in various test trees quite a bit longer):

    http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=f09e495df27d80ae77005ddb2e93df18ec24d04a

  23. Just to be clear by raddan · · Score: 3, Insightful

    These are Seagate disks in USB enclosures. The problem here is with the behavior of the USB bridge chipset, NOT THE DISK.

  24. Re:Power-saving? by number11 · · Score: 4, Interesting

    I've later found the issues with lack of SMART

    For what that's worth. The Google paper didn't find that SMART gave much warning before failure. And a former Seagate engineer (in alt.folklore.computer) said that they had found that competitors' drives were failing to log SMART errors, to make the numbers look better. He said that he had argued that Seagate should brag about showing honest numbers, but that marketing had won the argument and now he didn't believe any manfacturer's hard drive's SMART reports.

  25. They won't get the message. by SanityInAnarchy · · Score: 3, Insightful

    If you simply return the drive as defective, they'll shrug their shoulders and assume it was just that one disk. Tons of Windows users might not even have noticed.

    The point of suing them is so there's no mistake -- every single drive is defective -- and so they don't assume they can simply give you a replacement drive and everything will be OK.

    --
    Don't thank God, thank a doctor!
  26. Re:Power-saving? by phantomcircuit · · Score: 4, Funny

    Observing the UI principle that it's better to ask forgiveness than permission (something Vista has forgotten) Can you imagine the shit that Microsoft would get if Vista asked for forgiveness?

    "Give Vista forgiveness for allowing a virus to install a rootkit, Cancel Allow?"

    ?!?!?!