Re: [PATCH 0/3] core: fix build error when referencing arch specific structures

2007-09-07 Thread Andi Kleen
On Friday 07 September 2007 05:09, [EMAIL PROTECTED] wrote: > Since the core kernel routines need to reference cpu_sibling_map, > whether it be a static array or a per_cpu data variable, an access > function has been defined. > > In addition, changes have been made to the ia64 and ppc64 arch's to >

Re: [PATCH 0/3] core: fix build error when referencing arch specific structures

2007-09-07 Thread Andrew Morton
> On Fri, 7 Sep 2007 08:28:05 +0100 Andi Kleen <[EMAIL PROTECTED]> wrote: > On Friday 07 September 2007 05:09, [EMAIL PROTECTED] wrote: > > Since the core kernel routines need to reference cpu_sibling_map, > > whether it be a static array or a per_cpu data variable, an access > > function has been

Re: [PATCH] Scheduler Profiling - Use Immediate Values

2007-09-07 Thread Mathieu Desnoyers
Hi Randy, * Randy Dunlap ([EMAIL PROTECTED]) wrote: > On Thu, 6 Sep 2007 16:05:37 -0400 Mathieu Desnoyers wrote: > > > Scheduler Profiling - Use Immediate Values > > > > Use immediate values with lower d-cache hit in optimized version as a > > condition for scheduler profiling call. > > > > Dep

[GIT - resend][patch 1/1] Fix typos in Kconfig

2007-09-07 Thread dlezcano
From: Daniel Lezcano <[EMAIL PROTECTED]> Signed-off-by: Daniel Lezcano <[EMAIL PROTECTED]> --- drivers/input/misc/Kconfig |2 +- drivers/leds/Kconfig |2 +- drivers/telephony/Kconfig |2 +- 3 files changed, 3 insertions(+), 3 deletions(-) Index: 2.6-git/drivers/input/misc/Kco

Re: [patch 8/8] Immediate Values - Documentation

2007-09-07 Thread Randy Dunlap
Mathieu Desnoyers wrote: * Randy Dunlap ([EMAIL PROTECTED]) wrote: [fixing the rest of the comments in the patch] What character is this that I cannot read (not displayed properly by my email client maybe)? after 644.09 and before the +- symbol, repeated just before all of the +- symbols. T

Re: BUG: scheduling while atomic: ifconfig/0x00000002/4170

2007-09-07 Thread Paul E. McKenney
On Fri, Sep 07, 2007 at 03:27:15PM +0200, Johannes Berg wrote: > On Thu, 2007-09-06 at 08:46 -0700, Paul E. McKenney wrote: > > > Looks good to me from an RCU viewpoint. I cannot claim familiarity with > > this code. I therefore especially like the indications of where RTNL > > is held and not!!

[SYSFS - 2.6.23-rc5-git1 ] device_rename: sysfs_create_symlink failed (-17)

