[Bug 117713] Re: WD external drives need to be spun down, "sdparm --command=stop" doesn't work any more

2016-01-04 Thread Peter
just installed Kubuntu 15.10
this bug is still present
udisksctl power-off -b /dev/sdg will do as expected and spin a drive down 

Status was incomplete and now expired. What further info is needed to
confirm this bug after being around for at least 7 or so years?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/117713

Title:
  WD external drives need to be spun down, "sdparm --command=stop"
  doesn't work any more

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/117713/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 117713] Re: WD external drives need to be spun down, sdparm --command=stop doesn't work any more

2015-02-19 Thread Launchpad Bug Tracker
[Expired for linux (Ubuntu) because there has been no activity for 60
days.]

** Changed in: linux (Ubuntu)
   Status: Incomplete = Expired

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/117713

Title:
  WD external drives need to be spun down, sdparm --command=stop
  doesn't work any more

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/117713/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 117713] Re: WD external drives need to be spun down, sdparm --command=stop doesn't work any more

2014-12-21 Thread Peter
I am not currently using Kubuntu but Linux Mint 17 - safe removal, using the 
device notifier (plasma desktop), still does not spin down removable drives.  
udisks --detach /dev/sdb does still work though
Just installing apport and will run it once done

** Tags added: apport-collected qiana

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/117713

Title:
  WD external drives need to be spun down, sdparm --command=stop
  doesn't work any more

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/117713/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 117713] Re: WD external drives need to be spun down, sdparm --command=stop doesn't work any more

2014-12-21 Thread Christopher M. Penalver
Peter, please do not apport-collect to another person's report, as you
are not the original reporter.

Linux Mint has a different procedure and location for tracking bug
reports. If you want to file a report against Mint, please do so via
their bug tracker located at
https://bugs.launchpad.net/linuxmint/+filebug .

If you would like to file a bug in Ubuntu (not Mint), and so your problem and 
hardware may be tracked, please file a new report with Ubuntu by executing the 
following in a terminal while booted into the default Ubuntu kernel (not a 
mainline one) via:
ubuntu-bug linux

For more on this, please read the official Ubuntu documentation:
Ubuntu Bug Control and Ubuntu Bug Squad: 
https://wiki.ubuntu.com/Bugs/BestPractices#X.2BAC8-Reporting.Focus_on_One_Issue
Ubuntu Kernel Team: 
https://wiki.ubuntu.com/KernelTeam/KernelTeamBugPolicies#Filing_Kernel_Bug_reports
https://wiki.ubuntu.com/Kernel/Policies/DuplicateBugs
Ubuntu Community: 
https://help.ubuntu.com/community/ReportingBugs#Bug_reporting_etiquette

When opening up the new report, please feel free to subscribe me to it.

As well, please do not announce in this report you created a new bug
report.

Thank you for your understanding.

Helpful bug reporting tips:
https://wiki.ubuntu.com/ReportingBugs

** Attachment removed: BootDmesg.txt
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/117713/+attachment/4285423/+files/BootDmesg.txt

** Attachment removed: AlsaInfo.txt
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/117713/+attachment/4285422/+files/AlsaInfo.txt

** Attachment removed: CRDA.txt
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/117713/+attachment/4285424/+files/CRDA.txt

** Attachment removed: CurrentDmesg.txt
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/117713/+attachment/4285425/+files/CurrentDmesg.txt

** Attachment removed: IwConfig.txt
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/117713/+attachment/4285426/+files/IwConfig.txt

** Attachment removed: Lspci.txt
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/117713/+attachment/4285427/+files/Lspci.txt

** Attachment removed: Lsusb.txt
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/117713/+attachment/4285428/+files/Lsusb.txt

** Attachment removed: ProcCpuinfo.txt
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/117713/+attachment/4285429/+files/ProcCpuinfo.txt

** Attachment removed: ProcEnviron.txt
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/117713/+attachment/4285430/+files/ProcEnviron.txt

** Attachment removed: ProcInterrupts.txt
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/117713/+attachment/4285431/+files/ProcInterrupts.txt

** Attachment removed: ProcModules.txt
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/117713/+attachment/4285432/+files/ProcModules.txt

** Attachment removed: PulseList.txt
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/117713/+attachment/4285433/+files/PulseList.txt

** Attachment removed: UdevDb.txt
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/117713/+attachment/4285434/+files/UdevDb.txt

** Attachment removed: UdevLog.txt
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/117713/+attachment/4285435/+files/UdevLog.txt

** Attachment removed: WifiSyslog.txt
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/117713/+attachment/4285436/+files/WifiSyslog.txt

** Tags removed: apport-collected qiana

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/117713

Title:
  WD external drives need to be spun down, sdparm --command=stop
  doesn't work any more

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/117713/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 117713] Re: WD external drives need to be spun down, sdparm --command=stop doesn't work any more

