Bug#650880: aptitude safe-upgrade segfaults, aptitude update fails: E: Encountered a section with no Package: header

2011-12-04 Thread Ralf Spenneberg
Package: aptitude
Version: 0.4.11.11-1~lenny2
Severity: grave
Tags: security
Justification: renders package unusable


Since December 2nd 2011 aptitude fails to work. 

aptitude update shows:

Hit http://volatile.debian.org lenny/volatile/main Packages
Hit http://volatile.debian.org lenny/volatile/contrib Packages
Hit http://volatile.debian.org lenny/volatile/non-free Packages
Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList 
/var/lib/apt/lists/security.debian.org_dists_lenny_updates_main_binary-amd64_Packages
E: The package lists or status file could not be parsed or opened.
E: Couldn't rebuild package cache
E: Encountered a section with no Package: header
E: Problem with MergeList 
/var/lib/apt/lists/security.debian.org_dists_lenny_updates_main_binary-amd64_Packages
E: The package lists or status file could not be parsed or opened.

E: Encountered a section with no Package: header
E: Problem with MergeList 
/var/lib/apt/lists/security.debian.org_dists_lenny_updates_main_binary-amd64_Packages
E: The package lists or status file could not be parsed or opened.

Running aptitude upgrade then fails:

LANG=C aptitude safe-upgrade
Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList 
/var/lib/apt/lists/security.debian.org_dists_lenny_updates_main_binary-amd64_Packages
E: The package lists or status file could not be parsed or opened.
Reading package lists... Error!
Speicherzugriffsfehler

