Bug 465717 - [PATCH] perl-Bootloader bug "device-mapper table ioctl"
Summary: [PATCH] perl-Bootloader bug "device-mapper table ioctl"
Status: RESOLVED DUPLICATE of bug 463451
Alias: None
Product: openSUSE 11.1
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: RC 2
Hardware: x86-64 openSUSE 11.1
: P5 - None : Critical (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-13 14:11 UTC by kojot 350
Modified: 2009-01-13 14:38 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kojot 350 2009-01-13 14:11:14 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.5) Gecko/2008121300 SUSE/3.0.5-1.1 Firefox/3.0.5

When I run mkinitrd, I get the following error:

device-mapper: table ioctl failed: No such device or address

A googled up solution:
http://linux.derkeiler.com/Mailing-Lists/SuSE/2008-12/msg01526.html

--- /usr/lib/perl5/vendor_perl/5.10.0/Bootloader/Tools.pm.orig 2008-12-21 15:06:29.000000000 +0100
+++ /usr/lib/perl5/vendor_perl/5.10.0/Bootloader/Tools.pm 2008-12-21 15:06:34.000000000 +0100
@@ -622,6 +622,7 @@
}

my @dm_devs = qx{$dmsetup info -c --noheadings -o name | grep -v part};
+ chomp @dm_devs;
if ($dm_devs[0] !~ /No devices found/) {
foreach my $dmdisk (@dm_devs) {
my @tables = qx{$dmsetup table '$dmdisk'};

-- 

credit to Josef Wolf

Reproducible: Always

Steps to Reproduce:
1. make
2. make modules_install
3. make modules
Actual Results:  
Fail

Expected Results:  
Success
Comment 1 Josef Reidinger 2009-01-13 14:38:00 UTC
This is already fixed and when you install maintenance update 0.4.81.1 it is gone. (final patch looks very similar, but more place needs chomp)

*** This bug has been marked as a duplicate of bug 463451 ***