2014-12-10 Thread Christopher M. Penalver
Clément Léger, thank you for reporting this bug to Ubuntu. Intrepid reached EOL 
on April 30, 2010.
See this document for currently supported Ubuntu releases: 
https://wiki.ubuntu.com/Releases

Is this still and issue in a supported release? If so, could you please execute 
the following command, as it will automatically gather debugging information, 
in a terminal:
apport-collect 117713

** Attachment removed: bug-thunar.png
   
https://bugs.launchpad.net/ubuntu/+bug/117713/+attachment/298056/+files/bug-thunar.png

** Attachment removed: lsusb -v output for the external disk/enclosure
   
https://bugs.launchpad.net/ubuntu/+bug/117713/+attachment/1065047/+files/lsusb-v.txt

** Package changed: ubuntu = linux (Ubuntu)

** Changed in: linux (Ubuntu)
   Status: Confirmed = Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/117713

Title:
  WD external drives need to be spun down, sdparm --command=stop
  doesn't work any more

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/117713/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 117713] Re: WD external drives need to be spun down, sdparm --command=stop doesn't work any more

2014-09-17 Thread M4rc05
I have the same problem in Elementary OS (based on ubuntu).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/117713

Title:
  WD external drives need to be spun down, sdparm --command=stop
  doesn't work any more

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/117713/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 117713] Re: WD external drives need to be spun down, sdparm --command=stop doesn't work any more

2012-08-27 Thread Peter
exactly the same issue with Fedora 17 - udisks works from the command
line but palimpsest is not available in yum

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/117713

Title:
  WD external drives need to be spun down, sdparm --command=stop
  doesn't work any more

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/117713/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 117713] Re: WD external drives need to be spun down, sdparm --command=stop doesn't work any more

2012-07-02 Thread Rod J
I couldn't agree more with Peter (comment #76).

This problem still seems to exist in Kubuntu 12.04.

I just bought a Seagate Expansion drive 1 TB and while the little USB
device notifier plasmoid dutifully unmounts the drive and reports that
it is safe to remove it, the drive is still spinning and no discernable
head parking has taken place.

I tried it in Windows XP and it definitely behaves differently ... very
noticeable head parking (can be felt more than heard) and then it
completely powers down also.

Is nothing being done to fix this? You're expected to carry these little
drives from place to place ... it has to be causing premature drive
failure by not parking the heads and powering them down in an orderly
fashion.  I thought the heads might self-park when the USB plug is
removed but there is no discernable sound of this happening.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/117713

Title:
  WD external drives need to be spun down, sdparm --command=stop
  doesn't work any more

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/117713/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 117713] Re: WD external drives need to be spun down, sdparm --command=stop doesn't work any more

2011-10-19 Thread takilaci
I can confirm that safe removal still does not work in Oneiric.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/117713

Title:
  WD external drives need to be spun down, sdparm --command=stop
  doesn't work any more

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/117713/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 117713] Re: WD external drives need to be spun down, sdparm --command=stop doesn't work any more

2011-10-19 Thread Anton Yakutovich
Yes, me too. Oneiric has the same problem.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/117713

Title:
  WD external drives need to be spun down, sdparm --command=stop
  doesn't work any more

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/117713/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 117713] Re: WD external drives need to be spun down, sdparm --command=stop doesn't work any more

2011-10-19 Thread Peter
Kubuntu Oneiric
Click the nice little device manager plasmoid and click the remove arrow for an 
external hard drive (in this case a toshiba) and it very helpfully says you can 
now safely remove the device.
Still does not spin the drive down though.

udisks does and so does the gnome disk utility (palimpsest)

Gnome disk utility is obviously not installed by default in Kubuntu

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/117713

Title:
  WD external drives need to be spun down, sdparm --command=stop
  doesn't work any more

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/117713/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 117713] Re: WD external drives need to be spun down, sdparm --command=stop doesn't work any more

2011-05-01 Thread Peter
Keoni
I can confirm that safe removal still does not work in Natty but that the Gnome 
disk utilities (Palimpsest) still does work, if you install it along with the 
various Gnome dependencies. I agree it is a serious usability issue as
a) should not need to install anything else to do this
b) it should happen from the existing safe removal button
c) this has been going on for years with out a fix!

Peter

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/117713

Title:
  WD external drives need to be spun down, sdparm --command=stop
  doesn't work any more

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 117713] Re: WD external drives need to be spun down, sdparm --command=stop doesn't work any more

2011-04-30 Thread Keoni Mahelona
Aloha.

Natty Narwhal is here, and still my USB Harddrive doesn't stop spinning
after eject even when it hasn't been used.

Also, it doesn't spin down when the computer is suspended.

Serious usability issue.

Ubuntu 11.04
Lacie Rugged External Drive - USB 2, FIrewire (both types)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/117713

Title:
  WD external drives need to be spun down, sdparm --command=stop
  doesn't work any more

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 117713] Re: WD external drives need to be spun down, sdparm --command=stop doesn't work any more

