[Bug 780551] Re: incorrect interface in avxintrin.h

2014-01-10 Thread Matthias Kretz
Matthias, I'm sure your opinion is important here. But can we please
argue this on technical merit?

Currently the argument is a new macro will be used by developers to
create more harm than good and feature tests are a better way to solve
the problem the version macro should solve. I don't buy the first one
(it's rather subjective at this point) and I already explained why the
second one is not true for all software (library headers in this case).

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

Title:
  incorrect interface in avxintrin.h

To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc-linaro/+bug/780551/+subscriptions

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


[Bug 780551] Re: incorrect interface in avxintrin.h

2014-01-09 Thread Matthias Kretz
Changing this to won't fix without even addressing my patch is quite
frustrating. OTOH ignoring the patch is quite as bad... I'd really like
to have a comment why my patch is not wanted / needed.

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

Title:
  incorrect interface in avxintrin.h

To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc-linaro/+bug/780551/+subscriptions

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


[Bug 780551] Re: incorrect interface in avxintrin.h

2014-01-09 Thread Matthias Kretz
It's lots of text to go through so you probably missed it. My patch was
specifically also meant for future packages of GCC so that a bug like
this one is easier to handle.

Short recap:
- GCC x.y.z != Ubuntu GCC x.y.z because Ubuntu applies patches.
- in most cases this is fine, but sometimes it makes the compiler behave 
differently
- feature testing (config.h) for library headers is not possible, instead 
library headers define feature macros from the environment macros 
(__GCC_VERSION__, ...)
- if there is no macro available to distinguish vanilla GCC from Ubuntu (or any 
other patched) GCC then there will be code that cannot ever compile portably on 
all systems

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

Title:
  incorrect interface in avxintrin.h

To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc-linaro/+bug/780551/+subscriptions

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


[Bug 1241590] [NEW] NetworkManager daemon segfaults on start in read_one_ip_address_or_route

2013-10-18 Thread Matthias Kretz
Public bug reported:

After the update to 13.10 my network didn't come back up. After a bit of
investigation I found the following problem:

root@Drazi# gdb --args NetworkManager --no-daemon
(gdb) r
Starting program: /usr/sbin/NetworkManager --no-daemon
[Thread debugging using libthread_db enabled]
Using host libthread_db library /lib/x86_64-linux-gnu/libthread_db.so.1.
[New Thread 0x72706700 (LWP 11458)]
NetworkManager[11454]: info NetworkManager (version 0.9.8.0) is starting...
NetworkManager[11454]: info Read config file 
/etc/NetworkManager/NetworkManager.conf
NetworkManager[11454]: info WEXT support is enabled
[New Thread 0x71f05700 (LWP 11459)]
NetworkManager[11454]: info VPN: loaded org.freedesktop.NetworkManager.pptp
NetworkManager[11454]: info VPN: loaded org.freedesktop.NetworkManager.openvpn
NetworkManager[11454]: info DNS: loaded plugin dnsmasq
[New Thread 0x71704700 (LWP 11460)]
NetworkManager[11454]:SCPlugin-Ifupdown: init!
NetworkManager[11454]:SCPlugin-Ifupdown: update_system_hostname
NetworkManager[11454]:SCPluginIfupdown: management mode: unmanaged
NetworkManager[11454]:SCPlugin-Ifupdown: devices added (path: 
/sys/devices/pci:00/:00:19.0/net/eth0, iface: eth0)
NetworkManager[11454]:SCPlugin-Ifupdown: device added (path: 
/sys/devices/pci:00/:00:19.0/net/eth0, iface: eth0): no ifupdown 
configuration found.
NetworkManager[11454]:SCPlugin-Ifupdown: devices added (path: 
/sys/devices/pci:00/:00:1c.3/:04:00.0/net/wlan0, iface: wlan0)
NetworkManager[11454]:SCPlugin-Ifupdown: device added (path: 
/sys/devices/pci:00/:00:1c.3/:04:00.0/net/wlan0, iface: wlan0): no 
ifupdown configuration found.
NetworkManager[11454]:SCPlugin-Ifupdown: devices added (path: 
/sys/devices/virtual/net/lo, iface: lo)
NetworkManager[11454]:SCPlugin-Ifupdown: device added (path: 
/sys/devices/virtual/net/lo, iface: lo): no ifupdown configuration found.
NetworkManager[11454]:SCPlugin-Ifupdown: end _init.
NetworkManager[11454]: info Loaded plugin ifupdown: (C) 2008 Canonical Ltd.  
To report bugs please use the NetworkManager mailing list.
NetworkManager[11454]: info Loaded plugin keyfile: (c) 2007 - 2010 Red Hat, 
Inc.  To report bugs please use the NetworkManager mailing list.

(NetworkManager:11454): GLib-GObject-CRITICAL **: Object class
SCPluginOfono doesn't implement property 'name' from interface
'NMSystemConfigInterface'

(NetworkManager:11454): GLib-GObject-CRITICAL **: Object class
SCPluginOfono doesn't implement property 'info' from interface
'NMSystemConfigInterface'

(NetworkManager:11454): GLib-GObject-CRITICAL **: Object class
SCPluginOfono doesn't implement property 'hostname' from interface
'NMSystemConfigInterface'

(NetworkManager:11454): GLib-GObject-CRITICAL **: Object class SCPluginOfono 
doesn't implement property 'capabilities' from interface 
'NMSystemConfigInterface'
NetworkManager[11454]:SCPlugin-Ofono: Acquired D-Bus service 
com.canonical.NMOfono
NetworkManager[11454]:SCPlugin-Ofono: init!

(NetworkManager:11454): GLib-CRITICAL **: g_dir_read_name: assertion 'dir != 
NULL' failed
NetworkManager[11454]:SCPlugin-Ofono: end _init.

(NetworkManager:11454): GLib-GObject-WARNING **: g_object_get_valist: object 
class 'SCPluginOfono' has no property named 'name'
NetworkManager[11454]: info Loaded plugin (null): (null)
NetworkManager[11454]:Ifupdown: get unmanaged devices count: 0
NetworkManager[11454]:SCPlugin-Ifupdown: (7663872) ... get_connections.
NetworkManager[11454]:SCPlugin-Ifupdown: (7663872) ... get_connections 
(managed=false): return empty list.
NetworkManager[11454]:keyfile: parsing CarreDor ... 
NetworkManager[11454]:keyfile: read connection 'CarreDor'
NetworkManager[11454]:keyfile: parsing kyriad chambres ... 
NetworkManager[11454]: file nm-utils.c: line 2584 (nm_utils_hwaddr_type): 
should not be reached
NetworkManager[11454]: file nm-utils.c: line 2584 (nm_utils_hwaddr_type): 
should not be reached
NetworkManager[11454]: read_field: assertion '**current' failed

Program received signal SIGSEGV, Segmentation fault.
0x004aec93 in read_one_ip_address_or_route (route=0, ipv6=0, 
key_name=0x76a130 addresses, setting_name=0x76a090 ipv4, file=0x71f5e0) at 
reader.c:293
293 reader.c: No such file or directory.

(gdb) bt
#0  0x004aec93 in read_one_ip_address_or_route (route=0, ipv6=0, 
key_name=0x76a130 addresses, setting_name=0x76a090 ipv4, file=0x71f5e0) at 
reader.c:293
#1  ip_address_or_route_parser (setting=0x75f8f0, key=optimized out, 
keyfile=0x71f5e0, keyfile_path=optimized out) at reader.c:394
#2  0x004ae34d in read_one_setting_value 
(setting=setting@entry=0x75f8f0, key=optimized out, 
value=value@entry=0x7fffd4f0, flags=optimized out, 
user_data=user_data@entry=0x7fffd580) at reader.c:977
#3  0x77b91c58 in nm_setting_enumerate_values 
(setting=setting@entry=0x75f8f0, func=func@entry=0x4ae1d0 

[Bug 1241590] Re: NetworkManager daemon segfaults on start in read_one_ip_address_or_route

2013-10-18 Thread Matthias Kretz
The lines
addresses=
routes=
in [ipv4] lead to the crash.

I tried to attach a file, but Launchpad ignores me...

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

Title:
  NetworkManager daemon segfaults on start in
  read_one_ip_address_or_route

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1241590/+subscriptions

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


[Bug 1173091] Re: skype crashes because malloc in libGL from fglrx is resolved incorrectly

2013-05-01 Thread Matthias Kretz
the updated skype package does not show this problem anymore

** Changed in: eglibc (Ubuntu)
   Status: Confirmed = Invalid

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

Title:
  skype crashes because malloc in libGL from fglrx is resolved
  incorrectly

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

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


[Bug 1173091] [NEW] skype crashes because malloc in libGL from fglrx is resolved incorrectly

2013-04-26 Thread Matthias Kretz
Public bug reported:

After the update to Raring Skype doesn't start anymore. This is the
backtrace:

Starting program: /usr/bin/skype 
[...]
Program received signal SIGSEGV, Segmentation fault.
0x08075f40 in malloc@plt ()
(gdb) bt
#0  0x08075f40 in malloc@plt ()
#1  0xf40dbe0e in ?? () from /usr/lib32/fglrx/libGL.so.1
#2  0xf40a815d in ?? () from /usr/lib32/fglrx/libGL.so.1
#3  0xf7feb1d5 in ?? () from /lib/ld-linux.so.2
#4  0xf7feb2fc in ?? () from /lib/ld-linux.so.2
#5  0xf7fdd1df in ?? () from /lib/ld-linux.so.2

relevant entries from /proc/pid/maps:
08048000-09ac4000 rwxp  fc:02 918326 
/usr/bin/skype
f405c000-f4128000 r-xp  fc:02 923545 
/usr/lib32/fglrx/libGL.so.1.2
f7fdc000-f7ffc000 r-xp  fc:02 4720042
/lib/i386-linux-gnu/ld-2.17.so

The disassembly at 0x08075f40 shows:
   0x08075f40 +0: cmp%bl,0xd(%ebx,%eiz,8)
   0x08075f44 +4: out%al,(%dx)
   0x08075f45 +5: lods   %ds:(%esi),%eax
   0x08075f46 +6: jecxz  0x8075f85 _ZN8QWebPage11qt_metacastEPKc@plt+5
   0x08075f48 +8: and$0xc3d4ec67,%eax
   0x08075f4d +13:sub$0xb1f62b1a,%eax

... which looks very wrong to me.

objdump -T /usr/bin/skype shows the following:
08075f40  DF *UND*    GLIBC_2.0   malloc

Let me know if I can provide more information.

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: libc6:i386 2.17-0ubuntu5
ProcVersionSignature: Ubuntu 3.8.0-19.29-generic 3.8.8
Uname: Linux 3.8.0-19-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 2.9.2-0ubuntu8
Architecture: amd64
Date: Fri Apr 26 10:44:28 2013
InstallationDate: Installed on 2012-11-07 (169 days ago)
InstallationMedia: Kubuntu 12.10 Quantal Quetzal - Release amd64 (20121017.1)
MarkForUpload: True
PackageArchitecture: i386
SourcePackage: eglibc
UpgradeStatus: Upgraded to raring on 2013-04-25 (0 days ago)

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


** Tags: apport-bug i386 raring

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

Title:
  skype crashes because malloc in libGL from fglrx is resolved
  incorrectly

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

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


[Bug 1092853] [NEW] mountall fails to handle noearly crypt disk correctly and displays error

2012-12-21 Thread Matthias Kretz
Public bug reported:

I have the following setup:
/boot unencrypted
/ and swap in LVM over encryption with luks
/data encrypted with key stored on / (no LVM, filesystem is directly created on 
/dev/mapper/data

/etc/crypttab contains this line:
data /dev/sdb /sdb.key size=...,cipher=...,hash=...,noearly

The noearly is necessary because the key /sdb.key is in an LVM
partition.

Now, on boot I always get the message
Serious errors were found while checking the disk drive for /data Ignore, 
Skip or Manual recovery

I always press I because everything works just fine. I don't know yet what 
causes mountall to think that there's a problem, but a manual fsck on 
/dev/mapper/data shows that there is no problem. So I assume it has something 
to do with the block device appearing rather late in the bootup?
/etc/fstab looks like this:
UUID=9d44a5d2-9b21-40f4-9799-6f51d221810b /dataext4  defaults   
   0   2

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: mountall 2.42ubuntu0.2
ProcVersionSignature: Ubuntu 3.5.0-21.32-generic 3.5.7.1
Uname: Linux 3.5.0-21-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 2.6.1-0ubuntu9
Architecture: amd64
Date: Fri Dec 21 11:34:56 2012
InstallationDate: Installed on 2012-11-07 (43 days ago)
InstallationMedia: Kubuntu 12.10 Quantal Quetzal - Release amd64 (20121017.1)
MarkForUpload: True
SourcePackage: mountall
UpgradeStatus: No upgrade log present (probably fresh install)

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


** Tags: amd64 apport-bug quantal

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

Title:
  mountall fails to handle noearly crypt disk correctly and displays
  error

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

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


[Bug 893550] Re: Oneiric fails to boot after upgrade from Natty if /etc/fstab contains a cgroup mount entry

2012-11-15 Thread Matthias Kretz
Sorry, I won't be able to find the time to test this.

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

Title:
  Oneiric fails to boot after upgrade from Natty if /etc/fstab contains
  a cgroup mount entry

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libcgroup/+bug/893550/+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 893550] Re: Oneiric fails to boot after upgrade from Natty if /etc/fstab contains a cgroup mount entry

2012-11-15 Thread Matthias Kretz
Sorry, I won't be able to find the time to test this.

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

Title:
  Oneiric fails to boot after upgrade from Natty if /etc/fstab contains
  a cgroup mount entry

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

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


[Bug 1072180] Re: initramfs fails to mount LUKS root partition after upgrade to Quantal

2012-11-07 Thread Matthias Kretz
I did a new install of 12.10 and experienced the same bug. I found a
simple workaround: Create an empty file /etc/initramfs-
tools/conf.d/cryptroot . Afterwards mkinitramfs will do the right thing
and fill this file with the right data.

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

Title:
  initramfs fails to mount LUKS root partition after upgrade to Quantal

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

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


[Bug 1072600] [NEW] cronjobs not called with upstart and remote user authentication

2012-10-29 Thread Matthias Kretz
Public bug reported:

I cannot reopen #734693, so here's a new report. Apparently the fix for
#734693 only applies to the SysV init script, but not to the upstart
config. All my Ubuntu installations use upstart - so the issue is not
solved yet.

** Affects: cron (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/1072600

Title:
  cronjobs not called with upstart and remote user authentication

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

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


[Bug 734693] Re: Cron does not work for LDAP-users

2012-10-18 Thread Matthias Kretz
Hi,

we're running 11.04 on a system and cron fails to work correctly, showing the 
following error in the log:
cron[1067]: (mkretz) ORPHAN (no passwd entry)
The user is certainly in the LDAP - and sometimes the users crontab works as 
expected. So there still is a race in the startup scripts in 11.04. It sounds 
to me like the issue should be fixed?

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

Title:
  Cron does not work for LDAP-users

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

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


[Bug 1007449] Re: package redmine 1.3.2+dfsg1-1ubuntu1 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 2

2012-08-14 Thread Matthias Kretz
I just encountered this problem (but with mysql running). mkdir
/usr/share/redmine/tmp made the script work. In my case the tmp
directory was required by the gitosis redmine plugin.

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

Title:
  package redmine 1.3.2+dfsg1-1ubuntu1 failed to install/upgrade:
  ErrorMessage: subprocess installed post-installation script returned
  error exit status 2

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

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


[Bug 876146] Re: Upgrading Ubuntu is risky (unusable or unbootable PC). What can be done to safeguard data, revert failed upgrades and overall reduce the risks?

2012-01-30 Thread Matthias Kretz
Hi, question: How does the upgrade QA work? Does it rely solely on users
that do the upgrade at Alpha and Beta stages? Do you have a simple way
to repeat upgrade processes to test the progress of stabilization?

Actually I'd be happy to do upgrade tests (especially since my experience is 
that something always breaks). This scenario could work for me:
* Alpha/Beta is announced
* When I know I won't need my computer for the next few hours I will tell it to 
do a test upgrade
* The upgrade process creates a bootable USB key or CD to restore the system 
later
* First it tests whether this restore system boots, only if this works does the 
upgrade proceed
* After the upgrade is done I can check for problems and report them (this must 
be automated as much as possible)
* When done, I reboot into the restore CD/USB and get my old system back
* If I get notified that some of my issues should be fixed I can repeat the 
process to verify

Except for bootloader issues this should be easily possible given enough
space on the harddrive...

PS: I installed Ubuntu for a friend and when the popup appeared that a
distribution upgrade is available, the first thing I did was call my
friend and tell him to not click that button - I was just in time to
stop him (and I'm happy I did - two out of two Oneiric upgrades broke
for me. I couldn't reserve enough time yet for the remaining computers
that want to upgrade.).

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

Title:
  Upgrading Ubuntu is risky (unusable or unbootable PC). What can be
  done to safeguard data, revert failed upgrades and overall reduce the
  risks?

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

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


[Bug 893550] [NEW] Oneiric fails to boot after upgrade from Natty if /etc/fstab contains a cgroup mount entry

2011-11-22 Thread Matthias Kretz
Public bug reported:

I used LXC on this machine. Therefore I had to add a cgroup mount and added the 
recommended line
none /cgroup cgroup defaults 0 0
to /etc/fstab. This results in an unbootable system after upgrade to Oneiric. 
Apparently the boot just stops when it comes to mounting the entries in 
/etc/fstab.

I would expect that either
a) the system doesn't hang when this is added to /etc/fstab
b) on upgrade the package detects this condition and removes/comments the 
according line in /etc/fstab so that the system is still bootable.

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

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

