[patch 00/18] 2.6.18-stable review

2007-02-20 Thread Greg KH
This is the start of the stable review cycle for the 2.6.18.8 release. This will be the last release of the 2.6.18-stable series, so if there are patches that you feel should be applied to that tree, please let me know. There are 18 patches in this series, all will be posted as a response to

[patch 01/18] bcm43xx: Fix for oops on resume

2007-02-20 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Larry Finger [EMAIL PROTECTED] There is a kernel oops on bcm43xx when resuming due to an overly tight timeout loop. Signed-off-by: Larry Finger [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman

[patch 03/18] Dont leak NT bit into next task

2007-02-20 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Andi Kleen [EMAIL PROTECTED] SYSENTER can cause a NT to be set which might cause crashes on the IRET in the next task. Following similar i386 patch from Linus. Signed-off-by: Andi Kleen [EMAIL

[patch 02/18] bcm43xx: Fix for oops on ampdu status

2007-02-20 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Michael Buesch [EMAIL PROTECTED] If bcm43xx were to process an afterburner (ampdu) status response, Linux would oops. The ampdu and intermediate status bits are properly named. Signed-off-by:

[patch 05/18] IB/srp: Fix FMR mapping for 32-bit kernels and addresses above 4G

2007-02-20 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Roland Dreier [EMAIL PROTECTED] struct srp_device.fmr_page_mask was unsigned long, which means that the top part of addresses above 4G was being chopped off on 32-bit architectures. Of course

[patch 13/18] V4L: cx88: Fix lockup on suspend

2007-02-20 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Robert Hancock [EMAIL PROTECTED] Suspending with the cx88xx module loaded causes the system to lock up because the cx88_audio_thread kthread was missing a try_to_freeze() call, which caused it to go

[patch 12/18] v4l: cx88: Fix leadtek_eeprom tagging

2007-02-20 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Jean Delvare [EMAIL PROTECTED] reference to .init.text: from .text between 'cx88_card_setup' (at offset 0x68c) and 'cx88_risc_field' Caused by leadtek_eeprom() being declared __devinit and called

[patch 06/18] i2c: fix broken ds1337 initialization

2007-02-20 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Dirk Eibach [EMAIL PROTECTED] On a custom board with ds1337 RTC I found that upgrade from 2.6.15 to 2.6.18 broke RTC support. The main problem are changes to ds1337_init_client(). When a ds1337

[patch 14/18] V4L: Fix quickcam communicator driver for big endian architectures

2007-02-20 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Grant Likely [EMAIL PROTECTED] Host endianess does not affect the order that pixel rgb data comes in from the quickcam (the values are bytes, not words or longs). The driver is erroniously swapping

[patch 10/18] dvb-core: fix bug in CRC-32 checking on 64-bit systems

2007-02-20 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Ang Way Chuang [EMAIL PROTECTED] CRC-32 checking during ULE decapsulation always failed on x86_64 systems due to the size of a variable used to store CRC. This bug was discovered on Fedora Core 6

[patch 16/18] V4L: tveeprom: autodetect LG TAPC G701D as tuner type 37

2007-02-20 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Michael Krufky [EMAIL PROTECTED] Autodetect LG TAPC G701D as tuner type 37, fixing mis-detected tuners in some Hauppauge tv tuner cards. Thanks to Adonis Papas, for pointing this out. (cherry

[patch 17/18] V4L: buf_qbuf: fix videobuf_queue-stream corruption and lockup

2007-02-20 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Oleg Nesterov [EMAIL PROTECTED] We are doing -buf_prepare(buf) before adding buf to q-stream list. This means that videobuf_qbuf() should not try to re-add a STATE_PREPARED buffer. (cherry picked

[patch 11/18] v4l: cx2341x audio_properties is an u16, not u8

2007-02-20 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Hans Verkuil [EMAIL PROTECTED] This bug broke the MPEG audio mode controls. (cherry picked from commit cb2c7b4927c8f376b7ba9557978d8c59ed472664) Signed-off-by: Hans Verkuil [EMAIL PROTECTED]

[patch 15/18] V4L: fix ks0127 status flags

2007-02-20 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Martin Samuelsson [EMAIL PROTECTED] Or status flags together in DECODER_GET_STATUS instead of and-zapping them. (cherry picked from commit 55d5440d4587454628a850ce26703639885af678) Signed-off-by:

[patch 08/18] hfs_fill_super returns success even if no root inode (CVE-2006-6056)

2007-02-20 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Eric Sandeen [EMAIL PROTECTED] http://kernelfun.blogspot.com/2006/11/mokb-14-11-2006-linux-26x-selinux.html mount that image... fs: filesystem was not cleanly unmounted, running fsck.hfs is

[patch 07/18] grow_buffers() infinite loop fix (CVE-2006-5757, CVE-2006-6060)

2007-02-20 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Andrew Morton [EMAIL PROTECTED] If grow_buffers() is for some reason passed a block number which wants to lie outside the maximum-addressable pagecache range (PAGE_SIZE * 4G bytes) then it will

Re: [stable] [patch 00/50] -stable review

2007-02-20 Thread Michael Krufky
Greg KH wrote: Ok, I've now gotten all of these for .19 and .18. If I've missed anything, please let me know. thanks for your patience. Looks good... Thank you, Greg. Greg KH wrote: This will probably be the last release of the 2.6.19-stable series, so if there are patches that you feel

Re: 2.6.20-rc6 libata PATA ATAPI CDROM is not working

2007-02-20 Thread Ioan Ionita
On 2/11/07, Tejun Heo [EMAIL PROTECTED] wrote: Please test the attached patch over 2.6.20. No luck for me. I'm using pata_sis. Some error bits: agpgart: Found an AGP 3.0 compliant device at :00:00.0. agpgart: Putting AGP V3 device at :00:00.0 into 16x mode agpgart: SiS delay

Re: SATA problems

2007-02-20 Thread Tejun Heo
Pablo Sebastian Greco wrote: Tejun Heo wrote: * Pablo, the bug you saw was bad interaction between blacklisted NCQ device and dynamic queue depth adjustment. Patches are submitted to fix the problem. Just drop the blacklist patch. Your drives should work fine in NCQ mode. My gut feeling

[patch] trivial type cast clean up for find_next_zero_bit

2007-02-20 Thread Ken Chen
clean up unneeded type cast by properly declare data type. Signed-off-by: Ken Chen [EMAIL PROTECTED] diff --git a/arch/i386/lib/bitops.c b/arch/i386/lib/bitops.c index 97db385..afd0045 100644 --- a/arch/i386/lib/bitops.c +++ b/arch/i386/lib/bitops.c @@ -43,7 +43,7 @@

Re: SLAB cache reaper on isolated cpus

2007-02-20 Thread Max Krasnyansky
Christoph Lameter wrote: On Tue, 20 Feb 2007, Max Krasnyansky wrote: Suppose I need to isolate a CPU. We already support at the scheduler and irq levels (irq affinity). But I want to go a bit further and avoid doing kernel work on isolated cpus as much as possible. For example I would

Re: High CPU usage with sata_nv

2007-02-20 Thread Robert Hancock
Matthew Fredrickson wrote: I have noticed something that might be related as well. I am working on a device driver that would have periodic data errors due to exceptionally long interrupt handling latency. I have come to the point that I suspect that it's the sata_nv driver, and now that we

Re: [Unionfs] Re: [-mm patch] UNION_FS must depend on SLAB

2007-02-20 Thread hooanon05
Josef Sipek: That's the only user of malloc_sizes. It is supposed to be an optimization - we get the smallest sized piece of memory even if we don't need all of it. This way we don't reallocate memcpy needlessly. How about exporting ksize to modules, and introduce a new function such like

Re: SATA problems

2007-02-20 Thread Tejun Heo
Marcus Haebler wrote: thanks for the patches! I am on an Intel P965/ICH8R. I see. That can happen too. There was a race window where in-flight r/w command which left SCSI midlayer but pending on libata gets executed in the wrong mode. If possible, please verify that it doesn't happen with the

Re: 2.6.20-mm2

2007-02-20 Thread Rafael J. Wysocki
On Tuesday, 20 February 2007 01:04, Rafael J. Wysocki wrote: On Monday, 19 February 2007 12:45, Michal Piotrowski wrote: On 19/02/07, Rafael J. Wysocki [EMAIL PROTECTED] wrote: On Monday, 19 February 2007 01:00, Andrew Morton wrote: On Mon, 19 Feb 2007 00:25:48 +0100 Rafael J. Wysocki

Re: 2.6.20-mm2

2007-02-20 Thread Jeff Garzik
Rafael J. Wysocki wrote: FWIW, with CONFIG_PREEMPT unset (CONFIG_PREEMPT_VOLUNTARY is set instead), I'm unable to reproduce this problem on the box on which it is readily reproducible with CONFIG_PREEMPT set. I'm not surprised... I routinely tell people to turn it off, when debugging a

Re: 2.6.20-mm2

2007-02-20 Thread Rafael J. Wysocki
On Tuesday, 20 February 2007 07:31, Andrew Morton wrote: On Tue, 20 Feb 2007 02:20:21 +0100 Rafael J. Wysocki [EMAIL PROTECTED] wrote: On Sunday, 18 February 2007 20:43, Andrew Morton wrote: On Sun, 18 Feb 2007 13:44:54 +0100 Rafael J. Wysocki [EMAIL PROTECTED] wrote: On

Re: [git patches] libata ACPI support

2007-02-20 Thread Jeff Garzik
Lukas Hejtmanek wrote: On Tue, Feb 20, 2007 at 05:23:21PM -0500, Jeff Garzik wrote: introducing SATA ACPI does not work for me (I've filled the bug report: http://bugzilla.kernel.org/show_bug.cgi?id=8046) beside those error messages, IDE performance is decreased. libata.noacpi=1 option works ok

[patch 10/21] ide: fix drive side 80c cable check

2007-02-20 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- eighty_ninty_three() had word 93 validitity check but not the 80c bit test itself (bit 12). This increases the chance of incorrect wire detection especially because host side cable detection is often

[PATCH 1/3] Make the IDE DMA timeout modifiable

2007-02-20 Thread Suleiman Souhlal
It can be changed via /proc/ide/hd?/settings. Signed-off-by: Ed Falk [EMAIL PROTECTED] --- drivers/ide/ide-dma.c |3 ++- drivers/ide/ide.c |2 ++ include/linux/ide.h |3 +++ 3 files changed, 7 insertions(+), 1 deletions(-) diff --git a/drivers/ide/ide-dma.c

[PATCH 3/3] Use correct IDE error recovery

2007-02-20 Thread Suleiman Souhlal
IDE error recovery is using WIN_IDLEIMMEDIATE which was only valid for IDE V1 and IDE V2. Modern drives will not be able to recover using this error handling. The correct thing to do is issue a SRST followed by a SET_FEATURES. Signed-off-by: Suleiman Souhlal [EMAIL PROTECTED] ---

[PATCH 2/3] Don't change transfer speed while requests are in flight

2007-02-20 Thread Suleiman Souhlal
Use ide_wait_cmd() in ide_config_drive_speed() if the drive has been initialized and we're not in an interrupt, to avoid changing the xfer speed while requests are in flight. An easy way to trigger the problem is to dd the disk while doing while :; do hdparm -d 1 /dev/hdc /dev/null; done While

[patch 11/21] pata_amd: fix an obvious bug in cable detection

2007-02-20 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- 80c test mask is at bits 18 and 19 of EIDE Controller Configuration not 22 and 23. Fix it. Signed-off-by: Tejun Heo [EMAIL PROTECTED] Acked-by: Alan Cox [EMAIL PROTECTED] --- drivers/ata/pata_amd.c |

Re: [PATCH 1/3] Make the IDE DMA timeout modifiable

2007-02-20 Thread Bartlomiej Zolnierkiewicz
On Wednesday 21 February 2007 02:19, Suleiman Souhlal wrote: It can be changed via /proc/ide/hd?/settings. Why do we need to change IDE DMA timeout dynamically? BTW /proc/ide/hd?/settings is obsoleted Signed-off-by:Ed Falk [EMAIL PROTECTED] --- drivers/ide/ide-dma.c |3 ++-

Re: [PATCH 2/3] Don't change transfer speed while requests are in flight

2007-02-20 Thread Bartlomiej Zolnierkiewicz
On Wednesday 21 February 2007 02:21, Suleiman Souhlal wrote: Use ide_wait_cmd() in ide_config_drive_speed() if the drive has been initialized and we're not in an interrupt, to avoid changing the xfer speed while requests are in flight. Many devices have problems with SETFEATURES_XFER if the

Re: [2.6 patch] drivers/infiniband/hw/cxgb3/: possible cleanups

2007-02-20 Thread Steve Wise
On Tue, 2007-02-20 at 01:02 +0100, Adrian Bunk wrote: This patch contains the following possible cleanups: - don't mark static functions in C files as inline - gcc should know best whether inlining makes sense - never compile the unused cxio_dbg.c - make the following needlessly global

[patch 09/18] IB/mad: Fix race between cancel and receive completion

2007-02-20 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Roland Dreier [EMAIL PROTECTED] When ib_cancel_mad() is called, it puts the canceled send on a list and schedules a flushed callback from process context. However, this leaves a window where a

Re: [PATCH 1/3] Make the IDE DMA timeout modifiable

2007-02-20 Thread Suleiman Souhlal
On Feb 20, 2007, at 5:44 PM, Bartlomiej Zolnierkiewicz wrote: On Wednesday 21 February 2007 02:19, Suleiman Souhlal wrote: It can be changed via /proc/ide/hd?/settings. Why do we need to change IDE DMA timeout dynamically? I've used it to test error recovery (for example). BTW

Re: [PATCH 1/3] Make the IDE DMA timeout modifiable

2007-02-20 Thread Bartlomiej Zolnierkiewicz
Hi, On Wednesday 21 February 2007 03:13, Suleiman Souhlal wrote: On Feb 20, 2007, at 5:44 PM, Bartlomiej Zolnierkiewicz wrote: On Wednesday 21 February 2007 02:19, Suleiman Souhlal wrote: It can be changed via /proc/ide/hd?/settings. Why do we need to change IDE DMA timeout

[PATCH 2/4] NOMMU: Add support for direct mapping through mtdconcat if possible

2007-02-20 Thread David Howells
From: David Howells [EMAIL PROTECTED] Add support for direct mapping through mtdconcat, if possible, by attaching the samebacking_dev_info structure to the master. It has some restrictions: (1) It won't permit direct mapping of concatenated devices that have differing BDIs. (2) It

[PATCH 1/4] NOMMU: Present backing device capabilities for MTD chardevs

2007-02-20 Thread David Howells
From: David Howells [EMAIL PROTECTED] Present backing device capabilities for MTD character device files to allow NOMMU mmap to do direct mapping where possible. Signed-Off-By: David Howells [EMAIL PROTECTED] --- drivers/mtd/Makefile |2 + drivers/mtd/chips/map_ram.c | 17

[PATCH 3/4] NOMMU: Generalise the handling of MTD-specific superblocks

2007-02-20 Thread David Howells
From: David Howells [EMAIL PROTECTED] Generalise the handling of MTD-specific superblocks so that JFFS2 and ROMFS can both share it. Signed-Off-By: David Howells [EMAIL PROTECTED] --- drivers/mtd/Makefile |2 drivers/mtd/mtdsuper.c| 231

[PATCH 4/4] NOMMU: Make it possible for RomFS to use MTD devices directly

2007-02-20 Thread David Howells
From: David Howells [EMAIL PROTECTED] Change RomFS so that it can use MTD devices directly - without the intercession of the block layer - as well as using block devices. This permits RomFS: (1) to use the MTD direct mapping facility available under NOMMU conditions if the underlying

[PATCH] UML utrace support, step 1

2007-02-20 Thread Jeff Dike
Below is the first step in your Fix-Your-Broken-Arch-HOWTO for UML. Do you want incremental patches as I go along, or replacement ones? BTW, UML runs on the utrace in -mm (i.e. utrace on the host), which it didn't with several Fedora kernels. Jeff -- Work email

[patch 09/21] x86_64: fix 2.6.18 regression - PTRACE_OLDSETOPTIONS should be accepted

2007-02-20 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- Also PTRACE_OLDSETOPTIONS should be accepted, as done by kernel/ptrace.c and forced by binary compatibility. UML/32bit breaks because of this - since it is wise enough to use PTRACE_OLDSETOPTIONS to be

[patch 18/18] x86_64: fix 2.6.18 regression - PTRACE_OLDSETOPTIONS should be accepted

2007-02-20 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Paolo 'Blaisorblade' Giarrusso [EMAIL PROTECTED] Also PTRACE_OLDSETOPTIONS should be accepted, as done by kernel/ptrace.c and forced by binary compatibility. UML/32bit breaks because of this - since

Re: [PATCH 0/7] containers (V7): Generic Process Containers

2007-02-20 Thread Sam Vilain
Paul Menage wrote: Using the container name is bad and it led to this stupid argument. The fundamental unit of what we have merged into the kernel is the namespace. The aggregate of all namespaces and everything is the container. What are you defining here as everything? If you mean

Re: [PATCH 0/7] containers (V7): Generic Process Containers

2007-02-20 Thread Paul Menage
On 2/20/07, Sam Vilain [EMAIL PROTECTED] wrote: The term segregated group of processes is too vague. Segregated for what? What is the kernel supposed to do with this information? The generic part of the kernel just keeps track of the fact that they're segregated (and their children, etc).

Re: [PATCH 0/7] containers (V7): Generic Process Containers

2007-02-20 Thread Paul Menage
On 2/20/07, Eric W. Biederman [EMAIL PROTECTED] wrote: Sam said the NSProxy *is* the container. You appear to be planning to have some namespaces, possibly not aggregated within the nsproxy (pid namespace?) but are you planning to have some higher-level container object that aggregates the

Re: [PATCH 0/7] containers (V7): Generic Process Containers

2007-02-20 Thread Sam Vilain
Paul Menage wrote: The term segregated group of processes is too vague. Segregated for what? What is the kernel supposed to do with this information? The generic part of the kernel just keeps track of the fact that they're segregated (and their children, etc). It's the clients of

Re: [PATCH 0/7] containers (V7): Generic Process Containers

2007-02-20 Thread Sam Vilain
Paul Menage wrote: No. A reverse mapping is not needed and is not interesting. ... to you. You're missing the point of Eric's next sentence. If you can achieve everything you need to achieve and get all the information you are after without it, then it is uninteresting. As long as

Re: [PATCH 0/7] containers (V7): Generic Process Containers

2007-02-20 Thread Paul Menage
On 2/20/07, Sam Vilain [EMAIL PROTECTED] wrote: I don't necessarily agree with the 'heirarchy' bit. It doesn't have to be so segregated. But I think we already covered that in this thread. OK, but it's much easier to use a hierarchical system as a flat system (just don't create children)

Re: [PATCH 0/7] containers (V7): Generic Process Containers

2007-02-20 Thread Serge E. Hallyn
Quoting Paul Menage ([EMAIL PROTECTED]): On 2/20/07, Eric W. Biederman [EMAIL PROTECTED] wrote: All that is necessary to have a group of processes do something in an unnamed fashion is to hang a pointer off of the task_struct. That's easy. Right, adding a pointer to task_struct is easy.

Re: [PATCH 0/7] containers (V7): Generic Process Containers

2007-02-20 Thread Paul Menage
On 2/20/07, Sam Vilain [EMAIL PROTECTED] wrote: Paul Menage wrote: No. A reverse mapping is not needed and is not interesting. ... to you. You're missing the point of Eric's next sentence. If you can achieve everything you need to achieve and get all the information you are after without

Re: [PATCH 0/7] containers (V7): Generic Process Containers

2007-02-20 Thread Serge E. Hallyn
Quoting Sam Vilain ([EMAIL PROTECTED]): Paul Menage wrote: We talked about naming a bit before, see http://lkml.org/lkml/2006/3/21/403 and possibly other threads. So, anyway, feel free to flog this old dead horse and suggest different terms. We've all had long enough to think about it

[PATCH] sata_nv: kill old private BMDMA helper functions

2007-02-20 Thread Robert Hancock
sata_nv implemented its own copies of the BMDMA helper functions for ADMA, since the ADMA BMDMA status registers are PIO while the other registers are MMIO, and this was the only way to handle this previously. Now that we have iomap support, the standard routines should just work, so use them.

Re: securityfs_create_dir strange comment

2007-02-20 Thread Greg KH
On Wed, Feb 21, 2007 at 12:45:40AM +0100, Jan Engelhardt wrote: On Feb 20 2007 14:26, Greg KH wrote: On Tue, Feb 20, 2007 at 03:18:49PM -0600, Serge E. Hallyn wrote: Quoting Jan Engelhardt ([EMAIL PROTECTED]): Hello list, in security/inode.c, the comment for

[patch] mm: remove gcc workaround

2007-02-20 Thread Nick Piggin
Minimum gcc version is 3.2 now. However, with likely profiling, even modern gcc versions cannot always eliminate the call. Replace the placeholder functions with the more conventional empty static inlines, which should be optimal for everyone. Signed-off-by: Nick Piggin [EMAIL PROTECTED]

Re: [ANNOUNCE] DualFS: File System with Meta-data and Data Separation

2007-02-20 Thread Juan Piernas Canovas
Hi Jörn, On Tue, 20 Feb 2007, [utf-8] Jörn Engel wrote: On Tue, 20 February 2007 00:57:50 +0100, Juan Piernas Canovas wrote: Actually, the GC may become a problem when the number of free segments is 50% or less. If your LFS always guarantees, at least, 50% of free segments (note that I am

[patch 0/6] fault vs truncate/invalidate race fix

2007-02-20 Thread Nick Piggin
The following set of patches are based on current git. These fix the fault vs invalidate and fault vs truncate_range race for filemap_nopage mappings, plus those and fault vs truncate race for nonlinear mappings. These patches fix silent data corruption that we've had several people hitting in

[patch 1/6] mm: debug check for the fault vs invalidate race

2007-02-20 Thread Nick Piggin
Add a bugcheck for Andrea's pagefault vs invalidate race. This is triggerable for both linear and nonlinear pages with a userspace test harness (using direct IO and truncate, respectively). Signed-off-by: Nick Piggin [EMAIL PROTECTED] mm/filemap.c |2 ++ 1 file changed, 2 insertions(+)

[patch 2/6] mm: simplify filemap_nopage

2007-02-20 Thread Nick Piggin
Identical block is duplicated twice: contrary to the comment, we have been re-reading the page *twice* in filemap_nopage rather than once. If any retry logic or anything is needed, it belongs in lower levels anyway. Only retry once. Linus agrees. Signed-off-by: Nick Piggin [EMAIL PROTECTED]

[patch 3/6] mm: fix fault vs invalidate race for linear mappings

2007-02-20 Thread Nick Piggin
Fix the race between invalidate_inode_pages and do_no_page. Andrea Arcangeli identified a subtle race between invalidation of pages from pagecache with userspace mappings, and do_no_page. The issue is that invalidation has to shoot down all mappings to the page, before it can be discarded from

[patch 5/6] mm: merge nopfn into fault

2007-02-20 Thread Nick Piggin
Remove -nopfn and reimplement the existing handlers with -fault Signed-off-by: Nick Piggin [EMAIL PROTECTED] arch/powerpc/platforms/cell/spufs/file.c | 90 --- drivers/char/mspec.c | 29 ++--- include/linux/mm.h |

[patch 4/6] mm: merge populate and nopage into fault (fixes nonlinear)

2007-02-20 Thread Nick Piggin
Nonlinear mappings are (AFAIKS) simply a virtual memory concept that encodes the virtual address - file offset differently from linear mappings. I can't see why the filesystem/pagecache code should need to know anything about it, except for the fact that the -nopage handler didn't quite pass down

[patch 6/6] mm: remove legacy cruft

2007-02-20 Thread Nick Piggin
Remove legacy filemap_nopage and all of the .populate API cruft. This patch can be skipped if it will cause clashes in your tree, or you disagree with removing these guys right now. Signed-off-by: Nick Piggin [EMAIL PROTECTED] Documentation/feature-removal-schedule.txt | 18 --

Linux 2.6.21-rc1

2007-02-20 Thread Linus Torvalds
Ok, the merge window for 2.6.21 has closed, and -rc1 is out there. There's a lot of changes, as is usual for an -rc1 thing, but at least so far it would seem that 2.6.20 has been a good base, and I don't think we have anything *really* scary here. The most interesting core change may be the

Re: [patch 5/6] mm: merge nopfn into fault

2007-02-20 Thread Nick Piggin
On Wed, Feb 21, 2007 at 05:50:31AM +0100, Nick Piggin wrote: Remove -nopfn and reimplement the existing handlers with -fault Signed-off-by: Nick Piggin [EMAIL PROTECTED] Dang, forgot to quilt refresh after fixing spufs compile. -- Remove -nopfn and reimplement the existing handlers with

[PATCH] devpts: add fsnotify create event

2007-02-20 Thread Florin Malita
Currently, devpts doesn't generate an fsnotify event upon pts creation because the regular vfs paths aren't involved. Deallocation, on the other hand, correctly generates a nameremove event thanks to the d_delete() invocation in devpts_pty_kill(). This patch adds the missing fsnotify_create()

Re: [-mm patch] UNION_FS must depend on SLAB

2007-02-20 Thread Josef Sipek
For the time being, I included it in unionfs.git. I wouldn't mind having this dependency disappear. Thanks, Josef Jeff Sipek. -- Once you have their hardware. Never give it back. (The First Rule of Hardware Acquisition) - To unsubscribe from this list: send the line unsubscribe linux-kernel in

Re: [PATCH] fault injection: split up stacktrace filter Kconfig option

2007-02-20 Thread Dave Jones
On Wed, Feb 21, 2007 at 01:59:09AM +, Linux Kernel wrote: Commit: 1df49008f4ddec9d4f6862b47ea5bdba82078aa4 Parent: 94412a96c4553255bda7a232a349059dd7543338 Author: Akinobu Mita [EMAIL PROTECTED] AuthorDate: Tue Feb 20 13:57:56 2007 -0800 Committer: Linus Torvalds [EMAIL

[rfc][patch 2.6.20-git16] mm: replicated pagecache

2007-02-20 Thread Nick Piggin
Hi, This patch is getting a bit more stable now, if anyone wants to play with it. Nick -- Page-based NUMA pagecache replication. This is a scheme for page replication replicates read-only pagecache pages opportunistically, at pagecache lookup time (at points where we know the page is being

Re: no backlight on radeon after recent kernel upgrades

2007-02-20 Thread Yaroslav Halchenko
I am sorry on the delay On Sun, 18 Feb 2007 23:46:16 -0500 Yaroslav Halchenko [EMAIL PROTECTED] wrote: Since the most recent successful for me kernel 2.6.19-rc6-mm1, I've tried few times to build more recent snapshots and now finally 2.6.20-mm2. In all those cases I have a sad

Re: SATA problems

2007-02-20 Thread Marcus Haebler
Tejun, thanks. In preparation of your patch I installed a vanilla 2.6.20.1 kernel on my FC6 system. Amazingly the problem went away with the vanilla(!) kernel and NCQ is enabled at boot time (queue_depth is 31). I guess I should have tried that kernel earlier. The patches you sent earlier apply

Re: SATA problems

2007-02-20 Thread Marcus Haebler
Tejun, I checked out the kernel 2.6.19 to 2.6.20 Changelog. Seems like you fixed a problem with the JMB363. The Asus P5B-Deluxe I am using has a JMB363 - besides an Intel ICH8R - with the SATA ports set to AHCI as well. Looks like that might have been the source of the problem in 2.6.19.

Re: [RFC PATCH(Experimental) 2/4] Revert changes to workqueue.c

2007-02-20 Thread Srivatsa Vaddagiri
On Tue, Feb 20, 2007 at 11:09:36PM +0300, Oleg Nesterov wrote: Which caller are you referring to here? Maybe we can decide on the option after we see the users of flush_workqueue() in DOWN_PREPARE. mm/slab.c:cpuup_callback() The cancel_rearming_delayed_work, if used as it is in

2.6.20-mm2 -- tifm/0/1919 is trying to release lock (fm-lock) at: [f90d392f] tifm_7xx1_switch_media+0x2e9/0x326 [tifm_7xx1]

2007-02-20 Thread Miles Lane
Hello, When I pull my SD card out of my laptop, I get the following: tifm_7xx1: demand removing card from socket 3 = [ BUG: bad unlock balance detected! ] - tifm/0/1919 is trying to release lock (fm-lock) at: [f90d392f]

Re: [patch 1/2] sched: fix idle load balancing in softirqd context

2007-02-20 Thread Siddha, Suresh B
On Sat, Feb 17, 2007 at 09:42:16AM -0500, Steven Rostedt wrote: On Fri, 16 Feb 2007, Siddha, Suresh B wrote: - int cpu = smp_processor_id(); + int cpu = smp_processor_id(), idle_at_tick = idle_cpu(cpu); struct rq *rq = cpu_rq(cpu); But I would recommend that the idle_at_tick

Re: ata command timeout

2007-02-20 Thread Tejun Heo
Jeff Garzik wrote: Mark Lord wrote: I don't believe that. Command timeouts never happen on healthy systems, unless we have a driver bug. Okay, so I can imagine a pathological case of a full queue (NCQ) with all 32 commands taking longer than usual due to ECC retries in the firmware..

RE: SATA problems

2007-02-20 Thread Paul Rolland
Hi Marcus, Could you give more details ? I'm stucked with a boot problem on a Asus P5W that also includes a Jmicron behind a Sata port on ICH8, and the kernel boot goes timeout when probing it... I've been trying various kernels, including some patches from Tejun (Thanks !), but no luck to

[ANNOUNCE] Guilt v0.20

2007-02-20 Thread Josef Sipek
Guilt v0.20 is available for download (once it mirrors out on kernel.org). Guilt (Git Quilt) is a series of bash scripts which add a Mercurial queues-like functionality and interface to git. Tarballs: http://www.kernel.org/pub/linux/kernel/people/jsipek/guilt/ Git repo:

Re: [PATCH RFC] libata: FUA updates

2007-02-20 Thread Tejun Heo
Robert Hancock wrote: This updates libata FUA support to be more more in line with reality. FUA support remains off by default. Add a setting for the fua command-line parameter on libata which enables FUA only on NCQ-supporting disks. Update the ata_dev_supports_fua function to remove the

[patch 04/18] SCSI: add missing cdb clearing in scsi_execute()

2007-02-20 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Tejun Heo [EMAIL PROTECTED] Clear-garbage-after-CDB patch missed scsi_execute() and it causes some ODDs (HL-DT-ST DVD-RAM GSA-H30N) choke during SCSI scan. Note that this patch is only for -stable.

Re: [2.6 patch] drivers/infiniband/hw/cxgb3/: possible cleanups

2007-02-20 Thread Roland Dreier
You could just remove the code instead of #if 0... Steve, can you decide what the right thing to do with these changes is and send me the result (or just tell me to apply Adrian's patch as-is)? Thanks, Roland - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

Re: [PATCH] net/bridge/br_if.c: fix possible use-after-free in port_carrier_check()

2007-02-20 Thread Stephen Hemminger
On Wed, 21 Feb 2007 01:19:41 +0300 Oleg Nesterov [EMAIL PROTECTED] wrote: If del_nbp()-cancel_delayed_work(carrier_check) fails, port_carrier_check() may run later and access an already freed container (struct net_bridge_port). With this patch, carrier_check owns a reference to struct

iwlwifi warnings

2007-02-20 Thread Stephen Hemminger
BUilding with sparse shows lots of warnings. $ make C=1 Checking kernel compatibility in: /lib/modules/2.6.20.1/source * Kernel supports required features for 'tip' version. Building compatibility version in 'compatible/' directory: Copying compatible/ from origin/...done make -C

[PATCH 0/2] Remove outdated information from IPX

2007-02-20 Thread Rolf Eike Beer
Who cares about stuff describing what happened in early 2.5 days? Even worse is to reference Kconfig options removed back then. Go, rest in pieces. Eike pgpjdAVzZTifL.pgp Description: PGP signature

[PATCH 1/2][IPX] Remove outdated information from Kconfig

2007-02-20 Thread Rolf Eike Beer
SPX was removed in early 2.5. How to connect to a Mac or the other OS isn't hard to find out these days. Signed-off-by: Rolf Eike Beer [EMAIL PROTECTED] --- commit 0566e9a5f19ca9fe1982e2b4a89aff131cc6525b tree 20b72b4e347a0ff926f82188bb296c2b3a8911f5 parent

[PATCH 2/2][IPX] Remove ancient changelog

2007-02-20 Thread Rolf Eike Beer
[IPX] Remove ancient changelog Signed-off-by: Rolf Eike Beer [EMAIL PROTECTED] --- commit 6b8afc66b9d6893d3fa292b75769b58539836ff3 tree 9078513bb6727e61aee238da153d9b3358a1d817 parent 0566e9a5f19ca9fe1982e2b4a89aff131cc6525b author Rolf Eike Beer [EMAIL PROTECTED] Tue, 20 Feb 2007 19:45:03 +0100

Re: iwlwifi warnings

2007-02-20 Thread Randy Dunlap
On Tue, 20 Feb 2007 22:23:21 -0800 Stephen Hemminger wrote: BUilding with sparse shows lots of warnings. $ make C=1 Checking kernel compatibility in: /lib/modules/2.6.20.1/source * Kernel supports required features for 'tip' version. Building compatibility version in 'compatible/'

Re: [RFC] split NAPI from network device.

2007-02-20 Thread Divy Le Ray
David Miller wrote: From: Stephen Hemminger [EMAIL PROTECTED] Date: Wed, 13 Dec 2006 15:46:35 -0800 Split off NAPI part from network device, this patch is build tested only! It breaks kernel API for network devices, and only three examples are fixed (skge, sky2, and tg3). 1. Decomposition

Re: [RFC] split NAPI from network device.

2007-02-20 Thread David Miller
From: Divy Le Ray [EMAIL PROTECTED] Date: Tue, 20 Feb 2007 23:39:55 -0800 I applied the patch to test the chelsio drivers. The compilation of the forcedeth driver fails if CONFIG_FORCEDETH_NAPI is not set. /opt/sources/linux-2.6/drivers/net/forcedeth.c: In function `nv_nic_irq':

<    4   5   6   7   8   9