2010-05-02 Thread Peter
Thanks for that info.
Yes, I can confirm that you can remove a hard drive, in Kubuntu10.4, using 
either udisks (as above) or using the gnome disk utility (even further above).

Why oh why does this STILL not happen automatically when you use the
normal safe removal option? Kubuntu is a graphical front to Linux that
supposedly 'just works' - for something as basic as removing a hard
drive you should not have to resort to bash. I wonder how many disks
just get pulled out of the usb socket, still spinning, because the save
removal has done its bit and a lot of people don't even realise there is
a problem.

I notice the bug is still regarded as a low priority - tell that to
someone who looses a nice fancy usb hard-drive after the heads bounce
all across the surface when they pull the plug on it!

-- 
WD external drives need to be spun down, sdparm --command=stop doesn't work 
any more
https://bugs.launchpad.net/bugs/117713
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 117713] Re: WD external drives need to be spun down, sdparm --command=stop doesn't work any more

2010-03-25 Thread memartin
In case anyone wonders like I did about the whereabouts of devkit-disks
in lucid: the package devicekit-disks no longer exists in lucid, the
whole thing is now called udisks.

So removing the drive in lucid can accordingly be done via 'udisks
--detach /dev/sdX'

HTH

-- 
WD external drives need to be spun down, sdparm --command=stop doesn't work 
any more
https://bugs.launchpad.net/bugs/117713
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 117713] Re: WD external drives need to be spun down, sdparm --command=stop doesn't work any more

2010-03-18 Thread Antti Salminen
I am pretty sure this bug is the same as
https://bugs.launchpad.net/ubuntu/+source/sdparm/+bug/444818 although
the success reports with the posted scripts in earlier comments are
confusing as they should not be working if that is the case. In any case
that one should prevent all USB disks from spinning down when issued
with the stop command and can be easily fixed by patching
sdparm/sg_start to not open the device in read-write mode as I described
in that bug's comments.

-- 
WD external drives need to be spun down, sdparm --command=stop doesn't work 
any more
https://bugs.launchpad.net/bugs/117713
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 117713] Re: WD external drives need to be spun down, sdparm --command=stop doesn't work any more

2010-01-21 Thread clubber
Hi all,

i followed the recent idea by Peter and spinning down using devkit-disks
on the console worked like a charm for me. Nevertheless this is only
half way through since i cannot invoke spinning up the disk again. Does
anybody have an idea why the disk cannot be awoken by using the devkit-
disks again. Btw. disks block file under /dev gets lost while spinning
down. Maybe it has something to do with the USB connector.

I appreciate every idea to play around with '-)

Kind regards

Frederik

-- 
WD external drives need to be spun down, sdparm --command=stop doesn't work 
any more
https://bugs.launchpad.net/bugs/117713
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 117713] Re: WD external drives need to be spun down, sdparm --command=stop doesn't work any more

2010-01-20 Thread Alain Kalker
You're welcome :-)

I found just a minor (packaging, policy?) issue for Kubuntu/Xubuntu etc.
users: I don't know if devicekit-disks is officially supported as part
of the desktop task.

For Kubuntu at least (which I don't use myself, please verify what I
say), only the package 'usb-creator-kde' actually has an (indirect)
dependency on the package 'devicekit-disks'. Not a very strong case to
make for saying that Kubuntu supports DeviceKit, so I think we should
make sure that including it in non-Gnome desktops doesn't break anything
else.

Kind regards,

Alain

-- 
WD external drives need to be spun down, sdparm --command=stop doesn't work 
any more
https://bugs.launchpad.net/bugs/117713
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 117713] Re: WD external drives need to be spun down, sdparm --command=stop doesn't work any more

2010-01-19 Thread memartin
Peter, I second your thought that devkit-disks should be called by the
GUI tools that help safely remove external storage devices.

After some quick testing, devkit-disks seems to solve all the problems
I've described above. Thanks for the information, Alain!

Cheerz, Martin

-- 
WD external drives need to be spun down, sdparm --command=stop doesn't work 
any more
https://bugs.launchpad.net/bugs/117713
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 117713] Re: WD external drives need to be spun down, sdparm --command=stop doesn't work any more

2010-01-15 Thread Alain Kalker
Ok, this is what I have found out so far:

Ubuntu Karmic, when using any full desktop install, uses devicekit-disks
by default, which is _very_ tightly integrated with udev, D-Bus,
devmapper, etc., so it is probably not a very wise idea to go poking
around at hardware with sdparm etc., unless you are in single-user mode
without any of those services running.

Instead, use the `devkit-disks` command to unmount partitions, detach
hard drives, set spindown timeouts etc. from the command line. Please
look at `man devkit-disks`, it has an entire section on spinning down
disks.

An example pertaining to this bug report:

#Detach (spindown  prepare to safely remove) a disk on /dev/sdb
#First, unmount any mounted partitions
$ devkit-disks --unmount /dev/sdb1
#Then, detach the disk from the system
$ devkit-disks --detach /dev/sdb

None of these commands should need root privileges for disks which the
user is allowed to mount/unmount from the desktop.

