Re: [RFC PATCH] PCI MMCONFIG: add validation against ACPI motherboard resources

2007-05-23 Thread Robert Hancock
Linus Torvalds wrote: On Wed, 23 May 2007, Jesse Barnes wrote: Fixed it (finally). I don't think moving the 64 bit probing around would make a difference, since we'd restore its original value anyway before moving on to the 32 bit probe which is where I think the problem is. Well, the

Re: [RFC PATCH] PCI MMCONFIG: add validation against ACPI motherboard resources

2007-05-23 Thread Jesse Barnes
On Wednesday, May 23, 2007 4:04 pm Robert Hancock wrote: Jesse Barnes wrote: On Tuesday, May 22, 2007 6:06 pm Robert Hancock wrote: There was a big discussion about this back in 2002, in which Linus wasn't overly enthused about disabling the decode during probing due to risk of causing

Re: Define CONFIG_BOUNCE to avoid useless inclusion of bounce buffer logic.

2007-05-23 Thread Christoph Lameter
On Wed, 23 May 2007, Russell King wrote: GFP_DMA allocations are an exception and that exception can be removed from the core VM by not defining ZONE_DMA. You cannot switch off the NORMAL zone. I'd like to be able to switch off the normal and highmem zones and leave just the DMA zone

Re: Enabling power states for Core 2 Duo

2007-05-23 Thread Maxim Levitsky
On Tuesday 22 May 2007 20:35, Jindrich Makovicka wrote: On Tue, 22 May 2007 17:14:45 + Paa Paa [EMAIL PROTECTED] wrote: But are you saying that with most desktop mobos one doesn't usually have the different power states available at all? So basically the only means to conserve power

Re: [RFC PATCH] PCI MMCONFIG: add validation against ACPI motherboard resources

2007-05-23 Thread Jesse Barnes
On Wednesday, May 23, 2007 4:04 pm David Miller wrote: From: Linus Torvalds [EMAIL PROTECTED] Date: Wed, 23 May 2007 15:16:23 -0700 (PDT) That crap should be seen for the crap it is! Dammit, how hard can it be to just admit that mmconfig isn't that great? I knew mmconfig was broken

Re: [RFC PATCH] PCI MMCONFIG: add validation against ACPI motherboard resources

2007-05-23 Thread Stephen Hemminger
On Wed, 23 May 2007 17:09:37 -0400 Jeff Garzik [EMAIL PROTECTED] wrote: Jesse Barnes wrote: Apparently Vista will move away from using type 1 config space accesses though, so if we keep using it, we'll probably run into some lame board Yep. that assumes you're using mmconfig at

Re: [RFC PATCH] PCI MMCONFIG: add validation against ACPI motherboard resources

2007-05-23 Thread Robert Hancock
Jesse Barnes wrote: On Wednesday, May 23, 2007 4:04 pm David Miller wrote: From: Linus Torvalds [EMAIL PROTECTED] Date: Wed, 23 May 2007 15:16:23 -0700 (PDT) That crap should be seen for the crap it is! Dammit, how hard can it be to just admit that mmconfig isn't that great? I knew mmconfig

Re: 2.6.22-rc2-mm1

2007-05-23 Thread Zan Lynx
On Wed, 2007-05-23 at 00:42 -0700, Andrew Morton wrote: ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.22-rc2/2.6.22-rc2-mm1/ - A new readahead patch series. This needs serious review and performance testing please. - Added Ingo's CFS CPU scheduler - Xen dom-U

Re: [RFC PATCH] PCI MMCONFIG: add validation against ACPI motherboard resources

2007-05-23 Thread Jesse Barnes
On Wednesday, May 23, 2007 4:15 pm Robert Hancock wrote: Jesse Barnes wrote: On Wednesday, May 23, 2007 4:04 pm David Miller wrote: From: Linus Torvalds [EMAIL PROTECTED] Date: Wed, 23 May 2007 15:16:23 -0700 (PDT) That crap should be seen for the crap it is! Dammit, how hard can it

Re: 2.6.22-rc2-mm1

2007-05-23 Thread Andrew Morton
On Wed, 23 May 2007 17:17:09 -0600 Zan Lynx [EMAIL PROTECTED] wrote: On Wed, 2007-05-23 at 00:42 -0700, Andrew Morton wrote: ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.22-rc2/2.6.22-rc2-mm1/ - A new readahead patch series. This needs serious review and performance

Re: class_device_create() and the mode of the device file in /dev.

2007-05-23 Thread Y Khan
No, the kernel is not involved in specifying /dev permissions. You have to add a udev rule to assign a mode that isn't the default. Hmm...When I can create the device file automatically then I should also be able to specify the mode. udev can override this value from kernel if it has

Re: [PATCH 1/1] hotplug cpu: migrate a task within its cpuset

2007-05-23 Thread Oleg Nesterov
On 05/23, Cliff Wickman wrote: On Thu, May 24, 2007 at 01:29:02AM +0400, Oleg Nesterov wrote: Cliff Wickman wrote: - * NOTE: interrupts should be disabled by the caller + * NOTE: interrupts are not disabled by the caller */ static void move_task_off_dead_cpu(int dead_cpu,

Re: [BUG] local_softirq_pending storm

2007-05-23 Thread Anant Nitya
On Thursday 24 May 2007 00:08:40 Chuck Ebbert wrote: Chuck Ebbert wrote: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=240982 Another; these started to appear after the below patch was merged: Index: linux/kernel/sched.c

Re: 2.6.22-rc2-mm1

2007-05-23 Thread Christoph Lameter
On Wed, 23 May 2007, Andrew Morton wrote: A few words in slub.txt, perhaps? SLUB: More documentation Update documentation to describe how to read a SLUB error report. Add slub parameters to Documentation/kernel-parameters. Signed-off-by: Christoph Lameter [EMAIL PROTECTED] ---

Re: 2.6.22-rc2-mm1

2007-05-23 Thread Jiri Kosina
On Wed, 23 May 2007, Zan Lynx wrote: I am having weird problems with USB keyboard and mouse. The USB keyboard will drop keystrokes, but not all of them. The mouse seems to move fine but drops clicks. Could be that an occasional missed move event isn't noticeable. Nothing is logged when

Re: 2.6.22-rc2-mm1

2007-05-23 Thread Andrew Morton
On Wed, 23 May 2007 17:17:09 -0600 Zan Lynx [EMAIL PROTECTED] wrote: === [ INFO: possible circular locking dependency detected ] 2.6.22-rc2-mm1 #1 --- rhythmbox/6976 is trying to acquire

Re: PCIE

2007-05-23 Thread Roland Dreier
It looks so, from the logs. The only problem is i can't disable the interrupts, if i write 0 to 0x500, the interrupt/enable register, it gives me a solid freeze. If i read from the handler, commenting out the disable interrupts in init, that read also gives me a solid freeze. This lead

[PATCH] [i386] boot documentation: clarifications

2007-05-23 Thread H. Peter Anvin
Textual clarifications (and fix an off-by-one error) based on feedback mostly from Jeremy Fitzhardinge. Signed-off-by: H. Peter Anvin [EMAIL PROTECTED] --- Documentation/i386/boot.txt | 32 ++-- 1 files changed, 22 insertions(+), 10 deletions(-) diff --git

Re: [RFC PATCH] PCI MMCONFIG: add validation against ACPI motherboard resources

2007-05-23 Thread Jesse Barnes
On Sunday, April 29, 2007 7:14 pm Robert Hancock wrote: This path adds validation of the MMCONFIG table against the ACPI reserved motherboard resources. If the MMCONFIG table is found to be reserved in ACPI, we don't bother checking the E820 table. The PCI Express firmware spec apparently

Re: PCIE

2007-05-23 Thread Manu Abraham
Roland Dreier wrote: It looks so, from the logs. The only problem is i can't disable the interrupts, if i write 0 to 0x500, the interrupt/enable register, it gives me a solid freeze. If i read from the handler, commenting out the disable interrupts in init, that read also gives me a

Re: [PATCH 5/6] SUNHME: Workaround ancient hang on U1's

2007-05-23 Thread David Miller
From: Ben Collins [EMAIL PROTECTED] Date: Wed, 23 May 2007 18:30:46 -0400 This work around has been in use by almost any distribution trying to support sparc64 since at least 2002. Without it, sunhme hangs fairly quickly on UltraSPARC 1's. Dave, I know it's not in the kernel because it

Re: PCI device problem - MMCONFIG, cannot allocate resource region, resource collisions

2007-05-23 Thread Wayne Sherman
Ivan Kokshaysky wrote: No, it won't help. The 1M range (ff50-ff5f) is more than enough. Good catch, I didn't look close enough at the allocations of the devices under the bridge. The reason why the D-Link resource is not getting assigned is rather interesting: as Wayne wrote Here

Adrian Bunk

2007-05-23 Thread David Miller
Does anyone have a way to contact him other than via email? He started bouncing with 500 level errors this afternoon (example attached below) and I'd like him to know what is happening. I'm removing him from the lists for the time being. Thanks to whoever can help out with this.

Re: [RFC PATCH] PCI MMCONFIG: add validation against ACPI motherboard resources

2007-05-23 Thread Linus Torvalds
On Wed, 23 May 2007, Jesse Barnes wrote: After I sent my last message I realized the same thing... though I occasionally hear people talk about removing it (I seriously doubt that will ever happen). I don't even think there's a way to disable type 1 config access on Intel chipsets...

Re: 2.6.21-mm2: ACPI exception on resume

2007-05-23 Thread Henrique de Moraes Holschuh
On Wed, 23 May 2007, Ray Lee wrote: The problem is when the maintainers/submitters get the wrong impression, that 2.6.x.y is there to clean up the mess they made. The Now, that I agree with completely. Which is the crux of my problem with your statement. I feel we shouldn't give the wrong

[GIT PULL -mm] Unionfs cleanups and fixes

2007-05-23 Thread Josef 'Jeff' Sipek
The following patches consist of mostly cleanups of the Unionfs code, as well as fixes for several harder to hit bugs (resource/memory leaks). As before, there is a git repo at: git://git.kernel.org/pub/scm/linux/kernel/git/jsipek/unionfs.git

[PATCH 01/21] Unionfs: Tiny documentation fixups

2007-05-23 Thread Josef 'Jeff' Sipek
From: Erez Zadok [EMAIL PROTECTED] Signed-off-by: Erez Zadok [EMAIL PROTECTED] Signed-off-by: Josef 'Jeff' Sipek [EMAIL PROTECTED] --- Documentation/filesystems/unionfs/usage.txt |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 04/21] Unionfs: Add missing copyright notices

2007-05-23 Thread Josef 'Jeff' Sipek
From: Erez Zadok [EMAIL PROTECTED] Signed-off-by: Erez Zadok [EMAIL PROTECTED] Signed-off-by: Josef 'Jeff' Sipek [EMAIL PROTECTED] --- fs/stack.c | 11 +++ fs/unionfs/sioq.c|5 - fs/unionfs/sioq.h| 13 + include/linux/fs_stack.h |

[PATCH 21/21] Unionfs: Correctly decrement refcounts of mnt's upon branch management

2007-05-23 Thread Josef 'Jeff' Sipek
From: Erez Zadok [EMAIL PROTECTED] The old logic was broken in one place, which another place tried to fix incorrectly. Also added detailed comments to explain the new/correct logic. Signed-off-by: Erez Zadok [EMAIL PROTECTED] Signed-off-by: Josef 'Jeff' Sipek [EMAIL PROTECTED] ---

[PATCH 15/21] Unionfs: Use krealloc instead of open-coding the functionality

2007-05-23 Thread Josef 'Jeff' Sipek
Change the branch management code to use krealloc instead of playing tricks with kmalloc/memcpy/kfree. Signed-off-by: Josef 'Jeff' Sipek [EMAIL PROTECTED] --- fs/unionfs/super.c | 56 +--- 1 files changed, 14 insertions(+), 42 deletions(-) diff

[PATCH 20/21] Unionfs: Removed a trailing whitespace

2007-05-23 Thread Josef 'Jeff' Sipek
From: Yiannis Pericleous [EMAIL PROTECTED] Signed-off-by: Yiannis Pericleous [EMAIL PROTECTED] Signed-off-by: Josef 'Jeff' Sipek [EMAIL PROTECTED] --- fs/unionfs/super.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/fs/unionfs/super.c b/fs/unionfs/super.c index

[PATCH 14/21] Unionfs: Call realloc unconditionally

2007-05-23 Thread Josef 'Jeff' Sipek
krealloc already checks if the new size is greater than the old size. Therefore, we can call realloc unconditionally - making the code simpler and cleaner. Signed-off-by: Josef 'Jeff' Sipek [EMAIL PROTECTED] --- fs/unionfs/lookup.c | 26 -- 1 files changed, 8

[PATCH 19/21] Unionfs: Actually catch bad use of unionfs_mnt{get,put}

2007-05-23 Thread Josef 'Jeff' Sipek
Signed-off-by: Josef 'Jeff' Sipek [EMAIL PROTECTED] --- fs/unionfs/union.h | 34 +++--- 1 files changed, 7 insertions(+), 27 deletions(-) diff --git a/fs/unionfs/union.h b/fs/unionfs/union.h index 5376b76..335d579 100644 --- a/fs/unionfs/union.h +++

[PATCH 17/21] Unionfs: Documentation update regarding overlapping branches and new lookup code

2007-05-23 Thread Josef 'Jeff' Sipek
From: Erez Zadok [EMAIL PROTECTED] Added detailed comment and updated documentation to explain why overlapping branches are disallowed, and better explain the cache coherency issues. Signed-off-by: Erez Zadok [EMAIL PROTECTED] Signed-off-by: Josef 'Jeff' Sipek [EMAIL PROTECTED] ---

[PATCH 09/21] Unionfs: Rename our do_rename to __unionfs_rename

2007-05-23 Thread Josef 'Jeff' Sipek
From: Erez Zadok [EMAIL PROTECTED] To avoid confusion with the VFS function do_rename, and to help ctags, rename our utility (static) function do_rename to __unionfs_rename. Signed-off-by: Erez Zadok [EMAIL PROTECTED] Signed-off-by: Josef 'Jeff' Sipek [EMAIL PROTECTED] --- fs/unionfs/rename.c |

[PATCH 16/21] Unionfs: Disallow setting leftmost branch to readonly

2007-05-23 Thread Josef 'Jeff' Sipek
From: Erez Zadok [EMAIL PROTECTED] Unionfs requires the leftmost branch to be writeable for copyup to work properly and simply. If, through branch-management commands (add, delete, or mode change), the leftmost branch will becomes readonly, then return an error (and tell the user to use

[PATCH 07/21] Unionfs: Consistent pointer declaration spacing

2007-05-23 Thread Josef 'Jeff' Sipek
From: Erez Zadok [EMAIL PROTECTED] Change instances of foo * var to foo *var for consistency. Signed-off-by: Erez Zadok [EMAIL PROTECTED] Signed-off-by: Josef 'Jeff' Sipek [EMAIL PROTECTED] --- fs/unionfs/copyup.c |6 +++--- fs/unionfs/file.c | 14 +++--- fs/unionfs/inode.c |

[PATCH 0/6] Patch sync from Ubuntu tree

2007-05-23 Thread Ben Collins
Patch set to sync up some Ubuntu patches. Git tree: git://kernel.ubuntu.com/bcollins/ubuntu-for-upstream - 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

[PATCH 11/21] Unionfs: Combine unionfs_write with __unionfs_write.

2007-05-23 Thread Josef 'Jeff' Sipek
The __unionfs_write helper function was used only by unionfs_write, and there is really no reason why they should not be combined. Signed-off-by: Josef 'Jeff' Sipek [EMAIL PROTECTED] --- fs/unionfs/file.c | 30 ++ 1 files changed, 10 insertions(+), 20 deletions(-)

[PATCH 12/21] Unionfs: Prefix external functions with 'extern' properly

2007-05-23 Thread Josef 'Jeff' Sipek
From: Erez Zadok [EMAIL PROTECTED] Signed-off-by: Erez Zadok [EMAIL PROTECTED] Signed-off-by: Josef 'Jeff' Sipek [EMAIL PROTECTED] --- fs/unionfs/sioq.h |1 + fs/unionfs/union.h | 50 +- 2 files changed, 26 insertions(+), 25 deletions(-)

[PATCH 10/21] Unionfs: Move unionfs_query_file to commonfops.c

2007-05-23 Thread Josef 'Jeff' Sipek
Moved unionfs_query_file closer to its one user in commonfops.c. Additionally, it can now become static, and branchman.c can be removed as it is empty. Signed-off-by: Josef 'Jeff' Sipek [EMAIL PROTECTED] --- fs/unionfs/Makefile |4 +- fs/unionfs/branchman.c | 60

[PATCH 08/21] Unionfs: Rename Unionfs's double_lock_dentry to avoid confusion

2007-05-23 Thread Josef 'Jeff' Sipek
From: Erez Zadok [EMAIL PROTECTED] To avoid potential confusion with a VFS function, rename our version of double_lock_dentry to unionfs_double_lock_dentry. Signed-off-by: Erez Zadok [EMAIL PROTECTED] Signed-off-by: Josef 'Jeff' Sipek [EMAIL PROTECTED] --- fs/unionfs/inode.c |2 +-

[PATCH 05/21] Unionfs: Cleanup of strings and comments

2007-05-23 Thread Josef 'Jeff' Sipek
From: Erez Zadok [EMAIL PROTECTED] Includes: - consistent style for multi-line comments - spell-check of all strings and comments Signed-off-by: Erez Zadok [EMAIL PROTECTED] Signed-off-by: Josef 'Jeff' Sipek [EMAIL PROTECTED] --- fs/stack.c |6 --

[PATCH 06/21] Unionfs: Added numerous comments

2007-05-23 Thread Josef 'Jeff' Sipek
From: Erez Zadok [EMAIL PROTECTED] Audited entire code for documentation. Added comments at top of functions where it felt necessary (i.e., function's name and size don't make it clear what it may be doing precisely). Reformatted some long comments. Fixed a few comment typos and spelling

[PATCH 6/6] UNUSUAL_DEV: Sync up some reported devices from Ubuntu

2007-05-23 Thread Ben Collins
Various unusual dev entries accumulated from Ubuntu bug reports. CC: Phil Dibowitz [EMAIL PROTECTED] CC: Alan Stern [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Signed-off-by: Ben Collins [EMAIL PROTECTED] --- drivers/usb/storage/unusual_devs.h | 21 +++-- 1 files changed, 19

[PATCH 03/21] Unionfs: Every printk should prefix with unionfs: consistently

2007-05-23 Thread Josef 'Jeff' Sipek
From: Erez Zadok [EMAIL PROTECTED] Signed-off-by: Erez Zadok [EMAIL PROTECTED] Signed-off-by: Josef 'Jeff' Sipek [EMAIL PROTECTED] --- fs/unionfs/commonfops.c |7 --- fs/unionfs/copyup.c |2 +- fs/unionfs/dentry.c |8 +--- fs/unionfs/inode.c | 15

[PATCH 13/21] Unionfs: Don't leak resources when copyup fails partially

2007-05-23 Thread Josef 'Jeff' Sipek
Original-patch-by: Erez Zadok [EMAIL PROTECTED] Signed-off-by: Josef 'Jeff' Sipek [EMAIL PROTECTED] --- fs/unionfs/copyup.c | 24 ++-- 1 files changed, 22 insertions(+), 2 deletions(-) diff --git a/fs/unionfs/copyup.c b/fs/unionfs/copyup.c index 0975b6e..a80ece6 100644 ---

[PATCH 18/21] Unionfs: Remove defunct unionfs_put_inode super op

2007-05-23 Thread Josef 'Jeff' Sipek
From: Erez Zadok [EMAIL PROTECTED] Removed old workaround code that was needed to get mmap working, is no longer needed with recent kernels. Signed-off-by: Erez Zadok [EMAIL PROTECTED] Signed-off-by: Josef 'Jeff' Sipek [EMAIL PROTECTED] --- fs/unionfs/super.c | 20 1

Re: [PATCH -rt] ARM TLB flush fix: don't forget to re-enable preemption

2007-05-23 Thread Kevin Hilman
Thomas Gleixner wrote: On Tue, 2007-05-22 at 16:01 -0700, Kevin Hilman wrote: Add a preempt_enable() to flush_tlb_kernel_page() since -rt4 patch adds a preempt_disable but no preempt_enable(). Signed-off-by: Kevin Hilman [EMAIL PROTECTED] Good catch. Applied. Thomas could you apply this

[PATCH 1/6] i386/x86_64: Allow disabling the putstr's from compressed boot wrapper

2007-05-23 Thread Ben Collins
Signed-off-by: Ben Collins [EMAIL PROTECTED] --- arch/i386/Kconfig.debug|6 ++ arch/i386/boot/compressed/misc.c |8 +--- arch/x86_64/Kconfig.debug |6 ++ arch/x86_64/boot/compressed/misc.c |8 +--- 4 files changed, 22 insertions(+), 6

Re: 2.6.22-rc1-mm1 cifs_mount oops

2007-05-23 Thread young dave
Hi, I have one problem about this: after the srvTcp-tsk is set to NULL (maybe the thread is still there, isn't it?), is the kthread still needed to be stopped by calling kthread_stop()? If it is true, then the task_struct should be saved before send_sig like my patch:

[PATCH 3/6] HCIUSB: Initialize the Broadcom USB Bluetooth device in Dell laptops.

2007-05-23 Thread Ben Collins
CC: Marcel Holtmann [EMAIL PROTECTED] CC: Maxim Krasnyansky [EMAIL PROTECTED] Signed-off-by: Tim Gardner [EMAIL PROTECTED] Signed-off-by: Phillip lougher [EMAIL PROTECTED] Signed-off-by: Ben Collins [EMAIL PROTECTED] --- drivers/bluetooth/hci_usb.c |2 +- 1 files changed, 1 insertions(+), 1

[PATCH 4/6] RTC: Ratelimit lost interrupts message

2007-05-23 Thread Ben Collins
Signed-off-by: Ben Collins [EMAIL PROTECTED] --- drivers/char/rtc.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/char/rtc.c b/drivers/char/rtc.c index 20380a2..22cf7aa 100644 --- a/drivers/char/rtc.c +++ b/drivers/char/rtc.c @@ -1159,7 +1159,8 @@ static void

Re: 2.6.22-rc2-mm1

2007-05-23 Thread Randy Dunlap
On Wed, 23 May 2007 16:36:07 -0700 (PDT) Christoph Lameter wrote: On Wed, 23 May 2007, Andrew Morton wrote: A few words in slub.txt, perhaps? Thanks for the update. A few nits below. SLUB: More documentation Update documentation to describe how to read a SLUB error report. Add slub

[PATCH] Reduce cpuset.c write_lock_irq() to read_lock()

2007-05-23 Thread Paul Menage
cpuset.c:update_nodemask() uses a write_lock_irq() on tasklist_lock to block concurrent forks; a read_lock() suffices and is less intrusive. Signed-off-by: Paul Menage[EMAIL PROTECTED] --- kernel/cpuset.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Index:

Re: 2.6.22-rc1-mm1: IDE compile error

2007-05-23 Thread Bartlomiej Zolnierkiewicz
Hi, On Wednesday 16 May 2007, Adrian Bunk wrote: On Tue, May 15, 2007 at 08:19:14PM -0700, Andrew Morton wrote: ... - Added an i386 early-startup development tree, as git-newsetup.patch (H. Peter Anvin [EMAIL PROTECTED]) ... Changes since 2.6.21-mm2: ... git-newsetup.patch ...

Re: [PATCH] Match DMA blacklist entries between ide-dma.c and libata-core.c

2007-05-23 Thread Bartlomiej Zolnierkiewicz
On Tuesday 22 May 2007, Junio C Hamano wrote: There are a few entries in ata_device_blacklist[] in libata-core.c marked with HORKAGE_NODMA but are missing from drive_blacklist[] in ide-dma.c. This patch makes the lists in sync. Also remove a duplicated entry for SanDisk SDP3B-64.

Re: Add Seagate STT20000A to DMA blacklist.

2007-05-23 Thread Bartlomiej Zolnierkiewicz
On Monday 21 May 2007, Dave Jones wrote: http://bugzilla.kernel.org/show_bug.cgi?id=1044 has been open for _four_ years with a patch available. Here's a rediffed version of the same. Signed-off-by: Dave Jones [EMAIL PROTECTED] Uh, it seems that this fix got stuck in the kernel black hole

[git patches] IDE fixes

2007-05-23 Thread Bartlomiej Zolnierkiewicz
Please pull from: master.kernel.org:/pub/scm/linux/kernel/git/bart/ide-2.6.git/ to receive the following updates: drivers/ide/ide-dma.c |4 +++- drivers/ide/ide-proc.c|2 ++ drivers/ide/pci/atiixp.c |1 + drivers/ide/pci/serverworks.c | 14 ++

Re: [AppArmor 01/41] Pass struct vfsmount to the inode_create LSM hook

2007-05-23 Thread James Morris
On Wed, 23 May 2007, Andreas Gruenbacher wrote: This is backwards from what AppArmor does. The policy defines which paths may be accessed; all paths not explicitly listed are denied. If files are mounted at multiple locations, then the policy may allow access to some locations but not to

Re: [PATCH] Reduce cpuset.c write_lock_irq() to read_lock()

2007-05-23 Thread Paul Jackson
Paul M wrote: cpuset.c:update_nodemask() uses a write_lock_irq() on tasklist_lock to block concurrent forks; a read_lock() suffices and is less intrusive. Seems reasonable to me - thanks. - write_lock_irq(tasklist_lock); /* block fork */ +

Re: 2.6.21-mm2: ACPI exception on resume

2007-05-23 Thread Ray Lee
On 5/23/07, Henrique de Moraes Holschuh [EMAIL PROTECTED] wrote: On Wed, 23 May 2007, Ray Lee wrote: Which is the crux of my problem with your statement. I feel we shouldn't give the wrong idea to those authors. They need to know that the expectation is that 2.6.x is a stable series, and

[patch] use POSIX equality test in check-lxdialog.sh

2007-05-23 Thread Mike Frysinger
The == operator is not in POSIX, so use -eq instead. Signed-off-by: Mike Frysinger [EMAIL PROTECTED] --- index cdca738..9681476 100644 --- a/scripts/kconfig/lxdialog/check-lxdialog.sh +++ b/scripts/kconfig/lxdialog/check-lxdialog.sh @@ -51,7 +51,7 @@ usage() { printf Usage: $0 [-check

[PATCH 1/1] eCryptfs: Move ecryptfs docs into Documentation/filesystems/

2007-05-23 Thread Josef 'Jeff' Sipek
Signed-off-by: Josef 'Jeff' Sipek [EMAIL PROTECTED] --- Documentation/ecryptfs.txt | 77 Documentation/filesystems/ecryptfs.txt | 77 2 files changed, 77 insertions(+), 77 deletions(-) delete mode 100644

[2.6.22-rc2] BUG message during boot.

2007-05-23 Thread \\\\Tetsuo Handa\\\\
Hello. I ran 2.6.22-rc2 on Debian Sarge / VMware 5.5.4 / ThinkPad X60 and found a BUG message on startup. It seems it is harmless because the system can continue running, but may be something bad? Kernel config is at http://I-love.SAKURA.ne.jp/tmp/config-2.6.22-rc2 Thanks. - dmesg -

2.6.22-rc2 amd64 + 4gb ram hanging during boot after agpgart detection

2007-05-23 Thread Andrew Paprocki
This issue appears to be identical to the one reported here: http://lists.opensuse.org/opensuse-amd64/2007-04/msg1.html By manually adding mem=4096M to my boot line, the system is able to come up fine. Otherwise, it will randomly hang during boot after the line: agpgart: detected an Intel

2.6.22-rc2 amd64 slab allocator bug reported at boot time

2007-05-23 Thread Andrew Paprocki
Snippet from dmesg output (the full dmesg output was attached to my previous e-mail right before this one regarding 2.6.22-rc2 amd64+4gb ram agpgart bug): PCI: Using ACPI for IRQ routing PCI: If a device doesn't work, try pci=routeirq. If it helps, post a report NET: Registered protocol family

Re: [git patches] IDE fixes

2007-05-23 Thread Linus Torvalds
On Thu, 24 May 2007, Bartlomiej Zolnierkiewicz wrote: diff --git a/drivers/ide/pci/serverworks.c b/drivers/ide/pci/serverworks.c index 6234f80..47bcd91 100644 --- a/drivers/ide/pci/serverworks.c +++ b/drivers/ide/pci/serverworks.c @@ -173,7 +179,7 @@ dma_pio:

Re: [PATCH 5/6] SUNHME: Workaround ancient hang on U1's

2007-05-23 Thread Ben Collins
On Wed, 2007-05-23 at 17:17 -0700, David Miller wrote: From: Ben Collins [EMAIL PROTECTED] Date: Wed, 23 May 2007 18:30:46 -0400 This work around has been in use by almost any distribution trying to support sparc64 since at least 2002. Without it, sunhme hangs fairly quickly on

[PATCH 0/5] New path lookup function (V4)

2007-05-23 Thread Josef 'Jeff' Sipek
The only change since V3, is the fix for a vfsmount reference leak in the nfsctl patch (pointed out by hch). Stackable file systems, among others, frequently need to lookup paths or path components starting from an arbitrary point in the namespace (identified by a dentry and a vfsmount).

[PATCH 2/5] sunrpc: Use vfs_path_lookup

2007-05-23 Thread Josef 'Jeff' Sipek
use vfs_path_lookup instead of open-coding the necessary functionality. Signed-off-by: Josef 'Jeff' Sipek [EMAIL PROTECTED] Acked-by: Trond Myklebust [EMAIL PROTECTED] --- net/sunrpc/rpc_pipe.c | 16 +++- 1 files changed, 7 insertions(+), 9 deletions(-) diff --git

[PATCH 4/5] fs: Mark link_path_walk static

2007-05-23 Thread Josef 'Jeff' Sipek
Signed-off-by: Josef 'Jeff' Sipek [EMAIL PROTECTED] --- fs/namei.c|4 +++- include/linux/namei.h |1 - 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/fs/namei.c b/fs/namei.c index a30efbc..50285a1 100644 --- a/fs/namei.c +++ b/fs/namei.c @@ -107,6 +107,8 @@ *

[PATCH 5/5] fs: Remove path_walk export

2007-05-23 Thread Josef 'Jeff' Sipek
Signed-off-by: Josef 'Jeff' Sipek [EMAIL PROTECTED] --- fs/namei.c|3 +-- include/linux/namei.h |1 - 2 files changed, 1 insertions(+), 3 deletions(-) diff --git a/fs/namei.c b/fs/namei.c index 50285a1..15f45ac 100644 --- a/fs/namei.c +++ b/fs/namei.c @@ -1024,7 +1024,7 @@

[PATCH 3/5] nfsctl: Use vfs_path_lookup

2007-05-23 Thread Josef 'Jeff' Sipek
use vfs_path_lookup instead of open-coding the necessary functionality. Signed-off-by: Josef 'Jeff' Sipek [EMAIL PROTECTED] Acked-by: NeilBrown [EMAIL PROTECTED] --- fs/nfsctl.c | 16 ++-- 1 files changed, 6 insertions(+), 10 deletions(-) diff --git a/fs/nfsctl.c b/fs/nfsctl.c

[PATCH 1/5] fs: Introduce vfs_path_lookup

2007-05-23 Thread Josef 'Jeff' Sipek
Signed-off-by: Josef 'Jeff' Sipek [EMAIL PROTECTED] --- fs/namei.c| 32 include/linux/namei.h |2 ++ 2 files changed, 34 insertions(+), 0 deletions(-) diff --git a/fs/namei.c b/fs/namei.c index 580162b..a30efbc 100644 --- a/fs/namei.c +++

[PATCH 5/6] SUNHME: Workaround ancient hang on U1's

2007-05-23 Thread Ben Collins
This work around has been in use by almost any distribution trying to support sparc64 since at least 2002. Without it, sunhme hangs fairly quickly on UltraSPARC 1's. Dave, I know it's not in the kernel because it isn't a fix, but given that we haven't seen a fix in more than 5 years, can we get

Re: [Fwd: Re: Google are using linux kernel - what do you know about the source?]

2007-05-23 Thread Scott Preece
On 5/23/07, Jeff Garzik [EMAIL PROTECTED] wrote: Alan Cox wrote: Google does not distribute their software, so they do not have to make their modifications public. They do for the kernel - they produce an appliance. Ah, I stand corrected. WRT the Linux kernel, Google is essentially a

Re: [git patches] IDE fixes

2007-05-23 Thread Linus Torvalds
On Wed, 23 May 2007, Linus Torvalds wrote: So please, please, please, realize that the compiler is _stupid_, and fixing warnings without understanding the code is bad. Btw, this is fundamental. If you don't need to understand the code, then the compiler could have just fixed it for you,

Re: 2.6.22-rc1-mm1 cifs_mount oops

2007-05-23 Thread Steven French
If srvTcp-tsk is NULL then the thread (cifs_demultiplex_thread) is getting ready to exit and kthread_stop would not be needed. It would probably be possible to recode this so we don't need to call kthread_stop at all (send_sig is apparently required to wake up this thread when blocked in

[PATCH 2/6] PM: Do not require dev spew to get PM_DEBUG

2007-05-23 Thread Ben Collins
In order to enable things like PM_TRACE, you're required to enable PM_DEBUG, which sends a large spew of messages on boot, and often times can overflow dmesg buffer. Create new PM_VERBOSE and shift that to be the option that enables drivers/base/power's messages. Signed-off-by: Ben Collins

Re: 2.6.22-rc2-mm1

2007-05-23 Thread Christoph Lameter
On Wed, 23 May 2007, Randy Dunlap wrote: A few words in slub.txt, perhaps? Thanks for the update. A few nits below. Ok will get the nits out soon. How large is the RedZone? Is it a fixed size or does it vary? The red zone are between 1 byte and a full word. If the object does not end

Re: [RFC PATCH] PCI MMCONFIG: add validation against ACPI motherboard resources

2007-05-23 Thread Jesse Barnes
On Wednesday, May 23, 2007 5:21:13 Linus Torvalds wrote: On Wed, 23 May 2007, Jesse Barnes wrote: After I sent my last message I realized the same thing... though I occasionally hear people talk about removing it (I seriously doubt that will ever happen). I don't even think there's a way

Re: 2.6.22-rc2-mm1

2007-05-23 Thread Christoph Lameter
New version with Randy's fixes: SLUB: More documentation Update documentation to describe how to read a SLUB error report. Add slub parameters to Documentation/kernel-parameters. Signed-off-by: Christoph Lameter [EMAIL PROTECTED] --- Documentation/kernel-parameters.txt | 37 +-

Re: PCI device problem - MMCONFIG, cannot allocate resource region, resource collisions

2007-05-23 Thread Jesse Barnes
On Wednesday, May 23, 2007 5:20:46 Wayne Sherman wrote: Ivan Kokshaysky wrote: No, it won't help. The 1M range (ff50-ff5f) is more than enough. Good catch, I didn't look close enough at the allocations of the devices under the bridge. The reason why the D-Link resource is not

Re: [PATCH 1/6] i386/x86_64: Allow disabling the putstr's from compressed boot wrapper

2007-05-23 Thread Randy Dunlap
On Wed, 23 May 2007 17:59:10 -0400 Ben Collins wrote: diff --git a/arch/i386/boot/compressed/misc.c b/arch/i386/boot/compressed/misc.c index b28505c..cc630d5 100644 --- a/arch/i386/boot/compressed/misc.c +++ b/arch/i386/boot/compressed/misc.c @@ -278,6 +277,9 @@ static void putstr(const

Re: PCI device problem - MMCONFIG, cannot allocate resource region, resource collisions

2007-05-23 Thread Jesse Barnes
On Wednesday, May 23, 2007 8:08:23 Jesse Barnes wrote: On Wednesday, May 23, 2007 5:20:46 Wayne Sherman wrote: Ivan Kokshaysky wrote: No, it won't help. The 1M range (ff50-ff5f) is more than enough. Good catch, I didn't look close enough at the allocations of the devices

Re: [RFC PATCH] PCI MMCONFIG: add validation against ACPI motherboard resources

2007-05-23 Thread Linus Torvalds
On Wed, 23 May 2007, Jesse Barnes wrote: So what do you think? You ok with enabling mmconfig if it's available as long as we use type 1 accesses for non-extended stuff? If so, I think the patches are pretty much ready... Sure. I think mmconfig is perfectly sane if it falls back to

Re: 2.6.22-rc2-mm1

2007-05-23 Thread Randy Dunlap
On Wed, 23 May 2007 20:00:52 -0700 (PDT) Christoph Lameter wrote: New version with Randy's fixes: well... :) Index: slub/Documentation/kernel-parameters.txt === --- slub.orig/Documentation/kernel-parameters.txt 2007-05-23

Re: [RFC PATCH] PCI MMCONFIG: add validation against ACPI motherboard resources

2007-05-23 Thread Linus Torvalds
On Wed, 23 May 2007, Linus Torvalds wrote: Sure. I think mmconfig is perfectly sane if it falls back to conf1 accesses for legacy stuff.. .. but without a regression, it's obviously a post-2.6.22 thing, I guess I should make that clear, just because I think people send me patches after

Re: [PATCH] blackfin: Enable arbitary speed serial setting

2007-05-23 Thread Aubrey Li
Thanks. Acked-by: Aubrey Li [EMAIL PROTECTED] On 5/24/07, Alan Cox [EMAIL PROTECTED] wrote: Add the needed definitions to activate arbitary speed support on the blackfin platform. Signed-off-by: Alan Cox [EMAIL PROTECTED] diff -u --new-file --recursive --exclude-from /usr/src/exclude

How to produce a core

2007-05-23 Thread gshan
This morning, I tried command kill -7 [pid] but didn't see the core file. Anybody has ideas? bash-2.05b# ps PID USER COMMAND 1 0init 2 0[ksoftirqd/0] 3 0[watchdog/0] 4 0[events/0] 5 0[khelper] 6 0[kthread] 36 0

Re: 2.6.22-rc2-mm1

2007-05-23 Thread Dmitry Torokhov
Hi Jiri, On Wednesday 23 May 2007 19:40, Jiri Kosina wrote: This is pretty strange. Mouse shouldn't be claimed by hiddev. Seems like this mouse probably has some interesting HID report descriptor. Could you please recompile with CONFIG_HID_DEBUG enabled and send me the output? It looks

Re: [PATCH] blackfin: Enable arbitary speed serial setting

2007-05-23 Thread Bryan Wu
On Thu, 2007-05-24 at 11:23 +0800, Aubrey Li wrote: Thanks. Acked-by: Aubrey Li [EMAIL PROTECTED] On 5/24/07, Alan Cox [EMAIL PROTECTED] wrote: Add the needed definitions to activate arbitary speed support on the blackfin platform. Signed-off-by: Alan Cox [EMAIL PROTECTED] I

Re: [RFC PATCH] PCI MMCONFIG: add validation against ACPI motherboard resources

2007-05-23 Thread Jesse Barnes
On Wednesday, May 23, 2007 8:20:14 Linus Torvalds wrote: On Wed, 23 May 2007, Linus Torvalds wrote: Sure. I think mmconfig is perfectly sane if it falls back to conf1 accesses for legacy stuff.. .. but without a regression, it's obviously a post-2.6.22 thing, I guess I should make that

Re: How to produce a core

2007-05-23 Thread Willy Tarreau
On Thu, May 24, 2007 at 11:28:15AM +0800, gshan wrote: This morning, I tried command kill -7 [pid] but didn't see the core file. Anybody has ideas? do the following before starting your program : # ulimit -c unlimited You can check before and after that the core size changed from 0 to

[PATCH] kernel-doc: fix leading dot in man-mode output

2007-05-23 Thread Randy Dunlap
From: Randy Dunlap [EMAIL PROTECTED] If a parameter description begins with a '.', this indicates a request for man mode output (*roff), so it needs special handling. Problem case is in include/asm-i386/atomic.h for function atomic_add_unless(): * @u: ...unless v is equal to u. This parameter

Re: Define CONFIG_BOUNCE to avoid useless inclusion of bounce buffer logic.

2007-05-23 Thread Paul Mackerras
Christoph Lameter writes: The DMA zone is for memory allocations _for_ _DMA_. If all your memory is DMA-able then it belongs in the DMA zone. Nope. The DMA zone is for crappy DMA devices that can only use a portion of memory. That is (presumably) true today, but is in fact a

Re: Define CONFIG_BOUNCE to avoid useless inclusion of bounce buffer logic.

2007-05-23 Thread Christoph Lameter
On Thu, 24 May 2007, Paul Mackerras wrote: That is (presumably) true today, but is in fact a redefinition of what ZONE_DMA historically was for. I do not know too much about the history but when I tried to correlate all the different ways that arches use the zone this definition was the most

Re: [RFC] LZO de/compression support - take 3

2007-05-23 Thread Nitin Gupta
On 5/23/07, Richard Purdie [EMAIL PROTECTED] wrote: On Wed, 2007-05-23 at 09:16 -0700, Andrew Morton wrote: On Wed, 23 May 2007 19:51:44 +0530 Nitin Gupta [EMAIL PROTECTED] wrote: On 5/23/07, Michael-Luke Jones [EMAIL PROTECTED] wrote: If so, it was quite inappropriate that a filesystem be

Re: [PATCH 6/6] UNUSUAL_DEV: Sync up some reported devices from Ubuntu

2007-05-23 Thread Ben Collins
On Wed, 2007-05-23 at 20:59 -0700, Phil Dibowitz wrote: Ben Collins wrote: Various unusual dev entries accumulated from Ubuntu bug reports. CC: Phil Dibowitz [EMAIL PROTECTED] NACK. Two fixes I'd like to see fixed. +/* SanDisk that has a second LUN for a driver ISO, reported by +

<    5   6   7   8   9   10   11   >