Re: [patch 2/3] new timerfd API - wire the new timerfd API to the x86 family

2007-09-23 Thread Michael Kerrisk
Davide, Is it perhaps not better to group the three syscalls contiguously with respect to syscall numbers? The old timerfd slot can be re-used for some other syscall later. Cheers, Michael Davide Libenzi wrote: > Wires up the new timerfd API to the x86 family. > > > > Signed-off-by: Davide

Re: 2.6.23-rc6-mm1: IPC: sleeping function called ...

2007-09-23 Thread Jarek Poplawski
On Fri, Sep 21, 2007 at 01:03:47PM +0200, Jarek Poplawski wrote: ... > I hope not! But, then it would be probably another logical trick: > ipc_rcu_getref/putref() seems to prevent kfreeing of a structure, so > if it's used in do_msgsnd() there should be a risk something can do > this kfree at this

2.6.23-rc7 - _random_ IRQ23 : nobody cared

2007-09-23 Thread ポール・ ロラン
Hello, I already reported kernel 2.6.23-rcX warning about irq X : nobody cared, and it seemed to have been fixed in 2.6.23-rc6... Unfortunately, just rebooting with my 2.6.23-rc7, I got it appearing again, though the previous boot was just fine, and I didn't change/recompile my kernel in between.

Re: [PATCH] Uninline kcalloc()