Title:
  Oneiric fails to boot after upgrade from Natty if /etc/fstab contains
  a cgroup mount entry

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libcgroup/+bug/893550/+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 893550] Re: Oneiric fails to boot after upgrade from Natty if /etc/fstab contains a cgroup mount entry

2011-11-22 Thread Matthias Kretz
I confirm that cgroup-lite is installed. That's also the package which I
reported the bug against in launchpad. Seems to be a launchpad feature
to hide that information. ;-)

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

Title:
  Oneiric fails to boot after upgrade from Natty if /etc/fstab contains
  a cgroup mount entry

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libcgroup/+bug/893550/+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 893550] Re: Oneiric fails to boot after upgrade from Natty if /etc/fstab contains a cgroup mount entry

2011-11-22 Thread Matthias Kretz
The patch looks like a good solution to me.

As admin I would appreciate a warning somewhere though. Probably best if
it goes to syslog.

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

Title:
  Oneiric fails to boot after upgrade from Natty if /etc/fstab contains
  a cgroup mount entry

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libcgroup/+bug/893550/+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 893550] [NEW] Oneiric fails to boot after upgrade from Natty if /etc/fstab contains a cgroup mount entry

2011-11-22 Thread Matthias Kretz
Public bug reported:

I used LXC on this machine. Therefore I had to add a cgroup mount and added the 
recommended line
none /cgroup cgroup defaults 0 0
to /etc/fstab. This results in an unbootable system after upgrade to Oneiric. 
Apparently the boot just stops when it comes to mounting the entries in 
/etc/fstab.

