[Bug 1319219] [NEW] db5.3-util has incorrect man pages filenames

2014-05-13 Thread Alexey Borzenkov
Public bug reported:

db5.3-util currently has man pages installed as db5.2_name instead of
db5.3_name. This breaks man page symlinks in db-util and is very
confusing: e.g. neither man db_stat nor man db5.3_stat work, and you
need to run man db5.2_stat. Looks like man pages haven't been updated
along with a switch to upstream 5.3.

** Affects: db5.3 (Ubuntu)
 Importance: Undecided
 Status: New

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

Title:
  db5.3-util has incorrect man pages filenames

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/db5.3/+bug/1319219/+subscriptions

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


[Bug 1300722] Re: hud-service is eating up 100% of one of my CPUs in a poll loop

2014-05-04 Thread Alexey Borzenkov
I'm not sure this issue is fixed. I'm running
hud_13.10.1+14.04.20140402-0ubuntu1 (based on file ctime being April 7
and me running a kernel built on April 10) and I just got poll loop
consuming 100% cpu in hud-service. Unfortunately I didn't debug this
very much (my laptop was getting way too hot), and simply restarted hud-
service. Logs in hud.log show only ~50 messages like:

Hit DBusMenu safety valve for menu at :1.135 /MenuBar/1

I would expect there would be a flood of these if this code path was
hitting in a loop?

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

Title:
  hud-service is eating up 100% of one of my CPUs in a poll loop

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

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


[Bug 1300722] Re: hud-service is eating up 100% of one of my CPUs in a poll loop

2014-05-04 Thread Alexey Borzenkov
Installed d-feet and found that :1.135 was kate, if that's important.
Given previous screenshot showing gnome-terminal I doubt this is
application specific.

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

Title:
  hud-service is eating up 100% of one of my CPUs in a poll loop

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

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


[Bug 1199571] Re: compiz crashed with SIGSEGV in af_latin_hints_compute_edges()

2014-04-30 Thread Alexey Borzenkov
Steve, the latest duplicate shows 2.5.2-1ubuntu2:

https://bugs.launchpad.net/bugs/1304763

Is it possible to get some input from cairo maintainers?

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

Title:
  compiz crashed with SIGSEGV in af_latin_hints_compute_edges()

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

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


[Bug 1289600] Re: Fix for crashes due to ubuntu-specific accessibility patch

2014-04-28 Thread Alexey Borzenkov
Quantal under VMWare Player, 1280x800:

-0ubuntu3.2 crashes
-0ubuntu3.4 doesn't crash

** Tags added: verification-done-quantal

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

Title:
  Fix for crashes due to ubuntu-specific accessibility patch

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qt4-x11/+bug/1289600/+subscriptions

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


[Bug 1289600] Re: Fix for crashes due to ubuntu-specific accessibility patch

2014-04-28 Thread Alexey Borzenkov
Tried again, but still couldn't reproduce plasma crash on precise.

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

Title:
  Fix for crashes due to ubuntu-specific accessibility patch

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qt4-x11/+bug/1289600/+subscriptions

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


[Bug 1289600] Re: Fix for crashes due to ubuntu-specific accessibility patch

2014-04-27 Thread Alexey Borzenkov
For saucy under VirtualBox with resolution 1280x960:

4:4.8.4+dfsg-0ubuntu18.1 crashes
4:4.8.4+dfsg-0ubuntu18.3 doesn't crash


** Tags added: virification-done-saucy

** Tags removed: virification-done-saucy
** Tags added: verification-done-saucy

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

Title:
  Fix for crashes due to ubuntu-specific accessibility patch

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qt4-x11/+bug/1289600/+subscriptions

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


[Bug 1289600] Re: Fix for crashes due to ubuntu-specific accessibility patch

2014-04-27 Thread Alexey Borzenkov
I just read quantal release notes and it seems support period is 18
months, so isn't support over for quantal? It also seems odd that update
package is for Quantal and not for Raring...

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

Title:
  Fix for crashes due to ubuntu-specific accessibility patch

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qt4-x11/+bug/1289600/+subscriptions

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


[Bug 1199571] Re: compiz crashed with SIGSEGV in af_latin_hints_compute_edges()

2014-04-13 Thread Alexey Borzenkov
I looked at my coredump on trusty (it crashed for me twice already!)
with gdb and I see evidence that this crash might be due to
multithreading issues. The reason is that when inspecting memory at %rdx
(edge) and I see that a pointer at %rdx+0x48 (edge-first) doesn't match
with a pointer in %rcx (edge-first taken at the start of the loop).
Besides, freetype code can never produce %rax == 0 at the crash
location, this would only happen if af_latin_hints_compute_edges is
called concurrently on the same hints structure, which causes pointers
to change for segments that are processed in another thread. Best of
luck, ThreadStackTrace.txt shows exactly that, two threads are in
af_latin_hints_compute_edges with same parameters!

Now the real question is which application or library is actually
violating thread-safety here...

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

Title:
  compiz crashed with SIGSEGV in af_latin_hints_compute_edges()

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

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


[Bug 1199571] Re: compiz crashed with SIGSEGV in af_latin_hints_compute_edges()

2014-04-13 Thread Alexey Borzenkov
I looked at the implementation of cairo-ft-font.c and it seems that
there are huge multi-threading violations in cairo. The reason is that
FreeType API documentation clearly states:

In multi-threaded applications, make sure that the same FT_Library
object or any of its children doesn't get accessed in parallel.

Cairo initializes FT_Library for its font map and there's a lock for
that, however it's only used for font map manipulations, the actual FT_
library calls are completely unprotected with that lock, although they
should be! What adds to the injury is that cairo-ft-font.c even has this
comment on one of its functions:

You must be careful when using this function in a library or in a
threaded application, because freetype's design makes it unsafe to
call freetype functions simultaneously from multiple threads, (even
if using distinct FT_Face objects)

Too bad they don't follow their own advice, and no wonder compiz is
crashing like that. Can somebody contact upstream about this issue and
make them aware of it?

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

Title:
  compiz crashed with SIGSEGV in af_latin_hints_compute_edges()

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

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


[Bug 1199571] Re: compiz crashed with SIGSEGV in af_latin_hints_compute_edges()

2014-04-13 Thread Alexey Borzenkov
** Also affects: cairo
   Importance: Undecided
   Status: New

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

Title:
  compiz crashed with SIGSEGV in af_latin_hints_compute_edges()

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

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


[Bug 1199571] Re: compiz crashed with SIGSEGV in af_latin_hints_compute_edges()

2014-04-13 Thread Alexey Borzenkov
** Project changed: cairo = cairo (Ubuntu)

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

Title:
  compiz crashed with SIGSEGV in af_latin_hints_compute_edges()

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

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


[Bug 1289600] Re: Fix for crashes due to ubuntu-specific accessibility patch

2014-03-22 Thread Alexey Borzenkov
Just installed and tested precise. For whatever reason I couldn't
reproduce plasma-desktop crash with neither 4:4.8.1-0ubuntu4.6, nor
4:4.8.1-0ubuntu4.7, no matter how many times I switch between Activities
and Add widgets. Maybe there's something different about 12.04 that
makes it not crash like it was for saucy and trusty. Not sure whether it
means verified or not...

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

Title:
  Fix for crashes due to ubuntu-specific accessibility patch

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qt4-x11/+bug/1289600/+subscriptions

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


[Bug 1289600] Re: Fix for crashes due to ubuntu-specific accessibility patch

2014-03-22 Thread Alexey Borzenkov
Just tested quantal:

4:4.8.3+dfsg-0ubuntu3.2 crashes
4:4.8.3+dfsg-0ubuntu3.3 doesn't crash

** Tags added: verification-done-quantal

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

Title:
  Fix for crashes due to ubuntu-specific accessibility patch

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qt4-x11/+bug/1289600/+subscriptions

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


[Bug 1289600] Re: Fix for crashes due to ubuntu-specific accessibility patch

2014-03-19 Thread Alexey Borzenkov
Scott, I have confirmed that the crash was fixed when it was in trusty-
proposed (sorry for not saying so back then). I also just checked with
my saucy vm, plasma with 4:4.8.4+dfsg-0ubuntu18.1 reconfirmed to crash
and (hurray!) plasma with 4:4.8.4+dfsg-0ubuntu18.2 confirmed NOT to
crash. Hope this hits saucy-updates soon. :)

I don't have any good vm with precise right now, so can't test
4:4.8.1-0ubuntu4.7 yet.

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

Title:
  Fix for crashes due to ubuntu-specific accessibility patch

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qt4-x11/+bug/1289600/+subscriptions

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


[Bug 1289600] Re: Fix for crashes due to ubuntu-specific accessibility patch

2014-03-08 Thread Alexey Borzenkov
For reference, this is a fresh stack trace from a crash on Ubuntu 14.04.

** Attachment added: plasma-desktop-20140308-120102.kcrash.txt
   
https://bugs.launchpad.net/ubuntu/+source/qt4-x11/+bug/1289600/+attachment/4013131/+files/plasma-desktop-20140308-120102.kcrash.txt

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

Title:
  Fix for crashes due to ubuntu-specific accessibility patch

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qt4-x11/+bug/1289600/+subscriptions

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


[Bug 1289600] [NEW] Fix for crashes due to ubuntu-specific accessibility patch

2014-03-07 Thread Alexey Borzenkov
Public bug reported:

I wrote about this on kubuntu-devel and kubuntu-user, but maybe it's
better for it to be a proper bug report:

https://lists.ubuntu.com/archives/kubuntu-
devel/2014-February/007954.html

In short plasma can be easily crashed by clicking on Show activities
and then Add widgets, although reproducibility seems to depend on
screen resolution. I traced this to an ubuntu-specific accessibility
patch to qt4-x11, which incorrectly places
QDeclarativeAccessibilityUpdater inside QDeclarativeEnginePrivate,
making it possible for engine to be destroyed before QDeclarativeItem
that are subscribed to it, causing crashes on destruction.

Although this is very reproducible in plasma the nature of the bug means
any application that uses QtDeclarative may crash like that, e.g.
searching shows many reports for crashes in settings with similar stack
traces with QDeclarativeItem destructor.

Attached is the patch for qt 4.8.5 that should fix this issue (should be
applied after kubuntu_97_a11y_qt_and_qml_backport.diff). Since this bug
is present in Ubuntu 14.04, which is LTS and would be released soon, is
it possible for the fix to make it into Ubuntu 14.04?