2007-09-23 Thread Jan Engelhardt
On Sep 24 2007 01:35, [EMAIL PROTECTED] wrote: >On Sun, 23 Sep 2007 00:03:49 +0400, Alexey Dobriyan said: > >> -static inline void *kcalloc(size_t n, size_t size, gfp_t flags) >> -{ >> -if (n != 0 && size > ULONG_MAX / n) >> -return NULL; >> -return __kmalloc(n * size, flags |

Re: [git] CFS-devel, group scheduler, fixes

2007-09-23 Thread Tong Li
On Sun, 23 Sep 2007, Mike Galbraith wrote: On Sat, 2007-09-22 at 12:01 +0200, Mike Galbraith wrote: On Fri, 2007-09-21 at 20:27 -0700, Tong Li wrote: Mike, Could you try this patch to see if it solves the latency problem? No, but it helps some when running two un-pinned busy loops, one at n

Re: [PATCH 24/25] r/o bind mounts: track number of mount writers

2007-09-23 Thread Andrew Morton
On Thu, 20 Sep 2007 12:53:20 -0700 Dave Hansen <[EMAIL PROTECTED]> wrote: > This is the real meat of the entire series. It actually > implements the tracking of the number of writers to a mount. > However, it causes scalability problems because there can > be hundreds of cpus doing open()/close()

Re: X-freeze after clflush changes [Was: 2.6.23-rc6-mm1]

2007-09-23 Thread Jiri Slaby
On 09/24/2007 05:25 AM, [EMAIL PROTECTED] wrote: > On Fri, 21 Sep 2007 21:43:20 +0200, Jiri Slaby said: >> On 09/21/2007 09:38 PM, Jiri Slaby wrote: >>> It is rather the other user who adds the page to some other list while bein > g at >>> deferred_pages list. Could you try my debug patch >>> (http

Re: PROBLEM: Network sky2 Module, kernel version 2.6.23-rc7

2007-09-23 Thread Stephen Hemminger
On Sat, 22 Sep 2007 21:56:04 -0400 ben soo <[EMAIL PROTECTED]> wrote: > i spoke too soon. The Gbit interface still dies. Lasted around > 19hrs. or so. i can't tell if there are hardware issues: yesterday > a Gbit NIC on the firewall died. Different chip (Realtek), > different driver, differ

[PATCH] fix modules oopsing in lguest guests

2007-09-23 Thread Rusty Russell
The assembly templates for lguest guest patching are in the .init.text section. This means that modules get patched with "cc cc cc cc" or similar junk. Signed-off-by: Rusty Russell <[EMAIL PROTECTED]> diff -r 554f72e059aa drivers/lguest/lguest_asm.S --- a/drivers/lguest/lguest_asm.S Thu Se

Re: [PATCH] Uninline kcalloc()

2007-09-23 Thread Valdis . Kletnieks
On Sun, 23 Sep 2007 00:03:49 +0400, Alexey Dobriyan said: > -static inline void *kcalloc(size_t n, size_t size, gfp_t flags) > -{ > - if (n != 0 && size > ULONG_MAX / n) > - return NULL; > - return __kmalloc(n * size, flags | __GFP_ZERO); > -} > +void *kcalloc(size_t n, size_t

xconfig request

2007-09-23 Thread Randy Dunlap
Hi, I have a UI request for xconfig. Seems somewhat simple & obvious from a user perspective. I'm not saying that it's simple to implement, but maybe someone out there would be interested in doing so. By default all menus start as open or expanded, but they can also be closed by clicking on th

Re: 2.6.23-rc6-mm1 - make access to tasks nsproxy ligther (fix)

2007-09-23 Thread Serge E. Hallyn
Quoting Cedric Le Goater ([EMAIL PROTECTED]): > Cedric Le Goater wrote: > > Pavel Emelyanov wrote: > >> Looks sane :) > >> > >> [snip] > >> > >>> Index: 2.6.23-rc6-mm1/kernel/exit.c > >>> === > >>> --- 2.6.23-rc6-mm1.orig/kernel/exit.c

Re: Ethernet driver on 2.6.22

2007-09-23 Thread Randy Dunlap
On Mon, 24 Sep 2007 12:40:07 +1000 hce wrote: > Thanks Randy. > > On 9/24/07, Randy Dunlap <[EMAIL PROTECTED]> wrote: > > On Mon, 24 Sep 2007 08:52:36 +1000 hce wrote: > > > > > Hi, > > > > > > I am upgrading from kernel 2.6.11 to 2.6.22 on ARM S3C2400A and found > > > a following issue on 2.6.22

Re: X-freeze after clflush changes [Was: 2.6.23-rc6-mm1]

2007-09-23 Thread Valdis . Kletnieks
On Fri, 21 Sep 2007 21:43:20 +0200, Jiri Slaby said: > On 09/21/2007 09:38 PM, Jiri Slaby wrote: > > It is rather the other user who adds the page to some other list while bein g at > > deferred_pages list. Could you try my debug patch > > (http://lkml.org/lkml/2007/9/19/141)? > > or the whitespac

Re: Urgent bugzilla mainteinance needed

2007-09-23 Thread Martin J. Bligh
Natalie Protasevich wrote: On 9/23/07, David Woodhouse <[EMAIL PROTECTED]> wrote: On Sun, 2007-09-23 at 11:08 -0700, Natalie Protasevich wrote: On 9/23/07, Diego Calleja <[EMAIL PROTECTED]> wrote: Take a look at http://bugzilla.kernel.org/show_bug.cgi?id=3710 bugzilla tries to send a mail to

Re: 2.6.23-rc6-mm1 -- mkfs stuck in 'D'

2007-09-23 Thread Fengguang Wu
On Sun, Sep 23, 2007 at 03:02:35PM +0200, Peter Zijlstra wrote: > On Sun, 23 Sep 2007 09:20:49 +0800 Fengguang Wu <[EMAIL PROTECTED]> > wrote: > > > On Sat, Sep 22, 2007 at 03:16:22PM +0200, Peter Zijlstra wrote: > > > On Sat, 22 Sep 2007 09:55:09 +0800 Fengguang Wu <[EMAIL PROTECTED]> > > > wrote

[Resend][-mm Patch] net/bluetooth/hidp/core.c: Make hidp_setup_input() return int

2007-09-23 Thread WANG Cong
This patch does the following things: - Make hidp_setup_input() return int to indicate errors. - Check its return value to handle errors. Thanks to roel for comments. Signed-off-by: WANG Cong <[EMAIL PROTECTED]> --- net/bluetooth/hidp/core.c | 11 +++ 1 file changed, 7 insertions(+

Re: [-mm Patch] net/bluetooth/hidp/core.c: Make hidp_setup_input() return int

2007-09-23 Thread WANG Cong
On Mon, Sep 24, 2007 at 12:13:22AM +0200, roel wrote: >WANG Cong wrote: >> This patch does the following things: >> >> - Make hidp_setup_input() return int to indicate errors. >> - Check its return value to handle errors. >> >> Signed-off-by: WANG Cong <[EMAIL PROTECTED]> >> >> --- >> net/bluet

Re: Ethernet driver on 2.6.22

2007-09-23 Thread hce
Thanks Randy. On 9/24/07, Randy Dunlap <[EMAIL PROTECTED]> wrote: > On Mon, 24 Sep 2007 08:52:36 +1000 hce wrote: > > > Hi, > > > > I am upgrading from kernel 2.6.11 to 2.6.22 on ARM S3C2400A and found > > a following issue on 2.6.22. > > > > On 2.6.11, I selected CONFIG_ISA, CONFIG_NET_PCI and C

[PATCH] GEODE: decouple sleep/resume from powerdown/powerup (take 2)

2007-09-23 Thread Bernardo Innocenti
This patch merges the fb_powerup and fb_powerdown hooks in a single operation fb_power with an additional "state" parameter ranging from 0 (running) to 3 (poweroff). The geodefb uses state 2 as an intermediate low-power mode, where the LX or GX video unit is turned off, but the GPU may still be wo

Re: Re: [PATCH] ahci: Add MCP79 support to AHCI driver

2007-09-23 Thread Peer Chen
Code change, remove some Device IDs. Signed-off-by: Peer Chen <[EMAIL PROTECTED]> --- --- linux-2.6.23-rc7/drivers/ata/ahci.c.orig2007-09-20 11:01:55.0 -0400 +++ linux-2.6.23-rc7/drivers/ata/ahci.c 2007-09-24 10:08:03.0 -0400 @@ -472,6 +472,14 @@ static const struct pci_device

Re: Re: [PATCH] ahci: Add MCP79 support to AHCI driver

2007-09-23 Thread Peer Chen
Yes,it's necessary because our RAID controller also use the ahci driver. -- Peer Chen 2007-09-24 - ·¢¼þÈË£ºAlan Cox ·¢ËÍÈÕÆÚ£º2007-09-21 18:32:09 ÊÕ¼þÈË£ºPeer Chen ³­ËÍ£ºlinux-kernel; linux-

Re: Ethernet driver on 2.6.22

2007-09-23 Thread Randy Dunlap
On Mon, 24 Sep 2007 08:52:36 +1000 hce wrote: > Hi, > > I am upgrading from kernel 2.6.11 to 2.6.22 on ARM S3C2400A and found > a following issue on 2.6.22. > > On 2.6.11, I selected CONFIG_ISA, CONFIG_NET_PCI and CONFIG_CS89X0 to > build CS8900A Ethernet driver to kernel, it was running perfe

Re: [PATCH RFC 3/9] RCU: Preemptible RCU

2007-09-23 Thread Paul E. McKenney
On Sun, Sep 23, 2007 at 09:38:07PM +0400, Oleg Nesterov wrote: > On 09/10, Paul E. McKenney wrote: > > > > Work in progress, not for inclusion. > > Impressive work! a couple of random newbie's questions... Thank you for the kind words, and most especially for the careful review!!! And Oleg, I do

Re: [PATCH] Broadcom 8603 SAS/SATA driver, rough draft

2007-09-23 Thread Jeff Garzik
James Bottomley wrote: On Sun, 2007-09-23 at 19:43 -0400, Jeff Garzik wrote: James Bottomley wrote: On Sun, 2007-09-23 at 00:04 -0400, Jeff Garzik wrote: Rather than sitting on this for far too long, I wanted to go ahead and get this out there. I heard some chips might be trickling out into p

Re: 2.6.23-rc7 + radeonfb/s2ram

2007-09-23 Thread Benjamin Herrenschmidt
On Sun, 2007-09-23 at 23:31 +0200, Oleg Verych wrote: > * Sun, 23 Sep 2007 22:22:28 +0300 > * Organization: Home > > [] > >> > > >> > So there, if one wants "ATI Radeon display support" on Radeon XPRESS > >> > 200M with > >> > X using radeon_drv.so, *should* put "Framebuffer Console support

Re: 2.6.23-rc7 + radeonfb/s2ram

2007-09-23 Thread Benjamin Herrenschmidt
On Sun, 2007-09-23 at 22:22 +0300, Mihai Donțu wrote: > > Bottom line: no radeonfb for me :( at least, not now; but I have to > be honest with > you: I don't see what commit > dd1447134454b169d5ae353aceb93f2368db8547 brought new > into the picture. The previous radeonfb worked just great, b

Re: [PATCH] Broadcom 8603 SAS/SATA driver, rough draft

2007-09-23 Thread James Bottomley
On Sun, 2007-09-23 at 19:43 -0400, Jeff Garzik wrote: > James Bottomley wrote: > > On Sun, 2007-09-23 at 00:04 -0400, Jeff Garzik wrote: > >> Rather than sitting on this for far too long, I wanted to go ahead and > >> get this out there. I heard some chips might be trickling out into > >> public h

Re: [PATCH] Broadcom 8603 SAS/SATA driver, rough draft

2007-09-23 Thread Jeff Garzik
Jeff Garzik wrote: Just for everybody's information, the Marvell SAS/SATA chip for which I'm also writing a driver definitely supports all of that: SMP, STP, wire ports, SCSI target mode, even SATA target mode. s/wire/wide/ of course - To unsubscribe from this list: send the line "unsubscrib

Re: [PATCH] Broadcom 8603 SAS/SATA driver, rough draft

2007-09-23 Thread Jeff Garzik
Douglas Gilbert wrote: Is the lack of SMP support a driver limitation or is it the silicon? How about support for wide ports (i.e. when 2 or more HBA phys are attached to remote phys which have the same SAS addresses)? Last question: can the chip run in SCSI target mode? Just for everybody's

Re: [PATCH] Broadcom 8603 SAS/SATA driver, rough draft

2007-09-23 Thread Jeff Garzik
James Bottomley wrote: On Sun, 2007-09-23 at 00:04 -0400, Jeff Garzik wrote: Rather than sitting on this for far too long, I wanted to go ahead and get this out there. I heard some chips might be trickling out into public hands. The first thing to note is about the specs and the pre-productio

Re: [PATCH] Broadcom 8603 SAS/SATA driver, rough draft

2007-09-23 Thread Jeff Garzik
Douglas Gilbert wrote: Is the lack of SMP support a driver limitation or is it the silicon? Open question (pending w/ BCM). It looks like the answer is "silicon limitation". How about support for wide ports Open question (w/ BCM). It looks like the answer is "no support." Last quest

[PATCH] GEODE: decouple sleep/resume from powerdown/powerup

2007-09-23 Thread Bernardo Innocenti
This patch merges the fb_powerup and fb_powerdown hooks in a single operation fb_power with an additional "state" parameter ranging from 0 (running) to 3 (poweroff). The geodefb uses state 2 as an intermediate low-power mode, where the LX or GX video unit is turned off, but the GPU may still be wo

Re: [PATCH] Broadcom 8603 SAS/SATA driver, rough draft

2007-09-23 Thread James Bottomley
On Sun, 2007-09-23 at 00:04 -0400, Jeff Garzik wrote: > Rather than sitting on this for far too long, I wanted to go ahead and > get this out there. I heard some chips might be trickling out into > public hands. The first thing to note is about the specs and the pre-production hardware: the Linux

Ethernet driver on 2.6.22

2007-09-23 Thread hce
Hi, I am upgrading from kernel 2.6.11 to 2.6.22 on ARM S3C2400A and found a following issue on 2.6.22. On 2.6.11, I selected CONFIG_ISA, CONFIG_NET_PCI and CONFIG_CS89X0 to build CS8900A Ethernet driver to kernel, it was running perfect. But on 2.6.22, I made the same configuration for CS8900A

[patch 3/3] new timerfd API - un-break CONFIG_TIMERFD

2007-09-23 Thread Davide Libenzi
Remove the broken status to CONFIG_TIMERFD. Signed-off-by: Davide Libenzi <[EMAIL PROTECTED]> - Davide --- init/Kconfig |1 - 1 file changed, 1 deletion(-) Index: linux-2.6.mod/init/Kconfig === --- linux-2.6.mod.orig/init/

[patch 1/3] new timerfd API - new timerfd API

2007-09-23 Thread Davide Libenzi
This is the new timerfd API as it is implemented by the following patch: int timerfd_create(int clockid); int timerfd_settime(int ufd, int flags, const struct itimerspec *utmr, struct itimerspec *otmr); int timerfd_gettime(int ufd, struct itimerspec *otmr);

[patch 2/3] new timerfd API - wire the new timerfd API to the x86 family

2007-09-23 Thread Davide Libenzi
Wires up the new timerfd API to the x86 family. Signed-off-by: Davide Libenzi <[EMAIL PROTECTED]> - Davide --- arch/i386/kernel/syscall_table.S |5 - arch/x86_64/ia32/ia32entry.S |4 +++- include/asm-i386/unistd.h|6 -- include/asm-x86_64/unistd.h |8

Re: Coding FATX support for 2.6

2007-09-23 Thread Hector Martin
Diego Calleja wrote: > FUSE could be an acceptable solution. Not really. Booting Xbox-Linux from an image file on a FATX partition is common. I don't think FUSE would work very well there. -- Hector Martin ([EMAIL PROTECTED]) Public Key: http://www.marcansoft.com/marcan.asc - To unsubscribe fr

Re: Coding FATX support for 2.6

2007-09-23 Thread Diego Calleja
El Sun, 23 Sep 2007 16:51:15 -0400, Hector Martin <[EMAIL PROTECTED]> escribió: > Most xbox-linux users are stuck using 2.4, since there is no FATX driver > for 2.6 and the 2.4 one is unmaintained. I've been thinking about > writing FATX support into 2.6, to finally end this problem (this is > bas

Xen kernel 2.6.23-rc7 bug at xen_mc_flush (arch/i386/xen/multicalls.c:68)

2007-09-23 Thread osth
l Core Processor BE-2350 ... full info is at http://spblinux.de/xen/20070923/ Same bug if preempt is disabled; same bug if vcpus is reduced to 1 in xen domU. Please cc to osth at freesurf.ch because I am not on the list. Christian Ostheimer testcase which triggers the bug: #!/bin/bash # # modi

Linux 2.4.35.3

2007-09-23 Thread Willy Tarreau
I've just released Linux 2.4.35.3. This version fixes CVE-2007-4573 which may lead to local privilege escalation on x86_64. It also fixes another problem reported by Gilles Espinasse: If the ATM module is loaded with CLIP support but the CLIP module is not loaded yet, any user reading /proc/net/

Re: [-mm Patch] net/bluetooth/hidp/core.c: Make hidp_setup_input() return int

2007-09-23 Thread roel
WANG Cong wrote: > This patch does the following things: > > - Make hidp_setup_input() return int to indicate errors. > - Check its return value to handle errors. > > Signed-off-by: WANG Cong <[EMAIL PROTECTED]> > > --- > net/bluetooth/hidp/core.c |7 --- > 1 file changed, 4 insertions(

Re: [PATCH] Broadcom 8603 SAS/SATA driver, rough draft

2007-09-23 Thread Douglas Gilbert
Jeff Garzik wrote: > Rather than sitting on this for far too long, I wanted to go ahead and > get this out there. I heard some chips might be trickling out into > public hands. > > This is a bare bones Broadcom 8603 SAS+SATA driver, attempting to use > the vaunted libsas. Notes: > > * A quick g

Coding FATX support for 2.6

2007-09-23 Thread Hector Martin
Most xbox-linux users are stuck using 2.4, since there is no FATX driver for 2.6 and the 2.4 one is unmaintained. I've been thinking about writing FATX support into 2.6, to finally end this problem (this is basically the only thing holding up 2.6 for Xbox Linux distros). While I have done a little

Re: 2.6.23-rc7 + radeonfb/s2ram

2007-09-23 Thread Oleg Verych
* Sun, 23 Sep 2007 22:22:28 +0300 * Organization: Home [] >> > >> > So there, if one wants "ATI Radeon display support" on Radeon XPRESS >> > 200M with >> > X using radeon_drv.so, *should* put "Framebuffer Console support" to N >> > (if it's >> > not already). [] > Bottom line: no radeo

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

2007-09-23 Thread Bernhard Walle
* Oleg Verych <[EMAIL PROTECTED]> [2007-09-23 23:15]: > > - crashkernel=512M-2G:64M,2G-:[EMAIL PROTECTED] > + crashkernel=512M-2G,64M,2G-,128M,,offset > ? I don't like this syntax. Thanks, Bernhard - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a mes

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

2007-09-23 Thread Oleg Verych
On Sun, Sep 23, 2007 at 10:19:43PM +0200, Bernhard Walle wrote: [] > > +int __init get_crashkernel_params(u64 *memsize, u64 *addrbase, char > > *cmdline, u64 ram); > > Andrew, what's your opinion on this? Whould I resend the patch with > shorter type names? Also, maybe it will be better to exte

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

2007-09-23 Thread Rafael J. Wysocki
On Sunday, 23 September 2007 21:59, Thomas Gleixner wrote: > On Sun, 2007-09-23 at 22:08 +0200, Rafael J. Wysocki wrote: > > > > Since the boot fails very early, before any messages reach the (VGA) > > > > console, > > > > I have no idea what to do next, except for digging in the code. > > > > >

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

2007-09-23 Thread Steve Wise
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. - wait for all replies if sending multiple passive_open requests to

Re: [PATCH][RFC] Extend "memparse" to allow a NULL return pointer value.

2007-09-23 Thread Oleg Verych
* Sat, 15 Sep 2007 12:27:07 -0400 (EDT) > Extend the memparse() routine to allow a caller to use NULL as the > second parameter value if he has no interest in that returned value. (not `he', but `it', even if `he', then better `callers' + `they') > --- > > there appear to be quite a number of

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

2007-09-23 Thread Steve Wise
Sean Hefty wrote: The iWARP driver must translate all listens on address 0.0.0.0 to the set of rdma-only ip addresses for the device in question. This prevents incoming connect requests to the TCP ipaddresses from going up the rdma stack. I've only given this a high level review at this poin

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

2007-09-23 Thread Bernhard Walle
* Oleg Verych <[EMAIL PROTECTED]> [2007-09-23 01:14]: > * Thu, 20 Sep 2007 19:18:46 +0200 > > [] > > extern u32 vmcoreinfo_note[VMCOREINFO_NOTE_SIZE/4]; > > extern unsigned int vmcoreinfo_size; > > extern unsigned int vmcoreinfo_max_size; > > +int __init parse_crashkernel(char *cmdline, unsigne

[PATCH3/4] [PPC] Compile fix for 8xx CPM Ehernet driver

2007-09-23 Thread Jochen Friedrich
Add #include for flush_dcache_range to make the driver compile again. CC arch/ppc/8xx_io/enet.o arch/ppc/8xx_io/enet.c: In function 'scc_enet_start_xmit': arch/ppc/8xx_io/enet.c:240: error: implicit declaration of function 'flush_dcache_range' make[1]: *** [arch/ppc/8xx_io/enet.o] Error 1

[PATCH4/4] [POWERPC] Fix cpm_uart driver

2007-09-23 Thread Jochen Friedrich
In cpm_uart_core, functions cpm_uart_init_bd and cpm_uart_init_scc an offset into DP RAM is calculated by substracting a physical memory constant from an virtual address. This patch fixes the problem by converting the virtual address into a physical first. Signed-off-by: Jochen Friedrich <[EMAIL

[PATCH2/4] [PPC] Fix cpm_dpram_addr returning phys mem instead of virt mem

2007-09-23 Thread Jochen Friedrich
cpm_dpram_addr returns physical memory of the DP RAM instead of iomapped virtual memory. As there usually is a 1:1 MMU map of the IMMR area, this is often not noticed. However, cpm_dpram_phys assumes this iomapped virtual memory and returns garbage on the 1:1 mapped memory causing CPM1 uart conso

[PATCH1/4] [POWERPC] Fix copy'n'paste typo in commproc.c

2007-09-23 Thread Jochen Friedrich
The powerpc version of commproc.c doesn't export cpm_dpram_addr twice and cpm_dpram_phys not at all due to a typo. This patch fixes this problem. CC arch/powerpc/sysdev/commproc.o arch/powerpc/sysdev/commproc.c:398: error: redefinition of '__kcrctab_cpm_dpram_addr' arch/powerpc/sysdev/comm

[PATCH0/4] Various bug fixes

2007-09-23 Thread Jochen Friedrich
Here is a series fixing some bugs for 8xx powerpc CPUs. 1. [POWERPC] Fix copy'n'paste typo in commproc.c 2. [PPC] Fix cpm_dpram_addr returning phys mem instead of virt mem 3. [PPC] Compile fix for 8xx CPM Ehernet driver 4. [POWERPC] Fix cpm_uart driver This series can be pulled from git://git.bo

[GIT PULL] please pull infiniband.git

2007-09-23 Thread Roland Dreier
Linus, please pull from master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband.git for-linus This tree is also available from kernel.org mirrors at: git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git for-linus This will get one fix for a data corruption bug in 2

Re: [RFC] New kernel-message logging API

2007-09-23 Thread Rob Landley
On Saturday 22 September 2007 2:27:29 pm Vegard Nossum wrote: > After recent discussions on LKML and a general dissatisfaction at the > current printk() kernel-message logging interface, I've decided to > write down some of the ideas for a better system. > > > Requirements > > > * Bac

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

2007-09-23 Thread Thomas Gleixner
On Sun, 2007-09-23 at 22:08 +0200, Rafael J. Wysocki wrote: > > > Since the boot fails very early, before any messages reach the (VGA) > > > console, > > > I have no idea what to do next, except for digging in the code. > > > > Ok, lets track it down. Is there any difference when you add: > > >

Re: Memory allocation problem with 2.6.22 after suspend/resume cycle

2007-09-23 Thread Rafael J. Wysocki
On Sunday, 23 September 2007 21:18, Christian P. Schmidt wrote: > Rafael J. Wysocki wrote: > > On Sunday, 23 September 2007 18:19, Christian P. Schmidt wrote: > >> Rafael J. Wysocki wrote: > >>> On Sunday, 23 September 2007 14:38, Christian P. Schmidt wrote: > Rafael J. Wysocki wrote: > >

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

2007-09-23 Thread Rafael J. Wysocki
On Sunday, 23 September 2007 21:10, Thomas Gleixner wrote: > On Sun, 2007-09-23 at 12:57 +0200, Rafael J. Wysocki wrote: > > Hi Thomas, > > > > Unfortunately, my observation that the patch series: > > > > http://tglx.de/projects/hrtimers/2.6.23-rc4/patch-2.6.23-rc4-hrt1.patches.tar.bz2 > > > > w

Re: [PATCH 1/2 (v2)] cxacru: Use appropriate logging for errors

2007-09-23 Thread Duncan Sands
> - dbg("too big transfer requested"); > + if (printk_ratelimit()) > + usb_err(instance->usbatm, "requested transfer size too > large (%d, %d)\n", > + wbuflen, rbuflen); etc Acked-by: Duncan Sands <[EMAIL PROTECTED]> - To un

Re: [RFC] New kernel-message logging API

2007-09-23 Thread Joe Perches
On Sun, 2007-09-23 at 10:45 +0200, Jan Engelhardt wrote: > I'd rather fix up code to reduce its indent rather than > trying microoptimizations at the function name level! I think that's a different discussion. You could fix some of them whenever you like. $ egrep -r -l --include=*.c "^[[:cntrl:]

Re: [RFC] New kernel-message logging API

2007-09-23 Thread Joe Perches
On Sun, 2007-09-23 at 10:39 +0200, Vegard Nossum wrote: > On 9/23/07, Joe Perches <[EMAIL PROTECTED]> wrote: > > Given the number of 80 column zealots, character naming length > > matters. > I don't know. Compare the following two lines: > printk(KERN_INFO "Message.\n"); > kprint_info("Message.");

Re: 2.6.23-rc7 + radeonfb/s2ram

2007-09-23 Thread Mihai Donțu
On Sunday 23 September 2007, Rafael J. Wysocki wrote: > On Sunday, 23 September 2007 20:31, Mihai Donțu wrote: > > On Sunday 23 September 2007, Mihai Donțu wrote: > > > I'll to do a full cleanup and start all over. I'm going to nail this > > > thing down if > > > it's the last thing I do! (so help

Re: Memory allocation problem with 2.6.22 after suspend/resume cycle

2007-09-23 Thread Christian P. Schmidt
Rafael J. Wysocki wrote: > On Sunday, 23 September 2007 18:19, Christian P. Schmidt wrote: >> Rafael J. Wysocki wrote: >>> On Sunday, 23 September 2007 14:38, Christian P. Schmidt wrote: Rafael J. Wysocki wrote: > On Saturday, 22 September 2007 17:41, Christian P. Schmidt wrote: >> Hi

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

2007-09-23 Thread Thomas Gleixner
On Sun, 2007-09-23 at 12:57 +0200, Rafael J. Wysocki wrote: > Hi Thomas, > > Unfortunately, my observation that the patch series: > > http://tglx.de/projects/hrtimers/2.6.23-rc4/patch-2.6.23-rc4-hrt1.patches.tar.bz2 > > worked with 2.6.23-rc4 was wrong. It _sometimes_ works, but usually doesn't

Re: 2.6.23-rc7 + radeonfb/s2ram

2007-09-23 Thread Rafael J. Wysocki
On Sunday, 23 September 2007 20:31, Mihai Donțu wrote: > On Sunday 23 September 2007, Mihai Donțu wrote: > > I'll to do a full cleanup and start all over. I'm going to nail this thing > > down if > > it's the last thing I do! (so help me God) :) > > Found it! > > The problem was "Framebuffer

Re: RFC: A revised timerfd API

2007-09-23 Thread Michael Kerrisk
Davide Libenzi wrote: On Sun, 23 Sep 2007, Davide Libenzi wrote: On Sun, 23 Sep 2007, Michael Kerrisk wrote: I applied this patch against 2.6.27-rc7, and wired up the syscalls as shown in the definitions below. When I ran the the program below, my system immediately froze. Can you try it on

Re: memset as memzero

2007-09-23 Thread Willy Tarreau
On Sun, Sep 23, 2007 at 10:05:05AM -0700, Linus Torvalds wrote: > > > On Sun, 23 Sep 2007, Arnaldo Carvalho de Melo wrote: > > > > bzero! That is it, its nothing new, just a sane name to something [..] > > No, please no! > > The BSD memory functions are nasty. If you do bzero, you logically sh

[PATCH 1/2 (v2)] cxacru: Use appropriate logging for errors

2007-09-23 Thread Simon Arlott
When an error occurs, existing logging uses dbg() so the cause of a problem is hard to determine. Error conditions shouldn't only be properly reported with debugging enabled. A side effect of this change is that when an uninitialised device is started, a log message similar to the following is

Re: RFC: A revised timerfd API

2007-09-23 Thread Davide Libenzi
On Sun, 23 Sep 2007, Davide Libenzi wrote: > On Sun, 23 Sep 2007, Michael Kerrisk wrote: > > > I applied this patch against 2.6.27-rc7, and wired up the syscalls as shown > > in the definitions below. When I ran the the program below, my system > > immediately froze. Can you try it on your syst

Re: [PATCH 3/3] cxacru: Cleanup code by removing "ret = ret;" assignments

2007-09-23 Thread Simon Arlott
On 23/09/07 17:20, Duncan Sands wrote: > On Sunday 23 September 2007 17:36:08 Simon Arlott wrote: >> Cleanup code by removing "ret = ret;" assignments. >> >> Signed-Off-By: Simon Arlott <[EMAIL PROTECTED]> > > Acked-by: Duncan Sands <[EMAIL PROTECTED]> Nacked-by: Simon Arlott <[EMAIL PROTECTED]>

Re: RFC: A revised timerfd API

2007-09-23 Thread Davide Libenzi
On Sun, 23 Sep 2007, Michael Kerrisk wrote: > I applied this patch against 2.6.27-rc7, and wired up the syscalls as shown > in the definitions below. When I ran the the program below, my system > immediately froze. Can you try it on your system please. There's an hrtimer_init() missing in timer

Re: Urgent bugzilla mainteinance needed

2007-09-23 Thread Natalie Protasevich
On 9/23/07, David Woodhouse <[EMAIL PROTECTED]> wrote: > > On Sun, 2007-09-23 at 11:08 -0700, Natalie Protasevich wrote: > > On 9/23/07, Diego Calleja <[EMAIL PROTECTED]> wrote: > > > Take a look at http://bugzilla.kernel.org/show_bug.cgi?id=3710 > > > > > > bugzilla tries to send a mail to the rep

Re: [PATCH 2/3] cxacru: Reduce initialisation delay

2007-09-23 Thread Simon Arlott
On 23/09/07 17:23, Duncan Sands wrote: > Hi Simon, > >> +usb_info(usbatm, "started firmware\n"); > ... >> +usb_info(usbatm, "loaded config data\n"); > > maybe these should be debug messages. When are they useful? They are probably only useful as debug messages - although it may

Re: Urgent bugzilla mainteinance needed

2007-09-23 Thread David Woodhouse
On Sun, 2007-09-23 at 11:08 -0700, Natalie Protasevich wrote: > On 9/23/07, Diego Calleja <[EMAIL PROTECTED]> wrote: > > Take a look at http://bugzilla.kernel.org/show_bug.cgi?id=3710 > > > > bugzilla tries to send a mail to the reporter, it fails ("unknown user > > account"), > > but the error f

Re: 2.6.23-rc7 + radeonfb/s2ram

2007-09-23 Thread Mihai Donțu
On Sunday 23 September 2007, Mihai Donțu wrote: > I'll to do a full cleanup and start all over. I'm going to nail this thing > down if > it's the last thing I do! (so help me God) :) Found it! The problem was "Framebuffer Console support". It was enabled by default in older configs (like

Re: Memory allocation problem with 2.6.22 after suspend/resume cycle

2007-09-23 Thread Rafael J. Wysocki
On Sunday, 23 September 2007 18:19, Christian P. Schmidt wrote: > Rafael J. Wysocki wrote: > > On Sunday, 23 September 2007 14:38, Christian P. Schmidt wrote: > >> Rafael J. Wysocki wrote: > >>> On Saturday, 22 September 2007 17:41, Christian P. Schmidt wrote: > Hi all, > > I'm havin

Re: Urgent bugzilla mainteinance needed

2007-09-23 Thread Natalie Protasevich
On 9/23/07, Diego Calleja <[EMAIL PROTECTED]> wrote: > Take a look at http://bugzilla.kernel.org/show_bug.cgi?id=3710 > > bugzilla tries to send a mail to the reporter, it fails ("unknown user > account"), > but the error failure is appended as a bugzilla comment. Then bugzilla tries > to > send

Urgent bugzilla mainteinance needed

2007-09-23 Thread Diego Calleja
Take a look at http://bugzilla.kernel.org/show_bug.cgi?id=3710 bugzilla tries to send a mail to the reporter, it fails ("unknown user account"), but the error failure is appended as a bugzilla comment. Then bugzilla tries to send that comment to everyone involved in the bug, including the reporte

Re: 2.6.23-rc7 + radeonfb/s2ram

2007-09-23 Thread Mihai Donțu
On Sunday 23 September 2007, Mihai Donțu wrote: > On Sunday 23 September 2007, Benjamin Herrenschmidt wrote: > > Heh, yup. > > > > There have been some radeonfb patches around -rc6 or so. Can you try > > backing them out and letting us know if that helps a) ? > > > > In that case, Linus, we proba

Re: [00/41] Large Blocksize Support V7 (adds memmap support)

2007-09-23 Thread Jörn Engel
On Sun, 16 September 2007 11:44:09 -0700, Linus Torvalds wrote: > On Sun, 16 Sep 2007, Jörn Engel wrote: > > > > My approach is to have one for mount points and ramfs/tmpfs/sysfs/etc. > > which are pinned for their entire lifetime and another for regular > > files/inodes. One could take a three-w

Re: RFC: A revised timerfd API

2007-09-23 Thread Michael Kerrisk
Hi Davide, Davide Libenzi wrote: > On Sat, 22 Sep 2007, Michael Kerrisk wrote: > >> So I'm inclined to implement option (b), unless someone has strong >> objections. Davide, could I persuade you to help? > > I guess I better do, otherwise you'll continue to stress me ;) Thanks -- that was more

Re: [PATCH RFC 3/9] RCU: Preemptible RCU

2007-09-23 Thread Oleg Nesterov
On 09/10, Paul E. McKenney wrote: > > Work in progress, not for inclusion. Impressive work! a couple of random newbie's questions... > --- linux-2.6.22-b-fixbarriers/include/linux/rcupdate.h 2007-07-19 > 14:02:36.0 -0700 > +++ linux-2.6.22-c-preemptrcu/include/linux/rcupdate.h

2.6.23-rc7-git3: MTD cafe_nand warning

2007-09-23 Thread Carl-Daniel Hailfinger
Hi, when compiling 2.6.23-rc7-git3 with a config which resembles allmodconfig, I get the following warning in modpost: WARNING: Can't handle masks in drivers/mtd/nand/cafe_nand:0 Regards, Carl-Daniel - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: memset as memzero

2007-09-23 Thread Linus Torvalds
On Sun, 23 Sep 2007, Arnaldo Carvalho de Melo wrote: > > bzero! That is it, its nothing new, just a sane name to something [..] No, please no! The BSD memory functions are nasty. If you do bzero, you logically should do the others too, and they are way inferior to the standard ones. Let's no

[PATCH] sysfs: backport of sysfs_readdir fix from 2.6.22.y to 2.6.16.y (CVE-2007-3104)

2007-09-23 Thread Miloslav Semler
This patch solves CVE-2007-3104 - sysfs_readdir oops. More can be found here: http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.22.y.git;a=commit;h=dc351252b33f8fede396d6173dba117bcb933607 Signed-off-by: Miloslav Semler --- diff -uprN linux-2.6.16.53/fs/sysfs/dir.c linux-2.6.16.53-new

Re: memset as memzero

2007-09-23 Thread Arnaldo Carvalho de Melo
Em Sun, Sep 23, 2007 at 12:33:13PM -0400, Robert P. J. Day escreveu: > On Sun, 23 Sep 2007, Dave Jones wrote: > > > There is one useful argument for memzero (or bzero to give it its > > proper name), and that's that it's impossible to screw up. I'm still > > amazed at how many times I see > > > >

Re: 2.6.23-rc7 + radeonfb/s2ram

2007-09-23 Thread Mihai Donțu
On Sunday 23 September 2007, Benjamin Herrenschmidt wrote: > Heh, yup. > > There have been some radeonfb patches around -rc6 or so. Can you try > backing them out and letting us know if that helps a) ? > > In that case, Linus, we probably want to revert them... > > Though looking at your PCI ID

Re: memset as memzero

2007-09-23 Thread Robert P. J. Day
On Sun, 23 Sep 2007, Dave Jones wrote: > There is one useful argument for memzero (or bzero to give it its > proper name), and that's that it's impossible to screw up. I'm still > amazed at how many times I see > > memset (x,size,0); > > in various code. So much so, that my editor highlights

Re: [PATCH 2/3] cxacru: Reduce initialisation delay

2007-09-23 Thread Duncan Sands
Hi Simon, > + usb_info(usbatm, "started firmware\n"); ... > + usb_info(usbatm, "loaded config data\n"); maybe these should be debug messages. When are they useful? Ciao, Duncan. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message t

Re: Memory allocation problem with 2.6.22 after suspend/resume cycle

2007-09-23 Thread Christian P. Schmidt
Rafael J. Wysocki wrote: > On Sunday, 23 September 2007 14:38, Christian P. Schmidt wrote: >> Rafael J. Wysocki wrote: >>> On Saturday, 22 September 2007 17:41, Christian P. Schmidt wrote: Hi all, I'm having a strange problem, of course not reproducible. Sometimes after a suspen

Re: [PATCH 3/3] cxacru: Cleanup code by removing "ret = ret;" assignments

2007-09-23 Thread Duncan Sands
On Sunday 23 September 2007 17:36:08 Simon Arlott wrote: > Cleanup code by removing "ret = ret;" assignments. > > Signed-Off-By: Simon Arlott <[EMAIL PROTECTED]> Acked-by: Duncan Sands <[EMAIL PROTECTED]> - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a m

Re: [PATCH 1/2] cxacru: Use appropriate logging for errors

2007-09-23 Thread Duncan Sands
Hi Simon, don't these error messages (except the first) risk spamming the log if something goes wrong (like the modem being unplugged)? How about rate-limiting them, like usbatm does? Ciao, Duncan. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message

Re: memset as memzero

2007-09-23 Thread Arnaldo Carvalho de Melo
Em Sun, Sep 23, 2007 at 11:32:43AM -0400, Dave Jones escreveu: > On Sat, Sep 22, 2007 at 11:53:53AM -0700, Linus Torvalds wrote: > > > > > > On Sat, 22 Sep 2007, Arjan van de Ven wrote: > > > > > > it doesn't add value memset with a constant 0 is just as fast > > > (since the compiler

Re: [git] CFS-devel, updates

2007-09-23 Thread Mike Galbraith
On Sun, 2007-09-23 at 13:58 +0200, Ingo Molnar wrote: > i'm also wondering - do we even need sync_vruntime() at all? Now that we > fix up vruntime while we migrate tasks across rqs, the global notion of > vruntime makes less and less of a sense. Yeah, I was wondering that too, but it does seem

Re: What's in linux-2.6-block.git for 2.6.24

2007-09-23 Thread Torsten Kaiser
On 9/23/07, Alan Cox <[EMAIL PROTECTED]> wrote: > > Sep 18 18:50:01 treogen [ 63.44] ata1.00: status: {DRDY } > > Sep 18 18:50:01 treogen [ 63.44] ata1: hard resetting link > > Timed out waiting for data transfers to complete that didn't. Does sound > like the device got told the wrong

  1   2   >