2010-08-02 16:45:04

by Stephen Rothwell

[permalink] [raw]
Subject: linux-next: build failure after merge of the final tree (scsi-post-merge tree related)

Hi ,

After merging the final tree, today's linux-next build (powerpc allmodconfig)
failed like this:

ERROR: ".iscsi_boot_destroy_kset" [drivers/scsi/be2iscsi/be2iscsi.ko] undefined!
ERROR: ".iscsi_boot_create_host_kset" [drivers/scsi/be2iscsi/be2iscsi.ko] undefined!
ERROR: ".iscsi_boot_create_target" [drivers/scsi/be2iscsi/be2iscsi.ko] undefined!
ERROR: ".iscsi_boot_create_initiator" [drivers/scsi/be2iscsi/be2iscsi.ko] undefined!
ERROR: ".iscsi_boot_create_ethernet" [drivers/scsi/be2iscsi/be2iscsi.ko] undefined!

Caused by commit a33e2a708b2e83ee6111e45c8d3d49a112c3c887 ("[SCSI]
be2iscsi: Add support for iscsi boot"). For some reason, commit
ed94aa526655d915076dcdbbf4fc962b2a67fcb5 ("[SCSI] be2iscsi: select
ISCSI_BOOT_SYSFS") was not sufficient to make sure that
CONFIG_ISCSI_BOOT_SYSFS is defined for this build.
--
Cheers,
Stephen Rothwell [email protected]
http://www.canb.auug.org.au/~sfr/


Attachments:
(No filename) (930.00 B)
(No filename) (490.00 B)
Download all attachments

2010-08-02 16:47:10

by Stephen Rothwell

[permalink] [raw]
Subject: Re: linux-next: build failure after merge of the final tree (scsi-post-merge tree related)

Hi all,

On Tue, 3 Aug 2010 02:44:45 +1000 Stephen Rothwell <[email protected]> wrote:
>
> After merging the final tree, today's linux-next build (powerpc allmodconfig)
> failed like this:
>
> ERROR: ".iscsi_boot_destroy_kset" [drivers/scsi/be2iscsi/be2iscsi.ko] undefined!
> ERROR: ".iscsi_boot_create_host_kset" [drivers/scsi/be2iscsi/be2iscsi.ko] undefined!
> ERROR: ".iscsi_boot_create_target" [drivers/scsi/be2iscsi/be2iscsi.ko] undefined!
> ERROR: ".iscsi_boot_create_initiator" [drivers/scsi/be2iscsi/be2iscsi.ko] undefined!
> ERROR: ".iscsi_boot_create_ethernet" [drivers/scsi/be2iscsi/be2iscsi.ko] undefined!
>
> Caused by commit a33e2a708b2e83ee6111e45c8d3d49a112c3c887 ("[SCSI]
> be2iscsi: Add support for iscsi boot"). For some reason, commit
> ed94aa526655d915076dcdbbf4fc962b2a67fcb5 ("[SCSI] be2iscsi: select
> ISCSI_BOOT_SYSFS") was not sufficient to make sure that
> CONFIG_ISCSI_BOOT_SYSFS is defined for this build.

It turns out that drivers/firmware/Kconfig is only included on x86, ia64
and blackfin.

--
Cheers,
Stephen Rothwell [email protected]
http://www.canb.auug.org.au/~sfr/


Attachments:
(No filename) (1.11 kB)
(No filename) (490.00 B)
Download all attachments

2010-08-02 16:54:14

by James Bottomley

[permalink] [raw]
Subject: Re: linux-next: build failure after merge of the final tree (scsi-post-merge tree related)

missing linux-scsi added to cc list.

On Tue, 2010-08-03 at 02:47 +1000, Stephen Rothwell wrote:
> Hi all,
>
> On Tue, 3 Aug 2010 02:44:45 +1000 Stephen Rothwell <[email protected]> wrote:
> >
> > After merging the final tree, today's linux-next build (powerpc allmodconfig)
> > failed like this:
> >
> > ERROR: ".iscsi_boot_destroy_kset" [drivers/scsi/be2iscsi/be2iscsi.ko] undefined!
> > ERROR: ".iscsi_boot_create_host_kset" [drivers/scsi/be2iscsi/be2iscsi.ko] undefined!
> > ERROR: ".iscsi_boot_create_target" [drivers/scsi/be2iscsi/be2iscsi.ko] undefined!
> > ERROR: ".iscsi_boot_create_initiator" [drivers/scsi/be2iscsi/be2iscsi.ko] undefined!
> > ERROR: ".iscsi_boot_create_ethernet" [drivers/scsi/be2iscsi/be2iscsi.ko] undefined!
> >
> > Caused by commit a33e2a708b2e83ee6111e45c8d3d49a112c3c887 ("[SCSI]
> > be2iscsi: Add support for iscsi boot"). For some reason, commit
> > ed94aa526655d915076dcdbbf4fc962b2a67fcb5 ("[SCSI] be2iscsi: select
> > ISCSI_BOOT_SYSFS") was not sufficient to make sure that
> > CONFIG_ISCSI_BOOT_SYSFS is defined for this build.
>
> It turns out that drivers/firmware/Kconfig is only included on x86, ia64
> and blackfin.

OK, we need to turn this around then and make be2iscsi only use iscsi
boot if it's enabled ... that's going to be some fun #ifdefing in the
driver.

James

2010-08-02 16:56:06

by Mike Christie

[permalink] [raw]
Subject: Re: linux-next: build failure after merge of the final tree (scsi-post-merge tree related)

On 08/02/2010 11:47 AM, Stephen Rothwell wrote:
> Hi all,
>
> On Tue, 3 Aug 2010 02:44:45 +1000 Stephen Rothwell<[email protected]> wrote:
>>
>> After merging the final tree, today's linux-next build (powerpc allmodconfig)
>> failed like this:
>>
>> ERROR: ".iscsi_boot_destroy_kset" [drivers/scsi/be2iscsi/be2iscsi.ko] undefined!
>> ERROR: ".iscsi_boot_create_host_kset" [drivers/scsi/be2iscsi/be2iscsi.ko] undefined!
>> ERROR: ".iscsi_boot_create_target" [drivers/scsi/be2iscsi/be2iscsi.ko] undefined!
>> ERROR: ".iscsi_boot_create_initiator" [drivers/scsi/be2iscsi/be2iscsi.ko] undefined!
>> ERROR: ".iscsi_boot_create_ethernet" [drivers/scsi/be2iscsi/be2iscsi.ko] undefined!
>>
>> Caused by commit a33e2a708b2e83ee6111e45c8d3d49a112c3c887 ("[SCSI]
>> be2iscsi: Add support for iscsi boot"). For some reason, commit
>> ed94aa526655d915076dcdbbf4fc962b2a67fcb5 ("[SCSI] be2iscsi: select
>> ISCSI_BOOT_SYSFS") was not sufficient to make sure that
>> CONFIG_ISCSI_BOOT_SYSFS is defined for this build.
>
> It turns out that drivers/firmware/Kconfig is only included on x86, ia64
> and blackfin.
>

I think the iscsi_boot_sysfs module should just be moved to
drivers/scsi. It is a generic scsi/iscsi interface to export iscsi boot
info and is not tied to boot. I will send a patch in a couple minutes.

2010-08-02 17:42:30

by Mike Christie

[permalink] [raw]
Subject: Re: linux-next: build failure after merge of the final tree (scsi-post-merge tree related)

On 08/02/2010 11:54 AM, James Bottomley wrote:
> missing linux-scsi added to cc list.
>
> On Tue, 2010-08-03 at 02:47 +1000, Stephen Rothwell wrote:
>> Hi all,
>>
>> On Tue, 3 Aug 2010 02:44:45 +1000 Stephen Rothwell<[email protected]> wrote:
>>>
>>> After merging the final tree, today's linux-next build (powerpc allmodconfig)
>>> failed like this:
>>>
>>> ERROR: ".iscsi_boot_destroy_kset" [drivers/scsi/be2iscsi/be2iscsi.ko] undefined!
>>> ERROR: ".iscsi_boot_create_host_kset" [drivers/scsi/be2iscsi/be2iscsi.ko] undefined!
>>> ERROR: ".iscsi_boot_create_target" [drivers/scsi/be2iscsi/be2iscsi.ko] undefined!
>>> ERROR: ".iscsi_boot_create_initiator" [drivers/scsi/be2iscsi/be2iscsi.ko] undefined!
>>> ERROR: ".iscsi_boot_create_ethernet" [drivers/scsi/be2iscsi/be2iscsi.ko] undefined!
>>>
>>> Caused by commit a33e2a708b2e83ee6111e45c8d3d49a112c3c887 ("[SCSI]
>>> be2iscsi: Add support for iscsi boot"). For some reason, commit
>>> ed94aa526655d915076dcdbbf4fc962b2a67fcb5 ("[SCSI] be2iscsi: select
>>> ISCSI_BOOT_SYSFS") was not sufficient to make sure that
>>> CONFIG_ISCSI_BOOT_SYSFS is defined for this build.
>>
>> It turns out that drivers/firmware/Kconfig is only included on x86, ia64
>> and blackfin.
>
> OK, we need to turn this around then and make be2iscsi only use iscsi
> boot if it's enabled ... that's going to be some fun #ifdefing in the
> driver.
>

I think my mistake was to put iscsi_boot_sysfs in drivers/firmware. The
interface is generic and should be used on any arch and with anything
(ibft or iscsi driver) that wants to export iscsi boot info. The
attached patch moves iscsi_boot_sysfs to drivers/scsi. It was made over
linux-next. I have only compile tested it.


Attachments:
0001-iscsi-boot-mv-iscsi_boot_sysfs-to-drivers-scsi.patch (36.28 kB)

2010-08-02 19:00:21

by Konrad Rzeszutek Wilk

[permalink] [raw]
Subject: Re: linux-next: build failure after merge of the final tree (scsi-post-merge tree related)

On Mon, Aug 02, 2010 at 12:46:12PM -0500, Mike Christie wrote:
> On 08/02/2010 11:54 AM, James Bottomley wrote:
> >missing linux-scsi added to cc list.
> >
> >On Tue, 2010-08-03 at 02:47 +1000, Stephen Rothwell wrote:
> >>Hi all,
> >>
> >>On Tue, 3 Aug 2010 02:44:45 +1000 Stephen Rothwell<[email protected]>
> >>wrote:
> >>>
> >>>After merging the final tree, today's linux-next build (powerpc
> >>>allmodconfig)
> >>>failed like this:
> >>>
> >>>ERROR: ".iscsi_boot_destroy_kset" [drivers/scsi/be2iscsi/be2iscsi.ko]
> >>>undefined!
> >>>ERROR: ".iscsi_boot_create_host_kset"
> >>>[drivers/scsi/be2iscsi/be2iscsi.ko] undefined!
> >>>ERROR: ".iscsi_boot_create_target" [drivers/scsi/be2iscsi/be2iscsi.ko]
> >>>undefined!
> >>>ERROR: ".iscsi_boot_create_initiator"
> >>>[drivers/scsi/be2iscsi/be2iscsi.ko] undefined!
> >>>ERROR: ".iscsi_boot_create_ethernet" [drivers/scsi/be2iscsi/be2iscsi.ko]
> >>>undefined!
> >>>
> >>>Caused by commit a33e2a708b2e83ee6111e45c8d3d49a112c3c887 ("[SCSI]
> >>>be2iscsi: Add support for iscsi boot"). For some reason, commit
> >>>ed94aa526655d915076dcdbbf4fc962b2a67fcb5 ("[SCSI] be2iscsi: select
> >>>ISCSI_BOOT_SYSFS") was not sufficient to make sure that
> >>>CONFIG_ISCSI_BOOT_SYSFS is defined for this build.
> >>
> >>It turns out that drivers/firmware/Kconfig is only included on x86, ia64
> >>and blackfin.
> >
> >OK, we need to turn this around then and make be2iscsi only use iscsi
> >boot if it's enabled ... that's going to be some fun #ifdefing in the
> >driver.
> >
>
> I think my mistake was to put iscsi_boot_sysfs in drivers/firmware. The

Yikes. Last minute change, eh?

> interface is generic and should be used on any arch and with anything
> (ibft or iscsi driver) that wants to export iscsi boot info. The
> attached patch moves iscsi_boot_sysfs to drivers/scsi. It was made over
> linux-next. I have only compile tested it.

did you compile test it with the x86 native iBFT driver?

2010-08-02 19:06:25

by Mike Christie

[permalink] [raw]
Subject: Re: linux-next: build failure after merge of the final tree (scsi-post-merge tree related)

On 08/02/2010 01:59 PM, Konrad Rzeszutek Wilk wrote:
> On Mon, Aug 02, 2010 at 12:46:12PM -0500, Mike Christie wrote:
>> On 08/02/2010 11:54 AM, James Bottomley wrote:
>>> missing linux-scsi added to cc list.
>>>
>>> On Tue, 2010-08-03 at 02:47 +1000, Stephen Rothwell wrote:
>>>> Hi all,
>>>>
>>>> On Tue, 3 Aug 2010 02:44:45 +1000 Stephen Rothwell<[email protected]>
>>>> wrote:
>>>>>
>>>>> After merging the final tree, today's linux-next build (powerpc
>>>>> allmodconfig)
>>>>> failed like this:
>>>>>
>>>>> ERROR: ".iscsi_boot_destroy_kset" [drivers/scsi/be2iscsi/be2iscsi.ko]
>>>>> undefined!
>>>>> ERROR: ".iscsi_boot_create_host_kset"
>>>>> [drivers/scsi/be2iscsi/be2iscsi.ko] undefined!
>>>>> ERROR: ".iscsi_boot_create_target" [drivers/scsi/be2iscsi/be2iscsi.ko]
>>>>> undefined!
>>>>> ERROR: ".iscsi_boot_create_initiator"
>>>>> [drivers/scsi/be2iscsi/be2iscsi.ko] undefined!
>>>>> ERROR: ".iscsi_boot_create_ethernet" [drivers/scsi/be2iscsi/be2iscsi.ko]
>>>>> undefined!
>>>>>
>>>>> Caused by commit a33e2a708b2e83ee6111e45c8d3d49a112c3c887 ("[SCSI]
>>>>> be2iscsi: Add support for iscsi boot"). For some reason, commit
>>>>> ed94aa526655d915076dcdbbf4fc962b2a67fcb5 ("[SCSI] be2iscsi: select
>>>>> ISCSI_BOOT_SYSFS") was not sufficient to make sure that
>>>>> CONFIG_ISCSI_BOOT_SYSFS is defined for this build.
>>>>
>>>> It turns out that drivers/firmware/Kconfig is only included on x86, ia64
>>>> and blackfin.
>>>
>>> OK, we need to turn this around then and make be2iscsi only use iscsi
>>> boot if it's enabled ... that's going to be some fun #ifdefing in the
>>> driver.
>>>
>>
>> I think my mistake was to put iscsi_boot_sysfs in drivers/firmware. The
>
> Yikes. Last minute change, eh?

I do not know what you mean. The patches always had iscsi_boot_sysfs in
the firmware dir. You mean this is a last minute change?

>
>> interface is generic and should be used on any arch and with anything
>> (ibft or iscsi driver) that wants to export iscsi boot info. The
>> attached patch moves iscsi_boot_sysfs to drivers/scsi. It was made over
>> linux-next. I have only compile tested it.
>
> did you compile test it with the x86 native iBFT driver?

Yes.

2010-08-02 20:00:35

by Konrad Rzeszutek Wilk

[permalink] [raw]
Subject: Re: linux-next: build failure after merge of the final tree (scsi-post-merge tree related)

> >Yikes. Last minute change, eh?
>
> I do not know what you mean. The patches always had iscsi_boot_sysfs in
> the firmware dir. You mean this is a last minute change?

Yes, this rename.
>
> >
> >>interface is generic and should be used on any arch and with anything
> >>(ibft or iscsi driver) that wants to export iscsi boot info. The
> >>attached patch moves iscsi_boot_sysfs to drivers/scsi. It was made over
> >>linux-next. I have only compile tested it.
> >
> >did you compile test it with the x86 native iBFT driver?
>
> Yes.

Excellent. The patch does not look like it has changed at all, so:

1). Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
for the removal from firmware/ibft, and
2). Reviewed-by: Konrad Rzeszutek Wilk <[email protected]> for the
the part that puts in drivers/scsi and will make it now under James'
mainternship.

James,

I've asked Linus to pull my iBFT tree before yours as there was this
dependency. Are you OK putting this patch in your tree, or would you prefer
that I expunge Mike's patch from mine?


>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html

2010-08-02 20:14:13

by James Bottomley

[permalink] [raw]
Subject: Re: linux-next: build failure after merge of the final tree (scsi-post-merge tree related)

On Mon, 2010-08-02 at 15:59 -0400, Konrad Rzeszutek Wilk wrote:
> > >Yikes. Last minute change, eh?
> >
> > I do not know what you mean. The patches always had iscsi_boot_sysfs in
> > the firmware dir. You mean this is a last minute change?
>
> Yes, this rename.
> >
> > >
> > >>interface is generic and should be used on any arch and with anything
> > >>(ibft or iscsi driver) that wants to export iscsi boot info. The
> > >>attached patch moves iscsi_boot_sysfs to drivers/scsi. It was made over
> > >>linux-next. I have only compile tested it.
> > >
> > >did you compile test it with the x86 native iBFT driver?
> >
> > Yes.
>
> Excellent. The patch does not look like it has changed at all, so:
>
> 1). Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
> for the removal from firmware/ibft, and
> 2). Reviewed-by: Konrad Rzeszutek Wilk <[email protected]> for the
> the part that puts in drivers/scsi and will make it now under James'
> mainternship.
>
> James,
>
> I've asked Linus to pull my iBFT tree before yours as there was this
> dependency. Are you OK putting this patch in your tree, or would you prefer
> that I expunge Mike's patch from mine?

I can put this patch into my post merge tree. I suspect you having a
post-post-merge tree (needed for the build problems) might be a bit
overkill ...

James

2010-08-03 01:09:53

by Konrad Rzeszutek Wilk

[permalink] [raw]
Subject: Re: linux-next: build failure after merge of the final tree (scsi-post-merge tree related)

> > 2). Reviewed-by: Konrad Rzeszutek Wilk <[email protected]> for the
> > the part that puts in drivers/scsi and will make it now under James'
> > mainternship.
> >
> > James,
> >
> > I've asked Linus to pull my iBFT tree before yours as there was this
> > dependency. Are you OK putting this patch in your tree, or would you
> > prefer that I expunge Mike's patch from mine?
>
> I can put this patch into my post merge tree. I suspect you having a
> post-post-merge tree (needed for the build problems) might be a bit
> overkill ...
>
> James
OK. Thanks.

2010-08-05 01:55:43

by Stephen Rothwell

[permalink] [raw]
Subject: Re: linux-next: build failure after merge of the final tree (scsi-post-merge tree related)

Hi James,

On Mon, 02 Aug 2010 15:14:02 -0500 James Bottomley <[email protected]> wrote:
>
> On Mon, 2010-08-02 at 15:59 -0400, Konrad Rzeszutek Wilk wrote:
> > > >Yikes. Last minute change, eh?
> > >
> > > I do not know what you mean. The patches always had iscsi_boot_sysfs in
> > > the firmware dir. You mean this is a last minute change?
> >
> > Yes, this rename.
> > >
> > > >
> > > >>interface is generic and should be used on any arch and with anything
> > > >>(ibft or iscsi driver) that wants to export iscsi boot info. The
> > > >>attached patch moves iscsi_boot_sysfs to drivers/scsi. It was made over
> > > >>linux-next. I have only compile tested it.
> > > >
> > > >did you compile test it with the x86 native iBFT driver?
> > >
> > > Yes.
> >
> > Excellent. The patch does not look like it has changed at all, so:
> >
> > 1). Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
> > for the removal from firmware/ibft, and
> > 2). Reviewed-by: Konrad Rzeszutek Wilk <[email protected]> for the
> > the part that puts in drivers/scsi and will make it now under James'
> > mainternship.
> >
> > James,
> >
> > I've asked Linus to pull my iBFT tree before yours as there was this
> > dependency. Are you OK putting this patch in your tree, or would you prefer
> > that I expunge Mike's patch from mine?
>
> I can put this patch into my post merge tree. I suspect you having a
> post-post-merge tree (needed for the build problems) might be a bit
> overkill ...

Ping?
--
Cheers,
Stephen Rothwell [email protected]
http://www.canb.auug.org.au/~sfr/


Attachments:
(No filename) (1.57 kB)
(No filename) (490.00 B)
Download all attachments