** Affects: qt4-x11 (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: patch

** Patch added: kubuntu_98_a11y_crash_fix.diff
   
https://bugs.launchpad.net/bugs/1289600/+attachment/4012632/+files/kubuntu_98_a11y_crash_fix.diff

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

Title:
  Fix for crashes due to ubuntu-specific accessibility patch

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qt4-x11/+bug/1289600/+subscriptions

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


[Bug 1160401] Re: virtualbox-guest-x11 uninstallable on precise with LTS Enablement Stacks

2013-08-31 Thread Alexey Borzenkov
This bug now affects Ubuntu 12.04.3. On a freshly installed system
virtualbox-guest-x11 cannot be installed:

Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 virtualbox-guest-x11 : Depends: xorg-video-abi-11
Depends: xserver-xorg-core (= 2:1.10.99.901)
E: Unable to correct problems, you have held broken packages.

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

Title:
  virtualbox-guest-x11 uninstallable on precise with LTS Enablement
  Stacks

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

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


[Bug 1218892] Re: virtualbox-dkms 4.1.12-dfsg-2ubuntu0.3: virtualbox kernel module failed to build

2013-08-31 Thread Alexey Borzenkov
Ooops, just realized that you are talking about virtualbox-dkms, not
virtualbox-guest-dkms...

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

Title:
  virtualbox-dkms 4.1.12-dfsg-2ubuntu0.3: virtualbox kernel module
  failed to build

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

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


[Bug 1218892] Re: virtualbox-dkms 4.1.12-dfsg-2ubuntu0.3: virtualbox kernel module failed to build

2013-08-31 Thread Alexey Borzenkov
In my case the error is a little different, probably because the module
build order happens to be different:

DKMS make.log for virtualbox-guest-4.1.12 for kernel 3.8.0-29-generic (x86_64)
Sun Sep  1 00:28:48 MSK 2013
make: Entering directory `/usr/src/linux-headers-3.8.0-29-generic'
  LD  /var/lib/dkms/virtualbox-guest/4.1.12/build/built-in.o
  LD  /var/lib/dkms/virtualbox-guest/4.1.12/build/vboxguest/built-in.o
  CC [M]  
/var/lib/dkms/virtualbox-guest/4.1.12/build/vboxguest/VBoxGuest-linux.o
/var/lib/dkms/virtualbox-guest/4.1.12/build/vboxguest/VBoxGuest-linux.c:206:49: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before 
‘g_VBoxGuestPciId’
/var/lib/dkms/virtualbox-guest/4.1.12/build/vboxguest/VBoxGuest-linux.c:216:1: 
error: ‘__mod_pci_device_table’ aliased to undefined symbol ‘g_VBoxGuestPciId’
make[2]: *** 
[/var/lib/dkms/virtualbox-guest/4.1.12/build/vboxguest/VBoxGuest-linux.o] Error 
1
make[1]: *** [/var/lib/dkms/virtualbox-guest/4.1.12/build/vboxguest] Error 2
make: *** [_module_/var/lib/dkms/virtualbox-guest/4.1.12/build] Error 2
make: Leaving directory `/usr/src/linux-headers-3.8.0-29-generic'

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

Title:
  virtualbox-dkms 4.1.12-dfsg-2ubuntu0.3: virtualbox kernel module
  failed to build

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

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

[Bug 1219305] [NEW] virtualbox-guest-dkms 4.1.12-dfsg-2ubuntu0.3 fails to build on Ubuntu 12.04.3

2013-08-31 Thread Alexey Borzenkov
Public bug reported:

When installing new Ubuntu 12.04.3 or upgrading to raring kernel
virtualbox-guest-dkms fails to build:

DKMS make.log for virtualbox-guest-4.1.12 for kernel 3.8.0-29-generic (x86_64)
Sun Sep  1 00:28:48 MSK 2013
make: Entering directory `/usr/src/linux-headers-3.8.0-29-generic'
  LD  /var/lib/dkms/virtualbox-guest/4.1.12/build/built-in.o
  LD  /var/lib/dkms/virtualbox-guest/4.1.12/build/vboxguest/built-in.o
  CC [M]  
/var/lib/dkms/virtualbox-guest/4.1.12/build/vboxguest/VBoxGuest-linux.o
/var/lib/dkms/virtualbox-guest/4.1.12/build/vboxguest/VBoxGuest-linux.c:206:49: 
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before 
‘g_VBoxGuestPciId’
/var/lib/dkms/virtualbox-guest/4.1.12/build/vboxguest/VBoxGuest-linux.c:216:1: 
error: ‘__mod_pci_device_table’ aliased to undefined symbol ‘g_VBoxGuestPciId’
make[2]: *** 
[/var/lib/dkms/virtualbox-guest/4.1.12/build/vboxguest/VBoxGuest-linux.o] Error 
1
make[1]: *** [/var/lib/dkms/virtualbox-guest/4.1.12/build/vboxguest] Error 2
make: *** [_module_/var/lib/dkms/virtualbox-guest/4.1.12/build] Error 2
make: Leaving directory `/usr/src/linux-headers-3.8.0-29-generic'

** Affects: virtualbox (Ubuntu)
 Importance: Undecided
 Status: New

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

Title:
  virtualbox-guest-dkms 4.1.12-dfsg-2ubuntu0.3 fails to build on Ubuntu
  12.04.3

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

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

[Bug 1194940] Re: open-vm-dkms 2013.04.16-1098359-0ubuntu1: open-vm-tools kernel module failed to build [control.c:211:4: error: implicit declaration of function ‘create_proc_entry’]

2013-08-27 Thread Alexey Borzenkov
For control.c it could be an easy fix, instead of create_proc_entry()
it's proc_create() now and there shouldn't be an assignment to proc_fops
(it's now a parameter to proc_create). An example of a compatibility
layer is here:

http://gerrit.openafs.org/#patch,sidebyside,9948,1,src/afs/LINUX/osi_compat.h

However, I just installed Saucy and it's Linux 3.11 now, with another
problem in vmhgfs/dir.c, because file_operations.readdir is now
file_operations.iterate with a serious change to the interface. :(

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to open-vm-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1194940

Title:
  open-vm-dkms 2013.04.16-1098359-0ubuntu1: open-vm-tools kernel module
  failed to build [control.c:211:4: error: implicit declaration of
  function ‘create_proc_entry’]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/open-vm-tools/+bug/1194940/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1194940] Re: open-vm-dkms 2013.04.16-1098359-0ubuntu1: open-vm-tools kernel module failed to build [control.c:211:4: error: implicit declaration of function ‘create_proc_entry’]

2013-08-27 Thread Alexey Borzenkov
Only when I tried fixing it I realized how much stuff is failing:
dentry_operations.d_revalidate since 3.6, getname/putname since 3.7,
this would require more work than I anticipated... :(

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to open-vm-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1194940

Title:
  open-vm-dkms 2013.04.16-1098359-0ubuntu1: open-vm-tools kernel module
  failed to build [control.c:211:4: error: implicit declaration of
  function ‘create_proc_entry’]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/open-vm-tools/+bug/1194940/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1194940] Re: open-vm-dkms 2013.04.16-1098359-0ubuntu1: open-vm-tools kernel module failed to build [control.c:211:4: error: implicit declaration of function ‘create_proc_entry’]

2013-08-27 Thread Alexey Borzenkov
For control.c it could be an easy fix, instead of create_proc_entry()
it's proc_create() now and there shouldn't be an assignment to proc_fops
(it's now a parameter to proc_create). An example of a compatibility
layer is here:

http://gerrit.openafs.org/#patch,sidebyside,9948,1,src/afs/LINUX/osi_compat.h

However, I just installed Saucy and it's Linux 3.11 now, with another
problem in vmhgfs/dir.c, because file_operations.readdir is now
file_operations.iterate with a serious change to the interface. :(

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

Title:
  open-vm-dkms 2013.04.16-1098359-0ubuntu1: open-vm-tools kernel module
  failed to build [control.c:211:4: error: implicit declaration of
  function ‘create_proc_entry’]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/open-vm-tools/+bug/1194940/+subscriptions

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

[Bug 1194940] Re: open-vm-dkms 2013.04.16-1098359-0ubuntu1: open-vm-tools kernel module failed to build [control.c:211:4: error: implicit declaration of function ‘create_proc_entry’]

2013-08-27 Thread Alexey Borzenkov
Only when I tried fixing it I realized how much stuff is failing:
dentry_operations.d_revalidate since 3.6, getname/putname since 3.7,
this would require more work than I anticipated... :(

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

Title:
  open-vm-dkms 2013.04.16-1098359-0ubuntu1: open-vm-tools kernel module
  failed to build [control.c:211:4: error: implicit declaration of
  function ‘create_proc_entry’]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/open-vm-tools/+bug/1194940/+subscriptions

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

[Bug 969154] Re: Unable to set 1920x1080 resolution in Ubuntu 12.04 Beta2 as a VMWare Workstation 8 guest

2013-08-26 Thread Alexey Borzenkov
I've been looking into this for a couple of evenings now, patching
xserver-xorg-video-vmware to find out where and why 1920x1080 mode is
disappearning. Turns out I've been looking in the wrong place, since
1920x1080 is simply never there. Digging where these modes are really
coming from I found a builtin mode list is in the kernel, see:

http://lxr.free-electrons.com/source/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c

It's interesting that even latest Linux 3.10 doesn't have 1920x1080 in
there! Could someone push for this extremely common mode to be included
in the kernel?

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

Title:
  Unable to set 1920x1080 resolution in Ubuntu 12.04 Beta2 as a VMWare
  Workstation 8 guest

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/969154/+subscriptions

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


[Bug 969154] Re: Unable to set 1920x1080 resolution in Ubuntu 12.04 Beta2 as a VMWare Workstation 8 guest

2013-08-26 Thread Alexey Borzenkov
Hmm, or maybe it's not entirely it. I tried downloading current kernel
source (apt-get source linux-image-`uname -r`), patching the desired
mode in:

diff -druN vmwgfx-orig/vmwgfx_kms.c vmwgfx-patched/vmwgfx_kms.c
--- vmwgfx-orig/vmwgfx_kms.c2013-08-27 00:54:42.0 +0400
+++ vmwgfx-patched/vmwgfx_kms.c 2013-08-27 00:29:38.0 +0400
@@ -1774,6 +1774,10 @@
{ DRM_MODE(1856x1392, DRM_MODE_TYPE_DRIVER, 218250, 1856, 1952,
   2176, 2528, 0, 1392, 1393, 1396, 1439, 0,
   DRM_MODE_FLAG_NHSYNC | DRM_MODE_FLAG_PVSYNC) },
+   /* 1920x1080@60Hz */
+   { DRM_MODE(1920x1080, DRM_MODE_TYPE_DRIVER, 173000, 1920, 2048,
+  2248, 2576, 0, 1080, 1083, 1088, 1120, 0,
+  DRM_MODE_FLAG_NHSYNC | DRM_MODE_FLAG_PVSYNC) },
/* 1920x1200@60Hz */
{ DRM_MODE(1920x1200, DRM_MODE_TYPE_DRIVER, 193250, 1920, 2056,
   2256, 2592, 0, 1200, 1203, 1209, 1245, 0,

Then building and installing it:

$ make -C /lib/modules/`uname -r`/build INSTALL_MOD_DIR=updates
$ sudo make -C /lib/modules/`uname -r`/build INSTALL_MOD_DIR=updates 
modules_install

After reboot I can verify that my patched module is loaded:

$ modinfo vmwgfx | grep filename
filename:   /lib/modules/3.2.0-52-generic/updates/vmwgfx.ko

However xrandr still doesn't show 1920x1080 in the list of modes, and I
don't see it probed in Xorg.0.log. Weird... :-/

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

Title:
  Unable to set 1920x1080 resolution in Ubuntu 12.04 Beta2 as a VMWare
  Workstation 8 guest

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/969154/+subscriptions

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


[Bug 969154] Re: Unable to set 1920x1080 resolution in Ubuntu 12.04 Beta2 as a VMWare Workstation 8 guest

2013-08-26 Thread Alexey Borzenkov
Ah, no, it actually works!! :) I just needed to do update-initramfs,
since it's probably loaded earlier than I thought at first. :)

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

Title:
  Unable to set 1920x1080 resolution in Ubuntu 12.04 Beta2 as a VMWare
  Workstation 8 guest

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/969154/+subscriptions

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


[Bug 244716] Re: mc lacks build-dep on some x11 libraries (which breaks Ctrl+Enter)

2009-01-27 Thread Alexey Borzenkov
Just in case: I narrowed it down to just libx11-dev. Looking at the mc
source I found that mc connects to x11 only when it can (and stops doing
that if it's not available, or even if there are no x11 libraries out
there). I think it must be safe to build it with this flag, and mc
should still be usable on the server too.

-- 
mc lacks build-dep on some x11 libraries (which breaks Ctrl+Enter)
https://bugs.launchpad.net/bugs/244716
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 59695] Re: High frequency of load/unload cycles on some hard disks may shorten lifetime

2009-01-09 Thread Alexey Borzenkov
 However, after plugging in AC again it keeps increasing.

Laptop mode is enabled only on battery by default, you need to
explicitly enable it in /etc/laptop-mode/laptop-mode.conf for both
battery and ac, if you want that.

-- 
High frequency of load/unload cycles on some hard disks may shorten lifetime
https://bugs.launchpad.net/bugs/59695
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 297543] Re: Update Package: nVidia 180.11

2009-01-05 Thread Alexey Borzenkov
I just noticed that with new 180.18 drivers the generated modaliases
file is bogus. This is because there are two very short consecutive
objects now (before the objects with pciids) and nvidia_supported thinks
it found it right. Attached is a debdiff that fixes the issue for now
(by ensuring that there are necessary zeroes, i.e. that numbers are at
least int32).

Builds for jaunty and intrepid should appear in my ppa
(https://launchpad.net/~snaury/+archive) soon.

** Attachment added: nvidia-180-modaliases-fix.patch
   http://launchpadlibrarian.net/20917045/nvidia-180-modaliases-fix.patch

-- 
Update Package: nVidia 180.11
https://bugs.launchpad.net/bugs/297543
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 59695] Re: High frequency of load/unload cycles on some hard disks may shorten lifetime

2008-12-28 Thread Alexey Borzenkov
Hanno, I don't really remember, but I think back when I was
investigating problems with my Samsung drive I found that iotop didn't
show all the interesting values and was patching it to be more precise.
Also, please be aware, that querying smart will always unpark drive
heads, because smart values (I think) have to be read from special
sectors on your drive. The same goes for ANY hard drive temperature
monitoring (because they ALL have to query smart to get drive
temperature), so remove hddtemp if you have it installed.

If you want your drive to stay parked longer try enabling laptop-mode
(look at /etc/laptop-mode/laptop-mode.conf for details and don't forget
to set ENABLE_LAPTOP_MODE=true in /etc/default/acpi-support). What you
must be interested in is *_MAX_LOST_WORK_SECONDS, but it will work on AC
only when you have ENABLE_LAPTOP_MODE_ON_AC=1. You might, just like me,
find it a lot better for your drive to stay spinned down than to have it
constantly working with disabled APM.

-- 
High frequency of load/unload cycles on some hard disks may shorten lifetime
https://bugs.launchpad.net/bugs/59695
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 250935] Re: [intrepid] laptop-mode-tools needs to change its default settings to match acpi-support and add hooks for pm-utils

2008-08-18 Thread Alexey Borzenkov
Tormod, ceg, I thought one step at a time is always much easier to
accept, that's why I chose to migrate old settings first. I feared
otherwise people would end up arguing what defaults are better/worse and
this would get nowhere. Now there are just two steps, indeed. Figuring
out best default values (maybe previous values were indeed better? who
knows?), then dumping need for ENABLE_LAPTOP_MODE=true altogether:
laptop-mode-tools can behave on its own, thank you. :) That's what I see
in Debian sid right now, if my eyes are not deceiving me. If there are
any concerns about system freezes or any issues like that, you could try
setting ENABLE_LAPTOP_MODE_ON_BATTERY=0 by default. This way laptop_mode
won't set /proc/sys/vm/laptop_mode to possibly troubling values, but
would still do a lot of useful things (i.e. all those NOLM settings).

-- 
[intrepid] laptop-mode-tools needs to change its default settings to match 
acpi-support and add hooks for pm-utils
https://bugs.launchpad.net/bugs/250935
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 59695] Re: High frequency of load/unload cycles on some hard disks may shorten lifetime

2008-08-16 Thread Alexey Borzenkov
No, because laptop-mode is still disabled by default. If you experience
these problems (big note: this is currently for intrepid only!) you can
try the following:

Edit /etc/default/acpi-support: ENABLE_LAPTOP_MODE=true
Edit /etc/laptop-mode/laptop-mode.conf: BATT_HD_POWERMGMT=number and 
NOLM_AC_HD_POWERMGMT=number (if you still experience problems with now default 
1 and 254)

The bugs that were finally resolved just make such changes very easy to
do for everyone (a very simple config file), that they actually work and
ensure these changes are reapplied after suspend/resume hibernate/thaw.

-- 
High frequency of load/unload cycles on some hard disks may shorten lifetime
https://bugs.launchpad.net/bugs/59695
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 250935] Re: [intrepid] laptop-mode-tools needs to change its default settings to match acpi-support and add hooks for pm-utils