-- 
WD external drives need to be spun down, sdparm --command=stop doesn't work 
any more
https://bugs.launchpad.net/bugs/117713
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 117713] Re: WD external drives need to be spun down, sdparm --command=stop doesn't work any more

2010-01-15 Thread Peter
Thanks for that - I had not heard of devkit-disks before so did not even know 
it was on my system.
The gnome-disk-utility (palimpsest) works fine on Kubuntu as well (and can be 
found searching on palimpsest using synaptic even if it can't in the default, 
useless package manager - another gripe well and truly covered by others 
elsewhere!)
Nice to find there is a working alternative to sdparm though, for those who 
quake at the idea of installing gnome things under kde.

Considering that devkit-disks is, as you say, tightly integrated and installed 
by default I wonder why it is not apparently called when trying to remove a 
removable hard drive?
Maybe this bug should be changed to something like 'eject removable hard drive 
does not use devkit-disks'

Thanks for the enlightenment!

-- 
WD external drives need to be spun down, sdparm --command=stop doesn't work 
any more
https://bugs.launchpad.net/bugs/117713
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 117713] Re: WD external drives need to be spun down, sdparm --command=stop doesn't work any more

2009-12-09 Thread memartin
I have a Samsung  HM250JI SATA notebook drive in an external enclosure
(ICY BOX IB-290StUS-B) which doesn't spin down by default either.

On Hardy/Intrepid I could use the suspend-usb-device skript, it worked
out of the box. So did a manual sdparm --command=stop. I could hear the
drive spin down when I put my ear to it.

Now I'm using Kubuntu Karmic and both the sdparm command and the skript
(as a logical consequence it seems) stopped working.

Here's some syslog output:


Plugging the disk:

Dec  9 17:21:14 mc2 kernel: [14935.184073] usb 1-4: new high speed USB device 
using ehci_hcd and address 6
Dec  9 17:21:14 mc2 kernel: [14935.320088] usb 1-4: configuration #1 chosen 
from 1 choice
Dec  9 17:21:14 mc2 kernel: [14935.336263] scsi5 : SCSI emulation for USB Mass 
Storage devices
Dec  9 17:21:14 mc2 kernel: [14935.336552] usb-storage: device found at 6
Dec  9 17:21:14 mc2 kernel: [14935.336559] usb-storage: waiting for device to 
settle before scanning
Dec  9 17:21:19 mc2 kernel: [14940.346615] usb-storage: device scan complete
Dec  9 17:21:19 mc2 kernel: [14940.353214] scsi 5:0:0:0: Direct-Access 
SAMSUNG  HM250JI   PQ: 0 ANSI: 2
Dec  9 17:21:19 mc2 kernel: [14940.354291] sd 5:0:0:0: Attached scsi generic 
sg1 type 0
Dec  9 17:21:19 mc2 kernel: [14940.374986] sd 5:0:0:0: [sdb] 488397168 512-byte 
logical blocks: (250 GB/232 GiB)
Dec  9 17:21:19 mc2 kernel: [14940.380392] sd 5:0:0:0: [sdb] Write Protect is 
off
Dec  9 17:21:19 mc2 kernel: [14940.380398] sd 5:0:0:0: [sdb] Mode Sense: 38 00 
00 00
Dec  9 17:21:19 mc2 kernel: [14940.380401] sd 5:0:0:0: [sdb] Assuming drive 
cache: write through
Dec  9 17:21:19 mc2 kernel: [14940.390915] sd 5:0:0:0: [sdb] Assuming drive 
cache: write through
Dec  9 17:21:20 mc2 kernel: [14940.390926]  sdb: sdb1 sdb2
Dec  9 17:21:20 mc2 kernel: [14941.020195] sd 5:0:0:0: [sdb] Assuming drive 
cache: write through
Dec  9 17:21:20 mc2 kernel: [14941.020204] sd 5:0:0:0: [sdb] Attached SCSI disk


running suspend-usb-device script:

Dec  9 17:21:45 mc2 kernel: [14965.496329] scsi 5:0:0:0: [sdb] Unhandled error 
code
Dec  9 17:21:45 mc2 kernel: [14965.496339] scsi 5:0:0:0: [sdb] Result: 
hostbyte=DID_ERROR driverbyte=DRIVER_OK
Dec  9 17:21:45 mc2 kernel: [14965.496352] end_request: I/O error, dev sdb, 
sector 488396928
Dec  9 17:21:45 mc2 kernel: [14965.496366] Buffer I/O error on device sdb, 
logical block 61049616


Skript is latest git clone, still working like a charm under Hardy. Lsusb 
output for the disk/enclosure attached.

** Attachment added: lsusb -v output for the external disk/enclosure
   http://launchpadlibrarian.net/36627737/lsusb-v.txt

-- 
WD external drives need to be spun down, sdparm --command=stop doesn't work 
any more
https://bugs.launchpad.net/bugs/117713
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 117713] Re: WD external drives need to be spun down, sdparm --command=stop doesn't work any more

