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 imm

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 p

[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

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 arch/

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 >> us

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 (

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 hardwa

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

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. > > > > > > linux-2.6.22

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

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

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 ha

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 Quic

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 outstandi

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 regres

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 regre

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

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 s

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

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

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

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

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 <[EMAI

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

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 wel

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 1

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 kerne

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 =

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 attempt

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: > > > >http://www.kernel.org/pub/linux/kernel/pr

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

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 ha

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 pat

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 `led_clas

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 Mc

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 terminat

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 th

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 bo

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: > > > > > >> > > > > > >-#

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.

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 tho

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 kn

[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 no

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 syst

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 a

[PATCH] pata_atiixp: Audit notes on locking

2007-09-26 Thread Alan Cox
Signed-off-by: Alan Cox <[EMAIL PROTECTED]> diff -u --new-file --exclude-from /usr/src/exclude --recursive linux.vanilla-2.6.23rc8-mm1/drivers/ata/pata_atiixp.c linux-2.6.23rc8-mm1/drivers/ata/pata_atiixp.c --- linux.vanilla-2.6.23rc8-mm1/drivers/ata/pata_atiixp.c 2007-09-26 16:46:48.

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

2007-09-26 Thread Jesse Barnes
On Wednesday, September 26, 2007 2:18 pm Greg KH wrote: > Due to the issues surrounding this patch, I'm dropping it from my > repo. What issues? Is it causing problems for people? Jesse - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL P

Re: xpad_probe: undefined reference to `led_classdev_register'

2007-09-26 Thread Randy Dunlap
On Wed, 26 Sep 2007 23:25:33 +0200 [EMAIL PROTECTED] wrote: > 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(.t

Re: commit 6dccd16b7c2703e8bbf8bca62b5cf248332afbe2 kills r8169 send performance

2007-09-26 Thread Francois Romieu
patch #000(n - 1). Good night. -- Ueimor r8169-timo-20070926.tgz Description: GNU Zip compressed data

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

2007-09-26 Thread Greg KH
On Wed, Sep 26, 2007 at 02:55:55PM -0700, Jesse Barnes wrote: > On Wednesday, September 26, 2007 2:18 pm Greg KH wrote: > > Due to the issues surrounding this patch, I'm dropping it from my > > repo. > > What issues? Is it causing problems for people? I thought this was the patch that Ivan objec

[PATCH] usb_serial: Stop passing NULL to functions that expect data

2007-09-26 Thread Alan Cox
Earlier patches have removed the checking for old v new differences from the USB drivers so we can now pass in a valid blank old termios so that we don't to fill the drivers with magic hacks for console support Signed-off-by: Alan Cox <[EMAIL PROTECTED]> diff -u --new-file --exclude-from /usr/src

[PATCH] usb serial: Kill another case we pass NULL and shouldn't

2007-09-26 Thread Alan Cox
Signed-off-by: Alan Cox <[EMAIL PROTECTED]> diff -u --new-file --exclude-from /usr/src/exclude --recursive linux.vanilla-2.6.23rc8-mm1/drivers/usb/serial/console.c linux-2.6.23rc8-mm1/drivers/usb/serial/console.c --- linux.vanilla-2.6.23rc8-mm1/drivers/usb/serial/console.c2007-09-26 16:41:4

Re: [PATCH] Patches for tiny 386 kernels, again. Linux kernel 2.6.22.7

2007-09-26 Thread Randy Dunlap
On Wed, 26 Sep 2007 11:42:16 -0700 Jonathan Campbell wrote: > Here is the DMI patch again, written against linux-2.6.23-rc8, > with some of the #ifdef CONFIG_DMI's removed and moved > to include/linux/dmi.h. Putting them there in the way I've done > ensures that you don't have to put #ifdef CONFIG

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

2007-09-26 Thread Andrew Morton
On Wed, 26 Sep 2007 17:46:13 -0400 Jeff Dike <[EMAIL PROTECTED]> wrote: > 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 interr

Re: [Bluez-devel] Warnings and Oops on 2.6.23-rc6 while activily using rfcomm links (mm/slab.c)

2007-09-26 Thread Marcel Holtmann
Hi Pierre-Yves, > Putting the bluetooth system under load (opening and closing several > rfcomm links off several USB adapters, and transmitting data over > them), > I got the Oops below. The computer hung completely, as you can see. > Just > before, I also got those warnings. I got another on

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 Jan Engelhardt
On Sep 26 2007 14:06, Stephen Hemminger wrote: >> > >> > No, network devices don't do reference counting. >> >> Could you explain why, please? >> >> After `udevd` on boot loads lots of unused crap, i surrendered, and use >> $(rmmod `lsmod | just first column`). Networing bravely wipes away. OK,

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

2007-09-26 Thread Jesse Barnes
On Wednesday, September 26, 2007 2:56 pm Greg KH wrote: > On Wed, Sep 26, 2007 at 02:55:55PM -0700, Jesse Barnes wrote: > > On Wednesday, September 26, 2007 2:18 pm Greg KH wrote: > > > Due to the issues surrounding this patch, I'm dropping it from my > > > repo. > > > > What issues? Is it causing

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 Linus Torvalds
On Wed, 26 Sep 2007, Thomas Gleixner wrote: > > > > 1) current Linus' tree doesn't boot with any command line (regression) > > > > [ Linus, please revert commit e66485d747505e9d960b864fc6c37f8b2afafaf0 Reverted. > OK, this explains 2) and 3). I just looked into the code and the logic > vs. n

[GIT PULL] Workaround for broken Geode E820 BIOS

2007-09-26 Thread H. Peter Anvin
Hi Linus, Please pull: git://git.kernel.org/pub/scm/linux/kernel/git/hpa/linux-2.6-x86setup.git for-linus H. Peter Anvin (1): [x86 setup] Handle case of improperly terminated E820 chain arch/i386/boot/memory.c | 30 +++--- 1 files changed, 23 insertions(+), 7

[PATCH] mm ecryptfs warning spew on 64bit

2007-09-26 Thread Alan Cox
Its a size_t to use %Zd Signed-off-by: Alan Cox <[EMAIL PROTECTED]> diff -u --new-file --exclude-from /usr/src/exclude --recursive linux.vanilla-2.6.23rc8-mm1/fs/ecryptfs/crypto.c linux-2.6.23rc8-mm1/fs/ecryptfs/crypto.c --- linux.vanilla-2.6.23rc8-mm1/fs/ecryptfs/crypto.c2007-09-26 16:46:

Re: xpad_probe: undefined reference to `led_classdev_register'

2007-09-26 Thread Dmitry Torokhov
Hi, On Wednesday 26 September 2007, Randy Dunlap wrote: > On Wed, 26 Sep 2007 23:25:33 +0200 [EMAIL PROTECTED] wrote: > > > 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

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 Thu, 27 Sep 2007 00:18:55 +0200 (CEST) Jan Engelhardt <[EMAIL PROTECTED]> wrote: > > On Sep 26 2007 14:06, Stephen Hemminger wrote: > >> > > >> > No, network devices don't do reference counting. > >> > >> Could you explain why, please? > >> > >> After `udevd` on boot loads lots of unused cra

[PATCH 1/3] Completely remove deprecated IRQ flags (SA_*)

2007-09-26 Thread Ahmed S. Darwish
Hi all, Only very little files use the deprecated SA_* IRQ flags in latest pull. This minimal patch series removes such macros from the tree and transfrom old code to the new IRQF_* flags. Andrew, I've grepped the whole tree to make sure that no more files than the patched ones use such deprecate

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
On Wed, 2007-09-26 at 15:22 -0700, Linus Torvalds wrote: > > On Wed, 26 Sep 2007, Thomas Gleixner wrote: > > > > > > 1) current Linus' tree doesn't boot with any command line (regression) > > > > > > [ Linus, please revert commit e66485d747505e9d960b864fc6c37f8b2afafaf0 > > Reverted. > > > OK

[PATCH 2/3] MIPS: Remove deprecated IRQ flags (SA_*)

2007-09-26 Thread Ahmed S. Darwish
Hi Ralf, A patch to stop using deprecated IRQ flags. The new IRQF_* macros are used instead. Signed-off-by: Ahmed S. Darwish <[EMAIL PROTECTED]> --- diff --git a/arch/mips/pci/ops-pmcmsp.c b/arch/mips/pci/ops-pmcmsp.c index 09fa007..a86a189 100644 --- a/arch/mips/pci/ops-pmcmsp.c +++ b/arch/mip

Re: xpad_probe: undefined reference to `led_classdev_register'

2007-09-26 Thread Randy Dunlap
On Wed, 26 Sep 2007 18:33:22 -0400 Dmitry Torokhov wrote: > Hi, > > On Wednesday 26 September 2007, Randy Dunlap wrote: > > On Wed, 26 Sep 2007 23:25:33 +0200 [EMAIL PROTECTED] wrote: > > > > > Hi. > > > > > > Current linus' git tree: > > > > > > x86_64-unknown-linux-gnu-ld: BFD 2.15 assertion

[PATCH 3/3] NCR53C8XX: Remove deprecated IRQ flags (SA_*)

2007-09-26 Thread Ahmed S. Darwish
Hi Matthew, A patch to stop using deprecated IRQ flags in ncr53c8xx documentaion. The new IRQF_* macros are used instead. Signed-off-by: Ahmed S. Darwish <[EMAIL PROTECTED]> --- diff --git a/Documentation/scsi/ChangeLog.ncr53c8xx b/Documentation/scsi/ChangeLog.ncr53c8xx index 7d03e9d..a9f721a 1

Re: kswapd high CPU usage with no swap

2007-09-26 Thread Jan Kundrát
>> When this is sorted out, should I keep the previous patch [1] applied >> as well? > > That doesn't hurt. OK, I've used just the latter patch (because I somehow believe the first one lowers the probability of bad behavior), so let's see if kswapd consumes CPU again. I don't have any test patter

[RFC] QoS power Management enabling patch set

2007-09-26 Thread Mark Gross
The following patches implement a more generalized infrastructure (than latency.c) for connecting drivers and subsystem's that could implement power performance optimizations with the data needed to implement such policies. These patches are following up on the discussions and presentations at the

Re: [RFC] QoS params patch

2007-09-26 Thread Mark Gross
The following is the qos_param patch that implements a genralization of latency.c. Signed-off-by: Mark Gross <[EMAIL PROTECTED]> diff -urN -X linux-2.6.23-rc8/Documentation/dontdiff linux-2.6.23-rc8/include/linux/qos_params.h linux-2.6.23-rc8-qos/include/linux/qos_params.h --- linux-2.6.23-rc

Re: [RFC] QoS power Management enabling patch set

2007-09-26 Thread Mark Gross
The following patch replaces latency.c with qos_params.c and fixes up users of latency to use qos_params Signed-off-by: Mark Gross <[EMAIL PROTECTED]> diff -urN -X linux-2.6.23-rc8/Documentation/dontdiff linux-2.6.23-rc8-qos/drivers/acpi/processor_idle.c linux-2.6.23-rc8-qos-nolatency.c/driver

Re: [RFC] QoS power example / hack

2007-09-26 Thread Mark Gross
The following patch is a bit of a hack to illustrate how the qos parameter infrastructure can communication information to the e1000 driver to use to set interrupt consolidation policy as a function of acceptable network latency. Its just an example. Signed-off-by: Mark Gross <[EMAIL PROTECTED

Re: [PATCH] usb_serial: Stop passing NULL to functions that expect data

2007-09-26 Thread Andrew Morton
On Wed, 26 Sep 2007 23:08:40 +0100 Alan Cox <[EMAIL PROTECTED]> wrote: > Earlier patches have removed the checking for old v new differences from > the USB drivers so we can now pass in a valid blank old termios so that > we don't to fill the drivers with magic hacks for console support Are all t

Re: [PATCH] usb_serial: Stop passing NULL to functions that expect data

2007-09-26 Thread Alan Cox
On Wed, 26 Sep 2007 15:52:48 -0700 Andrew Morton <[EMAIL PROTECTED]> wrote: > On Wed, 26 Sep 2007 23:08:40 +0100 > Alan Cox <[EMAIL PROTECTED]> wrote: > > > Earlier patches have removed the checking for old v new differences from > > the USB drivers so we can now pass in a valid blank old termios

Re: why network devices don't do reference counting?

2007-09-26 Thread David Miller
From: Stephen Hemminger <[EMAIL PROTECTED]> Date: Wed, 26 Sep 2007 15:33:30 -0700 > ipv6 is not a network driver, it is a protocol. You might be able to > remove it if you zap all the routes and applications, ... It is purposefully set to have a permanent elevated reference count because it is no

Re: [PATCH]PCI:disable resource decode in PCI BAR detection

2007-09-26 Thread Robert Hancock
Benjamin Herrenschmidt wrote: On Mon, 2007-09-17 at 14:22 +0400, Ivan Kokshaysky wrote: On Sun, Sep 16, 2007 at 10:01:52PM +0200, Benjamin Herrenschmidt wrote: Agreed. I have a similar problem on ppc where it's common to have things like the main PIC on a PCI device. Note that another problem i

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

2007-09-26 Thread Robert Hancock
Jesse Barnes wrote: On Wednesday, September 26, 2007 2:56 pm Greg KH wrote: On Wed, Sep 26, 2007 at 02:55:55PM -0700, Jesse Barnes wrote: On Wednesday, September 26, 2007 2:18 pm Greg KH wrote: Due to the issues surrounding this patch, I'm dropping it from my repo. What issues? Is it causing

2.6.23-rc8: Known regressions from 2.6.22

2007-09-26 Thread Rafael J. Wysocki
Hi, This message lists some known regressions from 2.6.22 for which there are no fixes in the mainline that I know of. If any of them have been fixed already, please let me know. If you know of any other unresolved regressions from 2.6.22, please let me know either and I'll add them to the list.

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 Rafael J. Wysocki
Thomas, On Wednesday, 26 September 2007 23:34, Thomas Gleixner wrote: > 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

Re: [PATCH] just rename call_rcu_bh instead of making it a macro

2007-09-26 Thread Paul E. McKenney
On Wed, Sep 26, 2007 at 02:17:47PM -0400, Steven Rostedt wrote: > Seems that I found a box that has a config that passes call_rcu_bh as a > function pointer (see net/sctp/sm_make_chunk.c), so declaring the > call_rcu_bh has a macro function isn't good enough. > > This patch makes it just another n

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
On Thu, 2007-09-27 at 01:30 +0200, Rafael J. Wysocki wrote: > > > Tested for a couple of times with each kernel, the results seem to be > > > reproducible 100% of the time. > > > > Thanks for going through this debug marathon. > > No big deal. I'm glad that you've found what's up. > > Well, we

Re: [PATCH] Patches for tiny 386 kernels, again. Linux kernel 2.6.22.7

2007-09-26 Thread Randy Dunlap
On Wed, 26 Sep 2007 11:42:16 -0700 Jonathan Campbell wrote: > Here is the DMI patch again, written against linux-2.6.23-rc8, > with some of the #ifdef CONFIG_DMI's removed and moved > to include/linux/dmi.h. Putting them there in the way I've done > ensures that you don't have to put #ifdef CONFIG

Re: 2.6.23-rc8: Known regressions from 2.6.22

2007-09-26 Thread Chuck Ebbert
On 09/26/2007 07:27 PM, Rafael J. Wysocki wrote: > > Subject: Regression in 2.6.23-pre Was: Problems with 2.6.23-rc6 on AMD > Geode LX800 > Submitter:Joerg Pommnitz <[EMAIL PROTECTED]> > References: http://lkml.org/lkml/2007/9/26/91 > http://bugzilla.kernel.org/show_bug.c

Re: [REGRESSION from 2.6.23-rc8]

2007-09-26 Thread Chuck Ebbert
On 09/26/2007 06:35 PM, Thomas Gleixner wrote: > > It's even worse than I thought on the first check: > > "noapictimer" on the command line of an SMP box prevents _ONLY_ the boot > CPU apic timer from being used. But the secondary CPU is still > unconditionally setting up the APIC timer and uses

Re: sys_chroot+sys_fchdir Fix

2007-09-26 Thread David Newall
Adrian Bunk wrote: You are claiming "They went so far as to say that dot-dot wouldn't let you out"? I phrased it in a somewhat conversational way. The promise, which I've now quoted from multiple sources, is expressed variously, including: The dot-dot entry in the root directory is interp

Re: [RFC] QoS params patch

2007-09-26 Thread Randy Dunlap
On Wed, 26 Sep 2007 15:40:26 -0700 Mark Gross wrote: > The following is the qos_param patch that implements a genralization of > latency.c. > Just some general comments (as on irc): - use 'diffstat -p1 -w70' to summarize each patch - use checkpatch.pl to check for coding style and other buglets

Re: [PATCH] Patches for tiny 386 kernels, again. Linux kernel 2.6.22.7

2007-09-26 Thread Jonathan Campbell
Sorry about that. That's the reason I send them as attachments. Any suggestions for someone like myself using Mozilla Thunderbird? Damaged as the patch is, I was able to apply it by using 'patch -l' (ignore whitespace) + some fuzz. Not something that Linus or Andrew would or should do. I built

Re: [PATCH] Patches for tiny 386 kernels, again. Linux kernel 2.6.22.7

2007-09-26 Thread Randy Dunlap
Jonathan Campbell wrote: Sorry about that. That's why I always send as attachments. Do you have similar problems when using Mozilla Thunderbird? tbird works when following the instructions at http://mbligh.org/linuxdocs/Email/Clients/Thunderbird or (simpler) use an External Editor plugin. An

Re: [PATCH] Patches for tiny 386 kernels, again. Linux kernel 2.6.22.7

2007-09-26 Thread Jonathan Campbell
Heh, well of course I vigoursly checked System.map. On my x86 and amd64 systems it removes them all. What a stupid question :-p Nope. I expect(ed) you to do that, i.e., make sure that the patch does that the description says that it does. - To unsubscribe from this list: send the line "unsubsc

<    1   2   3   4   5   >