I would expect that either
a) the system doesn't hang when this is added to /etc/fstab
b) on upgrade the package detects this condition and removes/comments the 
according line in /etc/fstab so that the system is still bootable.

** Affects: libcgroup (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/893550

Title:
  Oneiric fails to boot after upgrade from Natty if /etc/fstab contains
  a cgroup mount entry

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

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


[Bug 893550] Re: Oneiric fails to boot after upgrade from Natty if /etc/fstab contains a cgroup mount entry

2011-11-22 Thread Matthias Kretz
I confirm that cgroup-lite is installed. That's also the package which I
reported the bug against in launchpad. Seems to be a launchpad feature
to hide that information. ;-)

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

Title:
  Oneiric fails to boot after upgrade from Natty if /etc/fstab contains
  a cgroup mount entry

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

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


[Bug 893550] Re: Oneiric fails to boot after upgrade from Natty if /etc/fstab contains a cgroup mount entry

2011-11-22 Thread Matthias Kretz
The patch looks like a good solution to me.

As admin I would appreciate a warning somewhere though. Probably best if
it goes to syslog.

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

Title:
  Oneiric fails to boot after upgrade from Natty if /etc/fstab contains
  a cgroup mount entry

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

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


[Bug 780551] Re: incorrect interface in avxintrin.h

2011-06-01 Thread Matthias Kretz
A distributer macro for GCC was discussed at
http://gcc.gnu.org/ml/gcc/2011-05/msg00275.html . Result of the
discussion was, that Nathan Sidwell already created a very simple patch
against 4.5 that enables this via the --with-specs configure switch.
This is already available in the code-base of the Ubuntu package, so the
only thing missing was proper use of the switch.

I implemented a small change to the build rules, that determines the
Ubuntu version and package patch-level and then defines the macro as
suggested in my initial mail to the GCC list. I.e. the code from the
initial post can now check for

#if defined(__GNUC_UBUNTU_VERSION__)  __GNUC_UBUNTU_VERSION__ ==
0xd0409

** Patch added: packager-define.patch
   
https://bugs.launchpad.net/ubuntu/+source/gcc-4.5/+bug/780551/+attachment/2151162/+files/packager-define.patch

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

Title:
  incorrect interface in avxintrin.h

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


[Bug 780551] Re: incorrect interface in avxintrin.h

2011-05-25 Thread Matthias Kretz
I can understand your standpoint. But I'm sure you can understand that I
find this highly unsatisfactory.

But what I would really like to discuss is what measures you're taking
that this is not going to happen again? Are you looking into a macro
that can identify the distribution (I'd be happy to support you in
getting such a feature integrated upstream)?