removing /var/lib/apt/lists/* and /var/lib/apt/lists/partial/* does not help

-- Package-specific info:
aptitude 0.4.11.11 kompiliert am Aug 10 2011 23:23:56
Compiler: g++ 4.3.2
Kompiliert gegen:
  apt-Version 4.6.0
  NCurses-Version: 5.7
  libsigc++-Version: 2.0.18
  Ept-Unterstützung aktiviert.

Aktuelle Bibliotheksversion:
  NCurses-Version: ncurses 5.7.20081213
  cwidget-Version: 0.5.12
  Apt-Version: 4.6.0
libapt-pkg-libc6.7-6.so.4.6 = /usr/lib/libapt-pkg-libc6.7-6.so.4.6 
(0x2b734349d000)
libncursesw.so.5 = /lib/libncursesw.so.5 (0x2b734375e000)
libsigc-2.0.so.0 = /usr/lib/libsigc-2.0.so.0 (0x2b73439a9000)
libcwidget.so.3 = /usr/lib/libcwidget.so.3 (0x2b7343bae000)
libept.so.0 = /usr/lib/libept.so.0 (0x2b7343e82000)
libxapian.so.15 = /usr/lib/libxapian.so.15 (0x2b73440fb000)
libz.so.1 = /usr/lib/libz.so.1 (0x2b7344465000)
libpthread.so.0 = /lib/libpthread.so.0 (0x2b734467d000)
libstdc++.so.6 = /usr/lib/libstdc++.so.6 (0x2b7344899000)
libm.so.6 = /lib/libm.so.6 (0x2b7344ba5000)
libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x2b7344e29000)
libc.so.6 = /lib/libc.so.6 (0x2b734504)
libutil.so.1 = /lib/libutil.so.1 (0x2b7345393000)
libdl.so.2 = /lib/libdl.so.2 (0x2b7345597000)
/lib64/ld-linux-x86-64.so.2 (0x2b734328)
Terminal: xterm
$DISPLAY not set.
`which aptitude`: /usr/bin/aptitude
aptitude version information:

aptitude linkage:

-- System Information:
Debian Release: 5.0.9
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.18-6-amd64 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages aptitude depends on:
ii  apt [libapt-pkg-libc6. 0.7.20.2+lenny2   Advanced front-end for dpkg
ii  libc6  2.7-18lenny7  GNU C Library: Shared libraries
ii  libcwidget30.5.12-4  high-level terminal interface libr
ii  libept00.5.22High-level library for managing De
ii  libgcc11:4.3.2-1.1   GCC support library
ii  libncursesw5   5.7+20081213-1shared libraries for terminal hand
ii  libsigc++-2.0-0c2a 2.0.18-2  type-safe Signal Framework for C++
ii  libstdc++6 4.3.2-1.1 The GNU Standard C++ Library v3
ii  libxapian151.0.7-4   Search engine library
ii  zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime

Versions of packages aptitude recommends:
pn  aptitude-doc-en | aptitude-do none (no description available)
pn  libparse-debianchangelog-perl none (no description available)

Versions of packages aptitude suggests:
pn  debtags   none (no description available)
ii  tasksel   2.78   Tool for selecting tasks for insta

-- no debconf information



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#648323: [Pkg-libvirt-maintainers] Bug#648323: Libvirt does not support numa

2011-11-11 Thread Ralf Spenneberg
Hi Guido,

Am Donnerstag, den 10.11.2011, 18:13 +0100 schrieb Guido Günther:
 I think if virt-manager works correctly this python bindings should be
 o.k. IIRC it broke the build so if you're running it already it should
 be o.k. 
Yes virt-manager works fine.
 I also remember that the numa support broke qemu:///session 
I connected via virt-manager to qemu:///session as unprivileged user and
created several machines, started them and then connected via virsh,
rechecked the machines and stop them. Everything works fine. No error
messages on the console. True for both numa-capable and not numa-aware
hardare.

 and
 spewed warnings on the console for non numa systems.
Using the libraries on a machine without numa support does not create
any warnings when using the appropriate commands:

# LANG=C virsh nodeinfo
CPU model:   x86_64
CPU(s):  4
CPU frequency:   2327 MHz
CPU socket(s):   1
Core(s) per socket:  4
Thread(s) per core:  1
NUMA cell(s):1
Memory size: 32946132 kB

# LANG=C virsh freecell
Total: 25699544 kB

# LANG=C virsh freecell 1
error: internal error start cell 1 out of range (0-0)

The last error message is expected since there is no numa cell 1

Thanks a lot,

Ralf




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#648323: Libvirt does not support numa

2011-11-10 Thread Ralf Spenneberg
Package: libvirt-bin
Version: 0.9.6-2

When using libvirt-bin on a numa-capable platform virsh cannot display
the capabilities.

# numactl --show
policy: default
preferred node: current
physcpubind: 0 1 2 3 4 5 6 7
cpubind: 0 1 2 3
nodebind: 0 1 2 3
membind: 0 1 2 3

virsh does not display the numa information:
# virsh nodeinfo
CPU model: x86_64
CPU(s): 8
CPU frequency: 1000 MHz
CPU socket(s): 4
Core(s) per socket: 2
Thread(s) per core: 1
NUMA cell(s): 1
Memory size: 32948228 kB
# virsh freecell 0
error: this function is not supported by the connection driver: NUMA
memory information not available on this platform


I am currently running Debian Sid on
HP DL 585 G2 with 4 Dual Cores and thus 4 Numa cells.






-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#648323: [Pkg-libvirt-maintainers] Bug#648323: Libvirt does not support numa

2011-11-10 Thread Ralf Spenneberg
Am Donnerstag, den 10.11.2011, 16:58 +0100 schrieb Guido Günther:
 Yes, that's correct. NUMA support never got enables since it had some
 problems but I don't have hardware to check currently. Could you rebuild
 with numa enanbled and report your findings?
 Cheers,

Sure can. I noticed the changelog entry that it was disabled because of
broken python bindings. Do you have more information what to look for?
Actually I am currently running a recompiled and enabled version and
have not noticed any problems yet. 

Thanks,

Ralf




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#643761: qemu-kvm: Attaching usb devices to a Win7 guest only works for the first device

2011-09-29 Thread Ralf Spenneberg
Package: qemu-kvm
Version: 0.12.5+dfsg-5+squeeze6
Severity: normal



-- Package-specific info:


/proc/cpuinfo:

processor   : 0
vendor_id   : GenuineIntel
cpu family  : 6
model   : 15
model name  : Intel(R) Core(TM)2 Quad CPUQ6600  @ 2.40GHz
stepping: 11
cpu MHz : 2399.861
cache size  : 4096 KB
physical id : 0
siblings: 4
core id : 0
cpu cores   : 4
apicid  : 0
initial apicid  : 0
fpu : yes
fpu_exception   : yes
cpuid level : 10
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov 
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm 
constant_tsc arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor 
ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm tpr_shadow vnmi flexpriority
bogomips: 4799.72
clflush size: 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor   : 1
vendor_id   : GenuineIntel
cpu family  : 6
model   : 15
model name  : Intel(R) Core(TM)2 Quad CPUQ6600  @ 2.40GHz
stepping: 11
cpu MHz : 2399.861
cache size  : 4096 KB
physical id : 0
siblings: 4
core id : 2
cpu cores   : 4
apicid  : 2
initial apicid  : 2
fpu : yes
fpu_exception   : yes
cpuid level : 10
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov 
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm 
constant_tsc arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor 
ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm tpr_shadow vnmi flexpriority
bogomips: 4800.19
clflush size: 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor   : 2
vendor_id   : GenuineIntel
cpu family  : 6
model   : 15
model name  : Intel(R) Core(TM)2 Quad CPUQ6600  @ 2.40GHz
stepping: 11
cpu MHz : 2399.861
cache size  : 4096 KB
physical id : 0
siblings: 4
core id : 3
cpu cores   : 4
apicid  : 3
initial apicid  : 3
fpu : yes
fpu_exception   : yes
cpuid level : 10
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov 
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm 
constant_tsc arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor 
ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm tpr_shadow vnmi flexpriority
bogomips: 4800.21
clflush size: 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor   : 3
vendor_id   : GenuineIntel
cpu family  : 6
model   : 15
model name  : Intel(R) Core(TM)2 Quad CPUQ6600  @ 2.40GHz
stepping: 11
cpu MHz : 2399.861
cache size  : 4096 KB
physical id : 0
siblings: 4
core id : 1
cpu cores   : 4
apicid  : 1
initial apicid  : 1
fpu : yes
fpu_exception   : yes
cpuid level : 10
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov 
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm 
constant_tsc arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor 
ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm tpr_shadow vnmi flexpriority
bogomips: 4800.16
clflush size: 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:




-- System Information:
Debian Release: 6.0.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages qemu-kvm depends on:
ii  adduser3.112+nmu2add and remove users and groups
ii  bridge-utils   1.4-5 Utilities for configuring the Linu
ii  iproute20100519-3networking and traffic control too
ii  libaio10.3.107-7 Linux kernel AIO access library - 
ii  libasound2 1.0.23-2.1shared library for ALSA applicatio
ii  libbluetooth3  4.66-3Library to use the BlueZ Linux Blu
ii  libbrlapi0.5   4.2-7 braille display access via BRLTTY 
ii  libc6  2.11.2-10 Embedded GNU C Library: Shared lib
ii  libcurl3-gnutls7.21.0-2  Multi-protocol file transfer libra
ii  libgnutls262.8.6-1   the GNU TLS library - runtime libr
ii  libncurses55.7+20100313-5shared libraries for terminal hand
ii  libpci31:3.1.7-6 Linux PCI Utilities (shared librar
ii  libpulse0  

Bug#643761: qemu-kvm: Attaching usb devices to a Win7 guest only works for the first device

2011-09-29 Thread Ralf Spenneberg
Yes, I have tried the sid version. Same behavior, but funny thing:
When using qemu-kvm without libvirt it behaves differently:

- Adding a usb-keyboard using the monitor and usb_add host:5.4 works
- Deleting the usb-keyboard using usb_del 0.1 works
- Adding it again works.

This does not automatically create a usb-hub as done by libvirt.

- Adding a second device and a third device works, too

But now a Generic USB Hub is added.

- Removing the second (and third) device does not remove the hub
- Reattaching the second device does not work
- Removing the first device does work

Reattaching any device does not work as long as the hub is in place!

- Removing the hub works

Now attaching devices work again. Apparently the communication with the
hub is broken on Win7. It works fine on WinXP and Linux as far as I have
tested.


Am Donnerstag, den 29.09.2011, 13:19 +0200 schrieb Ralf Spenneberg:
 Package: qemu-kvm
 Version: 0.12.5+dfsg-5+squeeze6
 Severity: normal
 
 
 
 -- Package-specific info:
 
 
 /proc/cpuinfo:
 
 processor : 0
 vendor_id : GenuineIntel
 cpu family: 6
 model : 15
 model name: Intel(R) Core(TM)2 Quad CPUQ6600  @ 2.40GHz
 stepping  : 11
 cpu MHz   : 2399.861
 cache size: 4096 KB
 physical id   : 0
 siblings  : 4
 core id   : 0
 cpu cores : 4
 apicid: 0
 initial apicid: 0
 fpu   : yes
 fpu_exception : yes
 cpuid level   : 10
 wp: yes
 flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov 
 pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm 
 constant_tsc arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor 
 ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm tpr_shadow vnmi flexpriority
 bogomips  : 4799.72
 clflush size  : 64
 cache_alignment   : 64
 address sizes : 36 bits physical, 48 bits virtual
 power management:
 
 processor : 1
 vendor_id : GenuineIntel
 cpu family: 6
 model : 15
 model name: Intel(R) Core(TM)2 Quad CPUQ6600  @ 2.40GHz
 stepping  : 11
 cpu MHz   : 2399.861
 cache size: 4096 KB
 physical id   : 0
 siblings  : 4
 core id   : 2
 cpu cores : 4
 apicid: 2
 initial apicid: 2
 fpu   : yes
 fpu_exception : yes
 cpuid level   : 10
 wp: yes
 flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov 
 pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm 
 constant_tsc arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor 
 ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm tpr_shadow vnmi flexpriority
 bogomips  : 4800.19
 clflush size  : 64
 cache_alignment   : 64
 address sizes : 36 bits physical, 48 bits virtual
 power management:
 
 processor : 2
 vendor_id : GenuineIntel
 cpu family: 6
 model : 15
 model name: Intel(R) Core(TM)2 Quad CPUQ6600  @ 2.40GHz
 stepping  : 11
 cpu MHz   : 2399.861
 cache size: 4096 KB
 physical id   : 0
 siblings  : 4
 core id   : 3
 cpu cores : 4
 apicid: 3
 initial apicid: 3
 fpu   : yes
 fpu_exception : yes
 cpuid level   : 10
 wp: yes
 flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov 
 pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm 
 constant_tsc arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor 
 ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm tpr_shadow vnmi flexpriority
 bogomips  : 4800.21
 clflush size  : 64
 cache_alignment   : 64
 address sizes : 36 bits physical, 48 bits virtual
 power management:
 
 processor : 3
 vendor_id : GenuineIntel
 cpu family: 6
 model : 15
 model name: Intel(R) Core(TM)2 Quad CPUQ6600  @ 2.40GHz
 stepping  : 11
 cpu MHz   : 2399.861
 cache size: 4096 KB
 physical id   : 0
 siblings  : 4
 core id   : 1
 cpu cores : 4
 apicid: 1
 initial apicid: 1
 fpu   : yes
 fpu_exception : yes
 cpuid level   : 10
 wp: yes
 flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov 
 pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm 
 constant_tsc arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor 
 ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm tpr_shadow vnmi flexpriority
 bogomips  : 4800.16
 clflush size  : 64
 cache_alignment   : 64
 address sizes : 36 bits physical, 48 bits virtual
 power management:
 
 
 
 
 -- System Information:
 Debian Release: 6.0.2
   APT prefers stable-updates
   APT policy: (500, 'stable-updates'), (500, 'stable')
 Architecture: amd64 (x86_64)
 
 Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
 Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
 Shell: /bin/sh linked to /bin/dash
 
 Versions of packages

Bug#643761: qemu-kvm: Attaching usb devices to a Win7 guest only works for the first device

2011-09-29 Thread Ralf Spenneberg
Ok.

Now it is getting really weird. I tried to reproduce the behavior on
WinXP without libvirt. 

Adding the first device works via usb_add (without adding a hub)

Adding a second device does not really work
- The device is added
- A hub is added automatically
- But the devices apparently are not enumerated 
- info usb shows both as 0.0
- The WinXP guest does not display the devices in the device manager

Removing the first device reestablishes the function. Both devices are
enumerated und functional.

Adding, removing and reattaching further devices works fine.

So while WinXP requires a hub Win7 works without a hub. Somehow Win7
apparently loses/cannot establish the contact (bus) to the hub.







-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#643761: Info received (Bug#643761: qemu-kvm: Attaching usb devices to a Win7 guest only works for the first device)

2011-09-29 Thread Ralf Spenneberg
Using Qemu-kvm 0.15.0 via libvirt seems to work fine.





-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#616314: Severity: wishlist

2011-03-18 Thread Ralf Spenneberg
Hi, 

actually I do not agree with the changed severity of the bug. This
essentially renders the Libvirt-based virtualization of Squeeze useless
for IPv6. Since FullIPv6Support has been a release goal for Squeeze this
is a Bug and not just a wish.

What do you think?

Kind regards,

Ralf Spenneberg





-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#616314: libvirt: Libvirt disables IPv6 on virtual network bridges

2011-03-03 Thread Ralf Spenneberg
Package: libvirt-bin
Version: 0.8.3-5
Severity: important
File: libvirt
Tags: ipv6

Libvirt supports the creation of virtual networks via virsh or virt-manager.
These virtual networks are implemented as a bridge using the bridge-utilities.
IPv6 is disabled by default on these bridges and the usage of IPv6 addresses
 on the virbrX devices is impossible:

# cat /proc/sys/net/ipv6/conf/virbr1/disable_ipv6 
1
# ip addr add 2001:dead:beef::1/64 dev virbr1
RTNETLINK answers: Permission denied

IPv6 should not be disabled. Then IPv6 addresses may be used:
# echo 0  /proc/sys/net/ipv6/conf/virbr1/disable_ipv6
# ip addr add 2001:dead:beef::1/64 dev virbr1

Currently IPv6 cannot be used with virtual networks and KVM, QEMU or XEN on 
Debian systems. There is no switch to enable IPv6 by default.


-- System Information:
Debian Release: 6.0
  APT prefers squeeze-updates
  APT policy: (500, 'squeeze-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libvirt-bin depends on:
ii  adduser3.112+nmu2add and remove users and groups
ii  libavahi-client3   0.6.27-2+squeeze1 Avahi client library
ii  libavahi-common3   0.6.27-2+squeeze1 Avahi common library
ii  libblkid1  2.17.2-9  block device id library
ii  libc6  2.11.2-10 Embedded GNU C Library: Shared lib
ii  libcap-ng0 0.6.4-1   An alternate posix capabilities li
ii  libdevmapper1.02.1 2:1.02.48-5   The Linux Kernel Device Mapper use
ii  libgcrypt111.4.5-2   LGPL Crypto library - runtime libr
ii  libgnutls262.8.6-1   the GNU TLS library - runtime libr
ii  libnl1 1.1-6 library for dealing with netlink s
ii  libparted0debian1  2.3-5 The GNU Parted disk partitioning s
ii  libpciaccess0  0.12.0-1  Generic PCI access library for X
ii  libreadline6   6.1-3 GNU readline and history libraries
ii  libsasl2-2 2.1.23.dfsg1-7Cyrus SASL - authentication abstra
ii  libudev0   164-3 libudev shared library
ii  libuuid1   2.17.2-9  Universally Unique ID library
ii  libvirt0   0.8.3-5   library for interfacing with diffe
ii  libxenstore3.0 4.0.1-2   Xenstore communications library fo
ii  libxml22.7.8.dfsg-2  GNOME XML library
ii  logrotate  3.7.8-6   Log rotation utility

Versions of packages libvirt-bin recommends:
ii  bridge-utils  1.4-5  Utilities for configuring the Linu
ii  dnsmasq-base  2.55-2 A small caching DNS proxy and DHCP
ii  ebtables  2.0.9.2-2  Ethernet bridge frame table admini
ii  gawk  1:3.1.7.dfsg-5 GNU awk, a pattern scanning and pr
ii  iptables  1.4.8-3administration tools for packet fi
ii  libxml2-utils 2.7.8.dfsg-2   XML utilities
ii  netcat-openbsd1.89-4 TCP/IP swiss army knife
ii  qemu  0.12.5+dfsg-3  fast processor emulator
ii  qemu-kvm  0.12.5+dfsg-5  Full virtualization on x86 hardwar

Versions of packages libvirt-bin suggests:
ii  policykit-1   0.96-4 framework for managing administrat

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#604621: libclamav6: Clamscan and Clamd crash on Lenny32Bit/VIA-Cpu while scanning PDFs, Lenny32Bit/AMD works fine

2010-11-23 Thread Ralf Spenneberg
Hi.

Thanks for the fast response.

Am Dienstag, den 23.11.2010, 11:00 +0200 schrieb Török Edwin:
 Please install gdb, and run this command (using the attached gdbscript
 file):
 $ gdb -batch -x gdbscript -c core log 21
I have problems running the gdbscript. The log contains:
(no debugging symbols found)
Core was generated by `clamscan --debug p003'.
Program terminated with signal 4, Illegal instruction.
[New process 31347]
[New process 31434]
#0  0xb17cbe2a in ?? ()
/root/gdbscript:1: Error in sourced command file:
A syntax error in expression, near `/mr'.


 
 Also please provide the output of 'clamconf -n' (I'm interested in the
 Platform information section),
Platform information

uname: Linux 2.6.26-2-486 #1 Thu Sep 16 18:43:30 UTC 2010 i686
OS: linux-gnu, ARCH: i386, CPU: i486
zlib version: 1.2.3.3 (1.2.3.3), compile flags: 55
Triple: i386-pc-linux-gnu
CPU: generic, Little-endian
platform id: 0x0a1138380404030201040302


  and 'cat /proc/cpuinfo' (I need the
 family, model, and stepping mostly but please include all the output).
cat /proc/cpuinfo:
processor   : 0
vendor_id   : CentaurHauls
cpu family  : 6
model   : 7
model name  : VIA Samuel 2
stepping: 3
cpu MHz : 599.925
cache size  : 64 KB
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 1
wp  : yes
flags   : fpu de tsc msr cx8 mtrr pge mmx 3dnow
bogomips: 1201.80
clflush size: 32
power management:

Kind regards,

Ralf




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#604621: libclamav6: Clamscan and Clamd crash on Lenny32Bit/VIA-Cpu while scanning PDFs, Lenny32Bit/AMD works fine

2010-11-23 Thread Ralf Spenneberg
Hi,

attached is the log from the gdb.

Kind regards,

Ralf



(no debugging symbols found)
Core was generated by `clamscan --debug p003'.
Program terminated with signal 4, Illegal instruction.
[New process 31347]
[New process 31434]
#0  0xb17cbe2a in ?? ()
Dump of assembler code from 0xb17cbe2a to 0xb17cbe4a:
0xb17cbe2a: cmove  0x10(%esp),%eax
0xb17cbe2f: mov%eax,0x18(%esp)
0xb17cbe33: mov0x18(%esp),%ecx
0xb17cbe37: mov%ecx,0x4(%esp)
0xb17cbe3b: mov%esi,(%esp)
0xb17cbe3e: mov%edi,%ebx
0xb17cbe40: not%ebx
0xb17cbe42: add%ecx,%ebx
0xb17cbe44: call   0xb6f54b90
0xb17cbe49: cmp$0xa,%eax
End of assembler dump.

Thread 2 (process 31434):
#0  0xb6e66c08 in ?? ()
No symbol table info available.

Thread 1 (process 31347):
#0  0xb17cbe2a in ?? ()
No symbol table info available.
eax0x321801
ecx0x0  0
edx0xbff002eb   -1074789653
ebx0xb7727c18   -1217233896
esp0xbff00300   0xbff00300
ebp0xbff00330   0xbff00330
esi0x8f6eac8150399688
edi0x2ea746
eip0xb17cbe2a   0xb17cbe2a
eflags 0x10246  [ PF ZF IF RF ]
cs 0x73 115
ss 0x7b 123
ds 0x7b 123
es 0x7b 123
fs 0x0  0
gs 0x33 51
st00(raw 0x)
st10(raw 0x)
st20(raw 0x)
st30(raw 0x)
st472   (raw 0x40059000)
st51000 (raw 0x4008fa00)
st60.18655131105333556494140625 (raw 0x3ffcbf074e90)
st747.570584318600594997406005859375(raw 
0x4004be4847417000)
fctrl  0x37f895
fstat  0x124292
ftag   0x   65535
fiseg  0x73 115
fioff  0xb7525b6d   -1219339411
foseg  0x7b 123
fooff  0xbff00a48   -1074787768
fop0x77d1917
xmm0   {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, 
  v16_int8 = {0x0 repeats 16 times}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 
0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, 
  uint128 = 0x}
xmm1   {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, 
  v16_int8 = {0x0 repeats 16 times}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 
0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, 
  uint128 = 0x}
xmm2   {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, 
  v16_int8 = {0x0 repeats 16 times}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 
0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, 
  uint128 = 0x}
xmm3   {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, 
  v16_int8 = {0x0 repeats 16 times}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 
0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, 
  uint128 = 0x}
xmm4   {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, 
  v16_int8 = {0x0 repeats 16 times}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 
0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, 
  uint128 = 0x}
xmm5   {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, 
  v16_int8 = {0x0 repeats 16 times}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 
0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, 
  uint128 = 0x}
xmm6   {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, 
  v16_int8 = {0x0 repeats 16 times}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 
0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, 
  uint128 = 0x}
xmm7   {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, 
  v16_int8 = {0x0 repeats 16 times}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 
0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, 
  uint128 = 0x}
mxcsr  0x1f80   [ IM DM ZM OM UM PM ]
mm0{uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 
0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm1{uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 
0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm2{uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 
0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm3{uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 
0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm4{uint64 = 0x9000, 

Bug#604621: libclamav6: Clamscan and Clamd crash on Lenny32Bit/VIA-Cpu while scanning PDFs, Lenny32Bit/AMD works fine

2010-11-23 Thread Ralf Spenneberg
This fixed it. Great! Thanks a lot. Bug closed from my side ;-)

- Ralf

Am Dienstag, den 23.11.2010, 15:47 +0200 schrieb Török Edwin:
 On Tue, 23 Nov 2010 13:59:28 +0100
 Ralf Spenneberg r...@spenneberg.net wrote:
 
  Hi,
  
  attached is the log from the gdb.
 
 Thanks, it is the CMOV instruction bug from Debian bug #600088, except
 for a VIA CPU instead of an AMD K6-2 (neither of which support it).
 
 I turned off the JIT for your CPU with bytecode.cvd version 93 (run
 freshclam and you should get it soon).
 
 Please keep the file that causes the crash though. 0.96.5 will reenable
 the JIT (it fixes the underlying bug by not emitting the CMOV
 instruction in the first place), so it would be good if you could test
 that it doesn't crash (once it is released).
 
 Best regards,
 --Edwin
 





--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#604621: libclamav6: Clamscan and Clamd crash on Lenny32Bit/VIA-Cpu while scanning PDFs, Lenny32Bit/AMD works fine

2010-11-22 Thread Ralf Spenneberg
Package: libclamav6
Version: 0.96.4+dfsg-1~volatile1
Severity: important



-- System Information:
Debian Release: 5.0.6
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-486
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libclamav6 depends on:
ii  libbz2-1.0 1.0.5-1+lenny1high-quality block-sorting file co
ii  libc6  2.7-18lenny6  GNU C Library: Shared libraries
ii  libgcc11:4.3.2-1.1   GCC support library
ii  libltdl3   1.5.26-4+lenny1   A system independent dlopen wrappe
ii  libstdc++6 4.3.2-1.1 The GNU Standard C++ Library v3
ii  libtommath00.39-3multiple-precision integer library
ii  zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime

libclamav6 recommends no packages.

Versions of packages libclamav6 suggests:
pn  libclamunrar6 none (no description available)

-- no debconf information

Using clamscan or clamd to scan PDF files crashes the process on 32-Bit Lenny 
running on  VIA Samuel 2 CPU. Scanning the same file on AMD Athlon(tm) 64 X2 
works fine. 
I already checked the checksums of the files: ok.
I already removed the clamav database and downloaded it again using freshclam.
I rebooted the machine to fix any memory issues.
The issue is reproducable every time.

Calling clamscan --debug on the file shows the following results (last lines):
LibClamAV debug: cli_pdf: more than 2 filters per obj flagged in object 30 0
LibClamAV debug: cli_pdf: 30 0 obj flags: 10403
LibClamAV debug: cli_pdf: 31 0 obj flags: 02
LibClamAV debug: cli_pdf: 1 0 obj flags: 10023
LibClamAV debug: cli_pdf: 2 0 obj flags: 02
LibClamAV debug: cli_pdf: 3 0 obj flags: 02
LibClamAV debug: cli_pdf: 4 0 obj flags: 02
LibClamAV debug: cli_pdf: 5 0 obj flags: 02
LibClamAV debug: cli_pdf: 6 0 obj flags: 02
LibClamAV debug: cli_pdf: 7 0 obj flags: 02
LibClamAV debug: cli_pdf: 8 0 obj flags: 03
LibClamAV debug: cli_pdf: 9 0 obj flags: 02
LibClamAV debug: Bytecode executing hook id 258 (2 hooks)
LibClamAV debug: Bytecode 4: executing in JIT mode
Illegal instruction (core dumped)

On AMD the debug log continues:

LibClamAV debug: Bytecode 4: executing in JIT mode
47474747474747474747624762474747bytecode finished in 212us
LibClamAV debug: Bytecode 4 returned 0
LibClamAV debug: Bytecode 6: executing in JIT mode
bytecode finished in 10us
LibClamAV debug: Bytecode 6 returned 0
LibClamAV debug: Bytecode: executed 2 bytecodes for this hook
LibClamAV debug: cli_pdf: dumping obj 12 3072

Full report can be provided.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#488504: selinux-policy-refpolicy-targeted: With both apache.pp and nscd.pp loaded apache2 segfaults when started by init in Enforcing mode with nscd running

2008-06-29 Thread Ralf Spenneberg
Package: selinux-policy-refpolicy-targeted
Version: 0.0.20061018-5
Severity: important

SELinux targeted policy is loaded
Both nscd and apache2 are installed
Both nscd.pp and apache.pp are loaded
All files are appropiatly labeled by a relabeling during boot (/.autorelabel)
If nscd is not running, apache2 will start using /etc/init.d/apache2 start
If nscd is running, apache2 will not start:
Starting web server (apache2).../usr/sbin/apache2ctl: line 78:  2854 
Segmentation fault  $HTTPD -k $ARGV
 failed!

No SELinux log messages appear. Apparently SELinux is prohibiting something. 
Since no enableaudit.pp module is provided it cannot be analyzed.


-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-5-686
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages selinux-policy-refpolicy-targeted depends on:
ii  libpam-modules0.79-5 Pluggable Authentication Modules f
ii  libselinux1   1.32-3 SELinux shared libraries
ii  policycoreutils   1.32-3 SELinux core policy utilities
ii  python2.4.4-2An interactive high-level object-o

Versions of packages selinux-policy-refpolicy-targeted recommends:
ii  checkpolicy   1.32-1 SELinux policy compiler
ii  setools   2.4-3  Tresys tools for managing Security

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]