Re: [PATCH 2/6] LBS: fix uninitialized swapper_space

2007-09-26 Thread Christoph Lameter
On Wed, 26 Sep 2007, Hugh Dickins wrote: Probably better, yes. In -mm Peter is doing an #ifdef CONFIG_SWAP bdi_init() on swapper_space. Would make sense to do both together, perhaps move them to a swapper_space_init() in swap_state.c, saving his #ifdef too. I suggest leave such cleanups

[PATCH 1/1] nmi_watchdog: x86_64 count timer and hpet like i386

2007-09-26 Thread David Bahi
This modifies nmi_watchdog_tick behavior for x86_64 arch to consider both timer and pit/hpet IRQs just as the i386 arch does. Without this fix a kernel crash occurs very early in the boot process if nmi_watchdog is on. Signed-off-by: David Bahi [EMAIL PROTECTED] --- arch/x86_64/kernel/nmi.c

Re: [PATCH 0/3] A kernel tracing interface - (updated)

2007-09-26 Thread Randy Dunlap
On Wed, 26 Sep 2007 11:22:29 -0700 David J. Wilder wrote: These patches provide a kernel tracing interface called trace. (update) Moved the sample code to the new samples\ subdir The motivation for trace is to: - Provide a simple set of tracing primitives that will utilize the high-

Re: 2.6.23-rc4-mm1 and -rc6-mm1: boot failure on HP nx6325, related to clockevents

2007-09-26 Thread Thomas Gleixner
On Wed, 2007-09-26 at 17:25 +0200, Rafael J. Wysocki wrote: There still are some oddities. First, with the x86-64: Disable local APIC timer use on AMD systems with C1E patch and my collection of suspend patches applied, the box doesn't boot (the suspend patches don't even thouch the boot

Re: __kernel_vsyscall () hangs in SIGCHLD handler

2007-09-26 Thread John Z. Bohach
On Wednesday 26 September 2007 10:03:33 Ulrich Drepper wrote: On 9/26/07, John Z. Bohach [EMAIL PROTECTED] wrote: Is there some reason that syslog() sleeps in __kernel_vsyscall() when invoked from a signal handler? Only very few functions are allowed to be called from signal handlers. This

Re: commit 6dccd16b7c2703e8bbf8bca62b5cf248332afbe2 kills r8169 send performance

2007-09-26 Thread Timo Jantunen
On Wed, 26 Sep 2007, Francois Romieu wrote: The patch below is scheduled for inclusion before 2.6.23. Please try it and see if it makes a difference on top of 2.6.23-rc8 (full dmesg will be welcome too). Thanks for the quick reply and fix. Unfortunately the fix didn't help in my case.

Re: 2.6.23-rc8-mm1: ata3: soft resetting link after STR

2007-09-26 Thread Alexey Dobriyan
On Wed, Sep 26, 2007 at 05:00:20PM +0100, Alan Cox wrote: On Wed, 26 Sep 2007 19:39:01 +0400 Alexey Dobriyan [EMAIL PROTECTED] wrote: Frequently get these messages after resume from STR, (subjectively, first STR is always OK). Does this occur if you have the acpi support enabled

[PATCH] Add iSCSI iBFT support.

2007-09-26 Thread Konrad Rzeszutek
This patch adds a /sysfs/firmware/ibft/table binary blob which exports the iSCSI Boot Firmware Table (iBFT) structure. What is iSCSI Boot Firmware Table? It is a mechanism for the iSCSI tools to extract from the machine NICs the iSCSI connection information so that they can automagically mount

dmapool

2007-09-26 Thread Matthew Wilcox
I have a series of patches to dmapool that I'd like opinions on. I don't have any performance numbers yet, but some of the patches are a good idea, with or without performance numbers. One of the problems with dmapool is that it doesn't have a maintainer listed. I've spent enough time looking

Re: missing mnt_drop_write() on open error