What is required, from my view as library developer, is really a bug-by-
bug compatibility between compilers with the same version. Everything
else is a nightmare to support.

And yes, other distris are also patching their GCCs. So I'd be happy to
get this discussion going for all distributions...

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

Title:
  incorrect interface in avxintrin.h

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


[Bug 780551] Re: incorrect interface in avxintrin.h

2011-05-25 Thread Matthias Kretz
I agree that it is much nicer to be able to use feature tests/macros
instead of compiler-version ifdefs. But library headers really don't
have any other way to work around compiler bugs or use new compiler
features. One can not expect from library users that they will correctly
define all required feature macros.

Regarding the development of distri compiler specifc code: I don't
believe the macro would get much use other than the __GNUC_PATCHLEVEL__
macro gets. Are you afraid of developers trying to cripple a distri they
don't like? Can you come up with a scenario where a developer would make
use of a distri specific define resulting in breakage on other distris?
I find this very hard to imagine. (Yes, there are developers that do
lots of stupid things, but the only thing to keep them from breaking
stuff is to have them stop programming. ;-) )

I understood you don't want to change the gcc 4.5.2 package at all? I'd
be happy for any, whatsoever small update to Natty gcc-4.5 that makes it
possible to work around the bug. So if you were to add the
_MM_MASKSTORE_PS_NEEDS_NATTY_WORKAROUND define that would be a welcome
help. I don't care much for how bad the ifdefs become. I can put that
logic in an extra code section which defines my feature macros...

But I'd hate for these things to only be fixable after a lengthy
discussion on a bugtracker, which is why I'd really like to have a macro
do determine the differences from the vanilla GCC release. These kind of
incompatibilities happened before and will happen again.

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

Title:
  incorrect interface in avxintrin.h

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


Re: [Bug 780551] Re: incorrect interface in avxintrin.h

2011-05-25 Thread Matthias Kretz
On Wednesday 25 May 2011 15:18:57 Andrew Stubbs wrote:
 Never ascribe to malice that which can be adequately explained by
 incompetence! I forgot who said (something like) that, but it's
 certainly true in programming.

:) sure. Just checking what you meant by your previous statement.
 
 I know I've done things the lazy way, or misunderstood how to use things
 enough times myself, so I'm not going to trust others to be perfect.

Yeah, I agree with that. But with that argument you can basically shoot down 
any progress, because somebody might not be able to understand and apply it 
correctly. That's why I asked whether you can come up with an example of how 
the availability of a macro, which identifies the distribution, could lead to 
additional bugs. I just can't come up with anything.

 The code is frozen for anything but bug fixes, and even those have to be
 serious ones, I think. Adding a macro to a header is probably OK
 (Matthias?), but updating to 4.5.3 is out of the question.

Yeah, well. It's something I have never really understood about distributions. 
Upstream can be as throrough as they want in doing only bug-fixes in their 
patchlevel releases. Still there's this rule that the version number in 
released distributions may not change, even if it's all bug-fixes. So 
distribution users have to wait for the next distribution version for a fix 
(and new bugs: because often the minor or major version changed in the 
meantime) or use unsupported packages/compile from sources.
 
 I could add some sort of identifier to Linaro GCC, and Ubuntu GCC would
 pick that up.
 
 But, so would half a dozen other distros (mostly embedded, I think).
 Each then add their own patches on top of that, potentially. These
 patches will fix bugs, add features, add bugs, and change random things
 to taste.
 
 Does the Linaro identifier now mean anything? No, no more so than the
 GNU macros are working for you now.

Understood. But then I'd just call this badly implemented.

Every release (i.e. an update of a package is a new release; a different 
architecture OTOH is not a different release, because it's a well-defined 
difference) needs to be able to identify itself in some way.

Concrete ideas:
__GNUC_DISTRIBUTOR__: Ubuntu
__GNUC_DISTRIBUTOR_VERSION__: 1104
__GNUC_DISTRIBUTOR_PATCHLEVEL__: 8

Those macros ideally would become part of GCC proper and the values be 
settable via configure switches. I believe this scheme would solve all my 
problems and be understandable enough to both packagers and developers.

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

Title:
  incorrect interface in avxintrin.h

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


[Bug 780551] Re: incorrect interface in avxintrin.h

2011-05-19 Thread Matthias Kretz
** Patch added: reverted source incompatilbe AVX interface change
   
https://bugs.launchpad.net/ubuntu/+source/gcc-4.5/+bug/780551/+attachment/2134996/+files/gcc-linaro.diff

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

Title:
  incorrect interface in avxintrin.h

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


[Bug 780551] Re: incorrect interface in avxintrin.h

2011-05-19 Thread Matthias Kretz
#4 should give you an idea what needs to be fixed. Sadly it's not good
enough as it results in an ICE now. The Ubuntu GCC is so heavily patched
that I find it very hard to get this right. A helping hand with more
experience would be sooo welcome!

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

Title:
  incorrect interface in avxintrin.h

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


[Bug 780551] Re: incorrect interface in avxintrin.h

2011-05-19 Thread Matthias Kretz
Vanilla GCC 4.5.3 also has this source incompatible interface change in
avxintrin.h. But, and this is very important, it has a different
__GNUC_PATCHLEVEL__. Thus, code can use the correct interface with a
simple #ifdef. Therefore, I consider the change in GCC 4.5.3 bad, but
ok. (IMHO a source incompatible change should not have happened in a
patch release of GCC.)

All I'm trying to do, is to revert this one source incompatible change to 
avxintrin.h in the Ubuntu GCC. I'm now trying a different approach. I want to 
keep the patches in debian/patches unchanged but add another patch that reverts 
the problematic part of gcc-linaro.diff. This should be the patch:
svn diff -c -168900 svn://gcc.gnu.org/svn/gcc/branches/gcc-4_5-branch

But it doesn't apply right away. If you can help me get this into the
set of patches (or removed from gcc-linaro.diff), that'd be great.

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

Title:
  incorrect interface in avxintrin.h

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


[Bug 780551] Re: incorrect interface in avxintrin.h

2011-05-19 Thread Matthias Kretz
testing this patch now, it reverts the r168900 commit (after gcc-
linaro.diff applies it)

** Patch added: restore-avxintrin-compatibility.diff
   
https://bugs.launchpad.net/ubuntu/+source/gcc-4.5/+bug/780551/+attachment/2135139/+files/restore-avxintrin-compatibility.diff

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

Title:
  incorrect interface in avxintrin.h

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


[Bug 780551] Re: incorrect interface in avxintrin.h

2011-05-19 Thread Matthias Kretz
I don't understand what you mean? What was reverted on what branch?

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

Title:
  incorrect interface in avxintrin.h

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


[Bug 780551] Re: incorrect interface in avxintrin.h

2011-05-19 Thread Matthias Kretz
#8 is not enough. But I don't understand why. This is the error now:
/usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5.2/include/avxintrin.h: In 
function '__vector(2) double _mm_maskload_pd(const double*, __vector(2) 
double)':
/usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5.2/include/avxintrin.h:896:23:
 error: cannot convert '__vector(2) double' to '__vector(2) long long int' for 
argument '2' to '__vector(2) double __builtin_ia32_maskloadpd(const __vector(2) 
double*, __vector(2) long long int)'


 
/usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5.2/include/avxintrin.h: In 
function 'void _mm_maskstore_pd(double*, __vector(2) double, __vector(2) 
double)':
/usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5.2/include/avxintrin.h:902:70:
 error: cannot convert '__vector(2) double' to '__vector(2) long long int' for 
