ipw2200 device naming problems in 2.6.20-rc2-git1

2006-12-31 Thread Robert Hancock
Having some intermittent problems using my ipw2200 wireless card on 2.6.20-rc2-git1 (may affect earlier versions as well) under Fedora Core 6 i386. It appears that sometimes on bootup the interface gets named with a junk name like __tmp32284835 and it doesn't show up in ifconfig. rmmod/insmod

Suspend problems on 2.6.20-rc2-git1

2006-12-31 Thread Robert Hancock
Having some suspend problems on 2.6.20-rc2-git1 with Fedora Core 6. First of all the normal user interface for hibernate isn't working properly while it did in 2.6.19. When you select Hibernate it seems to stop X and go into console mode but somehow doesn't seem to actually start the process

[PATCH 2.6.20-rc2] make xconfig Search Dialog

2006-12-31 Thread Shlomi Fish
Hi all! [ I'm not subscribed to this list so please CC me on your replies. ] This patch is a reworked version of: http://www.ussg.iu.edu/hypermail/linux/kernel/0603.3/0990.html It adds a search dialog to the kernel's make xconfig configuration applet. Changes in this release include: 1.

Re: IO-APIC + timer doesn't work

2006-12-31 Thread Yinghai Lu
Please check the revised patch YH [PATCH] x86_64: check_timer with io apic setup before try_apic_pin add io apic setup before try_apic_pin for check_timer also add remove_irq_to_pin call in io_apic.c cc: Andi Kleen [EMAIL PROTECTED] cc: Eric W. Biederman [EMAIL PROTECTED] Signed-off-by:

Re: fuse, get_user_pages, flush_anon_page, aliasing caches and all that again

2006-12-31 Thread Miklos Szeredi
Therefore, FUSE probably could have been fixed by judicious use of copy_{to,from}_user_page() calls instead of adding this new ad-hoc flush_anon_page() thing. Probably, but I don't think either interface is perfect. copy_*_user_page() will double flush the user mapping (get_user_pages()

Re: [PATCH 4/4] Char: mxser_new, fix twice resource releasing

2006-12-31 Thread Sergei Organov
Jiri Slaby [EMAIL PROTECTED] writes: mxser_new, fix twice resource releasing Hi Jiri, I've noticed the patch(es) and will be happy to test them after the holidays. Thank you very much for working on these issues and Happy New Year! -- Sergei. - To unsubscribe from this list: send the line

Re: fuse, get_user_pages, flush_anon_page, aliasing caches and all that again

2006-12-31 Thread Russell King
On Sat, Dec 30, 2006 at 09:23:38PM -0800, David Miller wrote: From: Russell King [EMAIL PROTECTED] Date: Sat, 30 Dec 2006 22:46:04 + iirc, flush_anon_page() was introduced to fix non-working fuse on parisc, which occurs because fuse wants to use get_user_pages() to read data from the

Re: fuse, get_user_pages, flush_anon_page, aliasing caches and all that again

2006-12-31 Thread Arjan van de Ven
However, it's not only FUSE which is suffering - direct-IO also doesn't work. for direct-IO the kernel won't touch the data *at all*... (that's the point ;) is it still an issue then? -- if you want to mail me at work (you don't), use arjan (at) linux.intel.com Test the interaction

Re: [PATCH] Open Firmware device tree virtual filesystem

2006-12-31 Thread Mitch Bradley
David Miller wrote: ... Can we please not have N different interfaces to the open-firmware calls so that perhaps powerpc and Sparc have a chance of using this code too? The base interface function is callofw(), which is effectively identical to call_prom_ret() in

Re: 2.6.20-rc2: known unfixed regressions (v2)

2006-12-31 Thread Ismail Dönmez
31 Ara 2006 Paz 02:47 tarihinde, Adrian Bunk şunları yazmıştı: [...] Subject: ALSA: No sound in KDE with intel hda References : http://lkml.org/lkml/2006/12/30/73 Submitter : Ismail Dönmez [EMAIL PROTECTED] Status : unknown Just tried with 2.6.18.6 and aRts still have no sound,

Re: fuse, get_user_pages, flush_anon_page, aliasing caches and all that again

2006-12-31 Thread David Miller
From: Miklos Szeredi [EMAIL PROTECTED] Date: Sun, 31 Dec 2006 10:10:35 +0100 Therefore, FUSE probably could have been fixed by judicious use of copy_{to,from}_user_page() calls instead of adding this new ad-hoc flush_anon_page() thing. Probably, but I don't think either interface is

Re: fuse, get_user_pages, flush_anon_page, aliasing caches and all that again

2006-12-31 Thread David Miller
From: Russell King [EMAIL PROTECTED] Date: Sun, 31 Dec 2006 09:23:18 + We do this on ARM - if page_mapping() is NULL, we flush the kernel alias unconditionally. However, we have no view where the user mapping of that page is, which is where the problem is. Cache lines remain allocated

Re: fuse, get_user_pages, flush_anon_page, aliasing caches and all that again

2006-12-31 Thread David Miller
From: Arjan van de Ven [EMAIL PROTECTED] Date: Sun, 31 Dec 2006 10:27:22 +0100 However, it's not only FUSE which is suffering - direct-IO also doesn't work. for direct-IO the kernel won't touch the data *at all*... (that's the point ;) is it still an issue then? It can be an

