Re: [patch 14/22] pollfs: pollable futex

2007-05-06 Thread Ulrich Drepper
On 5/6/07, Andrew Morton <[EMAIL PROTECTED]> wrote: What is your position on the timerfd/signalfd/etc patches? One more thing: recently in a network-related discussion with DaveM et.al. we came across a situation where we want events from the kernel. The requirement is for fast event

Re: [patch 14/22] pollfs: pollable futex

2007-05-06 Thread Ulrich Drepper
On 5/6/07, Andrew Morton <[EMAIL PROTECTED]> wrote: What is your position on the timerfd/signalfd/etc patches? Seems to me that if we were to have fancy new event-delivery machinery like kevent then the timerfd/signalfd work is heading in the other direction and ultimately would prove to have

Re: [00/17] Large Blocksize Support V3

2007-05-06 Thread David Chinner
On Sun, May 06, 2007 at 10:48:23PM -0600, Eric W. Biederman wrote: > David Chinner <[EMAIL PROTECTED]> writes: > > > On Fri, May 04, 2007 at 07:33:54AM -0600, Eric W. Biederman wrote: > >> > > >> > So while the jury is out about how many other filesystems might use > >> > it, I suspect it's more

Re: [PATCH 2/3] ARM: include IXP4xx "fuses" support

2007-05-06 Thread Alexey Zaytsev
Hello, Krzysztof. On 5/7/07, Krzysztof Halasa <[EMAIL PROTECTED]> wrote: ... +IXP4XX_FUSE_RSA | \ +IXP4XX_FUSE_XSCALE_MAX_FREQ) + #ifndef __ASSEMBLY__ +static inline u32 ixp4xx_read_fuses(void) +{ +

Re: OOPS when swsusp/resume when connected to the internet via BT and GPRS

2007-05-06 Thread Adrian Bunk
On Mon, May 07, 2007 at 07:04:29AM +0200, CIJOML wrote: > Hi Michal, > > my kernel is tainted with madwifi opensource driver :). Only binary part is > ath_hal module, which doesn't have anythink to do with this part of kernel. Any module can change any part of the kernel, e.g. a part of the

[patch] add support for reading stdin with gen_init_cpio

2007-05-06 Thread Mike Frysinger
Treat an argument of "-" as meaning "read stdin for cpio files" so gen_init_cpio can be piped into. Signed-off-by: Mike Frysinger <[EMAIL PROTECTED]> --- diff --git a/usr/gen_init_cpio.c b/usr/gen_init_cpio.c index 8365db6..7abc07f 100644 --- a/usr/gen_init_cpio.c +++ b/usr/gen_init_cpio.c @@

Re: OOPS when swsusp/resume when connected to the internet via BT and GPRS

2007-05-06 Thread CIJOML
Hi Michal, my kernel is tainted with madwifi opensource driver :). Only binary part is ath_hal module, which doesn't have anythink to do with this part of kernel. Ath_hal is doing RF part of card to protect others tune/transmit in other frequency than 2.5/5.8GHz (Wifi 802.11a/b/g). My kernel

Re: [00/17] Large Blocksize Support V3

2007-05-06 Thread David Chinner
On Fri, May 04, 2007 at 07:31:37AM -0600, Eric W. Biederman wrote: > David Chinner <[EMAIL PROTECTED]> writes: > > > On Fri, Apr 27, 2007 at 12:04:03AM -0700, Andrew Morton wrote: > > I've got several year-old Irix bugs assigned that are hit every so > > often where one page in the aggregated

Re: [PATCH] MM: implement MADV_FREE lazy freeing of anonymous memory

2007-05-06 Thread Ulrich Drepper
Rik van Riel wrote: It's trivial to merge the MADV_FREE #defines into the kernel though, and aliasing MADV_FREE to MADV_DONTNEED for the time being is a one-liner - just an extra constant into the big switch statement in sys_madvise(). Until the semantics of the implementation is cut into

Re: [00/17] Large Blocksize Support V3

2007-05-06 Thread Eric W. Biederman
David Chinner <[EMAIL PROTECTED]> writes: > On Fri, May 04, 2007 at 07:33:54AM -0600, Eric W. Biederman wrote: >> > >> > So while the jury is out about how many other filesystems might use >> > it, I suspect it's more than you might think. At the very least, >> > there may be some IA64 users who

Re: [PATCH] MM: implement MADV_FREE lazy freeing of anonymous memory

2007-05-06 Thread Rik van Riel
Ulrich Drepper wrote: Rik van Riel wrote: I think that maybe for 2.6.22 we should just alias MADV_FREE to run with the MADV_DONTNEED functionality, so that the glibc people can make the change on their side while we figure out what will be the best thing to do on the kernel side. No need for

Re: JBD: ext2online wants too many credits (744 > 256)

2007-05-06 Thread Andrew Morton
On Mon, 7 May 2007 00:26:26 +0200 Frank van Maarseveen <[EMAIL PROTECTED]> wrote: > 2.6.20.6, FC4: > > I created a 91248k ext3 fs with 4k blocksize: > > | mke2fs -j -b 4096 /dev/vol1/project > | mke2fs 1.38 (30-Jun-2005) > | Filesystem label= > | OS type: Linux > | Block size=4096 (log=2) > |

Re: [00/17] Large Blocksize Support V3

2007-05-06 Thread David Chinner
On Fri, May 04, 2007 at 07:33:54AM -0600, Eric W. Biederman wrote: > > > > So while the jury is out about how many other filesystems might use > > it, I suspect it's more than you might think. At the very least, > > there may be some IA64 users who might be trying to transition their > > way to