argument '2' to 'void __builtin_ia32_maskstorepd(__vector(2) double*, 
__vector(2) long long int, __vector(2) double)'
[...]

So the _mm*mask{load,store}* instrinsics are correct now, but the
__buitin_ia32_mask{load,store}* functions still have the wrong
interface. There must be another commit that did this?

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

Title:
  incorrect interface in avxintrin.h

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


[Bug 780551] Re: incorrect interface in avxintrin.h

2011-05-19 Thread Matthias Kretz
Sorry, false alarm. The patch works perfectly. The error was due to
something with icecc not getting properly updated. With icecc disabled
all compiles as expected.

To enable the patch I added a line to debian/rules.patch. After line 20 add
$(if $(with_linaro_branch),restore-avxintrin-compatibility) \

and save the file in #8 to debian/patches.

This restores API compatiblity to GCC 4.5.2 and thus resolves this bug.

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

Title:
  incorrect interface in avxintrin.h

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


[Bug 780551] Re: incorrect interface in avxintrin.h

2011-05-18 Thread Matthias Kretz
I just went through the list at http://gcc.gnu.org/onlinedocs/cpp
/Common-Predefined-Macros.html and there's nothing that can help me
distinguish the Ubuntu GCC vs. a vanilla GCC 4.5.2.

I also looked through the gcc-4.5.2 package sources, whether I would be
able to create a custom package that doesn't have the bug. But the patch
system in the GCC package is a little too complicated. I don't want to
spend hours on this.

Please, at least give me a helping hand in creating a corrected GCC
package for Natty. Even if you don't care about source compatibility...
This is just too annoying to my development work-flow.

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

Title:
  incorrect interface in avxintrin.h

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


[Bug 780551] Re: incorrect interface in avxintrin.h

2011-05-18 Thread Matthias Kretz
** Description changed:

  Binary package hint: gcc-4.5
  
  The following code compiles with vanilla GCC:
  __m128 m, x;
  float *mem;
  #if defined(__GNUC__)  __GNUC__ == 4  (__GNUC_MINOR__  5 || 
(__GNUC_MINOR__ == 5  __GNUC_PATCHLEVEL__ = 2))
  _mm_maskstore_ps(mem, m, x);
  #else
  _mm_maskstore_ps(mem, _mm_castps_si128(m), x);
  #endif
  
  It fails to compile on Ubuntu because the interface of _mm_maskstore_ps was 
changed to the interface of GCC 4.5.3, but the version number was kept at 4.5.2.
  Which macro does Ubuntu GCC provide to check for this?
  
  For what it's worth, I believe this patch should be reverted in the GCC
  package, though it's probably too late already. I'd hope the updates to
  the gcc package would be good enough, though. Or consider to upgrade to
  4.5.3 completely.
  
  Also, just to add a bit of perspective: I do nightly builds of a
  software project where GCC snapshots between even patch levels often
  exhibit miscompilations. I don't see how a distribution could sensibly
  take any patches from GCC between releases and release that as a given
- GCC package. A distribution has the means to ensure that everything
- compiles, but that it executes correctly...?
+ GCC package. A distribution has the means to ensure that its own
+ packages compile, but that it executes correctly...? In this case you
+ broke source compatibility without any means to distinguish the
+ interface version. Since it only affects development for AVX it is no
+ wonder that you don't notice. That hopefully doesn't imply that you
+ don't care...
  
  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: gcc 4:4.5.2-1ubuntu3
  ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
  Uname: Linux 2.6.38-8-generic x86_64
  NonfreeKernelModules: nvidia
  Architecture: amd64
  Date: Tue May 10 16:13:13 2011
  InstallationMedia: Kubuntu 11.04 Natty Narwhal - Release amd64 (20110426.3)
  ProcEnviron:
-  LANGUAGE=en_US:en
-  PATH=(custom, user)
-  LANG=en_US.UTF-8
-  SHELL=/bin/zsh
+  LANGUAGE=en_US:en
+  PATH=(custom, user)
+  LANG=en_US.UTF-8
+  SHELL=/bin/zsh
  SourcePackage: gcc-defaults
  UpgradeStatus: No upgrade log present (probably fresh install)

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

Title:
  incorrect interface in avxintrin.h

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

[Bug 783835] Re: atd fails to execute jobs in a timely manner after sleep/hibernation

2011-05-17 Thread Matthias Kretz
-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/783835

Title:
  atd fails to execute jobs in a timely manner after sleep/hibernation

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


[Bug 783835] [NEW] atd fails to execute jobs in a timely manner after sleep/hibernation

2011-05-17 Thread Matthias Kretz
Public bug reported:

Binary package hint: at

How to reproduce:
put a job into atd. E.g.
% echo date  /tmp/atd.stamp|at 11:00
Then put the computer to sleep. After wakeup, the job will not execute at 11:00 
anymore - or if that time has already passed, it should execute right away, but 
often takes 0.5h or more.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: at 3.1.12-1ubuntu2
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Tue May 17 09:02:51 2011
InstallationMedia: Kubuntu 11.04 Natty Narwhal - Release amd64 (20110426.3)
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/zsh
SourcePackage: at
UpgradeStatus: No upgrade log present (probably fresh install)

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


** Tags: amd64 apport-bug natty

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

Title:
  atd fails to execute jobs in a timely manner after sleep/hibernation

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


[Bug 783835] Re: atd fails to execute jobs in a timely manner after sleep/hibernation

2011-05-17 Thread Matthias Kretz
Attached is a solution to the problem. It might be better to fix it in
atd itself (i.e. use something different than sleep, or install a signal
handler).

** Attachment added: /etc/pm/sleep.d/ script to fix the problem
   
https://bugs.launchpad.net/ubuntu/+source/at/+bug/783835/+attachment/2131941/+files/20_wakeup-atd

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

Title:
  atd fails to execute jobs in a timely manner after sleep/hibernation

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


[Bug 780551] Re: incorrect interface in avxintrin.h

2011-05-17 Thread Matthias Kretz
Hi,
any thoughts on this? I will have to make library releases that do not compile 
on Natty unless you can look into this with me.

Thanks.

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

Title:
  incorrect interface in avxintrin.h

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


[Bug 780551] [NEW] incorrect interface in avxintrin.h

2011-05-10 Thread Matthias Kretz
Public bug reported:

Binary package hint: gcc-4.5

The following code compiles with vanilla GCC:
__m128 m, x;
float *mem;
#if defined(__GNUC__)  __GNUC__ == 4  (__GNUC_MINOR__  5 || 
(__GNUC_MINOR__ == 5  __GNUC_PATCHLEVEL__ = 2))
_mm_maskstore_ps(mem, m, x);
#else
_mm_maskstore_ps(mem, _mm_castps_si128(m), x);
#endif

It fails to compile on Ubuntu because the interface of _mm_maskstore_ps was 
changed to the interface of GCC 4.5.3, but the version number was kept at 4.5.2.
Which macro does Ubuntu GCC provide to check for this?

For what it's worth, I believe this patch should be reverted in the GCC
package, though it's probably too late already. I'd hope the updates to
the gcc package would be good enough, though. Or consider to upgrade to
4.5.3 completely.

