New Seagate Drives Have Real Difficulties With Linux 361
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!
Re:Actually (Score:1, Informative)
Free Agent unreliable (Score:3, Informative)
Bad summary... (Score:5, Informative)
General reliability seems to be a problem also (Score:5, Informative)
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.
Tried the fix, but burned out the drive (Score:5, Informative)
Easy workaround (Score:4, Informative)
#!/bin/sh
for i in
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.
Windows-only configuration program exists (Score:3, Informative)
the drive works (Score:2, Informative)
Re:Easy workaround (Score:2, Informative)
While it "works" (thus the term "workaround") why run unnecessary commands every 10 minutes?
Go to the root of the problem and just tell the harddrive to not go into sleep and be done with it.
This is what the "sdparm" command does which is linked in the summary.
I can't believe someone actually marked this informative
Re:Western Digital drive is DRM-crippled (Score:3, Informative)
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/ [channelregister.co.uk]
Re:I have dropped external drives... (Score:3, Informative)
So a NAS is nice, but I would only use it at home. Or buy one with an ethernet/firewire/e-sata and an USB connection. Now I come to think of it, for my a single computer (backup solution) I would prefer a sata connection. It's fast (latency) and it gets seen as a local drive, so I don't have all this trouble with copying inaccessible files and NTFS meta-data over the SMB protocol. [rant] The one that came up with the "Documents and Settings" scheme on Windows should be shot on sight, and so should the one that made the Exploder copy/move process stop when a single file cannot be copied [/rant].
Seagate programmers are STILL incompetent (Score:4, Informative)
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.
a better solution from Ubuntu forums (Score:5, Informative)
http://ubuntuforums.org/showthread.php?t=494673 [ubuntuforums.org]
It works for me very well. Importantly, it does not disable disk's power control. Instead, it auto restarts the disk whenever needed.
Re:I have dropped external drives... (Score:4, Informative)
Re:Power-saving? (Score:5, Informative)
(*) 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.)
Re:Easy workaround (Score:4, Informative)
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 [mail-archive.com]
Apparently you don't need to worry about this with new kernels.
Re:I have dropped external drives... (Score:2, Informative)
I think you meant a Mac USER reformats the drive because the machine can't read it. I've never encountered the OS just reformatting a drive on it's own. However, I have seen it prompt the user to do so if the drive is unrecognizable, to which you can easily hit No or Cancel.
Re:This article is FUD (Score:4, Informative)
Re:Easy workaround (Score:3, Informative)
Complete with udev support.
Best Solution: Don't buy the drive. (Score:2, Informative)
Re:No more Seagate if they produce useless crap (Score:3, Informative)
Re:I have dropped external drives... (Score:4, Informative)
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 [google.com] and Linux [ntfs-3g.org] 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..)
Re:Compatibility (Score:3, Informative)
CP/M was doing 8.3 before QDOS/MSDOS. (that's where they got it from!) And probably a PDP-11 operating system was doing it before that.
As for pre-formatting for NTFS, I would suspect one reason would be Windows' annoying habit of reading every sector on the drive to check for errors (which is pointless on a brand new modern drive because of spare sectors) before finishing the format. The larger the drive, the longer it takes. Yes, this is only the default and you can tell it not to, but you have to know that you can first, and most Windows users won't know that.
Re:Oh dear... (Score:4, Informative)
I'm flaming you and telling you that you are stupid because you are blaming linux for following the spec.
Re: there is a solution??? (Score:2, Informative)
To be effective the above solution needs to be run as soon as you plug in the drive ie before the drive goes to sleep.
The way I got round it was to buy a cheap usbsata enclosures from ebay, cracked open the freeagent (which contains a normal sata drive) and installed the drive into el-cheapo ebay enclosures.
Problem solved with the added bonus that I can now have my human drive changer tell if the drive is in use and not change it if they see that flashing blue LED.
I used to think that Seagate had the edge on hard disk technology now I'm not so sure, anyone noticed how hot their drives run? even the 7200 rpm ones??
Re:Power-saving? (Score:5, Informative)
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.
Already fixed upstream! (Score:4, Informative)
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 [kernel.org]
Re:Power-saving? (Score:2, Informative)
Yes, and the 'doze also freezes the whole frickin' desktop for a painful few seconds any time a new CD is 'detected' until it is identified and explorer has a chance to fiddle with it. It's one of the really annoying things about the 'doze. I have looked long and hard for any way of disabling this auto-mount 'feature' but it seems to be a bug deeply planted in explorer. I suppose a whole manual 'mount' mechanism would have to replace it.
I did figure out what service to disable to keep fricking XP from diddling around and popping up a 'helpful' spam-dialogue any time a usb drive is detected.
I think you're prettifying the situation by calling an awful kludge a 'heisenberg' strategy.
Firewire or e-sata externals are much better...... (Score:3, Informative)
Re:a better solution from Ubuntu forums (Score:3, Informative)
to work around a problem. Now, had Seagate helped with the problem, it would be better
and there wouldn't be a story. They didn't. Moreover, the drive has some troublesome
characteristics. It's formatted NTFS. It advertises itself as a USB storage device, but
technically, it's NOT (the spin down feature isn't part of the USB storage spec...)- and it
only works with Windows OSes without modification. It also doesn't work right with MacOS
machines.
Something of this nature should adhere to standards. It should be usable by any OS that
complies with the driver specs on it. That's what USB is all about. That's why things
like those thumb drives, flash card readers, keyboards, mice, joysticks, and other USB
HID/Storage/Etc. spec devices all just simply work on all OSes.
Not a problem. I don't buy Seagates. (Score:3, Informative)
What I've been told is that some Seagate drives hold their own firmware on a few reserved sectors, which a low level wipe destroys. Regardless, the best solution seems to be; avoid Seagate.
Re:No more Seagate if they produce useless crap (Score:1, Informative)
Yes it sucks for you. Just keep in mind it sucks for the guys on the end of the vendor chain too, and they probably really do want to help you.... but want doesn't keep the doors open (trust me on this, I sided with my customers and lost a lot more than I gained.) Keep the hate on the manufacturers not living up to their warranty obligations to vendors.
To minimise any confusion (Score:2, Informative)
" = seconds
Re:No more Seagate if they produce useless crap (Score:5, Informative)
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.
Re:How are they "better"? (Score:3, Informative)
The relevant difference is that USB is synchronous whereas Firewire is asynchronous. In terms of raw bitrates, USB is faster (480 Mbps vs. 400 MBps), but with a USB HDD you have to wait until the current block is completely transferred before you can request the next one; this makes it impossible to take full advantage of that raw capacity. With Firewire you can request blocks to be queued for transfer as the bus becomes available, meaning that you have less latency and higher overall bus saturation.
Moving from theory to practice, I have an external HDD enclosure with both USB 2.0 and Firewire 400 connectivity. Bulk data transfer is measurably faster when the enclosure is connected through Firewire. If you have a Firewire port available I would certainly recommend using it rather USB 2.0 for external bulk data storage.
Re:Already fixed upstream! (Score:2, Informative)
The SCSI core used to send START_UNIT commands arbitrarily during device discovery. Unfortunately, a lot of USB devices choke on that command, so we filtered it out at the usb-storage driver level. Later, the SCSI core was re-written to avoid using this command unless a "needs initialization" ASC/ASCQ was received from the device.
So, we just removed the filter. The device requests a startup command, and the SCSI core obliges.
It's not a bug, or a "POS" if it spins down from inactivity. The bug is in disconnecting from the bus, but even that's probably not an accurate description of the problem. When the device fails to respond, linux engages it's recovery procedure, which involves some device resets. The real bug in the device is that it doesn't spin-up and return to a "good" state after a the various attempts at the recovery procedure.
BTW, the recovery procedure is done as per USB spec. It's not linux-specific.