2009-12-09 Thread memartin
I forgot: when I listen closely, it sounds like the drive getting the
signal to stop, but then spinning up again instantly.

I remember dealing with an allow-restart parameter for a Seagate
FreeAgent disk a few weeks ago, that had to be set in /sys via a udev
rule to allow the drive to be restarted by the kernel. It otherwise
would suspend even during i/o, causing errors.

It seems that allow_restart is set for the usb disk by default now
(karmic), however, it does not help to set it from 1 to 0. suspend-
usb-device still fails with the same errors.

-- 
WD external drives need to be spun down, sdparm --command=stop doesn't work 
any more
https://bugs.launchpad.net/bugs/117713
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 117713] Re: WD external drives need to be spun down, sdparm --command=stop doesn't work any more

2009-12-09 Thread ssergeje
@memartin
I have a Samsung HM250JI SATA notebook drive in an external enclosure (ICY BOX 
IB-290StUS-B) which doesn't spin down by default either.

On Hardy/Intrepid I could use the suspend-usb-device skript, it worked
out of the box. So did a manual sdparm --command=stop. I could hear the
drive spin down when I put my ear to it.

Now I'm using Kubuntu Karmic and both the sdparm command and the skript
(as a logical consequence it seems) stopped working.

did you try using the menu 'safely remove' by right clicking on the
drive on your desktop?

-- 
WD external drives need to be spun down, sdparm --command=stop doesn't work 
any more
https://bugs.launchpad.net/bugs/117713
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 117713] Re: WD external drives need to be spun down, sdparm --command=stop doesn't work any more

2009-12-09 Thread memartin
@ssergeje: Thanks for the reply. When I safely remove the drive using
the device notifier plasmoid or the dolphin function, i hear the drive
doint something, but it doesn't spin down. But it doesn't make that
spindown-and-up-again noise either liken when I use the script.

When I unplug the disk, it makes that power-retract noise, emergency-
parking the heads. So it evidently doesn't get spun down using UI tools.

-- 
WD external drives need to be spun down, sdparm --command=stop doesn't work 
any more
https://bugs.launchpad.net/bugs/117713
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 117713] Re: WD external drives need to be spun down, sdparm --command=stop doesn't work any more

2009-11-28 Thread Peter
I am now using Karmic and still can't safely remove a usb hard drive from 
Kubuntu.
Palimpsest sounds interesting but it is not listed in the kde package manager 
nor does it show up with apt-cache search palimpsest.
Several posts I have read suggest it is installed by default, but not on my 
computer - shows up on none of my menus and there is no bin file for it that I 
can find

-- 
WD external drives need to be spun down, sdparm --command=stop doesn't work 
any more
https://bugs.launchpad.net/bugs/117713
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 117713] Re: WD external drives need to be spun down, sdparm --command=stop doesn't work any more

2009-11-28 Thread Anakin Starkiller
Peter  Try to install the gnome-disk-utility package ;)

-- 
WD external drives need to be spun down, sdparm --command=stop doesn't work 
any more
https://bugs.launchpad.net/bugs/117713
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 117713] Re: WD external drives need to be spun down, sdparm --command=stop doesn't work any more

2009-10-25 Thread Anakin Starkiller
Using Palimpsest (from Karmic) has fixed this issue as you can
disconnect AND power down any usb devices with it with just one click ;)
(You can even access S.M.A.R.T attributes from your external usb hard
drives). Haven't try sdparm command though...

-- 
WD external drives need to be spun down, sdparm --command=stop doesn't work 
any more
https://bugs.launchpad.net/bugs/117713
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 117713] Re: WD external drives need to be spun down, sdparm --command=stop doesn't work any more

2009-10-25 Thread jatin sachdeva
you mean the 'safely remove drive' option when I right click on a
mounted partition. That works alright for usb powered drives. I haven't
tried it with externally powered usb drives - does that work?

-- 
WD external drives need to be spun down, sdparm --command=stop doesn't work 
any more
https://bugs.launchpad.net/bugs/117713
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 117713] Re: WD external drives need to be spun down, sdparm --command=stop doesn't work any more

2009-10-25 Thread Anakin Starkiller
Yes that works too ;) (I have a 250Gb Western Digital Mybook)

-- 
WD external drives need to be spun down, sdparm --command=stop doesn't work 
any more
https://bugs.launchpad.net/bugs/117713
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 117713] Re: WD external drives need to be spun down, sdparm --command=stop doesn't work any more

2009-09-08 Thread ssergeje
@#57 jatin sachdeva

As I understand most important is to spin down the drive and this should
work independently of USB or Firewire system, or it doesn't?

This hack can't be incorporated as permanent solution IMHO. udev rules
or sdparm should be fixed. There's a related bug with hdparm and seems
it was fixed there in hdparm itself.

As for sdparm sync/stop commands we could could create GnomePanel
external drive mounter applet or update the existing mount applet.