2008-08-09 Thread Alexey Borzenkov
ceg, that's why this bug was marked as intrepid. Intrepid doesn't have
none of that in pm-utils.

-- 
[intrepid] laptop-mode-tools needs to change its default settings to match 
acpi-support and add hooks for pm-utils
https://bugs.launchpad.net/bugs/250935
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 250935] Re: [intrepid] laptop-mode-tools needs to change its default settings to match acpi-support and add hooks for pm-utils

2008-08-05 Thread Alexey Borzenkov
tricky1, what does this have to do with my bug report?

Note, that the values you see in my debdiff are the ones currently
specified in /etc/default/acpi-support and /etc/acpi/power.sh, nothing
more. /etc/default/acpi-support currently specifies SPINDOWN_TIME=12,
but 12 is not seconds, it's a magical value that translates to 60
seconds (because in that lower range it's a number of 5 seconds
intervals). It is not my job to argue correctness of default values, all
I want is to move hard-coded values from acpi-support to laptop-mode-
tools where they can be clearly and easily tweaked by users (i.e. 60
seconds is much more elaborate than magical number 12).

I wonder if this would be triaged and/or considered by developers before
Intrepid freeze...

-- 
[intrepid] laptop-mode-tools needs to change its default settings to match 
acpi-support and add hooks for pm-utils
https://bugs.launchpad.net/bugs/250935
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 250938] Re: [intrepid] acpi-support should let laptop-mode-tools run properly

2008-08-05 Thread Alexey Borzenkov
If laptop-mode is not enabled (by default) then nothing changes.
Currently, without laptop-mode enabled there is not spindown time as
well.

-- 
[intrepid] acpi-support should let laptop-mode-tools run properly
https://bugs.launchpad.net/bugs/250938
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 250935] Re: [intrepid] laptop-mode-tools needs to change its default settings to match acpi-support and add hooks for pm-utils

2008-08-05 Thread Alexey Borzenkov
1. Well, if it's true it should be very easy to change: just 
s[etc/pm/][usr/lib/pm-utils/] in the debdiff.
2. Unfortunately, I have no clue if Debian currently uses acpi-support/pm-utils 
or anything else. At the very least they don't have hacks in /etc/acpi/power.sh 
like Ubuntu has, so they must be doing something differently.
3. At first I was thinking about changing pm-utils, but then I realized that 
pm-utils shouldn't control laptop-mode-tools either. So I decided that the 
correct place for hooks is laptop-mode-tools itself.
4. As far as I reviewed laptop_mode script it should. It should actually do it 
without arguments as well, but I thought it is better to pass auto anyway. It's 
just important not to pass start/stop, comment Old options. We always do 
auto for any option now is misleading: check for start/stop is done after 
auto-detection.

Additionally, compared to Debian, Ubuntu's laptop_mode has state check
commented out, which means we don't have problems like previous state
is incorrect after hibernate/thaw and settings are not reapplied. Just
calling laptop_mode auto at the right moments seems to be sufficient in
Ubuntu (as long as /etc/init.d/laptop-mode is in runlevels).

-- 
[intrepid] laptop-mode-tools needs to change its default settings to match 
acpi-support and add hooks for pm-utils
https://bugs.launchpad.net/bugs/250935
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 250938] Re: [intrepid] acpi-support should let laptop-mode-tools run properly

2008-08-05 Thread Alexey Borzenkov
It's interesting to know that current acpi-support in Debian unstable
(1.109-5) has this comment in /etc/default/acpi-support:

# Note: to enable laptop mode (to spin down your hard drive for longer
# periods of time), install the laptop-mode-tools package and configure
# it in /etc/laptop-mode/laptop-mode.conf. 
#
# (Note to upgraders: earlier versions of the acpi-support package contained 
# an option to enable/disable laptop mode. This option has never actually
# worked, and for that reason it has been removed.)

-- 
[intrepid] acpi-support should let laptop-mode-tools run properly
https://bugs.launchpad.net/bugs/250938
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 59695] Re: High frequency of load/unload cycles on some hard disks may shorten lifetime

2008-08-03 Thread Alexey Borzenkov
paulo_alex, no, that's not the solution (all it does is lets other
packages do their jobs). For first steps to solution see bug 250935 and
bug 250938.

-- 
High frequency of load/unload cycles on some hard disks may shorten lifetime
https://bugs.launchpad.net/bugs/59695
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 243790] Re: [mc 4.6.2] mc-utf8.patch disables visible whitespace feature

2008-07-22 Thread Alexey Borzenkov
Actually, forget this. This makes cursor disappear in vt consoles, was a
pain when I wanted to edit some files with this feature enabled, so I'm
not against it.

** Changed in: mc (Ubuntu)
   Status: New = Invalid

-- 
[mc 4.6.2] mc-utf8.patch disables visible whitespace feature
https://bugs.launchpad.net/bugs/243790
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 250935] [NEW] [intrepid] laptop-mode-tools needs to change its default settings to match acpi-support and add hooks for pm-utils

