Author Topic: Can't run diskdrake  (Read 507 times)

Offline Sh4dow

  • Full Member
  • ***
  • Posts: 58
Can't run diskdrake
« on: August 30, 2010, 05:23:48 AM »
Hi, I can not run diskdrake. I received error:

Code: [Select]
INTERNAL ERROR: unknown device dm-0p1
MDK::Common::Various::internal_error() called from /usr/lib/libDrakX/devices.pm:176
devices::entry() called from /usr/lib/libDrakX/devices.pm:191
devices::make() called from /usr/lib/libDrakX/fs/type.pm:277
fs::type::call_blkid() called from /usr/lib/libDrakX/fs/type.pm:285
fs::type::type_subpart_from_magic() called from /usr/lib/libDrakX/fsedit.pm:271
fsedit::get_hds() called from /usr/sbin/diskdrake:74

It's probably problem with raid drivers (dmraid?)
so I added to /usr/lib/libDrakX/fs/dmraid.pm

Code: [Select]
use diagnostics;
use strict;

to get some debug information...

Code: [Select]
Use of uninitialized value $o_prefix in concatenation (.) or string at
        /usr/lib/perl5/vendor_perl/5.10.1/MDK/Common/System.pm line 330 (#1)
    (W uninitialized) An undefined value was used as if it were already
    defined.  It was interpreted as a "" or a 0, but maybe it was a mistake.
    To suppress this warning assign a defined value to your variables.
    
    To help you figure out what was undefined, perl will try to tell you the
    name of the variable (if any) that was undefined. In some cases it cannot
    do this, so it also tells you what operation you used the undefined value
    in.  Note, however, that perl optimizes your program and the operation
    displayed in the warning may not necessarily appear literally in your
    program.  For example, "that $foo" is usually optimized into "that "
    . $foo, and the warning will refer to the concatenation (.) operator,
    even though there is no . in your program.
    
Use of uninitialized value in pattern match (m//) at
        /usr/lib/libDrakX/devices.pm line 205 (#1)
Use of uninitialized value in string eq at /usr/lib/libDrakX/fs/type.pm line
        288 (#1)
Use of uninitialized value in string eq at /usr/lib/libDrakX/fs/type.pm line
        296 (#1)
Use of uninitialized value $_ in open at
        /usr/lib/perl5/vendor_perl/5.10.1/MDK/Common/File.pm line 147 (#1)
Use of uninitialized value in split at /usr/lib/libDrakX/devices.pm line 165 (#1)
INTERNAL ERROR: unknown device dm-0p1
MDK::Common::Various::internal_error() called from /usr/lib/libDrakX/devices.pm:176
devices::entry() called from /usr/lib/libDrakX/devices.pm:191
devices::make() called from /usr/lib/libDrakX/fs/type.pm:277
fs::type::call_blkid() called from /usr/lib/libDrakX/fs/type.pm:285
fs::type::type_subpart_from_magic() called from /usr/lib/libDrakX/fsedit.pm:271
fsedit::get_hds() called from /usr/sbin/diskdrake:74
Use of uninitialized value in subroutine entry at /usr/lib/libDrakX/c.pm line
        10 (#1)

Some info about my hardware
dmraid -r -c -c
Code: [Select]
/dev/sdb:isw:isw_hijdbieid:GROUP:ok:976773166:0
/dev/sda:isw:isw_hijdbieid:GROUP:ok:976773166:0

dmraid -s -c -c
Code: [Select]
isw_hijdbieid_Volume0:1953536000:256:stripe:ok:0:2:0
ls -l /dev/mapper/
Code: [Select]
crw------- 1 root root 10, 59 2010-08-30 13:14 control
lrwxrwxrwx 1 root root      7 2010-08-30 13:14 isw_hijdbieid_Volume0 -> ../dm-0
lrwxrwxrwx 1 root root      7 2010-08-30 13:14 isw_hijdbieid_Volume01 -> ../dm-1
lrwxrwxrwx 1 root root      7 2010-08-30 13:14 isw_hijdbieid_Volume02 -> ../dm-2
lrwxrwxrwx 1 root root      7 2010-08-30 13:14 isw_hijdbieid_Volume05 -> ../dm-3
lrwxrwxrwx 1 root root      7 2010-08-30 13:14 isw_hijdbieid_Volume06 -> ../dm-4
lrwxrwxrwx 1 root root      7 2010-08-30 13:14 isw_hijdbieid_Volume07 -> ../d

cat /etc/mtab
Code: [Select]
/dev/dm-3 / ext4 rw,relatime 0 0
none /proc proc rw 0 0
none /dev/pts devpts rw 0 0
/dev/dm-4 /home ext4 rw,relatime 0 0
tmpfs /dev/shm tmpfs rw 0 0
/dev/dm-2 /mnt/win fuseblk rw,noexec,nosuid,nodev,allow_other,default_permissions,blksize=4096 0 0
none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0
capifs /dev/capi capifs rw 0 0

lspci
Code: [Select]
00:00.0 Host bridge: Intel Corporation Core Processor DMI (rev 11)
00:03.0 PCI bridge: Intel Corporation Core Processor PCI Express Root Port 1 (rev 11)
00:08.0 System peripheral: Intel Corporation Core Processor System Management Registers (rev 11)
00:08.1 System peripheral: Intel Corporation Core Processor Semaphore and Scratchpad Registers (rev 11)
00:08.2 System peripheral: Intel Corporation Core Processor System Control and Status Registers (rev 11)
00:08.3 System peripheral: Intel Corporation Core Processor Miscellaneous Registers (rev 11)
00:10.0 System peripheral: Intel Corporation Core Processor QPI Link (rev 11)
00:10.1 System peripheral: Intel Corporation Core Processor QPI Routing and Protocol Registers (rev 11)
00:1a.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller (rev 06)
00:1a.1 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller (rev 06)
00:1a.2 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller (rev 06)
00:1a.7 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06)
00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 06)
00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 (rev 06)
00:1c.2 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 3 (rev 06)
00:1d.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller (rev 06)
00:1d.1 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller (rev 06)
00:1d.2 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller (rev 06)
00:1d.3 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller (rev 06)
00:1d.7 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a6)
00:1f.0 ISA bridge: Intel Corporation 5 Series Chipset LPC Interface Controller (rev 06)
00:1f.2 RAID bus controller: Intel Corporation 82801 SATA RAID Controller (rev 06)
00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 06)
01:00.0 VGA compatible controller: nVidia Corporation GT215 [GeForce GT 240] (rev a2)
01:00.1 Audio device: nVidia Corporation High Definition Audio Controller (rev a1)
02:00.0 IDE interface: Device 1b4b:91a3 (rev 11)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03)
04:00.0 USB Controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 03)
05:05.0 IDE interface: Integrated Technology Express, Inc. IT8213 IDE Controller


Can I provide any other information?
I googled awhile and noticed that people who using Mandriva had same bug. Some of them report that it has been fixed in MDV 2010.1
« Last Edit: August 30, 2010, 05:28:52 AM by Sh4dow »

uncleV

  • Guest
Re: Can't run diskdrake
« Reply #1 on: August 31, 2010, 05:29:28 AM »
My usual noobs questions:
Does it run from LiveCD session?
Did you try to reinstall diskdrake?

Offline Sh4dow

  • Full Member
  • ***
  • Posts: 58
Re: Can't run diskdrake
« Reply #2 on: September 02, 2010, 03:04:31 AM »
Yes, it run from LiveCD, but immediately after installation on hardrive and boot from HD - it doesn't.
Reinstallation don't resolve the problem.

This is same problem: https://qa.mandriva.com/show_bug.cgi?id=57250
« Last Edit: September 02, 2010, 03:09:10 AM by Sh4dow »