-- 
WD external drives need to be spun down, sdparm --command=stop doesn't work 
any more
https://bugs.launchpad.net/bugs/117713
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 117713] Re: WD external drives need to be spun down, sdparm --command=stop doesn't work any more

2009-09-08 Thread jatin sachdeva
i have an update, i just realised my old seagate 400 gb external drive,
does not spin down. It does dissappear from nautilus, but does not power
down. As has always been the case (even with windows) it keeps spinning
for a 5-10 mins, before it decides to power down on its own.

No big deal, but just wanted to update that the script might now always
work on all external drives (maybe works only on newer drives)

-- 
WD external drives need to be spun down, sdparm --command=stop doesn't work 
any more
https://bugs.launchpad.net/bugs/117713
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 117713] Re: WD external drives need to be spun down, sdparm --command=stop doesn't work any more

2009-09-07 Thread jatin sachdeva
I see this issue with all my external hdds - a 4 yr old seagate 400gb, a
500gb seagate freeagent go, and 2 makes of the wd 1TB drives.

thanks to ssergeje, I am able to use the script on his link to
appropriately power down my external drives. Is there anyway to do this
with firewire - i have reverted to using usb on my drives till we get a
solution for firewire.

Anyone sees this incorporated as a permanent solution in ubuntu (karmic
maybe?)?

-- 
WD external drives need to be spun down, sdparm --command=stop doesn't work 
any more
https://bugs.launchpad.net/bugs/117713
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 117713] Re: WD external drives need to be spun down, sdparm --command=stop doesn't work any more

2009-08-26 Thread Anakin Starkiller
Actually, this script does work also for USB Key...It switch off the USB
led light like in Windows ;)

-- 
WD external drives need to be spun down, sdparm --command=stop doesn't work 
any more
https://bugs.launchpad.net/bugs/117713
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 117713] Re: WD external drives need to be spun down, sdparm --command=stop doesn't work any more

2009-08-24 Thread Anakin Starkiller
Ok, so now everything is working fine...but it's a little bit tricky to
solve. I hope Karmic won't have this bug

-- 
WD external drives need to be spun down, sdparm --command=stop doesn't work 
any more
https://bugs.launchpad.net/bugs/117713
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 117713] Re: WD external drives need to be spun down, sdparm --command=stop doesn't work any more

2009-08-11 Thread Anakin Starkiller
...Sorry, this morning ubuntu refuses to login (no home directory found).
After some investigation, it seemed that ext4 and ext3 partition was not
mounted because their UUID was not recognized in fstab (and it did not
appear in /dev/disk/by-uuid/). So this workaround is working but there are
some serious issues


2009/8/11 Anakin Starkiller sunri...@laposte.net

 Thanks a lot ! This fix works great ;)

 2009/8/11 ssergeje sserge...@gmail.com


 Hello again. I'm happy to say that spinning down correctly works for me
 on jaunty.

 The problem is in udev rules.
 To keep it short: I needed to copy the 60-persistent-storage.rules file,
 modify ACTION!=add|change to ACTION!=add. This way sdparm commands work.

 You can visit http://ssergeje.wordpress.com/2009/08/11/unmounting-
 external-usb-drives-in-ubuntu/http://ssergeje.wordpress.com/2009/08/11/unmounting-%0Aexternal-usb-drives-in-ubuntu/for
  the details and to grab a script
 which does all the things

 --
 WD external drives need to be spun down, sdparm --command=stop doesn't
 work any more
 https://bugs.launchpad.net/bugs/117713
 You received this bug notification because you are a direct subscriber
 of the bug.




-- 
WD external drives need to be spun down, sdparm --command=stop doesn't work 
any more
https://bugs.launchpad.net/bugs/117713
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 117713] Re: WD external drives need to be spun down, sdparm --command=stop doesn't work any more

2009-08-11 Thread ssergeje
The problem with home directory happened only when /etc/udev/rules.d/60
-persistent-storage.rules was present. This is why it is removed by the
script after external HDD suspension.

Please check if you have the file on your system after you run the
script.

-- 
WD external drives need to be spun down, sdparm --command=stop doesn't work 
any more
https://bugs.launchpad.net/bugs/117713
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 117713] Re: WD external drives need to be spun down, sdparm --command=stop doesn't work any more

2009-08-11 Thread Anakin Starkiller
Actually, I am the one to be blamed...I didn't use the script, I manually
modify the .rules file
But the file is always there anyway... you mean it should be there only when
there is an external hard drives ?


2009/8/11 ssergeje sserge...@gmail.com


 The problem with home directory happened only when /etc/udev/rules.d/60
 -persistent-storage.rules was present. This is why it is removed by the
 script after external HDD suspension.

 Please check if you have the file on your system after you run the
 script.

 --
 WD external drives need to be spun down, sdparm --command=stop doesn't
 work any more
 https://bugs.launchpad.net/bugs/117713
 You received this bug notification because you are a direct subscriber
 of the bug.