2008-07-22 Thread Alexey Borzenkov
Public bug reported:

Binary package hint: laptop-mode-tools

Currently acpi-support is running laptop-mode incorrectly. First of all
it executes laptop-mode with start and stop commands directly, which
interferes with settings users have in /etc/laptop-mode/laptop-
mode.conf. Secondly, immediately after that it applies hard-coded power
management and spindown time values, which interfere with the same
settings specified in /etc/laptop-mode/laptop-mode.conf.

Please keep in mind, that acpi-support applies these settings only when
laptop-mode is enabled, so it is natural for laptop-mode to handle these
settings by itself, which it is better at, that is. To do this I propose
these steps:

1) Change default laptop-mode settings to match those of acpi-support: this way 
users without custom configs won't notice any difference.
2) Since pm-utils is handling power states and hibernate/thaw/sleep/resume add 
pm-utils hooks to handle laptop-mode reloading
3) Change acpi-support not to interfere with laptop-mode, since now it is 
handled by pm-utils

The attached debdiff does steps 1 and 2. For step 3 I will be filing
acpi-support bug-report.

** Affects: laptop-mode-tools (Ubuntu)
 Importance: Undecided
 Status: New

-- 
[intrepid] laptop-mode-tools needs to change its default settings to match 
acpi-support and add hooks for pm-utils
https://bugs.launchpad.net/bugs/250935
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 250938] [NEW] [intrepid] acpi-support should let laptop-mode-tools run properly

2008-07-22 Thread Alexey Borzenkov
Public bug reported:

Binary package hint: acpi-support

Copying bug #250935 in part:

Currently acpi-support is running laptop-mode incorrectly. First of all
it executes laptop-mode with start and stop commands directly, which
interferes with settings users have in /etc/laptop-mode/laptop-
mode.conf. Secondly, immediately after that it applies hard-coded power
management and spindown time values, which interfere with the same
settings specified in /etc/laptop-mode/laptop-mode.conf.

Please keep in mind, that acpi-support applies these settings only when
laptop-mode is enabled, so it is natural for laptop-mode to handle these
settings by itself, which it is better at, that is. To do this I propose
these steps:

1) Change default laptop-mode settings to match those of acpi-support: this way 
users without custom configs won't notice any difference.
2) Since pm-utils is handling power states and hibernate/thaw/sleep/resume add 
pm-utils hooks to handle laptop-mode reloading
3) Change acpi-support not to interfere with laptop-mode, since now it is 
handled by pm-utils

The attached debdiff does step 3. This change will simplify acpi-support
and finally let laptop-mode-tools work properly without users' having to
do custom changes.

** Affects: acpi-support (Ubuntu)
 Importance: Undecided
 Status: New

-- 
[intrepid] acpi-support should let laptop-mode-tools run properly
https://bugs.launchpad.net/bugs/250938
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 250935] Re: [intrepid] laptop-mode-tools needs to change its default settings to match acpi-support and add hooks for pm-utils

2008-07-22 Thread Alexey Borzenkov

** Attachment added: laptop-mode-tools-defaults.debdiff
   http://launchpadlibrarian.net/16240562/laptop-mode-tools-defaults.debdiff

-- 
[intrepid] laptop-mode-tools needs to change its default settings to match 
acpi-support and add hooks for pm-utils
https://bugs.launchpad.net/bugs/250935
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 250938] Re: [intrepid] acpi-support should let laptop-mode-tools run properly

2008-07-22 Thread Alexey Borzenkov

** Attachment added: acpi-support-no-laptop-mode.debdiff
   http://launchpadlibrarian.net/16240993/acpi-support-no-laptop-mode.debdiff

-- 
[intrepid] acpi-support should let laptop-mode-tools run properly
https://bugs.launchpad.net/bugs/250938
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 244844] Re: Adapt laptop-mode-tools invocation to ubuntu's acpi-support / pm-tools packages

2008-07-22 Thread Alexey Borzenkov
Hello, just to inform you here, I now filed bug #250935 and bug #250938
that are intended for intrepid (and actually fix the issue better than
my previous patches). I really hope they could land before intrepid
freezes... -_-

-- 
Adapt laptop-mode-tools invocation to ubuntu's acpi-support / pm-tools packages
https://bugs.launchpad.net/bugs/244844
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 244844] Re: Adapt invocation to ubuntu acpi-support / pm-tools packages

2008-07-06 Thread Alexey Borzenkov
Ok, tell me where (to which bug numbers) my patches belong? The problem
is that we have three packages at play here and patching one doesn't
make sense without the other. I'm a little lost with so many bug
reports, bug #59695 where this all originated is rather long (and I'm
sure it's hard to track for developers too) and I don't want to create
even more bug reports just for my patches.

-- 
Adapt invocation to ubuntu acpi-support / pm-tools packages
https://bugs.launchpad.net/bugs/244844
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 195591] Re: cowbuilder deletes bind-mounted directories in some cases

2008-07-03 Thread Alexey Borzenkov
I cannot reproduce this on hardy, cowdancer 0.44.

** Changed in: cowdancer (Ubuntu)
   Status: New = Invalid

-- 
cowbuilder deletes bind-mounted directories in some cases
https://bugs.launchpad.net/bugs/195591
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 239419] Re: pm-utils has laptop-tools script which conflicts with laptop-mode-tools

2008-07-02 Thread Alexey Borzenkov
Actually, you are quite right. Currently, all that /etc/acpi/power.sh
and /usr/lib/pm-utils/power.d/laptop-tools do is perfectly replicable
with identical settings in /etc/laptop-mode/laptop-mode.conf
(*_HD_POWERMGMT, *_HD_IDLE_TIMEOUT_SECONDS, *_RATIO in /etc/laptop-mode
/laptop-mode.conf, and ENABLE_LAPTOP_MODE=true  in /etc/default/acpi-
support). Even the argument that laptop-mode is freezing some computers
is no longer valid, because /proc/sys/vm/laptop_mode is hard-coded to 2
on battery power, and you will get the same functionality as long as
ENABLE_LAPTOP_MODE_ON_AC=0 (which is default). So if there are problems
people already should experience all that.

Also, /usr/sbin/laptop_mode already has all that state code commented
out, so it doesn't need any force argument, WAS_ACTIVE is always 0 with
the version shipped in Ubuntu, so it always reapplies its parameters.

-- 
pm-utils has laptop-tools script which conflicts with laptop-mode-tools
https://bugs.launchpad.net/bugs/239419
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 244844] Re: Adapt invocation to ubuntu acpi-support / pm-tools packages

2008-07-02 Thread Alexey Borzenkov
A copy of my comment https://bugs.launchpad.net/ubuntu/+source/pm-
utils/+bug/239419/comments/5

Actually, you are quite right. Currently, all that /etc/acpi/power.sh
and /usr/lib/pm-utils/power.d/laptop-tools do is perfectly replicable
with identical settings in /etc/laptop-mode/laptop-mode.conf
(*_HD_POWERMGMT, *_HD_IDLE_TIMEOUT_SECONDS, *_RATIO in /etc/laptop-mode
/laptop-mode.conf, and ENABLE_LAPTOP_MODE=true in /etc/default/acpi-
support). Even the argument that laptop-mode is freezing some computers
is no longer valid, because /proc/sys/vm/laptop_mode is hard-coded to 2
on battery power, and you will get the same functionality as long as
ENABLE_LAPTOP_MODE_ON_AC=0 (which is default). So if there are still
problems people already should have been experiencing that.

Also, /usr/sbin/laptop_mode already has all that state code commented
out, so it doesn't need any force argument, WAS_ACTIVE is always 0 with
the version shipped in Ubuntu, so it always reapplies its parameters.

** Changed in: laptop-mode-tools (Ubuntu)
   Status: New = Confirmed

-- 
Adapt invocation to ubuntu acpi-support / pm-tools packages
https://bugs.launchpad.net/bugs/244844
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 244844] Re: Adapt invocation to ubuntu acpi-support / pm-tools packages

2008-07-02 Thread Alexey Borzenkov
Ok, patch for pm-utils here. As far as I understood power.d is called on
battery/ac change and sleep.d is called on sleep/resume and the like. My
patch stops pm-utils from interfering with laptop-mode-tools and reloads
laptop-mode on ac/battery and suspend/resume.

The package with this change is uploaded to
https://launchpad.net/~snaury/+archive

** Attachment added: 55-laptop-mode-tools-support.patch
   http://launchpadlibrarian.net/15764957/55-laptop-mode-tools-support.patch

-- 
Adapt invocation to ubuntu acpi-support / pm-tools packages
https://bugs.launchpad.net/bugs/244844
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 244844] Re: Adapt invocation to ubuntu acpi-support / pm-tools packages

2008-07-02 Thread Alexey Borzenkov
Ok, patch for acpi-support here. Since power states seem to be primarily
controlled with pm-utils and my previous patch has necessary
modifications we can remove laptop-mode calling code here and let pm-
utils do its job. Also, we set ENABLE_LAPTOP_MODE=true by default, to
that everything will have potential of running the same way as before.

The package with this change is uploaded to
https://launchpad.net/~snaury/+archive

** Attachment added: acpi-support-laptop-mode-no-control.patch
   
http://launchpadlibrarian.net/15765164/acpi-support-laptop-mode-no-control.patch

-- 
Adapt invocation to ubuntu acpi-support / pm-tools packages
https://bugs.launchpad.net/bugs/244844
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 244839] Re: /etc/acpi/start.d and resume.d scripts are not run.

2008-07-02 Thread Alexey Borzenkov
They don't seem to be expected to run, because hibernate/resume is
handled by pm-utils, and your script must be placed in /etc/pm/sleep.d.
Also see bug #244844.

-- 
/etc/acpi/start.d and resume.d scripts are not run.
https://bugs.launchpad.net/bugs/244839
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 239419] Re: pm-utils has laptop-tools script which conflicts with laptop-mode-tools

2008-07-02 Thread Alexey Borzenkov
*** This bug is a duplicate of bug 244844 ***
https://bugs.launchpad.net/bugs/244844

** This bug has been marked a duplicate of bug 244844
   Adapt invocation to ubuntu acpi-support / pm-tools packages

-- 
pm-utils has laptop-tools script which conflicts with laptop-mode-tools
https://bugs.launchpad.net/bugs/239419
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 244844] Re: Adapt invocation to ubuntu acpi-support / pm-tools packages

2008-07-02 Thread Alexey Borzenkov
Now at this stage all that's left is changing defaults in laptop-mode-
tools to sane values. I'm not providing a patch for this, because I
might be too biased on the matter of correct values (i.e. I think the
values that are currently used in hardy are bad and I'm using different
values).

ceg, if you can, please advertise my patches to developers. I'm
currently basically no one in Ubuntu community and don't know the right
people to talk to. So I will be pleased if this blanket bug of yours
will finally become the turning point.

