Bug#502625: system-config-lvm crashes immediately
Hi Philipp Apologies for not following up earlier. On Mon, 20 Oct 2008, Philipp Hübner wrote: I tried, it's definetly not needed. Furthermore I installed system-config-lvm and lvm2 on a clean lenny-system: dm_mod get's loaded instantly after the installation, system-config-lvm works out of the box. Then I removed all the dm_-modules manually, and tried again: system-config-lvm still came up, without problems. I checked, and after system-config-lvm had reloaded lvm2, the dm_-modules still weren't loaded. I had a look at this. I installed etch in virtualBox, then upgraded to lenny. The dm_-modules were loaded even before I installed system-config-lvm and lvm2. So something is different between that vm and my desktop. I've had a quick look and nothing stands out as obvious to me. (And I probably won't get around to following that up). Haven't tried to use system-config-lvm then, as you already told me that without dm_mod lvcreate etc. don't work. If I stop lvm and unload dm_mod, system-config-lvm crashes with the same stacktrace as the initial bug report. If I try the same in the vm, system-config-lvm works ok. It allows me to initialise partitions, add them to volume groups, but not to create logical volumes. (When I attempt to create an lv it displays the same error message as lv-create in a message box, but doesn't crash). So again there is something different between my Desktop originally installed pre-etch, and an more recent default install. So it seams, dm_mod has not caused your crash directly, which is gone now I assume? Crash is gone, unless I manually unload dm_mod (which counts as user error). Agreed that dm_mod doesn't seem to be the cause of the crash, despite how I can trigger the crash on my desktop. Strange how my desktop and the vm differs. Maybe after years of upgrades I should think about a clean install ;) . Need to move 64-bit eventually. The bug you filed against lvm2 could be right though. Will follow up with similar info there. Thanks for your help. Andrew V. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#502625: system-config-lvm crashes immediately
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey, Andrew Vaughan schrieb: On Sun, 19 Oct 2008, Andrew Vaughan wrote: On Sun, 19 Oct 2008, Philipp Hübner wrote: Thank you for this very interesting information and your work. I noticed that lvm2 only suggests dmsetup. If system-config-lvm really crashes without dmsetup, I should add dmsetup as a dependency and install the wrapper-script you mentioned. dm_mod is actually a kernel module. /lib/modules/2.6.26-1-686/kernel/drivers/md/dm-mod.ko I have tried to test whether the dmsetup package is needed. ^^^haven't I tried, it's definetly not needed. Furthermore I installed system-config-lvm and lvm2 on a clean lenny-system: dm_mod get's loaded instantly after the installation, system-config-lvm works out of the box. Then I removed all the dm_-modules manually, and tried again: system-config-lvm still came up, without problems. I checked, and after system-config-lvm had reloaded lvm2, the dm_-modules still weren't loaded. Haven't tried to use system-config-lvm then, as you already told me that without dm_mod lvcreate etc. don't work. So it seams, dm_mod has not caused your crash directly, which is gone now I assume? The bug you filed against lvm2 could be right though. If you're problem is gone now, I'd close the bug, or leave that to you. Regards, - -- .''`. Philipp Hübner [EMAIL PROTECTED] : :' : http://qa.debian.org/developer.php?login=debalance%40arcor.de `. `'` HP: http://debalance.funpic.de, Skype: philipp-huebner `- ICQ: 235-524-440, Jabber: [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkj8MAoACgkQFhl05MJZ4OgSCACdFgjatk95zVp2A13kiaZqOOzX aZgAoKv2Ra38+4Phi6TowG6JnSq43vxA =JWxF -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#502625: system-config-lvm crashes immediately
Package: system-config-lvm Version: 1.1.4-2 Severity: important Hi $ sudo system-config-lvm Traceback (most recent call last): File /usr/share/system-config-lvm/system-config-lvm.py, line 173, in module runFullGUI() File /usr/share/system-config-lvm/system-config-lvm.py, line 158, in runFullGUI blvm = baselvm(glade_xml, app) File /usr/share/system-config-lvm/system-config-lvm.py, line 108, in __init__ self.volume_tab_view = Volume_Tab_View(glade_xml, self.lvmm, self.main_win) File /usr/share/system-config-lvm/Volume_Tab_View.py, line 133, in __init__ self.prepare_tree() File /usr/share/system-config-lvm/Volume_Tab_View.py, line 214, in prepare_tree self.model_factory.reload() File /usr/share/system-config-lvm/lvm_model.py, line 164, in reload self.__PVs = self.__query_partitions() File /usr/share/system-config-lvm/lvm_model.py, line 198, in __query_partitions multipath_data = multipath_obj.get_multipath_data() File /usr/share/system-config-lvm/Multipath.py, line 30, in get_multipath_data raise CommandError('FATAL', COMMAND_FAILURE % (dmsetup,cmdstr, e)) NameError: global name 'CommandError' is not defined Thet GUI appears for about a second, displays a reloading lvm status bar and then crashes. Starting from the menu item appears similar. The last line mentions dmsetup which I guess refers to /sbin/dmsetup from the dmsetup package. dmsetup isn't in depends or recommends, but is installed (version 2:1.02.27-4). Severity important as this might be a corner case because I don't have any physical volume/volume groups setup yet. (I was hoping system-config-lvm would help me do that). I also haven't rebooted since installing system-config-lvm and lvm2, though I did try running /etc/init.d/lvm2 restart. Thanks for your work in Debian. Andrew V. -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core) Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages system-config-lvm depends on: ii gettext 0.17-4 GNU Internationalization utilities ii gsfonts 1:8.11+urwcyr1.0.7~pre44-3 Fonts for the Ghostscript interpre ii lvm2 2.02.39-2 The Linux Logical Volume Manager ii menu 2.1.40 generates programs menu for all me ii python2.5.2-2An interactive high-level object-o ii python-glade2 2.12.1-6 GTK+ bindings: Glade support ii python-gnome2 2.22.0-1 Python bindings for the GNOME desk ii python-gtk2 2.12.1-6 Python bindings for the GTK+ widge ii python-suppor 0.8.4 automated rebuilding support for P system-config-lvm recommends no packages. system-config-lvm suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#502625: system-config-lvm crashes immediately
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, thank you for reporting the bug. So far I was unable to reproduce it. Were you trying to use system-config-lvm on a freshly installed system? Are you using anything uncommon (e.g. raid)? It might be a missing dependency. It's working for me, I never encountered a crash like this. I'll have to check on a new clean system. Regards, - -- .''`. Philipp Hübner [EMAIL PROTECTED] : :' : http://qa.debian.org/developer.php?login=debalance%40arcor.de `. `'` HP: http://debalance.funpic.de, Skype: philipp-huebner `- ICQ: 235-524-440, Jabber: [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkj5+bUACgkQFhl05MJZ4Oj0FwCfdjnTNwyLA/FIs2mnnxfY3S4O RBYAoLxeymyGHrbQSWKDFCR22aPEX2MF =kC4m -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#502625: system-config-lvm crashes immediately
package system-config-lvm severity 502625 normal retitle 502625 system-config-lvm crashes if dm_mod not loaded thanks On Sun, 19 Oct 2008, Philipp Hübner wrote: Hello, thank you for reporting the bug. So far I was unable to reproduce it. I've managed to track this down. The problem seems to be that dm_mod wasn't loaded. Rebooting after creating a VG was enough to get dm_mod autoloaded. (I didn't reboot earlier, so I'm not sure whether a reboot after installing lvm2 would be enough). I'm guessing the simple fix is a wrapper script that checks whether dm_mod is already loaded, and either modprobes dm_mod, or warns the user that they need to load dm_mod. Were you trying to use system-config-lvm on a freshly installed system? Are you using anything uncommon (e.g. raid)? Existing system, installed pre-etch, nothing unusual, Thanks Andrew V. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#502625: system-config-lvm crashes immediately
On Sun, 19 Oct 2008, Andrew Vaughan wrote: I've managed to track this down. The problem seems to be that dm_mod wasn't loaded. Rebooting after creating a VG was enough to get dm_mod autoloaded. (I didn't reboot earlier, so I'm not sure whether a reboot after installing lvm2 would be enough). Looking at /etc/init.d/lvm2, /etc/init.d/lvm2 start should have been enough to fix things. ( /etc/init.d/lvm2 restart, which I tried does nothing). I've just filed http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=502635 about the fact that dm_mod isn't loaded on lvm2 package installation, leading to a poor error message from lvcreate. We'll see what the lvm2 folks say. Thanks Andrew V. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#502625: system-config-lvm crashes immediately
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, Andrew Vaughan schrieb: On Sun, 19 Oct 2008, Andrew Vaughan wrote: I've managed to track this down. The problem seems to be that dm_mod wasn't loaded. Rebooting after creating a VG was enough to get dm_mod autoloaded. (I didn't reboot earlier, so I'm not sure whether a reboot after installing lvm2 would be enough). Looking at /etc/init.d/lvm2, /etc/init.d/lvm2 start should have been enough to fix things. ( /etc/init.d/lvm2 restart, which I tried does nothing). I've just filed http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=502635 about the fact that dm_mod isn't loaded on lvm2 package installation, leading to a poor error message from lvcreate. We'll see what the lvm2 folks say. Thank you for this very interesting information and your work. I noticed that lvm2 only suggests dmsetup. If system-config-lvm really crashes without dmsetup, I should add dmsetup as a dependency and install the wrapper-script you mentioned. As you said: we'll see what the lvm2 folks say ;) Greetings, - -- .''`. Philipp Hübner [EMAIL PROTECTED] : :' : http://qa.debian.org/developer.php?login=debalance%40arcor.de `. `'` HP: http://debalance.funpic.de, Skype: philipp-huebner `- ICQ: 235-524-440, Jabber: [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkj6KswACgkQFhl05MJZ4OgT4wCfSeHAXeYA4JloVt5FfexCD0IU cfwAn3L9x+QsT37RFSWo5EEBEZpR8vYi =Y7Ib -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#502625: system-config-lvm crashes immediately
On Sun, 19 Oct 2008, Philipp Hübner wrote: Thank you for this very interesting information and your work. I noticed that lvm2 only suggests dmsetup. If system-config-lvm really crashes without dmsetup, I should add dmsetup as a dependency and install the wrapper-script you mentioned. dm_mod is actually a kernel module. /lib/modules/2.6.26-1-686/kernel/drivers/md/dm-mod.ko I have tried to test whether the dmsetup package is needed. Thanks Andrew V. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#502625: system-config-lvm crashes immediately
On Sun, 19 Oct 2008, Andrew Vaughan wrote: On Sun, 19 Oct 2008, Philipp Hübner wrote: Thank you for this very interesting information and your work. I noticed that lvm2 only suggests dmsetup. If system-config-lvm really crashes without dmsetup, I should add dmsetup as a dependency and install the wrapper-script you mentioned. dm_mod is actually a kernel module. /lib/modules/2.6.26-1-686/kernel/drivers/md/dm-mod.ko I have tried to test whether the dmsetup package is needed. ^^^haven't Andrew -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]