[patch] debugging feature: SysRq-Q to print timers

2006-12-16 Thread Ingo Molnar
* Adrian Bunk [EMAIL PROTECTED] wrote: On Thu, Dec 14, 2006 at 10:59:13PM -0800, Andrew Morton wrote: ... Changes since 2.6.19-mm1: ... +debugging-feature-proc-timer_list.patch Refreshed, refactored dynticks/hrtimer queue. ... I'd assume sysrq_timer_list_show() wasn't intended

Re: [BUG] 2.6.19-rt14 does not compile with CONFIG_NO_HZ

2006-12-16 Thread Ingo Molnar
* Remy Bohmer [EMAIL PROTECTED] wrote: Hello, For your Information, I get the following compile error when CONFIG_NO_HZ is NOT configured on 2.6.19.1-rt14: does -rt15 work any better? Ingo - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a

[patch] lock debugging: fix DEBUG_LOCKS_WARN_ON() debug_locks_silent

2006-12-16 Thread Ingo Molnar
* Matthew Wilcox [EMAIL PROTECTED] wrote: Moreover, do we want to get stack dumps while running the locking testsuite in the first place? From various comments, it looks like it's supposed to be turned off, but it looks like the sense of debug_locks_silent is inverted in the definition

Re: Binary Drivers

2006-12-16 Thread Pavel Machek
Hi! I think some kernel developers take to much responsibility, is there a bug in a binary driver? Send it upstream and explain to the user that it's a closed source driver and is up to said company to fix it. ANd deal with users screaming at you 'I'm sure nvidia is not a problem because it

Horses and donkeys [Re: Binary Drivers]

2006-12-16 Thread Pavel Machek
Hi! Binary drivers from hardware manufacturers are crap. Learn it by heart. So are the Linux drivers in some cases. My ATI Radeon Mobility video in my laptop is an example. If you are going to mount a sanctimonious high horse it is a wise idea to mount a horse instead of a donkey.

[PATCH][2.6.20-rc1-mm1] sparsemem vmem_map optimzed pfn_valid() [0/2]

2006-12-16 Thread KAMEZAWA Hiroyuki
This patch implements pfn_valid() micro optimization. This uses ia64_pfn_valid() idea to check mem_map is valid or not instead of sparsemem's logic. By this, we'll not access mem_section[] in usual ops. I attaches my easy test result with *micro* benchmark on SMP system. I'm glad if you give me

Re: 2.6.19 file content corruption on ext3

2006-12-16 Thread Marc Haber
On Fri, Dec 15, 2006 at 10:30:34AM +0100, Marc Haber wrote: Additionally, updating to 2.6.19.1 allowed me to remove data=writeback without the issue re-surfacing. I suspect that the issue is fixed now. Unfortunately, this suspicion proved wrong when the file was corrupted again this morning.

[PATCH][2.6.20-rc1-mm1] sparsemem vmem_map optimzed pfn_valid() [1/2] generic arch.

2006-12-16 Thread KAMEZAWA Hiroyuki
This patch is for implementing optimized pfn_valid() for sparsemem_vmemmap. By this, we can avoid accessing mem_section[] in usual codes. (memory hotplug will access it.) This patch checks vmem_map is mapped or not by get_user(). If fault, pfn is not valid. Because sparsemem_vmemmap's virtual

[PATCH][2.6.20-rc1-mm1] sparsemem vmem_map optimzed pfn_valid() [2/2] for ia64

2006-12-16 Thread KAMEZAWA Hiroyuki
ia64 support for sparsemem vmem_map optimize pfn_valid() patch. Because ia64 has its own virtual mem_map, we can reuse the same code. So this patch is simple. To support optimized pfn_valid() in other arch, you (may) have to modify fault handler in kernel address space. Signed-Off-By: KAMEZAWA

Re: [PATCH] Fix sparsemem on Cell

2006-12-16 Thread KAMEZAWA Hiroyuki
On Fri, 15 Dec 2006 11:45:36 -0800 Andrew Morton [EMAIL PROTECTED] wrote: Perhaps if the function's role in the world was commented it would be clearer. How about patch like this ? (this one is not tested.) Already-exisiting-more-generic-flag is available ? -Kame ==

Re: lots of code could be simplified by using ARRAY_SIZE()

2006-12-16 Thread Pavel Machek
Hi! there are numerous places throughout the source tree that apparently calculate the size of an array using the construct sizeof(fubar)/sizeof(fubar[0]). see for yourself: $ grep -Er sizeof\((.*)\) ?/ ?sizeof\(\1\[0\]\) * but we already have, from include/linux/kernel.h:

Re: [Fwd: escape key]

2006-12-16 Thread Pavel Machek
Hi! From: James Lockie [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: escape key Date: Tue, 12 Dec 2006 14:57:57 -0500 I can't use the escape key to exit a menu with make menuconfig on kernel-2.6.19 or .1 It works on 2.6.18. :-( Is this a problem? You can exit a

Re: How to interpret PM_TRACE output

2006-12-16 Thread Pavel Machek
On Wed 13-12-06 22:22:59, Tino Keitel wrote: Hi folks, I tried PM_TRACE to find the driver that breaks resume from suspend. I got working resume until I switched to the sk98lin driver (because sky2 doesn't support wake on LAN). That's why I was quite sure that sk98lin is the culprit, but I

Re: [GIT PATCH] more Driver core patches for 2.6.19

2006-12-16 Thread Pavel Machek
Hi! Seriously, though, please please pretty please do not allow a facility for going through a simple interface to get accesses to irqs and memory regions into the mainline kernel, with or without toy ISA examples. I do agree. I'm not violently opposed to something like this in

Re: Binary Drivers

2006-12-16 Thread Marek Wawrzyczny
Dear Linux Kernel ML, I am writing as a Linux-only user of over 2 years to express my concern with the recent proposal to block out closed source modules from the kernel. While, I understand and share your sentiments over open source software and drivers. I fear however, that trying to

Re: sata badness in 2.6.20-rc1? [Was: Re: md patches in -mm]

2006-12-16 Thread Rafael J. Wysocki
On Saturday, 16 December 2006 00:38, Rafael J. Wysocki wrote: On Friday, 15 December 2006 23:24, Jeff Garzik wrote: Rafael J. Wysocki wrote: On Friday, 15 December 2006 22:39, Andrew Morton wrote: On Fri, 15 Dec 2006 13:05:52 -0800 Andrew Morton [EMAIL PROTECTED] wrote: Jeff, I

Re: GPL only modules [was Re: [GIT PATCH] more Driver core patches for 2.6.19]

2006-12-16 Thread Rafael J. Wysocki
On Saturday, 16 December 2006 07:43, Willy Tarreau wrote: On Fri, Dec 15, 2006 at 06:55:17PM -0800, Linus Torvalds wrote: On Sat, 16 Dec 2006, karderio wrote: As it stands, I believe the licence of the Linux kernel does impose certain restrictions and come with certain

Re: [S390] Fix reboot hang on LPARs

2006-12-16 Thread Martin Schwidefsky
On Fri, 2006-12-15 at 22:15 +0100, Heiko Carstens wrote: This is broken. pgm_check_occured must be volatile, otherwise the -EIO path in stsch_reset might get optimized away. That is true, good spotting. Only adding a volatile in not the right solution. The point here is that the stsch inline

Re: GPL only modules [was Re: [GIT PATCH] more Driver core patches for 2.6.19]

2006-12-16 Thread Willy Tarreau
On Sat, Dec 16, 2006 at 11:28:27AM +0100, Rafael J. Wysocki wrote: On Saturday, 16 December 2006 07:43, Willy Tarreau wrote: On Fri, Dec 15, 2006 at 06:55:17PM -0800, Linus Torvalds wrote: On Sat, 16 Dec 2006, karderio wrote: As it stands, I believe the licence of the Linux

Re: [RFC][PATCH] Make entries in the Device drivers menu individually selectable

2006-12-16 Thread Stefan Richter
Robert P. J. Day wrote on 2006-12-14: i've posted on this before so here's a slightly-updated patch that uses the kbuild menuconfig feature to make numerous entries under the Device drivers menu selectable on the spot. Works for me, but I don't see a lot of benefit from it. Actually I see

Re: GPL only modules [was Re: [GIT PATCH] more Driver core patches for 2.6.19]

2006-12-16 Thread Rafael J. Wysocki
On Saturday, 16 December 2006 11:50, Willy Tarreau wrote: On Sat, Dec 16, 2006 at 11:28:27AM +0100, Rafael J. Wysocki wrote: On Saturday, 16 December 2006 07:43, Willy Tarreau wrote: On Fri, Dec 15, 2006 at 06:55:17PM -0800, Linus Torvalds wrote: On Sat, 16 Dec 2006, karderio

Re: 2.6.19-rc5: known regressions (v3)

2006-12-16 Thread Ray Lee
On 11/22/06, Andrew Morton [EMAIL PROTECTED] wrote: On Wed, 22 Nov 2006 11:36:14 +0100 Andi Kleen [EMAIL PROTECTED] wrote: On Wednesday 22 November 2006 11:28, Eric Dumazet wrote: On Wednesday 15 November 2006 11:35, Eric Dumazet wrote: On Wednesday 15 November 2006 11:21, Adrian Bunk

Re: lots of code could be simplified by using ARRAY_SIZE()

2006-12-16 Thread Robert P. J. Day
On Fri, 15 Dec 2006, Tim Schmielau wrote: On Fri, 15 Dec 2006, Robert P. J. Day wrote: On Fri, 15 Dec 2006, Jan Engelhardt wrote: Even sizeof a / sizeof *a may happen. yes, sadly, there are a number of those as well. back to the drawing board. It might be interesting to grep

Re: Nasty warnings on arm (+ one compile problem -- INIT_WORK related)

2006-12-16 Thread Russell King
On Sat, Dec 16, 2006 at 12:58:18AM +0100, Pavel Machek wrote: I get nasty warning for each file compiled: CC drivers/video/sa1100fb.o In file included from include/asm/bitops.h:23, from include/linux/bitops.h:9, from include/linux/thread_info.h:20,

Software RAID1 (with non-identical discs) performance

2006-12-16 Thread Wiebe Cazemier
Hi, I'm planning to put a software RAID1 array in my computer, but I have a few technical questions. When using non-identical discs (not just size, but also geometry) to contruct your array, you can never get the partitions of the underlying discs to be equal in size because the size of a

[PATCH] Fix help text for CONFIG_ATA_PIIX

2006-12-16 Thread Alan
Thanks for clarifying Bill, and sorry Alan. ata_piix does indeed work correctly. The help text is a bit confusing: config ATA_PIIX tristate Intel PIIX/ICH SATA support depends on PCI help This option enables support for ICH5/6/7/8 Serial ATA.

Re: sata badness in 2.6.20-rc1? [Was: Re: md patches in -mm]

2006-12-16 Thread Rafael J. Wysocki
On Saturday, 16 December 2006 10:56, Rafael J. Wysocki wrote: On Saturday, 16 December 2006 00:38, Rafael J. Wysocki wrote: On Friday, 15 December 2006 23:24, Jeff Garzik wrote: Rafael J. Wysocki wrote: On Friday, 15 December 2006 22:39, Andrew Morton wrote: On Fri, 15 Dec 2006

Re: lots of code could be simplified by using ARRAY_SIZE()

2006-12-16 Thread Robert P. J. Day
On Sat, 16 Dec 2006, Pavel Machek wrote: Hi! there are numerous places throughout the source tree that apparently calculate the size of an array using the construct sizeof(fubar)/sizeof(fubar[0]). see for yourself: $ grep -Er sizeof\((.*)\) ?/ ?sizeof\(\1\[0\]\) * but we

(Cross) compiling fails on first try (was Re: 2.6.20-rc1-mm1)

2006-12-16 Thread Jan Dittmer
Any ideas? Happens only on some archs (not affected is alpha, i386, ia64, sparc, sparc64). Happens not with 2.6.19(.1). See http://l4x.org/k/ for more logs. 2.6.20-rc1 is also affected. # make HOSTCC=gcc-3.4 ARCH=um CROSS_COMPILE= CROSS32_COMPILE= O=/tmp/tmp.abUIc11429/out/um defconfig cut #

Re: 2.6.18 mmap hangs unrelated apps

2006-12-16 Thread Christian Kuhn
Hi, Am Donnerstag, den 14.12.2006, 20:30 -0600 schrieb Michal Sabala: I am observing processes entering uninterruptible sleep apparently due to an unrelated application using mmap over nfs. Applications in uninterruptible sleep hang indefinitely while other applications continue working

Re: lots of code could be simplified by using ARRAY_SIZE()

2006-12-16 Thread Tim Schmielau
On Sat, 16 Dec 2006, Robert P. J. Day wrote: On Fri, 15 Dec 2006, Tim Schmielau wrote: It might be interesting to grep for anything that divides two sizeofs and eyeball the result for possible mistakes. This would provide some real benefit beyond the cosmetical changes. i did that a

[-mm patch] mm/vmscan.c: make a function static

2006-12-16 Thread Adrian Bunk
On Thu, Dec 14, 2006 at 10:59:13PM -0800, Andrew Morton wrote: ... Changes since 2.6.19-mm1: ... +lumpy-reclaim-v2.patch ... Teach page reclaim to perform a short physical scan to try to generate free higher-order pages. Needs work. ... This patch makes the needlessly global

[-mm patch] drivers/video/{s3fb,svgalib}.c: possible cleanups

2006-12-16 Thread Adrian Bunk
On Thu, Dec 14, 2006 at 10:59:13PM -0800, Andrew Morton wrote: ... Changes since 2.6.19-mm1: ... +fbdev-driver-for-s3-trio-virge.patch ... fbdev updates ... This patch contains the following possible cleanups: - CodingStyle: - opening braces of functions at the beginning of the next line

[-mm patch] make uio_irq_handler() static

2006-12-16 Thread Adrian Bunk
On Thu, Dec 14, 2006 at 10:59:13PM -0800, Andrew Morton wrote: ... Changes since 2.6.19-mm1: ... +gregkh-driver-uio-irq.patch driver tree updates ... This patch makes the needlessly global uio_irq_handler() static. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] ---

Re: lots of code could be simplified by using ARRAY_SIZE()

2006-12-16 Thread Robert P. J. Day
(i'm not *trying* to belabour this issue ... i am merely succeeding) On Sat, 16 Dec 2006, Tim Schmielau wrote: On Sat, 16 Dec 2006, Robert P. J. Day wrote: ... ... it's amazing the variation that you find beyond the obvious: $ grep -Er sizeof.*/.*sizeof . | less ...

Re: 2.6.18.5 usb/sysfs bug.

2006-12-16 Thread Dave Jones
On Sat, Dec 16, 2006 at 12:47:09AM -0500, Chuck Ebbert wrote: In-Reply-To: [EMAIL PROTECTED] On Fri, 15 Dec 2006 16:37:15 -0500, Dave Jones wrote: Can you enable CONFIG_USB_DEBUG and send the log info that happens right before this oops? Gah, and here it is, actually

[PATCH] pata_via: Cable detect error

2006-12-16 Thread Alan
The UDMA66 VIA hardware has no controller side cable detect bits we can use. This patch minimally fixes the problem by reporting unknown in this case and using drive side detection. The old drivers/ide code does some additional tricks but those aren't appropriate now we are in -rc. Without this

Re: GPL only modules [was Re: [GIT PATCH] more Driver core patches for 2.6.19]

2006-12-16 Thread Theodore Tso
On Sat, Dec 16, 2006 at 07:43:44AM +0100, Willy Tarreau wrote: All this is about fair use, and fair use comes from compatibility between the author's intent and the user's intent. That is NOT TRUE. If the author's intent is that anyone who is using a TV with a screen larger than 29 and with

Re: Userspace I/O driver core

2006-12-16 Thread Dr. David Alan Gilbert
* Arjan van de Ven ([EMAIL PROTECTED]) wrote: I understand one still has to write a kernel driver to shut up the irq. How about writing a small bytecode interpreter to make event than unnecessary? if you do that why not do a real driver. Because perhaps it is potentially very simple

[2.6.19-rc6-mm2] Lost files on ext3 after suspend

2006-12-16 Thread Benoit Boissinot
Ok, since it is the second time it happened I decided to report it. Last week I lost some files in my home directory (at least .gnome .firefox .bashrc .Xauthority), I think it was after a suspend. Yesterday exactly the same thing happened (same kernel 2.6.19-rc6-mm2, I haven't upgraded because I

Re: GPL only modules [was Re: [GIT PATCH] more Driver core patches for 2.6.19]

2006-12-16 Thread Gene Heskett
On Saturday 16 December 2006 05:28, Rafael J. Wysocki wrote: On Saturday, 16 December 2006 07:43, Willy Tarreau wrote: [...] I think the most important problem with the binary-only drivers is that we can't support their users _at_ _all_, but some of them expect us to support them somehow. So,

Re: [GIT PATCH] more Driver core patches for 2.6.19

2006-12-16 Thread Jörn Engel
On Sat, 16 December 2006 09:05:32 +, Pavel Machek wrote: Well.. it is easier to debug in userspace. While bad hw access can still kill the box, bad free() will not, and most bugs in early developent are actually of 2nd kind. Isn't that what qemu is for? Jörn -- Happiness isn't having

Re: xfslogd-spinlock bug?

2006-12-16 Thread Haar János
Hi I have some news. I dont know there is a context between 2 messages, but i can see, the spinlock bug comes always on cpu #3. Somebody have any idea? Thanks Janos Dec 16 11:42:48 dy-base BUG: warning at mm/truncate.c:398/invalidate_inode_pages2_range() Dec 16 11:42:49 dy-base Dec 16

[-mm patch] drivers/ide/pci/tc86c001.c: make a function static

2006-12-16 Thread Adrian Bunk
On Thu, Dec 14, 2006 at 10:59:13PM -0800, Andrew Morton wrote: ... Changes since 2.6.19-mm1: ... +toshiba-tc86c001-ide-driver-take-2.patch ... Misc. ... This patch makes the needlessly global init_hwif_tc86c001() static. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] --- BTW: I'm not sure

Re: What's in git.git (stable)

2006-12-16 Thread Jakub Narebski
Junio C Hamano wrote: Things that need to be done to complete what have been merged to 'master' are: What about discussed but not implemented moving restriction on non-head refs from git-checkout (forbidding to checkout tags, remotes, and arbitrary commits like HEAD~n) to git-commit (allowing

Re: [-mm patch] drivers/ide/pci/tc86c001.c: make a function static

2006-12-16 Thread Alan
I'm not sure whether it'd be a good idea to include such a driver for the legacy IDE subsystem without a libata based driver for the same hardware. It would be nice to have a libata driver but having the hardware supported is far better than no support at all. - To unsubscribe from this

[PATCH 2.6.20-rc1 09/10] Testing module for kmemleak

2006-12-16 Thread Catalin Marinas
This patch adds a loadable module that deliberately leaks memory. It is used for testing various memory leaking scenarios. Signed-off-by: Catalin Marinas [EMAIL PROTECTED] --- lib/Kconfig.debug | 11 ++ mm/Makefile |1 + mm/memleak-test.c | 94

[PATCH 2.6.20-rc1 04/10] Modules support for kmemleak

2006-12-16 Thread Catalin Marinas
This patch handles the kmemleak operations needed for modules loading so that memory allocations from inside a module are properly tracked. Signed-off-by: Catalin Marinas [EMAIL PROTECTED] --- kernel/module.c | 56 +++ 1 files changed, 56

[PATCH 2.6.20-rc1 03/10] Add the memory allocation/freeing hooks for kmemleak

2006-12-16 Thread Catalin Marinas
This patch adds the callbacks to memleak_(alloc|free) functions from kmalloc/kfree, kmem_cache_(alloc|free), vmalloc/vfree etc. Signed-off-by: Catalin Marinas [EMAIL PROTECTED] --- include/linux/slab_def.h |6 ++ mm/page_alloc.c |2 ++ mm/slab.c| 19

[PATCH 2.6.20-rc1 05/10] Add kmemleak support for i386

2006-12-16 Thread Catalin Marinas
This patch adds the kmemleak-related entries to the vmlinux.lds.S linker script. Signed-off-by: Catalin Marinas [EMAIL PROTECTED] --- arch/i386/kernel/vmlinux.lds.S |6 ++ include/asm-i386/thread_info.h | 18 -- 2 files changed, 22 insertions(+), 2 deletions(-) diff

[PATCH 2.6.20-rc1 02/10] Kmemleak documentation

2006-12-16 Thread Catalin Marinas
Signed-off-by: Catalin Marinas [EMAIL PROTECTED] --- Documentation/kmemleak.txt | 161 1 files changed, 161 insertions(+), 0 deletions(-) diff --git a/Documentation/kmemleak.txt b/Documentation/kmemleak.txt new file mode 100644 index

[PATCH 2.6.20-rc1 07/10] Remove some of the kmemleak false positives

2006-12-16 Thread Catalin Marinas
There are allocations for which the main pointer cannot be found but they are not memory leaks. This patch fixes some of them. For more information on false positives, see Documentation/kmemleak.txt. Signed-off-by: Catalin Marinas [EMAIL PROTECTED] --- arch/i386/kernel/setup.c |

[PATCH 2.6.20-rc1 01/10] Base support for kmemleak

2006-12-16 Thread Catalin Marinas
This patch adds the base support for the kernel memory leak detector. It traces the memory allocation/freeing in a way similar to the Boehm's conservative garbage collector, the difference being that the unreferenced objects are not freed but only shown in /sys/kernel/debug/memleak. Enabling this

[PATCH 2.6.20-rc1 08/10] Keep the __init functions after initialization

2006-12-16 Thread Catalin Marinas
This patch adds the CONFIG_DEBUG_KEEP_INIT option which preserves the .init.text section after initialization. Memory leaks happening during this phase can be more easily tracked. Signed-off-by: Catalin Marinas [EMAIL PROTECTED] --- include/linux/init.h |5 + lib/Kconfig.debug| 12

[PATCH 2.6.20-rc1 00/10] Kernel memory leak detector 0.13

2006-12-16 Thread Catalin Marinas
This series of patches represent version 0.13 of the kernel memory leak detector. See the Documentation/kmemleak.txt file for a more detailed description. The patches are downloadable from (the whole patch or the broken-out series) http://www.procode.org/kmemleak/ What's new in this version: -

2.6.19.1, sata_sil: sata dvd writer doesn't work

2006-12-16 Thread Harald Dunkel
Hi folks, I've got a problem with a Samsung SATA dvd writer: It doesn't play video DVDs. If I connect the same drive via an adapter to USB, then there is no such problem. dmesg says: ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen ata2.00: (BMDMA stat 0x1) ata2.00: tag 0 cmd

[PATCH 2.6.20-rc1 06/10] Add kmemleak support for ARM

2006-12-16 Thread Catalin Marinas
This patch adds the kmemleak-related entries to the vmlinux.lds.S linker script. Signed-off-by: Catalin Marinas [EMAIL PROTECTED] --- arch/arm/kernel/vmlinux.lds.S |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/arch/arm/kernel/vmlinux.lds.S

[PATCH 2.6.20-rc1 10/10] Update the MAINTAINERS file for kmemleak

2006-12-16 Thread Catalin Marinas
Signed-off-by: Catalin Marinas [EMAIL PROTECTED] --- MAINTAINERS |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index dea5b2a..fe186b4 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1746,6 +1746,12 @@ L: [EMAIL PROTECTED] W:

Re: [PATCH] Fix help text for CONFIG_ATA_PIIX

2006-12-16 Thread Jeff Garzik
applied to #upstream-fixes - 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://www.tux.org/lkml/

Re: [PATCH] pata_via: Cable detect error

2006-12-16 Thread Jeff Garzik
Alan wrote: The UDMA66 VIA hardware has no controller side cable detect bits we can use. This patch minimally fixes the problem by reporting unknown in this case and using drive side detection. The old drivers/ide code does some additional tricks but those aren't appropriate now we are in -rc.

Re: SATA DMA problem (sata_uli)

2006-12-16 Thread Jeff Garzik
Alan wrote: I tracked it down to one of the drives being forced into PIO4 mode rather than UDMA mode; dmesg bits: ata4.00: ATA-7, max UDMA/133, 586072368 sectors: LBA48 NCQ (depth 0/32) ata4.00: ata4: dev 0 multi count 16 ata4.00: simplex DMA is claimed by other device, disabling DMA Your ULi

Re: [PATCH] pata_via: Cable detect error

2006-12-16 Thread Dave Jones
On Sat, Dec 16, 2006 at 10:47:49AM -0500, Jeff Garzik wrote: I think it's #upstream-fixes material (-rc material), and applied as such. Especially considering that libata pata_* drivers are not the primary drivers, I think it's best to forward this type of stuff, especially as it is

Re: GPL only modules [was Re: [GIT PATCH] more Driver core patches for 2.6.19]

2006-12-16 Thread Linus Torvalds
On Sat, 16 Dec 2006, Willy Tarreau wrote: All this is about fair use, and fair use comes from compatibility between the author's intent and the user's intent. No. fair use comes from an INcompatibility between the author's intent and the users intent. In other words, fair use kicks in

Re: [PATCH] pata_via: Cable detect error

2006-12-16 Thread Jeff Garzik
Dave Jones wrote: On Sat, Dec 16, 2006 at 10:47:49AM -0500, Jeff Garzik wrote: I think it's #upstream-fixes material (-rc material), and applied as such. Especially considering that libata pata_* drivers are not the primary drivers, I think it's best to forward this type of stuff,

Re: GPL only modules [was Re: [GIT PATCH] more Driver core patches for 2.6.19]

2006-12-16 Thread Willy Tarreau
On Sat, Dec 16, 2006 at 09:42:36AM -0500, Theodore Tso wrote: On Sat, Dec 16, 2006 at 07:43:44AM +0100, Willy Tarreau wrote: All this is about fair use, and fair use comes from compatibility between the author's intent and the user's intent. That is NOT TRUE. If the author's intent is

Re: [PATCH] support HDIO_GET_IDENTITY in libata

2006-12-16 Thread Jeff Garzik
Erik Andersen wrote: On Thu Dec 14, 2006 at 03:31:30PM -0500, Jeff Garzik wrote: Erik Andersen wrote: + if (!atapi_enabled dev-class == ATA_DEV_ATAPI) { This seems like an impossible condition? Hmm, suppose so. Do you think that simply doing: if (dev-class ==

Re: GPL only modules [was Re: [GIT PATCH] more Driver core patches for 2.6.19]

2006-12-16 Thread Linus Torvalds
On Sat, 16 Dec 2006, Rafael J. Wysocki wrote: I think the most important problem with the binary-only drivers is that we can't support their users _at_ _all_, but some of them expect us to support them somehow. Actually, I do think that we've made our position on that side pretty clear.

Re: [PATCH] support HDIO_GET_IDENTITY in libata

2006-12-16 Thread Jeff Garzik
Alexey Dobriyan wrote: On Thu, Dec 14, 2006 at 01:26:08PM -0700, Erik Andersen wrote: On Thu Dec 14, 2006 at 03:05:52PM -0500, Jeff Garzik wrote: FWIW, libata generally follows a implement it, if enough people care about it policy for the old HDIO_xxx ioctls. I personally care about

Re: [2.6 patch] more ftape removal

2006-12-16 Thread Jeff Garzik
Adrian Bunk wrote: This patch removes some more ftape code. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] this affects userspace exported headers, so I'm not sure we want to kill that. even if the interface is gone is current kernels, people might want to build binaries against these

Re: GPL only modules [was Re: [GIT PATCH] more Driver core patches for 2.6.19]

2006-12-16 Thread Willy Tarreau
On Sat, Dec 16, 2006 at 08:28:20AM -0800, Linus Torvalds wrote: On Sat, 16 Dec 2006, Willy Tarreau wrote: All this is about fair use, and fair use comes from compatibility between the author's intent and the user's intent. No. fair use comes from an INcompatibility between the author's

Re: GPL only modules [was Re: [GIT PATCH] more Driver core patches for 2.6.19]

2006-12-16 Thread Jeremy Fitzhardinge
Theodore Tso wrote: P.S. For people who live in the US; write your congresscritters; the MPAA wants to propose new legislation stating exactly this. (Erm, that was a joke on a parody site; it got widely reported as news. http://www.bbspot.com/News/2006/11/home-theater-regulations.html

Re: [PATCH 2.6.20-rc1 00/10] Kernel memory leak detector 0.13

2006-12-16 Thread Ingo Molnar
* Catalin Marinas [EMAIL PROTECTED] wrote: This series of patches represent version 0.13 of the kernel memory leak detector. See the Documentation/kmemleak.txt file for a more detailed description. The patches are downloadable from (the whole patch or the broken-out series)

Re: GPL only modules [was Re: [GIT PATCH] more Driver core patches for 2.6.19]

2006-12-16 Thread David Nicol
On 12/15/06, Alan [EMAIL PROTECTED] wrote: blather and idiotic hogwash. Information doesn't want to be free, nor is it somethign you should fight for or necessarily even encourage. As a pedant that is the one item I have to pick you up on Linus. Information wants to be free, the natural

Re: GPL only modules [was Re: [GIT PATCH] more Driver core patches for 2.6.19]

2006-12-16 Thread Linus Torvalds
On Sat, 16 Dec 2006, Willy Tarreau wrote: I understand your point, but not completely agree with the comparison, because I think that you (as the author) are in the type of authors you describe below : Of course, all reasonable true authors tend to agree with fair use. Sure. Sadly, in

Re: [2.6 patch] more ftape removal

2006-12-16 Thread Adrian Bunk
On Sat, Dec 16, 2006 at 11:36:37AM -0500, Jeff Garzik wrote: Adrian Bunk wrote: This patch removes some more ftape code. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] this affects userspace exported headers, so I'm not sure we want to kill that. even if the interface is gone is current

Re: [2.6 patch] more ftape removal

2006-12-16 Thread Jeff Garzik
Adrian Bunk wrote: On Sat, Dec 16, 2006 at 11:36:37AM -0500, Jeff Garzik wrote: Adrian Bunk wrote: This patch removes some more ftape code. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] this affects userspace exported headers, so I'm not sure we want to kill that. even if the interface is

Re: [-mm patch] drivers/video/{s3fb,svgalib}.c: possible cleanups

2006-12-16 Thread Randy Dunlap
On Sat, 16 Dec 2006 14:56:57 +0100 Adrian Bunk wrote: This patch contains the following possible cleanups: - CodingStyle: - opening braces of functions at the beginning of the next line - C99 struct initializers I don't see anything about struct initializers in CodingStyle, but I would

[KORG] Re: kernel.org lies about latest -mm kernel

2006-12-16 Thread Randy Dunlap
On Thu, 14 Dec 2006 23:37:18 +0100 Pavel Machek wrote: Hi! [EMAIL PROTECTED]:/data/pavel$ finger @www.kernel.org [zeus-pub.kernel.org] ... The latest -mm patch to the stable Linux kernels is: 2.6.19-rc6-mm2 [EMAIL PROTECTED]:/data/pavel$ head /data/l/linux-mm/Makefile VERSION = 2

pata_marvell and Marvell 88SE6121

2006-12-16 Thread Jose Alberto Reguero
I am trying to make work the driver pata_marvell of linux-2.6.20-rc1 with Marvell 88SE6121. I added the PCI ID: 0x6121 { PCI_DEVICE(0x11AB, 0x6101), }, { PCI_DEVICE(0x11AB, 0x6145), }, { PCI_DEVICE(0x11AB, 0x6121), }, { } /* terminate list */ But not succes.

[PATCH] xt_request_find_match

2006-12-16 Thread Jan Engelhardt
Hi, Reusing code is a good idea, and I would like to do so from my match modules. netfilter already provides a xt_request_find_target() but an xt_request_find_match() does not yet exist. This patch adds it. Objections welcome :) --- Signed-off-by: Jan Engelhardt [EMAIL PROTECTED] Index:

Re: [KORG] Re: kernel.org lies about latest -mm kernel

2006-12-16 Thread Andrew Morton
On Sat, 16 Dec 2006 09:44:21 -0800 Randy Dunlap [EMAIL PROTECTED] wrote: On Thu, 14 Dec 2006 23:37:18 +0100 Pavel Machek wrote: Hi! [EMAIL PROTECTED]:/data/pavel$ finger @www.kernel.org [zeus-pub.kernel.org] ... The latest -mm patch to the stable Linux kernels is: 2.6.19-rc6-mm2

Re: [RFC][PATCH] Make entries in the Device drivers menu individually selectable

2006-12-16 Thread Jan Engelhardt
On Dec 16 2006 11:52, Stefan Richter wrote: Robert P. J. Day wrote on 2006-12-14: i've posted on this before so here's a slightly-updated patch that uses the kbuild menuconfig feature to make numerous entries under the Device drivers menu selectable on the spot. Works for me, but I don't

Re: [KORG] Re: kernel.org lies about latest -mm kernel

2006-12-16 Thread Randy Dunlap
Andrew Morton wrote: On Sat, 16 Dec 2006 09:44:21 -0800 Randy Dunlap [EMAIL PROTECTED] wrote: On Thu, 14 Dec 2006 23:37:18 +0100 Pavel Machek wrote: Hi! [EMAIL PROTECTED]:/data/pavel$ finger @www.kernel.org [zeus-pub.kernel.org] ... The latest -mm patch to the stable Linux kernels is:

Re: Binary Drivers

2006-12-16 Thread Jan Engelhardt
On Dec 16 2006 01:57, Tomas Carnecky wrote: Alexey Dobriyan wrote: On Fri, Dec 15, 2006 at 09:20:58PM +, James Porter wrote: For what it's worth, I don't see any problem with binary drivers from hardware manufacturers. Binary drivers from hardware manufacturers are crap. Learn it

Re: IO-APIC + timer doesn't work (was: Linux 2.6.20-rc1)

2006-12-16 Thread Linus Torvalds
On Sat, 16 Dec 2006, Tobias Diedrich wrote: 2.6.20-rc1 won't boot with the error message IO-APIC + timer doesn't work! Try using the 'noapic' kernel parameter. However, IO-APIC seems to work just fine with 2.6.19-rc6 and I'd rather like to continue using it. :) Can you try git bisect on

Re: Horses and donkeys [Re: Binary Drivers]

2006-12-16 Thread Jan Engelhardt
On Dec 16 2006 08:12, Pavel Machek wrote: If you are going to mount a sanctimonious high horse it is a wise idea to mount a horse instead of a donkey. High horses are common and easy to ride. But a donkey... :-). The next thing that happens is that nvidia and ati undermine us a Trojan

Re: lots of code could be simplified by using ARRAY_SIZE()

2006-12-16 Thread Jan Engelhardt
On Dec 16 2006 08:09, Robert P. J. Day wrote: On Sat, 16 Dec 2006, Pavel Machek wrote: but we already have, from include/linux/kernel.h: #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) Hmmm. quite misleading name :-(. ARRAY_LEN would be better. i suspect it's *way* too late to make

Re: V4L2: __ucmpdi2 undefined on ppc

2006-12-16 Thread Mauro Carvalho Chehab
I posted a patch to Paul this week to fix this, as saw we saw it on Ubuntu's powerpc kernel builds. Since ppc32 can't do a 64bit comparison on its own it seems, gcc will generate a call to a helper function from libgcc. What other arches do is link libgcc.a into libs-y, and export the

Re: [ANNOUNCE] RAIF: Redundant Array of Independent Filesystems

2006-12-16 Thread Nikolai Joukov
I am looking at filling the net-pipe, and it only reaches 40-75% max, with some short 100% bursts, and a slow 10% start. It seems that caching somewhat delays the writes, which then batch up and sync at various speeds. So you have the cache really hiding slow sync speeds. To tune this, it

[2.6 patch] net/sctp/: make 2 functions static

2006-12-16 Thread Adrian Bunk
This patch makes the following needlessly global functions static: - ipv6.c: sctp_inet6addr_event() - protocol.c: sctp_inetaddr_event() Signed-off-by: Adrian Bunk [EMAIL PROTECTED] --- include/net/sctp/sctp.h |2 -- net/sctp/ipv6.c |4 ++-- net/sctp/protocol.c |4 ++--

Re: JMicron SATA, softreset failed (1st FIS failed) on every boot

2006-12-16 Thread Jeff Garzik
Tobias Diedrich wrote: Hi, I'm seeing the following strange behaviour with libata in the mm-series (currently 2.6.18-mm2): [ 31.324566] ata2: softreset failed (1st FIS failed) [ 31.324674] ata2: softreset failed, retrying in 5 secs [ 36.642196] ata2: SATA link up 3.0 Gbps (SStatus

Re: GPL only modules [was Re: [GIT PATCH] more Driver core patches for 2.6.19]

2006-12-16 Thread Ricardo Galli
I think it would be a hell of a lot better idea if people just realized that they have fair use rights whether the authors give them or not, and ^ that the authors copyrights NEVER extend to anything but a derived work ... I find the RIAA's position and the DMCA

Re: GPL only modules [was Re: [GIT PATCH] more Driver core patches for 2.6.19]

2006-12-16 Thread Dave Jones
On Sat, Dec 16, 2006 at 09:20:15AM -0800, Linus Torvalds wrote: Anything else, you have to make some really scary decisions. Can a judge decide that a binary module is a derived work even though you didn't actually use any code? The real answer is: HELL YES. It's _entirely_ possible

Re: [Fwd: escape key]

2006-12-16 Thread Jan Engelhardt
On Dec 16 2006 08:45, Pavel Machek wrote: Two escapes works now. :-) Actually could we fix our consoles, somehow, to make esc usable? Having important key like esc unusable on consoles is quite ugly. It's something between a misdesign and a misconfiguration of the ESC key. In other words,

Re: [PATCH 2.6.20-rc1] fix vm_events_fold_cpu() build breakage

2006-12-16 Thread Christoph Lameter
On Fri, 15 Dec 2006, Magnus Damm wrote: fix vm_events_fold_cpu() build breakage Acked-by: Christoph Lameter [EMAIL PROTECTED] - 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: [-mm patch] drivers/video/{s3fb,svgalib}.c: possible cleanups

2006-12-16 Thread Ondrej Zajicek
On Sat, Dec 16, 2006 at 02:56:57PM +0100, Adrian Bunk wrote: This patch contains the following possible cleanups: - CodingStyle: - opening braces of functions at the beginning of the next line - C99 struct initializers - make the following needlessly global functions static: - s3fb.c:

Re: [PATCH][2.6.20-rc1-mm1] sparsemem vmem_map optimzed pfn_valid() [0/2]

2006-12-16 Thread Christoph Lameter
On Sat, 16 Dec 2006, KAMEZAWA Hiroyuki wrote: By this, we'll not access mem_section[] in usual ops. Why do we need mem_section? We have a page table that fulfills the same role. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL

Re: 2.6.19 file content corruption on ext3

2006-12-16 Thread Martin Michlmayr
* Marc Haber [EMAIL PROTECTED] [2006-12-09 10:26]: Unfortunately, I am lacking the knowledge needed to do this in an informed way. I am neither familiar enough with git nor do I possess the necessary C powers. I wonder if what you're seein is related to http://lkml.org/lkml/2006/12/16/73 You

Re: 2.6.18 mmap hangs unrelated apps

2006-12-16 Thread Christian Kuhn
Hi, I enabled some kernel hacking options on 2.6.20-rc1 and ran sysrq t when the problem occured. Some hopefully usefull information in the links below: .config, dmesg, vmstat and vmstat -m. Sorry for the links, I do not know what is relevant and this is too much to inline for this list (is it?)

Re: 2.6.19 file content corruption on ext3

2006-12-16 Thread Florian Weimer
* Marc Haber: After updating to 2.6.19, Debian's apt control file /var/cache/apt/pkgcache.bin corrupts pretty frequently - like in under six hours. I've seen that with Debian's 2.6.18 kernels as well. Perhaps it's related to this Debian bug?

  1   2   3   4   >