** Description changed:

  Binary package hint: laptop-mode-tools
  
  
  Include scripts that call /usr/bin/laptop_mode auto in  in /etc/acpi/ac.d, 
battery.d, resume.d and start.d.
  
  It is suggested to acpi-support to stop calling laptop-mode-tools and hdparm 
directly.
- #244831, #244832, #244833, #244836
+ bug #244831, bug #244832, bug #244833, bug #244836
  
  
  (Beware: resume.d, and start.d may be obsoleted by some pm-tools directory)
- #244839, #205005
+ bug #244839, bug #205005
  
  (Adapt the approach from the original laptop-mode-tools debian package
  to current ubuntu acpi-support)
  
  
  laptop_mode may need the options auto force when called on resume events. 
(To reapply hdparm settings even though AC state has not changed.)
  
  (The current laptop-mode disk-idleing approach seems to be a left-over
  from before the  ubuntu-laptop-mode package was droped for laptop-mode-
  tools.)

-- 
Adapt invocation to ubuntu acpi-support / pm-tools packages
https://bugs.launchpad.net/bugs/244844
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 244716] [NEW] mc lacks build-dep on some x11 libraries (which breaks Ctrl+Enter)

2008-07-01 Thread Alexey Borzenkov
Public bug reported:

Binary package hint: mc

Until recently I have been building mc with dpkg-buildpackage, and what
I immediately noticed is that Ctrl+Enter was working as expected. Since
I moved to 4.6.2 at the time I thought this must be something fixed in
mc. Now I started using pbuilder and after I rebuilt the very same
package Ctrl+Enter suddenly stopped working. Interestingly, both old and
new .debs don't depend on any x11 libraries, yet behave differently.

I tried modifying Build-Dep by adding xorg-dev, and it surely helped in
that Ctrl+Enter started working. xorg-dev is an overkill in this case,
what needed is to find the exact library Midnight Commander depends on
for this sort of functionality. Unfortunately I'm not familiar with x11
development at the moment, so I don't even know what it might be.

Please find what exactly Midnight Commander depends on for extra
keyboard functionality and add it to Build-Dep. As far as I can see it
is linked to it statically (whatever it is) and does not harm console
mode in any way (even executable size doesn't change).

** Affects: mc (Ubuntu)
 Importance: Undecided
 Status: New

** Summary changed:

- mc lacks build-dep on some x11 libraries
+ mc lacks build-dep on some x11 libraries (which breaks Ctrl+Enter)

-- 
mc lacks build-dep on some x11 libraries (which breaks Ctrl+Enter)
https://bugs.launchpad.net/bugs/244716
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 243953] [NEW] cursor not showing in mc 4.6.2 with visible whitespace feature

2008-06-29 Thread Alexey Borzenkov
Public bug reported:

When compiling mc 4.6.2 with a visible whitespace feature there's a bug
in vte that causes cursor to disappear. There's no cursor disappearance
in xterm or konsole. The problem seems to be related to the foreground
color and solution (patch for vte) can be found here:

https://savannah.gnu.org/bugs/?13146#comment17

There are also debian bugs for this:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=469251
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=471248

Although they seem abandoned, plus the bug is actually in vte, not
gnome-terminal.

I'm attaching the patch found in savannah #13146, I placed this patch as
debian/patches/99_mc_cursor.patch, rebuilt and don't have any problems
on my machine, so it must be safe. Please include for intrepid and
possibly for hardy.

** Affects: vte (Ubuntu)
 Importance: Undecided
 Status: New

** Affects: vte (Debian)
 Importance: Unknown
 Status: New

-- 
cursor not showing in mc 4.6.2 with visible whitespace feature
https://bugs.launchpad.net/bugs/243953
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 243953] Re: cursor not showing in mc 4.6.2 with visible whitespace feature

2008-06-29 Thread Alexey Borzenkov

** Attachment added: vte-0.16.13-mc-cursor.patch
   http://launchpadlibrarian.net/15675723/vte-0.16.13-mc-cursor.patch

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

** Also affects: gnome-terminal (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=471248
   Importance: Unknown
   Status: Unknown

-- 
cursor not showing in mc 4.6.2 with visible whitespace feature
https://bugs.launchpad.net/bugs/243953
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 243953] Re: cursor not showing in mc 4.6.2 with visible whitespace feature

2008-06-29 Thread Alexey Borzenkov
** Changed in: vte (Debian)
Sourcepackagename: gnome-terminal = vte

-- 
cursor not showing in mc 4.6.2 with visible whitespace feature
https://bugs.launchpad.net/bugs/243953
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 240973] Re: pcm_dmix.c:996:(snd_pcm_dmix_open) unable to open slave

2008-06-29 Thread Alexey Borzenkov
I just encountered the same bug, but then I found a libasound2-plugins
package, which mentions a PulseAudio library. After installing it and
running:

asoundconf set-pulseaudio

I have sound in wine back. Please try it, maybe it would help you too.

-- 
pcm_dmix.c:996:(snd_pcm_dmix_open) unable to open slave
https://bugs.launchpad.net/bugs/240973
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 243790] [NEW] [mc 4.6.2] mc-utf8.patch disables visible whitespace feature

2008-06-28 Thread Alexey Borzenkov
Public bug reported:

Binary package hint: mc

When I built and installed mc-4.6.2~git20080311 I found that it lacks
the feature I love the most: visible tabs and whitespace in the editor.
I found that the cause is debian/patches/utf8/mc-utf8.patch, which
pretty much removes the heart of the feature (search for visible_tabs
and visible_tws handled in case '\t' and case ' ' in file
mc/edit/editdraw.c). Is this deliberate or accidental?

The way I see it it doesn't make any sense removing it (it has nothing
to do with utf8), so I think it was done accidentally by some
maintainer.

Please review and get this feature back! :)

** Affects: mc (Ubuntu)
 Importance: Undecided
 Status: New

-- 
[mc 4.6.2] mc-utf8.patch disables visible whitespace feature
https://bugs.launchpad.net/bugs/243790
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 243790] Re: [mc 4.6.2] mc-utf8.patch disables visible whitespace feature

2008-06-28 Thread Alexey Borzenkov
Ah! Yes. Now I see why. Working on a patch.

-- 
[mc 4.6.2] mc-utf8.patch disables visible whitespace feature
https://bugs.launchpad.net/bugs/243790
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 243790] Re: [mc 4.6.2] mc-utf8.patch disables visible whitespace feature

2008-06-28 Thread Alexey Borzenkov
The patch is completed. Either place it in debian/patches/utf8 and add
to the series or merge with mc-utf8.patch. Builds fine on my Ubuntu 8.04
amd64. There's a bug in vte (gnome-terminal) though, which causes cursor
to disappear (there's no such bug in xterm or konsole), but here's a
patch for vte, see here:

https://savannah.gnu.org/bugs/?13146#comment17

** Attachment added: mc-utf8-unbreak-visible-ws.patch
   http://launchpadlibrarian.net/15665238/mc-utf8-unbreak-visible-ws.patch

-- 
[mc 4.6.2] mc-utf8.patch disables visible whitespace feature
https://bugs.launchpad.net/bugs/243790
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 243790] Re: [mc 4.6.2] mc-utf8.patch disables visible whitespace feature

2008-06-28 Thread Alexey Borzenkov
** Bug watch added: Debian Bug tracker #488465
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=488465

** Also affects: mc (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=488465
   Importance: Unknown
   Status: Unknown

-- 
[mc 4.6.2] mc-utf8.patch disables visible whitespace feature
https://bugs.launchpad.net/bugs/243790
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 59695] Re: High frequency of load/unload cycles on some hard disks may shorten lifetime

2008-06-27 Thread Alexey Borzenkov
Hi pelm,

I had an exactly the same issue with my Samsung drive, I suspect this
could be happening because of overheating or some other hardware problem
causing superclicks if heads are not parked for more than a minute or
so. I'm tired of repeating that disabling power management is *not* a
solution. Minimizing disk access is. And that's what laptop-mode is for.

Please see my comments:

https://bugs.launchpad.net/ubuntu/+source/acpi-support/+bug/59695/comments/476
https://bugs.launchpad.net/ubuntu/+source/acpi-support/+bug/59695/comments/487

As well as a recent bug report to fix laptop-mode not working on
startup:

https://bugs.launchpad.net/ubuntu/+source/pm-utils/+bug/239419

I'm surprised that it works so well for me for so long (despite
constantly fighting ubuntu fixes) and yet there are no comments from
developers or anyone else.

-- 
High frequency of load/unload cycles on some hard disks may shorten lifetime
https://bugs.launchpad.net/bugs/59695
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 239419] Re: pm-utils has laptop-tools script which conflicts with laptop-mode-tools

2008-06-27 Thread Alexey Borzenkov
Hmm. That's strange. I've just reinstalled ubuntu, added these lines:

if [ -f /etc/default/acpi-support ] ; then
. /etc/default/acpi-support
if [ x$ENABLE_LAPTOP_MODE = xtrue ] ; then
echo Laptop mode enabled, laptop-tools has nothing to do
exit 0
fi
fi

and it worked for me (cat /proc/sys/vm/laptop_mode shows 2).

Are you sure you have ENABLE_LAPTOP_MODE=true in /etc/default/acpi-
support?

Also don't forget to replace original laptop_mode_enable and
laptop_mode_disable in /etc/acpi/power.sh with this:

function laptop_mode_enable {
$LAPTOP_MODE auto
}

function laptop_mode_disable {
$LAPTOP_MODE auto
}

The original is disabling laptop-mode in 5 seconds after you plug in to
AC. :-/

-- 
pm-utils has laptop-tools script which conflicts with laptop-mode-tools
https://bugs.launchpad.net/bugs/239419
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 239419] [NEW] pm-utils has laptop-tools script which conflicts with laptop-mode-tools

2008-06-12 Thread Alexey Borzenkov
Public bug reported:

pm-utils has power.d/laptop-tools script, which unconditionally sets
/proc/sys/vm/laptop_mode along with various other /proc/sys/vm settings.
The problem is that if you install laptop-mode, enable and configure it
with your own settings, those settings are overwritten by the script
upon reboot (and come back only if you manually unplug and plug your
laptop back or do /etc/init.d/laptop-mode start).

The attached patch fixes the problem by disabling the script in case
laptop mode is enabled.

** Affects: pm-utils (Ubuntu)
 Importance: Undecided
 Status: New

-- 
pm-utils has laptop-tools script which conflicts with laptop-mode-tools
https://bugs.launchpad.net/bugs/239419
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 239419] Re: pm-utils has laptop-tools script which conflicts with laptop-mode-tools

2008-06-12 Thread Alexey Borzenkov

** Attachment added: Fixes the conflict between laptop-tools script and 
laptop-mode-tools package
   http://launchpadlibrarian.net/15233087/pm-utils-0.99.2-laptop-tools.patch