2007-09-26 Thread Miklos Szeredi
Btw, may_open() doesn't do mnt_want_write() around the truncation if file is opened with O_TRUNC | O_RDONLY. What's the path to may_open() in that case? open_namei() should wrap all callers other than nfs, and it does: /* O_TRUNC implies we need access checks for write

[PATCH 1/4] Avoid taking waitqueue lock in dmapool

2007-09-26 Thread Matthew Wilcox
With one trivial change (taking the lock slightly earlier on wakeup from schedule), all uses of the waitq are under the pool lock, so we can use the locked (or __) versions of the wait queue functions, and avoid the extra spinlock. Signed-off-by: Matthew Wilcox [EMAIL PROTECTED] --- mm/dmapool.c

[PATCH 2/4] dmapool: Validate parameters to dma_pool_create

2007-09-26 Thread Matthew Wilcox
Check that 'align' is a power of two, like the API specifies. Align 'size' to 'align' correctly -- the current code has an off-by-one. The ALIGN macro in kernel.h doesn't. Signed-off-by: Matthew Wilcox [EMAIL PROTECTED] --- mm/dmapool.c | 15 --- 1 files changed, 8 insertions(+), 7

[PATCH 3/4] Change dmapool free block management

2007-09-26 Thread Matthew Wilcox
Also add documentation for how dma pools work, move the header above the includes, add my copyright, add the original author's copyright, add a GPL v2 licence to the file and fix the includes. Signed-off-by: Matthew Wilcox [EMAIL PROTECTED] --- mm/dmapool.c | 161

[PATCH 4/4] dmapool: Improve memory usage for devices which can't cross boundaries

2007-09-26 Thread Matthew Wilcox
The previous implementation simply refused to allocate more than a boundary's worth of data from an entire page. Some users didn't know this, so specified things like SMP_CACHE_BYTES, not realising the horrible waste of memory that this was. It's fairly easy to correct this problem, just by

Re: [ofa-general] [PATCH v3] iw_cxgb3: Support iwarp-only interfaces to avoid 4-tuple conflicts.

2007-09-26 Thread Steve Wise
Rolan/Sean, What do you all think? Steve. Steve Wise wrote: iw_cxgb3: Support iwarp-only interfaces to avoid 4-tuple conflicts. Version 3: - don't use list_del_init() where list_del() is sufficient. Version 2: - added a per-device mutex for the address and listening endpoints lists. -

[Re: NMI error and Intel S5000PSL Motherboards]

2007-09-26 Thread samson yeung
Hello, I'm working with AndrewL733 on this issue. I'm doing the git bisect right now. scanpci -f -1 causes the problem, scanpci -f -2 and scanpci -O do not. The systems have two 1-Gig sticks in the D1 and C1 slots of the motherboard. I ran memtest86 overnight and got no errors. (Samsung 1GB

Re: __kernel_vsyscall () hangs in SIGCHLD handler

2007-09-26 Thread Mikael Pettersson
Ulrich Drepper writes: On 9/26/07, John Z. Bohach [EMAIL PROTECTED] wrote: Is there some reason that syslog() sleeps in __kernel_vsyscall() when invoked from a signal handler? Only very few functions are allowed to be called from signal handlers. This is clearly spelled out in the

[PATCH] bw-qcam: use data_reverse instead of manually poking the control register

2007-09-26 Thread Brett Warden
Appeases the warning parport0 (bw-qcam): use data_reverse for this! Signed-off-by: Brett T. Warden [EMAIL PROTECTED] --- It seems to work fine with my Quickcam under 2.6.22. diff --git a/drivers/media/video/bw-qcam.c b/drivers/media/video/bw-qcam.c index 7d47cbe..01e47ed 100644 ---

Re: Regression in 2.6.23-pre Was: Problems with 2.6.23-rc6 on AMD Geode LX800

2007-09-26 Thread H. Peter Anvin
Jordan Crouse wrote: Its the latter - max_pfn as read by find_max_pfn() in arch/i386/e820.c is being set to 9F (640k) in the broken case, this due to the the e820 map looking something like this: Address Size Type 0009FC00 1 0009FC00 0400 2 000E 2000 2

Re: [PATCH 0/3] A kernel tracing interface - (updated)

2007-09-26 Thread Mathieu Desnoyers
* David J. Wilder ([EMAIL PROTECTED]) wrote: These patches provide a kernel tracing interface called trace. (update) Moved the sample code to the new samples\ subdir The motivation for trace is to: - Provide a simple set of tracing primitives that will utilize the high- performance and

Re: [PATCH 3/4] Change dmapool free block management

2007-09-26 Thread Roland Dreier
Also add documentation for how dma pools work, move the header above the includes, add my copyright, add the original author's copyright, add a GPL v2 licence to the file and fix the includes. The fact that you have all these other changes mixed in makes the main change very difficult to

Re: Chroot bug (was: sys_chroot+sys_fchdir Fix)

2007-09-26 Thread Bodo Eggert
On Wed, 26 Sep 2007, David Newall wrote: Miloslav Semler pointed out that a root process can chdir(..) out of its chroot. Although this is documented in the man page, it conflicts with the essential function, which is to change the root directory of the process. The root directory, '/'

Re: [PATCH 0/4] allow drivers to flush in-flight DMA

2007-09-26 Thread Roland Dreier
Can we define this API to provide the same semantics as the memory that dma_alloc_coherent() returns? No, definitely not. The property of the mapping here is all about ordering with respect to other DMAs (from the same device) and nothing to do with coherency between the CPU's and device's

Re: [RFC][PATCH] page-mapping clarification [1/3] base functions

2007-09-26 Thread Hugh Dickins
On Sat, 22 Sep 2007, KAMEZAWA Hiroyuki wrote: On Fri, 21 Sep 2007 18:02:47 +0100 (BST) Hugh Dickins [EMAIL PROTECTED] wrote: Or should I now leave PG_swapcache as is, given your designs on page-mapping? will conflict with my idea ? == http://marc.info/?l=linux-mmm=118956492926821w=2

Re: sys_chroot+sys_fchdir Fix

2007-09-26 Thread Christer Weinigel
On Wed, 26 Sep 2007 20:04:14 +0930 David Newall [EMAIL PROTECTED] wrote: Al Viro wrote: Oh, for fsck sake... Folks, it's standard-required behaviour. Ability to chroot() implies the ability to break out of it. Could we please add that (along with reference to SuS) to l-k FAQ and be

Re: 2.6.23-rc4-mm1 and -rc6-mm1: boot failure on HP nx6325, related to clockevents

2007-09-26 Thread Rafael J. Wysocki
On Wednesday, 26 September 2007 20:51, Thomas Gleixner wrote: On Wed, 2007-09-26 at 17:25 +0200, Rafael J. Wysocki wrote: There still are some oddities. First, with the x86-64: Disable local APIC timer use on AMD systems with C1E patch and my collection of suspend patches applied, the

Re: [PATCH] Add iSCSI iBFT support.

2007-09-26 Thread roel
Konrad Rzeszutek wrote: [...] +static ssize_t +ibft_read_binary(struct kobject *kobj, struct bin_attribute *attr, char *buf, + loff_t off, size_t count) +{ + + struct ibft_device *ibft = container_of(kobj, struct ibft_device, kobj); + ssize_t len = ibft-hdr-length; +

Re: BUG: unable to handle kernel NULL pointer dereference at virtual address 00000008

2007-09-26 Thread D-Tick
Hi, i described it a little more in detail in http://lkml.org/lkml/2007/9/25/184 2 months ago. The kernel oopses often when there is (heavy) disk access, but not always, thats the point, sometimes it runs 4 weeks, sometimes only a few days. With older kernels sometimes the software raid was out

Re: [PATCH] bw-qcam: use data_reverse instead of manually poking the control register

2007-09-26 Thread Ray Lee
On 9/26/07, Brett Warden [EMAIL PROTECTED] wrote: Appeases the warning parport0 (bw-qcam): use data_reverse for this! Signed-off-by: Brett T. Warden [EMAIL PROTECTED] --- It seems to work fine with my Quickcam under 2.6.22. @@ -369,7 +374,11 @@ static void qc_reset(struct qcam_device *q)

What's in linux1394-2.6.git

2007-09-26 Thread Stefan Richter
I heard that project tree maintainers are encouraged to post merge plans in time, so I'm going to do so now too. Although this time there isn't much in store for drivers/{ieee1394,firewire} for the merge window because we all got sidetracked lately... It's basically bugfixes which I felt were

Re: [PATCH 2/4] dmapool: Validate parameters to dma_pool_create

2007-09-26 Thread roel
Matthew Wilcox wrote: Check that 'align' is a power of two, like the API specifies. Align 'size' to 'align' correctly -- the current code has an off-by-one. The ALIGN macro in kernel.h doesn't. Signed-off-by: Matthew Wilcox [EMAIL PROTECTED] --- mm/dmapool.c | 15 --- 1

Re: [PATCH 0/3] A kernel tracing interface - (updated)

2007-09-26 Thread David Wilder
Randy Dunlap wrote: On Wed, 26 Sep 2007 11:22:29 -0700 David J. Wilder wrote: These patches provide a kernel tracing interface called trace. (update) Moved the sample code to the new samples\ subdir The motivation for trace is to: - Provide a simple set of tracing primitives that will

Re: [PATCH] JBD/ext34 cleanups: convert to kzalloc

2007-09-26 Thread Andrew Morton
On Fri, 21 Sep 2007 16:13:56 -0700 Mingming Cao [EMAIL PROTECTED] wrote: Convert kmalloc to kzalloc() and get rid of the memset(). I split this into separate ext3/jbd and ext4/jbd2 patches. It's generally better to raise separate patches, please - the ext3 patches I'll merge directly but the

No linux/module.h

2007-09-26 Thread mahamuni ashish
I am writing simple kernel module. I have included linux/module.h compiler gives me error that no such file, I also searched it on my machine. It really doesn't exist. I am using fedora 6. How do I install required libraries. Did you know? You can CHAT without downloading messenger. Go to

Re: [PATCH 1/8] taskstats: fix indentation of long argument lists

2007-09-26 Thread Andrew Morton
On Wed, 26 Sep 2007 19:08:18 +0200 Guillaume Chazarain [EMAIL PROTECTED] wrote: Align with the opening parenthesis. Changelog since V1 (http://lkml.org/lkml/2007/9/21/527): - renamed fill_threadgroup() and add_tsk() to respectively fill_threadgroup_stats() and add_tsk_stats() as suggested

Re: commit 6dccd16b7c2703e8bbf8bca62b5cf248332afbe2 kills r8169 send performance

2007-09-26 Thread Willy Tarreau
On Wed, Sep 26, 2007 at 09:52:02PM +0300, Timo Jantunen wrote: On Wed, 26 Sep 2007, Francois Romieu wrote: The patch below is scheduled for inclusion before 2.6.23. Please try it and see if it makes a difference on top of 2.6.23-rc8 (full dmesg will be welcome too). Thanks for the

Re: [PATCH] bw-qcam: use data_reverse instead of manually poking the control register

2007-09-26 Thread Brett Warden
On 9/26/07, Ray Lee [EMAIL PROTECTED] wrote: Just as an aside, if you've tested this and it works, then there's no point to keep the write_lpcontrol even as a comment. Kill those four lines, and if someone's interested in what happened they'll just look at the file history. Point taken,

Re: [PATCH 3/4] Change dmapool free block management

2007-09-26 Thread roel
Matthew Wilcox wrote: [...] @@ -113,9 +133,12 @@ struct dma_pool *dma_pool_create(const char *name, struct device *dev, return NULL; } - if (size == 0) + if (size == 0) { return NULL; - + } else if (size 4) { + size = 4; +

Re: [PATCH 4/4] dmapool: Improve memory usage for devices which can't cross boundaries

2007-09-26 Thread roel
Matthew Wilcox wrote: [...] @@ -142,14 +144,13 @@ struct dma_pool *dma_pool_create(const char *name, struct device *dev, if ((size % align) != 0) size = ALIGN(size, align); - if (allocation == 0) { - if (PAGE_SIZE size) -

Re: commit 6dccd16b7c2703e8bbf8bca62b5cf248332afbe2 kills r8169 send performance

2007-09-26 Thread Timo Jantunen
On Wed, 26 Sep 2007, Willy Tarreau wrote: On Wed, Sep 26, 2007 at 09:52:02PM +0300, Timo Jantunen wrote: On Wed, 26 Sep 2007, Francois Romieu wrote: The patch below is scheduled for inclusion before 2.6.23. Please try it and see if it makes a difference on top of 2.6.23-rc8 (full

sata_sil24 broken since 2.6.23-rc4-mm1

2007-09-26 Thread Torsten Kaiser
As reported in the 2.6.23-rc4-mm1-thread and the What's in linux-2.6-block.git for 2.6.24-thread I'm having trouble that sometimes on bootup one drive from the SiI-3132 throws errors and becomes inaccesible. The latest kernel I have seen this error was 2.6.23-rc7-mm1. From 7 boots 2 times the

Re: [RFC][PATCH 1/2 -mm] kexec based hibernation -v3: kexec jump

2007-09-26 Thread Joseph Fannin
On Fri, Sep 21, 2007 at 11:45:12AM +0200, Pavel Machek wrote: Hi! Sounds doable, as long as you can cope with long command lines (which shouldn't be a biggie). (If you've got a swapfile or parts of a swap partition already in use, it can be quite fragmented). Hmm. This is an

Re: No linux/module.h

2007-09-26 Thread Kristof Provost
On 2007-09-26 11:29:33 (+0100), mahamuni ashish [EMAIL PROTECTED] wrote: I am writing simple kernel module. I have included linux/module.h compiler gives me error that no such file, I also searched it on my machine. It really doesn't exist. I am using fedora 6. How do I install required

Re: + uninline-find_task_by_xxx-set-of-functions.patch added to -mm tree

2007-09-26 Thread Ingo Molnar
* [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: -- Subject: Uninline find_task_by_xxx set of functions From: Pavel Emelyanov [EMAIL PROTECTED] The find_task_by_something is a set of macros are used to find task by pid depending on what kind

Re: [PATCH4/4] [POWERPC] Fix cpm_uart driver

2007-09-26 Thread Scott Wood
On Wed, Sep 26, 2007 at 03:32:29PM -0500, Rune Torgersen wrote: From: Scott Wood Maybe that's how it was, but the current code initializes it (more or less) directly with IMAP_ADDR, which also gets fed into ioremap. One of the two has got to be wrong. arch/ppc maps the immr area 1:1

Re: BUG: unable to handle kernel NULL pointer dereference at virtual address 00000008

2007-09-26 Thread Mel Gorman
On (26/09/07 21:40), D-Tick didst pronounce: Hi, i described it a little more in detail in http://lkml.org/lkml/2007/9/25/184 2 months ago. Are you sure about that link? It looks like my own posting. The kernel oopses often when there is (heavy) disk access, but not always, thats the

[REGRESSION from 2.6.23-rc8] (was: Re: 2.6.23-rc4-mm1 and -rc6-mm1: boot failure on HP nx6325, related to clockevents)

2007-09-26 Thread Rafael J. Wysocki
On Wednesday, 26 September 2007 21:49, Rafael J. Wysocki wrote: On Wednesday, 26 September 2007 20:51, Thomas Gleixner wrote: On Wed, 2007-09-26 at 17:25 +0200, Rafael J. Wysocki wrote: There still are some oddities. First, with the x86-64: Disable local APIC timer use on AMD systems

Re: [PATCH 09/12] mm: remove throttle_vm_writeback

2007-09-26 Thread Peter Zijlstra
On Thu, 2007-04-05 at 15:44 -0700, Andrew Morton wrote: On Thu, 05 Apr 2007 19:42:18 +0200 [EMAIL PROTECTED] wrote: rely on accurate dirty page accounting to provide enough push back I think we'd like to see a bit more justification than that, please. it should read like this:

Re: [PATCH 7/8] taskstats: fix stats-ac_exitcode to work on threads and use group_exit_code

2007-09-26 Thread roel
Guillaume Chazarain wrote: [...] @@ -65,13 +65,15 @@ void bacct_add_tsk(struct taskstats *stats, struct task_struct *tsk) void bacct_fill_threadgroup(struct taskstats *stats, struct task_struct *tsk, bool tg_stats) { + int group_exit_code; +

RE: [PATCH4/4] [POWERPC] Fix cpm_uart driver

2007-09-26 Thread Rune Torgersen
From: Scott Wood Maybe that's how it was, but the current code initializes it (more or less) directly with IMAP_ADDR, which also gets fed into ioremap. One of the two has got to be wrong. arch/ppc maps the immr area 1:1 into kernel memory, so ioremap and physical are the same. See

why network devices don't do reference counting? (Re: [PATCH] Module use count must be updated as bridges are created/destroyed)

2007-09-26 Thread Oleg Verych
* Wed, 26 Sep 2007 08:37:05 -0700 * Organization: Linux Foundation On Wed, 26 Sep 2007 08:53:27 +0100 Jan Beulich [EMAIL PROTECTED] wrote: Otherwise 'modprobe -r' on a module having a dependency on bridge will implicitly unload bridge, bringing down all connectivity that was using bridges.

Re: [Re: NMI error and Intel S5000PSL Motherboards]

2007-09-26 Thread Randy Dunlap
On Wed, 26 Sep 2007 15:07:14 -0400 samson yeung wrote: Hello, I'm working with AndrewL733 on this issue. I'm doing the git bisect right now. scanpci -f -1 causes the problem, scanpci -f -2 and scanpci -O do not. Does the problem always happen when scanpci is making an ioperm syscall (as

Re: [linux-pm] Re: [RFC][PATCH 1/2 -mm] kexec based hibernation -v3: kexec jump

2007-09-26 Thread Joseph Fannin
FWIW, on all the hardware I have, Windows is able to deal with: (1) hibernate Windows (2) run $(OTHER_OS) (3) resume Windows ... which seems to me to say that Linux is doing it wrong if it can't handle other ACPI users between hibernate and resume. But maybe that's just my

Re: [RFC][PATCH 1/2 -mm] kexec based hibernation -v3: kexec jump

2007-09-26 Thread Nigel Cunningham
Hi. On Thursday 27 September 2007 06:30:36 Joseph Fannin wrote: On Fri, Sep 21, 2007 at 11:45:12AM +0200, Pavel Machek wrote: Hi! Sounds doable, as long as you can cope with long command lines (which shouldn't be a biggie). (If you've got a swapfile or parts of a swap partition

Re: [PATCH 1/1] Kernel compile bug in 2.6.22.6/7 {maybe more} ARM/StrongARM

2007-09-26 Thread Dave Jones
On Tue, Sep 25, 2007 at 10:36:51AM -0400, Dave Jones wrote: On Tue, Sep 25, 2007 at 08:31:32AM +0100, Russell King wrote: On Mon, Sep 24, 2007 at 05:53:57PM -0500, [EMAIL PROTECTED] wrote: I was building a kernel for an iPaq {SA1110} and ran into this.

Re: No linux/module.h

2007-09-26 Thread Jiri Slaby
On 09/26/2007 10:25 PM, Kristof Provost wrote: On 2007-09-26 11:29:33 (+0100), mahamuni ashish [EMAIL PROTECTED] wrote: I am writing simple kernel module. I have included linux/module.h compiler gives me error that no such file, I also searched it on my machine. It really doesn't exist. I am

2.6.23-rc8-rt1

2007-09-26 Thread Steven Rostedt
We are pleased to announce the 2.6.23-rc8-rt1 tree, which can be downloaded from the new location: http://www.kernel.org/pub/linux/kernel/projects/rt/ Changes since 2.6.23-rc4-rt1 - update to -rc8 - A bunch of PowerPC stuff(Tony Breeds) - rearrange thread flags

Re: [PATCH 7/8] taskstats: fix stats-ac_exitcode to work on threads and use group_exit_code

2007-09-26 Thread Guillaume Chazarain
Le Wed, 26 Sep 2007 22:47:54 +0200, roel [EMAIL PROTECTED] a écrit : + if (thread_group_leader(tsk) ((tsk-flags PF_FORKNOEXEC))) if (thread_group_leader(tsk) (tsk-flags PF_FORKNOEXEC)) Yeah, right, good catch. + group_exit_code = tg_stats ? tsk-signal-group_exit_code : 0;

Re: Regression in 2.6.23-pre Was: Problems with 2.6.23-rc6 on AMD Geode LX800

2007-09-26 Thread Jordan Crouse
On 26/09/07 12:14 -0700, H. Peter Anvin wrote: Please try the following debug patch to let us know what is going on. -hpa diff --git a/arch/i386/boot/memory.c b/arch/i386/boot/memory.c index 1a2e62d..a0ccf29 100644 --- a/arch/i386/boot/memory.c +++ b/arch/i386/boot/memory.c @@

Re: [PATCH] bw-qcam: use data_reverse instead of manually poking the control register

2007-09-26 Thread Ray Lee
On 9/26/07, Brett Warden [EMAIL PROTECTED] wrote: On 9/26/07, Ray Lee [EMAIL PROTECTED] wrote: Just as an aside, if you've tested this and it works, then there's no point to keep the write_lpcontrol even as a comment. Kill those four lines, and if someone's interested in what happened

Re: [PATCH] bw-qcam: use data_reverse instead of manually poking the control register

2007-09-26 Thread Randy Dunlap
On Wed, 26 Sep 2007 12:12:50 -0700 Brett Warden wrote: Appeases the warning parport0 (bw-qcam): use data_reverse for this! Signed-off-by: Brett T. Warden [EMAIL PROTECTED] Where does the warning come from? (what software produces it?) --- It seems to work fine with my Quickcam under

Re: Regression in 2.6.23-pre Was: Problems with 2.6.23-rc6 on AMD Geode LX800

2007-09-26 Thread H. Peter Anvin
Jordan Crouse wrote: On 26/09/07 12:14 -0700, H. Peter Anvin wrote: Please try the following debug patch to let us know what is going on. -hpa diff --git a/arch/i386/boot/memory.c b/arch/i386/boot/memory.c index 1a2e62d..a0ccf29 100644 --- a/arch/i386/boot/memory.c +++

State of the Linux Driver Core Subsystem for 2.6.23-rc8

2007-09-26 Thread Greg KH
Here's a summary of the current state of the Linux Driver core subsystem, as of 2.6.23-rc8. If the information in here is incorrect, or anyone knows of any outstanding issues not listed here, please let me know. List of outstanding regressions from 2.6.22: - none known. List of

State of the Linux USB Subsystem for 2.6.23-rc8

2007-09-26 Thread Greg KH
Here's a summary of the current state of the Linux USB subsystem, as of 2.6.23-rc8 If the information in here is incorrect, or anyone knows of any outstanding issues not listed here, please let me know. List of outstanding regressions from 2.6.22: - none known. List of outstanding

State of the Linux PCI Subsystem for 2.6.23-rc8

2007-09-26 Thread Greg KH
Here's a summary of the current state of the Linux PCI subsystem, as of 2.6.23-rc8. If the information in here is incorrect, or anyone knows of any outstanding issues not listed here, please let me know. List of outstanding regressions from 2.6.22: - none known. List of outstanding

Re: [patch 1/7] Extended crashkernel command line

2007-09-26 Thread Bernhard Walle
* Oleg Verych [EMAIL PROTECTED] [2007-09-26 20:18]: --- a/kernel/kexec.c +++ b/kernel/kexec.c @@ -1172,33 +1172,50 @@ static int __init parse_crashkernel_mem( do { unsigned long long start = 0, end = ULLONG_MAX; unsigned long long size = -1; no need in

Re: [PATCH] JBD/ext34 cleanups: convert to kzalloc

2007-09-26 Thread Mingming Cao
On Wed, 2007-09-26 at 12:54 -0700, Andrew Morton wrote: On Fri, 21 Sep 2007 16:13:56 -0700 Mingming Cao [EMAIL PROTECTED] wrote: Convert kmalloc to kzalloc() and get rid of the memset(). I split this into separate ext3/jbd and ext4/jbd2 patches. It's generally better to raise separate

Re: why network devices don't do reference counting? (Re: [PATCH] Module use count must be updated as bridges are created/destroyed)

2007-09-26 Thread Stephen Hemminger
On Wed, 26 Sep 2007 23:06:53 +0200 Oleg Verych [EMAIL PROTECTED] wrote: * Wed, 26 Sep 2007 08:37:05 -0700 * Organization: Linux Foundation On Wed, 26 Sep 2007 08:53:27 +0100 Jan Beulich [EMAIL PROTECTED] wrote: Otherwise 'modprobe -r' on a module having a dependency on bridge will

Re: [PATCH 2/4] dmapool: Validate parameters to dma_pool_create

2007-09-26 Thread roel
Matthew Wilcox wrote: On Wed, Sep 26, 2007 at 09:47:41PM +0200, roel wrote: The brackets in the first if/else are not required, and you could combine the two statements: You mean braces, not brackets. And I find this little fetish of yours highly disturbing. I prefer to use braces, and

Re: [PATCH 01/24] CRED: Introduce a COW credentials record

2007-09-26 Thread David Howells
Al Viro [EMAIL PROTECTED] wrote: Umm... Perhaps a better primitive would be make sure that our cred is not shared with anybody, creating a copy and redirecting reference to it if needed. I wanted to make the point that once a cred record was made live - i.e. exposed to the rest of the system

Re: [PATCH 1/4] Avoid taking waitqueue lock in dmapool

2007-09-26 Thread David Miller
From: Matthew Wilcox [EMAIL PROTECTED] Date: Wed, 26 Sep 2007 15:01:16 -0400 With one trivial change (taking the lock slightly earlier on wakeup from schedule), all uses of the waitq are under the pool lock, so we can use the locked (or __) versions of the wait queue functions, and avoid the

Re: [PATCH 2/4] dmapool: Validate parameters to dma_pool_create

2007-09-26 Thread David Miller
From: Matthew Wilcox [EMAIL PROTECTED] Date: Wed, 26 Sep 2007 15:01:17 -0400 Check that 'align' is a power of two, like the API specifies. Align 'size' to 'align' correctly -- the current code has an off-by-one. The ALIGN macro in kernel.h doesn't. Signed-off-by: Matthew Wilcox [EMAIL

Re: [PATCH] fs/ocfs2/: removed unneeded initial value and function's return value

2007-09-26 Thread Mark Fasheh
On Thu, Sep 27, 2007 at 02:10:04AM +0800, Denis Cheng wrote: Signed-off-by: Denis Cheng [EMAIL PROTECTED] Committed, thanks. --Mark -- Mark Fasheh Senior Software Developer, Oracle [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a

Re: [PATCH 3/4] Change dmapool free block management

2007-09-26 Thread David Miller
From: Matthew Wilcox [EMAIL PROTECTED] Date: Wed, 26 Sep 2007 15:01:18 -0400 Also add documentation for how dma pools work, move the header above the includes, add my copyright, add the original author's copyright, add a GPL v2 licence to the file and fix the includes. Signed-off-by:

Re: Man page for revised timerfd API

2007-09-26 Thread Michael Kerrisk
Hi Davide, On Wed, 26 Sep 2007, Michael Kerrisk wrote: .TH TIMERFD_CREATE 2 2007-09-26 Linux Linux Programmer's Manual .SH NAME timerfd_create, timerfd_settime, timer_gettime \- timers that notify via file descriptors .SH SYNOPSIS .\ FIXME . This header file may well change .\

Re: [PATCH 4/4] dmapool: Improve memory usage for devices which can't cross boundaries

2007-09-26 Thread David Miller
From: Matthew Wilcox [EMAIL PROTECTED] Date: Wed, 26 Sep 2007 15:01:19 -0400 The previous implementation simply refused to allocate more than a boundary's worth of data from an entire page. Some users didn't know this, so specified things like SMP_CACHE_BYTES, not realising the horrible

Re: Regression in 2.6.23-pre Was: Problems with 2.6.23-rc6 on AMD Geode LX800

2007-09-26 Thread Jordan Crouse
On 26/09/07 14:04 -0700, H. Peter Anvin wrote: Jordan Crouse wrote: On 26/09/07 12:14 -0700, H. Peter Anvin wrote: Please try the following debug patch to let us know what is going on. -hpa diff --git a/arch/i386/boot/memory.c b/arch/i386/boot/memory.c index 1a2e62d..a0ccf29

Re: [PATCH] Add iSCSI iBFT support.

2007-09-26 Thread Greg KH
On Wed, Sep 26, 2007 at 02:46:52PM -0400, Konrad Rzeszutek wrote: This patch adds a /sysfs/firmware/ibft/table binary blob which exports the iSCSI Boot Firmware Table (iBFT) structure. Please don't do that. Binary files are for things that are pass-through only, not anything that the kernel

reviewed (Re: [patch 1/7] Extended crashkernel command line)

2007-09-26 Thread Oleg Verych
Wed, Sep 26, 2007 at 11:05:33PM +0200, Bernhard Walle: * Oleg Verych [EMAIL PROTECTED] [2007-09-26 20:18]: --- a/kernel/kexec.c +++ b/kernel/kexec.c @@ -1172,33 +1172,50 @@ static int __init parse_crashkernel_mem( do { unsigned long long start = 0, end = ULLONG_MAX;

Re: sys_chroot+sys_fchdir Fix

2007-09-26 Thread David Newall
Christer Weinigel wrote: *spends five minutes with Google* From the OpenBSD FAQ (an operating system most know for being really, really focused on security): http://www.openbsd.org/faq/faq10.html Any application which has to assume root privileges to operate is pointless to

Re: v2.6.23-rc4-rt1 / new project URL

2007-09-26 Thread Peter Zijlstra
Steve, On Mon, 2007-09-10 at 14:35 +0200, Peter Zijlstra wrote: On Fri, 2007-08-31 at 22:59 +0200, Thomas Gleixner wrote: We're pleased to announce the release of the v2.6.23-rc4-rt1 kernel, which can be downloaded from a new place:

Re: Regression in 2.6.23-pre Was: Problems with 2.6.23-rc6 on AMD Geode LX800

2007-09-26 Thread H. Peter Anvin
Jordan Crouse wrote: Hmm - the old code seems to fail to e801 when CF was set too: int $0x15 # make the call jc bail820 # fall to e801 if it fails cmpl$SMAP, %eax # check the return is

Re: PCI: Fix boot-time hang on G31/G33 PC

2007-09-26 Thread Greg KH
Due to the issues surrounding this patch, I'm dropping it from my repo. thanks, greg k-h On Sat, Aug 25, 2007 at 07:55:56PM -0600, Matthew Wilcox wrote: This patch, loosely based on a patch from Robert Hancock, which was in turn based on a patch from Jesse Barnes, fixes a boot-time hang

Re: [PATCH] Add iSCSI iBFT support.

2007-09-26 Thread Randy Dunlap
On Wed, 26 Sep 2007 14:46:52 -0400 Konrad Rzeszutek wrote: This patch adds a /sysfs/firmware/ibft/table binary blob which exports the iSCSI Boot Firmware Table (iBFT) structure. What is iSCSI Boot Firmware Table? i.e., what is this binary blob (?) I don't see a binary blob in this patch

xpad_probe: undefined reference to `led_classdev_register'

2007-09-26 Thread thomas
Hi. Current linus' git tree: x86_64-unknown-linux-gnu-ld: BFD 2.15 assertion fail /home/thomas/source/crosstool-0.43/build/x86_64-unknown-linux-gnu/gcc-3.4.5-glibc-2.3.6/binutils-2.15/bfd/linker.c:619 drivers/built-in.o(.text+0x20749d): In function `xpad_probe': : undefined reference to

Re: v2.6.23-rc4-rt1 / new project URL

2007-09-26 Thread Steven Rostedt
-- On Wed, 26 Sep 2007, Peter Zijlstra wrote: On Mon, 2007-09-10 at 14:35 +0200, Peter Zijlstra wrote: A bunch of patches are postponed for -rt2 (they are neither ignored nor forgotten): - simple_irq change (Kevin Hilman): needs more thought - RCU updates (Paul McKenney): needs

Re: Regression in 2.6.23-pre Was: Problems with 2.6.23-rc6 on AMD Geode LX800

2007-09-26 Thread Jordan Crouse
On 26/09/07 14:20 -0700, H. Peter Anvin wrote: Testing this patch now: From 2efa33f81ef56e7700c09a3d8a881c96692149e5 Mon Sep 17 00:00:00 2001 From: H. Peter Anvin [EMAIL PROTECTED] Date: Wed, 26 Sep 2007 14:11:43 -0700 Subject: [PATCH] [x86 setup] Handle case of improperly terminated E820

Re: [PATCH] Add iSCSI iBFT support.

2007-09-26 Thread Randy Dunlap
On Wed, 26 Sep 2007 14:46:52 -0400 Konrad Rzeszutek wrote: This patch adds a /sysfs/firmware/ibft/table binary blob which exports the iSCSI Boot Firmware Table (iBFT) structure. What is iSCSI Boot Firmware Table? It is a mechanism for the iSCSI tools to extract from the machine NICs the

Re: [PATCH 11/25] Unionfs: add un/likely conditionals on debug ops

2007-09-26 Thread roel
Erez Zadok wrote: Signed-off-by: Erez Zadok [EMAIL PROTECTED] --- fs/unionfs/debug.c | 108 +++ 1 files changed, 57 insertions(+), 51 deletions(-) diff --git a/fs/unionfs/debug.c b/fs/unionfs/debug.c index 9546a41..09b52ce 100644 ---

Re: [REGRESSION from 2.6.23-rc8] (was: Re: 2.6.23-rc4-mm1 and -rc6-mm1: boot failure on HP nx6325, related to clockevents)

2007-09-26 Thread Thomas Gleixner
Rafael, On Wed, 2007-09-26 at 23:00 +0200, Rafael J. Wysocki wrote: First, with the x86-64: Disable local APIC timer use on AMD systems with C1E patch and my collection of suspend patches applied, the box doesn't boot (the suspend patches don't even thouch the boot code, so they

Re: jbd : config_jbd_debug cannot create /proc entry

2007-09-26 Thread Andrew Morton
On Tue, 25 Sep 2007 16:36:08 +0200 Jan Kara [EMAIL PROTECTED] wrote: On Tue, 25 Sep 2007 07:49:38 -0500 Jose R. Santos [EMAIL PROTECTED] wrote: On Tue, 25 Sep 2007 13:50:46 +0200 Jan Kara [EMAIL PROTECTED] wrote: Jan Kara wrote: -#define create_jbd_proc_entry() do {}

Re: [PATCH 13/25] Unionfs: add un/likely conditionals on dir ops

2007-09-26 Thread roel
Erez Zadok wrote: @@ -194,7 +194,7 @@ int check_empty(struct dentry *dentry, struct unionfs_dir_state **namelist) BUG_ON(!S_ISDIR(dentry-d_inode-i_mode)); - if ((err = unionfs_partial_lookup(dentry))) + if (unlikely((err = unionfs_partial_lookup(dentry

Re: State of the Linux PCI Subsystem for 2.6.23-rc8

2007-09-26 Thread Brice Goglin
Greg KH wrote: Here's a summary of the current state of the Linux PCI subsystem, as of 2.6.23-rc8. If the information in here is incorrect, or anyone knows of any outstanding issues not listed here, please let me know. List of outstanding regressions from 2.6.22: - none known. List

Re: [PATCH] bw-qcam: use data_reverse instead of manually poking the control register

2007-09-26 Thread Brett Warden
On 9/26/07, Ray Lee [EMAIL PROTECTED] wrote: On 9/26/07, Brett Warden [EMAIL PROTECTED] wrote: On 9/26/07, Ray Lee [EMAIL PROTECTED] wrote: Just as an aside, if you've tested this and it works, then there's no point to keep the write_lpcontrol even as a comment. Kill those four

Re: State of the Linux PCI Subsystem for 2.6.23-rc8

2007-09-26 Thread Greg KH
On Wed, Sep 26, 2007 at 11:40:58PM +0200, Brice Goglin wrote: Greg KH wrote: Here's a summary of the current state of the Linux PCI subsystem, as of 2.6.23-rc8. If the information in here is incorrect, or anyone knows of any outstanding issues not listed here, please let me know.

[PATCH 3/3] UML - Correctly handle skb allocation failures

2007-09-26 Thread Jeff Dike
Handle memory allocation failures when reading packets. We have to read something from the host, even if we can't allocate any memory. If we don't, the host side of the device may fill up and stop delivering interrupts because no new packets can be queued. A single sk_buff is allocated whenever

[PATCH 2/3] UML - Network driver MTU cleanups

2007-09-26 Thread Jeff Dike
A bunch of MTU-related cleanups in the network code. First, there is the addition of the notion of a maximally-sized packet, which is the MTU plus headers. This is used to size the skb that will receive a packet. This allows ether_adjust_skb to go away, as it was used to resize the skb after it

Re: State of the Linux PCI Subsystem for 2.6.23-rc8

2007-09-26 Thread Brice Goglin
Greg KH wrote: On Wed, Sep 26, 2007 at 11:40:58PM +0200, Brice Goglin wrote: Greg KH wrote: Here's a summary of the current state of the Linux PCI subsystem, as of 2.6.23-rc8. If the information in here is incorrect, or anyone knows of any outstanding issues not listed here,

Re: [RFC][PATCH] page-mapping clarification [1/3] base functions

2007-09-26 Thread KAMEZAWA Hiroyuki
On Wed, 26 Sep 2007 20:31:02 +0100 (BST) Hugh Dickins [EMAIL PROTECTED] wrote: Would that waste a little memory? I think not with SLUB, but perhaps with SLOB, which packs a little tighter. maybe just depends on the amount of used anon_vma and page_mapping_info etc... I don't think a system

Re: sys_chroot+sys_fchdir Fix

2007-09-26 Thread Adrian Bunk
On Thu, Sep 27, 2007 at 06:49:28AM +0930, David Newall wrote: ... Look, when chroot was being designed, I think they intended that even root should be unable to get out. They went so far as to say that dot-dot wouldn't let you out; and it doesn't. ... You are claiming They went so far as to

<    3   4   5   6   7   8   9   >