* Re: ERROR: "min_low_pfn" [drivers/block/aoe/aoe.ko] undefined!
@ 2013-03-27 18:06 Ed Cashin
2013-03-28 0:58 ` Fengguang Wu
2013-03-28 12:56 ` Ed Cashin
0 siblings, 2 replies; 3+ messages in thread
From: Ed Cashin @ 2013-03-27 18:06 UTC (permalink / raw)
To: linux-sh
[Cc linux-sh@vger.kernel.org]
Do you think that's from virt_addr_valid, used in aoeblk_open?
I see that when CONFIG_FLATMEM is defined, arch/sh/includ/asm/page.h
defines pfn_valid in terms of the undefined variables {min,max}_low_pfn,
and virt_addr_valid in terms of pfn_valid.
On Mar 27, 2013, at 3:55 AM, Fengguang Wu wrote:
>
> Hi Ed,
>
> I'm not sure if it's a good bisect.. Anyway, here is an aoe build error.
>
> tree: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux master
> head: de55eb1d60d2ed0f1ba5e13226d91b3bfbe1c108
> commit: e52a29326462badd9ceec90a9eb2ac2a8550e02e aoe: avoid races between device destruction and discovery
> date: 3 months ago
> config: make ARCH=sh titan_defconfig
>
> All error/warnings:
>
> ERROR: "bio_alloc" [fs/xfs/xfs.ko] undefined!
> ERROR: "__user_walk_fd" [fs/xfs/xfs.ko] undefined!
> ERROR: "__up" [fs/xfs/xfs.ko] undefined!
> ERROR: "remove_suid" [fs/xfs/xfs.ko] undefined!
> ERROR: "__alloc_pages" [fs/xfs/xfs.ko] undefined!
> ERROR: "get_unused_fd" [fs/xfs/xfs.ko] undefined!
> ERROR: "d_alloc_root" [fs/xfs/xfs.ko] undefined!
> ERROR: "__down_trylock" [fs/xfs/xfs.ko] undefined!
> ERROR: "open_bdev_excl" [fs/xfs/xfs.ko] undefined!
> ERROR: "sysctl_intvec" [fs/xfs/xfs.ko] undefined!
> ERROR: "__ashrdi3" [fs/xfs/xfs.ko] undefined!
> ERROR: "__create_workqueue_key" [fs/xfs/xfs.ko] undefined!
> ERROR: "kmem_cache_size" [fs/xfs/xfs.ko] undefined!
> ERROR: "init_waitqueue_head" [fs/xfs/xfs.ko] undefined!
> ERROR: "__down" [fs/xfs/xfs.ko] undefined!
> ERROR: "init_timer" [fs/xfs/xfs.ko] undefined!
> ERROR: "kthread_create" [fs/xfs/xfs.ko] undefined!
> ERROR: "get_sb_bdev" [fs/xfs/xfs.ko] undefined!
> ERROR: "vmtruncate" [fs/xfs/xfs.ko] undefined!
> ERROR: "block_sync_page" [fs/xfs/xfs.ko] undefined!
> ERROR: "sync_page_range" [fs/xfs/xfs.ko] undefined!
> ERROR: "d_alloc_anon" [fs/xfs/xfs.ko] undefined!
> ERROR: "close_bdev_excl" [fs/xfs/xfs.ko] undefined!
>>> ERROR: "min_low_pfn" [drivers/block/aoe/aoe.ko] undefined!
>>> ERROR: "max_low_pfn" [drivers/block/aoe/aoe.ko] undefined!
>
> ---
> 0-DAY kernel build testing backend Open Source Technology Center
> http://lists.01.org/mailman/listinfo/kbuild Intel Corporation
--
Ed Cashin
ecashin@coraid.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ERROR: "min_low_pfn" [drivers/block/aoe/aoe.ko] undefined!
2013-03-27 18:06 ERROR: "min_low_pfn" [drivers/block/aoe/aoe.ko] undefined! Ed Cashin
@ 2013-03-28 0:58 ` Fengguang Wu
2013-03-28 12:56 ` Ed Cashin
1 sibling, 0 replies; 3+ messages in thread
From: Fengguang Wu @ 2013-03-28 0:58 UTC (permalink / raw)
To: linux-sh
On Wed, Mar 27, 2013 at 06:06:57PM +0000, Ed Cashin wrote:
> [Cc linux-sh@vger.kernel.org]
>
> Do you think that's from virt_addr_valid, used in aoeblk_open?
Yes, the error goes away when virt_addr_valid() is removed.
> I see that when CONFIG_FLATMEM is defined, arch/sh/includ/asm/page.h
> defines pfn_valid in terms of the undefined variables {min,max}_low_pfn,
> and virt_addr_valid in terms of pfn_valid.
Thanks,
Fengguang
> On Mar 27, 2013, at 3:55 AM, Fengguang Wu wrote:
>
> >
> > Hi Ed,
> >
> > I'm not sure if it's a good bisect.. Anyway, here is an aoe build error.
> >
> > tree: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux master
> > head: de55eb1d60d2ed0f1ba5e13226d91b3bfbe1c108
> > commit: e52a29326462badd9ceec90a9eb2ac2a8550e02e aoe: avoid races between device destruction and discovery
> > date: 3 months ago
> > config: make ARCH=sh titan_defconfig
> >
> > All error/warnings:
> >
> > ERROR: "bio_alloc" [fs/xfs/xfs.ko] undefined!
> > ERROR: "__user_walk_fd" [fs/xfs/xfs.ko] undefined!
> > ERROR: "__up" [fs/xfs/xfs.ko] undefined!
> > ERROR: "remove_suid" [fs/xfs/xfs.ko] undefined!
> > ERROR: "__alloc_pages" [fs/xfs/xfs.ko] undefined!
> > ERROR: "get_unused_fd" [fs/xfs/xfs.ko] undefined!
> > ERROR: "d_alloc_root" [fs/xfs/xfs.ko] undefined!
> > ERROR: "__down_trylock" [fs/xfs/xfs.ko] undefined!
> > ERROR: "open_bdev_excl" [fs/xfs/xfs.ko] undefined!
> > ERROR: "sysctl_intvec" [fs/xfs/xfs.ko] undefined!
> > ERROR: "__ashrdi3" [fs/xfs/xfs.ko] undefined!
> > ERROR: "__create_workqueue_key" [fs/xfs/xfs.ko] undefined!
> > ERROR: "kmem_cache_size" [fs/xfs/xfs.ko] undefined!
> > ERROR: "init_waitqueue_head" [fs/xfs/xfs.ko] undefined!
> > ERROR: "__down" [fs/xfs/xfs.ko] undefined!
> > ERROR: "init_timer" [fs/xfs/xfs.ko] undefined!
> > ERROR: "kthread_create" [fs/xfs/xfs.ko] undefined!
> > ERROR: "get_sb_bdev" [fs/xfs/xfs.ko] undefined!
> > ERROR: "vmtruncate" [fs/xfs/xfs.ko] undefined!
> > ERROR: "block_sync_page" [fs/xfs/xfs.ko] undefined!
> > ERROR: "sync_page_range" [fs/xfs/xfs.ko] undefined!
> > ERROR: "d_alloc_anon" [fs/xfs/xfs.ko] undefined!
> > ERROR: "close_bdev_excl" [fs/xfs/xfs.ko] undefined!
> >>> ERROR: "min_low_pfn" [drivers/block/aoe/aoe.ko] undefined!
> >>> ERROR: "max_low_pfn" [drivers/block/aoe/aoe.ko] undefined!
> >
> > ---
> > 0-DAY kernel build testing backend Open Source Technology Center
> > http://lists.01.org/mailman/listinfo/kbuild Intel Corporation
>
> --
> Ed Cashin
> ecashin@coraid.com
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ERROR: "min_low_pfn" [drivers/block/aoe/aoe.ko] undefined!
2013-03-27 18:06 ERROR: "min_low_pfn" [drivers/block/aoe/aoe.ko] undefined! Ed Cashin
2013-03-28 0:58 ` Fengguang Wu
@ 2013-03-28 12:56 ` Ed Cashin
1 sibling, 0 replies; 3+ messages in thread
From: Ed Cashin @ 2013-03-28 12:56 UTC (permalink / raw)
To: linux-sh
On Mar 27, 2013, at 8:58 PM, Fengguang Wu wrote:
> On Wed, Mar 27, 2013 at 06:06:57PM +0000, Ed Cashin wrote:
>> [Cc linux-sh@vger.kernel.org]
>>
>> Do you think that's from virt_addr_valid, used in aoeblk_open?
>
> Yes, the error goes away when virt_addr_valid() is removed.
So I'm left thinking this a sh-architecture problem with virt_addr_valid and
its dependencies.
>> I see that when CONFIG_FLATMEM is defined, arch/sh/includ/asm/page.h
>> defines pfn_valid in terms of the undefined variables {min,max}_low_pfn,
>> and virt_addr_valid in terms of pfn_valid.
--
Ed Cashin
ecashin@coraid.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-03-28 12:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-27 18:06 ERROR: "min_low_pfn" [drivers/block/aoe/aoe.ko] undefined! Ed Cashin
2013-03-28 0:58 ` Fengguang Wu
2013-03-28 12:56 ` Ed Cashin
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.