-- 
pm-utils has laptop-tools script which conflicts with laptop-mode-tools
https://bugs.launchpad.net/bugs/239419
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 74394] Re: power.sh should allow laptop_mode to do it's thing

2008-06-12 Thread Alexey Borzenkov
I was applying a similar patch for a while now and didn't have any
problems (of course you'd have to apply my patch from bug #239419). I
was going to finally report it, but found this bug. It is shocking that
this wasn't fixed for 1.5 years. O.o

Oh well, if developers don't care I guess we'll have to continue to
patch it ourselves.

-- 
power.sh should allow laptop_mode to do it's thing
https://bugs.launchpad.net/bugs/74394
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 229693] Re: power.sh must reapply laptop-mode settings after suspend

2008-06-12 Thread Alexey Borzenkov
I've read a lot of comments that suggest crippling laptop-mode-tools
even more than it already is. The problem is that laptop-mode-tools is
the only place that DOESN'T HARDCODE VALUES. Why do I have to fight
hardcoded values in /etc/acpi/power.sh and /usr/lib/pm-utils/power.d
/laptop-tools to make my custom values in /etc/laptop-mode/laptop-
mode.conf work?

I think it's bad to hardcode values. They should be editable in one way
or the other, and editing system scripts (that could get updated
later) is not good. So the way I see it laptop-mode-tools is the way to
go. You should let it do what it can do. It already can handle apm power
management, spindown times, and /proc/sys/vm/laptop_mode. Why hardcoding
this functionality in other scripts when you could just come up with the
same defaults in /etc/laptop-mode/laptop-mode.conf?

Please don't cripple laptop-mode-tools. Let it do its work instead.

-- 
power.sh must reapply laptop-mode settings after suspend
https://bugs.launchpad.net/bugs/229693
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 229693] Re: power.sh must reapply laptop-mode settings after suspend

2008-06-12 Thread Alexey Borzenkov
Ooops. Wrong bug report. It was meant for bug #89269

-- 
power.sh must reapply laptop-mode settings after suspend
https://bugs.launchpad.net/bugs/229693
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 89269] Re: power.sh: wrong laptop_mode activation

2008-06-12 Thread Alexey Borzenkov

I've read a lot of comments that suggest crippling laptop-mode-tools
even more than it already is. The problem is that laptop-mode-tools is
the only place that DOESN'T HARDCODE VALUES. Why do I have to fight
hardcoded values in /etc/acpi/power.sh and /usr/lib/pm-utils/power.d
/laptop-tools to make my custom values in /etc/laptop-mode/laptop-
mode.conf work?

I think it's bad to hardcode values. They should be editable in one way
or the other, and editing system scripts (that could get updated
later) is not good. So the way I see it laptop-mode-tools is the way to
go. You should let it do what it can do. It already can handle apm power
management, spindown times, and /proc/sys/vm/laptop_mode. Why hardcoding
this functionality in other scripts when you could just come up with the
same defaults in /etc/laptop-mode/laptop-mode.conf?

Please don't cripple laptop-mode-tools. Let it do its work instead.

-- 
power.sh: wrong laptop_mode activation
https://bugs.launchpad.net/bugs/89269
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 59695] Re: High frequency of load/unload cycles on some hard disks may shorten lifetime

2008-05-13 Thread Alexey Borzenkov
I personally think the solution should be simple. First some parameters
in laptop-mode need splitting into LM_AC_ and LM_BAT_ (like
LM_READAHEAD), next someone should invent sane defaults that actually
work for a default installation. Next installer should autodetect or ask
(during installation) if user wants to run on laptop-mode or not. And
really, the only sane default for ubuntu would be hdparm -B 128,
provided that laptop-mode is actually working as expected. Because as
previously noted, shock protection is important.

-- 
High frequency of load/unload cycles on some hard disks may shorten lifetime
https://bugs.launchpad.net/bugs/59695
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 59695] Re: High frequency of load/unload cycles on some hard disks may shorten lifetime

2008-05-13 Thread Alexey Borzenkov
Also, more on laptop-mode. In config file comments I've seen that it is
disabled by default (and it seems devs tried to make it not so obvious
how to really enable it), because it causes odd hangs on some computers.
What sort of hangs are we dealing with? If this was about hangs when
watching a movie, then the right answer would be not setting
LM_READAHEAD to 3072 by default. It'd be a shame if laptop-mode was so
hard-codedly disabled because of readahead problem. :-/

-- 
High frequency of load/unload cycles on some hard disks may shorten lifetime
https://bugs.launchpad.net/bugs/59695
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 59695] Re: High frequency of load/unload cycles on some hard disks may shorten lifetime

2008-05-08 Thread Alexey Borzenkov
A note of observation. After I switched back to Windows XP I found that
Windows indeed didn't let my drive to spin down or park heads, however
all this came at the same price I had in Linux, i.e. frequent
superclicks and Load_Retry_Count increasing. So the problem is not with
Linux or Ubuntu at all, the problem is solely with the hard drive.

It is also worth noting that with Ubuntu I was able to reach any
comfortable increase rates by carefully tweaking /etc/laptop-mode
/laptop-mode.conf. The most important are ENABLE_LAPTOP_MODE_ON_AC=1,
LOST_WORK_SECONDS (the default value of 360 ensures only 10
Load_Cycle_Count per hour), READAHEAD (which in my opinion shouldn't
default to 3072, since huge delays every half or one minute between
reads effectively prevent playing videos, setting it to LM_READAHEAD=128
was the best in my case), IDLE_TIMEOUT (if you want your drive to really
cool down when idle, in my observation 60 seconds on AC was the best),
and WRITECACHE set to one (this adds another good layer of caching by
the hard drive).

Now don't forget to set ENABLE_LAPTOP_MODE=true in your /etc/default
/acpi-support.

BUT ALL THIS WON'T WORK unless you edit your /etc/acpi/power.sh and do
the following modifications:

Comment out all $HDPARM nonsense, since laptop-mode controls this for
you (provided you set your settings in laptop-mode.conf, of course).
Next, where you see $LAPTOP_MODE stop it should be $LAPTOP_MODE,
WITHOUT STOP. The latter is very important, because when
/usr/sbin/laptop_mode stop is called it effectively TURNS OFF LAPTOP
MODE, even if you have ENABLE_LAPTOP_MODE=true in your /etc/default
/acpi-support. While calling /usr/sbin/laptop_mode without arguments
does autodetection, and depending on your settings will either  Without
laptop mode lost work seconds do not work and this means that mount
option is not applied and pdflush will drop caches half a second after
some program (i.e. firefox) writes something to disk. The constant
writing to disk by many applications is what actually causes heads to
unpark, and when manufacturer sets some very ridiculous timeout for head
parking (i.e. 3 seconds in my case) heads keep unparking all the time.

I'm not sure if acpid is at fault here for calling laptop_mode with stop
argument, or laptop_mode not honoring your settings when stop is passed,
but current settings make laptop mode effectively useless. When I did
the above modifications and tweaked config files for my tastes I was
able to get rid of all problems. When my computer is idle heads park and
disk spins down, staying untouched for 6 minutes. When I'm doing
something active, like watching a movie, my drive is constantly accessed
and heads don't park needlessly. When I'm having a mix of the two (like
active browsing, or doing something else) my heads unpark only 20-30
times per hour, which I consider very good. And best of all, my drive
was not thermally abused and super clicks didn't happen.

As a comparison, average temperature of my drive under Windows was 41
degrees Celsius (and never below), under Linux it was 34-36 degrees
Celsius.

I consider that the main issue with this bug is that laptop mode (as it
is) DOES NOT WORK AT ALL. Please either fix acpid or fix laptop-mode.

Thank you.

-- 
High frequency of load/unload cycles on some hard disks may shorten lifetime
https://bugs.launchpad.net/bugs/59695
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 209632] Re: [Hardy] CPU freq scaling does not work anymore with the newest kernel

2008-05-05 Thread Alexey Borzenkov
For some bizarre reason acpi-cpufreq loading fails in
/etc/init.d/powernowd unless I add acpi-cpufreq to /etc/initramfs-
tools/modules. When loading with VERBOSE=yes in /etc/default/rcS I can
see that acpi-cpufreq reports No device. :-/

I tried adding echo -n 'Press Enter: '  read line in
/etc/init.d/powernowd after modprobe, then I can switch to a second
console, login, and modprobe acpi-cpufreq manually, which works
without problems. I can't even begin to imagine why it works from
console, but not from /etc/init.d/powernowd. :-/

For everyone having an issue with /sys/**/cpufreq missing, try adding
acpi-cpufreq to /etc/initramfs-tools/modules.

-- 
[Hardy] CPU freq scaling does not work anymore with the newest kernel
https://bugs.launchpad.net/bugs/209632
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 59695] Re: High frequency of load/unload cycles on some hard disks may shorten lifetime

2008-05-03 Thread Alexey Borzenkov
Some more info on the issue. I recently bought a new Samsung HM160HI and
started having the issue with Load_Cycle_Count. I tried the solution
with setting hdparm -B 255, but what I found is that my drive is already
in that mode after reboot. So after hdparm -B 254 Load_Cycle_Count
stopped increasing. But what I've found is that after this
Load_Retry_Count starts increasing, with an extremely loud click once
per several minues, which I found much worse than increasing
Load_Cycle_Count.

The real issue, it seems, is that something is constantly waking the
disk up, even when disk shouldn't be touched. I've been playing with
laptop-mode and a modified iotop.py (which shows actual bytes for each
process in batch mode, skipping the ones that don't do any actual io),
and found the following. When I set hdparm -B 255, and hdparm -S 4, the
disk spins down after 20 seconds, however after a very short time (less
than a minute) firefox writes something to disk and pdflush kicks in
dropping in, even though /proc/meminfo shows only several kilobytes
under Dirty, while my dirty ratio is 60 percent. Very strange.

Now I suspected that there might be something going on with pagefile, so
I swapoff my swap partition and try all this again. Now pdflush no
longer kicks in immediately after firefox or other programs. But things
get even more fishy. Even without any I/O activity (both my modified
iotop.py and gkrellm show absolutely nothing) disk spins down, but
shortly after that spins up again.

Why would my disk spin up again without any I/O?

Judging from increasing Load_Retry_Count, it seems to me that my drive
parks heads with a purpose (and when you don't let it, something bad
happens, i.e. that horrible click as if heads drop from somewhere). But
what's wrong here is that something pulls them back. Something is
constantly touching the drive when it shouldn't.

p.s. I don't have trackerd installed, and during my tests the only
processes that showed up were either none, or firefox and [pdflush].

-- 
High frequency of load/unload cycles on some hard disks may shorten lifetime
https://bugs.launchpad.net/bugs/59695
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 59695] Re: High frequency of load/unload cycles on some hard disks may shorten lifetime

