[driver-core:driver-core-linus 6/6] drivers/firmware/iscsi_ibft_find.o: In function `kmsg_dump_rewind': (.text+0x18): multiple definition of `kmsg_dump_rewind'

Started by unknown sender on Jun 16, 2012 · 5 messages from 3 authors · Last reply Jun 16, 2012

open the first message on its own page

Message details and related content
Hi Kay,

Kernel build failed on

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git driver-core-linus
head:   e2ae715d66bf4becfb85eb84b7150e23cf27df30
commit: e2ae715d66bf4becfb85eb84b7150e23cf27df30 [6/6] kmsg - kmsg_dump() use iterator to receive log buffer content
config: i386-randconfig-usb1 (attached as .config)

All related error/warning messages are:

drivers/firmware/iscsi_ibft_find.o: In function `kmsg_dump_rewind': (.text+0x18): multiple definition of `kmsg_dump_rewind'
drivers/firmware/iscsi_ibft_find.o: In function `kmsg_dump_get_buffer': (.text+0xc): multiple definition of `kmsg_dump_get_buffer'
drivers/firmware/iscsi_ibft_find.o: In function `kmsg_dump_get_line': (.text+0x0): multiple definition of `kmsg_dump_get_line'
kernel/printk.o: In function `kmsg_dump_rewind': (.text+0x41c): multiple definition of `kmsg_dump_rewind'
kernel/printk.o: In function `kmsg_dump_get_buffer': (.text+0x410): multiple definition of `kmsg_dump_get_buffer'
kernel/printk.o: In function `kmsg_dump_get_line': (.text+0x404): multiple definition of `kmsg_dump_get_line'
kernel/sys.o: In function `kmsg_dump_rewind': (.text+0x59a): multiple definition of `kmsg_dump_rewind'
kernel/sys.o: In function `kmsg_dump_get_buffer': (.text+0x58e): multiple definition of `kmsg_dump_get_buffer'
kernel/sys.o: In function `kmsg_dump_get_line': (.text+0x582): multiple definition of `kmsg_dump_get_line'
arch/x86/kernel/reboot.o: In function `kmsg_dump_rewind': (.text+0x1ea): multiple definition of `kmsg_dump_rewind'
arch/x86/kernel/reboot.o: In function `kmsg_dump_get_buffer': (.text+0x1de): multiple definition of `kmsg_dump_get_buffer'
arch/x86/kernel/reboot.o: In function `kmsg_dump_get_line': (.text+0x1d2): multiple definition of `kmsg_dump_get_line'
arch/x86/kernel/paravirt.o: In function `kmsg_dump_rewind': (.text+0x565): multiple definition of `kmsg_dump_rewind'
arch/x86/kernel/paravirt.o: In function `kmsg_dump_get_buffer': (.text+0x559): multiple definition of `kmsg_dump_get_buffer'
arch/x86/kernel/paravirt.o: In function `kmsg_dump_get_line': (.text+0x54d): multiple definition of `kmsg_dump_get_line'

---
0-DAY kernel build testing backend         Open Source Technology Centre
Fengguang Wu [off-list ref]                     Intel Corporation
Message details and related content
Hi,

On Sat, 16 Jun 2012 08:02:55 +0800 wfg@linux.intel.com wrote:
Kernel build failed on

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git driver-core-linus
head:   e2ae715d66bf4becfb85eb84b7150e23cf27df30
commit: e2ae715d66bf4becfb85eb84b7150e23cf27df30 [6/6] kmsg - kmsg_dump() use iterator to receive log buffer content
config: i386-randconfig-usb1 (attached as .config)
Please have a good look at what you are sending out.  I don't understand
why this report has come to linuxppc-dev (the patch touches an
arch/powerpc file, but none of the problems reported are in that file).
You should put the .config on a web site somewhere and include the URL and
you should not include the whole patch (these were all quite large) -
people can find them given a tree and commit (like above).

And you sent out 7 reports for the same patch!

I approved this bunch, but will not (unless pressured) approve any more.
This scatter gun automated approach is like the boy crying wolf.

I appreciate the effort, but please tone down the reports considerably.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
Message details and related content
Hi list,

I'm sorry if this pile of build errors disturbed you too much. If
the error notification is too permissive, I can limit it in two ways:

1) only notify build errors on the first kconfig. There may be a few
   new error messages show up in the other kconfig builds, however
   mostly are just irritating duplications.

2) only notify the mailing list directly associated with the git tree.
   In this particular case, to only CC devel@driverdev.osuosl.org, and
   to avoid the linux-mtd and linuxppc-dev lists.

Thanks,
Fengguang

On Sat, Jun 16, 2012 at 08:02:55AM +0800, wfg@linux.intel.com wrote:
Hi Kay,

Kernel build failed on

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git driver-core-linus
head:   e2ae715d66bf4becfb85eb84b7150e23cf27df30
commit: e2ae715d66bf4becfb85eb84b7150e23cf27df30 [6/6] kmsg - kmsg_dump() use iterator to receive log buffer content
config: i386-randconfig-usb1 (attached as .config)

All related error/warning messages are:

drivers/firmware/iscsi_ibft_find.o: In function `kmsg_dump_rewind': (.text+0x18): multiple definition of `kmsg_dump_rewind'
drivers/firmware/iscsi_ibft_find.o: In function `kmsg_dump_get_buffer': (.text+0xc): multiple definition of `kmsg_dump_get_buffer'
drivers/firmware/iscsi_ibft_find.o: In function `kmsg_dump_get_line': (.text+0x0): multiple definition of `kmsg_dump_get_line'
kernel/printk.o: In function `kmsg_dump_rewind': (.text+0x41c): multiple definition of `kmsg_dump_rewind'
kernel/printk.o: In function `kmsg_dump_get_buffer': (.text+0x410): multiple definition of `kmsg_dump_get_buffer'
kernel/printk.o: In function `kmsg_dump_get_line': (.text+0x404): multiple definition of `kmsg_dump_get_line'
kernel/sys.o: In function `kmsg_dump_rewind': (.text+0x59a): multiple definition of `kmsg_dump_rewind'
kernel/sys.o: In function `kmsg_dump_get_buffer': (.text+0x58e): multiple definition of `kmsg_dump_get_buffer'
kernel/sys.o: In function `kmsg_dump_get_line': (.text+0x582): multiple definition of `kmsg_dump_get_line'
arch/x86/kernel/reboot.o: In function `kmsg_dump_rewind': (.text+0x1ea): multiple definition of `kmsg_dump_rewind'
arch/x86/kernel/reboot.o: In function `kmsg_dump_get_buffer': (.text+0x1de): multiple definition of `kmsg_dump_get_buffer'
arch/x86/kernel/reboot.o: In function `kmsg_dump_get_line': (.text+0x1d2): multiple definition of `kmsg_dump_get_line'
arch/x86/kernel/paravirt.o: In function `kmsg_dump_rewind': (.text+0x565): multiple definition of `kmsg_dump_rewind'
arch/x86/kernel/paravirt.o: In function `kmsg_dump_get_buffer': (.text+0x559): multiple definition of `kmsg_dump_get_buffer'
arch/x86/kernel/paravirt.o: In function `kmsg_dump_get_line': (.text+0x54d): multiple definition of `kmsg_dump_get_line'

---
0-DAY kernel build testing backend         Open Source Technology Centre
Fengguang Wu [off-list ref]                     Intel Corporation
quoted hunk
quoted
From e2ae715d66bf4becfb85eb84b7150e23cf27df30 Mon Sep 17 00:00:00 2001
From: Kay Sievers <redacted>
Date: Fri, 15 Jun 2012 14:07:51 +0200
Subject: [PATCH] kmsg - kmsg_dump() use iterator to receive log buffer
 content

Provide an iterator to receive the log buffer content, and convert all
kmsg_dump() users to it.

The structured data in the kmsg buffer now contains binary data, which
should no longer be copied verbatim to the kmsg_dump() users.

The iterator should provide reliable access to the buffer data, and also
supports proper log line-aware chunking of data while iterating.

Signed-off-by: Kay Sievers <redacted>
Tested-by: Tony Luck <tony.luck@intel.com>
Reported-by: Anton Vorontsov <redacted>
Tested-by: Anton Vorontsov <redacted>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
 arch/powerpc/platforms/pseries/nvram.c     |   61 +-------
 arch/x86/platform/mrst/early_printk_mrst.c |   13 +-
 drivers/mtd/mtdoops.c                      |   22 +--
 fs/pstore/platform.c                       |   34 ++---
 include/linux/kmsg_dump.h                  |   45 +++++-
 kernel/printk.c                            |  220 ++++++++++++++++++++++++----
 6 files changed, 258 insertions(+), 137 deletions(-)