2007-09-07 Thread Daniel Lezcano
Hi, when using the 2.6.23-rc5-git1 kernel and trying to change a network device name, I have the following error: device_rename: sysfs_create_symlink failed (-17) That comes from drivers/base/core.c : 1261 I know anything about sysfs, so no much help to give... :( I don't know if this is a

Re: [patch 05/10] Text Edit Lock - Alternative code for i386 and x86_64

2007-09-07 Thread Mathieu Desnoyers
* Ananth N Mavinakayanahalli ([EMAIL PROTECTED]) wrote: > On Thu, Sep 06, 2007 at 04:01:29PM -0400, Mathieu Desnoyers wrote: > > > > > Index: linux-2.6-lttng/arch/i386/kernel/alternative.c > > === > > --- linux-2.6-lttng.orig/arch/i

Re: EIP: [] tcp_rto_min+0x8/0x12 SS:ESP 0068:c03bbd6c

2007-09-07 Thread Marco Berizzi
Guillaume Chazarain wrote: > Hi, this should be fixed in mainline by > http://git.kernel.org/gitweb.cgi?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=5c127c58ae9bf196d787815b1bd6b0aec5aee816 Thanks everybody. I was thinking that this fix was included in rc5 (looking at gitweb it appear to b

Platform device id

2007-09-07 Thread Jean Delvare
Hi Greg, all, While platform_device.id is a u32, platform_device_add() handles "-1" as a special id value. This has potential for confusion and bugs. One such bug was reported to me by David Brownell: http://lists.lm-sensors.org/pipermail/i2c/2007-September/001787.html And since then I've found

Re: EIP: [] tcp_rto_min+0x8/0x12 SS:ESP 0068:c03bbd6c

2007-09-07 Thread Guillaume Chazarain
2007/9/7, Marco Berizzi <[EMAIL PROTECTED]>: > Hello. > Linux 2.6.23-rc5 after 30 minutes crash with this > error message (taken from serial console): Hi, this should be fixed in mainline by http://git.kernel.org/gitweb.cgi?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=5c127c58ae9bf196d7878

Re: EIP: [] tcp_rto_min+0x8/0x12 SS:ESP 0068:c03bbd6c

2007-09-07 Thread Alexey Dobriyan
On 9/7/07, Marco Berizzi <[EMAIL PROTECTED]> wrote: > Linux 2.6.23-rc5 after 30 minutes crash with this > error message (taken from serial console): > EIP is at tcp_rto_min+0x8/0x12 get 2.6.23-rc5-git1, fix is in it. http://kernel.org/pub/linux/kernel/v2.6/snapshots/patch-2.6.23-rc5-git1.bz2 - To

[GIT][patch 0/1] Fix kconfigs typos

2007-09-07 Thread dlezcano
Applies to 2.6.23-rc5-git1 -- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: easy alsa patches for the stable kernel? (was: Re: hda_intel : Patch + Regression in 2.6.18 -> 2.6.22)

2007-09-07 Thread Takashi Iwai
At Fri, 07 Sep 2007 14:04:01 +0200, Thorsten Leemhuis wrote: > > On 07.09.2007 12:21, Takashi Iwai wrote: > > At Fri, 07 Sep 2007 10:22:27 +0200, > > Romano Giannetti wrote: > >> Takashi: good news! > >> > >> diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c > >> index 355

sata & scsi suggestion for make menuconfig

2007-09-07 Thread Folkert van Heusden
Hi, Maybe it is a nice enhancement for make menuconfig to more explicitly give a pop-up or so when someone selects for example a sata controller while no 'scsi-disk' support was selected? Folkert van Heusden -- Multi tail barnamaj mowahib li mora9abat attasjilat wa nataij awamir al 7asoub. dam

Re: AUTO LOGIN BUG

2007-09-07 Thread Jan Engelhardt
On Sep 6 2007 23:53, [EMAIL PROTECTED] wrote: >On Wed, 05 Sep 2007 04:48:05 MDT, Sean Robert McGuffee said: > >> machine. For those who make the argument that someone logged in as root >> might break the machine by doing something they shouldn't, I would say >> it's already broken without being

Re: [RFD] new syscalls: suspend_other/resume_other?

2007-09-07 Thread Pavel Machek
On Sun 2007-09-02 17:04:21, Ingo Oeser wrote: > Hi there, > > at the moment implementing a mark and sweep garbage collection > subsystem is quite a hack, because you always have to use up > some signals for suspend/resume all threads to implement this. > > For runtime environments (like D system

Re: Stray nulls when reading from AF_UNIX sockets

2007-09-07 Thread Jan Engelhardt
On Sep 6 2007 12:23, David Miller wrote: >> return copied ? : err; >> } >> >> Shouldn't this read: >> >> return copied ? copied : err; >> >> Or am I missing something? > >These two statements are equivalent, the first version is >a shorthand allowed by gcc. Not only that. With x?x:z,

Re: [PATCH] add CONFIG_VT_UNICODE

2007-09-07 Thread Jan Engelhardt
On Sep 6 2007 15:06, H. Peter Anvin wrote: >> sysfs, and you were on the discussion (your idea won, basically) >> And the way I see it, it got merged. >> Commit 042f10ec6533e53181284c96d22ae051e49ac707 >> >> As I further see it, this CONFIG_VT_UNICODE patch defines the starting value >> for t

Re: [PATCH 3/3] ppc64: Convert cpu_sibling_map to a per_cpu data array

2007-09-07 Thread Kamalesh Babulal
[EMAIL PROTECTED] wrote: Convert cpu_sibling_map to a per_cpu cpumask_t array for the ppc64 architecture. Note: these changes have not been built nor tested. Note: I also don't know if these changes are particularly relevant for the ppc64 architecture. Signed-off-by: Mike Travis <[EMAIL PROTEC

[GIT - resend][patch 0/1] fix kconfigs for 2.6.23-rc5-git1

2007-09-07 Thread dlezcano
Patch resend with right subject, sorry for that. -- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [patch 1/6] Linux Kernel Markers - Architecture Independent Code

2007-09-07 Thread Mathieu Desnoyers
* Randy Dunlap ([EMAIL PROTECTED]) wrote: [snip] > > > +/* > > + * Sets the probe callback corresponding to one marker. > > + */ > > +static int set_marker(struct marker_entry **entry, > > + struct __mark_marker *elem) > > +{ > > + int ret; > > + BUG_ON(strcmp((*entry)->name

Re: [patch 3/8] Immediate Values - Kconfig menu in EMBEDDED

2007-09-07 Thread Mathieu Desnoyers
* Andi Kleen ([EMAIL PROTECTED]) wrote: > > +config IMMEDIATE > > + default y if !DISABLE_IMMEDIATE > > It's still unclear to me why DISABLE_IMMEDIATE is needed. It would > be better to make it just the default. > It is actually the default on any non embedded configuration. Do you think we sh

Re: BUG: scheduling while atomic: ifconfig/0x00000002/4170

2007-09-07 Thread Johannes Berg
On Fri, 2007-09-07 at 07:25 -0700, Paul E. McKenney wrote: > > > > @@ -226,22 +225,22 @@ void ieee80211_if_reinit(struct net_devi > > > > /* Remove all virtual interfaces that use this BSS > > > > * as their sdata->bss */ > > > > struct ieee80211_su

Re: [RFC] Union Mount: Readdir approaches

2007-09-07 Thread Al Boldi
[EMAIL PROTECTED] wrote: > If you are interested in this approach, please refer to > http://aufs.sf.net. It is working and used by several people. Any chance you can post a patch against 2.6.22? Thanks! -- Al - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

Re: [PATCH] add CONFIG_VT_UNICODE

2007-09-07 Thread Jan Engelhardt
On Aug 31 2007 16:18, Bill Nottingham wrote: > >As of now, the kernel defaults to non-unicode and XLATE for the keyboard. >We've been changing this in Fedora, but that requires patching the defaults >in the kernel. > >The attached introduces CONFIG_VT_UNICODE, which sets the console in unicode >mo

Re: [RFC] Union Mount: Readdir approaches

2007-09-07 Thread Jan Engelhardt
On Sep 7 2007 11:16, Bharata B Rao wrote: >Questions >- >The main problem in getting a sane readdir() implementation in Union Mount >is the fact that a single vfs object (file structure) is used to represent >more than one (underlying) directory. Because of this, it is unclear as to >how l

Re: PCI: Unable to reserve mem region problem

2007-09-07 Thread Chuck Ebbert
On 09/05/2007 08:31 PM, Alan Cox wrote: > On Wed, 05 Sep 2007 10:32:38 -0400 > "Karl Bellve" <[EMAIL PROTECTED]> wrote: > >> Please CC any response. Thanks. >> >> I am having an issue with a Supermicro h8dce motherboard and failure to >> recognize a 5th SATA drive after upgrading to Fedora 7. >

Re: BUG: scheduling while atomic: ifconfig/0x00000002/4170

2007-09-07 Thread Johannes Berg
On Fri, 2007-09-07 at 07:25 -0700, Paul E. McKenney wrote: > > I don't like ASSERT_RTNL() much because it actually tries to lock it. > > I'd be much happer if it was WARN_ON(!mutex_locked(&rtnl_mutex)) or > > something equivalent. > > Ah! It would indeed be nice to have a lower-overhead ASSERT_R

[PATCH] list.h: add list_for_each_entry_continue_rcu

2007-09-07 Thread Johannes Berg
To implement the multicast list callback in mac80211 we need to do partial list iteration. Since I want to convert the interface list to an RCU list, I need a new list walking primitive: list_for_each_entry_continue_rcu(). Signed-off-by: Johannes Berg <[EMAIL PROTECTED]> Cc: linux-kernel@vger.kern

Re: limiting to UDMA/33 instead of UDMA/100 - pata_pdc202xx_old (also XFS error)?

2007-09-07 Thread David Chinner
On Thu, Aug 30, 2007 at 04:11:03AM -0700, n wrote: > hello, with kernel 2.6.22.5 using the new pata_pdc202xx_old driver it > doesn detect the cable right on this seagate drive (i tried switching ports > / cables ...etc) . > XFS mounting filesystem sdc3 > Ending clean XFS mount for filesystem

Re: [RFC] Union Mount: Readdir approaches

2007-09-07 Thread hooanon05
Al Boldi: > > If you are interested in this approach, please refer to > > http://aufs.sf.net. It is working and used by several people. > > Any chance you can post a patch against 2.6.22? Unfortunately there are many reasons to keep me away from sending a patch. - it is large (48 source files).

easy alsa patches for the stable kernel? (was: Re: hda_intel : Patch + Regression in 2.6.18 -> 2.6.22)

2007-09-07 Thread Thorsten Leemhuis
On 07.09.2007 12:21, Takashi Iwai wrote: > At Fri, 07 Sep 2007 10:22:27 +0200, > Romano Giannetti wrote: >> Takashi: good news! >> >> diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c >> index 3557865..496d119 100644 >> --- a/sound/pci/hda/patch_realtek.c >> +++ b/sound/pci

[RFC] mac80211: fix virtual interface locking

2007-09-07 Thread Johannes Berg
Florian Lohoff noticed a bug in mac80211: when bringing the master interface down while other virtual interfaces are up we call dev_close() under a spinlock which is not allowed. This patch removes the sub_if_lock used by mac80211 in favour of using an RCU list. All list manipulations are already d

Re: [PATCH] Add suspend and resume to gpio_keys driver

2007-09-07 Thread Dmitry Torokhov
Hi Anti, On 9/6/07, Anti Sullin <[EMAIL PROTECTED]> wrote: > diff -pur linux-2.6.23-rc5-old/drivers/input/keyboard/gpio_keys.c > linux-2.6.23-rc5/drivers/input/keyboard/gpio_keys.c > --- linux-2.6.23-rc5-old/drivers/input/keyboard/gpio_keys.c 2007-09-06 > 18:24:23.0 +0300 > +++ linux

RE: [PATCH -mm] [RFC] IOAT: Add support for version 2 of ioatdma device

2007-09-07 Thread Nelson, Shannon
>From: Andy Whitcroft [mailto:[EMAIL PROTECTED] > >Those two look suspect to checkpatch, and I have to agree with it. > >WARNING: Trailing semicolon indicates no statements, indent implies >otherwise >#346: FILE: drivers/dma/ioat_dma.c:168: >+ if (--cnt == 0); >+

Re: Platform device id

2007-09-07 Thread Dmitry Torokhov
Hi Jean, On 9/7/07, Jean Delvare <[EMAIL PROTECTED]> wrote: > Hi Greg, all, > > While platform_device.id is a u32, platform_device_add() handles "-1" as > a special id value. This has potential for confusion and bugs. One such > bug was reported to me by David Brownell: > > http://lists.lm-sensors

Re: [patch 06/10] Text Edit Lock - kprobes architecture independent support

2007-09-07 Thread Ananth N Mavinakayanahalli
On Thu, Sep 06, 2007 at 04:01:30PM -0400, Mathieu Desnoyers wrote: > @@ -716,8 +720,9 @@ static int __kprobes pre_handler_kretpro >struct kretprobe_instance, uflist); > ri->rp = rp; > ri->task = current; > + kernel_text_lock

Re: [patch 06/10] Text Edit Lock - kprobes architecture independent support

2007-09-07 Thread Mathieu Desnoyers
* Ananth N Mavinakayanahalli ([EMAIL PROTECTED]) wrote: > On Thu, Sep 06, 2007 at 04:01:30PM -0400, Mathieu Desnoyers wrote: > > > > > @@ -716,8 +720,9 @@ static int __kprobes pre_handler_kretpro > > struct kretprobe_instance, uflist); > > ri->rp = rp; >

Re: Stardom SATA HSM violation

2007-09-07 Thread Mark Lord
Tejun Heo wrote: Hello, Mark Lord wrote: I reported a very similar bug back a few releases ago. Anyone who wants to try it themselves, can do this with hdparm-7.7 (from sourceforge): hdparm --drq-hsm-error /dev/sda Whether or not it hangs the machine does depend upon exactly which SATA LLD

Re: [PATCH 5/5] Add DMA engine driver for Freescale MPC85xx processors.

2007-09-07 Thread Randy Dunlap
On Fri, 7 Sep 2007 18:54:18 +0800 Zhang Wei wrote: > Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> > Signed-off-by: Ebony Zhu <[EMAIL PROTECTED]> > --- > drivers/dma/Kconfig |8 + > drivers/dma/Makefile |1 + > drivers/dma/fsldma.c | 995 > ++

Re: sata & scsi suggestion for make menuconfig

2007-09-07 Thread Folkert van Heusden
> > Maybe it is a nice enhancement for make menuconfig to more explicitly > > give a pop-up or so when someone selects for example a sata controller > > while no 'scsi-disk' support was selected? > > I know that it's difficult to get people to read docs & help text, > and maybe it is needed in mor

RE: [PATCH 5/5] Add DMA engine driver for Freescale MPC85xx processors.

2007-09-07 Thread Nelson, Shannon
>From: Zhang Wei [mailto:[EMAIL PROTECTED] >Sent: Friday, September 07, 2007 3:54 AM >To: [EMAIL PROTECTED]; Nelson, Shannon >Cc: linux-kernel@vger.kernel.org; [EMAIL PROTECTED]; >[EMAIL PROTECTED]; Zhang Wei; Ebony Zhu >Subject: [PATCH 5/5] Add DMA engine driver for Freescale >MPC85xx processor

Re: BUG: scheduling while atomic: ifconfig/0x00000002/4170

2007-09-07 Thread Michael Buesch
On Friday 07 September 2007, Johannes Berg wrote: > On Thu, 2007-09-06 at 08:46 -0700, Paul E. McKenney wrote: > > > Looks good to me from an RCU viewpoint. I cannot claim familiarity with > > this code. I therefore especially like the indications of where RTNL > > is held and not!!! > > :) >

Re: [PATCH] Smack: Simplified Mandatory Access Control Kernel

2007-09-07 Thread Casey Schaufler
--- Kyle Moffett <[EMAIL PROTECTED]> wrote: > ... > > As for the script, I'm partway through debugging it but my time is > all chewed up with other stuff now, so it may take me an extra couple > days. Any progress on this? Casey Schaufler [EMAIL PROTECTED] - To unsubscribe from this list:

[GIT][patch 1/1] Fix some Kconfigs on net-2.6.24

2007-09-07 Thread dlezcano
From: Daniel Lezcano <[EMAIL PROTECTED]> Three fixes for Kconfigs. Signed-off-by: Daniel Lezcano <[EMAIL PROTECTED]> --- drivers/input/misc/Kconfig |2 +- drivers/leds/Kconfig |2 +- drivers/telephony/Kconfig |2 +- 3 files changed, 3 insertions(+), 3 deletions(-) Index: net

[PATCH 1] mspec: handle shrinking virtual memory areas

2007-09-07 Thread Cliff Wickman
The shrinking of a virtual memory area that is mmap(2)'d to a memory special file (device drivers/char/mspec.c) can cause a panic. If the mapped size of the vma (vm_area_struct) is very large, mspec allocates a large vma_data structure with vmalloc(). But such a vma can be shrunk by an munmap(2).

Re: [patch 1/6] Linux Kernel Markers - Architecture Independent Code

2007-09-07 Thread Theodore Tso
On Thu, Sep 06, 2007 at 04:37:37PM -0700, Randy Dunlap wrote: > Thanks. I look forward to the explanation of Reviewed-by, what it > means, and how it differs from Acked-by. This was proposed by Andrew and discussed at the Kernel Summit; the basic idea is that it is a formal indication that the pe

PATCH to bug #8876

2007-09-07 Thread Nikolay Kopitonenko
Hi there! Below is a fix for this: http://bugzilla.kernel.org/show_bug.cgi?id=8876 Applies to any version since 2.6.22 to latest: 2.6.23-rc5-git1 please apply :) -CUT- diff -urN a/net/ipv4/devinet.c b/net/ipv4/devinet.c --- a/net/ipv4/devinet.c

Re: [PATCH 0/3] core: fix build error when referencing arch specific structures

2007-09-07 Thread Mike Travis
Andrew Morton wrote: >> On Fri, 7 Sep 2007 08:28:05 +0100 Andi Kleen <[EMAIL PROTECTED]> wrote: >> On Friday 07 September 2007 05:09, [EMAIL PROTECTED] wrote: >>> Since the core kernel routines need to reference cpu_sibling_map, >>> whether it be a static array or a per_cpu data variable, an access

Re: [PATCH 0/3] core: fix build error when referencing arch specific structures

2007-09-07 Thread Mike Travis
Andi Kleen wrote: > On Friday 07 September 2007 05:09, [EMAIL PROTECTED] wrote: >> Since the core kernel routines need to reference cpu_sibling_map, >> whether it be a static array or a per_cpu data variable, an access >> function has been defined. >> >> In addition, changes have been made to the i

Re: [RFC][PATCH 1/6] Storing ipcs into IDRs

2007-09-07 Thread Nadia Derbey
Nadia Derbey wrote: Andi Kleen wrote: [EMAIL PROTECTED] writes: This patch introduces ipcs storage into IDRs. The main changes are: . This ipc_ids structure is changed: the entries array is changed into a root idr structure. . The grow_ary() routine is removed: it is not needed anymor

Re: [PATCH 3/3] ppc64: Convert cpu_sibling_map to a per_cpu data array

2007-09-07 Thread Mike Travis
Kamalesh Babulal wrote: > Kamalesh Babulal wrote: >> [EMAIL PROTECTED] wrote: >>> Convert cpu_sibling_map to a per_cpu cpumask_t array for the ppc64 >>> architecture. >>> >>> Note: these changes have not been built nor tested. >>> >>> Note: I also don't know if these changes are particularly >>> re

Re: 2.6.23-rc4-mm1 build issue: ia64 link error

2007-09-07 Thread Andrew Morton
> On Fri, 7 Sep 2007 00:34:59 -0700 "Luck, Tony" <[EMAIL PROTECTED]> wrote: > > local symbol 0: discarded in section `.exit.text' from > > arch/ia64/kernel/built-in.o > > This usually means that there is a static __exit function (or __devexit etc.) > somewhere in the object being linked. The err

Re: sata & scsi suggestion for make menuconfig

2007-09-07 Thread Randy Dunlap
On Fri, 7 Sep 2007 14:48:00 +0200 Folkert van Heusden wrote: > Hi, > > Maybe it is a nice enhancement for make menuconfig to more explicitly > give a pop-up or so when someone selects for example a sata controller > while no 'scsi-disk' support was selected? I know that it's difficult to get peo

Re: [ANNOUNCE/RFC] Really Fair Scheduler

2007-09-07 Thread Roman Zippel
Hi, On Sun, 2 Sep 2007, Ingo Molnar wrote: Below is a patch updated against the latest git tree, no major changes. For a split version I'm still waiting for some more explanation about the CFS tuning parameter. I added another check for the debug version so that any inbalances (as e.g. Mike se

Re: sata & scsi suggestion for make menuconfig

2007-09-07 Thread Jan Engelhardt
On Sep 7 2007 14:48, Folkert van Heusden wrote: > >Maybe it is a nice enhancement for make menuconfig to more explicitly >give a pop-up or so when someone selects for example a sata controller >while no 'scsi-disk' support was selected? Having no sd support is perfectly valid. Imagine a diskless

Re: [patch 4/8] Immediate Values - Move Kprobes i386 restore_interrupt to kdebug.h

2007-09-07 Thread Ananth N Mavinakayanahalli
On Thu, Sep 06, 2007 at 04:02:32PM -0400, Mathieu Desnoyers wrote: > Since the breakpoint handler is useful both to kprobes and immediate values, > it > makes sense to make the required restore_interrupt() available through > asm-i386/kdebug.h. > > Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECT

Re: BUG: scheduling while atomic: ifconfig/0x00000002/4170

2007-09-07 Thread Johannes Berg
On Thu, 2007-09-06 at 08:46 -0700, Paul E. McKenney wrote: > Looks good to me from an RCU viewpoint. I cannot claim familiarity with > this code. I therefore especially like the indications of where RTNL > is held and not!!! :) > Some questions below based on a quick scan. And a global questi

Re: [PATCH 2/2] ELAN U132 Host Controller Driver: convert scheduler_lock to mutex

2007-09-07 Thread Matthias Kaehlcke
A corrected version of the patch, the first one contained context removed by the first patch of this serie -- The ELAN U132 Host Controller Driver uses the semaphore scheduler_lock as mutex. Use the mutex API instead of the (binary) semaphore. Signed-off-by: Matthias Kaehlcke <[EMAIL PROTECTED]>

EIP: [] tcp_rto_min+0x8/0x12 SS:ESP 0068:c03bbd6c

2007-09-07 Thread Marco Berizzi
Hello. Linux 2.6.23-rc5 after 30 minutes crash with this error message (taken from serial console): BUG: unable to handle kernel NULL pointer dereference at virtual address 0025 printing eip: *pde = Oops: [#1] SMP Modules linked in: nf_nat_pptp nf_nat_proto_gre nf_conntrack

Re: [patch 8/8] Immediate Values - Documentation

2007-09-07 Thread Mathieu Desnoyers
* Randy Dunlap ([EMAIL PROTECTED]) wrote: [fixing the rest of the comments in the patch] > What character is this that I cannot read (not displayed properly > by my email client maybe)? after 644.09 and before the > +- symbol, repeated just before all of the +- symbols. > This file seems to be

Re: [PATCH] fujtisu application panel driver

2007-09-07 Thread Pavel Machek
Hi! > > Thank you very much for updating the patch. I have a couple of requests > > though: > > > > 1. LEDs shoud use the generic led subsystem instead of input layer. I > > do not have plans of adding any more LED_XXX constants and I think > > that adding any LEDs not directly relating to keybo

[GIT PULL] FireWire fix

2007-09-07 Thread Stefan Richter
Linus, please pull from the for-linus branch at git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394-2.6.git for-linus to receive a fix of the laptop-refuses-to-suspend kind. Or simply apply the patch from this mail. There is still an old underlying oddness though which I ask t

Re: sata & scsi suggestion for make menuconfig

2007-09-07 Thread Folkert van Heusden
> >Maybe it is a nice enhancement for make menuconfig to more explicitly > >give a pop-up or so when someone selects for example a sata controller > >while no 'scsi-disk' support was selected? > > Having no sd support is perfectly valid. Imagine a diskless boot > with only sr support. Ok, but tha

Re: [PATCH 0/3] build system: section garbage collection for vmlinux

2007-09-07 Thread Daniel Walker
On Thu, 2007-09-06 at 18:07 +0100, Denys Vlasenko wrote: > A bit extended version: > > In the process in making it work I saw ~10% vmlinux size reductions > (which basically matches what Marcelo says) when I wasn't retaining > sections needed for EXPORT_SYMBOLs, but module loading didn't work. >

[PATCH 1/2][RESEND] ehea: propagate physical port state

2007-09-07 Thread Jan-Bernd Themann
Introduces a module parameter to decide whether the physical port link state is propagated to the network stack or not. It makes sense not to take the physical port state into account on machines with more logical partitions that communicate with each other. This is always possible no matter what t

Re: [PATCH] list.h: add list_for_each_entry_continue_rcu

2007-09-07 Thread Paul E. McKenney
On Fri, Sep 07, 2007 at 04:34:48PM +0200, Johannes Berg wrote: > To implement the multicast list callback in mac80211 we need to > do partial list iteration. Since I want to convert the interface > list to an RCU list, I need a new list walking primitive: > list_for_each_entry_continue_rcu(). > >

Re: NFS4 authentification / fsuid

2007-09-07 Thread J. Bruce Fields
On Fri, Sep 07, 2007 at 01:32:52AM +0200, Trond Myklebust wrote: > Sorry. Of course, you have to copy the entire /lib, etc. onto the tmpfs, > but you get the gist > > The point is that it is easy to subvert userspace if you have enough > privileges. In the above example it may not be entirely

Re: [patch 1/6] Linux Kernel Markers - Architecture Independent Code

2007-09-07 Thread Valdis . Kletnieks
On Fri, 07 Sep 2007 12:04:45 EDT, Theodore Tso said: > This was proposed by Andrew and discussed at the Kernel Summit; the > basic idea is that it is a formal indication that the person has done > a *full* review of the patch (a few random comments from the local > whitespace police don't count),

Re: hda_intel : Patch + Regression in 2.6.18 -> 2.6.22

2007-09-07 Thread Takashi Iwai
At Fri, 07 Sep 2007 10:22:27 +0200, Romano Giannetti wrote: > > Takashi: good news! > > On Thu, 2007-09-06 at 23:48 +0200, Romano Giannetti wrote: > > On Thu, 2007-09-06 at 17:25 +0200, Takashi Iwai wrote: > > > At Thu, 06 Sep 2007 17:09:50 +0200, > > > Romano Giannetti wrote: > > > > > > > > > >

Re: hda_intel : Patch + Regression in 2.6.18 -> 2.6.22

2007-09-07 Thread Romano Giannetti
Takashi: good news! On Thu, 2007-09-06 at 23:48 +0200, Romano Giannetti wrote: > On Thu, 2007-09-06 at 17:25 +0200, Takashi Iwai wrote: > > At Thu, 06 Sep 2007 17:09:50 +0200, > > Romano Giannetti wrote: > > > > > > > > > Just one hand up: I haven't tested the patch pointed to by Andrew, will > >

Re: [patch 05/10] Text Edit Lock - Alternative code for i386 and x86_64

2007-09-07 Thread Ananth N Mavinakayanahalli
On Thu, Sep 06, 2007 at 04:01:29PM -0400, Mathieu Desnoyers wrote: > Index: linux-2.6-lttng/arch/i386/kernel/alternative.c > === > --- linux-2.6-lttng.orig/arch/i386/kernel/alternative.c 2007-09-06 > 14:32:11.0 -0400

Re: [PATCH 0/3] build system: section garbage collection for vmlinux

2007-09-07 Thread Sam Ravnborg
Hi Daniel. > > I did that before I posted patches to lkml. > > IOW: posted patches are not broken versus module loading. > > Ok, this is more like the explanation I was looking for.. > > During this thread you seemed to indicate the patches you release > reduced the kernel ~10% , but now your sa

Re: [PATCH]: x86_64: Remove unnecessary cast in prefetch()

2007-09-07 Thread Andi Kleen
On Thursday 06 September 2007 22:27, Serge Belyshev wrote: > It is ok to call prefetch() function with NULL argument, as specifically > commented in include/linux/prefetch.h. But in standard C, it is invalid to > dereference NULL pointer (see C99 standard 6.5.3.2 paragraph 4 and note > #84). Newer

Re: [patch 05/10] Text Edit Lock - Alternative code for i386 and x86_64

2007-09-07 Thread Mathieu Desnoyers
* Andi Kleen ([EMAIL PROTECTED]) wrote: > On Thu, Sep 06, 2007 at 04:01:29PM -0400, Mathieu Desnoyers wrote: > > + sync_core(); > > + /* Not strictly needed, but can speed CPU recovery up. */ > > That turned out to break on some VIA CPUs. Should be removed. > Hrm, when does it break ? At boo

Re: [PATCH 0/3] build system: section garbage collection for vmlinux

2007-09-07 Thread Denys Vlasenko
On Friday 07 September 2007 17:31, Daniel Walker wrote: > On Thu, 2007-09-06 at 18:07 +0100, Denys Vlasenko wrote: > > A bit extended version: > > > > In the process in making it work I saw ~10% vmlinux size reductions > > (which basically matches what Marcelo says) when I wasn't retaining > > sec

Re: Race in the inotify debug code

2007-09-07 Thread Nick Piggin
On Thursday 06 September 2007 02:05, Andrew Morton wrote: > > On Thu, 23 Aug 2007 11:25:18 -0400 Chuck Ebbert <[EMAIL PROTECTED]> > > wrote: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=248355 > > > > Description of problem: > > Warnings in the kernel log (dmesg): > > BUG: warning at fs/ino

Re: [patch 05/10] Text Edit Lock - Alternative code for i386 and x86_64

2007-09-07 Thread Andi Kleen
On Thu, Sep 06, 2007 at 04:01:29PM -0400, Mathieu Desnoyers wrote: > + sync_core(); > + /* Not strictly needed, but can speed CPU recovery up. */ That turned out to break on some VIA CPUs. Should be removed. > + if (cpu_has_clflush) > + for (faddr = addr; faddr < addr + le

Re: [PATCH 0/3] build system: section garbage collection for vmlinux

2007-09-07 Thread Daniel Walker
On Fri, 2007-09-07 at 19:24 +0200, Sam Ravnborg wrote: > Hi Daniel. > > > > I did that before I posted patches to lkml. > > > IOW: posted patches are not broken versus module loading. > > > > Ok, this is more like the explanation I was looking for.. > > > > During this thread you seemed to indic

[PATCH 5/5] Add DMA engine driver for Freescale MPC85xx processors.

2007-09-07 Thread Zhang Wei
The driver implements DMA engine API for Freescale MPC85xx DMA controller, which could be used for MEM<-->MEM, IO_ADDR<-->MEM and IO_ADDR<-->IO_ADDR data transfer. The driver supports the Basic mode of Freescale MPC85xx DMA controller. The MPC85xx processors supported include MPC8540/60, MPC8555, M

Re: Platform device id

2007-09-07 Thread David Brownell
> If a device has a . scheme this implies possibility of > having several instances of said device in a box. There are a few of > platform devices that can only have one instance Like USB peripheral controllers. Only one external "B" type connector is allowed. > - for example i8042 > keyb

[BUG] 2.6.23-rc5 kernel BUG at fs/nfs/nfs4xdr.c:945

2007-09-07 Thread Kamalesh Babulal
Sep 7 11:42:49 p55lp2 kernel: kernel BUG at fs/nfs/nfs4xdr.c:945! Sep 7 11:42:49 p55lp2 kernel: Oops: Exception in kernel mode, sig: 5 [#1] Sep 7 11:42:49 p55lp2 kernel: SMP NR_CPUS=128 NUMA pSeries Sep 7 11:42:49 p55lp2 kernel: Modules linked in: nfs lockd nfs_acl sunrpc ipv6 loop dm_mod ibm

Re: [RFC] Union Mount: Readdir approaches

2007-09-07 Thread Bharata B Rao
On Fri, Sep 07, 2007 at 04:31:26PM +0900, [EMAIL PROTECTED] wrote: > > When the first readdir is issued: > - call vfs_readdir for every underlying opened dir (file) object. > - store every entry to either the hash table for the result or the > whiteout, when the same-named entry didn't exist in

Re: [PATCH 0/3] build system: section garbage collection for vmlinux

2007-09-07 Thread Daniel Walker
On Fri, 2007-09-07 at 18:30 +0100, Denys Vlasenko wrote: > On Friday 07 September 2007 17:31, Daniel Walker wrote: > > On Thu, 2007-09-06 at 18:07 +0100, Denys Vlasenko wrote: > > > A bit extended version: > > > > > > In the process in making it work I saw ~10% vmlinux size reductions > > > (which

Re: [RFC] Union Mount: Readdir approaches

2007-09-07 Thread Erez Zadok
In message <[EMAIL PROTECTED]>, "Josef 'Jeff' Sipek" writes: > On Fri, Sep 07, 2007 at 01:28:55PM +0530, Bharata B Rao wrote: > > On Fri, Sep 07, 2007 at 04:31:26PM +0900, [EMAIL PROTECTED] wrote: > > > > > > When the first readdir is issued: > > > - call vfs_readdir for every underlying opened di

Re: [PATCH 3/3] ppc64: Convert cpu_sibling_map to a per_cpu data array

2007-09-07 Thread Kamalesh Babulal
Kamalesh Babulal wrote: [EMAIL PROTECTED] wrote: Convert cpu_sibling_map to a per_cpu cpumask_t array for the ppc64 architecture. Note: these changes have not been built nor tested. Note: I also don't know if these changes are particularly relevant for the ppc64 architecture. Signed-off-by: M

Re: sata & scsi suggestion for make menuconfig

2007-09-07 Thread Stefan Richter
Folkert van Heusden wrote: >> I know that it's difficult to get people to read docs & help text, >> and maybe it is needed in more places, but CONFIG_ATA (SATA/PATA) >> help text says: >> NOTE: ATA enables basic SCSI support; *however*, >> 'SCSI disk support', 'SCSI tape support', or >> 'SCSI

Re: [BUG] 2.6.23-rc5 kernel BUG at fs/nfs/nfs4xdr.c:945

2007-09-07 Thread J. Bruce Fields
On Fri, Sep 07, 2007 at 03:32:32PM +0530, Kamalesh Babulal wrote: > Sep 7 11:42:49 p55lp2 kernel: kernel BUG at fs/nfs/nfs4xdr.c:945! That's the first line of encode_lookup: static int encode_lookup(struct xdr_stream *xdr, const struct qstr *name) { int len = nam

[PATCH 2/2][RESEND] ehea: fix last_rx update

2007-09-07 Thread Jan-Bernd Themann
Update last_rx in registered device struct instead of in the dummy device. Signed-off-by: Jan-Bernd Themann <[EMAIL PROTECTED]> --- drivers/net/ehea/ehea_main.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/ehea/ehea_main.c b/drivers/net/ehea/ehea_main.c i

[ANNOUNCE] CTHON04 Testcases has been removed from LTP

2007-09-07 Thread Subrata Modak
Hi, We have removed CTHON04 Test-cases from LTP (for want of GPLv2 License Agreement): http://ltp.cvs.sourceforge.net/ltp/ltp/testcases/network/nfs/cthon04/ However you can find new location from: http://ltp.cvs.sourceforge.net/ltp/ltp/testcases/network/nfs/CTHON04_README?view=log --Regards-- Subr

RE: 2.6.23-rc4-mm1 build issue: ia64 link error

2007-09-07 Thread Luck, Tony
> local symbol 0: discarded in section `.exit.text' from > arch/ia64/kernel/built-in.o This usually means that there is a static __exit function (or __devexit etc.) somewhere in the object being linked. The error message is pretty unhelpful in figuring out *where* in the module. Look at the 'mm

Re: [RFC] Union Mount: Readdir approaches

2007-09-07 Thread Josef 'Jeff' Sipek
On Fri, Sep 07, 2007 at 01:28:55PM +0530, Bharata B Rao wrote: > On Fri, Sep 07, 2007 at 04:31:26PM +0900, [EMAIL PROTECTED] wrote: > > > > When the first readdir is issued: > > - call vfs_readdir for every underlying opened dir (file) object. > > - store every entry to either the hash table for t

Re: patch: improve generic_file_buffered_write() (2nd try 1/2)

2007-09-07 Thread Nick Piggin
On Thursday 06 September 2007 03:41, Bernd Schubert wrote: > > This comment block should be: > > > > /** > > * generic_file_buffered_write - handle an iov > > * @iocb: file operations > > * @iov:vector of data to write > > * @nr_segs:number of iov segments > > * @pos:positio

Re: Platform device id

2007-09-07 Thread Jean Delvare
Hi Dmitry, Thanks for your answer. On Fri, 7 Sep 2007 10:58:31 -0400, Dmitry Torokhov wrote: > On 9/7/07, Jean Delvare <[EMAIL PROTECTED]> wrote: > > While platform_device.id is a u32, platform_device_add() handles "-1" as > > a special id value. This has potential for confusion and bugs. One suc

Re: origin of __tmp1930643048 network device name: kernel-space or user-space

2007-09-07 Thread davide rossetti
> > I'm assuming you're running some sort of Fedora/RHEL/ > > derivative; this is what you get when you have a device that starts > > out named ethX, but which needed to be renamed so that an already > > configured ethX could be changed to that name. > > yes, it's FC6. > > > For the new device, eit

Re: [RFC] Union Mount: Readdir approaches

2007-09-07 Thread hooanon05
Hello Bharata, I am developing a linux stackable/unification filesystem too. Bharata B Rao: > Questions > - ::: > First of all, should we even expect a sane lseek(2) on union mounted > directories ? If not, will the Approach 2, which works uniformly for > all filesystem types be a

Re: [PATCH -mm] [RFC] IOAT: Add support for version 2 of ioatdma device

2007-09-07 Thread Andy Whitcroft
On Thu, Sep 06, 2007 at 10:07:12AM -0700, Shannon Nelson wrote: > list_for_each_entry(iter, &desc->async_tx.tx_list, node) { > iter->hw->src_addr = addr; > addr += ioat_chan->xfercap; > + > + if (--cnt == 0); > + break; > } >

Re: 2.6.23-rc4-mm1 compile error for ppc 32

2007-09-07 Thread Nick Piggin
On Friday 07 September 2007 09:00, Andrew Morton wrote: > > On Thu, 6 Sep 2007 14:40:11 -0400 Mathieu Desnoyers > > <[EMAIL PROTECTED]> wrote: Hi Andrew, > > > > Guess what, another one ;) > > > > > > /opt/crosstool/gcc-4.1.1-glibc-2.3.6/powerpc-405-linux-gnu/bin/powerpc-40 > >5-linux-gnu-gcc -m3

[PATCH 1/2][RESEND] improve generic_file_buffered_write()

2007-09-07 Thread Bernd Schubert
No further response to our patches yet, so we are sending them again, re-diffed against 2.6.23-rc5 Hi, recently we discovered writing to a nfs-exported lustre filesystem is rather slow (20-40 MB/s writing, but over 200 MB/s reading). As I already explained on the nfs mailing list, this happens

  1   2   >