2008-05-03 Thread Alexey Borzenkov
Oh my god, it's so stupid. It turned out that my issue was hddtemp
running in daemon mode. Because it uses smart (sic!) to query drive
temperature, and update interval is hard-coded to 60 seconds, it was
waking my drive every 60 seconds! As soon as I disabled it, my problems
seem to go away. The drive spinned down and doesn't wake up for several
minutes already, just like it should. =^_^=

So for the rest of you, check that you don't have anything checking
smart in the background, hddtemp in particular...

P.S. On the side note I find it crazy that to check drive temperature
you need to spinup... x_x ...I couldn't even suspect that!

-- 
High frequency of load/unload cycles on some hard disks may shorten lifetime
https://bugs.launchpad.net/bugs/59695
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 156066] Re: CPU Frequency Scaling Not Supported for Intel Centrino Duo Processors

2008-05-02 Thread Alexey Borzenkov
I have the same problem, /sys/devices/system/cpu/cpu0/cpufreq directory
is missing. lsmod|grep freq shows that cpufreq modules are loaded.

[EMAIL PROTECTED]:~$ lsmod|grep freq
cpufreq_powersave   2688  0
cpufreq_stats   7104  0
cpufreq_userspace   5284  0
cpufreq_ondemand9740  0
cpufreq_conservative 8712  0
freq_table  5536  2 cpufreq_stats,cpufreq_ondemand

-- 
CPU Frequency Scaling Not Supported for Intel Centrino Duo Processors
https://bugs.launchpad.net/bugs/156066
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 195055] Re: Hardy Alpha 5 fails to start on Asus F3Jp with ATI X1700

2008-04-26 Thread Alexey Borzenkov
Ubuntu 8.04 release does not have this issue anymore.

** Changed in: ubuntu
   Status: New = Invalid

-- 
Hardy Alpha 5 fails to start on Asus F3Jp with ATI X1700
https://bugs.launchpad.net/bugs/195055
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 195055] [NEW] Hardy Alpha 5 fails to start on Asus F3Jp with ATI X1700

2008-02-24 Thread Alexey Borzenkov
Public bug reported:

Tried alpha 5 today only to find out that it can't even start on my Asus
F3Jp. Judging from xorg log this is the same problem as it was it
feisty: my monitor reports 1280x800 as the only mode supported, but vesa
driver does not have it, and all other modes get discarded. Because of
this X does not start, not even in safe mode (it's kind of funny,
actually, as the last time I tried debian graphical installer had no
such issues, and ubuntu is supposed to be based on debian!). In feisty I
used the following commands to start the live cd:

$ sudo apt-get install xorg-driver-fglrx
$ sudo depmod -a
$ sudo aticonfig --initial --overlay-type=Xv --resolution=0,1280x800
$ sudo /etc/init.d/gdm restart
Fails the first time
$ sudo /etc/init.d/gdm restart
X starts

However with hardy alpha 5 all I got is white screen. Something is
getting more and more screwed up with ubuntu. You'd expect things to
improve with new releases, not deteriorate even further! :(
...especially when upstream has no such problems. :-/

** Affects: ubuntu
 Importance: Undecided
 Status: New

-- 
Hardy Alpha 5 fails to start on Asus F3Jp with ATI X1700
https://bugs.launchpad.net/bugs/195055
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 195055] Re: Hardy Alpha 5 fails to start on Asus F3Jp with ATI X1700

2008-02-24 Thread Alexey Borzenkov

** Attachment added: Photo of what I get in the end
   http://launchpadlibrarian.net/12172887/20080224-ubuntu-alpha5.jpg

-- 
Hardy Alpha 5 fails to start on Asus F3Jp with ATI X1700
https://bugs.launchpad.net/bugs/195055
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 131094] Re: Heavy Disk I/O harms desktop responsiveness

2008-02-12 Thread Alexey Borzenkov
I wonder if Ben Collins can give us some status update on what is being
done to fix this bug? Is he still working on this bug?

-- 
Heavy Disk I/O harms desktop responsiveness
https://bugs.launchpad.net/bugs/131094
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

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


[Bug 190040] [NEW] When using manual partitioning Mount point dropdown box is empty in Hardy Alpha4

2008-02-07 Thread Alexey Borzenkov
Public bug reported:

Binary package hint: ubiquity

Select manual partitioning and try to create a new partition. You will
find that the dropdown box for Mount point is empty. It should have
the same options as on Edit partition screen.

** Affects: ubiquity (Ubuntu)
 Importance: Undecided
 Status: New

-- 
When using manual partitioning Mount point dropdown box is empty in Hardy 
Alpha4
https://bugs.launchpad.net/bugs/190040
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

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


[Bug 190036] [NEW] Illogical response to New partition table in alpha4

2008-02-07 Thread Alexey Borzenkov
Public bug reported:

Start installation and select manual as partition method. Select
/dev/sda and click New partition table. You will be presented with a
dialog box with Go back and Continue buttons. Unlike common sense,
Go back actually performs operation, and Continue cancels it. These
button responses should be swapped.

** Affects: ubiquity (Ubuntu)
 Importance: Undecided
 Status: New

-- 
Illogical response to New partition table in alpha4
https://bugs.launchpad.net/bugs/190036
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

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


[Bug 119730] Re: Slow SATA performance