Re: SCSI discover order strangeness [Bug 8412] New: CONFIG_MOUSE_PS2 makes RAID detection fail

2007-05-06 Thread Neil Brown
On Tuesday May 1, [EMAIL PROTECTED] wrote: > On Tue, May 01, 2007 at 07:46:36PM +1000, Neil Brown wrote: > > > > My first thought was that the new threaded device discovery was > > allowing md init to happen before scsi discovery was complete. Maybe > > the presence of CONFIG_MOUSE_PS2 makes

[GIT PULL] please pull infiniband.git

2007-05-06 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 is the second batch of merges for 2.6.22 --

[PATCH] relay: use plain timer instead of delayed work

2007-05-06 Thread Tom Zanussi
Patch updated to include changes suggested by Oleg Nesterov and Satyam Sharma. --- relay doesn't need to use schedule_delayed_work() for waking readers when a simple timer will do. Signed-off-by: Tom Zanussi <[EMAIL PROTECTED]> --- include/linux/relay.h |3 ++- kernel/relay.c|

Re: [PATCH] relay: use plain timer instead of delayed work

2007-05-06 Thread Tom Zanussi
On Sun, 2007-05-06 at 15:40 +0530, Satyam Sharma wrote: > Hi Tom, > > On 5/6/07, Tom Zanussi <[EMAIL PROTECTED]> wrote: > > [...] > > relay doesn't need to use schedule_delayed_work() for waking readers > > when a simple timer will do. > > > > Signed-off-by: Tom Zanussi <[EMAIL PROTECTED]> > >

Re: [PATCH] relay: use plain timer instead of delayed work