Re: fuse, get_user_pages, flush_anon_page, aliasing caches and all that again

2006-12-31 Thread Russell King
On Sun, Dec 31, 2006 at 10:27:22AM +0100, Arjan van de Ven wrote: However, it's not only FUSE which is suffering - direct-IO also doesn't work. for direct-IO the kernel won't touch the data *at all*... (that's the point ;) Wrong. One word: PIO. We _still_ to this day have no

Re: [PATCH] Open Firmware device tree virtual filesystem

2006-12-31 Thread David Miller
From: Mitch Bradley [EMAIL PROTECTED] Date: Sat, 30 Dec 2006 23:36:45 -1000 The base interface function is callofw(), which is effectively identical to call_prom_ret() in arch/powerpc/kernel/prom_init.c . So it seems that PowerPC could use it. I suppose I could change the name of

Re: fuse, get_user_pages, flush_anon_page, aliasing caches and all that again

2006-12-31 Thread Russell King
On Sun, Dec 31, 2006 at 01:47:56AM -0800, David Miller wrote: From: Arjan van de Ven [EMAIL PROTECTED] Date: Sun, 31 Dec 2006 10:27:22 +0100 However, it's not only FUSE which is suffering - direct-IO also doesn't work. for direct-IO the kernel won't touch the data *at all*... (that's

Re: fuse, get_user_pages, flush_anon_page, aliasing caches and all that again

2006-12-31 Thread David Miller
From: Russell King [EMAIL PROTECTED] Date: Sun, 31 Dec 2006 10:00:07 + I'm willing to do that - and I guess this means we can probably do this instead of walking the list of VMAs for the shared mapping, thereby hitting both anonymous and shared mappings with the same code? That's pretty

Re: [PATCH] Open Firmware device tree virtual filesystem

2006-12-31 Thread David Kahn
Responding to two replies in one email ... Mitch Bradley wrote: David Miller wrote: ... Can we please not have N different interfaces to the open-firmware calls so that perhaps powerpc and Sparc have a chance of using this code too? David, I helped Mitch do this port, so I'd like to

Re: [PATCH] Open Firmware device tree virtual filesystem

2006-12-31 Thread David Miller
From: David Kahn [EMAIL PROTECTED] Date: Sun, 31 Dec 2006 02:11:53 -0800 All we've done is created a trivial implementation for exporting the device tree to userland that isn't burdened by the powerpc and sparc legacy code that's in there now. So now we'll have _3_ different implementations

Re: [PATCH] ARM: OMAP: fix MMC workqueue changes

2006-12-31 Thread Pierre Ossman
Kyungmin Park wrote: [PATCH] ARM: OMAP: fix MMC workqueue changes fix OMAP MMC workqueue in recent workqueue change Signed-off-by: Kyungmin Park [EMAIL PROTECTED] Signed-off-by: Tony Lindgren [EMAIL PROTECTED] Applied thanks. In the future, please add a -- after the signed-off-by lines

Re: [PATCH 2.6.19] mmc: Add support for SDHC cards

2006-12-31 Thread Pierre Ossman
Philip Langdale wrote: Hi all, *snip* Signed-off-by: Philipl Langdale [EMAIL PROTECTED] When you have a commit message larger than the patch, you know there is something wrong. ;) Please skip the part about MMC at least. @@ -588,12 +591,15 @@ if (mmc_card_sd(card)) {

Re: [PATCH] Open Firmware device tree virtual filesystem

2006-12-31 Thread David Kahn
David Miller wrote: From: David Kahn [EMAIL PROTECTED] Date: Sun, 31 Dec 2006 02:11:53 -0800 All we've done is created a trivial implementation for exporting the device tree to userland that isn't burdened by the powerpc and sparc legacy code that's in there now. So now we'll have _3_

Re: ipw2200 device naming problems in 2.6.20-rc2-git1

2006-12-31 Thread Brice Goglin
Robert Hancock wrote: Having some intermittent problems using my ipw2200 wireless card on 2.6.20-rc2-git1 (may affect earlier versions as well) under Fedora Core 6 i386. It appears that sometimes on bootup the interface gets named with a junk name like __tmp32284835 and it doesn't show up in

Re: [PATCH 2.6.20-rc2] Add a quirk to allow at least some ENE PCI SD card readers to work again

2006-12-31 Thread Pierre Ossman
Darren Salt wrote: Add a quirk to allow at least some ENE PCI SD card readers to work again Support for these devices was broken for 2.6.18-rc1 and later by commit 146ad66eac836c0b976c98f428d73e1f6a75270d, which added voltage level support. This restores the previous behaviour for these

Re: [S390] cio: fix stsch_reset.

2006-12-31 Thread Martin Schwidefsky
On Sun, 2006-12-31 at 01:31 -0500, Chuck Ebbert wrote: @@ -881,10 +880,18 @@ static void cio_reset_pgm_check_handler( static int stsch_reset(struct subchannel_id schid, volatile struct schib *addr) { int rc; + register struct subchannel_id reg1 asm (1) = schid;

Re: [PATCH] Open Firmware device tree virtual filesystem

2006-12-31 Thread Rene Rebe
Hi, On Sunday 31 December 2006 11:49, David Miller wrote: From: David Kahn [EMAIL PROTECTED] Date: Sun, 31 Dec 2006 02:11:53 -0800 All we've done is created a trivial implementation for exporting the device tree to userland that isn't burdened by the powerpc and sparc legacy code that's

Re: [S390] cio: fix stsch_reset.

2006-12-31 Thread Heiko Carstens
On Sun, Dec 31, 2006 at 01:31:43AM -0500, Chuck Ebbert wrote: In-Reply-To: [EMAIL PROTECTED] On Thu, 28 Dec 2006 11:39:25 +0100, Martin Schwidefsky wrote: @@ -881,10 +880,18 @@ static void cio_reset_pgm_check_handler( static int stsch_reset(struct subchannel_id schid, volatile struct

Re: [RFC] MTD driver for MMC cards

2006-12-31 Thread Pierre Ossman
Arnd Bergmann wrote: This is an experiment on how an SD/MMC card could be used in the MTD layer. I don't currently have a system set up to test this, so this driver is completely _untested_ and therefore you should consider it _broken_. You can get similar functionality by using the

Re: fuse, get_user_pages, flush_anon_page, aliasing caches and all that again

2006-12-31 Thread Miklos Szeredi
I'm willing to do that - and I guess this means we can probably do this instead of walking the list of VMAs for the shared mapping, thereby hitting both anonymous and shared mappings with the same code? But for the get_user_pages() case there's no point, is there? The VMA and the virtual

Re: Open letter to Linux kernel developers (was Re: Binary Drivers)

2006-12-31 Thread Bernd Petrovitsch
On Fri, 2006-12-22 at 12:59 +0100, Erik Mouw wrote: On Thu, Dec 21, 2006 at 01:16:15PM -0500, [EMAIL PROTECTED] wrote: At least nVidia *does* actually Get It, they just don't have a choice in implementing it, because all their current hardware includes patents that they licensed from other

Re: openpromfs issue

2006-12-31 Thread Jan Engelhardt
Hi list, in http://lkml.org/lkml/2006/5/15/128 I reported a problem with openpromfs showing both CPUs under the same node name. As I looked today into /proc/openpromfs - running 2.6.18-1.2798.al3.1smp now - this issue is fixed. Any details about this - can you point me to a linux-sparc

Re: Open letter to Linux kernel developers (was Re: Binary Drivers)

2006-12-31 Thread Trent Waddington
On Thu, Dec 21, 2006 at 01:16:15PM -0500, [EMAIL PROTECTED] wrote: At least nVidia *does* actually Get It, they just don't have a choice in implementing it, because all their current hardware includes patents that they licensed from other companies What makes you think they get it? In a

Re: [PATCH] Open Firmware device tree virtual filesystem

2006-12-31 Thread Pekka Enberg
On 12/31/06, Mitch Bradley [EMAIL PROTECTED] wrote: diff --git a/arch/i386/kernel/ofw_fs.c b/arch/i386/kernel/ofw_fs.c new file mode 100644 index 000..30ca359 --- /dev/null +++ b/arch/i386/kernel/ofw_fs.c @@ -0,0 +1,261 @@ +/* 1275 in little-endian ASCII (for IEEE 1275 - the Open Firmware

Re: Suspend problems on 2.6.20-rc2-git1

2006-12-31 Thread Rafael J. Wysocki
On Sunday, 31 December 2006 09:15, Robert Hancock wrote: Having some suspend problems on 2.6.20-rc2-git1 with Fedora Core 6. First of all the normal user interface for hibernate isn't working properly while it did in 2.6.19. When you select Hibernate it seems to stop X and go into console

Re: [PATCH] [DISCUSS] Make the variable NULL after freeing it.

2006-12-31 Thread Bernd Petrovitsch
On Thu, 2006-12-28 at 09:54 +0100, Jan Engelhardt wrote: On Dec 27 2006 17:10, Pavel Machek wrote: Was just wondering if the _var_ in kfree(_var_) could be set to NULL after its freed. It may solve the problem of accessing some freed memory as the kernel will crash since _var_ was set to

Re: replace memset(...,0,PAGE_SIZE) calls with clear_page()?

2006-12-31 Thread Folkert van Heusden
i don't see how that can be true, given that most of the definitions of the clear_page() macro are simply invocations of memset(). see for yourself: *MOST*. Not all. For example an SSE version will at least assume 16 byte alignment, etc etc. What about an if (adress 15) { memset } else

[PATCH 0/3] KVM: Miscellaneous stabilization fixes

2006-12-31 Thread Avi Kivity
A trio of fixes for miscellaneous problems, that don't affect usage under normal .configs and usage. However they do need fixing. -- error compiling committee.c: too many arguments to function - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

[PATCH 1/3] KVM: Fix GFP_KERNEL alloc in atomic section bug

2006-12-31 Thread Avi Kivity
From: Ingo Molnar [EMAIL PROTECTED] KVM does kmalloc() in an atomic section while having preemption disabled via vcpu_load(). Fix this by moving the -*_msr setup from the vcpu_setup method to the vcpu_create method. (This is also a small speedup for setting up a vcpu, which can in theory be

[PATCH 2/3] KVM: Use raw_smp_processor_id() instead of smp_processor_id() where applicable

2006-12-31 Thread Avi Kivity
From: Ingo Molnar [EMAIL PROTECTED] Signed-off-by: Avi Kivity [EMAIL PROTECTED] Index: linux-2.6/drivers/kvm/vmx.c === --- linux-2.6.orig/drivers/kvm/vmx.c +++ linux-2.6/drivers/kvm/vmx.c @@ -116,7 +116,7 @@ static void

[PATCH 3/3] KVM: Recover after an arch module load failure

2006-12-31 Thread Avi Kivity
From: Yoshimi Ichiyanagi [EMAIL PROTECTED] If we load the wrong arch module, it leaves behind kvm_arch_ops set, which prevents loading of the correct arch module later. Fix be not setting kvm_arch_ops until we're sure it's good. Signed-off-by: Yoshimi Ichiyanagi [EMAIL PROTECTED] Signed-off-by:

[PATCH] KVM: Improve interrupt response

2006-12-31 Thread Avi Kivity
From: Dor Laor [EMAIL PROTECTED] The current interrupt injection mechanism might delay an interrupt under the following circumstances: - if injection fails because the guest is not interruptible (rflags.IF clear, or after a 'mov ss' or 'sti' instruction). Userspace can check rflags, but

Re: [OOPS] bcm43xx oops on 2.6.20-rc1 on x86_64

2006-12-31 Thread Adrian Bunk
On Sat, Dec 30, 2006 at 04:45:21PM -0600, Larry Finger wrote: Adrian Bunk wrote: On Sat, Dec 30, 2006 at 03:23:42PM -0600, Larry Finger wrote: Adrian Bunk wrote: On Sun, Dec 17, 2006 at 03:15:28PM -0500, Aaron Sethman wrote: Just was loading the bcm43xx module and got the following oops.

Re: replace memset(...,0,PAGE_SIZE) calls with clear_page()?

2006-12-31 Thread Arjan van de Ven
On Sun, 2006-12-31 at 14:39 +0100, Folkert van Heusden wrote: i don't see how that can be true, given that most of the definitions of the clear_page() macro are simply invocations of memset(). see for yourself: *MOST*. Not all. For example an SSE version will at least assume 16 byte

Re: Oops in 2.6.19.1

2006-12-31 Thread Alistair John Strachan
On Saturday 30 December 2006 16:59, Alistair John Strachan wrote: I have compiled GCC 3.4.6 and compiled 2.6.19 with an identical config using this compiler (but the same binutils), and will report back if it crashes. My bet is that it won't, however. Still fine after 24 hours. Linux 2.6.19,

Re: VM: Fix nasty and subtle race in shared mmap'ed page writeback

2006-12-31 Thread Andrea Gelmini
On Sun, Dec 31, 2006 at 02:55:58PM +1100, Nick Piggin wrote: This bug was only introduced in 2.6.19, due to a change that caused pte no, Linus said that with 2.6.19 it's easier to trigger this bug... So if your corruption is years old, then it must be something else. Maybe it is hidden by a

Re: [OOPS] bcm43xx oops on 2.6.20-rc1 on x86_64

2006-12-31 Thread Larry Finger
Adrian Bunk wrote: To avoid any misunderstandings: This wasn't in any way meant against you personally. And in this case you were right, it was the same bug. My answer was based on experiences like one during 2.6.19-rc where we had 4 bug reports for a regression with a patch

[ANNOUNCE] kvm-9 release

2006-12-31 Thread Avi Kivity
Changes from kvm-8: - API documentation (James Jacobsson) - More stabilization fixes (Yoshimi Ichiyanagi, Ingo Molnar, Nguyen Anh Quynh) - Interactivity improvements (Dor Laor) http://kvm.sourceforge.net -- error compiling committee.c: too many arguments to function - To unsubscribe from

Re: [PATCH] Open Firmware device tree virtual filesystem

2006-12-31 Thread Jan Engelhardt
On Dec 30 2006 15:38, Mitch Bradley wrote: Request for comments. It is similar in some respect to fs/proc/proc_devtree.c , but does not use procfs, nor does it require an intermediate layer of code to create a flattened representation of the device tree. NB: openpromfs does not use procfs

Re: Finding hardlinks

2006-12-31 Thread Mikulas Patocka
On Wed, 20 Dec 2006, Al Viro wrote: On Wed, Dec 20, 2006 at 05:50:11PM +0100, Miklos Szeredi wrote: I don't see any problems with changing struct kstat. There would be reservations against changing inode.i_ino though. So filesystems that have 64bit inodes will need a specialized getattr()

[BUG 2.6.20-rc2-mm1] init segfaults when CONFIG_PROFILE_LIKELY=y

2006-12-31 Thread Fengguang Wu
Hi, The following messages keeps popping up when CONFIG_PROFILE_LIKELY=y: init[1]: segfault at 8118c110 rip 8118c110 rsp 7fff9a9d14d8 error 15 init[1]: segfault at 8118c110 rip 8118c110 rsp 7fff9a9d14d8 error 15 init[1]: segfault at 8118c110 rip

Re: kref refcnt and false positives

2006-12-31 Thread David Woodhouse
On Thu, 2006-12-21 at 09:01 +, Linux Kernel Mailing List wrote: Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=f334b60b43a0927f4ab1187cbdb4582f5227c3b1 Commit: f334b60b43a0927f4ab1187cbdb4582f5227c3b1 Parent:

Re: [PATCH] Open Firmware device tree virtual filesystem

2006-12-31 Thread Christoph Hellwig
On Sun, Dec 31, 2006 at 02:49:17AM -0800, David Miller wrote: From: David Kahn [EMAIL PROTECTED] Date: Sun, 31 Dec 2006 02:11:53 -0800 All we've done is created a trivial implementation for exporting the device tree to userland that isn't burdened by the powerpc and sparc legacy code

Re: Suspend problems on 2.6.20-rc2-git1

2006-12-31 Thread Rafael J. Wysocki
On Sunday, 31 December 2006 14:27, Rafael J. Wysocki wrote: On Sunday, 31 December 2006 09:15, Robert Hancock wrote: Having some suspend problems on 2.6.20-rc2-git1 with Fedora Core 6. First of all the normal user interface for hibernate isn't working properly while it did in 2.6.19. When

Re: Oops in 2.6.19.1

2006-12-31 Thread Adrian Bunk
On Sat, Dec 30, 2006 at 04:59:35PM +, Alistair John Strachan wrote: On Thursday 28 December 2006 04:14, Alistair John Strachan wrote: On Thursday 28 December 2006 04:02, Alistair John Strachan wrote: On Thursday 28 December 2006 02:41, Zhang, Yanmin wrote: [snip] Here's a

Re: Oops in 2.6.19.1

2006-12-31 Thread Adrian Bunk
On Sat, Dec 30, 2006 at 06:29:15PM +, Alistair John Strachan wrote: On Saturday 30 December 2006 17:21, Chuck Ebbert wrote: In-Reply-To: [EMAIL PROTECTED] On Sat, 30 Dec 2006 16:59:35 +, Alistair John Strachan wrote: I've eliminated 2.6.19.1 as the culprit, and also tried

Re: replace memset(...,0,PAGE_SIZE) calls with clear_page()?

2006-12-31 Thread Robert P. J. Day
On Sun, 31 Dec 2006, Arjan van de Ven wrote: On Sun, 2006-12-31 at 14:39 +0100, Folkert van Heusden wrote: i don't see how that can be true, given that most of the definitions of the clear_page() macro are simply invocations of memset(). see for yourself: *MOST*. Not all. For

Re: Oops in 2.6.19.1

2006-12-31 Thread Alistair John Strachan
On Sunday 31 December 2006 16:28, Adrian Bunk wrote: On Sat, Dec 30, 2006 at 06:29:15PM +, Alistair John Strachan wrote: On Saturday 30 December 2006 17:21, Chuck Ebbert wrote: In-Reply-To: [EMAIL PROTECTED] On Sat, 30 Dec 2006 16:59:35 +, Alistair John Strachan wrote: I've

[PATCH] net/core/flow.c: compare data with memcmp

2006-12-31 Thread Daniel Marjamäki
From: Daniel Marjamäki This has been tested by me. Signed-off-by: Daniel Marjamäki [EMAIL PROTECTED] --- linux-2.6.20-rc2/net/core/flow.c2006-12-27 09:59:56.0 +0100 +++ linux/net/core/flow.c 2006-12-31 18:26:06.0 +0100 @@ -144,29 +144,16 @@ typedef u32 flow_compare_t;

Re: Oops in 2.6.19.1

2006-12-31 Thread Alistair John Strachan
On Sunday 31 December 2006 16:27, Adrian Bunk wrote: On Sat, Dec 30, 2006 at 04:59:35PM +, Alistair John Strachan wrote: On Thursday 28 December 2006 04:14, Alistair John Strachan wrote: On Thursday 28 December 2006 04:02, Alistair John Strachan wrote: On Thursday 28 December 2006

Re: Open letter to Linux kernel developers (was Re: Binary Drivers)

2006-12-31 Thread Alan
Why don't you release source? To protect the intellectual property. Well, duh! That's why everyone holds back source. So allow me to translate.. That IP story is for the most part not even credible. If they were worried about software IP they would release hardware docs and let us get on

Re: [PATCH 2.6.20-rc2] Add a quirk to allow at least some ENE PCI SD card readers to work again

2006-12-31 Thread Darren Salt
I demand that Pierre Ossman may or may not have written... Darren Salt wrote: Add a quirk to allow at least some ENE PCI SD card readers to work again Support for these devices was broken for 2.6.18-rc1 and later by commit 146ad66eac836c0b976c98f428d73e1f6a75270d, which added voltage level

[PATCH 2.6.20-rc2] Add a quirk to allow ENE PCI SD card readers to work again

2006-12-31 Thread Darren Salt
Add a quirk to allow ENE PCI SD card readers to work again Support for these devices was broken for 2.6.18-rc1 and later by commit 146ad66eac836c0b976c98f428d73e1f6a75270d, which added voltage level support. This restores the previous behaviour for these devices by ensuring that when the voltage

Using _syscall3 to manipulate files in a driver

2006-12-31 Thread Jon Smirl
I have the source code for a vendor written driver that is targeted at 2.6.9. It includes this and then proceeds to manipulate files from the driver. asmlinkage _syscall3(int,write,int,fd,const char *,buf,off_t,count) asmlinkage _syscall3(int,read,int,fd,char *,buf,off_t,count) asmlinkage

Re: [PATCH] Add Ultrabay support for the T60p Thinkpad

2006-12-31 Thread Henrique de Moraes Holschuh
Whoopie from ThinkWiki just sent me an email, calling my attention to the fact that the patch you submitted is in fact different from the one I merged... something I should have triple-verified. It appears the t60p has the bay in a different ACPI node than some other *60 ThinkPads. Either that,

Re: fuse, get_user_pages, flush_anon_page, aliasing caches and all that again

2006-12-31 Thread Russell King
On Sun, Dec 31, 2006 at 01:24:53PM +0100, Miklos Szeredi wrote: I'm willing to do that - and I guess this means we can probably do this instead of walking the list of VMAs for the shared mapping, thereby hitting both anonymous and shared mappings with the same code? But for the

Re: [RFC] MTD driver for MMC cards

2006-12-31 Thread Matthieu CASTET
On Sun, 31 Dec 2006 13:32:18 +0100, Pierre Ossman wrote: Arnd Bergmann wrote: I'm a complete MTD noob, but what uses does the MTD layer have besides JFFS2. If it's none, than this advantage isn't that big of a deal. AFAIK MTD is for device where erase is need to managed in software :

Re: replace memset(...,0,PAGE_SIZE) calls with clear_page()?

2006-12-31 Thread Arjan van de Ven
arjan, you and i actually agree on this. i fully accept that the idea of a clear_page() call might or should have extra semantics, compared to the more simple and direct memset(...,0,PAGE_SIZE) call (such as alignment requirements, for example). my observation is simply that this is not

compile failure on 2.6.19

2006-12-31 Thread Robin Cook
I am getting this error when I try to compile 2.6.19 and 2.6.19.1. I ran make mrproper and make menuconfig then ran make and got the below error. HOSTLD scripts/kconfig/conf scripts/kconfig/conf -s arch/i386/Kconfig CHK include/linux/version.h UPD include/linux/version.h /bin/sh:

Re: [PATCH 1/1] Char: tty_wakeup cleanup

2006-12-31 Thread Tilman Schmidt
On Sat, 16 Dec 2006 23:17:00 +0100 (CET), Jiri Slaby wrote: tty_wakeup cleanup - remove wake_up_interruptible(tty-write_wait) surrounding tty_wakup(tty); - substitute tty-ldisc.write_wakeup(tty) + wake_up() by tty_wakeup(tty); Signed-off-by: Jiri Slaby [EMAIL PROTECTED] Acked-by:

Re: compile failure on 2.6.19

2006-12-31 Thread David Brown
On 12/31/06, Robin Cook [EMAIL PROTECTED] wrote: I am getting this error when I try to compile 2.6.19 and 2.6.19.1. I ran make mrproper and make menuconfig then ran make and got the below error. HOSTLD scripts/kconfig/conf scripts/kconfig/conf -s arch/i386/Kconfig CHK

Re: [PATCH 2.6.20-rc2] Add a quirk to allow ENE PCI SD card readers to work again

2006-12-31 Thread Darren Salt
I demand that I definitely did write... Add a quirk to allow ENE PCI SD card readers to work again Support for these devices was broken for 2.6.18-rc1 and later by commit 146ad66eac836c0b976c98f428d73e1f6a75270d, which added voltage level support. This restores the previous behaviour for

[KVM][PATCH] smp_processor_id() and sleeping functions used in invalid context

2006-12-31 Thread Luca Tettamanti
Hello, I'm testing KVM on a Core2 CPU. I'm running kernel 2.6.20-git (pulled few hours ago), configured with SMP and PREEMPT. I'm hitting 2 different warnings: BUG: using smp_processor_id() in preemptible [0001] code: kvm/7726 caller is vmx_create_vcpu+0x9/0x2f [kvm_intel] [b01ccbc8]

Re: [KVM][PATCH] smp_processor_id() and sleeping functions used in invalid context

2006-12-31 Thread Avi Kivity
Luca Tettamanti wrote: Hello, I'm testing KVM on a Core2 CPU. I'm running kernel 2.6.20-git (pulled few hours ago), configured with SMP and PREEMPT. I'm hitting 2 different warnings: BUG: using smp_processor_id() in preemptible [0001] code: kvm/7726 caller is vmx_create_vcpu+0x9/0x2f

Re: [KVM][PATCH] smp_processor_id() and sleeping functions used in invalid context

2006-12-31 Thread Luca
On 12/31/06, Avi Kivity [EMAIL PROTECTED] wrote: Luca Tettamanti wrote: Hello, I'm testing KVM on a Core2 CPU. I'm running kernel 2.6.20-git (pulled few hours ago), configured with SMP and PREEMPT. I'm hitting 2 different warnings: BUG: using smp_processor_id() in preemptible [0001]

Re: replace memset(...,0,PAGE_SIZE) calls with clear_page()?

2006-12-31 Thread Paul Mundt
On Sat, Dec 30, 2006 at 06:04:14PM -0500, Robert P. J. Day wrote: fair enough. *technically*, not every call of the form memset(ptr,0,PAGE_SIZE) necessarily represents an address that's on a page boundary. but, *realistically*, i'm guessing most of them do. just grabbing a random example

Re: replace memset(...,0,PAGE_SIZE) calls with clear_page()?

2006-12-31 Thread Robert P. J. Day
On Mon, 1 Jan 2007, Paul Mundt wrote: On Sat, Dec 30, 2006 at 06:04:14PM -0500, Robert P. J. Day wrote: fair enough. *technically*, not every call of the form memset(ptr,0,PAGE_SIZE) necessarily represents an address that's on a page boundary. but, *realistically*, i'm guessing most of

Re: [PATCH] Open Firmware device tree virtual filesystem

2006-12-31 Thread Mitch Bradley
I made all the changes Pekka suggested, except: + security = strncmp(propname, security-, 9) == 0; + len = 0; Redundant assignment, no? + if (!security) + (void)callofw(getproplen, 2, 1, node, propname, len); That

[PATCH] Documentation: Explain a second alternative for multi-line macros.

2006-12-31 Thread Robert P. J. Day
Add an explanation for defining multi-line macros using the ({ }) notation to CodingStyle. Signed-off-by: Robert P. J. Day [EMAIL PROTECTED] --- diff --git a/Documentation/CodingStyle b/Documentation/CodingStyle index 9069189..1d0ddb8 100644 --- a/Documentation/CodingStyle +++

Re: [patch 2.6.20-rc1 0/6] arch-neutral GPIO calls

2006-12-31 Thread Kevin O'Connor
Based on earlier discussion, I'm sending a refresh of the generic GPIO patch, with several (ARM based) implementations in separate patches: Hi Dave, I'm very interested in seeing an abstraction for gpios. Over the last several months, I've been working on getting Linux running on my phone -

Re: [PATCH] Documentation: Explain a second alternative for multi-line macros.

2006-12-31 Thread Muli Ben-Yehuda
On Sun, Dec 31, 2006 at 02:32:25PM -0500, Robert P. J. Day wrote: Generally, inline functions are preferable to macros resembling functions. This should be stressed, IMHO. We have too many macros which have no reason to live. -Macros with multiple statements should be enclosed in a do -

Re: [BUG 2.6.20-rc2-mm1] init segfaults when CONFIG_PROFILE_LIKELY=y

2006-12-31 Thread Daniel Walker
On Sun, 2006-12-31 at 23:04 +0800, Fengguang Wu wrote: Hi, The following messages keeps popping up when CONFIG_PROFILE_LIKELY=y: init[1]: segfault at 8118c110 rip 8118c110 rsp 7fff9a9d14d8 error 15 init[1]: segfault at 8118c110 rip 8118c110 rsp

Re: [PATCH] Documentation: Explain a second alternative for multi-line macros.

2006-12-31 Thread Robert P. J. Day
On Sun, 31 Dec 2006, Muli Ben-Yehuda wrote: On Sun, Dec 31, 2006 at 02:32:25PM -0500, Robert P. J. Day wrote: Generally, inline functions are preferable to macros resembling functions. This should be stressed, IMHO. We have too many macros which have no reason to live. -Macros with

Re: [KJ] [PATCH] net/core/flow.c: compare data with memcmp

2006-12-31 Thread Nishanth Aravamudan
On 31.12.2006 [17:37:05 +0100], Daniel Marjam?ki wrote: From: Daniel Marjamäki This has been tested by me. Signed-off-by: Daniel Marjamäki [EMAIL PROTECTED] --- linux-2.6.20-rc2/net/core/flow.c 2006-12-27 09:59:56.0 +0100 +++ linux/net/core/flow.c 2006-12-31 18:26:06.0

Re: [PATCH] Documentation: Explain a second alternative for multi-line macros.

2006-12-31 Thread Muli Ben-Yehuda
On Sun, Dec 31, 2006 at 02:49:48PM -0500, Robert P. J. Day wrote: there would appear to be *lots* of cases where the ({ }) notation is used when nothing is being returned. i'm not sure you can be that adamant about that distinction at this point. IMHO, the main point of CodingStyle is to

Re: [PATCH] Documentation: Explain a second alternative for multi-line macros.

2006-12-31 Thread Randy Dunlap
On Sun, 31 Dec 2006 22:09:03 +0200 Muli Ben-Yehuda wrote: On Sun, Dec 31, 2006 at 02:49:48PM -0500, Robert P. J. Day wrote: there would appear to be *lots* of cases where the ({ }) notation is used when nothing is being returned. i'm not sure you can be that adamant about that

Re: compile failure on 2.6.19

2006-12-31 Thread Ken Moffat
On Sun, Dec 31, 2006 at 10:27:26AM -0800, David Brown wrote: On 12/31/06, Robin Cook [EMAIL PROTECTED] wrote: I am getting this error when I try to compile 2.6.19 and 2.6.19.1. I ran make mrproper and make menuconfig then ran make and got the below error. HOSTLD scripts/kconfig/conf

Re: [PATCH] Documentation: Explain a second alternative for multi-line macros.

2006-12-31 Thread Robert P. J. Day
On Sun, 31 Dec 2006, Muli Ben-Yehuda wrote: On Sun, Dec 31, 2006 at 02:49:48PM -0500, Robert P. J. Day wrote: there would appear to be *lots* of cases where the ({ }) notation is used when nothing is being returned. i'm not sure you can be that adamant about that distinction at this

Re: fuse, get_user_pages, flush_anon_page, aliasing caches and all that again

2006-12-31 Thread David Miller
From: Miklos Szeredi [EMAIL PROTECTED] Date: Sun, 31 Dec 2006 13:24:53 +0100 I'm willing to do that - and I guess this means we can probably do this instead of walking the list of VMAs for the shared mapping, thereby hitting both anonymous and shared mappings with the same code? But for

Re: compile failure on 2.6.19

2006-12-31 Thread Robin Cook
That fixed the problem. Thanks On Sun, 2006-12-31 at 10:27 -0800, David Brown wrote: On 12/31/06, Robin Cook [EMAIL PROTECTED] wrote: I am getting this error when I try to compile 2.6.19 and 2.6.19.1. I ran make mrproper and make menuconfig then ran make and got the below error.

Re: [BUG 2.6.20-rc2-mm1] init segfaults when CONFIG_PROFILE_LIKELY=y

2006-12-31 Thread Randy Dunlap
On Sun, 31 Dec 2006 11:45:09 -0800 Daniel Walker wrote: On Sun, 2006-12-31 at 23:04 +0800, Fengguang Wu wrote: Hi, The following messages keeps popping up when CONFIG_PROFILE_LIKELY=y: init[1]: segfault at 8118c110 rip 8118c110 rsp 7fff9a9d14d8 error 15

[PATCH] Simplify some code to use the container_of() macro.

2006-12-31 Thread Robert P. J. Day
Simplify a number of code snippets in source and header files to use the kernel.h container_of() macro. Signed-off-by: Robert P. J. Day [EMAIL PROTECTED] --- and while we're at it, everybody can stop re-inventing the container_of() macro. :-) drivers/net/ppp_generic.c|2 +-

Re: fuse, get_user_pages, flush_anon_page, aliasing caches and all that again

2006-12-31 Thread Linus Torvalds
On Sun, 31 Dec 2006, David Miller wrote: Even in the ptrace() case, you do want to flush all the other VMA's that might be out there with an aliased cached copy in the cpu cache. I don't think that's necessarily true. If the same page is cached differently (and virtually) in multiple

Re: [PATCH] Open Firmware device tree virtual filesystem

2006-12-31 Thread David Miller
From: Jan Engelhardt [EMAIL PROTECTED] Date: Sun, 31 Dec 2006 15:12:26 +0100 (MET) BUT, the eeprom utility may be used to modify values, and if used, I would like to see ofwfs show the updated value. openpromfs does it today: 15:09 ares:/proc/openprom/options # cat oem-banner? false 15:09

Re: [PATCH] Open Firmware device tree virtual filesystem

2006-12-31 Thread David Miller
From: Christoph Hellwig [EMAIL PROTECTED] Date: Sun, 31 Dec 2006 15:41:03 + On Sun, Dec 31, 2006 at 02:49:17AM -0800, David Miller wrote: Am I the only person who sees something very wrong with this? No, I completely agree with you on this. If firmworks really wants to have a

Re: [BUG 2.6.20-rc2-mm1] init segfaults when CONFIG_PROFILE_LIKELY=y

2006-12-31 Thread Daniel Walker
On Sun, 2006-12-31 at 12:43 -0800, Randy Dunlap wrote: On Sun, 31 Dec 2006 11:45:09 -0800 Daniel Walker wrote: On Sun, 2006-12-31 at 23:04 +0800, Fengguang Wu wrote: Hi, The following messages keeps popping up when CONFIG_PROFILE_LIKELY=y: init[1]: segfault at

Re: fuse, get_user_pages, flush_anon_page, aliasing caches and all that again

2006-12-31 Thread David Miller
From: Linus Torvalds [EMAIL PROTECTED] Date: Sun, 31 Dec 2006 12:58:45 -0800 (PST) So there really is two different cases here: - flush the cache as seen by A PARTICULAR virtual mapping. This is ptrace, but it's other things like unmap page from this VM too. - flush the cache

RE: Finding hardlinks

2006-12-31 Thread Halevy, Benny
Trond Myklebust wrote: On Thu, 2006-12-28 at 17:12 +0200, Benny Halevy wrote: As an example, some file systems encode hint information into the filehandle and the hints may change over time, another example is encoding parent information into the filehandle and then handles

RE: [nfsv4] RE: Finding hardlinks

2006-12-31 Thread Halevy, Benny
Trond Myklebust wrote: On Thu, 2006-12-28 at 15:07 -0500, Halevy, Benny wrote: Mikulas Patocka wrote: BTW. how does (or how should?) NFS client deal with cache coherency if filehandles for the same file differ? Trond can probably answer this better than me... As I read it,

Re: ata1: spurious interrupt (irq_stat 0x8 active_tag -84148995 sactive 0x0) r0xj0

2006-12-31 Thread Andrew Lyon
On 12/28/06, Tejun Heo [EMAIL PROTECTED] wrote: Andrew Lyon wrote: Hi, My system is gigabyte ds3 motherboard with onboard SATA JMicron 20360/20363 AHCI Controller (rev 02), drive connected is WDC WD740ADFD-00 20.0, I am running 2.6.18.6 32 bit, under heavy i/o I get the following messaegs:

Re: [PATCH] Open Firmware device tree virtual filesystem

2006-12-31 Thread Jan Engelhardt
On Dec 31 2006 12:45, David Miller wrote: From: Jan Engelhardt [EMAIL PROTECTED] BUT, the eeprom utility may be used to modify values, and if used, I would like to see ofwfs show the updated value. openpromfs does it today: 15:09 ares:/proc/openprom/options # cat oem-banner? false 15:09

  1   2   3   >