[Bug 828623] Re: gnome control centre does not allow you to disable the laptop screen while leaving an external connected screen working

2011-09-13 Thread Joshua R. Poulson
I also have this issue on my W510 Thinkpad.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-control-center in Ubuntu.
https://bugs.launchpad.net/bugs/828623

Title:
  gnome control centre does not allow you to disable the laptop screen
  while leaving an external connected screen working

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/828623/+subscriptions

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


[Bug 1508593] [NEW] [Hyper-V] x86/ioapic: Disable interrupts when re-routing legacy IRQs

2015-10-21 Thread Joshua R. Poulson
Public bug reported:

A sporadic hang with consequent crash is observed when booting Hyper-V
Gen1 guests...

Sauce request for upstream submission:

https://lkml.org/lkml/2015/10/15/673

>From Vitaly Kuznetsov <> 
Subject [PATCH] x86/ioapic: Disable interrupts when re-routing legacy IRQs 
Date Thu, 15 Oct 2015 19:42:23 +0200 

A sporadic hang with consequent crash is observed when booting Hyper-V Gen1
guests:

 Call Trace:
  
  [] ? trace_hardirqs_off+0xd/0x10
  [] queue_work_on+0x46/0x90
  [] ? add_interrupt_randomness+0x176/0x1d0
  ...
  
  [] ? _raw_spin_unlock_irqrestore+0x3b/0x60
  [] __irq_put_desc_unlock+0x1e/0x40
  [] irq_modify_status+0xb5/0xd0
  [] mp_register_handler+0x4b/0x70
  [] mp_irqdomain_alloc+0x1ea/0x2a0
  [] irq_domain_alloc_irqs_recursive+0x40/0xa0
  [] __irq_domain_alloc_irqs+0x13c/0x2b0
  [] alloc_isa_irq_from_domain.isra.1+0xc0/0xe0
  [] mp_map_pin_to_irq+0x165/0x2d0
  [] pin_2_irq+0x47/0x80
  [] setup_IO_APIC+0xfe/0x802
  ...
  [] ? rest_init+0x140/0x140
The issue is easily reproducible with a simple instrumentation: if
mdelay(10) is put between mp_setup_entry() and mp_register_handler() calls
in mp_irqdomain_alloc() Hyper-V guest always fails to boot when re-routing
IRQ0. The issue seems to be caused by the fact that we don't disable
interrupts while doing IOPIC programming for legacy IRQs and IRQ0 actually
happens. Decorate manipulations with legacy IRQs with local_irq_save()/
local_irq_restore().

Cc: Thomas Gleixner 
Cc: Ingo Molnar 
Cc: "H. Peter Anvin" 
Cc: Jiang Liu 
Cc: Yinghai Lu 
Cc: K. Y. Srinivasan 
Signed-off-by: Vitaly Kuznetsov 
---
It may make sense to have interrupts disabled for non-legacy IRQs as well
but I'm unaware of any bugs with them at this moment.
---
 arch/x86/kernel/apic/io_apic.c | 8 +++-
 1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/arch/x86/kernel/apic/io_apic.c b/arch/x86/kernel/apic/io_apic.c
