[Bug 444818] Re: External disk won't spindown

2010-03-18 Thread Antti Salminen
Oh well, spoke a little too soon - http://bugs.debian.org/cgi-
bin/bugreport.cgi?bug=522859 seems to indicate *some* scsi commands do
indeed, or have at some point required read-write. In any case that does
not seem to be the case for sdparm -C stop.

** Bug watch added: Debian Bug tracker #522859
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=522859

-- 
External disk won't spindown
https://bugs.launchpad.net/bugs/444818
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 444818] Re: External disk won't spindown

2010-03-18 Thread Antti Salminen
I did some further investigation. This is *exactly* the same issue as
with hdparm. sg_start and sdparm both open the device file in read-write
(O_RDWR) mode even though they only need to do it on read-only in order
to do ioctls.  Ubuntu's udev configuration watches the device files for
being closed by a program that had them in open in O_RDWR mode and runs
a helper which inspects the disk to add more information about the for
udev.  This triggers the disk to spin up right after it had been sent
the command to spin down.

The solution is to change sg3-utils & sdparm to open on read only as
they should have done to begin with. I tried it by compiling a version
of sg_start with that modification and it worked as expected. It's hard
to believe that this wouldn't have been done by any distribution after
all this time.

-- 
External disk won't spindown
https://bugs.launchpad.net/bugs/444818
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 444818] Re: External disk won't spindown

2010-03-18 Thread Antti Salminen
This doesn't occur only with sdparm but also sg_start from sg3-utils. My
LaCie external HD has the same issue both on a Karmic desktop and a
Jaunty server.

Problem seems to be related to udev as the copying of a modified udev
rules file to /etc/udev/rules.d temporarily while running the commands
as suggested in #117713 seems to work although seems a very unreliable
solution. https://bugs.launchpad.net/ubuntu/+source/hdparm/+bug/388506
also seems like a somewhat similar issue that was affecting hdparm.

-- 
External disk won't spindown
https://bugs.launchpad.net/bugs/444818
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 238261] Re: gedit crash on save as

2008-07-06 Thread Antti Salminen
I had this exact problem, on amd64 and right after doing an upgrade to
Hardy from the previous release. Removing .gtk-bookmarks fixed it, I'll
attach my .gtk-bookmarks here as well. It looks quite different from the
one already here...

** Attachment added: "gtkbookmarks"
   http://launchpadlibrarian.net/15859715/gtkbookmarks

-- 
gedit crash on save as
https://bugs.launchpad.net/bugs/238261
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 207598] Re: GTK2 Open File Dialog causes crash

2008-06-16 Thread Antti Salminen
Reopening, hopefully my additions will complete the report...

** Changed in: gedit (Ubuntu)
   Status: Invalid => Incomplete

-- 
GTK2 Open File Dialog causes crash
https://bugs.launchpad.net/bugs/207598
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 207598] Re: GTK2 Open File Dialog causes crash

2008-06-16 Thread Antti Salminen
I've got the same issue after a fresh upgrade to Hardy. I've tried to
produce a valgrind log with the symbols you need, please let me know if
it helps. It's from Rhythmbox, trying to do "Add folder" triggers the
crash.

** Attachment added: "Valgrind log from Rhythmbox"
   http://launchpadlibrarian.net/15358822/valgrind.log

-- 
GTK2 Open File Dialog causes crash
https://bugs.launchpad.net/bugs/207598
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