All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lars Marowsky-Bree <lmb@suse.de>
To: device-mapper development <dm-devel@redhat.com>
Subject: Re: release 0.4.4 ?
Date: Wed, 20 Apr 2005 16:26:37 +0200	[thread overview]
Message-ID: <20050420142637.GA29071@marowsky-bree.de> (raw)
In-Reply-To: <1114006824.24817.108.camel@zezette>

[-- Attachment #1: Type: text/plain, Size: 610 bytes --]

On 2005-04-20T16:20:23, christophe varoqui <christophe.varoqui@free.fr> wrote:

> > -pre16 /sbin/multipath doesn't create _any_ mapping for me.
> Not funny.

Not very ;-)

> I guess I'll setup the OSDL environment now, for testing and debugging.
> Hope to be able to diagnose in a few hours.

Well, I forgot to attach a patch last time. Here we go. Also initializes
pp_emc so that the sense buffer doesn't contain crap.


Sincerely,
    Lars Marowsky-Brée <lmb@suse.de>

-- 
High Availability & Clustering
SUSE Labs, Research and Development
SUSE LINUX Products GmbH - A Novell Business


[-- Attachment #2: multipath-tools-fixes.patch --]
[-- Type: text/plain, Size: 2745 bytes --]

diff -ru multipath-tools-0.4.4-pre16.old/libmultipath/cache.h multipath-tools-0.4.4-pre16/libmultipath/cache.h
--- multipath-tools-0.4.4-pre16.old/libmultipath/cache.h	2005-04-20 01:09:06.000000000 +0200
+++ multipath-tools-0.4.4-pre16/libmultipath/cache.h	2005-04-20 16:05:04.859208723 +0200
@@ -1,5 +1,5 @@
-#define CACHE_FILE	"/var/cache/multipath/.multipath.cache"
-#define CACHE_TMPFILE	"/var/cache/multipath/.multipath.cache.tmp"
+#define CACHE_FILE	"/dev/.multipath.cache"
+#define CACHE_TMPFILE	"/dev/.multipath.cache.tmp"
 #define CACHE_EXPIRE	5
 #define MAX_WAIT	5
 
Only in multipath-tools-0.4.4-pre16/libmultipath: cache.h~
diff -ru multipath-tools-0.4.4-pre16.old/libmultipath/hwtable.c multipath-tools-0.4.4-pre16/libmultipath/hwtable.c
--- multipath-tools-0.4.4-pre16.old/libmultipath/hwtable.c	2005-04-18 21:27:41.000000000 +0200
+++ multipath-tools-0.4.4-pre16/libmultipath/hwtable.c	2005-04-20 16:04:13.538010731 +0200
@@ -36,11 +36,11 @@
 	r += store_hwe_ext(hw, "DGC", "*", GROUP_BY_PRIO, DEFAULT_GETUID,
 		   "/sbin/pp_emc /dev/%n", "1 emc", "0", "emc_clariion");
 	r += store_hwe_ext(hw, "IBM", "3542", GROUP_BY_SERIAL, DEFAULT_GETUID,
-		   NULL, "0", "0", "tur");
+		   "/bin/false", "0", "0", "tur");
 	r += store_hwe_ext(hw, "SGI", "TP9400", MULTIBUS, DEFAULT_GETUID,
-		   NULL, "0", "0", "tur");
+		   "/bin/false", "0", "0", "tur");
 	r += store_hwe_ext(hw, "SGI", "TP9500", FAILOVER, DEFAULT_GETUID,
-		   NULL, "0", "0", "tur");
+		   "/bin/false", "0", "0", "tur");
 
 	return r;
 }
diff -ru multipath-tools-0.4.4-pre16.old/multipath/Makefile multipath-tools-0.4.4-pre16/multipath/Makefile
--- multipath-tools-0.4.4-pre16.old/multipath/Makefile	2005-04-20 01:08:37.000000000 +0200
+++ multipath-tools-0.4.4-pre16/multipath/Makefile	2005-04-20 16:04:42.961537675 +0200
@@ -43,7 +43,6 @@
 install:
 	install -d $(DESTDIR)$(bindir)
 	install -m 755 $(EXEC) $(DESTDIR)$(bindir)/
-	install -d $(DESTDIR)/var/cache/multipath/
 	install -d $(DESTDIR)/etc/dev.d/block/
 	install -m 755 multipath.dev $(DESTDIR)/etc/dev.d/block/
 	install -d $(DESTDIR)/etc/udev/rules.d
diff -ru multipath-tools-0.4.4-pre16.old/libcheckers/emc_clariion.c multipath-tools-0.4.4-pre16/libcheckers/emc_clariion.c
--- multipath-tools-0.4.4-pre16.old/libcheckers/emc_clariion.c	2005-04-11 16:54:47.000000000 +0200
+++ multipath-tools-0.4.4-pre16/libcheckers/emc_clariion.c	2005-04-20 16:23:12.376089751 +0200
@@ -25,8 +25,8 @@
 
 int emc_clariion(int fd, char *msg, void **context)
 {
-	unsigned char sense_buffer[256];
-	unsigned char sb[128];
+	unsigned char sense_buffer[256] = { 0, };
+	unsigned char sb[128] = { 0, };
 	unsigned char inqCmdBlk[INQUIRY_CMDLEN] = {INQUIRY_CMD, 1, 0xC0, 0,
 						sizeof(sb), 0};
 	struct sg_io_hdr io_hdr;

[-- Attachment #3: Type: text/plain, Size: 0 bytes --]



  reply	other threads:[~2005-04-20 14:26 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-17  9:50 release 0.4.4 ? christophe varoqui
2005-04-18  9:02 ` Lars Marowsky-Bree
2005-04-19 17:45 ` Alasdair G Kergon
2005-04-19 21:14   ` christophe varoqui
2005-04-19 23:32 ` christophe varoqui
2005-04-20 13:31   ` Lars Marowsky-Bree
2005-04-20 14:04     ` Lars Marowsky-Bree
2005-04-20 14:24       ` christophe varoqui
2005-04-20 14:20     ` christophe varoqui
2005-04-20 14:26       ` Lars Marowsky-Bree [this message]
2005-04-20 14:41         ` christophe varoqui
2005-04-20 15:01           ` Lars Marowsky-Bree
2005-04-20 16:06             ` Alasdair G Kergon
2005-04-20 16:27               ` christophe varoqui
2005-04-20 17:34                 ` Lars Marowsky-Bree
2005-04-20 20:59         ` christophe varoqui
2005-04-20 20:12       ` Lars Marowsky-Bree
2005-04-20 20:39         ` christophe varoqui
2005-04-20 20:51           ` Lars Marowsky-Bree
2005-04-20 21:01             ` christophe varoqui
2005-04-20 21:10               ` Lars Marowsky-Bree
2005-04-20 21:38                 ` christophe varoqui
2005-04-20 21:52                   ` Lars Marowsky-Bree
2005-04-20 22:04                     ` christophe varoqui
2005-04-20 22:10                       ` christophe varoqui
2005-04-20 22:40                         ` Lars Marowsky-Bree
2005-04-20 22:49                           ` christophe varoqui
2005-04-20 23:18                             ` christophe varoqui
2005-04-21  8:52                               ` Lars Marowsky-Bree
2005-04-20 22:34                       ` christophe varoqui

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050420142637.GA29071@marowsky-bree.de \
    --to=lmb@suse.de \
    --cc=dm-devel@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.