2007-05-06 Thread Tom Zanussi
On Sun, 2007-05-06 at 16:47 +0400, Oleg Nesterov wrote: > On 05/05, Tom Zanussi wrote: > > > > This patch makes relay use timers instead of workqueues for reader > > waking. > > A couple of very minor nits, > > > @@ -337,11 +334,11 @@ static void __relay_reset(struct rchan_buf *buf, > >

Re: Back to the future.

2007-05-06 Thread Kyle Moffett
On May 06, 2007, at 22:13:51, David Lang wrote: anyone who is doing a hibernate or suspend who expect all the network connections to be working afterwords is dreaming or smokeing something. this is just another way that the failure can show up. in fact, I would say that it would probalby

Re: get_user_pages vs mmap MAP_FIXED bug

2007-05-06 Thread Andrew Morton
On Mon, 07 May 2007 11:26:44 +1000 Rusty Russell <[EMAIL PROTECTED]> wrote: > On Sun, 2007-05-06 at 17:01 +1000, Rusty Russell wrote: > > This bug is in 2.6.21-rc7-mm2, but not 2.6.21. Haven't tested > > 2.6.21-mm1 yet. > > OK, 2.6.21-mm1 fails too. 2.6.21-git6 ... is fine. > > Here's a

Re: Back to the future.

2007-05-06 Thread David Lang
On Thu, 3 May 2007, Pavel Machek wrote: Hi! nobody is suggesting that you leave peocesses running while you do the snapshot, what is being proposed is 1. pause userspace (prevent scheduling) 2. make snapshot image of memory 3. make mounted filesystems read-only (possibly with

Re: [PATCH] MM: implement MADV_FREE lazy freeing of anonymous memory

2007-05-06 Thread Ulrich Drepper
Rik van Riel wrote: I think that maybe for 2.6.22 we should just alias MADV_FREE to run with the MADV_DONTNEED functionality, so that the glibc people can make the change on their side while we figure out what will be the best thing to do on the kernel side. No need for that. We can later

Re: [PATCH 2/7] [RFC] Common power driver for Linux gadgets

2007-05-06 Thread Anton Vorontsov
On Sun, May 06, 2007 at 06:39:27PM -0700, David Brownell wrote: > On Thursday 12 April 2007, David Brownell wrote: > > > This driver used to stop code/logic duplication through different > > > machines we porting at handhelds.org. pda_power register machs' power > > > supplies, and will take care

[PATCH] Fix/add raw1394 CONFIG_COMPAT code

2007-05-06 Thread Petr Vandrovec
Hello Dan, This patch makes raw1394 in current Linux git tree (2.6.21-1570) usable to 32bit applications running on 64bit kernel (tested on i386 app using x86_64 kernel). I had to make following changes: * read() always failed with -EFAULT. This was happening due to raw1394_compat_read

[GIT PULL] sh updates

2007-05-06 Thread Paul Mundt
Please pull from: master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh-2.6.git Which contains: Kristoffer Ericson (3): sh: hp6xx driver compile fixes. sh: hp6xx pata_platform support. sh: Fix APM emulation on hp6xx. Nobuhiro Iwamatsu (7): sh: pata_platform

Re: [PATCH 1/1] nfsctl: Use vfs_path_lookup

2007-05-06 Thread Neil Brown
On Sunday May 6, [EMAIL PROTECTED] wrote: > use vfs_path_lookup instead of open-coding the necessary functionality. > > Signed-off-by: Josef 'Jeff' Sipek <[EMAIL PROTECTED]> Acked-by: NeilBrown <[EMAIL PROTECTED]> Thanks, NeilBrown > --- > fs/nfsctl.c | 16 ++-- > 1 files

Re: [PATCH] lguest: don't use paravirt_probe, it's dying

2007-05-06 Thread Eric W. Biederman
Rusty Russell <[EMAIL PROTECTED]> writes: > On Sat, 2007-05-05 at 13:22 +1000, Rusty Russell wrote: >> On Fri, 2007-05-04 at 20:53 -0600, Eric W. Biederman wrote: >> > Frankly I think the least risk of problems comes from just doing a >> > separate entry point for lguest for now. It means we

Re: regressions

2007-05-06 Thread Randy Dunlap
On Sun, 6 May 2007 22:49:13 +0200 (MEST) [EMAIL PROTECTED] wrote: > 2.6.21 breaks HPT366 - back to 2.6.20 > 2.6.20 breaks ZIP - back to 2.6.19 > 2.6.19 seems OK at first sight > > [more info on request, this is well-known?] ZIP as in ZIP drive(r)? imm/ppa or IDE? imm breakage was reported and

Re: [PATCH 1/3] WAN Kconfig: change "depends on HDLC" to "select"

2007-05-06 Thread Roman Zippel
Hi, On Mon, 7 May 2007, Krzysztof Halasa wrote: > Allow enabling WAN drivers without selecting generic HDLC first, > HDLC will be selected automatically. > > Signed-off-by: Krzysztof Halasa <[EMAIL PROTECTED]> > > diff --git a/drivers/net/wan/Kconfig b/drivers/net/wan/Kconfig > index

Re: [PATCH 2/7] [RFC] Common power driver for Linux gadgets

2007-05-06 Thread David Brownell
On Thursday 12 April 2007, David Brownell wrote: > > This driver used to stop code/logic duplication through different > > machines we porting at handhelds.org. pda_power register machs' power > > supplies, and will take care about notifying batteries about power > > changes through external power

Re: RFC airo : wpa support

2007-05-06 Thread Dan Williams
On Sat, 2007-05-05 at 00:52 +0200, matthieu castet wrote: > Hi, > > I attach a diff against 2.6.21 for adding wpa support for airo driver. > In then end of 2005 I manage to make work wpa but the code was really > ugly. I manage to find some time to clean it. > > > To support wpa, a new

Re: [patch 03/10] sh: dma: use __attribute_unused__

2007-05-06 Thread Paul Mundt
On Tue, May 01, 2007 at 09:28:56PM -0700, David Rientjes wrote: > There is no such thing as labeling a variable as __attribute__((used)). > Since ts_shift is not referenced in inline assembly, we assume that we're > simply suppressing a warning here if the variable is declared but > unreferenced.

Re: get_user_pages vs mmap MAP_FIXED bug

2007-05-06 Thread Rusty Russell
On Sun, 2007-05-06 at 17:01 +1000, Rusty Russell wrote: > This bug is in 2.6.21-rc7-mm2, but not 2.6.21. Haven't tested > 2.6.21-mm1 yet. OK, 2.6.21-mm1 fails too. 2.6.21-git6 ... is fine. Here's a standalone test using ptrace. No kernel module req'd. [EMAIL

Re: [PATCH]: linux-2.6.21-uc0 (MMU-less updates)

2007-05-06 Thread Paul Mundt
On Thu, May 03, 2007 at 11:30:53PM +1000, Greg Ungerer wrote: > Robin Getz wrote: > >>Its not an architecture problem. It can effect any board that > >>has RAM mapped at a large numerical addresses (larger than TASK_SIZE). > >>So it can effect any non-MMU platform. > > > >Depending on how

[PATCH] lguest: use standard bootloader format, fix badly-sized initrds

2007-05-06 Thread Rusty Russell
Eric Biederman complained that lguest doesn't use the Linux standard boot header format. He's got a good point. This also simplifies the code: the example launcher writes the header directly, rather than lguest writing into it during boot. While we're touching this code, we also fix the problem

[PATCH 3/3] lguest: 2.6.21-mm1 update: lguest-net-stats-inline.patch

2007-05-06 Thread Rusty Russell
Now inline net_device_stats is upstream, we can use it in the lguest net driver. Signed-off-by: Rusty Russell <[EMAIL PROTECTED]> --- drivers/net/lguest_net.c | 20 +--- 1 file changed, 5 insertions(+), 15 deletions(-)

[PATCH 1/3] lguest: 2.6.21-mm1 update: lguest-remove-unnecessary-gdt-load.patch

2007-05-06 Thread Rusty Russell
Andrew did a great job of merging in the PDA->percpu changes and lguest code for 2.6.21-mm1, but the load_gdt is now unnecessary. Signed-off-by: Rusty Russell <[EMAIL PROTECTED]> --- drivers/lguest/lguest.c |4 1 file changed, 4 deletions(-)

[PATCH 2/3] lguest: 2.6.21-mm1 update: lguest-magic-signature.patch

2007-05-06 Thread Rusty Russell
paravirt_probe() and its infrastructure proved as popular as it was pretty. In anticipation of its imminent demise, this switches lguest to use a magic string to identify a different entry point. This is not the long-term solution: that will take a new bootloader rev and will hopefully be done

Re: ChunkFS - measuring cross-chunk references

2007-05-06 Thread Valerie Henson
On Mon, Apr 23, 2007 at 02:05:47AM +0530, Karuna sagar K wrote: > Hi, > > The attached code contains program to estimate the cross-chunk > references for ChunkFS file system (idea from Valh). Below are the > results: Nice work! Thank you very much for doing this! -VAL - To unsubscribe from

Re: ChunkFS - measuring cross-chunk references

2007-05-06 Thread Valerie Henson
On Mon, Apr 23, 2007 at 02:53:33PM -0600, Andreas Dilger wrote: > > Also, is it considered a cross-chunk reference if a directory entry is > referencing an inode in another group? Should there be a continuation > inode in the local group, or is the directory entry itself enough? (Sorry for the

Re: regressions

2007-05-06 Thread Jeff Garzik
[EMAIL PROTECTED] wrote: 2.6.21 breaks HPT366 - back to 2.6.20 I thought Bart/Sergei had fixed this. Are you using libata or old-IDE driver? 2.6.20 breaks ZIP - back to 2.6.19 What does this mean? How is it broken? Jeff - To unsubscribe from this list: send the line

Re: kconfig: error out if recursive dependencies are found

2007-05-06 Thread Roman Zippel
Hi, On Sun, 6 May 2007, Sam Ravnborg wrote: > if (sym->flags & SYMBOL_CHECK) { > - printf("Warning! Found recursive dependency: %s", sym->name); > + fprintf(stderr, "%s:%d:error: found recursive dependency: %s", > + sym->prop->file->name,

[PATCH 007 of 8] knfsd: Various nfsd xdr cleanups.

2007-05-06 Thread NeilBrown
1/ decode_sattr and decode_sattr3 never return NULL, so remove several checks for that. ditto for xdr_decode_hyper. 2/ replace some open coded XDR_QUADLEN calls with calls to XDR_QUADLEN 3/ in decode_writeargs, simply an 'if' to use a single calculation. .page_len is the length of

[PATCH 008 of 8] knfsd: Avoid Oops if buggy userspace performs confusing filehandle->dentry mapping.

2007-05-06 Thread NeilBrown
When a lookup request arrives, nfsd uses information provided by userspace (mountd) to find the right filesystem. It then assumes that the same filehandle type as the incoming filehandle can be used to create an outgoing filehandle. However if mountd is buggy, or maybe just being creative, the

[PATCH 003 of 8] knfsd: Fix resource leak resulting in module refcount leak for rpcsec_gss_krb5.ko

2007-05-06 Thread NeilBrown
From: Frank Filz <[EMAIL PROTECTED]> I have been investigating a module reference count leak on the server for rpcsec_gss_krb5.ko. It turns out the problem is a reference count leak for the security context in net/sunrpc/auth_gss/svcauth_gss.c. The problem is that gss_write_init_verf() calls

[PATCH 004 of 8] knfsd: rpcgss : RPC_GSS_PROC_ DESTROY request will get a bad rpc

2007-05-06 Thread NeilBrown
From: Wei Yongjun <[EMAIL PROTECTED]> If I send a RPC_GSS_PROC_DESTROY message to NFSv4 server, it will reply with a bad rpc reply which lacks an authentication verifier. Maybe this patch is needed. Send/recv packets as following: send: RemoteProcedureCall xid rpcvers = 2 prog =

[PATCH 005 of 8] knfsd: Simplify a 'while' condition in svcsock.c

2007-05-06 Thread NeilBrown
This while loop has an overly complex condition, which performs a couple of assignments. This hurts readability. We don't really need a loop at all. We can just return -EAGAIN and (providing we set SK_DATA), the function will be called again. So discard the loop, make the complex conditional

[PATCH 006 of 8] knfsd: Trivial makefile cleanup

2007-05-06 Thread NeilBrown
From: Christoph Hellwig <[EMAIL PROTECTED]> kbuild directly interprets -y as objects to build into a module, no need to assign it to the old foo-objs variable. Signed-off-by: Christoph Hellwig <[EMAIL PROTECTED]> Signed-off-by: Neil Brown <[EMAIL PROTECTED]> ### Diffstat output

[PATCH 000 of 8] knfsd: Assorted bugfixes for 2.6.22

2007-05-06 Thread NeilBrown
Following are 8 patches for knfsd and related code that are suitable for 2.6.22. First two are suitable for -stable: they can cause an oops. (8 can also cause an oops, but you really need buggy userspace code running as root, and it is a larger patch than I like to send to -stable). Other 6 are

[PATCH 001 of 8] knfsd: Avoid use of unitialised variables on error path when nfs exports.

2007-05-06 Thread NeilBrown
We need to zero various parts of 'exp' before any 'goto out', otherwise when we go to free the contents... we die. Signed-off-by: Neil Brown <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] ### Diffstat output ./fs/nfsd/export.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-)

[PATCH 002 of 8] knfsd: rpc: fix server-side wrapping of krb5i replies

2007-05-06 Thread NeilBrown
It's not necessarily correct to assume that the xdr_buf used to hold the server's reply must have page data whenever it has tail data. And there's no need for us to deal with that case separately anyway. Acked-by: "J. Bruce Fields" <[EMAIL PROTECTED]> Signed-off-by: Neil Brown <[EMAIL

[PATCH 2/3] ARM: include IXP4xx "fuses" support

2007-05-06 Thread Krzysztof Halasa
Adds "fuse" functions to help determine installed IXP4xx CPU components and to reset/disable/enable them (only NPE - network coprocessors - can be reset and reenabled). Signed-off-by: Krzysztof Halasa <[EMAIL PROTECTED]> diff --git a/include/asm-arm/arch-ixp4xx/ixp4xx-regs.h

[PATCH 1/3] WAN Kconfig: change "depends on HDLC" to "select"

2007-05-06 Thread Krzysztof Halasa
Allow enabling WAN drivers without selecting generic HDLC first, HDLC will be selected automatically. Signed-off-by: Krzysztof Halasa <[EMAIL PROTECTED]> diff --git a/drivers/net/wan/Kconfig b/drivers/net/wan/Kconfig index 8897f53..3a2fe82 100644 --- a/drivers/net/wan/Kconfig +++

Re: [patch] CFS scheduler, -v8

2007-05-06 Thread Bill Davidsen
Damien Wyart wrote: Hello, * Ingo Molnar <[EMAIL PROTECTED]> [2007-05-03 15:02]: great! So it seems -v8 does improve OpenGL handling too :-) What are your thoughts/plans concerning merging CFS into mainline ? Is it a bit premature to get it into 2.6.22 ? I remember Linus was ok to change the

Re: [PATCH] make hci_notifier a blocking notifier (was Re: BUG: sleeping function called from invalid context at net/core/sock.c:1523)

2007-05-06 Thread Satyam Sharma
(Dropped Pavel, Rafael and linux-pm from CC list, this isn't a PM error so don't want to spam them; and added bluez-devel) On 5/7/07, Ray Lee <[EMAIL PROTECTED]> wrote: On 5/6/07, Alan Stern <[EMAIL PROTECTED]> wrote: > On Sun, 6 May 2007, Satyam Sharma wrote: > > > Anyway, the hci_notifier is

[patch 4/4] KMON - kmon build infrastrcuture ...

2007-05-06 Thread Davide Libenzi
Adds the kmon interface to the build infrastrcuture. Signed-off-by: Davide Libenzi <[EMAIL PROTECTED]> - Davide Index: linux-2.6.21.scdev/init/Kconfig === --- linux-2.6.21.scdev.orig/init/Kconfig2007-05-05

[patch 1/4] KMON - kmon device/instrumentation ...

2007-05-06 Thread Davide Libenzi
This patch serie introduces a way to log high frequency/volume data out of the kernel. Logging scheduler operations for example, with loads that generate tenths of thousands of context switches per second (possibly from multiple CPUs), can overload the kernel printk. Also, logging in binary form

[patch 2/4] KMON - kmon core implementation ...

2007-05-06 Thread Davide Libenzi
This is the core implementation of the kmon interface. Signed-off-by: Davide Libenzi <[EMAIL PROTECTED]> - Davide Index: linux-2.6.21.scdev/include/linux/kmon.h === --- /dev/null 1970-01-01 00:00:00.0 + +++

[patch 3/4] KMON - kmon scheduler instrumentation ...

2007-05-06 Thread Davide Libenzi
Hooks the kmon interface to the scheduler operations. Signed-off-by: Davide Libenzi <[EMAIL PROTECTED]> - Davide Index: linux-2.6.21.scdev/kernel/sched.c === --- linux-2.6.21.scdev.orig/kernel/sched.c 2007-05-06

[PATCH 0/3] Intel IXP4xx network drivers

2007-05-06 Thread Krzysztof Halasa
Hi, The next 3 patches: [1/3] changes "depends on HDLC" to "select HDLC" for WAN/generic HDLC network drivers [2/3] adds "fuse" functions to help determine installed IXP4xx CPU components and to reset/disable/enable them. [3/3] adds IXP4xx drivers for: hardware queue manager, NPE

Re: patch: VFS: fix passing of AT_PHDR value in auxv to ELF interpreter

2007-05-06 Thread Quentin Godfroy
On Fri, May 04, 2007 at 09:24:05PM -0700, Jeremy Fitzhardinge wrote: > > Indeed, I haven't seen that. For ET_DYN executables, it could be done a > > thing like load_addr+elf_ppnt->p_vaddr (in the function that creates the > > auxv, as ity has access to the elf header), and for ET_EXEC do what I >

Re: console font limits

2007-05-06 Thread Daniel Hazelton
On Friday 04 May 2007 11:34:40 Jesse Barnes wrote: > On Thursday, May 03, 2007, Antonino A. Daplas wrote: > > On Thu, 2007-05-03 at 23:58 -0400, Daniel Hazelton wrote: > > > On Thursday 03 May 2007 20:39:05 H. Peter Anvin wrote: > > > > Kyle Moffett wrote: > > > > > > I guess I could start on that

Re: Appletouch is gone!

2007-05-06 Thread Jiri Kosina
On Thu, 3 May 2007, Thomas Meyer wrote: > With current git head from linus' tree and LOCALVERSION_AUTO [=y] and > USB_APPLETOUCH [=m] > find /lib/modules/ -name apple* > /lib/modules/2.6.20/kernel/drivers/usb/input/appletouch.ko > /lib/modules/2.6.21/kernel/drivers/usb/input/appletouch.ko This

Re: [PATCH] make hci_notifier a blocking notifier (was Re: BUG: sleeping function called from invalid context at net/core/sock.c:1523)

2007-05-06 Thread Ray Lee
On 5/6/07, Alan Stern <[EMAIL PROTECTED]> wrote: On Sun, 6 May 2007, Satyam Sharma wrote: > Anyway, the hci_notifier is called from the following six call sites: > > hci_dev_open() and hci_dev_close() -> both called from > hci_sock_ioctl() => both can sleep > hci_register_dev() and

Re: parallel port problems with 2.6.21_rc5 and 2.6.21_rc6_git3-20070410174235

2007-05-06 Thread Bill Davidsen
Randy Dunlap wrote: On Wed, 11 Apr 2007 20:40:23 +0200 Markus Koßmann wrote: When using either the unpatched 2.6.21_rc5 or SUSEs patched 2.6.21_rc6_git3-20070410174235 on a SUSE-10.2 x86_64 system the parallel port doesn't work right. If I "cat some_asciifile >/dev/lp0" the output on my

Re: Kconfig text confusion: Battery Class Support?

2007-05-06 Thread Rusty Russell
On Mon, 2007-05-07 at 00:27 +0400, Anton Vorontsov wrote: > Hello Rusty, > > On Sun, May 06, 2007 at 10:06:52PM +1000, Rusty Russell wrote: > > Hi all, > > > > I know writing decent Kconfig help entries is an obscure art, but can > > we please try harder to make the help, y'know, helpful?

Re: [linux-dvb] [PATCH] dvb-core: Handle failures to create devices

2007-05-06 Thread Simon Arlott
On 06/05/07 23:50, Trent Piepho wrote: I've tested this and can confirm it works. dvb_class will be set too late without the change to subsys_initcall. On Tue, 1 May 2007, Simon Arlott wrote: dvb-core is not started early enough when device drivers that use dvb are compiled in so

Re: [PATCH pata-2.6 fix queue] hpt366: don't check enablebits for HPT36x

2007-05-06 Thread Andries Brouwer
On Fri, May 04, 2007 at 11:18:37PM +0400, Sergei Shtylyov wrote: > HPT36x chip don't seem to have the channel enable bits, > so prevent the IDE core from checking them... > > Signed-off-by: Sergei Shtylyov <[EMAIL PROTECTED]> Earlier this evening I reported that HPT366 was broken in 2.6.21. I

Re: [linux-dvb] [PATCH] dvb-core: Handle failures to create devices

2007-05-06 Thread Trent Piepho
I've tested this and can confirm it works. dvb_class will be set too late without the change to subsys_initcall. On Tue, 1 May 2007, Simon Arlott wrote: > dvb-core is not started early enough when device drivers that use dvb are > compiled in so device_register_device fails (silently) since

Re: [2.6.22 patch] iop: combined watchdog timer driver for iop3xx and iop13xx

2007-05-06 Thread Dan Williams
On 5/6/07, Wim Van Sebroeck <[EMAIL PROTECTED]> wrote: Hi Dan, > >Could you split this patch into 2 patches: one that deals with the moving > >of > >the architecture dependant code (and explaining why) and one with the new > >watchdog drivers? I will continue my review today. > > > > I am one

xfs_ilock: possible recursive locking detected

2007-05-06 Thread Simon Arlott
[ 119.948000] = [ 119.948000] [ INFO: possible recursive locking detected ] [ 119.948000] 2.6.21-git #185 [ 119.948000] - [ 119.948000] cc1/6496 is trying to acquire lock: [ 119.948000]

Re: [PATCH] MM: implement MADV_FREE lazy freeing of anonymous memory

2007-05-06 Thread Rik van Riel
Nick Piggin wrote: OK, sure. I think we need more numbers though. Thinking about the issue some more, I think I know just the number we might want to know. It is pretty obvious that the kernel needs to do less work with the MADV_FREE code present. However, it is possible that userspace

Re: [2.6.21] kernel panic

2007-05-06 Thread Jiri Kosina
On Sun, 6 May 2007, Folkert van Heusden wrote: > > > A few moments ago a system of mine running 2.6.21 on a P4 with > > > hyperthreading, 2GB ram, IDE disk, crashed: [10371.128320] BUG: > > > unable to handle kernel paging request at virtual address 00100100 > > > [10371.128419] printing eip:

JBD: ext2online wants too many credits (744 > 256)

2007-05-06 Thread Frank van Maarseveen
2.6.20.6, FC4: I created a 91248k ext3 fs with 4k blocksize: | mke2fs -j -b 4096 /dev/vol1/project | mke2fs 1.38 (30-Jun-2005) | Filesystem label= | OS type: Linux | Block size=4096 (log=2) | Fragment size=4096 (log=2) | 23552 inodes, 23552 blocks | 1177 blocks (5.00%) reserved for the super

[PATCH 1/1] nfsctl: Use vfs_path_lookup

2007-05-06 Thread Josef 'Jeff' Sipek
use vfs_path_lookup instead of open-coding the necessary functionality. Signed-off-by: Josef 'Jeff' Sipek <[EMAIL PROTECTED]> --- fs/nfsctl.c | 16 ++-- 1 files changed, 6 insertions(+), 10 deletions(-) diff --git a/fs/nfsctl.c b/fs/nfsctl.c index c043136..51f1b31 100644 ---

Re: [PATCH] make hci_notifier a blocking notifier (was Re: BUG: sleeping function called from invalid context at net/core/sock.c:1523)

2007-05-06 Thread Alan Stern
On Sun, 6 May 2007, Satyam Sharma wrote: > Anyway, the hci_notifier is called from the following six call sites: > > hci_dev_open() and hci_dev_close() -> both called from > hci_sock_ioctl() => both can sleep > hci_register_dev() and hci_unregister_dev() => again both are capable > of sleeping >

OOPS when swsusp/resume when connected to the internet via BT and GPRS

2007-05-06 Thread CIJOML
Hi all, today I experienced OOPS when connected via BT/GPRS to the internet, then swsup and resumed with dongle in HID proxy mode. Please see details in dmesg log: Restarting tasks ... <6>usb 3-1: USB disconnect, address 3 done. BUG: unable to handle kernel NULL pointer dereference at virtual

RE: 2.6.21-mm1

2007-05-06 Thread Williams, Dan J
> From: Andrew Morton [mailto:[EMAIL PROTECTED] > On Sun, 6 May 2007 22:44:29 +0200 Sam Ravnborg <[EMAIL PROTECTED]> wrote: > > > On Sun, May 06, 2007 at 08:33:48AM +0400, Dan Kruchinin wrote: > > > > > > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21/2.6 .21- > mm1/ > >

Re: [patch 14/22] pollfs: pollable futex

2007-05-06 Thread Davi Arnaut
Andrew Morton wrote: > On Sun, 6 May 2007 00:50:47 -0700 "Ulrich Drepper" <[EMAIL PROTECTED]> wrote: > >>> I really do not understand your point. You're too smart to not appreciate >>> the beauty and the simmetry of objects that responds to a common interface >>> (our files, win32 handles), and

Re: [Kernel-discuss] Re: [PATCH 3/8] Universal power supply class (was: battery class)

2007-05-06 Thread Anton Vorontsov
Hi Paul, On Sat, May 05, 2007 at 05:29:56PM +0300, Paul Sokolovsky wrote: > Hello Anton, > > But in real world, it's rather common to colloquially name > such kind of power "AC", and that's "term" is known to many-many > people, and intuitively understood even for those, who didn't hit

Re: [Linux-usb-users] [SOLVED] Serial buffer corruption [was Re: FTDI usb-serial possible bug]

2007-05-06 Thread Alan Stern
On Sun, 6 May 2007, Alan Cox wrote: > > However, whatever policy the buffer uses, the fundamental point it's that > > when I flush the input buffer I should be sure that each byte read > > after the flush is *new* (current) data and not old one. This because > > Define "new" and "old" in this

[PATCH 4/5] fs: Mark link_path_walk static

2007-05-06 Thread Josef 'Jeff' Sipek
Signed-off-by: Josef 'Jeff' Sipek <[EMAIL PROTECTED]> --- fs/namei.c|4 +++- include/linux/namei.h |1 - 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/fs/namei.c b/fs/namei.c index 090cce4..925c62e 100644 --- a/fs/namei.c +++ b/fs/namei.c @@ -108,6 +108,8 @@

Re: [-mm patch] get_unmapped_area: remove now unused ret variable (was Re: 2.6.21-mm1)

2007-05-06 Thread Benjamin Herrenschmidt
On Sun, 2007-05-06 at 11:03 +0200, Frederik Deweerdt wrote: > On Sat, May 05, 2007 at 01:49:55AM -0700, Andrew Morton wrote: > > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21/2.6.21-mm1/ > > > > mm/mmap.c:1393: warning: unused variable 'ret' > > The

Re: [Kernel-discuss] Re: [PATCH 3/8] Universal power supply class (was: battery class)

2007-05-06 Thread Anton Vorontsov
On Sun, May 06, 2007 at 03:06:04PM -0300, Henrique de Moraes Holschuh wrote: > On Sat, 05 May 2007, Paul Sokolovsky wrote: > > Saturday, May 5, 2007, 4:46:26 PM, you wrote: > > > On Sat, 2007-05-05 at 00:54 -0300, Henrique de Moraes Holschuh wrote: > > >> Given that USB-power *is* usually also

Re: [PATCH 0/2] [TRIVIAL] Small cleanups for do_path_lookup (V2)

2007-05-06 Thread Christoph Hellwig
On Sun, May 06, 2007 at 01:47:54PM -0400, Josef 'Jeff' Sipek wrote: > (For changes since V1, see the end of this email.) > > The following 2 patches are trivial cleanups to do_path_lookup in namei.c. > Since these changes are trivial, they can go into 2.6.22-rc1 without any > problems. > > Josef

Re: 2.6.21-mm1

2007-05-06 Thread Andrew Morton
On Mon, 7 May 2007 02:34:26 +0530 "Satyam Sharma" <[EMAIL PROTECTED]> wrote: > On 5/7/07, Andrew Morton <[EMAIL PROTECTED]> wrote: > > On Sun, 06 May 2007 15:59:53 +0100 Simon Arlott <[EMAIL PROTECTED]> wrote: > > > > > On 05/05/07 09:49, Andrew Morton wrote: > > > >

Re: 2.6.21-mm1

2007-05-06 Thread Sam Ravnborg
On Sun, May 06, 2007 at 02:08:57PM -0700, Andrew Morton wrote: > On Sun, 6 May 2007 22:57:32 +0200 Sam Ravnborg <[EMAIL PROTECTED]> wrote: > > > On Sun, May 06, 2007 at 02:49:49AM -0400, [EMAIL PROTECTED] wrote: > > > On Sat, 05 May 2007 01:49:55 PDT, Andrew Morton said: > > > >

Re: [PATCH 4/5] fs: Mark link_path_walk static

2007-05-06 Thread Christoph Hellwig
On Sun, May 06, 2007 at 01:41:28PM -0400, Josef 'Jeff' Sipek wrote: > +/* forward declaration */ > +static int fastcall link_path_walk(const char *name, struct nameidata *nd); I don't think we need that comment, otherwise this looks good. - To unsubscribe from this list: send the line

Re: [PATCH 5/5] fs: Remove path_walk export

2007-05-06 Thread Christoph Hellwig
On Sun, May 06, 2007 at 01:41:29PM -0400, Josef 'Jeff' Sipek wrote: > Signed-off-by: Josef 'Jeff' Sipek <[EMAIL PROTECTED]> > --- > fs/namei.c|3 +-- > include/linux/namei.h |1 - > 2 files changed, 1 insertions(+), 3 deletions(-) Ok. - To unsubscribe from this list: send

Re: [PATCH 1/5] fs: Introduce vfs_path_lookup

2007-05-06 Thread Christoph Hellwig
On Sun, May 06, 2007 at 01:41:25PM -0400, Josef 'Jeff' Sipek wrote: > Signed-off-by: Josef 'Jeff' Sipek <[EMAIL PROTECTED]> > --- > fs/namei.c| 32 > include/linux/namei.h |2 ++ > 2 files changed, 34 insertions(+), 0 deletions(-) Looks good to

Re: [PATCH 2/5] sunrpc: Use vfs_path_lookup

2007-05-06 Thread Christoph Hellwig
On Sun, May 06, 2007 at 01:41:26PM -0400, Josef 'Jeff' Sipek wrote: > use vfs_path_lookup instead of open-coding the necessary functionality. > > Signed-off-by: Josef 'Jeff' Sipek <[EMAIL PROTECTED]> > Acked-by: Trond Myklebust <[EMAIL PROTECTED]> > --- > net/sunrpc/rpc_pipe.c | 16

Re: [PATCH 3/5] nfsctl: Use vfs_path_lookup

2007-05-06 Thread Christoph Hellwig
On Sun, May 06, 2007 at 01:41:27PM -0400, Josef 'Jeff' Sipek wrote: > use vfs_path_lookup instead of open-coding the necessary functionality. > > Signed-off-by: Josef 'Jeff' Sipek <[EMAIL PROTECTED]> > --- > fs/nfsctl.c | 15 +-- > 1 files changed, 5 insertions(+), 10 deletions(-)

Re: [Kernel-discuss] Re: [PATCH 3/8] Universal power supply class (was: battery class)

2007-05-06 Thread Anton Vorontsov
On Sat, May 05, 2007 at 03:39:40PM +0200, pHilipp Zabel wrote: > > > secondary notion too, as that is common. It would be generic. > > > > > > Or maybe I just didn't get the idea behind the "type" attribute :-) > > > > > > I'd appreciate if these were documented in the text file. > > > > I think

Re: 2.6.21-mm1

2007-05-06 Thread Simon Arlott
On 06/05/07 21:08, Andrew Morton wrote: On Sun, 06 May 2007 15:59:53 +0100 Simon Arlott <[EMAIL PROTECTED]> wrote: On 05/05/07 09:49, Andrew Morton wrote: ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21/2.6.21-mm1/ I'm currently in the middle of a bisect over the last

Re: 2.6.21-mm1

2007-05-06 Thread Satyam Sharma
Hi Simon, On 5/7/07, Satyam Sharma <[EMAIL PROTECTED]> wrote: On 5/7/07, Andrew Morton <[EMAIL PROTECTED]> wrote: > On Sun, 06 May 2007 15:59:53 +0100 Simon Arlott <[EMAIL PROTECTED]> wrote: > > > On 05/05/07 09:49, Andrew Morton wrote: > > >

Re: [Kernel-discuss] Re: [PATCH 3/8] Universal power supply class (was: battery class)

2007-05-06 Thread Anton Vorontsov
On Sun, May 06, 2007 at 03:09:37PM -0300, Henrique de Moraes Holschuh wrote: > On Sat, 05 May 2007, ian wrote: > > On Sat, 2007-05-05 at 00:54 -0300, Henrique de Moraes Holschuh wrote: > > > > > Given that USB-power *is* usually also "dumb" (i.e. it doesn't do any > > > control signaling over the

Re: [-mm patch] the OLPC laptop is not available for $100

2007-05-06 Thread Anton Vorontsov
On Sat, May 05, 2007 at 07:30:52PM +0200, Adrian Bunk wrote: > On Sat, May 05, 2007 at 01:49:55AM -0700, Andrew Morton wrote: > > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21/2.6.21-mm1/ > > > > > > - Added the git-battery tree to the -mm lineup (Anton Vorontsov > >

Re: 2.6.21-mm1

2007-05-06 Thread Andrew Morton
On Sun, 6 May 2007 22:57:32 +0200 Sam Ravnborg <[EMAIL PROTECTED]> wrote: > On Sun, May 06, 2007 at 02:49:49AM -0400, [EMAIL PROTECTED] wrote: > > On Sat, 05 May 2007 01:49:55 PDT, Andrew Morton said: > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21/2.6.21-mm1/ > > > >

Re: 2.6.21-mm1

2007-05-06 Thread Simon Arlott
On 06/05/07 21:54, Andrew Morton wrote: On Sun, 06 May 2007 21:36:32 +0100 Simon Arlott <[EMAIL PROTECTED]> wrote: On 05/05/07 09:49, Andrew Morton wrote: ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21/2.6.21-mm1/ Not sure exactly what's going on here, but it happened

Re: Ext3 vs NTFS performance

2007-05-06 Thread Jörn Engel
On Fri, 4 May 2007 10:46:10 +0100, Christoph Hellwig wrote: > > Which means the right place to fix this is samba. Samba just need > to intersept lseek and pread/pwrite to never allocate sparse files > but do the right thing instead. Now what the right thing would probably > be a preallocate

  1   2   3   4   5   >