index 5c60bb1..9aac777 100644
--- a/arch/x86/kernel/apic/io_apic.c
+++ b/arch/x86/kernel/apic/io_apic.c
@@ -2907,6 +2907,7 @@ int mp_irqdomain_alloc(struct irq_domain *domain, 
unsigned int virq,
struct irq_data *irq_data;
struct mp_chip_data *data;
struct irq_alloc_info *info = arg;
+   unsigned long flags = 0;
 
if (!info || nr_irqs > 1)
return -EINVAL;
@@ -2939,11 +2940,16 @@ int mp_irqdomain_alloc(struct irq_domain *domain, 
unsigned int virq,
 
cfg = irqd_cfg(irq_data);
add_pin_to_irq_node(data, ioapic_alloc_attr_node(info), ioapic, pin);
+
+   if (virq < nr_legacy_irqs())
+   local_irq_save(flags);
if (info->ioapic_entry)
mp_setup_entry(cfg, data, info->ioapic_entry);
mp_register_handler(virq, data->trigger);
-   if (virq < nr_legacy_irqs())
+   if (virq < nr_legacy_irqs()) {
legacy_pic->mask(virq);
+   local_irq_restore(flags);
+   }
 
apic_printk(APIC_VERBOSE, KERN_DEBUG
"IOAPIC[%d]: Set routing entry (%d-%d -> 0x%x -> IRQ %d 
Mode:%i Active:%i Dest:%d)\n",
-- 
2.4.3

** Affects: linux-kernel (Ubuntu)
 Importance: Undecided
 Status: New

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

Title:
  [Hyper-V] x86/ioapic: Disable interrupts when re-routing legacy IRQs

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

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


[Bug 1508593] Re: [Hyper-V] x86/ioapic: Disable interrupts when re-routing legacy IRQs

2015-10-21 Thread Joshua R. Poulson
Argh, this should be in linux-kernel, not systemd.

** Also affects: linux-kernel (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: systemd (Ubuntu)
   Status: New => Invalid

** No longer affects: systemd (Ubuntu)

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

Title:
  [Hyper-V] x86/ioapic: Disable interrupts when re-routing legacy IRQs

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

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


[Bug 854024] Re: package libgucharmap7 1:3.0.1-0ubuntu1 failed to install/upgrade: trying to overwrite '/usr/lib/libgucharmap_2_90.so.7.0.0', which is also in package libgucharmap-2-90-7 1:3.1.92-0ubu

2011-09-19 Thread Joshua R. Poulson
-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gucharmap in Ubuntu.
https://bugs.launchpad.net/bugs/854024

Title:
  package libgucharmap7 1:3.0.1-0ubuntu1 failed to install/upgrade:
  trying to overwrite '/usr/lib/libgucharmap_2_90.so.7.0.0', which is
  also in package libgucharmap-2-90-7 1:3.1.92-0ubuntu1

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

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


[Bug 854024] [NEW] package libgucharmap7 1:3.0.1-0ubuntu1 failed to install/upgrade: trying to overwrite '/usr/lib/libgucharmap_2_90.so.7.0.0', which is also in package libgucharmap-2-90-7 1:3.1.92-0u

2011-09-19 Thread Joshua R. Poulson
Public bug reported:

apt-get upgrade shows


dpkg: error processing 
/var/cache/apt/archives/libgucharmap7_1%3a3.1.92-0ubuntu1_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/libgucharmap_2_90.so.7.0.0', which is also in 
package libgucharmap-2-90-7 1:3.1.92-0ubuntu1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)


$ dpkg -l | grep gucharmap
iU  gucharmap1:3.1.92-0ubuntu1  
   Unicode character picker and font browser
iU  libgucharmap-2-90-7  1:3.1.92-0ubuntu1  
   Unicode browser widget library (shared library for 
GTK+ 3)
ii  libgucharmap71:3.0.1-0ubuntu1   
   Unicode browser widget library (shared library for 
GTK+ 2)

ProblemType: Package
DistroRelease: Ubuntu 11.10
Package: libgucharmap7 1:3.0.1-0ubuntu1
ProcVersionSignature: Ubuntu 3.0.0-11.18-generic 3.0.4
Uname: Linux 3.0.0-11-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 1.23-0ubuntu1
Architecture: amd64
Date: Mon Sep 19 10:02:09 2011
DuplicateSignature:
 Unpacking replacement libgucharmap7 ...
 dpkg: error processing 
/var/cache/apt/archives/libgucharmap7_1%3a3.1.92-0ubuntu1_amd64.deb (--unpack):
  trying to overwrite '/usr/lib/libgucharmap_2_90.so.7.0.0', which is also in 
package libgucharmap-2-90-7 1:3.1.92-0ubuntu1
ErrorMessage: trying to overwrite '/usr/lib/libgucharmap_2_90.so.7.0.0', which 
is also in package libgucharmap-2-90-7 1:3.1.92-0ubuntu1
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
SourcePackage: gucharmap
Title: package libgucharmap7 1:3.0.1-0ubuntu1 failed to install/upgrade: trying 
to overwrite '/usr/lib/libgucharmap_2_90.so.7.0.0', which is also in package 
libgucharmap-2-90-7 1:3.1.92-0ubuntu1
UpgradeStatus: Upgraded to oneiric on 2011-09-02 (17 days ago)

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


** Tags: amd64 apport-package need-duplicate-check oneiric package-conflict

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

Title:
  package libgucharmap7 1:3.0.1-0ubuntu1 failed to install/upgrade:
  trying to overwrite '/usr/lib/libgucharmap_2_90.so.7.0.0', which is
  also in package libgucharmap-2-90-7 1:3.1.92-0ubuntu1

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

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


[Bug 304889] Re: Does not use system proxy settings

2010-05-10 Thread Joshua R. Poulson
On 10.04 LTS empathy appears to work fine with a squid caching proxy
except the Yahoo IM, which appears to suffer the same problem that
pidgin did: http://developer.pidgin.im/ticket/9488

** Bug watch added: Pidgin Trac #9488
   http://developer.pidgin.im/ticket/9488

-- 
Does not use system proxy settings
https://bugs.launchpad.net/bugs/304889
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to empathy in ubuntu.

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