Public bug reported: I have recently been playing with the multipath-tools on an Ubuntu 7.10 AMD64 system. The Ubuntu server is connected to an IBM DS3400 fibre channel array for the purposes of testing. I have created the /etc/multipath.conf file which I will attach to this bug report. When I attempt to run the kpartx -a /dev/mapper/<multipath_name> I get the following.
[EMAIL PROTECTED]:~# kpartx -a /dev/mapper/eux0000411-eul0001138-R10-1 *** glibc detected *** kpartx: free(): invalid pointer: 0x00002b981707a9e0 *** ======= Backtrace: ========= /lib/libc.so.6[0x2b9816d95b0a] /lib/libc.so.6(cfree+0x8c)[0x2b9816d996fc] /lib/libdevmapper.so.1.02.1(dm_task_destroy+0x45)[0x2b9816b1a4c5] kpartx[0x405c7a] kpartx[0x402dd1] /lib/libc.so.6(__libc_start_main+0xf4)[0x2b9816d41b44] kpartx[0x4018e9] ======= Memory map: ======== 00400000-00408000 r-xp 00000000 08:61 4310003 /sbin/kpartx 00608000-00609000 rw-p 00008000 08:61 4310003 /sbin/kpartx 00609000-0062b000 rw-p 00609000 00:00 0 [heap] 2b98168ef000-2b981690c000 r-xp 00000000 08:61 4293845 /lib/ld-2.6.1.so 2b981690c000-2b981690f000 rw-p 2b981690c000 00:00 0 2b9816b0b000-2b9816b0d000 rw-p 0001c000 08:61 4293845 /lib/ld-2.6.1.so 2b9816b0d000-2b9816b22000 r-xp 00000000 08:61 4292668 /lib/libdevmapper.so.1.02.1 2b9816b22000-2b9816d22000 ---p 00015000 08:61 4292668 /lib/libdevmapper.so.1.02.1 2b9816d22000-2b9816d24000 rw-p 00015000 08:61 4292668 /lib/libdevmapper.so.1.02.1 2b9816d24000-2b9816e76000 r-xp 00000000 08:61 4293860 /lib/libc-2.6.1.so 2b9816e76000-2b9817075000 ---p 00152000 08:61 4293860 /lib/libc-2.6.1.so 2b9817075000-2b9817078000 r--p 00151000 08:61 4293860 /lib/libc-2.6.1.so 2b9817078000-2b981707a000 rw-p 00154000 08:61 4293860 /lib/libc-2.6.1.so 2b981707a000-2b981707f000 rw-p 2b981707a000 00:00 0 2b981707f000-2b9817096000 r-xp 00000000 08:61 4292680 /lib/libselinux.so.1 2b9817096000-2b9817295000 ---p 00017000 08:61 4292680 /lib/libselinux.so.1 2b9817295000-2b9817297000 rw-p 00016000 08:61 4292680 /lib/libselinux.so.1 2b9817297000-2b9817298000 rw-p 2b9817297000 00:00 0 2b9817298000-2b98172d4000 r-xp 00000000 08:61 4292682 /lib/libsepol.so.1 2b98172d4000-2b98174d4000 ---p 0003c000 08:61 4292682 /lib/libsepol.so.1 2b98174d4000-2b98174d5000 rw-p 0003c000 08:61 4292682 /lib/libsepol.so.1 2b98174d5000-2b98174e0000 rw-p 2b98174d5000 00:00 0 2b98174e0000-2b98174e2000 r-xp 00000000 08:61 4293863 /lib/libdl-2.6.1.so 2b98174e2000-2b98176e2000 ---p 00002000 08:61 4293863 /lib/libdl-2.6.1.so 2b98176e2000-2b98176e4000 rw-p 00002000 08:61 4293863 /lib/libdl-2.6.1.so 2b98176e4000-2b98176e5000 rw-p 2b98176e4000 00:00 0 2b98176e5000-2b98176f2000 r-xp 00000000 08:61 4292669 /lib/libgcc_s.so.1 2b98176f2000-2b98178f2000 ---p 0000d000 08:61 4292669 /lib/libgcc_s.so.1 2b98178f2000-2b98178f3000 rw-p 0000d000 08:61 4292669 /lib/libgcc_s.so.1 2b9818000000-2b9818021000 rw-p 2b9818000000 00:00 0 2b9818021000-2b981c000000 ---p 2b9818021000 00:00 0 7fff941a5000-7fff941bb000 rw-p 7fff941a5000 00:00 0 [stack] ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vdso] Aborted I have attempted to reboot the system and checked my libraries it all seems to be in order. Here is a few bits of out of my system which may assist. [EMAIL PROTECTED]:~# ls -al /dev/mapper/ total 0 drwxr-xr-x 2 root root 180 2007-12-29 19:06 . drwxr-xr-x 12 root root 14200 2007-12-29 19:06 .. crw-rw---- 1 root root 10, 63 2007-12-29 19:05 control brw-rw---- 1 root disk 254, 1 2007-12-29 19:06 eux0000411-eul0001138-R10-1 brw-rw---- 1 root disk 254, 4 2007-12-29 19:06 eux0000411-eul0001138-R10-1p1 brw-rw---- 1 root disk 254, 2 2007-12-29 19:06 eux0000411-eul0001138-R10-2 brw-rw---- 1 root disk 254, 3 2007-12-29 19:16 eux0000411-eul0001138-R10-2p1 brw-rw---- 1 root disk 254, 0 2007-12-29 19:06 eux0000411-eul0001138-R1-1 brw-rw---- 1 root disk 254, 5 2007-12-29 19:06 eux0000411-eul0001138-R1-1p1 [EMAIL PROTECTED]:~# multipath -ll eux0000411-eul0001138-R10-2 (3600a0b800036fd910000025847754621) dm-2 IBM,1726-4xx FAStT [size=136G][features=1 queue_if_no_path][hwhandler=0] \_ round-robin 0 [prio=0][enabled] \_ 2:0:0:20 sdf 8:80 [active][ready] \_ round-robin 0 [prio=0][active] \_ 0:0:0:20 sdc 8:32 [active][ready] eux0000411-eul0001138-R10-1 (3600a0b800036fddd0000027c47754568) dm-1 IBM,1726-4xx FAStT [size=136G][features=1 queue_if_no_path][hwhandler=0] \_ round-robin 0 [prio=0][enabled] \_ 0:0:0:10 sdb 8:16 [active][ready] \_ round-robin 0 [prio=0][active] \_ 2:0:0:10 sde 8:64 [active][ready] eux0000411-eul0001138-R1-1 (3600a0b800036fddd00000286477549b6) dm-0 IBM,1726-4xx FAStT [size=68G][features=1 queue_if_no_path][hwhandler=0] \_ round-robin 0 [prio=0][enabled] \_ 0:0:0:1 sda 8:0 [active][ready] \_ round-robin 0 [prio=0][enabled] \_ 2:0:0:1 sdd 8:48 [active][ready] [EMAIL PROTECTED]:~# dmsetup info Name: eux0000411-eul0001138-R10-2 State: ACTIVE Tables present: LIVE Open count: 2 Event number: 6 Major, minor: 254, 2 Number of targets: 1 UUID: mpath-3600a0b800036fd910000025847754621 Name: eux0000411-eul0001138-R10-1 State: ACTIVE Tables present: LIVE Open count: 2 Event number: 6 Major, minor: 254, 1 Number of targets: 1 UUID: mpath-3600a0b800036fddd0000027c47754568 Name: eux0000411-eul0001138-R10-1p1 State: ACTIVE Tables present: LIVE & INACTIVE Open count: 0 Event number: 0 Major, minor: 254, 4 Number of targets: 1 UUID: part1-mpath-3600a0b800036fddd0000027c47754568 Name: eux0000411-eul0001138-R10-2p1 State: ACTIVE Tables present: LIVE & INACTIVE Open count: 0 Event number: 0 Major, minor: 254, 3 Number of targets: 1 UUID: part1-mpath-3600a0b800036fd910000025847754621 Name: eux0000411-eul0001138-R1-1p1 State: ACTIVE Tables present: LIVE & INACTIVE Open count: 1 Event number: 0 Major, minor: 254, 5 Number of targets: 1 UUID: part1-mpath-3600a0b800036fddd00000286477549b6 Name: eux0000411-eul0001138-R1-1 State: ACTIVE Tables present: LIVE Open count: 2 Event number: 4 Major, minor: 254, 0 Number of targets: 1 UUID: mpath-3600a0b800036fddd00000286477549b6 [EMAIL PROTECTED]:~# cat /proc/partitions major minor #blocks name 8 0 71162368 sda 8 16 142324736 sdb 8 32 142324736 sdc 8 33 142319803 sdc1 8 48 71162368 sdd 8 49 71159886 sdd1 8 64 142324736 sde 8 65 142319803 sde1 8 80 142324736 sdf 8 96 71566336 sdg 8 97 68605551 sdg1 8 98 1 sdg2 8 101 2955928 sdg5 254 0 71162368 dm-0 254 1 142324736 dm-1 254 2 142324736 dm-2 254 3 142319803 dm-3 254 4 142319803 dm-4 254 5 71159886 dm-5 [EMAIL PROTECTED]:~# fdisk -l /dev/mapper/eux0000411-eul0001138-R10-1 Disk /dev/mapper/eux0000411-eul0001138-R10-1: 145.7 GB, 145740529664 bytes 255 heads, 63 sectors/track, 17718 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x91e0f00a Device Boot Start End Blocks Id System /dev/mapper/eux0000411-eul0001138-R10-1p1 1 17718 142319803+ 83 Linux [EMAIL PROTECTED]:~# fdisk -l /dev/mapper/eux0000411-eul0001138-R10-2 Disk /dev/mapper/eux0000411-eul0001138-R10-2: 145.7 GB, 145740529664 bytes 255 heads, 63 sectors/track, 17718 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x99773011 Device Boot Start End Blocks Id System /dev/mapper/eux0000411-eul0001138-R10-2p1 1 17718 142319803+ 83 Linux [EMAIL PROTECTED]:~# uname -a Linux ubuntu 2.6.22-14-generic #1 SMP Tue Dec 18 05:28:27 UTC 2007 x86_64 GNU/Linux [EMAIL PROTECTED]:~# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 7.10 Release: 7.10 Codename: gutsy I find it rather odd as all three multipath devices are configured the same way, however only the R1-1 device actually works and can be mounted. I will attach the configuration files for multipath in a moment. Regards, James ** Affects: multipath-tools (Ubuntu) Importance: Undecided Status: New -- kpartx crash when executed on AMD64 https://bugs.launchpad.net/bugs/179267 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs