[38/50] Fix IPV6 append OOPS.

2007-09-24 Thread Greg KH
From: YOSHIFUJI Hideaki <[EMAIL PROTECTED]> commit e1f52208bb968291f7d9142eff60b62984b4a511 in mainline. [IPv6]: Fix NULL pointer dereference in ip6_flush_pending_frames Some of skbs in sk->write_queue do not have skb->dst because we do not fill skb->dst when we allocate new skb in

[39/50] Fix IPSEC AH4 options handling

2007-09-24 Thread Greg KH
From: Nick Bowler <[EMAIL PROTECTED]> commit 8ee4f391831cb96916a8e8a05f04b1c1d7dd30d8 in mainline. In testing our ESP/AH offload hardware, I discovered an issue with how AH handles mutable fields in IPv4. RFC 4302 (AH) states the following on the subject: For IPv4, the entire option is

[37/50] Fix inet_diag OOPS.

2007-09-24 Thread Greg KH
From: Patrick McHardy <[EMAIL PROTECTED]> commit 0a9c73014415d2a84dac346c1e12169142a6ad37 in mainline [INET_DIAG]: Fix oops in netlink_rcv_skb netlink_run_queue() doesn't handle multiple processes processing the queue concurrently. Serialize queue processing in inet_diag to fix a oops in

[PATCH 2/5] Fix minor bug in yield + add more debug o/p

2007-09-24 Thread Srivatsa Vaddagiri
- Fix a minor bug in yield (seen for CONFIG_FAIR_GROUP_SCHED) - Print nr_running and load information for cfs_rq in /proc/sched_debug - Print >cfs statistics as well (usefull for group scheduling) Signed-off-by : Srivatsa Vaddagiri <[EMAIL PROTECTED]> Signed-off-by : Dhaval Giani <[EMAIL

[35/50] Fix decnet device address listing.

2007-09-24 Thread Greg KH
From: Patrick McHardy <[EMAIL PROTECTED]> commit a2221f308dabb95abb914ad858d36c2462705558 in mainline. Not all are listed, same as the IPV4 devinet bug. Signed-off-by: Patrick McHardy <[EMAIL PROTECTED]> Signed-off-by: David S. Miller <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman

[36/50] Fix device address listing for ipv4.

2007-09-24 Thread Greg KH
From: Stephen Hemminger <[EMAIL PROTECTED]> commit 596e41509550447b030f7b16adaeb0138ab585a8 in mainline Bug: http://bugzilla.kernel.org/show_bug.cgi?id=8876 Not all ips are shown by "ip addr show" command when IPs number assigned to an interface is more than 60-80 (in fact it depends on

[34/50] fix realtek phy id in forcedeth

2007-09-24 Thread Greg KH
From: Willy Tarreau <[EMAIL PROTECTED]> commit ba685fb2abd71162bea6895a99449c1071b01402 in mainline. As noticed by Chuck Ebbert, commit c5e3ae8823693b260ce1f217adca8add1bc0b3de introduced a copy-paste typo, as realtek phy is 0x732 and not 0x1c1. Obvious fix below suggested by Ayaz Abdulla.

[33/50] crypto: blkcipher_get_spot() handling of buffer at end of page

2007-09-24 Thread Greg KH
From: Herbert Xu <[EMAIL PROTECTED]> This corresponds to upstream changesets e4630f9fd8cdc14eb1caa08dafe649eb5ae09985 and 32528d0fbda1093eeeaa7d0a2c498bbb5154099d. [CRYPTO] blkcipher: Fix handling of kmalloc page straddling The function blkcipher_get_spot tries to return a buffer of the

Re: [patch] usb-skeleton leaking locks on open.

2007-09-24 Thread Mark Gross
forgot to CC greg ... On Mon, Sep 24, 2007 at 09:18:22AM -0700, Mark Gross wrote: > This weekend I was hacking around with a trivial USB driver for talking > to the boot load firmware of a USB Bit Whacker. It's running the > MicroChip Pic18 boot loader firmware and I'm putting together a flash

[31/50] Correctly close old nfsd/lockd sockets.

2007-09-24 Thread Greg KH
From: Neil Brown <[EMAIL PROTECTED]> commit 7a1fa065a0264f6b3d3003ba5635289f6583c478 in mainline. Commit aaf68cfbf2241d24d46583423f6bff5c47e088b3 added a bias to sk_inuse, so this test for an unused socket now fails. So no sockets get closed because they are old (they might get closed if the

[32/50] Fix race with shared tag queue maps

2007-09-24 Thread Greg KH
From: Jens Axboe <[EMAIL PROTECTED]> The commit in Linus upstream git tree is f3da54ba140c6427fa4a32913e1bf406f41b5dda. Fix race with shared tag queue maps There's a race condition in blk_queue_end_tag() for shared tag maps, users include stex (promise supertrak thingy) and qla2xxx. The former

[29/50] dir_index: error out instead of BUG on corrupt dx dirs

2007-09-24 Thread Greg KH
From: Eric Sandeen <[EMAIL PROTECTED]> commit 3d82abae9523c33d4a16fdfdfd2bdde316d7b56a in mainline. Convert asserts (BUGs) in dx_probe from bad on-disk data to recoverable errors with helpful warnings. With help catching other asserts from Duane Griffin <[EMAIL PROTECTED]> Signed-off-by: Eric

[30/50] ieee1394: ohci1394: fix initialization if built non-modular

2007-09-24 Thread Greg KH
From: Stefan Richter <[EMAIL PROTECTED]> Initialization of ohci1394 was broken according to one reporter if the driver was statically linked, i.e. not built as loadable module. Dmesg: PCI: Device :02:07.0 not available because of resource collisions ohci1394: Failed to enable OHCI

[28/50] nfs: fix oops re sysctls and V4 support

2007-09-24 Thread Greg KH
From: Alexey Dobriyan <[EMAIL PROTECTED]> commit 49af7ee181f4f516ac99eba85d3f70ed42cabe76 in mainline. NFS unregisters sysctls only if V4 support is compiled in. However, sysctl table is not V4 specific, so unregister it always. Steps to reproduce: [build nfs.ko with CONFIG_NFS_V4=n]

[26/50] Leases can be hidden by flocks

2007-09-24 Thread Greg KH
From: Pavel Emelyanov <[EMAIL PROTECTED]> commit 0e2f6db88a6900bc9db576d6b478b12ee60d61f7 in mainline. The inode->i_flock list contains the leases, flocks and posix locks in the specified order. However, the flocks are added in the head of this list thus hiding the leases from F_GETLEASE

[27/50] ext34: ensure do_split leaves enough free space in both blocks

2007-09-24 Thread Greg KH
From: Eric Sandeen <[EMAIL PROTECTED]> commit ef2b02d3e617cb0400eedf2668f86215e1b0e6af in mainline. The do_split() function for htree dir blocks is intended to split a leaf block to make room for a new entry. It sorts the entries in the original block by hash value, then moves the last half of

[25/50] futex_compat: fix list traversal bugs

2007-09-24 Thread Greg KH
From: Arnd Bergmann <[EMAIL PROTECTED]> commit 179c85ea53bef807621f335767e41e23f86f01df in mainline. The futex list traversal on the compat side appears to have a bug. It's loop termination condition compares: while (compat_ptr(uentry) != >list) But that can't be right because

[PATCH 1/5] Revert recent removal of set_curr_task()

2007-09-24 Thread Srivatsa Vaddagiri
On Tue, Sep 18, 2007 at 09:36:30PM +0200, dimm wrote: > here is a few cleanup/simplification/optimization(s) > based on the recent modifications in the sched-dev tree. [refer http://marc.info/?l=linux-kernel=119014449807290] [snip] > (3) rework enqueue/dequeue_entity() to get rid of >

[23/50] Fix "Fix DAC960 driver on machines which dont support 64-bit DMA"

2007-09-24 Thread Greg KH
From: Andrew Morton <[EMAIL PROTECTED]> commit 3558c9b3232b5f0fd9f32043a191eca20fca64c6 in mainline. sparc32: drivers/block/DAC960.c: In function 'DAC960_V1_EnableMemoryMailboxInterface': drivers/block/DAC960.c:1168: error: 'DMA_32BIT_MASK' undeclared (first use in this function)

[24/50] firewire: fw-ohci: ignore failure of pci_set_power_state (fix suspend regression)

2007-09-24 Thread Greg KH
From: Stefan Richter <[EMAIL PROTECTED]> Minor regression since 2.6.22-rc1: If the experimental firewire-ohci driver instead of ohci1394 was loaded, iBook G3 and older PowerBooks refused to suspend. Same as commit 5511142870046a7bed947d51ec9b320856ee120a plus format string touch-ups from

[21/50] afs: mntput called before dput

2007-09-24 Thread Greg KH
From: Andreas Gruenbacher <[EMAIL PROTECTED]> commit 1a1a1a758bf0107d1f78ff1d622f45987803d894 in mainline. dput must be called before mntput here. Signed-off-by: Andreas Gruenbacher <[EMAIL PROTECTED]> Acked-By: David Howells <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>

[22/50] Fix DAC960 driver on machines which dont support 64-bit DMA

2007-09-24 Thread Greg KH
From: Matthew Wilcox <[EMAIL PROTECTED]> commit 868047fcbb85dbb44ddd98c336fef83236a2c06a in mainline. Addresses http://bugzilla.kernel.org/show_bug.cgi?id=8942 Use PCI_DMA_* constants instead of own private definitions Fall back to 32-bit DMA mask if a 64-bit one fails Signed-off-by: Matthew

[18/50] splice: fix direct splice error handling

2007-09-24 Thread Greg KH
From: Jens Axboe <[EMAIL PROTECTED]> This is a splice patch for 2.6.22 and 2.6.21 (and earlier, I did not check. Let me know if you still maintain older stable trees!). It fixes an infinite loop in do_splice_direct(), when there's either nothing to read or nothing to write and blocking doesn't

[19/50] rpc: fix garbage in printk in svc_tcp_accept()

2007-09-24 Thread Greg KH
From: Wolfgang Walter <[EMAIL PROTECTED]> commit 9db619e66503494e41159de3c76fafabe80d016b in mainline. we upgraded the kernel of a nfs-server from 2.6.17.11 to 2.6.22.6. Since then we get the message lockd: too many open TCP sockets, consider increasing the number of nfsd threads lockd: last

[20/50] disable sys_timerfd()

2007-09-24 Thread Greg KH
From: Andrew Morton <[EMAIL PROTECTED]> commit e42601973b1bce1d2987f82159c1ebeaccc6b310 in mainline. There is still some confusion and disagreement over what this interface should actually do. So it is best that we disable it in 2.6.23 until we get that fully sorted out. (sys_timerfd() was

[16/50] hwmon: End of I/O region off-by-one

2007-09-24 Thread Greg KH
From: Jean Delvare <[EMAIL PROTECTED]> Fix an off-by-one error in the I/O region declaration of two hardware monitoring drivers (lm78 and w83781d.) We were requesting one extra port at the end of the region. This is a regression in 2.6.22 and could prevent other drivers from loading properly.

[17/50] Fix debug regression in video/pwc

2007-09-24 Thread Greg KH
From: Jean Delvare <[EMAIL PROTECTED]> Commit 85237f202d46d55c1bffe0c5b1aa3ddc0f1dce4d introduced the following warning: drivers/media/video/pwc/pwc-if.c: In function "pwc_video_close": drivers/media/video/pwc/pwc-if.c:1211: warning: "i" may be used uninitialized in this function This is true,

[14/50] JFFS2: fix write deadlock regression

2007-09-24 Thread Greg KH
From: Jason Lunz <[EMAIL PROTECTED]> Changeset fc0e01974c7530b7634a63ee3fcc57b845ea from mainline. I've bisected the deadlock when many small appends are done on jffs2 down to this commit: commit 6fe6900e1e5b6fa9e5c59aa5061f244fe3f467e2 Author: Nick Piggin <[EMAIL PROTECTED]> Date: Sun

[15/50] V4L: cx88: Avoid a NULL pointer dereference during mpeg_open()

2007-09-24 Thread Greg KH
From: Steven Toth <[EMAIL PROTECTED]> (cherry picked from commit 48200baeab95fd39a7f4c4f3536c7142a64ac335) [PATCH] V4L: cx88: Avoid a NULL pointer dereference during mpeg_open() Bug: With a hardware encoder board installed as cx88[1] and a non-encoder boards installed as cx88[0], an OOPS is

[12/50] 3w-9xxx: Fix dma mask setting

2007-09-24 Thread Greg KH
From: Adam Radford <[EMAIL PROTECTED]> [SCSI] 3w-9xxx: Fix dma mask setting Extracted from commit 0e78d158b67fba3977f577f293c323359d80dd0e The attached patch updates the 3ware 9000 driver: - Fix dma mask setting to fallback to 32-bit if 64-bit fails. Signed-off-by: Adam Radford <[EMAIL

[13/50] MTD: Initialise s_flags in get_sb_mtd_aux()

2007-09-24 Thread Greg KH
From: David Howells <[EMAIL PROTECTED]> changeset 48440e893d700fb8f0de95fa7d748b711d290365 from mainline. Initialise s_flags in get_sb_mtd_aux() from the flags parameter. Signed-off-by: David Howells <[EMAIL PROTECTED]> Signed-off-by: David Woodhouse <[EMAIL PROTECTED]> Cc: Jason Lunz <[EMAIL

[11/50] POWERPC: Flush registers to proper task context

2007-09-24 Thread Greg KH
From: Kumar Gala <[EMAIL PROTECTED]> commit 0ee6c15e7ba7b36a217cdadb292eeaf32a057a59 in mainline. When we flush register state for FP, Altivec, or SPE in flush_*_to_thread we need to respect the task_struct that the caller has passed to us. Most cases we are called with current, however

[10/50] ACPI: Validate XSDT, use RSDT if XSDT fails

2007-09-24 Thread Greg KH
From: Zhao Yakui <[EMAIL PROTECTED]> commit 9f3119b70cf189530f1b46a006a052e171a1622f in mainline. ACPI 1.0 used an RSDT with 32-bit physical addresses. ACPI 2.0 adds an XSDT with 32-bit physical addresses. An ACPI 2.0 aware OS is supposed to use the XSDT (when present) instead of the RSDT.

[08/50] MTD: Makefile fix for mtdsuper

2007-09-24 Thread Greg KH
From: Satyam Sharma <[EMAIL PROTECTED]> commit bec494775600b1cd7c144d31a09e1f46df9c6324 in mainline. We want drivers/mtd/{mtdcore, mtdsuper, mtdpart}.c to be built and linked into the same mtd.ko module. Fix the Makefile to ensure this, and remove duplicate MODULE_ declarations in mtdpart.c, as

[09/50] USB: fix linked list insertion bugfix for usb core

2007-09-24 Thread Greg KH
From: Nathael Pajani <[EMAIL PROTECTED]> commit e5dd01154c1e9ca2400f4682602d1a4fa54c25dd in mainline. This patch fixes the order of list_add_tail() arguments in usb_store_new_id() so the list can have more than one single element. Signed-off-by: Nathael Pajani <[EMAIL PROTECTED]>

[06/50] sigqueue_free: fix the race with collect_signal()

2007-09-24 Thread Greg KH
From: Oleg Nesterov <[EMAIL PROTECTED]> commit 60187d2708caa870f0825d753df1612ea688eb9e in mainline. Spotted by taoyue <[EMAIL PROTECTED]> and Jeremy Katz <[EMAIL PROTECTED]>. collect_signal: sigqueue_free: list_del_init(>list);

[07/50] kconfig: oldconfig shall not set symbols if it does not need to

2007-09-24 Thread Greg KH
From: Roman Zippel <[EMAIL PROTECTED]> commit f82f3f9422d4da1eeec6f6cf3e64c6c34c4fe19b in mainline. Avoid setting the value if the symbol doesn't need to be changed or can't be changed. Later choices may change the dependencies and thus the possible input range. make oldconfig from a 2.6.22

[05/50] setpgid(child) fails if the child was forked by sub-thread

2007-09-24 Thread Greg KH
From: Oleg Nesterov <[EMAIL PROTECTED]> commit b07e35f94a7b6a059f889b904529ee907dc0634d in mainline tree Spotted by Marcin Kowalczyk <[EMAIL PROTECTED]>. sys_setpgid(child) fails if the child was forked by sub-thread. Fix the "is it our child" check. The previous commit

[03/50] DVB: get_dvb_firmware: update script for new location of tda10046 firmware

2007-09-24 Thread Greg KH
From: Andreas Arens <[EMAIL PROTECTED]> cherry picked from commit c545d6adbcacd296f7457bd992556feb055379de Update get_dvb_firmware script for the new location of the tda10046 firmware. The old location doesn't work anymore. Signed-off-by: Andreas Arens <[EMAIL PROTECTED]> Signed-off-by:

[04/50] DVB: b2c2-flexcop: fix Airstar HD5000 tuning regression

2007-09-24 Thread Greg KH
From: Trent Piepho <[EMAIL PROTECTED]> cherry picked from commit 6175e487e314385e37f06448847e4c46c20edb44 b2c2-flexcop: fix Airstar HD5000 tuning regression Git changeset 6bdcc6e6dbab8daffd05e5026486f34ba41a6c72 dropped the stand-alone lgh06xf module, whose functionality was absorbed into the

[00/50] 2.6.22-stable review

2007-09-24 Thread Greg KH
This is the start of the stable review cycle for the 2.6.22.8 release. There are 50 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let us know. If anyone is a maintainer of the proper subsystem, and wants to add a

[02/50] DVB: get_dvb_firmware: update script for new location of sp8870 firmware

2007-09-24 Thread Greg KH
From: Michael Krufky <[EMAIL PROTECTED]> cherry picked from commit 302170a4b47e869372974abd885dd11d5536b64a get_dvb_firmware: update script for new location of sp8870 firmware This url is no longer valid: http://www.technotrend.de/new/217g/tt_Premium_217g.zip Replace with:

[01/50] V4L: ivtv: fix VIDIOC_S_FBUF: new OSD values were never set

2007-09-24 Thread Greg KH
From: Hans Verkuil <[EMAIL PROTECTED]> cherry picked from commit c3624f99a8c06cfe75e0b06f23a7f7cea9d2d5ff ivtv: fix VIDIOC_S_FBUF support: new OSD values were never actually set. The values set with VIDIOC_S_FBUF were not actually used until the next VIDIOC_S_FMT. Fixed. Signed-off-by: Hans

[PATCH 0/5] Fair group scheduler - various fixes

2007-09-24 Thread Srivatsa Vaddagiri
Hello Ingo and Andrew, Here are various patches to fair group scheduler code present in sched-devel and in 2.6.23-rc7-mm1. These patches should apply against both sched-devel git tree and 2.6.23-rc7-mm1 (as they are both in sync now). Pls consider for inclusion after review. [there is

[patch] usb-skeleton leaking locks on open.

2007-09-24 Thread Mark Gross
This weekend I was hacking around with a trivial USB driver for talking to the boot load firmware of a USB Bit Whacker. It's running the MicroChip Pic18 boot loader firmware and I'm putting together a flash program for writing new FW to the thing. Anyway in my use of the usb-skeleton.c as my

Re: [Patch 1/2] Trace code and documentation (resend)

2007-09-24 Thread Randy Dunlap
On Mon, 24 Sep 2007 16:41:14 +0100 Christoph Hellwig wrote: > On Mon, Sep 24, 2007 at 08:38:34AM -0700, David Wilder wrote: > > >NACK, don't put code into Documentation/. Put it into kernel as it's > > >actually useful kernel code. > > > > Are you suggesting moving the example code into

Re: 2.6.23-rc7-mm1

2007-09-24 Thread Balbir Singh
Pavel Emelyanov wrote: > Balbir Singh wrote: >> Pavel Emelyanov wrote: >>> Please, try with this patch too: >>> >>> diff --git a/fs/locks.c b/fs/locks.c >>> index c0fe71a..f599508 100644 >>> --- a/fs/locks.c >>> +++ b/fs/locks.c >>> @@ -1423,7 +1423,7 @@ int generic_setlease(struct file *filp,

Re: Urgent bugzilla mainteinance needed

2007-09-24 Thread Martin Bligh
Bugzilla really shouldn't be accepting any mail with empty reverse-path (MAIL FROM:<>) Updated to handle this case. Ah, then should be easy fix then. I don't have access to the system though, will have to helplessly wait until one of the guys picks up... :( Sorry, can't fix this - I don't

Re: 2.6.23-rc7-mm1 - 'touch' command causes Oops.

2007-09-24 Thread Valdis . Kletnieks
On Mon, 24 Sep 2007 08:45:32 PDT, Dave Hansen said: > Any idea which fs and distro this was? I'd like to add it to my tests. initscripts-8.56-1, from Fedora Rawhide, /etc/rc.sysinit, line 325: touch /dev/.in_sysinit >/dev/null 2>&1 Specific enough? :) pgp3OvCOFx0xa.pgp Description: PGP

MAX_LOCKDEP_SUBCLASSES too low in 2.6.23-rc7-mm1

2007-09-24 Thread Mathieu Desnoyers
Hi Ingo, I got the following printk when booting 2.6.23-rc7-mm1 : BUG: MAX_LOCKDEP_SUBCLASSES too low! turning off the locking correctness validator. Is it known/correct situation ? Regards, Mathieu Here is my config. # # Automatically generated make config: don't edit # Linux kernel

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

2007-09-24 Thread Scott Wood
Jochen Friedrich wrote: 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. Huh?

Re: Urgent bugzilla mainteinance needed

2007-09-24 Thread Jon Tollefson
Martin J. Bligh wrote: > 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

Re: [PATCH 2/3] CRED: Split the task security data and move part of it into struct cred

2007-09-24 Thread David Howells
Serge E. Hallyn <[EMAIL PROTECTED]> wrote: > Ah, ok, so the daemon would use this to act under the user's > credentials. I was thinking the user would be using this to act > under the daemon's or kernel's sid. Think kernel service rather than daemon. NFSd provides its own daemons to override

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

2007-09-24 Thread Thomas Gleixner
On Mon, 2007-09-24 at 08:42 -0700, Davide Libenzi wrote: > > > + ticks += (u64) > > > hrtimer_forward(>tmr, > > > hrtimer_cb_get_time(>tmr), > > > > You need to use ctx->tmr.base->get_time() here, otherwise you

Re: Mask Issue?

2007-09-24 Thread David Woodhouse
On Mon, 2007-09-24 at 16:39 +0100, Mel Gorman wrote: > I noticed this in a -mm recently and never got around to kicking it > properly because I suspected it was a compiler issue. What version > of gcc and binutils are you using? > > David Woodhouse added to cc in case this is a known problem.

[patch] Show ioremap and vmap in /proc/meminfo

2007-09-24 Thread Masatake YAMATO
Hi, For long time I've been thought the following equation is correct: The "MemUsage" is about "Active + Inactive + Slab + PageTables + VmallocUsed" in /proc/meminfo. (I'm not only the person. See https://bugzilla.redhat.com/show_bug.cgi?id=243657.) However, some VmallocUsed doesn't

Re: 2.6.23-rc7-mm1 - 'touch' command causes Oops.

2007-09-24 Thread Dave Hansen
On Mon, 2007-09-24 at 08:58 -0400, [EMAIL PROTECTED] wrote: > > do_times passes an unitialized vfsmount into mnt_want_write. Here's > > the quick fix (untested), but the right fix is to restructure the complete > > mess do_utimes is (never let a libc developer write your kernel code.. :)): > >

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

2007-09-24 Thread Davide Libenzi
On Mon, 24 Sep 2007, Thomas Gleixner wrote: > > struct timerfd_ctx { > > struct hrtimer tmr; > > + int clockid; > > ktime_t tintv; > > wait_queue_head_t wqh; > > int expired; > > + u64 ticks; > > }; > > Can you please restructure the struct in a way which does not result in

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

2007-09-24 Thread Andrea Arcangeli
On Sun, Sep 23, 2007 at 08:56:39AM +0200, Goswin von Brederlow wrote: > As a user I know it because I didn't put a kernel source into /tmp. A > programm can't reasonably know that. Various apps requires you (admin/user) to tune the size of their caches. Seems like you never tried to setup a

Re: [Patch 1/2] Trace code and documentation (resend)

2007-09-24 Thread Christoph Hellwig
On Mon, Sep 24, 2007 at 08:38:34AM -0700, David Wilder wrote: > >NACK, don't put code into Documentation/. Put it into kernel as it's > >actually useful kernel code. > > Are you suggesting moving the example code into kernel? Or complaining > about example code in /Documentation? Both.

Re: Mask Issue?

2007-09-24 Thread Mel Gorman
On (19/09/07 17:57), Chris Holvenstot didst pronounce: > Still being a little new at this I am not sure if this is an issue at > all or not but I noted that while building the 2.6.23-rc6-git8 kernel > this afternoon I received the following error message: > > Building modules, stage 2. >

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

2007-09-24 Thread Davide Libenzi
On Mon, 24 Sep 2007, Michael Kerrisk wrote: > 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. There's no problem if they're not contiguous. Holes, unless filled

Re: [Patch 1/2] Trace code and documentation (resend)

2007-09-24 Thread David Wilder
Christoph Hellwig wrote: On Fri, Sep 21, 2007 at 09:23:28PM -0700, David J. Wilder wrote: My last posting was mangled by my mailer. I hope this one is better. Also corrected Randy's concerns. Please see previous posting for more information: http://lkml.org/lkml/2007/9/19/4 (PATCH 0/2) Note:

Re: 2.6.23-rc7-mm1

2007-09-24 Thread Pavel Emelyanov
Balbir Singh wrote: > Pavel Emelyanov wrote: >> Please, try with this patch too: >> >> diff --git a/fs/locks.c b/fs/locks.c >> index c0fe71a..f599508 100644 >> --- a/fs/locks.c >> +++ b/fs/locks.c >> @@ -1423,7 +1423,7 @@ int generic_setlease(struct file *filp, >> locks_copy_lock(new_fl,

Re: Kernel bug

2007-09-24 Thread Mel Gorman
On (19/09/07 17:43), Branislav Bozgai didst pronounce: > uname -a > Linux tweety 2.6.21.3-default #2 Tue Aug 7 17:11:50 EDT 2007 i686 athlon > i386 GNU/Linux > Hello, my system is crashing with following info in /var/log/messages, > thought I send it to you. Does this happen after

[PATCH 2/2] Uninline find_pid etc set of functions

2007-09-24 Thread Pavel Emelyanov
The find_pid/_vpid/_pid_ns functions are used to find the struct pid by its id, depending on whic id - global or virtual - is used. The find_vpid() is a macro that pushes the current->nsproxy->pid_ns on the stack to call another function - find_pid_ns(). It turned out, that this dereference

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

2007-09-24 Thread Jeff Garzik
James Bottomley wrote: On the other hand, I think I can find a nice lever to move Marvell with, so I'll take this on without needing potentially to compromise your contacts. FWIW Marvell is moving quite nicely... they are actively providing docs under NDA, and sometimes sample code (or even

[PATCH 1/2] Uninline find_task_by_xxx set of functions

2007-09-24 Thread Pavel Emelyanov
The find_task_by_something is a set of macros are used to find task by pid depending on what kind of pid is proposed - global or virtual one. All of them are wrappers above the most generic one - find_task_by_pid_type_ns() - and just substitute some args for it. It turned out, that dereferencing

Re: [RFC] New kernel-message logging API

2007-09-24 Thread Joe Perches
On Mon, 2007-09-24 at 11:22 +0200, Michael Holzheu wrote: > Together with the idea of not allowing multiple lines in the kprint_xxx > functions, that would go with our approach having message numbers to > identify a message. How does this equate/give message numbers? > If you do it like that,

Re: 2.6.23-rc7-mm1 ia64 build issue in efi.c

2007-09-24 Thread Bob Picco
There isn't a total_memory identifier within this function's scope. The patch was compile/link tested. Signed-off-by: Bob Picco <[EMAIL PROTECTED]> arch/ia64/kernel/efi.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux-2.6.23-rc7-mm1/arch/ia64/kernel/efi.c

Re: [Patch 1/2] Trace code and documentation (updated)

2007-09-24 Thread David Wilder
Christoph Hellwig wrote: Your mailer wrapper the patch so I can't actually apply it to start playing with the patch. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: [PATCH] change inotifyfs magic as the same magic is used for futexfs (v2)

2007-09-24 Thread Randy Dunlap
On Mon, 24 Sep 2007 12:46:06 +0400 Andrey Mirkin wrote: > From: Andrey Mirkin <[EMAIL PROTECTED]> > > Right now futexfs and inotifyfs have one magic 0xBAD1DEA, that looks a little > bit confusing. > Use 0xBAD1DEA as magic for futexfs and 0x2BAD1DEA as magic for inotifyfs. > > Signed-off-by:

Re: [v4l-dvb-maintainer] [PATCH] cafe_ccic: default to allocating DMA buffers at probe time

2007-09-24 Thread Mauro Carvalho Chehab
Hi Andres, Still missing on your patch is your SOB ;) From what I got from Jon, he is ok with your patch. Cheers, Mauro. Em Qua, 2007-09-19 às 01:44 -0400, Andres Salomon escreveu: > By default, we allocate DMA buffers when actually reading from the video > capture device. On a system with

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

2007-09-24 Thread Rafael J. Wysocki
On Monday, 24 September 2007 16:23, Thomas Gleixner wrote: > On Mon, 2007-09-24 at 15:52 +0200, Rafael J. Wysocki wrote: > > > > > So I really wonder, why noacpitimer on the kernel command line makes > > > > > any > > > > > difference. I'm confused. > > > > > > > > \metoo > > > > > > > > Well,

Re: 2.6.23-rc7-mm1

2007-09-24 Thread Reuben Farrelly
On 24/09/2007 7:17 PM, Andrew Morton wrote: ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23-rc7/2.6.23-rc7-mm1/ - New git tree git-powerpc-galak.patch added to the -mm lineup: ppc32 things, mainly (Kumar Gala <[EMAIL PROTECTED]>) I'm observing a problem with this

Re: 2.6.23-rc7 + radeonfb/s2ram

2007-09-24 Thread Andreas Herrmann
On Sat, Sep 22, 2007 at 07:27:59AM +0200, Mihai Donțu wrote: > Hi, > > Today, out of curiosity, I pulled 2.6.23-rc7 (leave on the edge in a quiet > weekend). > Anyway, it seems that radeonfb and my: > "01:05.0 VGA compatible controller: ATI Technologies Inc ATI Radeon XPRESS > 200M 5955 (PCIE)"

Re: [linux-usb-devel] 2.6.23-rc7-mm1

2007-09-24 Thread Alan Stern
On Mon, 24 Sep 2007, Jiri Slaby wrote: > On 09/24/2007 11:17 AM, Andrew Morton wrote: > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23-rc7/2.6.23-rc7-mm1/ > > Fine, but on some boots (I noticed this on rc6-mm1 too, but not before): > :00:1a.7 EHCI: BIOS handoff failed

Re: [PATCH] sb1250-mac: Driver model & phylib update

2007-09-24 Thread Maciej W. Rozycki
On Fri, 21 Sep 2007, Andrew Morton wrote: > > A driver model and phylib update. > > akpm:/usr/src/25> diffstat patches/git-net.patch | tail -n 1 > 1013 files changed, 187667 insertions(+), 23587 deletions(-) > > Sorry, but raising networking patches against Linus's crufty > old mainline tree

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

2007-09-24 Thread Arjan van de Ven
> It look like a false positive to me, but really, for a patchset of > this complexity and maturity I cannot fathom how it could have > escaped any lockdep testing. the code tries to implement per cpu spinlocks, or rather it tries to bring back the brlocks from way past cute. we can educate

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

2007-09-24 Thread Jiri Kosina
(Adrian should be CCed on things regarding 2.6.16.y kernel) On Sun, 23 Sep 2007, Miloslav Semler wrote: > This patch solves CVE-2007-3104 - sysfs_readdir oops. > More can be found here: >

Re: 2.6.23-rc7 - _random_ IRQ23 : nobody cared

2007-09-24 Thread David Newall
Paul Rolland "(???) wrote: Hell, IRQ 23 is shared between libata and my modem !!! Tried using the modem? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at

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

2007-09-24 Thread Thomas Gleixner
On Mon, 2007-09-24 at 15:52 +0200, Rafael J. Wysocki wrote: > > > > So I really wonder, why noacpitimer on the kernel command line makes any > > > > difference. I'm confused. > > > > > > \metoo > > > > > > Well, it was probably read as "noacpi". :-) > > > > Hmm, ACPI is in the log all over the

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

2007-09-24 Thread James Bottomley
On Sun, 2007-09-23 at 20:14 -0400, Jeff Garzik wrote: > 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

Re: [PATCH 2/3] CRED: Split the task security data and move part of it into struct cred

2007-09-24 Thread Serge E. Hallyn
Quoting David Howells ([EMAIL PROTECTED]): > Move into the cred struct the part of the task security data that defines how > a > task acts upon an object. The part that defines how something acts upon a > task > remains attached to the task. > > For SELinux this requires some of

Re: + git-nfs-vs-nfs-convert-to-new-aops.patch added to -mm tree

2007-09-24 Thread Peter Zijlstra
On Thu, 20 Sep 2007 13:20:47 +0200 Peter Zijlstra <[EMAIL PROTECTED]> wrote: > /me continues the mmap write on nfs adventure... My test prog reliably hangs like so: mm_tester D 0040b305 0 2701 2699 6042cef0 602ca520 617dfa50 617de000 617dfa90 60010b62 617dfa80 6002785d

Re: [patch 1/2] VFS: new fgetattr() file operation

2007-09-24 Thread Miklos Szeredi
> > But it's has various dawbacks, like rmdir doesn't work if there are > > open files within an otherwise empty directory. > > > > I'd happily accept suggestions on how to deal with this differenty. > > NFS has that problem because it really has to sillyrename into the same > directory. I don't

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

2007-09-24 Thread Rafael J. Wysocki
On Monday, 24 September 2007 15:05, Thomas Gleixner wrote: > On Mon, 2007-09-24 at 14:57 +0200, Rafael J. Wysocki wrote: > > > > http://tglx.de/projects/hrtimers/2.6.23-rc4/patch-2.6.23-rc4-hrt1.patches.tar.bz2 > > > > > > > > applied. I also have the 2.6.23-rc6-mm1 dmesg output ready, but > >

Re: [patch 1/2] VFS: new fgetattr() file operation

2007-09-24 Thread Alan Cox
> But it's has various dawbacks, like rmdir doesn't work if there are > open files within an otherwise empty directory. > > I'd happily accept suggestions on how to deal with this differenty. NFS has that problem because it really has to sillyrename into the same directory. I don't see that

Re: [patch 1/2] VFS: new fgetattr() file operation

2007-09-24 Thread Miklos Szeredi
> On Mon, Sep 24, 2007 at 03:18:10PM +0200, Miklos Szeredi wrote: > > > Or not support such a broken protocol at all. > > > > Wonder what people would say if we removed support for NFSv[23]. > > > > Just because a protocol does not support "perfect" UNIX semantics, it > > doesn't mean it's

Re: [PATCH 14/22] NFS: Use local caching

2007-09-24 Thread Peter Staubach
David Howells wrote: David Howells <[EMAIL PROTECTED]> wrote: Peter Staubach <[EMAIL PROTECTED]> wrote: Did I miss the section where the modified semantics about which mounted file systems can use the cache and which ones can not was implemented? Yes. fs/nfs/super.c:

Re: 2.6.23-rc7-mm1

2007-09-24 Thread Vlad Yasevich
Cedric Le Goater wrote: > putting Vlad in Cc: > > Cedric Le Goater wrote: >> Andrew Morton wrote: >>> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23-rc7/2.6.23-rc7-mm1/ >> I also get this compile error on s390. 'linux/scatterlist.h' has disappeared >> from the #include

Re: [patch 1/2] VFS: new fgetattr() file operation

2007-09-24 Thread Christoph Hellwig
On Mon, Sep 24, 2007 at 03:18:10PM +0200, Miklos Szeredi wrote: > > Or not support such a broken protocol at all. > > Wonder what people would say if we removed support for NFSv[23]. > > Just because a protocol does not support "perfect" UNIX semantics, it > doesn't mean it's broken. By that

Re: USB autosuspend and turning of usb pendrive leds

2007-09-24 Thread Oliver Neukum
Am Montag 24 September 2007 schrieb Hans de Goede: > Oliver Neukum wrote: > > Am Freitag 21 September 2007 schrieb Jiri Kosina: > >> On Fri, 21 Sep 2007, Hans de Goede wrote: > >> > >>> Thats not what I had in mind, autosuspend doesn't work (presumably > >>> because hal keeps polling for media

Re: [patch 1/2] VFS: new fgetattr() file operation

2007-09-24 Thread Miklos Szeredi
> On Mon, Sep 24, 2007 at 03:06:06PM +0200, Miklos Szeredi wrote: > > A file isn't deleted while there are still links or open files > > refering to it. So getting the attributes for a file with nlink==0 is > > perfectly valid while the file is still open. > > Is it? Why not just pretend that

Re: 2.6.23-rc7-mm1

2007-09-24 Thread Balbir Singh
Pavel Emelyanov wrote: > Please, try with this patch too: > > diff --git a/fs/locks.c b/fs/locks.c > index c0fe71a..f599508 100644 > --- a/fs/locks.c > +++ b/fs/locks.c > @@ -1423,7 +1423,7 @@ int generic_setlease(struct file *filp, > locks_copy_lock(new_fl, lease); >

Re: [patch 1/2] VFS: new fgetattr() file operation

2007-09-24 Thread Miklos Szeredi
> > If a network filesystem protocol can't handle operations (be it data > > or metadata) on an unlinked file, we must do sillirenaming, so that > > the file is not actually unlinked. > > Or not support such a broken protocol at all. Wonder what people would say if we removed support for

Re: [PATCH] Uninline kcalloc()

2007-09-24 Thread Valdis . Kletnieks
On Mon, 24 Sep 2007 08:59:56 EDT, Kyle Moffett said: > Proper fix is to give __kmalloc a "void *caller" parameter and have > all of the various wrapper functions pass in the value of > __builtin_return_address() appropriately. I believe that even works > properly for inline functions which

[PATCH rc7-mm1] fix BUG at mm/swap.c:405!

2007-09-24 Thread Hugh Dickins
a.k.a. mm-use-pagevec-to-rotate-reclaimable-page-fix-2.patch rotate_reclaimable_page() is not necessarily called with IRQ disabled: it must do so when calling the helpfully commented pagevec_move_tail(). Hmm, if pagevec_move_tail() is assuming IRQ disabled, why should it bother with

Re: 2.6.23-rc7-mm1

2007-09-24 Thread Pavel Emelyanov
Please, try with this patch too: diff --git a/fs/locks.c b/fs/locks.c index c0fe71a..f599508 100644 --- a/fs/locks.c +++ b/fs/locks.c @@ -1423,7 +1423,7 @@ int generic_setlease(struct file *filp, locks_copy_lock(new_fl, lease); locks_insert_lock(before, new_fl); - *flp =

Re: [patch 1/2] VFS: new fgetattr() file operation

2007-09-24 Thread Matthew Wilcox
On Mon, Sep 24, 2007 at 03:06:06PM +0200, Miklos Szeredi wrote: > A file isn't deleted while there are still links or open files > refering to it. So getting the attributes for a file with nlink==0 is > perfectly valid while the file is still open. Is it? Why not just pretend that the

<    1   2   3   4   5   6   7   8   9   10   >