2007-11-03 Thread Alexey Borzenkov
Pinepain, it's very kind of you to rtfm me without actually reading my
comment, thank you very much. First of all there were no 'a lot of small
files' not in any single of my tests. I always used large files,
250-350MB in size. And ntfs is not stone age, it is currently used by my
windows partition, and the big file for testing was pagefile.sys
(surprising, no? it's also not heavily fragment there). Also never in my
tests I actually used to copy to hdd, because then it would be
read+write speed (minus a delta because some data would stay in cache),
writing data to /dev/null can have a small delta (dependent on buffer
size though), but still, difference between 5MB/s and 20MB/s [on the
same system with different files, one was downloaded with ktorrent
(heavily fragmented and slow), another downloaded with wget (shows
excellent throughput, supposedly it's not fragmented)] is not imaginary,
don't you think? And I doubt I have a spare connector in my laptop's
hard drive bay.

My experience with gutsy (after dist-upgrading from feisty) was
extremely crawling and painful under even slightest disk load for past
two months (and not just mine I assume, reading relevant bug reports),
heavy fragmentation can also explain why people stop experiencing
performance problems after they do clean reinstall.

P.S. Yes, I upgraded my bios and found that I do have those options in
there, but I don't know if that would help at all, because I wiped my
ubuntu installation, sorry. But seeing hdparm -i that I attached above I
doubt it, because it shows udma5 is already currently selected mode.

-- 
Slow SATA performance
https://bugs.launchpad.net/bugs/119730
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

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


[Bug 126274] Re: System gets unresponsive under moderate load

2007-11-02 Thread Alexey Borzenkov
Hi everyone, I just found out that in my case the problem is way too
slow SATA performance, see bug #119730. I measured reading time with
`cat Some350MBFile/dev/null' and got 97 seconds, which leads to
3.5MB/s. It seems to be way too slow. I wonder if others have same
roots?

-- 
System gets unresponsive under moderate load
https://bugs.launchpad.net/bugs/126274
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

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


[Bug 119730] Re: Slow SATA performance

2007-11-02 Thread Alexey Borzenkov
I've just measured my drive reading time and found out that it's
3.5-4.9MB/s (measured in Midnight Commander by copying a not yet cached
file to /dev/null). Then I plugged a USB drive (an HDD box) and tried
checking, it's 15-20MB/s, this isn't funny! I have ASUS F3Jp laptop (I
have no settings in my BIOS) and now I see this was the reason of of bug
#126274 and bug #131094 at least in my case.

[EMAIL PROTECTED]:~$ sudo hdparm -i /dev/sda

/dev/sda:

 Model=Hitachi HTS541612J9SA00 , FwRev=SBDOC70P, SerialNo=  
SB3D00E5G0D07A
 Config={ HardSect NotMFM HdSw15uSec Fixed DTR10Mbs }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
 BuffType=DualPortCache, BuffSize=7516kB, MaxMultSect=16, MultSect=?16?
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=234441648
 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4 
 DMA modes:  mdma0 mdma1 mdma2 
 UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5 
 AdvancedPM=yes: mode=0x80 (128) WriteCache=enabled
 Drive conforms to: ATA/ATAPI-7 T13 1532D revision 1:  ATA/ATAPI-2,3,4,5,6,7

 * signifies the current active mode

I don't understand this, since I see udma5 marked as active in hdparm's
output. (?)

-- 
Slow SATA performance
https://bugs.launchpad.net/bugs/119730
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

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


[Bug 119730] Re: Slow SATA performance

2007-11-02 Thread Alexey Borzenkov
Update. I've just tried copying files from my ntfs-3g partition and got
35MB/s. Then I started trying other files on my ext3 partition and found
that some big files actually get read at 15-20MB/s. Most of big files
are 5MB/s though. Seems like very heavy fragmentation. :(

-- 
Slow SATA performance
https://bugs.launchpad.net/bugs/119730
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

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


[Bug 96676] Re: [feisty] function keys don't work in gnome-terminal

2007-10-25 Thread Alexey Borzenkov
 I don't use mc, but have read that it stores key-definitions per $TERM
 with its learn-keys feature. That may be what's confusing it.

God, you are right!! I was looking at config in my home directory and
was already going to say that it's not like that, when an idea striked
me that maybe there's some system-wide config. And yet is it,
/etc/mc/mc.lib:

...
[terminal:xterm]
...
# Sequences below are for Konsole, which also sets TERM=xterm
kf11=\eO2P
kf12=\eO2Q
kf13=\eO2R
kf14=\eO2S
...

So that's why I'm seeing it working in an unexpected way when terminfo
entries are correct! So for anyone interested, there are two choices:

1) recompile vte with this change reverted: 
http://svn.gnome.org/viewcvs/vte/trunk/src/keymap.c?r1=1341r2=1391
2) create myxterm.ti like I displayed below (or grab full terminfo.src at 
invisible-island.net, mentioned earlier by Thomas), compile it with tic, then 
add appropriate entries to /etc/mc/mc.lib, using \e[1;2P...\e[1;2S for xterm 
and \eO1;2P...\eO1;2S for gnome-terminal (you can specify both). Sadly, if I'm 
not missing something, only one of these notations (xterm or gnome-terminal) 
can be specified in myxterm.ti file (infocmp and ncurses seem to use only one 
of them).

The problem with solution 1 is that xterm will still stay misunderstood
on your system (though I'm not using xterm, thus I'm personally going
with number 1 at the moment, to retain compatibility with konsole).

The problem with solution 2 is that xterm, gnome-terminal and konsole
are all three mutually incompatible in this regard. You can make mc
understand all three, but it's not going to be universal and might not
work with other programs. :-/ Now, to me it seems that current vte
behavior is a bug and should match xterm. And most of all konsole should
do that too, or stop pretending to be xterm!

Below is an example of my final myxterm.ti:

xterm-kfpc-13-16-xterm|kf13..kf16 for xterm,
kf13=\E[1;2P,
kf14=\E[1;2Q,
kf15=\E[1;2R,
kf16=\E[1;2S,

xterm-kfpc-13-16-gterm|kf13..kf16 for gnome-terminal,
kf13=\EO1;2P,
kf14=\EO1;2Q,
kf15=\EO1;2R,
kf16=\EO1;2S,

xterm|X11 terminal emulator with correct kf-sequences,
use=xterm-kfpc-13-16-xterm,
use=xterm-debian,

Here you can choose between xterm and gnome-terminal in the use
statement. Further comments are welcome, and I hope this will help
workaround the problem for others too.

-- 
[feisty] function keys don't work in gnome-terminal
https://bugs.launchpad.net/bugs/96676
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

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


[Bug 121653] Re: [gutsy] fglrx breaks over suspend/resume

2007-10-25 Thread Alexey Borzenkov
Are you all sure that recompiling with SLAB will actually help? I just
did `apt-get source linux-source-2.6.22` to check that when I found that
-rt kernel is already configured with SLAB, yet hibernate is not working
for me! I'm on ASUS F3JP, gutsy amd64.

-- 
[gutsy] fglrx breaks over suspend/resume
https://bugs.launchpad.net/bugs/121653
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

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


[Bug 96676] Re: [feisty] function keys don't work in gnome-terminal

2007-10-23 Thread Alexey Borzenkov
I'd like to second steviant's request. For a long time this bug forced
me to use konsole instead of gnome-terminal, just for ability to press
Shift+F4. Unfortunately with konsole Shift+Left/Shift+Right don't work
(which work under gnome-terminal), so editing text files is not of much
use. It's really annoying that I can get one part of a functionality
with only one terminal and the other half only with other. :-/

I've just downloaded ncurses sources and finally found why Thomas
Dickey's example didn't make sense (and didn't compile). There's no
xterm-xf86-v44. Ubuntu actually uses xterm-debian. So the first attempt
was like this:

$ cat myxterm.ti
xterm|X11 terminal emulator with correct kf-sequences,
  kf13=\EO1;2P,
  kf14=\EO1;2Q,
  kf15=\EO1;2R,
  kf16=\EO1;2S,
  use=xterm-debian,
^D
$ tic myxterm.ti
$ mc

And then I figured that now Shift+F2 acts like Shift+F4. Either Midnight
Commander expects kf14 to be Shift+F4 (which doesn't seem to be correct,
I'll show later why), or something is fishy here. Now I made it like
this:

$ cat myxterm.ti
xterm|X11 terminal emulator with correct kf-sequences,
  kf11=\EO1;2P,
  kf12=\EO1;2Q,
  kf13=\EO1;2R,
  kf14=\EO1;2S,
  use=xterm-debian,
^D
$ tic myxterm.ti
$ mc

Now it works in mc, but it seems extremely, EXTREMELY, wrong to me.

What do I actually see when I run konsole and try pressing Shift+F1..F4?

$ cat
^[O2P^[O2Q^[O2R^[O2S
$ echo $TERM
xterm

Now, if you look at xterm+pcfkeys in
ncurses-5.6+20070716/debian/xterm.ti you'll see that ^[O2S (Shift+F4) is
mapped to kf16, yet when I press Shift+F4 in Midnight in konsole, it
works correctly! So what's exactly happening? I clearly can't sanely map
kf11...kf14 to be Shift+F1...F4 just for midnight (I assume something
else will likely break then). How do I make Shift+F1...F4 work like they
work in konsole?

-- 
[feisty] function keys don't work in gnome-terminal
https://bugs.launchpad.net/bugs/96676
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

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


[Bug 96676] Re: [feisty] function keys don't work in gnome-terminal

2007-10-23 Thread Alexey Borzenkov
Hmm... about xterm-xf86-v44 I apologize since now it is somehow working.
:-/ I wonder why it didn't work a couple of months ago when I first
tried that.

-- 
[feisty] function keys don't work in gnome-terminal
https://bugs.launchpad.net/bugs/96676
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

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


[Bug 96676] Re: [feisty] function keys don't work in gnome-terminal

2007-10-23 Thread Alexey Borzenkov
Also I just found that xterm sends slightly different codes for
Shift+F1...F4, so this myxterm.ti is also for xterm:

xterm|X11 terminal emulator with correct kf-sequences,
kf13=\EO1;2P,
kf14=\EO1;2Q,
kf15=\EO1;2R,
kf16=\EO1;2S,
kf13=\E[1;2P,
kf14=\E[1;2Q,
kf15=\E[1;2R,
kf16=\E[1;2S,
use=xterm-xf86-v44,

However Shift+F2 acts as Shift+F4 (in mc) in xterm too.

-- 
[feisty] function keys don't work in gnome-terminal
https://bugs.launchpad.net/bugs/96676
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

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


[Bug 96676] Re: [feisty] function keys don't work in gnome-terminal

2007-10-23 Thread Alexey Borzenkov
Thomas, I don't seem to understand you. I just grabbed and compiled
terminfo.src you gave and while it helped with xterm (except that it's
just like with my previous attempts, Shift+F2 starts a new file in mc
instead of Shift+F4) it didn't work in gnome-terminal (because of \E[
and \EO difference I pointed before). However I just recompiled libvte
with changing #if 1 to #if 0 and gnome-terminal now works correctly
(Shift+F4 now starts a new file in mc, with original ubuntu terminfo, no
other modifications were needed). The change in the source only affects
addition of 1; and shouldn't make any difference in regards to
Shift+F2/Shift+F4 (since I didn't change any resources), should it? If
it does then I'm clearly missing something big here and I'd like to know
where I could read what this 1; actually means at all?

P.S. I'm not affiliated with ubuntu/debian development yet (merely a
new user who recently returned back to linux after moving to windows a
decade ago), so I can't even suggest anything going or not going
upstream. I'm just trying to understand what's going on here with this
bug.

-- 
[feisty] function keys don't work in gnome-terminal
https://bugs.launchpad.net/bugs/96676
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

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


[Bug 131094] Re: Heavy Disk I/O harms desktop responsiveness

2007-10-15 Thread Alexey Borzenkov
I can confirm that this is unrelated to trackerd at all (I had it
uninstalled as soon as I was constantly running into it), and while
observing memory consumption lately I can see that although I have 1GB
or RAM, system monitor shows that only around 600-700MB of it are being
used, and used swap is raising with time. Now I observe that it is 700MB
of memory and 597MB swap occupied somehow, even while update-manager
downloads packages my letters come out now with a very noticeable delay.
The weirdest thing is that system monitor shows only one big consumer,
firefox-bin (which it shows as 254MB only), and others are no bigger
than 50MB. Top on the other hand shows unrealistically huge numbers for
most applications (Xorg: 247m VIRT 184m SWAP, synaptic: 188m VIRT, 150m
SWAP, firefox-bin: 915m VIRT, 661m SWAP, etc). I don't understand what's
going on, but as far as I've seen before, as soon as synaptic starts
installing updates it's just a complete showstopper for me. Disk
thrashing and memory usage seem to suggest that my system is actually
swapping BADLY (as if I don't touch my PC while it's updating and then
come back all applications slowly get unswapped, even after disk
activity is gone).

Could it be a memory leak somewhere? Or what is it, what can it be? It's
disk activity related (copying big files, installing packages, other
activities do trigger slowdowns, even on -rt kernel), but in my case it
also seems to be memory related, at least the more time passes, the more
it starts looking like swapping issue.

My current uptime is 4 days 13:39, that's why it's gone too bad.

Also I'm using linux-rt on amd64, though I'm thinking to move back to
linux-general after the next reboot.

Anyone else noticed something strange with memory consumption?

P.S. When I first moved from WinXP to Feisty I was so laughing at WinXP
as Feisty took just above only quarter of my memory. Why is it suddenly
so big now?

-- 
Heavy Disk I/O harms desktop responsiveness
https://bugs.launchpad.net/bugs/131094
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

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


[Bug 147572] Re: 2.6.1-1ubuntu9 -32bit apps on amd64 almost completely broken, jittery

2007-10-01 Thread Alexey Borzenkov
Thanks for reporting, but somehow I doubt that libc6 is the blame in my
case. I started noticing it either a day before or somewhere around when
2.6.1-1ubuntu8 came around. So libc6 is either not to blame or I haven't
noticed it's got worse yet. :-/

-- 
2.6.1-1ubuntu9 -32bit apps on amd64 almost completely broken, jittery
https://bugs.launchpad.net/bugs/147572
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

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


[Bug 131094] Re: Heavy Disk I/O harms desktop responsiveness

2007-09-26 Thread Alexey Borzenkov
I can confirm strange disk-related performance problems too, and I dist-
upgraded to gutsy way after tribe5 was already out (thus I don't think
it could be something from previous tribes). Also I wonder if other
problems (like desktop often not showing after I relogin [so I always
have to restart if I logout, not even /etc/init.d/gdm restart helps],
and login sound not playing the first time, even after I installed
esound) could be cured by a fresh install, but I won't have time to do
it for several weeks... I guess it will be after gutsy is already
released.

And somehow I don't believe it's rare... I wonder how many people
actually dist-upgraded, as opposed to fresh install of tribe5?

-- 
Heavy Disk I/O harms desktop responsiveness
https://bugs.launchpad.net/bugs/131094
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

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


[Bug 140798] Re: Fullscreen opengl rendering is slow/corrupted with fglrx

2007-09-24 Thread Alexey Borzenkov
*** This bug is a duplicate of bug 130837 ***
https://bugs.launchpad.net/bugs/130837

** This bug has been marked a duplicate of bug 130837
   Non-free Linux 2.6.22 modules on Realtime kernel is missing components

-- 
Fullscreen opengl rendering is slow/corrupted with fglrx
https://bugs.launchpad.net/bugs/140798
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

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


[Bug 140798] Fullscreen opengl rendering is slow/corrupted with fglrx

2007-09-18 Thread Alexey Borzenkov
Public bug reported:

I'm using xorg-driver-fglrx and after trying linux-rt first noticed that
when I switch to fullscreen in vlc (I'm using opengl output module) the
video rendering became extremely slowly. After recent 2.6.22-11.33
update I tried that again (this time with compiz enabled) and found that
opengl compiz rendering is very corrupted (icons and parts of windows
that need redrawing). I'm not sure if this is related to bug #130837 or
not, indeed I only have /lib/modules/2.6.22-11-generic/volatile/fglrx.ko
and no /lib/modules/2.6.22-11-rt/volatile/fglrx.ko, but then I'm
surprised that video/opengl via fglrx driver work at all!

** Affects: linux-restricted-modules-2.6.22 (Ubuntu)
 Importance: Undecided
 Status: New

-- 
Fullscreen opengl rendering is slow/corrupted with fglrx
https://bugs.launchpad.net/bugs/140798
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

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


  1   2   >