-- 
WD external drives need to be spun down, sdparm --command=stop doesn't work 
any more
https://bugs.launchpad.net/bugs/117713
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 117713] Re: WD external drives need to be spun down, sdparm --command=stop doesn't work any more

2009-08-11 Thread ssergeje
To suspend the drive manually:
1 unmount
2 copy the rules file from /lib to /etc
3 edit the rules file
4 perform sdparm sync and stop
5 remove the drive
6 remove the rules file from /etc

so it should be there _only_ when you run sdparm commands

-- 
WD external drives need to be spun down, sdparm --command=stop doesn't work 
any more
https://bugs.launchpad.net/bugs/117713
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 117713] Re: WD external drives need to be spun down, sdparm --command=stop doesn't work any more

2009-08-10 Thread ssergeje
Hello again. I'm happy to say that spinning down correctly works for me
on jaunty.

The problem is in udev rules.
To keep it short: I needed to copy the 60-persistent-storage.rules file, modify 
ACTION!=add|change to ACTION!=add. This way sdparm commands work.

You can visit http://ssergeje.wordpress.com/2009/08/11/unmounting-
external-usb-drives-in-ubuntu/ for the details and to grab a script
which does all the things

-- 
WD external drives need to be spun down, sdparm --command=stop doesn't work 
any more
https://bugs.launchpad.net/bugs/117713
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 117713] Re: WD external drives need to be spun down, sdparm --command=stop doesn't work any more

2009-08-10 Thread Anakin Starkiller
Thanks a lot ! This fix works great ;)

2009/8/11 ssergeje sserge...@gmail.com


 Hello again. I'm happy to say that spinning down correctly works for me
 on jaunty.

 The problem is in udev rules.
 To keep it short: I needed to copy the 60-persistent-storage.rules file,
 modify ACTION!=add|change to ACTION!=add. This way sdparm commands work.

 You can visit http://ssergeje.wordpress.com/2009/08/11/unmounting-
 external-usb-drives-in-ubuntu/http://ssergeje.wordpress.com/2009/08/11/unmounting-%0Aexternal-usb-drives-in-ubuntu/for
  the details and to grab a script
 which does all the things

 --
 WD external drives need to be spun down, sdparm --command=stop doesn't
 work any more
 https://bugs.launchpad.net/bugs/117713
 You received this bug notification because you are a direct subscriber
 of the bug.



-- 
WD external drives need to be spun down, sdparm --command=stop doesn't work 
any more
https://bugs.launchpad.net/bugs/117713
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 117713] Re: WD external drives need to be spun down, sdparm --command=stop doesn't work any more

2009-07-29 Thread fari81
The script posted by FiNeX does not work for my WD ext. HDD either

~$ uname -a
Linux alvand 2.6.28-13-generic #45-Ubuntu SMP Tue Jun 30 19:49:51 UTC 2009 i686 
GNU/Linux

Here is the output:

~/Desktop$ sudo ./script.sh -v /dev/sdb
Found device /devices/pci:00/:00:1d.7/usb2/2-2 associated to /dev/sdb; 
USB bus id is 2-2
Syncing device /dev/sdb
Stopping device /dev/sdb
Unbinding device 2-2
Checking whether /devices/pci:00/:00:1d.7/usb2/2-2 can be suspended
Suspending /devices/pci:00/:00:1d.7/usb2/2-2 by writing to 
/sys/devices/pci:00/:00:1d.7/usb2/2-2/power/level

After this, the LED on the WD starts blinking, but no spin down or
anything. After unpluging the USB, I can hear the noise agan.

-- 
WD external drives need to be spun down, sdparm --command=stop doesn't work 
any more
https://bugs.launchpad.net/bugs/117713
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 117713] Re: WD external drives need to be spun down, sdparm --command=stop doesn't work any more

2009-07-28 Thread Anakin Starkiller
As JoeZ251 said :

sudo sdparm --command=sync /dev/sdb 
sudo sdparm --command=stop /dev/sdb 

seems to spin down the hard drives only if it is mounted.

-- 
WD external drives need to be spun down, sdparm --command=stop doesn't work 
any more
https://bugs.launchpad.net/bugs/117713
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 117713] Re: WD external drives need to be spun down, sdparm --command=stop doesn't work any more

2009-07-28 Thread Anakin Starkiller
Besides, the above script doesnt work for me :

Here is the output :

Found device /devices/pci:00/:00:1a.7/usb1/1-1 associated to /dev/sdb; 
USB bus id is 1-1
Syncing device /dev/sdb
Stopping device /dev/sdb
Unbinding device 1-1
Checking whether /devices/pci:00/:00:1a.7/usb1/1-1 can be suspended
Suspending /devices/pci:00/:00:1a.7/usb1/1-1 by writing to 
/sys/devices/pci:00/:00:1a.7/usb1/1-1/power/level

But still no spinning down...

-- 
WD external drives need to be spun down, sdparm --command=stop doesn't work 
any more
https://bugs.launchpad.net/bugs/117713
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 117713] Re: WD external drives need to be spun down, sdparm --command=stop doesn't work any more

2009-07-27 Thread JoeZ251
I have a WD Passport and I can spin it down by doing sudo sdparm -C stop
/dev/sdb but only if the drive is mounted. I don't know how safe this is
since I do not know much about the purpose of mounting / unmount drives.
One of the things I haven't done much research to understand. Which way
is safer: pull the plug while it is spinning but unmounted, or spin it
down while it is unmounted?

-- 
WD external drives need to be spun down, sdparm --command=stop doesn't work 
any more
https://bugs.launchpad.net/bugs/117713
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 117713] Re: WD external drives need to be spun down, sdparm --command=stop doesn't work any more

2009-07-23 Thread ssergeje
@FiNeX  wrote on 2009-07-19

This script also worked for me, tnx. With it the drive spins down as it
supposed to and does not start all over.

Can these commands be embedded in gnome unmount logic somehow? Eg if
drive is USB HDD, then sync, stop, suspend USB??

-- 
WD external drives need to be spun down, sdparm --command=stop doesn't work 
any more
https://bugs.launchpad.net/bugs/117713
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 117713] Re: WD external drives need to be spun down, sdparm --command=stop doesn't work any more

2009-07-19 Thread FiNeX
The same problem exists with My Book Studio Edition.

-- 
WD external drives need to be spun down, sdparm --command=stop doesn't work 
any more
https://bugs.launchpad.net/bugs/117713
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 117713] Re: WD external drives need to be spun down, sdparm --command=stop doesn't work any more

2009-07-19 Thread FiNeX
Sorry, only the first time it didn't work. Now it works fine.

Unless on ArchLinux I've to use the script from
http://elliotli.blogspot.com/2009/01/safely-remove-usb-hard-drive-in-linux.html

So, Ubuntu 9.04 + My Book Studio Edition works well: when the PC powers
on, the WD is started, when the PC is powered off, the WD is correctly
powered off.

-- 
WD external drives need to be spun down, sdparm --command=stop doesn't work 
any more
https://bugs.launchpad.net/bugs/117713
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 117713] Re: WD external drives need to be spun down, sdparm --command=stop doesn't work any more

2009-07-13 Thread CryNGRoad
I have the same problem with my WD My Book Home Edition 1TB (using Firewire 
connection) on Jaunty.
sdparm --command=stop /dev/sdf just causes the drive light to flicker but it 
continues spinning.

The same thing happens when unmounting from the desktop except that
sometimes, 10 minutes or so after unmounting, the drive does spin down
on its own. But othertimes, the drive just stays spinning.

Another issue (don't know if it's related) is that if the system goes
into Suspend mode with the drive on, it hangs with a black screen on
resume.

-- 
WD external drives need to be spun down, sdparm --command=stop doesn't work 
any more
https://bugs.launchpad.net/bugs/117713
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 117713] Re: WD external drives need to be spun down, sdparm --command=stop doesn't work any more

2009-07-08 Thread Peter
I have had the same problem which I solved in earlier versions of Kubuntu using 
the following script
#!/bin/bash
# exec /dev/null 21
exec 21
pumount $1 || umount $1
sdparm --command=sync $1
sdparm --command=stop $1

This worked fine until I moved to Jaunty and now it no longer works - sdparm 
seems to do nothing although there is a small 'blip' when the stop command is 
executed so maybe, as others mentioned, the drive does stop and then restarts 
again.
I am using a WD drive (maybe as passport, I bought it some time ago and it just 
has WD printed on it). There are a couple of ext3 partitions only on it.
This has been a long standing issue and it is worrying that it may result in 
hardware damage and/or data loss but it is only set at a low priority.
Please raise the priority of this issue
Thanks

-- 
WD external drives need to be spun down, sdparm --command=stop doesn't work 
any more
https://bugs.launchpad.net/bugs/117713
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 117713] Re: WD external drives need to be spun down, sdparm --command=stop doesn't work any more

2009-06-27 Thread svd
Any news when spin down problem will be fixed? This keeps me stuck with 
Intrepid.
Why priority of this bug is low? WEAR of inner moving parts of external drive 
is in place if unplugging it without spinning down, no?

-- 
WD external drives need to be spun down, sdparm --command=stop doesn't work 
any more
https://bugs.launchpad.net/bugs/117713
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 117713] Re: WD external drives need to be spun down, sdparm --command=stop doesn't work any more

2009-04-29 Thread nursoda
I think this bug needs to be split into two, one that focusses on the
usability issue to have some eject mechanism to properly spin down
external drives, and one that focusses on the udev/sdparm no longer work
issue.

** Summary changed:

- not proper dismounting for WD passport harddrive (making noise when unplug)
+ WD external drives need to be spun down, sdparm --command=stop doesn't work 
any more

-- 
WD external drives need to be spun down, sdparm --command=stop doesn't work 
any more
https://bugs.launchpad.net/bugs/117713
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs