Re: [PATCH 2.6.20 1/14] CRIS architecture update - Build system

2007-04-22 Thread Sam Ravnborg
Starvik [EMAIL PROTECTED] Acked-by: Sam Ravnborg [EMAIL PROTECTED] Sam - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http

Re: [PATCH 2.6.20 7/14] CRIS architecture update - Boot

2007-04-22 Thread Sam Ravnborg
On Sun, Apr 22, 2007 at 09:25:23PM +0200, Mikael Starvik wrote: The attached patch relates to CRIS kernel booting (decompresser etc) --- ../linux/arch/cris/arch-v32/boot/compressed/Makefile2007-02-04 19:44:54.0 +0100 +++ linux-2.6/arch/cris/arch-v32/boot/compressed/Makefile

Re: [ANNOUNCE][PATCH] Kcli - Kernel command line interface.

2007-04-24 Thread Sam Ravnborg
On Tue, Apr 24, 2007 at 02:36:48PM +0200, Tilman Schmidt wrote: Satyam Sharma schrieb: You might have your reasons for being so anxious to avoid any userspace at all, but quoting famous words, continuing to maintain Kcli out-of-tree could soon turn out to be an act for self-flagellation

kbuild fixes for section mismatch warnings

2007-03-08 Thread Sam Ravnborg
5a1ed6a563f5a198d3d7164abf7a5708af20e7ce Mon Sep 17 00:00:00 2001 From: Sam Ravnborg [EMAIL PROTECTED] Date: Mon, 26 Feb 2007 15:33:52 +0100 Subject: kbuild: fix section mismatch check for vmlinux vmlinux does not contain relocation entries which is used by the section mismatch checks. Reported

Re: [PATCH] Fix building kernel under Solaris

2007-03-08 Thread Sam Ravnborg
On Thu, Mar 08, 2007 at 09:43:46PM +0100, Jan Engelhardt wrote: On Mar 8 2007 08:35, Christoph Hellwig wrote: On Wed, Mar 07, 2007 at 11:45:11PM +0100, Jan Engelhardt wrote: On Mar 7 2007 09:42, Christoph Hellwig wrote: #include sys/time.h #include sys/ioctl.h #include

Re: [PATCH] Fix building kernel under Solaris 11_snv

2007-03-09 Thread Sam Ravnborg
On Thu, Mar 08, 2007 at 11:01:57PM +0100, Jan Engelhardt wrote: On Mar 8 2007 22:25, Sam Ravnborg wrote: Subject: Re: [PATCH] Fix building kernel under Solaris Since Solaris seems to be on the run, I did myself try compile it. However, unlike the original poster who said he did so

Re: [PATCH] Fix building kernel under Solaris 11_snv

2007-03-09 Thread Sam Ravnborg
On Fri, Mar 09, 2007 at 09:16:35PM +0100, Jan Engelhardt wrote: On Mar 9 2007 20:00, Sam Ravnborg wrote: On Thu, Mar 08, 2007 at 11:01:57PM +0100, Jan Engelhardt wrote: Since Solaris seems to be on the run, I did myself try compile it. However, unlike the original poster who said he

Re: PROBLEM: Make nenuconfig does not save parameters.

2007-03-10 Thread Sam Ravnborg
On Sat, Mar 10, 2007 at 07:23:41PM +0100, Jan Engelhardt wrote: Whether the 'working config file path' should change when you do 'Save as Alternate' or not, is a menuconfig axiom. Ask Sam Ravnborg if you want it changed :-) Current behaviour is not logical but on the other hand I do not see

Re: PROBLEM: Make nenuconfig does not save parameters.

2007-03-10 Thread Sam Ravnborg
On Sat, Mar 10, 2007 at 10:34:41PM +0100, Jan Engelhardt wrote: On Mar 10 2007 22:27, Sam Ravnborg wrote: On Sat, Mar 10, 2007 at 07:23:41PM +0100, Jan Engelhardt wrote: Whether the 'working config file path' should change when you do 'Save as Alternate' or not, is a menuconfig axiom

Re: PROBLEM: Make nenuconfig does not save parameters.

2007-03-11 Thread Sam Ravnborg
On Sun, Mar 11, 2007 at 01:07:23PM +0300, Cyrill Gorcunov wrote: [Sam Ravnborg - Sat, Mar 10, 2007 at 11:45:34PM +0100] | On Sat, Mar 10, 2007 at 10:34:41PM +0100, Jan Engelhardt wrote: | | On Mar 10 2007 22:27, Sam Ravnborg wrote: | On Sat, Mar 10, 2007 at 07:23:41PM +0100, Jan

Re: Kconfig style question

2007-03-16 Thread Sam Ravnborg
On Fri, Mar 16, 2007 at 08:53:53AM +0100, Bodo Eggert wrote: Kumar Gala [EMAIL PROTECTED] wrote: For source lines I've seen both: source arch/powerpc/platforms/52xx/Kconfig and source arch/powerpc/platforms/85xx/Kconfig Is there a preferred style? Quotes or not? $ find

Re: [PATCH] cleanpatch: a script to clean up stealth whitespace added by a patch

2007-03-16 Thread Sam Ravnborg
On Fri, Mar 16, 2007 at 02:45:06PM -0700, H. Peter Anvin wrote: This script is a companion to the cleanfile script. This cleans up a patch in unified diff format *before* it is applied. Note that the empty lines at the end of file detection *requires* that the diff was taken with at least

Re: [q] kbuild for private asm-offsets (Re: [PATCH 6/10] lguest code: the little linux hypervisor.)

2007-02-12 Thread Sam Ravnborg
If you will have time for newbie, to explain in a few words, what is it need for (whole idea, or key detail), and, maybe, why it is generated so ... interestingly: asm-offsets.c - *.s - *.h (but this looks like interconnecting C and assembler, obviously) Correct -

Re: kbuild, localversion (Re: [patch 3/3, resend] kbuild: correctly skip tilded backups in localversion files)

2007-02-14 Thread Sam Ravnborg
What i currently have is: -- top file 'Linux.version', with first line: 3.0.0-rcX which can be parsed to fill variables, used in build process (how many `.' and/or `-' in it -- doesn't really matter), second line is the name; -- 'MM.version' for MM tree; -- '[a-z]*\.version' for

Re: kbuild feature/question: default ARCH

2007-02-14 Thread Sam Ravnborg
On Tue, Feb 13, 2007 at 10:06:19PM -0800, Randy Dunlap wrote: Hi, I'd like for kbuild to default ARCH to the already-symlinked arch in include/asm-$(ARCH) if ARCH is not specified on the command line or in the environment. Another approach I have been toying with previously was to include

Re: kbuild question

2007-02-15 Thread Sam Ravnborg
On Thu, Feb 15, 2007 at 01:18:52PM -0600, Kumar Gala wrote: I was wondering if there was some way to make a Kconfig menu either be just a menu or a choice depending on another bool being set or not. What I'm trying to accomplish is if CONFIG_ONLY_HAVE_ONE is set I want it so you can only

Re: [PATCH] No need to use -traditional for processing asm in i386/kernel/

2007-02-15 Thread Sam Ravnborg
On Thu, Feb 15, 2007 at 01:19:12PM -0800, Jeremy Fitzhardinge wrote: No need to use -traditional for processing asm in i386/kernel/ Signed-off-by: Jeremy Fitzhardinge [EMAIL PROTECTED] Any possibility that you could 'fix' the three remaining uses of -traditional in i386? Sam - To

Re: [patch 2.6.20-git] remove modpost false warnings on ARM

2007-02-16 Thread Sam Ravnborg
it will return a whitelisted symbol instead. Then things work as expected. Now to revert various code-bloating fixes that got merged because of this modpost bug Signed-off-by: David Brownell [EMAIL PROTECTED] Acked-by: Sam Ravnborg [EMAIL PROTECTED] And if I get my dev machine operational before

Re: kbuild question

2007-02-16 Thread Sam Ravnborg
Now is there some way to not have to duplicate the 'config choices between if ONLY_HAVE_ONE and if !ONLY_HAVE_ONE To use your example I want to do: config ONLY_HAVE_ONE prompt only have one? boolean if ONLY_HAVE_ONE config VAL_FIRST bool First value config

Re: [pp] kbuild: asm-offsets generalized

2007-02-16 Thread Sam Ravnborg
the following. It uses the currect functionality, and allows for architecture override as needed - but default not used. And architecture override is kept in a architecture specific location. Sam commit df95bb04b04ff2f64805dfa8459099ffe469c8a5 Author: Sam Ravnborg [EMAIL PROTECTED] Date: Fri Feb

Re: kbuild question

2007-02-18 Thread Sam Ravnborg
Sure, on powerpc for some of the embedded sub-architectures you can only select a single board to build for. For a lot of people this is sufficient, however we are moving towards a world where you can easily build in support for multiple boards into a single kernel. I'd like to

Re: Linux 2.6.21-rc4

2007-03-16 Thread Sam Ravnborg
On Fri, Mar 16, 2007 at 03:39:57PM -0700, Randy Dunlap wrote: On Fri, 16 Mar 2007 14:11:21 -0700 Randy Dunlap wrote: On Fri, 16 Mar 2007 09:33:54 -0700 (PDT) Linus Torvalds wrote: I pushed out the -git trees yesterday, but then got distracted, so the patches and tar-balls and

Re: [patch] dont use obsolete index() function in lxdialog

2007-03-16 Thread Sam Ravnborg
On Sat, Mar 17, 2007 at 02:37:07AM -0400, Mike Frysinger wrote: The index() function is obsolete, use strchr() instead. Thanks, applied. Sam - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: [PATCH 0/1] kconfig: sync main view with search dialog current menu

2007-03-17 Thread Sam Ravnborg
On Thu, Oct 05, 2006 at 07:12:59PM +0200, Marco Costalba wrote: When changing current menu in search dialog update also main view Signed-off-by: Marco Costalba [EMAIL PROTECTED] --- I've found handy this 'jump to context behaviour. Please consider for applying. Looked good - applied.

Re: [PATCH] Distinguish between errors and warnings in modpost

2007-03-17 Thread Sam Ravnborg
On Sat, Oct 07, 2006 at 05:35:32AM -0600, Matthew Wilcox wrote: Some of modpost's warnings are fatal, and some are not. Adopt the compiler distinction between errors and warnings by calling error() for fatal diagnostics and warn() for non-fatal ones. Signed-off-by: Matthew Wilcox [EMAIL

Re: [PATCH] kbuild: move tags from ARCH and include/ ahead of drivers

2007-03-17 Thread Sam Ravnborg
On Thu, Jan 04, 2007 at 10:14:52AM -0800, Don Mullis wrote: Move tags extracted from the ARCH and include/ sub-trees ahead of those from device drivers, so that the former will appear first during searches. Saves user time during interactive searches for certain patterns that happen to

Re: Linux 2.6.21-rc4

2007-03-18 Thread Sam Ravnborg
On Sat, Mar 17, 2007 at 07:43:40AM +0100, Sam Ravnborg wrote: On Fri, Mar 16, 2007 at 03:39:57PM -0700, Randy Dunlap wrote: On Fri, 16 Mar 2007 14:11:21 -0700 Randy Dunlap wrote: On Fri, 16 Mar 2007 09:33:54 -0700 (PDT) Linus Torvalds wrote: I pushed out the -git trees

Re: mm snapshot broken-out-2007-03-18-02-44.tar.gz uploaded

2007-03-20 Thread Sam Ravnborg
On Mon, Mar 19, 2007 at 04:25:29PM -0700, Andrew Morton wrote: On Sun, 18 Mar 2007 19:35:48 +0100 Michal Piotrowski [EMAIL PROTECTED] wrote: WARNING: could not find versions for .tmp_versions/built-in.mod WARNING: could not find versions for .tmp_versions/built-in.mod WARNING: could not

Re: [PATCH] Complain about missing system calls.

2007-03-20 Thread Sam Ravnborg
On Thu, Mar 08, 2007 at 04:14:07PM -0800, David Miller wrote: From: David Woodhouse [EMAIL PROTECTED] Date: Thu, 08 Mar 2007 23:01:13 + Most system calls seem to get added to i386 first. This patch automatically generates a warning for any new system call which is implemented on i386

Re: 2.6.21-rc3-mm2

2007-03-20 Thread Sam Ravnborg
On Mon, Mar 19, 2007 at 05:27:11PM -0700, Randy Dunlap wrote: On Wed, 7 Mar 2007 20:19:15 -0800 Andrew Morton wrote: ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc3/2.6.21-rc3-mm2/ - This is the same as 2.6.21-rc3-mm1, except Con's CPU scheduler changes

Re: 2.6.21-rc4-mm1 + 3 hot-fixes -- WARNING: could not find versions for .tmp_versions/built-in.mod

2007-03-20 Thread Sam Ravnborg
84b48a0275b4474587cefecb455372e8df6dabda Author: Sam Ravnborg [EMAIL PROTECTED] Date: Tue Mar 20 21:30:23 2007 +0100 kbuild: do not emit src version warning for non-modules modpost is now called with .o files that are not modules. So do not warn if there is no corresponding .mod file

Re: 2.6.21-rc4-mm1 + 3 hot-fixes -- WARNING: could not find versions for .tmp_versions/built-in.mod

2007-03-20 Thread Sam Ravnborg
On Tue, Mar 20, 2007 at 07:35:06AM -0700, Miles Lane wrote: It looks like the number of section mismatches is much reduced, which is great. But, I don't remember seeing WARNING: could not find versions for ... warnings before. Is this an artifact of the init/.missing_syscalls.h problem I

Re: 2.6.21-rc4-mm1

2007-03-21 Thread Sam Ravnborg
On Tue, Mar 20, 2007 at 09:47:14PM -0800, Andrew Morton wrote: On Tue, 20 Mar 2007 12:20:16 -0700 Kees Cook [EMAIL PROTECTED] wrote: I can't get 2.6.21-rc4-mm1 to compile (with or without this fix): GEN .version init/.missing_syscalls.h.cmd:2: *** missing separator. Stop.

Re: BLK_DEV_MD with CONFIG_NET

2007-03-21 Thread Sam Ravnborg
On Tue, Mar 20, 2007 at 08:26:21PM -0700, David Miller wrote: From: Randy Dunlap [EMAIL PROTECTED] Date: Tue, 20 Mar 2007 20:05:38 -0700 Build a kernel with CONFIG_NET-n and CONFIG_BLK_DEV_MD=m. Unless csum_partial() is built and kept by some arch Makefile, the result is: ERROR:

Re: 2.6.21-rc4-mm1

2007-03-21 Thread Sam Ravnborg
On Tue, Mar 20, 2007 at 09:47:14PM -0800, Andrew Morton wrote: On Tue, 20 Mar 2007 12:20:16 -0700 Kees Cook [EMAIL PROTECTED] wrote: I can't get 2.6.21-rc4-mm1 to compile (with or without this fix): GEN .version init/.missing_syscalls.h.cmd:2: *** missing separator. Stop.

[PATCH 1/3] kbuild: complain about missing system calls.

2007-03-21 Thread Sam Ravnborg
[EMAIL PROTECTED] Signed-off-by: David Woodhouse [EMAIL PROTECTED] Signed-off-by: Sam Ravnborg [EMAIL PROTECTED] --- init/Makefile | 12 +- init/missing_syscalls.c | 57 +++ scripts/syscallchk |6 + 3 files changed, 74

[PATCH 2/3] kbuild: ignore more i386 legacy syscalls

2007-03-21 Thread Sam Ravnborg
is only necessary if the platform started out using the non-SuS compliant sys_old_getrlimit() The rest, like ioperm, iopl, modify_ldt, et al. are i386 specific. Signed-off-by: David S. Miller [EMAIL PROTECTED] Signed-off-by: Sam Ravnborg [EMAIL PROTECTED] --- init/missing_syscalls.c | 16

[PATCH 3/3] kbuild: exempt more syscalls from warnings, for x86_64 and ARM.

2007-03-21 Thread Sam Ravnborg
From 984d35ec37866c9b10c2193fcd1b1b5c6ee4c6cb Mon Sep 17 00:00:00 2001 From: David Woodhouse [EMAIL PROTECTED] Date: Wed, 21 Mar 2007 11:20:51 + Subject: [PATCH] kbuild: exempt more syscalls from warnings, for x86_64 and ARM. Signed-off-by: David Woodhouse [EMAIL PROTECTED] Signed-off-by: Sam

Re: 2.6.21-rc4-mm1

2007-03-22 Thread Sam Ravnborg
On Wed, Mar 21, 2007 at 04:01:11PM -0700, Andrew Morton wrote: On Wed, 21 Mar 2007 23:19:05 +0100 Sam Ravnborg [EMAIL PROTECTED] wrote: On Tue, Mar 20, 2007 at 09:47:14PM -0800, Andrew Morton wrote: On Tue, 20 Mar 2007 12:20:16 -0700 Kees Cook [EMAIL PROTECTED] wrote: I can't

Re: 2.6.21-rc4-mm1

2007-03-22 Thread Sam Ravnborg
On Thu, Mar 22, 2007 at 09:17:00AM +, David Woodhouse wrote: On Wed, 2007-03-21 at 12:59 +0100, Sam Ravnborg wrote: I will give it a shot tonight. Thanks. I'll delete the syscalls-2.6.git tree now that you have it. One issue I have with current approach is that the ARCH specific

Re: [PATCH] lguest: clean rest of linkage warnings (bar one)

2007-03-22 Thread Sam Ravnborg
On Thu, Mar 22, 2007 at 09:09:42PM +1100, Rusty Russell wrote: My previous warning fix broke lguest if your text size wasn't correct to make the __start_paravirtprobe aligned correctly. Put the separate paravirtprobe section back, but inside the init section so it gets discarded. It also

Re: 2.6.21-rc4-mm1

2007-03-22 Thread Sam Ravnborg
On Thu, Mar 22, 2007 at 04:25:53PM +, David Woodhouse wrote: On Thu, 2007-03-22 at 12:41 +0100, Sam Ravnborg wrote: Yep - realized this when I took a closer look. One thing striked my mind. It is correct that new things gets added to i386 first these days? Personally I tend to do

Re: 2.6.21-rc4-mm1 + 3 hot-fixes -- WARNING: could not find versions for .tmp_versions/built-in.mod

2007-03-23 Thread Sam Ravnborg
On Fri, Mar 23, 2007 at 09:54:29PM +0900, Yasunori Goto wrote: Hello. WARNING: mm/built-in.o - Section mismatch: reference to .init.text:__alloc_bootmem_node from .text between 'sparse_init' (at offset 0x15c8f) and '__section_nr' I took a look at this one. You have SPARSEMEM

Re: [PATCH] small documentation fix in Documentation/kbuild/modules.txt

2007-03-23 Thread Sam Ravnborg
On Tue, Mar 20, 2007 at 09:47:47AM -0500, Anton Blanchard wrote: The Makefile fragment in Documentation/kbuild/modules.txt looks to be missing some braces. Applied - thanks, Sam - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL

Re: [PATCH] lguest: clean rest of linkage warnings (bar one)

2007-03-23 Thread Sam Ravnborg
On Fri, Mar 23, 2007 at 06:25:39PM +1100, Rusty Russell wrote: On Thu, 2007-03-22 at 12:45 +0100, Sam Ravnborg wrote: On Thu, Mar 22, 2007 at 09:09:42PM +1100, Rusty Russell wrote: It also fixes the remaining warnings, except one. The code in modpost.c which needs to be taught that it's

Re: [patch] rfc: introduce /dev/hugetlb

2007-03-23 Thread Sam Ravnborg
But for non-programming reasons, we're just not there yet: people want to program direct to the kernel interfaces simply because of the distribution/coordination problems with libraries. It would be nice to fix that problem. What is then needed to get a small subset of user-space in the

Re: [PATCH -mm] Blackfin arch: add kdebug header file

2007-03-27 Thread Sam Ravnborg
On Tue, Mar 27, 2007 at 01:40:45PM +0800, Wu, Bryan wrote: Thanks for this guide line information. I will dig into it. But in my experience, it is difficult to find right patch email receivers, even in the MAINTAINERS file. If there are 20 patch emails, we should find 20 email receivers at

Re: [patch] usb: call bdev_read_only() only on CONFIG_BLOCK

2007-03-27 Thread Sam Ravnborg
On Tue, Mar 27, 2007 at 02:03:25AM -0700, David Rientjes wrote: bdev_read_only() is only defined on CONFIG_BLOCK so we make sure not to call it unless we have it. A new static inline function, is_inode_read_only(), is invoked to call bdev_read_only() on CONFIG_BLOCK and return zero otherwise.

Re: [patch 2/4] clean up identify_cpu

2007-04-07 Thread Sam Ravnborg
On Sat, Apr 07, 2007 at 10:59:47AM -0700, Andrew Morton wrote: On Sat, 07 Apr 2007 10:20:17 -0700 Jeremy Fitzhardinge [EMAIL PROTECTED] wrote: I don't have a x86-64 compile environment on hand, so the 64 bits are completely untested http://userweb.kernel.org/~akpm/cross-compilers/

[PATCH] arm: fix section mismatch warning in board-sam9260

2007-04-07 Thread Sam Ravnborg
was moved to .init.data by this change. Fixed an unrelated section mismatch warning while touching the file. Both changes are only compile tested but obvious correct. [Used at91sam9260ek_defconfig to get compile coverage] Signed-off-by: Sam Ravnborg [EMAIL PROTECTED] --- diff --git a/arch/arm/mach

Re: [PATCH 0/30] Use menuconfig objects

2007-04-11 Thread Sam Ravnborg
On Wed, Apr 11, 2007 at 06:53:37PM +0200, Stefan Richter wrote: Jan Engelhardt wrote: On Apr 11 2007 07:42, Al Boldi wrote: Also, I don't think it's necessary to touch any of the depends on; keep them as is, as they don't hurt staying that way, and may actually be necessary under certain

Re: make clean for DocBook

2007-04-13 Thread Sam Ravnborg
On Fri, Apr 13, 2007 at 09:06:58AM -0700, Randy Dunlap wrote: Hi Sam, 'make clean' doesn't seem to descend into Documentation/DocBook/. At least 'make V=1 clean' doesn't show me any references in DocBook. I guess that this is because DocBook doesn't have anything that qualifies in

Re: make clean for DocBook

2007-04-13 Thread Sam Ravnborg
And we will visit DocBook with mrproper - but not clean. I have no stron opinion when to delete generated files in DocBook. OK, that's fine, thanks for the info... but trying 'make mrproper' gives me: make -f scripts/Makefile.clean obj=Documentation/DocBook make -f

Re: make clean for DocBook

2007-04-13 Thread Sam Ravnborg
On Fri, Apr 13, 2007 at 02:03:37PM -0700, Randy Dunlap wrote: On Fri, 13 Apr 2007 21:32:50 +0200 Sam Ravnborg wrote: And we will visit DocBook with mrproper - but not clean. I have no stron opinion when to delete generated files in DocBook. OK, that's fine, thanks

Re: [PATCH] ALPHA: support graphics on non-zero PCI domains (take 2)

2007-04-15 Thread Sam Ravnborg
+#ifdef CONFIG_VGA_HOSE /* - * Adjust the addr. + * Adjust the address and hose, if necessary. */ -#ifdef CONFIG_VGA_HOSE - if (pci_vga_hose __titan_is_mem_vga(addr)) { + if (pci_vga_hose __is_mem_vga(addr)) { h = pci_vga_hose-index; This

Re: [PATCH] ALPHA: support graphics on non-zero PCI domains (take 2)

2007-04-15 Thread Sam Ravnborg
+#ifndef CONFIG_ALPHA_GENERIC +EXPORT_SYMBOL(tsunami_ioportmap); +EXPORT_SYMBOL(tsunami_ioremap); +#endif It looks strange that the function is always defined but conditionally exported. Also usual style is to place EXPORT right after closing brace of function - (with no

Re: [PATCH] kbuild: Add the code maturity levels DEPRECATED and OBSOLETE.

2007-02-20 Thread Sam Ravnborg
On Tue, Feb 20, 2007 at 05:47:43PM -0500, Robert P. J. Day wrote: On Tue, 20 Feb 2007, Tilman Schmidt wrote: On Sun, 18 Feb 2007 19:35:07 +0100, Bartlomiej Zolnierkiewicz wrote: I think that the patch is useful and that the distinction between DEPRECATED and OBSOLETE options is quite

Re: Detecting section mismatches in vmlinux

2007-02-24 Thread Sam Ravnborg
On Sun, Feb 25, 2007 at 03:53:15AM +0900, Atsushi Nemoto wrote: This is a dirty hack to check all built-in.o just after linking vmlinux. But this can not detect mismatches in libs.a files, and modpost fails with ... is truncated message on empty built-in.o files. Maybe checking at each

Re: Detecting section mismatches in vmlinux

2007-02-24 Thread Sam Ravnborg
Hi Atsushi-san On Sun, Feb 25, 2007 at 03:53:15AM +0900, Atsushi Nemoto wrote: On Thu, 22 Feb 2007 00:57:28 +0900 (JST), Atsushi Nemoto [EMAIL PROTECTED] wrote: $ ../build-i386/scripts/mod/modpost ../build-i386/mm/built-in.o WARNING: ../build-i386/mm/built-in.o - Section mismatch:

[PATCH] x86_64: fix section mismatch warnings

2007-02-25 Thread Sam Ravnborg
for section mismatch in vmlinux. To see these warnings run: scripts/mod/modpost arch/x86_64/kernel/built-in.o kbuild will be fixed but the 'noise-level' had to be decresed first. There remains a few section mismatch warnigns for x86_64 for areas where I did not feel confident. Signed-off-by: Sam

Re: second thoughts about DEPRECATED and OBSOLETE maturity levels

2007-02-26 Thread Sam Ravnborg
On Sun, Feb 25, 2007 at 05:07:24PM -0500, Robert P. J. Day wrote: having championed the cause of adding those two code maturity levels to init/Kconfig, i just realized that implementing them as simple dependencies has a *really* annoying shortcoming. in order to display that a kernel

[PATCH,RFC] fix section mismatch warning in lib/swiotlb.c

2007-02-26 Thread Sam Ravnborg
swiotlb_init is marked __init and EXPORT_SYMBOL(). A 'git grep swiotlb_init' showed no users in drivers/ so maybe the EXPORT_SYMBOL can be deleted which would cure the warning? I took the pragmatic approach and made it non-__init. Signed-off-by: Sam Ravnborg [EMAIL PROTECTED] --- diff --git a/lib

[PATCH] fix section mismatch warning in lockdep

2007-02-26 Thread Sam Ravnborg
'__lock_acquire' (at offset 0xb2) The warnings are less obviously due to heavy inlining by gcc - this is not altered. Fix the section mismatch warnings by removing the __init marking, which seems obviously wrong. Signed-off-by: Sam Ravnborg [EMAIL PROTECTED] --- diff --git a/kernel/lockdep.c b/kernel

[PATCH] pcie: fix section mismatch warning

2007-02-27 Thread Sam Ravnborg
pcie_portdrv to pcie_portdriver so we pass the whitelist. Signed-off-by: Sam Ravnborg [EMAIL PROTECTED] --- diff --git a/drivers/pci/pcie/portdrv_pci.c b/drivers/pci/pcie/portdrv_pci.c index f17e7ed..0be5a0b 100644 --- a/drivers/pci/pcie/portdrv_pci.c +++ b/drivers/pci/pcie/portdrv_pci.c @@ -276,7

[PATCH] aer: fix section mismatch warning

2007-02-27 Thread Sam Ravnborg
pass the whitelist. Signed-off-by: Sam Ravnborg [EMAIL PROTECTED] --- diff --git a/drivers/pci/pcie/aer/aerdrv.c b/drivers/pci/pcie/aer/aerdrv.c index b164de0..db6ad8e 100644 --- a/drivers/pci/pcie/aer/aerdrv.c +++ b/drivers/pci/pcie/aer/aerdrv.c @@ -66,7 +66,7 @@ static struct pci_error_handlers

[PATCH,RFC] pci: do not mark exported functions as __devinit

2007-02-27 Thread Sam Ravnborg
to .init.text:pci_bus_size_bridges from __ksymtab between '__ksymtab_pci_bus_size_bridges' (at offset 0x4e0) and '__ksymtab_pci_setup_cardbus' Signed-off-by: Sam Ravnborg [EMAIL PROTECTED] --- Is this the correct approach or do we allow __init symbols to be exported? In that case we need to find a way to export them without

Re: module builds need improvement / top Makefile not good enough

2007-03-02 Thread Sam Ravnborg
On Fri, Mar 02, 2007 at 09:14:22AM -0800, FN wrote: Hello list, I am unhappy with the direction the 2.6 kernel builds have taken. Very much like Micro$loth DDKs we (linux users) are being forced to build modules by plugging into a framework that doesn't respect the fine aspects of

Re: [PATCH,RFC] pci: do not mark exported functions as __devinit

2007-03-02 Thread Sam Ravnborg
On Fri, Mar 02, 2007 at 12:47:52PM -0800, Greg KH wrote: On Tue, Feb 27, 2007 at 10:27:02AM +0100, Sam Ravnborg wrote: Functions marked __devinit will be removed after kernel init. But being exported they are potentially called by a module much later. So the safer choice seems

[PATCH] pci: fix section mismatch warning

2007-03-02 Thread Sam Ravnborg
__devinit. Fix was to remove the __devinit from the offending function. Signed-off-by: Sam Ravnborg [EMAIL PROTECTED] --- With this patch and my pending kbuild changes drivers/pci/ is now section mismatch free! Sam diff --git a/drivers/pci/search.c b/drivers/pci/search.c index ff98ead

Re: [PATCH,RFC] pci: do not mark exported functions as __devinit

2007-03-02 Thread Sam Ravnborg
Yes, we allow them to be exported globally, as other init code might need to call them, like these functions. So yes, I think we need to find a way to fix the warning tools, as the code is correct here. This was the patch that I made to ignore these. It is on top of other pending changes

[PATCH] bcm43xx: do not rebuild when kernel version changes

2007-03-03 Thread Sam Ravnborg
Replacing use of UTS_RELEASE with utsname()-release avoids that this module is rebuild each time the kernel version changes. Compile tested only. Signed-off-by: Sam Ravnborg [EMAIL PROTECTED] --- diff --git a/drivers/net/wireless/bcm43xx/bcm43xx_ethtool.c b/drivers/net/wireless/bcm43xx

[PATCH] usb-storage: do not rebuild when kernel version changes

2007-03-03 Thread Sam Ravnborg
Replacing use of UTS_RELEASE with utsname()-release avoids that the usb-storage driver is recompiled each time the kernel version changes. Compile tested only. Signed-off-by: Sam Ravnborg [EMAIL PROTECTED] --- diff --git a/drivers/usb/storage/usb.c b/drivers/usb/storage/usb.c index 7e7ec29

Re: [PATCH] bcm43xx: do not rebuild when kernel version changes

2007-03-03 Thread Sam Ravnborg
On Sat, Mar 03, 2007 at 03:03:57PM -0600, Larry Finger wrote: Michael Buesch wrote: On Saturday 03 March 2007 20:03, Sam Ravnborg wrote: Replacing use of UTS_RELEASE with utsname()-release avoids that this module is rebuild each time the kernel version changes. Compile tested only

Re: [PATCH] KCONFIG: Add some extra info regarding the kernel localversion.

2007-03-04 Thread Sam Ravnborg
On Sun, Mar 04, 2007 at 12:10:18PM -0500, Robert P. J. Day wrote: On Sun, 4 Mar 2007, Randy Dunlap wrote: On Sun, 4 Mar 2007 06:01:17 -0500 (EST) Robert P. J. Day wrote: A small formatting fix, and add a few lines describing the origin of the git-based localversion string for the

Re: module builds need improvement / top Makefile not good enough

2007-03-05 Thread Sam Ravnborg
On Mon, Mar 05, 2007 at 05:53:14AM -0800, FN wrote: | I am unhappy with the direction the 2.6 kernel builds have taken. | Very much like Micro$loth DDKs we (linux users) are being forced to | build modules by plugging into a framework that doesn't respect the fine | aspects of dependency

Re: [PATCH] Fix building kernel under Solaris

2007-03-06 Thread Sam Ravnborg
On Tue, Mar 06, 2007 at 10:09:40AM -0800, Deepak Saxena wrote: Fix varous build breakages that occur when building on a Solaris system (SunOS 4.8 to be exact) - No asm/types.h - lpptest doesn't make sense on a Solaris host (this should really be cross-built..) - Need to define

Re: [PATCH 1/20] x86_64: Assembly safe page.h and pgtable.h

2007-03-07 Thread Sam Ravnborg
On Wed, Mar 07, 2007 at 12:29:20PM +0530, Vivek Goyal wrote: This patch makes pgtable.h and page.h safe to include in assembly files like head.S. Allowing us to use symbolic constants instead of hard coded numbers when refering to the page tables. This patch copies asm-sparc64/const.h

Re: 2.6.21-rc5-mm1

2007-03-27 Thread Sam Ravnborg
description but it includes the syscalls included by David Miller. I have pushed out a fresh kbuild.git tree with this patch (and 18 others). Sam commit 0dc20d72858da06283db0750ff7edf7294e79d7b Author: Sam Ravnborg [EMAIL PROTECTED] Date: Tue Mar 27 22:50:29 2007 +0200 kbuild: complain

Re: [PATCH 2.6.21-rc5-mm2] add compile.h dependency for missing_syscalls.o in init/Makefile

2007-03-28 Thread Sam Ravnborg
On Wed, Mar 28, 2007 at 11:56:01AM -0400, Lee Schermerhorn wrote: PATCH 2.6.21-rc5-mm2: add compile.h dependency for missing_syscalls.o Add a dependency on include/linux/compile.h to missing_syscalls.o target in init/Makefile. Without this, [ia64] build fails with:

Re: [PATCH] clarify CONFIG_DEBUG_INFO help text

2007-03-28 Thread Sam Ravnborg
On Tue, Mar 27, 2007 at 03:21:33PM -0600, Andreas Dilger wrote: The following patch adds some extra clarification to the CONFIG_DEBUG_INFO Kconfig help text. The current text is mostly a recursive definition and doesn't really say much of anything. When I first read this I thought it was

Re: [PATCH] fix dependency generation

2007-03-30 Thread Sam Ravnborg
On Thu, Mar 29, 2007 at 10:27:14AM +0100, Jan Beulich wrote: Commit 2e3646e51b2d6415549b310655df63e7e0d7a080 changed the way the split config tree is built, but failed to also adjust fixdep accordingly - if changing a config option from or to m, files referencing the respective

Re: [PATCH] fix dependency generation

2007-03-30 Thread Sam Ravnborg
On Thu, Mar 29, 2007 at 10:27:14AM +0100, Jan Beulich wrote: Commit 2e3646e51b2d6415549b310655df63e7e0d7a080 changed the way the split config tree is built, but failed to also adjust fixdep accordingly - if changing a config option from or to m, files referencing the respective

[PATCH 1/2] kconfig: factor out code in conf_spilt_config

2007-03-31 Thread Sam Ravnborg
From e9fcc3bf8d1c71df1ae650d5291c5d4b15d71656 Mon Sep 17 00:00:00 2001 From: Sam Ravnborg [EMAIL PROTECTED] Date: Sat, 31 Mar 2007 09:15:12 +0200 Subject: [PATCH] kconfig: factor out code in conf_spilt_config This patch simply factor out code and do not introduce any functional changes. Signed

[PATCH 2/2] kconfig/kbuild: fix dependency problem

2007-03-31 Thread Sam Ravnborg
From bbc89026f3e5d9e437ce4cd26d3013fe226103e2 Mon Sep 17 00:00:00 2001 From: Sam Ravnborg [EMAIL PROTECTED] Date: Sat, 31 Mar 2007 09:34:46 +0200 Subject: [PATCH] kconfig/kbuild: fix dependency problem Commit 2e3646e51b2d6415549b310655df63e7e0d7a080 changed the way the split config tree is built

[PATCH] kbuild: fix dependency generation

2007-04-01 Thread Sam Ravnborg
, so only the =y case is honoured. This is fixed in fixdep so when a CONFIG symbol with _MODULE is found we skip that part and only look for the CONFIG_SYMBOL version. Signed-off-by: Jan Beulich [EMAIL PROTECTED] Signed-off-by: Sam Ravnborg [EMAIL PROTECTED] --- The patch can be pulled from: ssh

Re: [PATCH] kbuild: fix dependency generation

2007-04-01 Thread Sam Ravnborg
case is honoured. This is fixed in fixdep so when a CONFIG symbol with _MODULE is found we skip that part and only look for the CONFIG_SYMBOL version. Signed-off-by: Jan Beulich [EMAIL PROTECTED] Signed-off-by: Sam Ravnborg [EMAIL PROTECTED] --- scripts/basic/fixdep.c | 10 +++--- 1 files

Re: [PATCH 14/16] kconfig-allow-override.diff

2007-04-01 Thread Sam Ravnborg
: Sam Ravnborg [EMAIL PROTECTED] confdata.c | 14 +- 1 file changed, 5 insertions(+), 9 deletions(-) Index: linux-2.6.21-rc5/scripts/kconfig/confdata.c === --- linux-2.6.21-rc5.orig/scripts/kconfig/confdata.c

Re: [PATCH] fix dependency generation

2007-04-01 Thread Sam Ravnborg
On Sat, Mar 31, 2007 at 06:11:36PM +0200, Roman Zippel wrote: Hi, On Sat, 31 Mar 2007, Sam Ravnborg wrote: The problem is that tristate symbol represent three values. =n = CONFIG_SYMBOL is undefined =y = CONFIG_SYMBOL is defined =m = COMFIG_SYMBOL_MODULE is defined The function

Re: [pp] kbuild: asm-offsets generalized

2007-04-01 Thread Sam Ravnborg
On Fri, Feb 16, 2007 at 04:59:29PM +0100, Oleg Verych wrote: Proposition will follow. [] [patch proposition] kbuild: lguest with private asm-offsets [] * needs asm-offsets magic demystified, generalized. [] [patch proposition] kbuild: asm-offsets generalized *

Re: [pp] kbuild: asm-offsets generalized

2007-04-01 Thread Sam Ravnborg
On Sun, Apr 01, 2007 at 11:08:03PM +0200, Oleg Verych wrote: On Sun, Apr 01, 2007 at 10:42:03PM +0200, Sam Ravnborg wrote: On Fri, Feb 16, 2007 at 04:59:29PM +0100, Oleg Verych wrote: [] [patch proposition] kbuild: asm-offsets generalized [] * (hopefully) more readable sed scripts

Re: Rebuilding and checksumming the Linux kernel

2007-04-01 Thread Sam Ravnborg
On Sun, Apr 01, 2007 at 03:56:30PM -0300, Edgardo Hames wrote: I'm working on a project with teams spread across the world and we all work on the same repository patching the kernel and then integrating into a common main branch. Even though we label the source code, we would like to make sure

Re: mconf not removed by make mrproper

2007-04-01 Thread Sam Ravnborg
my patch generation script relies on make mrproper making a properly clean tree. Fixed - thanks. Sam From c428e4cd1fdddb5c1a33d6cd229148497ae03893 Mon Sep 17 00:00:00 2001 From: Sam Ravnborg [EMAIL PROTECTED] Date: Sun, 1 Apr 2007 23:14:11 +0200 Subject: [PATCH] kbuild: remove kconfig

Re: 2.6.21-rc5-mm4

2007-04-05 Thread Sam Ravnborg
On Wed, Apr 04, 2007 at 01:55:08PM -0400, [EMAIL PROTECTED] wrote: On Tue, 03 Apr 2007 20:37:42 PDT, Randy Dunlap said: Good luck. But the symbols are there. Just use left/right arrow keys to scroll the display left/right and you can see them. Now if you just had that indicator to tell

Re: translations (Re: Kbuild update)

2008-01-06 Thread Sam Ravnborg
Also, future of the linux codebase with Chinese comments in C or in ASM is kind of wired nightmare. Those, who cannot read actual source code (i.e. C) will not go too far. $subject is purely about the kernel configuration - if that was not clear. Sam -- To unsubscribe from this list:

Re: Linux 2.6.24-rc7 Build Failure on headers_install

2008-01-07 Thread Sam Ravnborg
On Mon, Jan 07, 2008 at 02:18:27PM +0530, Kamalesh Babulal wrote: Hi, The make allyesconfig build fails on x86_64 (AMD box) with the following error CHK include/linux/version.h CHK include/linux/utsrelease.h CALLscripts/checksyscalls.sh CHK

smpboot_64 section mismatch warning

2008-01-07 Thread Sam Ravnborg
On Mon, Jan 07, 2008 at 04:53:44PM +0100, Alejandro Riveira Fernández wrote: MODPOST vmlinux.o WARNING: vmlinux.o(.text+0x10508): Section mismatch: reference to .init.text:fork_idle (between 'do_fork_idle' and 'lapic_timer_broadcast') Caused by following commit: commit

section mismatch warning in head_64.S

2008-01-07 Thread Sam Ravnborg
On Mon, Jan 07, 2008 at 04:53:44PM +0100, Alejandro Riveira Fernández wrote: MODPOST vmlinux.o WARNING: vmlinux.o(.text.head+0xe4): Section mismatch: reference to .init.data.2:trampoline_level4_pgt (between 'ident_complete' and 'secondary_startup_64') WARNING:

Re: Rename suspend/hibernation stuff for clarity

2008-01-07 Thread Sam Ravnborg
On Mon, Jan 07, 2008 at 02:52:36PM +0100, Pavel Machek wrote: kernel/suspend_64.c and power/cpu.c were equivalent. Move them into power/cpu_*.c for consistency. power/swsusp.S and kernel/suspend_asm_64.S were both misnamed and equivalent. Merge then minto power/hibernation_*.S.

Re: [2.6.24-rc6-mm1] Build Failure on ppc64 with CONFIG_USB_GADGET not set.

2008-01-07 Thread Sam Ravnborg
On Mon, Jan 07, 2008 at 09:49:55AM -0800, Andrew Morton wrote: On Mon, 7 Jan 2008 16:53:58 +0530 sudhir kumar [EMAIL PROTECTED] wrote: Hi Andrew! Kernel build fails on my ppc64 machine. It seems to be a dependency problem with CONFIG_USB_GADGET not set. Config file is attached.

Re: New linux arch

2008-01-07 Thread Sam Ravnborg
On Mon, Jan 07, 2008 at 10:51:40PM +1000, Michal Simek wrote: Hi Sam, It this code drop available somewhere? the code is based on Petalogix kernel. I reduce huge Kconfig file to necessary size. You'll see in patch or in web. A brief information about this kernel is at

  1   2   3   4   5   6   7   8   9   10   >