login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
May
»
23
Re: 2.6.26-rc2-mm1 (SCSI_DH build errors)
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Randy Dunlap <randy.dunlap@...>
To: <sekharan@...>
Cc: Andrew Morton <akpm@...>, James Bottomley <James.Bottomley@...>, <linux-kernel@...>, <hare@...>, scsi <linux-scsi@...>
Subject:
Re: 2.6.26-rc2-mm1 (SCSI_DH build errors)
Date: Friday, May 23, 2008 - 4:28 pm
Chandra Seetharaman wrote:
quoted text
> Yikes.... Sorry again... Hopefully this attached patch work properly.
Did it build cleanly for you? Hint: Use SCSI_DH as module and MD_MULTIPATH=y. Build errors for me.
quoted text
> chandra > On Thu, 2008-05-22 at 20:25 -0700, Andrew Morton wrote: >> On Thu, 15 May 2008 12:56:14 -0700 Chandra Seetharaman <sekharan@us.ibm.com> wrote: >> >>> Hi James, Andrew, >>> >>> Here is a patch to remove the automatic "select" of scsi_dh for >>> dm-multipath. >>> >>> Sorry about the mishap. >>> >>> >> This is busted. >> > ------------------------- > Do not automatically "select" SCSI_DH for dm-multipath. If SCSI_DH > doesn't exist,just do not allow hardware handlers to be used. > > Handle SCSI_DH being a module also. > > Signed-off-by: Chandra Seetharaman <sekharan@us.ibm.com> > Reported-by: Randy Dunlap <randy.dunlap@oracle.com> > Reported-by: Andrew Morton <akpm@linux-foundation.org> > Cc: James Bottomley <James.Bottomley@HansenPartnership.com> > Cc: Alasdair G Kergon <agk@redhat.com> > Cc: Mike Christie <michaelc@cs.wisc.edu> > Cc: Hannes Reinecke <hare@suse.de> > --- > > Index: scsi-misc-2.6/drivers/md/Kconfig > =================================================================== > --- scsi-misc-2.6.orig/drivers/md/Kconfig > +++ scsi-misc-2.6/drivers/md/Kconfig > @@ -252,7 +252,6 @@ config DM_ZERO > config DM_MULTIPATH > tristate "Multipath target" > depends on BLK_DEV_DM > - select SCSI_DH > ---help--- > Allow volume managers to support multipath hardware. > > Index: scsi-misc-2.6/drivers/md/dm-mpath.c > =================================================================== > --- scsi-misc-2.6.orig/drivers/md/dm-mpath.c > +++ scsi-misc-2.6/drivers/md/dm-mpath.c > @@ -664,6 +664,8 @@ static int parse_hw_handler(struct arg_s > request_module("scsi_dh_%s", m->hw_handler_name); > if (scsi_dh_handler_exist(m->hw_handler_name) == 0) { > ti->error = "unknown hardware handler type"; > + kfree(m->hw_handler_name); > + m->hw_handler_name = NULL; > return -EINVAL; > } > consume(as, hw_argc - 1); > Index: scsi-misc-2.6/include/scsi/scsi_dh.h > =================================================================== > --- scsi-misc-2.6.orig/include/scsi/scsi_dh.h > +++ scsi-misc-2.6/include/scsi/scsi_dh.h > @@ -54,6 +54,16 @@ enum { > SCSI_DH_NOSYS, > SCSI_DH_DRIVER_MAX, > }; > - > +#if defined(CONFIG_SCSI_DH) || defined(CONFIG_SCSI_DH_MODULE) > extern int scsi_dh_activate(struct request_queue *); > extern int scsi_dh_handler_exist(const char *); > +#else > +static inline int scsi_dh_activate(struct request_queue *req) > +{ > + return 0; > +} > +static inline int scsi_dh_handler_exist(const char *name) > +{ > + return 0; > +} > +#endif > >
-- ~Randy --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
2.6.26-rc2-mm1
, Andrew Morton
, (Wed May 14, 4:01 am)
Re: 2.6.26-rc2-mm1: possible circular locking dependency det...
, Mariusz Kozlowski
, (Tue May 20, 6:01 am)
Re: 2.6.26-rc2-mm1: possible circular locking dependency det...
, Andrew Morton
, (Tue May 20, 6:22 am)
2.6.26-rc2-mm1 - machine stuck while booting up with CONFIG_...
, Kamalesh Babulal
, (Mon May 19, 7:33 am)
Re: 2.6.26-rc2-mm1 - machine stuck while booting up with CON...
, Steven Rostedt
, (Mon May 19, 9:02 am)
Re: 2.6.26-rc2-mm1 - machine stuck while booting up with CON...
, Kamalesh Babulal
, (Mon May 19, 10:08 am)
Re: 2.6.26-rc2-mm1 - machine stuck while booting up with CON...
, Steven Rostedt
, (Mon May 19, 10:38 am)
2.6.26-rc2-mm1 and Linus -git: LEDS_TRIGGER_DEFAULT_ON odd d...
,
, (Sat May 17, 6:28 am)
2.6.26-rc2-mm1: high speed something
, Alexey Dobriyan
, (Fri May 16, 6:17 pm)
Re: 2.6.26-rc2-mm1: high speed something
, Andrew Morton
, (Fri May 16, 5:31 pm)
Re: 2.6.26-rc2-mm1: high speed something
, Greg KH
, (Fri May 16, 6:00 pm)
[BUG] Re: 2.6.26-rc2-mm1 - x86_32 oops on modprobe wusbcore
, Mariusz Kozlowski
, (Thu May 15, 2:21 pm)
Re: [BUG] Re: 2.6.26-rc2-mm1 - x86_32 oops on modprobe wusbc...
, Andrew Morton
, (Thu May 15, 2:58 pm)
Re: [BUG] Re: 2.6.26-rc2-mm1 - x86_32 oops on modprobe wusbc...
, Inaky Perez-Gonzalez
, (Thu May 15, 4:05 pm)
[PATCH] Re: 2.6.26-rc2-mm1 - fix parenthesis in include/asm-...
, Mariusz Kozlowski
, (Thu May 15, 2:01 pm)
[PATCH] Re: 2.6.26-rc2-mm1 - fix parenthesis in include/asm-...
, Mariusz Kozlowski
, (Thu May 15, 1:59 pm)
[PATCH] Re: 2.6.26-rc2-mm1 - fix parenthesis in include/asm-...
, Mariusz Kozlowski
, (Thu May 15, 1:58 pm)
Re: 2.6.26-rc2-mm1
, Rafael J. Wysocki
, (Wed May 14, 5:54 pm)
Re: 2.6.26-rc2-mm1 (p9 build error when 9P_FS=n)
, Randy Dunlap
, (Wed May 14, 5:16 pm)
Re: 2.6.26-rc2-mm1 (p9 build error when 9P_FS=n)
, Eric Van Hensbergen
, (Wed May 14, 8:00 pm)
Re: 2.6.26-rc2-mm1 (p9 build error when 9P_FS=n)
, Andrew Morton
, (Wed May 14, 8:05 pm)
Re: 2.6.26-rc2-mm1 (p9 build error when 9P_FS=n)
, Eric Van Hensbergen
, (Wed May 14, 10:29 pm)
Re: 2.6.26-rc2-mm1 (p9 build error when 9P_FS=n)
, Andrew Morton
, (Wed May 14, 11:04 pm)
Re: 2.6.26-rc2-mm1 (p9 build error when 9P_FS=n)
, Eric Van Hensbergen
, (Wed May 14, 11:53 pm)
Re: 2.6.26-rc2-mm1 (SCSI_DH build errors)
, Randy Dunlap
, (Wed May 14, 5:13 pm)
Re: 2.6.26-rc2-mm1 (SCSI_DH build errors)
, James Bottomley
, (Thu May 15, 10:46 am)
Re: 2.6.26-rc2-mm1 (SCSI_DH build errors)
, Chandra Seetharaman
, (Thu May 15, 3:56 pm)
Re: 2.6.26-rc2-mm1 (SCSI_DH build errors)
, Andrew Morton
, (Thu May 22, 11:25 pm)
Re: 2.6.26-rc2-mm1 (SCSI_DH build errors)
, Chandra Seetharaman
, (Fri May 23, 3:39 pm)
Re: 2.6.26-rc2-mm1 (SCSI_DH build errors)
, Randy Dunlap
, (Fri May 23, 4:28 pm)
Re: 2.6.26-rc2-mm1 (SCSI_DH build errors)
, Chandra Seetharaman
, (Fri May 23, 9:16 pm)
Re: 2.6.26-rc2-mm1
, Zan Lynx
, (Wed May 14, 4:49 pm)
Re: 2.6.26-rc2-mm1
, Andrew Morton
, (Wed May 14, 5:00 pm)
Re: 2.6.26-rc2-mm1
, me
, (Wed May 14, 5:14 pm)
Re: 2.6.26-rc2-mm1
, Zan Lynx
, (Wed May 14, 6:06 pm)
Re: 2.6.26-rc2-mm1 (CONFIG_*FD build errors)
, Randy Dunlap
, (Wed May 14, 4:43 pm)
Re: 2.6.26-rc2-mm1 (WARN() build error)
, Randy Dunlap
, (Wed May 14, 4:39 pm)
2.6.26-rc2-mm1: sloooow mkfs.ext2
, Alexey Dobriyan
, (Wed May 14, 5:16 pm)
Re: 2.6.26-rc2-mm1: sloooow mkfs.ext2
, Alexey Dobriyan
, (Wed May 14, 5:33 pm)
Re: 2.6.26-rc2-mm1: sloooow mkfs.ext2
, Jiri Slaby
, (Thu May 15, 5:41 pm)
Re: 2.6.26-rc2-mm1
, Torsten Kaiser
, (Wed May 14, 3:12 pm)
Re: 2.6.26-rc2-mm1
, Andrew Morton
, (Wed May 14, 3:35 pm)
Re: 2.6.26-rc2-mm1
, Torsten Kaiser
, (Thu May 15, 1:44 pm)
Re: 2.6.26-rc2-mm1
, Andrew Morton
, (Thu May 15, 2:49 pm)
Re: 2.6.26-rc2-mm1: sparc64 - possible recursive locking det...
, Mariusz Kozlowski
, (Wed May 14, 2:29 pm)
Re: 2.6.26-rc2-mm1: sparc64 - possible recursive locking det...
, Andrew Morton
, (Wed May 14, 2:41 pm)
Re: 2.6.26-rc2-mm1: sparc64 - possible recursive locking det...
, Mariusz Kozlowski
, (Wed May 14, 2:50 pm)
[BUG] 2.6.26-rc2-mm1 - kernel panic at inet_create() on powe...
, Kamalesh Babulal
, (Wed May 14, 11:34 am)
Re: [BUG] 2.6.26-rc2-mm1 - kernel panic at inet_create() on ...
, Paul E. McKenney
, (Wed May 14, 12:07 pm)
Re: [BUG] 2.6.26-rc2-mm1 - kernel panic at inet_create() on ...
, Alexey Dobriyan
, (Wed May 14, 4:05 pm)
Re: [BUG] 2.6.26-rc2-mm1 - kernel panic at inet_create() on ...
, Paul E. McKenney
, (Wed May 14, 4:32 pm)
[BUG] 2.6.26-rc2-mm1 - kernel BUG at fs/reiserfs/journal.c:1...
, Kamalesh Babulal
, (Wed May 14, 10:03 am)
Re: [BUG] 2.6.26-rc2-mm1 - kernel BUG at fs/reiserfs/journal...
, Andrew Morton
, (Wed May 14, 2:01 pm)
[BUG] 2.6.26-rc2-mm1 - kernel bug while bootup at __alloc_pa...
, Kamalesh Babulal
, (Wed May 14, 7:24 am)
Re: [BUG] 2.6.26-rc2-mm1 - kernel bug while bootup at __allo...
, Andrew Morton
, (Wed May 14, 1:36 pm)
Re: [BUG] 2.6.26-rc2-mm1 - kernel bug while bootup at __allo...
, Kamalesh Babulal
, (Wed May 14, 2:21 pm)
Re: [BUG] 2.6.26-rc2-mm1 - kernel bug while bootup at __allo...
, Andrew Morton
, (Wed May 14, 3:44 pm)
Re: [BUG] 2.6.26-rc2-mm1 - kernel bug while bootup at __allo...
, Kamalesh Babulal
, (Sun May 18, 4:00 am)
Re: [BUG] 2.6.26-rc2-mm1 - kernel bug while bootup at __allo...
, KOSAKI Motohiro
, (Sun May 18, 1:07 pm)
Re: [BUG] 2.6.26-rc2-mm1 - kernel bug while bootup at __allo...
, Lee Schermerhorn
, (Mon May 19, 10:49 am)
Re: [BUG] 2.6.26-rc2-mm1 - kernel bug while bootup at __allo...
, KAMEZAWA Hiroyuki
, (Wed May 14, 9:54 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Andrew Morton
Re: Linux 2.6.21-rc4
Andrew Morton
-mm merge plans for 2.6.23
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Balbir Singh
Re: [RFC][PATCH 2/7] RSS controller core
git
:
linux-netdev
:
Gerrit Renker
[PATCH 15/37] dccp: Set per-connection CCIDs via socket options
David Miller
[GIT]: Networking
Andreas Henriksson
[PATCH 06/12] Remove bogus reference to tc-filters(8) from tc(8) manpage.
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
1 user
and
814 guests
online.
Online users
Maurizio
Syndicate