[PATCH] Remove redundant (deprecated) CONFIG_FORCED_INLINING option.

2007-01-19 Thread Robert P. J. Day
Remove the superfluous kernel config option FORCED_UNLINING from the kernel debugging menu. Signed-off-by: Robert P. J. Day <[EMAIL PROTECTED]> --- based on adrian bunk's explanation, and the fact that i just noticed this option was scheduled for removal several months ago anyway, this

[PATCH] nfs: fix congestion control -v3

2007-01-19 Thread Peter Zijlstra
Subject: nfs: fix congestion control The current NFS client congestion logic is severly broken, it marks the backing device congested during each nfs_writepages() call but doesn't mirror this in nfs_writepage() which makes for deadlocks. Also it implements its own waitqueue. Replace this by a

[patch] buffer: memorder fix

2007-01-19 Thread Nick Piggin
Anyone mind telling me why unlock_buffer, unlike unlock_page, thinks it can clear the lock without ensuring the critical section is closed (ie. with a barrier)? Signed-off-by: Nick Piggin <[EMAIL PROTECTED]> Index: linux-2.6/fs/buffer.c

[PATCH 6/7] devres: implement pcim_iomap_regions()

2007-01-19 Thread Tejun Heo
Implement pcim_iomap_regions(). This function takes mask of BARs to request and iomap. No BAR should have length of zero. BARs are iomapped using pcim_iomap_table(). Signed-off-by: Tejun Heo <[EMAIL PROTECTED]> --- include/linux/io.h |2 + lib/iomap.c| 53

[PATCH 5/7] libata: remove unused functions

2007-01-19 Thread Tejun Heo
Now that all LLDs are converted to use devres, default stop callbacks are unused. Remove them. Signed-off-by: Tejun Heo <[EMAIL PROTECTED]> --- drivers/ata/libata-core.c | 81 +++- include/linux/libata.h|4 -- 2 files changed, 6 insertions(+),

[PATCH 3/7] libata: update libata core layer to use devres

2007-01-19 Thread Tejun Heo
Update libata core layer to use devres. * ata_device_add() acquires all resources in managed mode. * ata_host is allocated as devres associated with ata_host_release. * Port attached status is handled as devres associated with ata_host_attach_release(). * Initialization failure and host

[PATCH 2/7] libata: implement ata_host_detach()

2007-01-19 Thread Tejun Heo
Implement ata_host_detach() which calls ata_port_detach() for each port in the host and export it. ata_port_detach() is now internal and thus un-exported. ata_host_detach() will be used as the 'deregister from libata layer' function after devres conversion. Signed-off-by: Tejun Heo <[EMAIL

[PATCHSET] Managed device resources, take #3

2007-01-19 Thread Tejun Heo
Hello, This is the third iteration of devres patchset. Changes from the last take[L] are... * devres patches collapsed into one as Jeff requested * updates for sata_inic162x added * rebased to the current upstream Git tree is available at the following URLs.

Re: problems with latest smbfs changes on 2.4.34 and security backports

2007-01-19 Thread Willy Tarreau
On Fri, Jan 19, 2007 at 06:05:44PM -0700, dann frazier wrote: (...) > Ah, think I see the problem now: > > --- kernel-source-2.4.27.orig/fs/smbfs/proc.c 2007-01-19 17:53:57.247695476 > -0700 > +++ kernel-source-2.4.27/fs/smbfs/proc.c 2007-01-19 17:49:07.480161733 > -0700 > @@ -1997,7

Re: [RPC][PATCH 2.6.20-rc5] limit total vfs page cache

2007-01-19 Thread Aubrey Li
On 1/20/07, Nick Piggin <[EMAIL PROTECTED]> wrote: Aubrey Li wrote: > So what's the right way to limit pagecache? Probably something a lot more complicated... if you can say there is a "right way". >> Secondly, your patch isn't actually very good. It unconditionally >> shrinks memory to below

Re: SATA exceptions with 2.6.20-rc5

2007-01-19 Thread Björn Steinbrink
On 2007.01.19 20:41:36 -0600, Robert Hancock wrote: > Alistair John Strachan wrote: > >On Tuesday 16 January 2007 01:53, Jeff Garzik wrote: > >>Robert Hancock wrote: > >>>I'll try your stress test when I get a chance, but I doubt I'll run into > >>>the same problem and I haven't seen any similar

Re: [RPC][PATCH 2.6.20-rc5] limit total vfs page cache

2007-01-19 Thread Nick Piggin
Aubrey Li wrote: So what's the right way to limit pagecache? Probably something a lot more complicated... if you can say there is a "right way". Secondly, your patch isn't actually very good. It unconditionally shrinks memory to below the given % mark each time a pagecache alloc occurs,

[PATCH] Statically initialize struct pid for swapper

2007-01-19 Thread Sukadev Bhattiprolu
From: Sukadev Bhattiprolu <[EMAIL PROTECTED]> Subject: [PATCH] Statically initialize struct pid for swapper Statically initialize a struct pid for the swapper process (pid_t == 0) and attach it to init_task. This is needed so task_pid(), task_pgrp() and task_session() interfaces work on the

Re: Missing dmesg parameters in 2.6.19.2

2007-01-19 Thread Sunil Naidu
On 1/20/07, Robert Hancock <[EMAIL PROTECTED]> wrote: > 1) Compiling with SMP as Generic (CONFIG_X86_PC is not set, CONFIG_M686=y) > > > > Using x86 segment limits to approximate NX protection > > > Using APIC driver default > > > > 2)

Re: [patch 6/10] mm: be sure to trim blocks

2007-01-19 Thread Nick Piggin
On Tue, Jan 16, 2007 at 08:14:16PM +0100, Peter Zijlstra wrote: > On Tue, 2007-01-16 at 18:36 +0100, Peter Zijlstra wrote: > > buf, bytes); > > > @@ -1935,10 +1922,9 @@ generic_file_buffered_write(struct kiocb > > >

Re: [patch 6/10] mm: be sure to trim blocks

2007-01-19 Thread Nick Piggin
On Sun, Jan 14, 2007 at 05:25:44PM +0300, Dmitriy Monakhov wrote: > Nick Piggin <[EMAIL PROTECTED]> writes: > > > If prepare_write fails with AOP_TRUNCATED_PAGE, or if commit_write fails, > > then > > we may have failed the write operation despite prepare_write having > > instantiated blocks

Re: mmc: correct semantics of the mmc_host_remove

2007-01-19 Thread Alex Dubov
> That shouldn't be possible. Are you using the block queue fixes I wrote? > Otherwise you will get problems like this. > > Basically, when you call mmc_host_remove(), it will remove all card > devices. That shouldn't complete until all card drivers have released > control of the card. At that

Re: Choosing a HyperThreading/SMP/MultiCore kernel ?

2007-01-19 Thread Sunil Naidu
On 1/13/07, Lennart Sorensen <[EMAIL PROTECTED]> wrote: On Fri, Jan 12, 2007 at 10:38:43PM -0500, [EMAIL PROTECTED] wrote: > amd64 will only work on a core2duo if it's a T7200 or higher - the > lower numbers are 32-bit-only chipsets. I admit not knowing what > exact variant the Mac has.

Re: [RPC][PATCH 2.6.20-rc5] limit total vfs page cache

2007-01-19 Thread Mike Frysinger
On 1/19/07, Nick Piggin <[EMAIL PROTECTED]> wrote: Maybe, if you are talking about my advice to fix userspace... but you *are* going to contribute those changes back for the nommu community to use, right? So the end result of that is _not_ actually tweaking the end solutions. not quite sure

Re: Missing dmesg parameters in 2.6.19.2

2007-01-19 Thread Robert Hancock
Sunil Naidu wrote: Hello All, Atlast I have succeeded in booting 2.6.19.2 on mutiple x86 machines. I did observe a strange dmesg parameter behavior in this case:- 1) Compiling with SMP as Generic (CONFIG_X86_PC is not set, CONFIG_M686=y) Using x86 segment limits to

Re: [RPC][PATCH 2.6.20-rc5] limit total vfs page cache

2007-01-19 Thread Aubrey Li
On 1/20/07, Nick Piggin <[EMAIL PROTECTED]> wrote: Aubrey Li wrote: > On 1/20/07, Vaidyanathan Srinivasan <[EMAIL PROTECTED]> wrote: >> If pagecache is overlimit, we expect old (cold) pagecache pages to >> be thrown out and reused for new file data. We do not expect to >> drop a few text or

Re: BUG: linux 2.6.19 unable to enable acpi

2007-01-19 Thread Sunil Naidu
On 1/19/07, Len Brown <[EMAIL PROTECTED]> wrote: On Wednesday 17 January 2007 05:34, you wrote: > On 1/17/07, Matheus Izvekov <[EMAIL PROTECTED]> wrote: > > I just tried the firmwarekit, and here are the results, attached. > > TYVM, thats a very useful tool. > > I do suspect ACPI issues on my

Re: Realtime-preemption for 2.6.20-rc5 ?

2007-01-19 Thread Sunil Naidu
On 1/18/07, Ingo Molnar <[EMAIL PROTECTED]> wrote: the best place to start is: http://rt.wiki.kernel.org Ingo I did refer the same. Is it necessary to use only base kernel, say 2.6.19? Or, can I go ahead with 2.6.19 + 2.6.19.2 patch + 2.6.19-rt patch? If yes, any reason why we

Re: [RPC][PATCH 2.6.20-rc5] limit total vfs page cache

2007-01-19 Thread Nick Piggin
Mike Frysinger wrote: On 1/19/07, Nick Piggin <[EMAIL PROTECTED]> wrote: Luckily, there are actually good, robust solutions for your higher order allocation problem. Do higher order allocations at boot time, modifiy userspace applications, or set up otherwise-unused, or easily reclaimable

Missing dmesg parameters in 2.6.19.2

2007-01-19 Thread Sunil Naidu
Hello All, Atlast I have succeeded in booting 2.6.19.2 on mutiple x86 machines. I did observe a strange dmesg parameter behavior in this case:- 1) Compiling with SMP as Generic (CONFIG_X86_PC is not set, CONFIG_M686=y) . . Using x86 segment limits to approximate NX protection

Re: SATA exceptions with 2.6.20-rc5

2007-01-19 Thread Alistair John Strachan
On Saturday 20 January 2007 02:41, Robert Hancock wrote: > By the way, I assume that you guys are using reiserfs or xfs, as it > appears no other file systems issue flush commands automatically. I had > to test this by "echo 1 > delete" on the SCSI disk in sysfs, as I am > using ext3. I'll give

Re: SATA exceptions with 2.6.20-rc5

2007-01-19 Thread Robert Hancock
Alistair John Strachan wrote: On Tuesday 16 January 2007 01:53, Jeff Garzik wrote: Robert Hancock wrote: I'll try your stress test when I get a chance, but I doubt I'll run into the same problem and I haven't seen any similar reports. Perhaps it's some kind of wierd timing issue or

Re: [RPC][PATCH 2.6.20-rc5] limit total vfs page cache

2007-01-19 Thread Mike Frysinger
On 1/19/07, Nick Piggin <[EMAIL PROTECTED]> wrote: Luckily, there are actually good, robust solutions for your higher order allocation problem. Do higher order allocations at boot time, modifiy userspace applications, or set up otherwise-unused, or easily reclaimable reserve pools for higher

Re: [RPC][PATCH 2.6.20-rc5] limit total vfs page cache

2007-01-19 Thread Nick Piggin
Aubrey Li wrote: On 1/20/07, Vaidyanathan Srinivasan <[EMAIL PROTECTED]> wrote: If pagecache is overlimit, we expect old (cold) pagecache pages to be thrown out and reused for new file data. We do not expect to drop a few text or data pages to make room for new pagecache. Well, actually I

Re: [RPC][PATCH 2.6.20-rc5] limit total vfs page cache

2007-01-19 Thread Aubrey Li
On 1/20/07, Vaidyanathan Srinivasan <[EMAIL PROTECTED]> wrote: Aubrey Li wrote: > On 1/19/07, Vaidyanathan Srinivasan <[EMAIL PROTECTED]> wrote: >> >> Hi Aubrey, >> >> The idea of creating separate flag for pagecache in page_alloc is >> interesting. The good part is that you flag watermark

Re: Threading...

2007-01-19 Thread J.A. Magallón
On Fri, 19 Jan 2007 19:55:41 +0100, Arjan van de Ven <[EMAIL PROTECTED]> wrote: > On Fri, 2007-01-19 at 10:43 -0800, Brian McGrew wrote: > > I have a very interesting question about something that we're seeing > > happening with threading between Fedora Core 3 and Fedora Core 5. Running > > on

[PATCH 2.6.20 0/2] ehca: fix yield and spinlock conflicts

2007-01-19 Thread Hoang-Nam Nguyen
Hello Roland! Here is patch set for ehca with the following bug fixes: * Fix unproper use of yield within spinlock context * Fix mismatched spin_unlock in irq handler Thanks Nam ehca_cq.c |5 - ehca_irq.c |2 +- 2 files changed, 5 insertions(+), 2 deletions(-) - To unsubscribe from

[PATCH 2.6.20 2/2] ehca: ehca_irq.c: fix mismatched spin_unlock in irq handler

2007-01-19 Thread Hoang-Nam Nguyen
Hello Roland! This is a patch for ehca_irq.c that fixes an unproper use of spin_unlock in irq handler. Thanks Nam Signed-off-by Hoang-Nam Nguyen <[EMAIL PROTECTED]> --- ehca_irq.c |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/infiniband/hw/ehca/ehca_irq.c

[PATCH 2.6.20 1/2] ehca: ehca_cq.c: fix unproper use of yield within spinlock context

2007-01-19 Thread Hoang-Nam Nguyen
Hello Roland! This is a patch for ehca_cq.c that fixes unproper use of yield within spinlock context. Thanks Nam Signed-off-by Hoang-Nam Nguyen <[EMAIL PROTECTED]> --- ehca_cq.c |5 - 1 files changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/infiniband/hw/ehca/ehca_cq.c

Re: PATCH: cyber2010 framebuffer on ARM Netwinder fix...

2007-01-19 Thread Stuart Anderson
Just wondering, did the rtc change for the arm get sent up also? On Tue, 9 Jan 2007, Woody Suwalski wrote: Martin Michlmayr wrote: * Stuart Anderson <[EMAIL PROTECTED]> [2007-01-05 09:40]: shark w/o any changes to the kernel. I dug a bit further, both in the driver, and in the HW spec

Re: problems with latest smbfs changes on 2.4.34 and security backports

2007-01-19 Thread dann frazier
On Thu, Jan 18, 2007 at 06:00:40PM -0700, dann frazier wrote: > On Wed, Jan 17, 2007 at 10:55:19PM +0100, Willy Tarreau wrote: > > @@ -505,8 +510,13 @@ > > mnt->file_mode = (oldmnt->file_mode & S_IRWXUGO) | S_IFREG; > > mnt->dir_mode = (oldmnt->dir_mode & S_IRWXUGO) |

[PATCH 2.6.20-rc5] dm-multipath: fix stall on noflush suspend/resume

2007-01-19 Thread Jun'ichi Nomura
Allow noflush suspend/resume of device-mapper device only for the case where the device size is unchanged. Otherwise, dm-multipath devices can stall when resumed if noflush was used when suspending them, all paths have failed and queue_if_no_path is set. Explanation: 1. Something is doing

Re: intel 82571EB gigabit fails to see link on 2.6.20-rc5 in-tree e1000 driver (regression)

2007-01-19 Thread Auke Kok
Adam Kropelin wrote: Auke Kok wrote: Adam Kropelin wrote: I haven't been able to test rc5-mm yet because it won't boot on this box. Applying git-e1000 directly to -rc4 or -rc5 results in a number of rejects that I'm not sure how to fix. Some are obvious, but the others I'm unsure of. that

[PATCH] sysctl.h: Comment out unused constants

2007-01-19 Thread Richard Knutsson
Comment out unused constants in include/linux/sysctl.h. Signed-off-by: Richard Knutsson <[EMAIL PROTECTED]> --- Compile-tested with allyes and allmod under i386. diff --git a/include/linux/sysctl.h b/include/linux/sysctl.h index 81480e6..c8d2cb7 100644 --- a/include/linux/sysctl.h +++

Re: [PATCHSET] Managed device resources, take #2

2007-01-19 Thread Jeff Garzik
Tejun, Please 1) Collapse patches 1-7 into a single patch, and 2) rediff against latest libata-dev.git#upstream and I will apply straightaway. Jeff - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More

Re: intel 82571EB gigabit fails to see link on 2.6.20-rc5 in-tree e1000 driver (regression)

2007-01-19 Thread Adam Kropelin
Auke Kok wrote: Adam Kropelin wrote: I haven't been able to test rc5-mm yet because it won't boot on this box. Applying git-e1000 directly to -rc4 or -rc5 results in a number of rejects that I'm not sure how to fix. Some are obvious, but the others I'm unsure of. that won't work. You either

Re: [PATCH] sata_mv HighPoint 2310 support (88SX7042)

2007-01-19 Thread Jeff Garzik
Olof Johansson wrote: Hi, With the following patch, my HighPoint 2310 with a Marvell 88SX7042 on it seems to work OK. The controller only has 4 ports, with MV_FLAG_DUAL_HC it seems to init 8 ports and fails miserably at probe time. There are no other devices mapped to that chip, maybe it was

Re: [PATCH] libata: PIIX3 support