Also, just to add a bit of perspective: I do nightly builds of a
software project where GCC snapshots between even patch levels often
exhibit miscompilations. I don't see how a distribution could sensibly
take any patches from GCC between releases and release that as a given
GCC package. A distribution has the means to ensure that everything
compiles, but that it executes correctly...?

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: gcc 4:4.5.2-1ubuntu3
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Tue May 10 16:13:13 2011
InstallationMedia: Kubuntu 11.04 Natty Narwhal - Release amd64 (20110426.3)
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/zsh
SourcePackage: gcc-defaults
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: gcc-4.5 (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-bug natty

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

Title:
  incorrect interface in avxintrin.h

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


[Bug 780551] Re: incorrect interface in avxintrin.h

2011-05-10 Thread Matthias Kretz
-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/780551

Title:
  incorrect interface in avxintrin.h

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


[Bug 775586] Re: Gimp Crashes on Startup with Segmentation Fault

2011-05-03 Thread Matthias Kretz
I worked around the problem by changing the GTK_ Appearance - Widget
style to Raleigh instead of the preselected oxygen-gtk.

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

Title:
  Gimp Crashes on Startup with Segmentation Fault

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


[Bug 652766] [NEW] crash while writing to address -1

2010-10-01 Thread Matthias Kretz
Public bug reported:

Binary package hint: virtuoso-opensource

Apport reported a crash, but since it includes a core dump I will not
send the report from there. :-(

Segfault at $rip = 0x7c41b4: movq $0x,
0x

- It seems the code jumps to a code path it should never have reached.
Interesting way to crash...

The stack trace is rather useless anyway, so I won't copy it here.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: virtuoso-opensource-6.1-bin 6.1.2+dfsg1-1ubuntu4
ProcVersionSignature: Ubuntu 2.6.35-22.33-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Fri Oct  1 09:23:19 2010
EcryptfsInUse: Yes
InstallationMedia: Kubuntu 10.04 LTS Lucid Lynx - Release amd64 (20100427)
ProcEnviron:
 LANGUAGE=
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/zsh
SourcePackage: virtuoso-opensource

** Affects: virtuoso-opensource (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-bug maverick

-- 
crash while writing to address -1
https://bugs.launchpad.net/bugs/652766
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 652766] Re: crash while writing to address -1

2010-10-01 Thread Matthias Kretz

** Attachment added: Dependencies.txt
   
https://bugs.launchpad.net/bugs/652766/+attachment/1661736/+files/Dependencies.txt

-- 
crash while writing to address -1
https://bugs.launchpad.net/bugs/652766
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 652436] [NEW] Could not install 'initramfs-tools' while upgrading from 10.04 to 10.10

2010-09-30 Thread Matthias Kretz
Public bug reported:

Binary package hint: initramfs-tools

Sorry, this is all the information the logs and error dialog provide:
subprocess installed post-installation script returned error exit
status 1

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

-- 
Could not install 'initramfs-tools' while upgrading from 10.04 to 10.10
https://bugs.launchpad.net/bugs/652436
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 652492] [NEW] Could not install 'nspluginwrapper' while upgrading from 10.04 to 10.10

2010-09-30 Thread Matthias Kretz
Public bug reported:

Binary package hint: nspluginwrapper

subprocess installed post-installation script returned error exit status
139

I also found this in the dmesg log:
kernel: [53954.090752] nspluginwrapper[13555]: segfault at 968 ip 
7f30604d4790 sp 7fff9f8a81f0 error 4 in 
libpthread-2.12.1.so[7f30604cf000+18000]

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

-- 
Could not install 'nspluginwrapper' while upgrading from 10.04 to 10.10
https://bugs.launchpad.net/bugs/652492
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 652492] Re: Could not install 'nspluginwrapper' while upgrading from 10.04 to 10.10

2010-09-30 Thread Matthias Kretz

** Attachment added: apt.log
   
https://bugs.launchpad.net/ubuntu/+source/nspluginwrapper/+bug/652492/+attachment/1659916/+files/apt.log

-- 
Could not install 'nspluginwrapper' while upgrading from 10.04 to 10.10
https://bugs.launchpad.net/bugs/652492
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 652492] Re: Could not install 'nspluginwrapper' while upgrading from 10.04 to 10.10

2010-09-30 Thread Matthias Kretz

** Attachment added: history.log
   
https://bugs.launchpad.net/ubuntu/+source/nspluginwrapper/+bug/652492/+attachment/1659939/+files/history.log

-- 
Could not install 'nspluginwrapper' while upgrading from 10.04 to 10.10
https://bugs.launchpad.net/bugs/652492
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 652492] Re: Could not install 'nspluginwrapper' while upgrading from 10.04 to 10.10

2010-09-30 Thread Matthias Kretz

** Attachment added: lspci.txt
   
https://bugs.launchpad.net/ubuntu/+source/nspluginwrapper/+bug/652492/+attachment/1659944/+files/lspci.txt

-- 
Could not install 'nspluginwrapper' while upgrading from 10.04 to 10.10
https://bugs.launchpad.net/bugs/652492
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 652492] Re: Could not install 'nspluginwrapper' while upgrading from 10.04 to 10.10

2010-09-30 Thread Matthias Kretz

** Attachment added: main.log
   
https://bugs.launchpad.net/ubuntu/+source/nspluginwrapper/+bug/652492/+attachment/1659953/+files/main.log

-- 
Could not install 'nspluginwrapper' while upgrading from 10.04 to 10.10
https://bugs.launchpad.net/bugs/652492
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 652492] Re: Could not install 'nspluginwrapper' while upgrading from 10.04 to 10.10

2010-09-30 Thread Matthias Kretz

** Attachment added: term.log
   
https://bugs.launchpad.net/ubuntu/+source/nspluginwrapper/+bug/652492/+attachment/1659955/+files/term.log

-- 
Could not install 'nspluginwrapper' while upgrading from 10.04 to 10.10
https://bugs.launchpad.net/bugs/652492
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 652492] Re: Could not install 'nspluginwrapper' while upgrading from 10.04 to 10.10

2010-09-30 Thread Matthias Kretz

** Attachment added: system_state.tar.gz
   
https://bugs.launchpad.net/ubuntu/+source/nspluginwrapper/+bug/652492/+attachment/1659956/+files/system_state.tar.gz

-- 
Could not install 'nspluginwrapper' while upgrading from 10.04 to 10.10
https://bugs.launchpad.net/bugs/652492
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 652436] Re: Could not install 'initramfs-tools' while upgrading from 10.04 to 10.10

2010-09-30 Thread Matthias Kretz
update-initramfs: Generating /boot/initrd.img-2.6.35-22-generic
E: /usr/share/initramfs-tools/hooks/iscan failed with return 1.

I was able to get it going by removing the iscan package and
reinstalling it later again.

-- 
Could not install 'initramfs-tools' while upgrading from 10.04 to 10.10
https://bugs.launchpad.net/bugs/652436
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 652492] Re: Could not install 'nspluginwrapper' while upgrading from 10.04 to 10.10

2010-09-30 Thread Matthias Kretz
sudo apt-get remove myvr3dframework fixed my problem

-- 
Could not install 'nspluginwrapper' while upgrading from 10.04 to 10.10
https://bugs.launchpad.net/bugs/652492
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 557635] Re: Intel GMA X4500HD - LCD Brightness Control no longer works

2010-06-02 Thread Matthias Kretz
This seems to be the problem:

