Package: libvolume-id1
Version: 0.141-2
Severity: normal
Tags: patch

vol_id does not detect a RAID[1] array [of two disks] provided by ATI SB600
(which uses Promise's technology) because the search leaves out some places
where a RAID signature can also exist. The attached patch resolves my
problem, but cf. PDC_CONFIGOFFSETS at lib/format/ataraid/pdc.h in the dmraid
source package for other sectors being a possibility, too.

Cheers,
Matthias

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (998, 'unstable'), (100, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-t (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 libvolume-id1 depends on:
ii  libc6                         2.9-26     GNU C Library: Shared libraries

libvolume-id1 recommends no packages.

libvolume-id1 suggests no packages.

-- no debconf information
--- udev-141.deb/extras/volume_id/lib/promise_raid.c
+++ udev-141/extras/volume_id/lib/promise_raid.c
@@ -44,7 +44,7 @@
 	struct promise_meta *pdc;
 	unsigned int i;
 	static unsigned int sectors[] = {
-		63, 255, 256, 16, 399, 0
+		63, 255, 256, 16, 399, 974, 0
 	};
 
 	info("probing at offset 0x%" PRIx64 ", size 0x%" PRIx64 "\n", off, size);

Reply via email to