2007-01-19 Thread Jeff Garzik
Alan wrote: This I believe completes the PIIX range of support for libata This adds the table entries needed for the PIIX3, both a new PCI identifier and a new mode list. It also fixes an erroneous access to PCI configuration 0x48 on non UDMA capable chips. Signed-off-by: Alan Cox <[EMAIL

Re: [PATCH 2.6.20-rc4] sata_promise: ATAPI cleanup

2007-01-19 Thread Jeff Garzik
Mikael Pettersson wrote: Here's a cleanup for yesterday's sata_promise ATAPI patch: - add and use a symbolic constant for the altstatus register - check return status from ata_busy_wait() - add missing newline in a warning printk() - update comment in pdc_issue_atapi_pkt_cmd() to clarify that

Re: USB extension (repeater) cable

2007-01-19 Thread Greg KH
On Fri, Jan 19, 2007 at 04:40:34PM +0100, Udo van den Heuvel wrote: > Hello, > > I just tried my shiny new usb extension cable (repeater): > > Jan 19 16:01:17 epia kernel: usb 5-1: new high speed USB device using > ehci_hcd and address 60 > Jan 19 16:01:17 epia kernel: usb 5-1: configuration #1

Re: intel 82571EB gigabit fails to see link on 2.6.20-rc5 in-tree e1000 driver (regression)

2007-01-19 Thread Auke Kok
Adam Kropelin wrote: Auke Kok wrote: Adam Kropelin wrote: I am experiencing the no-link issue on a 82572EI single port copper PCI-E card. I've only tried 2.6.20-rc5, so I cannot tell if this is a regression or not yet. Will test older kernel soon. Can provide details/logs if you want 'em.

Re: linux-2.6.20-rc4-mm1 Reiser4 filesystem freeze and corruption

2007-01-19 Thread Vladimir V. Saveliev
Hello On Friday 19 January 2007 20:58, Zan Lynx wrote: > I have been running 2.6.20-rc2-mm1 without problems, but both rc3-mm1 > and rc4-mm1 have been giving me these freezes. They were happening > inside X and without external console it was impossible to get anything, > plus I was reluctant to

Re: intel 82571EB gigabit fails to see link on 2.6.20-rc5 in-tree e1000 driver (regression)

2007-01-19 Thread Adam Kropelin
Auke Kok wrote: Adam Kropelin wrote: I am experiencing the no-link issue on a 82572EI single port copper PCI-E card. I've only tried 2.6.20-rc5, so I cannot tell if this is a regression or not yet. Will test older kernel soon. Can provide details/logs if you want 'em. we've already

Re: BUG: linux 2.6.19 unable to enable acpi

2007-01-19 Thread Matheus Izvekov
On 1/19/07, Matheus Izvekov <[EMAIL PROTECTED]> wrote: On 1/19/07, Len Brown <[EMAIL PROTECTED]> wrote: > I guess I'm losing my mind, because when I read this code, > there are only two ways out of the while(retry) loop. > Either return with success, or retry is 0. > So how the heck is retry

Re: Possible ways of dealing with OOM conditions.

2007-01-19 Thread Evgeniy Polyakov
On Fri, Jan 19, 2007 at 01:53:15PM +0100, Peter Zijlstra ([EMAIL PROTECTED]) wrote: > > 2. You differentiate by hand between critical and non-critical > > allocations by specifying some kernel users as potentially possible to > > allocate from reserve. > > True, all sockets that are needed for

Re: Probably wrong place to ask

2007-01-19 Thread Gene Heskett
On Friday 19 January 2007 16:22, Bill Davidsen wrote: >Gene Heskett wrote: >> Greetings all; >> >> I have a card reader plugged into a usb port. I recognizes a 512meg >> pny cf card just fine, but wwhen I plug in a 256meg Lexar cf, the led >> comes on, but there is no reaction from linux.

Re: Probably wrong place to ask

2007-01-19 Thread Gene Heskett
On Friday 19 January 2007 14:57, Gene Heskett wrote: >Greetings all; > >I have a card reader plugged into a usb port. I recognizes a 512meg pny >cf card just fine, but wwhen I plug in a 256meg Lexar cf, the led comes >on, but there is no reaction from linux. /dev/sda is not created, >nothing. >

Re: [PATCH] Documentation/rbtree.txt

2007-01-19 Thread Randy Dunlap
On Thu, 18 Jan 2007 15:33:25 -0500 Rob Landley wrote: > Signed-off-by: Rob Landley <[EMAIL PROTECTED]> > > Documentation for lib/rbtree.c. > > -- > > I'm not an expert on this but I was asked to write up some documentation > for rbtree in the Linux kernel, and as long as it's there... > > I'm

Re: [ANNOUNCE] System Inactivity Monitor v1.0

2007-01-19 Thread Scott Preece
On 1/19/07, Jan Engelhardt <[EMAIL PROTECTED]> wrote: On Jan 19 2007 11:45, Scott Preece wrote: > Hi, attached is a patch for your gentable file, rewriting some of the > user prompts to make them more readable. I still don't get why this is called "SIN" in the Kconfig and code texts though the

Re: [PATCH] include linux/fs.h in linux/cdev.h for struct inode

2007-01-19 Thread Jan Engelhardt
>Subject: [PATCH] include linux/fs.h in linux/cdev.h for struct inode NAK. Better is this: Add missing struct predeclarations, otherwise we may get x.c:2: warning: ‘struct inode’ declared inside parameter list x.c:2: warning: its scope is only this definition or declaration, which is probably

Re: [ANNOUNCE] System Inactivity Monitor v1.0

2007-01-19 Thread Jan Engelhardt
On Jan 19 2007 11:45, Scott Preece wrote: > Hi, attached is a patch for your gentable file, rewriting some of the > user prompts to make them more readable. I still don't get why this is called "SIN" in the Kconfig and code texts though the acronym for System Inactivity Monitor would be "SIM".

Re: unable to mmap /dev/kmem

2007-01-19 Thread Andi Kleen
> But personally I'd prefer it to remain. Similar. I also got some tools who use it to read kernel variables and doing the V->P conversion in user space would be tedious and unreliable (e.g. for vmalloc) -Andi - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

Re: [PATCH 8/15] ide: disable DMA in ->ide_dma_check for "no IORDY" case

2007-01-19 Thread Bartlomiej Zolnierkiewicz
Sergei Shtylyov wrote: > Hello. > > Bartlomiej Zolnierkiewicz wrote: > [PATCH] ide: disable DMA in ->ide_dma_check for "no IORDY" case > >>> I've looked thru the code, and found more issues with the PIO fallback >>> there. Will try to cook up patches for at least some drivers... > >>

Re: [patch] optimize o_direct on block device - v3

2007-01-19 Thread Andrew Morton
> On Fri, 19 Jan 2007 12:14:05 -0600 Michael Reed <[EMAIL PROTECTED]> wrote: > Thanks again for finding the fix to the problem I reported. > Can you tell me when I might expect this fix to show up in > 2.6.20-rc? next week.. - To unsubscribe from this list: send the line "unsubscribe

Re: Threading...

2007-01-19 Thread Bill Davidsen
Brian McGrew wrote: On 1/19/07 10:55 AM, "Arjan van de Ven" <[EMAIL PROTECTED]> wrote: On Fri, 2007-01-19 at 10:43 -0800, Brian McGrew wrote: I have a very interesting question about something that we're seeing happening with threading between Fedora Core 3 and Fedora Core 5. Running on Dell

Re: Probably wrong place to ask

2007-01-19 Thread Bill Davidsen
Gene Heskett wrote: Greetings all; I have a card reader plugged into a usb port. I recognizes a 512meg pny cf card just fine, but wwhen I plug in a 256meg Lexar cf, the led comes on, but there is no reaction from linux. /dev/sda is not created, nothing. Is this a kernel config problem, or

Re: [ANNOUNCE] System Inactivity Monitor v1.0

2007-01-19 Thread Bill Davidsen
Alessandro Di Marco wrote: Hi all, this is a new 2.6.20 module implementing a user inactivity trigger. Basically it acts as an event sniffer, issuing an ACPI event when no user activity is detected for more than a certain amount of time. This event can be successively grabbed and managed by an

[PATCH] Recognize video=gx1fb:... option

2007-01-19 Thread Alexey Dobriyan
Juergen Beisert reported that the following option doesn't work for him video=gx1fb:[EMAIL PROTECTED] though sisfb was able to parse similar option correctly. Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]> --- drivers/video/geode/gx1fb_core.c | 29 -

Re: [PATCH 2/5 (try 2)] eCryptfs: convert kmap() to kmap_atomic()

2007-01-19 Thread Michael Halcrow
On Fri, Jan 19, 2007 at 02:04:47PM +0200, Pekka Enberg wrote: > On 1/18/07, Michael Halcrow <[EMAIL PROTECTED]> wrote: > >+ page_data = (char *)kmap_atomic(page, KM_USER0); > >+ lower_page_data = (char *)kmap_atomic(lower_page, KM_USER1); > > Drop 'em redundant casts, please. Replace

Re: SATA exceptions with 2.6.20-rc5

2007-01-19 Thread chunkeey
On Friday, 19. January 2007 16:05, Alistair John Strachan wrote: > On Tuesday 16 January 2007 01:53, Jeff Garzik wrote: > > Robert Hancock wrote: > > > I'll try your stress test when I get a chance, but I doubt I'll run > > > into the same problem and I haven't seen any similar reports. Perhaps >

Re: [PATCH] Don't map random pages if swapoff errors

2007-01-19 Thread Alexey Kuznetsov
Hello! > Getting an error there is all the more reason to proceed > with the swapoff, not to give up and break out of it. Yes, from this viewpoint more reasonable approach would be to untie corresponding ptes from swap entry and mark them as invalid to trigger fault on access. Not even tried

Re: [PATCH] include linux/fs.h in linux/cdev.h for struct inode

2007-01-19 Thread Alexey Dobriyan
On Fri, Jan 19, 2007 at 12:54:07PM -0600, Noah Watkins wrote: > --- a/include/linux/cdev.h > +++ b/include/linux/cdev.h > @@ -5,6 +5,7 @@ > #include > #include > #include > +#include > > struct cdev { > struct kobject kobj; It is not for "struct inode", but to a pointer to struct

Probably wrong place to ask

2007-01-19 Thread Gene Heskett
Greetings all; I have a card reader plugged into a usb port. I recognizes a 512meg pny cf card just fine, but wwhen I plug in a 256meg Lexar cf, the led comes on, but there is no reaction from linux. /dev/sda is not created, nothing. Is this a kernel config problem, or is this particular cf

Re: Odd USB problem on THOMSON PDP95FM

2007-01-19 Thread Greg KH
On Fri, Jan 19, 2007 at 06:55:10PM +, Marco Ferra wrote: > Hi kernel developers > > I don't know if this is the proper list but I have a very odd problem > and it's driving me nuts for the past two days. I suggest posting this to the linux-usb-devel mailing list, and including your kernel

Re: linux-2.6.20-rc4-mm1 Reiser4 filesystem freeze and corruption

2007-01-19 Thread Edward Shishkin
Zan Lynx wrote: I have been running 2.6.20-rc2-mm1 without problems, but both rc3-mm1 and rc4-mm1 have been giving me these freezes. I didn't investigate it in details yet, other file systems also freeze for me: http://marc.theaimsgroup.com/?l=linux-kernel=116809282829254=2 They were

Re: [PATCH 8/15] ide: disable DMA in ->ide_dma_check for "no IORDY" case

2007-01-19 Thread Sergei Shtylyov
Hello. Bartlomiej Zolnierkiewicz wrote: [PATCH] ide: disable DMA in ->ide_dma_check for "no IORDY" case I've looked thru the code, and found more issues with the PIO fallback there. Will try to cook up patches for at least some drivers... Great, if possible please base them on top of

Re: EDAC chipkill messages

2007-01-19 Thread Doug Thompson
--- Orion Poplawski <[EMAIL PROTECTED]> wrote: > Robert Hancock wrote: > > Orion Poplawski wrote: > >> Can someone please explain to me what these mean? > >> > >> EDAC k8 MC1: general bus error: participating processor(local node > > >> origin), time-out(no timeout) memory transaction

Re: Threading...

2007-01-19 Thread Arjan van de Ven
> > And on FC5 I am using pthread_self but my problem isn't simply with > pthread_self, it's with the scheduling. maybe your kernel has a broken scheduler loadbalancing? you really shouldn't have to do this manually. At all. > On FC3 both threads run > simultaneously in almost symmetric

Re: [PATCH] include linux/fs.h in linux/cdev.h for struct inode

2007-01-19 Thread Randy Dunlap
On Fri, 19 Jan 2007 12:54:07 -0600 Noah Watkins wrote: > --- > include/linux/cdev.h |1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/include/linux/cdev.h b/include/linux/cdev.h > index f309b00..b53e2a0 100644 > --- a/include/linux/cdev.h > +++ b/include/linux/cdev.h

Re: [patch 3/3] clockevent driver for arm/pxa2xx

2007-01-19 Thread Guennadi Liakhovetski
On Tue, 9 Jan 2007 [EMAIL PROTECTED] wrote: > Add a clockevent driver for pxa systems. This patch also removes the pxa > dyntick support since it is not necessary anymore with generic dynamic > tick support > > Signed-off-by: Luotao Fu <[EMAIL PROTECTED]> > Signed-off-by: Sascha Hauer <[EMAIL

Re: [PATCH 8/15] ide: disable DMA in ->ide_dma_check for "no IORDY" case

2007-01-19 Thread Bartlomiej Zolnierkiewicz
Sergei Shtylyov wrote: > Hello. Hi, > Bartlomiej Zolnierkiewicz wrote: >> [PATCH] ide: disable DMA in ->ide_dma_check for "no IORDY" case > >I've looked thru the code, and found more issues with the PIO fallback > there. Will try to cook up patches for at least some drivers... Great, if

[PATCH] include linux/fs.h in linux/cdev.h for struct inode

2007-01-19 Thread Noah Watkins
--- include/linux/cdev.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/linux/cdev.h b/include/linux/cdev.h index f309b00..b53e2a0 100644 --- a/include/linux/cdev.h +++ b/include/linux/cdev.h @@ -5,6 +5,7 @@ #include #include #include +#include struct

Re: [RPC][PATCH 2.6.20-rc5] limit total vfs page cache

2007-01-19 Thread Christoph Lameter
On Sat, 20 Jan 2007, Vaidyanathan Srinivasan wrote: > >> However when the zone reclaimer starts to reclaim pages, it will > >> remove all cold pages and not specifically pagecache pages. This > >> may affect performance of applications. The reclaimer is passed a control structure that can be

Re: Threading...

2007-01-19 Thread Brian McGrew
On 1/19/07 10:55 AM, "Arjan van de Ven" <[EMAIL PROTECTED]> wrote: > On Fri, 2007-01-19 at 10:43 -0800, Brian McGrew wrote: >> I have a very interesting question about something that we're seeing >> happening with threading between Fedora Core 3 and Fedora Core 5. Running >> on Dell PowerEdge

Odd USB problem on THOMSON PDP95FM

2007-01-19 Thread Marco Ferra
Hi kernel developers I don't know if this is the proper list but I have a very odd problem and it's driving me nuts for the past two days. I have a portable mp3 player named: usb-storage: waiting for device to settle before scanning Vendor: THOMSON Model: PDP95FM SeriesRev: 0100 Type:

Re: Threading...

2007-01-19 Thread Arjan van de Ven
On Fri, 2007-01-19 at 10:43 -0800, Brian McGrew wrote: > I have a very interesting question about something that we're seeing > happening with threading between Fedora Core 3 and Fedora Core 5. Running > on Dell PowerEdge 1800 Hardware with a Xeon processor with hyper-threading > turned on. Both

Re: [RPC][PATCH 2.6.20-rc5] limit total vfs page cache

2007-01-19 Thread Vaidyanathan Srinivasan
Aubrey Li wrote: > On 1/19/07, Vaidyanathan Srinivasan <[EMAIL PROTECTED]> wrote: >> >> Hi Aubrey, >> >> The idea of creating separate flag for pagecache in page_alloc is >> interesting. The good part is that you flag watermark low and the >> zone reclaimer will do the rest of the job. >> >>

Threading...

2007-01-19 Thread Brian McGrew
I have a very interesting question about something that we're seeing happening with threading between Fedora Core 3 and Fedora Core 5. Running on Dell PowerEdge 1800 Hardware with a Xeon processor with hyper-threading turned on. Both systems are using a 2.6.16.16 kernel (MVP al la special). We

Re: [PATCH] Stop making "inline" imply forced inlining.

2007-01-19 Thread Adrian Bunk
On Fri, Jan 19, 2007 at 12:39:37PM -0500, Robert P. J. Day wrote: > On Fri, 19 Jan 2007, Adrian Bunk wrote: > > > On Fri, Jan 19, 2007 at 11:56:30AM -0500, Robert P. J. Day wrote: > > > > > > Remove the macros that define simple "inlining" to mean forced > > > inlining, since you can (and

[-mm patch] drivers/mtd/ubi/: possible cleanups

2007-01-19 Thread Adrian Bunk
On Thu, Jan 11, 2007 at 10:26:27PM -0800, Andrew Morton wrote: >... > Changes since 2.6.20-rc3-mm1: >... > git-ubi.patch >... > git trees >... This patch contains the following possible cleanups: - make needlessly global code static - remove the following unused variable: - debug.c:

[patch] hid: put usb_interface instead of usb_device into hid->dev

2007-01-19 Thread Anssi Hannula
The commit 4916b3a57fc94664677d439b911b8aaf86c7ec23 introduced a hid regression between 2.6.19 and 2.6.20-rc1. The device put in input_dev->cdev is now of type usb_device instead of usb_interface. Before: > # readlink -f /sys/class/input/input6/event4/device >

Re: [PATCH] nfs: fix congestion control

2007-01-19 Thread Christoph Lameter
On Fri, 19 Jan 2007, Trond Myklebust wrote: > That would be good as a default, but I've been thinking that we could > perhaps also add a sysctl in /proc/sys/fs/nfs in order to make it a > tunable? Good idea. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

Re: [PATCH] nfs: fix congestion control

2007-01-19 Thread Trond Myklebust
On Fri, 2007-01-19 at 18:57 +0100, Peter Zijlstra wrote: > On Fri, 2007-01-19 at 09:20 -0800, Christoph Lameter wrote: > > On Fri, 19 Jan 2007, Peter Zijlstra wrote: > > > > > + /* > > > + * NFS congestion size, scale with available memory. > > > + * > > > > Well this all depends on the memory

Re: [RPC][PATCH 2.6.20-rc5] limit total vfs page cache

2007-01-19 Thread Christoph Lameter
On Thu, 18 Jan 2007, Aubrey Li wrote: > +int sysctl_pagecache_ratio = 10; > + Pagecache ratio is the ratio of memory to be left over? Would it not be better to twist this around and to be able to specify how much of the memory of a node may be used by the pagecache? Why limit the size of the

Re: [patch] optimize o_direct on block device - v3

2007-01-19 Thread Michael Reed
Hi Andrew, Thanks again for finding the fix to the problem I reported. Can you tell me when I might expect this fix to show up in 2.6.20-rc? Thanks, Mike Andrew Morton wrote: > On Thu, 11 Jan 2007 13:21:57 -0600 > Michael Reed <[EMAIL PROTECTED]> wrote: > >> Testing on my ia64 system reveals

Re: [patch] hid: put usb_interface instead of usb_device into hid->dev

2007-01-19 Thread Jiri Kosina
On Fri, 19 Jan 2007, Anssi Hannula wrote: > The commit 4916b3a57fc94664677d439b911b8aaf86c7ec23 introduced a > hid regression between 2.6.19 and 2.6.20-rc1. The device put in > input_dev->cdev is now of type usb_device instead of usb_interface. Yes, this is apparently a bug. Thanks a lot for the

Re: [PATCH] nfs: fix congestion control

2007-01-19 Thread Christoph Lameter
On Fri, 19 Jan 2007, Peter Zijlstra wrote: > Eeuh, right. Glad to have you around to remind how puny my boxens > are :-) Sorry about that but it was unavoidable if we want to get to reasonable limits that will work in all situations. - To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH] Don't map random pages if swapoff errors

2007-01-19 Thread Hugh Dickins
On Fri, 19 Jan 2007, Alexey Dobriyan wrote: > From: Alexey Kuznetsov <[EMAIL PROTECTED]> > > If read failed we cannot map not-uptodate page to user space. Good point. > Actually, we are in serious troubles, we do not even know what > process to kill. True, though we don't really want to kill

Re: BUG: linux 2.6.19 unable to enable acpi

2007-01-19 Thread Matheus Izvekov
On 1/19/07, Len Brown <[EMAIL PROTECTED]> wrote: I guess I'm losing my mind, because when I read this code, there are only two ways out of the while(retry) loop. Either return with success, or retry is 0. So how the heck is retry printed as 142?! did you notice any delay between the last two

Re: [PATCH] nfs: fix congestion control

2007-01-19 Thread Peter Zijlstra
On Fri, 2007-01-19 at 09:20 -0800, Christoph Lameter wrote: > On Fri, 19 Jan 2007, Peter Zijlstra wrote: > > > + /* > > +* NFS congestion size, scale with available memory. > > +* > > Well this all depends on the memory available to the running process. > If the process is just allowed

linux-2.6.20-rc4-mm1 Reiser4 filesystem freeze and corruption

2007-01-19 Thread Zan Lynx
I have been running 2.6.20-rc2-mm1 without problems, but both rc3-mm1 and rc4-mm1 have been giving me these freezes. They were happening inside X and without external console it was impossible to get anything, plus I was reluctant to test it since the freeze sometimes requires a full fsck.reiser4

Re: [PATCH] nfs: fix congestion control

2007-01-19 Thread Peter Zijlstra
On Fri, 2007-01-19 at 11:51 -0500, Trond Myklebust wrote: > > So with that out of the way I now have this > > Looks much better. Just one obvious buglet... > > @@ -1565,6 +1579,23 @@ int __init nfs_init_writepagecache(void) > > if (nfs_commit_mempool == NULL) > > return -ENOMEM;

Re: Possible ways of dealing with OOM conditions.

2007-01-19 Thread Christoph Lameter
On Thu, 18 Jan 2007, Peter Zijlstra wrote: > > > Cache misses for small packet flow due to the fact, that the same data > > is allocated and freed and accessed on different CPUs will become an > > issue soon, not right now, since two-four core CPUs are not yet to be > > very popular and price

Re: [PATCH] Stop making "inline" imply forced inlining.

2007-01-19 Thread Robert P. J. Day
On Fri, 19 Jan 2007, Adrian Bunk wrote: > On Fri, Jan 19, 2007 at 11:56:30AM -0500, Robert P. J. Day wrote: > > > > Remove the macros that define simple "inlining" to mean forced > > inlining, since you can (and *should*) get that effect with the > > CONFIG_FORCED_INLINING kernel config

Re: unable to mmap /dev/kmem

2007-01-19 Thread Hugh Dickins
On Fri, 19 Jan 2007, Arjan van de Ven wrote: > On Fri, 2007-01-19 at 17:12 +, Hugh Dickins wrote: > > Though so long as /dev/mem support remains, /dev/kmem might as well? > > they're not the same; for a long time, /dev/mem on actual memory > returned zeros... so you couldn't use it for

  1   2   3   4   >