%lshal -l -u /org/freedesktop/Hal/devices/computer_backlight
udi = '/org/freedesktop/Hal/devices/computer_backlight'
[..]
  laptop_panel.brightness_in_hardware = true  (bool)

Thus PowerDevil/Solid only register the brightness key presses but don't
actually set the brightness as they expect the hardware to do this. Can
others with this problem confirm that this is the same issue for them or
do I have a different bug and should open a new report?

-- 
Intel GMA X4500HD - LCD Brightness Control no longer works
https://bugs.launchpad.net/bugs/557635
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 557635] Re: Intel GMA X4500HD - LCD Brightness Control no longer works

2010-06-02 Thread Matthias Kretz
Store the attached file to /etc/hal/fdi/information and your Samsung
NC10's brightness keys work again. This is a workaround only.

** Attachment added: 10-laptop-panel-hardware.fdi
   http://launchpadlibrarian.net/49574910/10-laptop-panel-hardware.fdi

-- 
Intel GMA X4500HD - LCD Brightness Control no longer works
https://bugs.launchpad.net/bugs/557635
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 581829] [NEW] misconfiguration results in error message: Can't open and lock privilege tables: Table 'mysql.servers' doesn't exist

2010-05-17 Thread Matthias Kretz
Public bug reported:

After cleaning the akonadi configuration in ~/.local/share/akonadi and
~/.config/akonadi the resulting default configuration results in the
following entries in the MySQL error log on Akonadi startup:

100517 14:45:14 [Warning] Can't open and lock time zone table: Table 
'mysql.time_zone_leap_second' doesn't exist trying to live without them
100517 14:45:14 [ERROR] Can't open and lock privilege tables: Table 
'mysql.servers' doesn't exist

AFAIU this is not fatal for Akonadi itself but it considers this as
problematic, thus refusing to work properly (graying out KAdressbook or
telling me that I don't have any writable resources).

Additionally I sometimes get a report that no resource agents were
found. Next time it's good again... I don't know if this might be
related or if it's a race condition in Akonadi itself - and thus an
upstream issue.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: akonadi-server 1.3.1-0ubuntu3
ProcVersionSignature: Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Mon May 17 18:53:10 2010
InstallationMedia: Kubuntu 10.04 LTS Lucid Lynx - Release i386 (20100427)
ProcEnviron:
 LANGUAGE=
 LANG=en_US.UTF-8
 SHELL=/bin/zsh
SourcePackage: akonadi

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


** Tags: apport-bug i386 lucid

-- 
misconfiguration results in error message: Can't open and lock privilege 
tables: Table 'mysql.servers' doesn't exist
https://bugs.launchpad.net/bugs/581829
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to akonadi in ubuntu.

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


[Bug 581829] Re: misconfiguration results in error message: Can't open and lock privilege tables: Table 'mysql.servers' doesn't exist

2010-05-17 Thread Matthias Kretz

** Attachment added: Dependencies.txt
   http://launchpadlibrarian.net/48613037/Dependencies.txt

-- 
misconfiguration results in error message: Can't open and lock privilege 
tables: Table 'mysql.servers' doesn't exist
https://bugs.launchpad.net/bugs/581829
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to akonadi in ubuntu.

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


[Bug 557635] Re: Intel GMA X4500HD - LCD Brightness Control no longer works

2010-04-30 Thread Matthias Kretz
Following behavior for me:
- Brightness keys show the OSD but don't change anything.
- Adjusting the slider in KDE4's battery applet does change the brightness
- changing the power profile in the battery applet also changes the brightness 
(as would be expected from the point above)
- volume keys work regardless of the use of the brightness keys

both keys do emit X11 keycodes, i.e. xev shows XF86MonBrightnessDown/-Up
and XF86AudioLowerVolume/...

VGA compatible controller: Intel Corporation Mobile 945GME Express Integrated 
Graphics Controller (rev 03)
Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express 
Integrated Graphics Controller (rev 03)

wild guess:
it seems that the keys work but just don't change the value enough to reach the 
next rounded step (e.g. the allowed values are 0..7 and BrightnessUp tries to 
change a range from 0..99 from 0 to 10, then getting mapped to the 0..7 range 
and 10 becomes 0).

-- 
Intel GMA X4500HD - LCD Brightness Control no longer works
https://bugs.launchpad.net/bugs/557635
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 484872] [NEW] cups in Hardy leaks file descriptors: too many open files

2009-11-18 Thread Matthias Kretz
Public bug reported:

Binary package hint: cupsys

Description:Ubuntu 8.04.3 LTS
Release:8.04

cupsys:
  Installed: 1.3.7-1ubuntu3.6
  Candidate: 1.3.7-1ubuntu3.6
  Version table:
 *** 1.3.7-1ubuntu3.6 0
500 http://de.archive.ubuntu.com hardy-updates/main Packages
500 http://security.ubuntu.com hardy-security/main Packages
100 /var/lib/dpkg/status
 1.3.7-1ubuntu3 0
500 http://de.archive.ubuntu.com hardy/main Packages

I have a cups server on one machine, connected to the printer via USB, and 
print jobs are always sent from other Linux computers in the network. This 
works for some time and then just stops until I restart CUPS like with:
% sudo /etc/init.d/cupsys restart
Often the document is then printed twice.

Today I investigated the error a bit and the CUPS error log shows:
D [18/Nov/2009:17:08:43 +0100] [Job 1615] job-sheets=none,none  

  
D [18/Nov/2009:17:08:43 +0100] [Job 1615] banner_page = 0   

  
D [18/Nov/2009:17:08:43 +0100] [Job 1615] argv[0]=Lexi

  
D [18/Nov/2009:17:08:43 +0100] [Job 1615] argv[1]=1615

  
D [18/Nov/2009:17:08:43 +0100] [Job 1615] argv[2]=mkretz  

  
D [18/Nov/2009:17:08:43 +0100] [Job 1615] argv[4]=1   

  
D [18/Nov/2009:17:08:43 +0100] [Job 1615] argv[5]=noCollate 
job-uuid=urn:uuid:dfa694b9-c90b-3989-7929-819576fe01f9 media=A4 number-up=2 
outputorder=normal portrait sides=one-sided
 
D [18/Nov/2009:17:08:43 +0100] [Job 1615] argv[6]=/var/spool/cups/d01615-001  

  
D [18/Nov/2009:17:08:43 +0100] [Job 1615] 
envp[0]=CUPS_CACHEDIR=/var/cache/cups 


D [18/Nov/2009:17:08:43 +0100] [Job 1615] 
envp[1]=CUPS_DATADIR=/usr/share/cups  


D [18/Nov/2009:17:08:43 +0100] [Job 1615] 
envp[2]=CUPS_DOCROOT=/usr/share/cups/doc-root 


D [18/Nov/2009:17:08:43 +0100] [Job 1615] 
envp[3]=CUPS_FONTPATH=/usr/share/cups/fonts   


D [18/Nov/2009:17:08:43 +0100] [Job 1615] 
envp[4]=CUPS_REQUESTROOT=/var/spool/cups  


D [18/Nov/2009:17:08:43 +0100] [Job 1615] 
envp[5]=CUPS_SERVERBIN=/usr/lib/cups  


D [18/Nov/2009:17:08:43 +0100] [Job 1615] envp[6]=CUPS_SERVERROOT=/etc/cups   

  
D [18/Nov/2009:17:08:43 +0100] [Job 1615] envp[7]=CUPS_STATEDIR=/var/run/cups 

  
D [18/Nov/2009:17:08:43 +0100] [Job 1615] 
envp[8]=PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin


D [18/Nov/2009:17:08:43 +0100] [Job 1615] 

[Bug 484872] Re: cups in Hardy leaks file descriptors: too many open files

2009-11-18 Thread Matthias Kretz

** Attachment added: lsof | grep cups
   http://launchpadlibrarian.net/35827362/lsof-cups

-- 
cups in Hardy leaks file descriptors: too many open files
https://bugs.launchpad.net/bugs/484872
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 112148] kernel BUG at kernel/workqueue.c:323!

2007-05-03 Thread Matthias Kretz
Public bug reported:

Binary package hint: linux-image-2.6.20-15-generic

This is a Samsung R65 laptop with the following hardware:

00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and 945GT 
Express Memory Controller Hub (rev 03)
00:01.0 PCI bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and 945GT 
Express PCI Express Root Port (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition 
Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 
(rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 
(rev 02)
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 
(rev 02)
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 
(rev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 
02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 
02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 
02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 
02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI 
Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge 
(rev 02)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller 
(rev 02)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation GeForce Go 7400 (rev a1)
03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network 
Connection (rev 02)
08:05.0 Ethernet controller: Broadcom Corporation BCM4401-B0 100Base-TX (rev 02)
08:09.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev b4)
08:09.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev 09)
08:09.2 Generic system peripheral [0805]: Ricoh Co Ltd R5C822 
SD/SDIO/MMC/MS/MSPro Host Adapter (rev 18)
08:09.3 System peripheral: Ricoh Co Ltd Unknown device 0843
08:09.4 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter 
(rev 09)
08:09.5 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 04)

I'm using the proprietary nvidia X driver and alsa drivers version
1.0.14rc3 because the drivers that are shipped with feisty don't work.

This is the relevant part from /var/log/syslog:

May  3 20:06:11 Epsilon3 dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 
67 interval 5
May  3 20:06:16 Epsilon3 dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 
67 interval 7
May  3 20:06:23 Epsilon3 dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 
67 interval 15
May  3 20:06:38 Epsilon3 dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 
67 interval 4
May  3 20:06:42 Epsilon3 dhclient: No DHCPOFFERS received.
May  3 20:06:42 Epsilon3 dhclient: No working leases in persistent database - 
sleeping.
May  3 20:06:47 Epsilon3 kernel: [42034.38] ipw3945: Microcode SW error 
detected.  Restarting.
May  3 20:06:47 Epsilon3 kernel: [42034.384000] ipw3945: request scan called 
when driver not ready.
May  3 20:06:49 Epsilon3 kernel: [42034.884000] ipw3945: Error sending ADD_STA: 
time out after 500ms.
May  3 20:06:49 Epsilon3 kernel: [42035.876000] ipw3945: Can't stop Rx DMA.
May  3 20:06:49 Epsilon3 kernel: [42035.988000] [ cut here 
]
May  3 20:06:49 Epsilon3 kernel: [42035.988000] kernel BUG at 
kernel/workqueue.c:323!
May  3 20:06:49 Epsilon3 kernel: [42035.988000] invalid opcode:  [#1]
May  3 20:06:49 Epsilon3 kernel: [42035.988000] SMP·
May  3 20:06:49 Epsilon3 kernel: [42035.988000] Modules linked in: ipv6 rfcomm 
l2cap bluetooth ppdev acpi_cpufreq cpufreq_stats cpufreq_userspace 
cpufreq_powersave cpufreq_conservative cpufreq_ondemand freq_table pcc_acpi 
dev_acpi sony_acpi tc1100_wmi sbs button battery container asus_acpi ac video 
dock backlight i2c_ec arc4 ecb blkcipher ieee80211_crypt_wep nls_utf8 ntfs xfs 
sbp2 parport_pc lp parport fuse snd_hda_intel snd_hda_codec nvidia(P) 
snd_seq_dummy snd_usb_audio snd_pcm_oss pcmcia snd_mixer_oss snd_seq_oss 
ipw3945 irda crc_ccitt snd_seq_midi snd_seq_midi_event i2c_core af_packet 
snd_pcm snd_usb_lib sdhci snd_rawmidi snd_hwdep ieee80211 ieee80211_crypt xpad 
serio_raw yenta_socket rsrc_nonstatic pcmcia_core mmc_core snd_seq snd_timer 
snd_seq_device snd soundcore intel_agp agpgart psmouse iTCO_wdt 
iTCO_vendor_support snd_page_alloc shpchp pci_hotplug joydev evdev tsdev ext3 
jbd mbcache sg usbhid hid sr_mod cdrom sd_mod ata_generic usb_storage libusual 
ata_piix libata scsi_mod b44 mii ohci1394 ieee1394 ehci
May  3 20:06:49 Epsilon3 kernel: hcd generic uhci_hcd usbcore thermal processor 
fan fbcon tileblit font bitblit softcursor vesafb capability commoncap
May  3 20:06:49 Epsilon3 kernel: [42035.988000] CPU:0
May  3 20:06:49 Epsilon3 kernel: [42035.988000] 

[Bug 55804] Re: /proc/kcore not openable

2006-08-24 Thread Matthias Kretz
That's what I wrote in the top post:
 only that I lost data which I could have recovered if only I could have
 read /proc/kcore.

It's just like grepping /dev/hda? if you deleted a file in error: I
wrote a text and I couldn't get back to it (it was in a web browser text
field and the browser didn't go back to the page where the text was
entered) but I was pretty sure the text was still in memory (in utf16,
but grepping for utf16 text isn't that hard). So the 30+ minutes and
creativity for writing the text were permanently lost instead of
recovered in a few minutes through reading /proc/kcore.

Read the full story at
http://vir.homelinux.org/blog/index.php?/archives/30-Lost-time.html

-- 
/proc/kcore not openable
https://launchpad.net/bugs/55804

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


[Bug 55804] Re: /proc/kcore not openable

2006-08-10 Thread Matthias Kretz
 in general, this does not need to be available

What defines the need? I had a need for /proc/kcore yesterday and I had
the need before.

 exposes memory that could contain very sensitive data

Yes it does. But it's only exposed to the root user. And the root user
can do anything to the system. Where's the added security in crippling
/proc/kcore (and /dev/mem)?

I'm not convinced disabling /proc/kcore adds security. It might make it
a little harder for an attacker that got root rights to get to sensitive
information but it won't prevent it in any case. On the other hand it
disallows legitimate use of it and therefore cripples the system in an
unnecessary way.

I guess from now on I have to patch and recompile the kernel everytime
Ubuntu releases a new image ;-(

-- 
/proc/kcore not openable
https://launchpad.net/bugs/55804

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


[Bug 55804] /proc/kcore not openable

2006-08-09 Thread Matthias Kretz
Public bug reported:

Binary package hint: linux-image-2.6.15-26-686

/proc/kcore is available, but opening it as root always returns -EPERM.

It really should be readable as root - and it is in vanilla kernels and
also in the kernels on previous ubuntu releases. If you found a security
reason to to allow reading of /proc/kcore as root you could just as well
remove the (pseudo) file. I don't see the added security - only that I
lost data which I could have recovered if only I could have read
/proc/kcore.

** Affects: linux-source-2.6.15 (Ubuntu)
 Importance: Untriaged
 Status: Unconfirmed

-- 
/proc/kcore not openable
https://launchpad.net/bugs/55804

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