diff --git a/arch/powerpc/platforms/pseries/nvram.c b/arch/powerpc/platforms/pseries/nvram.c
index 36f957f..8733a86 100644
--- a/arch/powerpc/platforms/pseries/nvram.c
+++ b/arch/powerpc/platforms/pseries/nvram.c
@@ -62,21 +62,19 @@ static struct nvram_os_partition oops_log_partition = {
 };
 
 static const char *pseries_nvram_os_partitions[] = {
 	"ibm,rtas-log",
 	"lnx,oops-log",
 	NULL

735 more quoted lines

#
# Automatically generated file; DO NOT EDIT.
# Linux/i386 3.5.0-rc2 Kernel Configuration
#
# CONFIG_64BIT is not set
CONFIG_X86_32=y
# CONFIG_X86_64 is not set
CONFIG_X86=y
CONFIG_INSTRUCTION_DECODER=y
CONFIG_OUTPUT_FORMAT="elf32-i386"
CONFIG_ARCH_DEFCONFIG="arch/x86/configs/i386_defconfig"
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_HAVE_LATENCYTOP_SUPPORT=y
CONFIG_MMU=y
# CONFIG_NEED_DMA_MAP_STATE is not set
CONFIG_NEED_SG_DMA_LENGTH=y
CONFIG_GENERIC_ISA_DMA=y
CONFIG_GENERIC_BUG=y
CONFIG_GENERIC_HWEIGHT=y
CONFIG_GENERIC_GPIO=y
CONFIG_ARCH_MAY_HAVE_PC_FDC=y
# CONFIG_RWSEM_GENERIC_SPINLOCK is not set
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_GENERIC_CALIBRATE_DELAY=y
CONFIG_ARCH_HAS_CPU_RELAX=y
CONFIG_ARCH_HAS_DEFAULT_IDLE=y
CONFIG_ARCH_HAS_CACHE_LINE_SIZE=y
CONFIG_ARCH_HAS_CPU_AUTOPROBE=y
CONFIG_HAVE_SETUP_PER_CPU_AREA=y
CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK=y
CONFIG_NEED_PER_CPU_PAGE_FIRST_CHUNK=y
CONFIG_ARCH_HIBERNATION_POSSIBLE=y
CONFIG_ARCH_SUSPEND_POSSIBLE=y
# CONFIG_ZONE_DMA32 is not set
# CONFIG_AUDIT_ARCH is not set
CONFIG_ARCH_SUPPORTS_OPTIMIZED_INLINING=y
CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y
CONFIG_X86_32_SMP=y
CONFIG_X86_HT=y

2399 more quoted lines

Message details and related content
On Sat, Jun 16, 2012 at 09:16:46AM +0800, Fengguang Wu wrote:
Hi list,

I'm sorry if this pile of build errors disturbed you too much. If
the error notification is too permissive, I can limit it in two ways:

1) only notify build errors on the first kconfig. There may be a few
   new error messages show up in the other kconfig builds, however
   mostly are just irritating duplications.
Duplicates should be suppressed, they are just annoying.
2) only notify the mailing list directly associated with the git tree.
   In this particular case, to only CC devel@driverdev.osuosl.org, and
   to avoid the linux-mtd and linuxppc-dev lists.
Yes, that would be the best thing to do to start with, then let the
developers take it from there.

thanks,

greg k-h
Message details and related content
Hi Stephen,

On Sat, Jun 16, 2012 at 11:15:50AM +1000, Stephen Rothwell wrote:
Hi,

On Sat, 16 Jun 2012 08:02:55 +0800 wfg@linux.intel.com wrote:
quoted
Kernel build failed on

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git driver-core-linus
head:   e2ae715d66bf4becfb85eb84b7150e23cf27df30
commit: e2ae715d66bf4becfb85eb84b7150e23cf27df30 [6/6] kmsg - kmsg_dump() use iterator to receive log buffer content
config: i386-randconfig-usb1 (attached as .config)
Please have a good look at what you are sending out.  I don't understand
why this report has come to linuxppc-dev (the patch touches an
arch/powerpc file, but none of the problems reported are in that file).
Because I blindly used the lists reported by scripts/get_maintainer.pl ...

I'll build a "mailing list <=> git tree" mapping based on MAINTAINERS
and use that to build CC list, rather than depending on the source files
that the patch randomly touch.
You should put the .config on a web site somewhere and include the URL and
you should not include the whole patch (these were all quite large) -
people can find them given a tree and commit (like above).
That's a valid option. Unfortunately I don't have a website to run
this for now. Anyway, I'm still on the way improving the kernel
testing backend based on your and others' feedback :)
And you sent out 7 reports for the same patch!
That's where a website could help. Different kconfigs may trigger
different errors for the same commit. So it's a hard decision whether
to send emails for all broken kconfigs and risk being a noise, or to
limit it to the first broken kconfig and risk lose of information.

For now, I can send the patch author all the emails, but CC others
only on the first one (with an statement that there are actually more
errors in other kconfigs). So that the author that is responsive for
fixing the bug get the full information, while the others still can
keep track of the error situation.
I approved this bunch, but will not (unless pressured) approve any more.
This scatter gun automated approach is like the boy crying wolf.
I appreciate the effort, but please tone down the reports considerably.
Heh, thanks! We should be able to reach a polished automated system
that's fast and accurate in the end :-)

Thanks,
Fengguang
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help