Re: [PATCH] cpuset: sparse warnings in cpuset.c

2008-02-02 Thread Paul Jackson
Harvey wrote: Don't redeclare p, use a new variable q. You dah man! Thanks. Acked-by: Paul Jackson [EMAIL PROTECTED] -- I won't rest till it's the best ... Programmer, Linux Scalability Paul Jackson [EMAIL PROTECTED] 1.940.382.4214 -- To

Re: [PATCH 2/3] enhanced syscall ESTALE error handling (v2)

2008-02-02 Thread Miklos Szeredi
Would you describe the situation that would cause the kernel to go into an infinite loop, please? The patch basically does: do { ... error = inode-i_op-foo() ... } while (error == ESTALE); What is the guarantee,

[2.6.24-rc8-mm1][regression?] numactl --interleave=all doesn't works on memoryless node.

2008-02-02 Thread KOSAKI Motohiro
Hi I tested numactl on 2.6.24-rc8-mm1. and I found strange behavior. test method and result. $ numactl --interleave=all ls set_mempolicy: Invalid argument setting interleave mask: Invalid argument numactl command download from

Re: [PATCH 2/3] x86: add function prototype to vm86.h

2008-02-02 Thread Li Zefan
Harvey Harrison 写道: Global functions should include their prototypes. Signed-off-by: Harvey Harrison [EMAIL PROTECTED] --- include/asm-x86/vm86.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/asm-x86/vm86.h b/include/asm-x86/vm86.h index

[PATCH] x86: remove final FASTCALL() uses

2008-02-02 Thread Harvey Harrison
A few snuck back in to x86. Signed-off-by: Harvey Harrison [EMAIL PROTECTED] --- include/asm-x86/highmem.h |4 ++-- include/asm-x86/hw_irq_32.h |2 +- include/asm-x86/system.h|4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/include/asm-x86/highmem.h

Re: [PATCH 2/3] x86: add function prototype to vm86.h

2008-02-02 Thread Harvey Harrison
On Sat, 2008-02-02 at 16:14 +0800, Li Zefan wrote: Harvey Harrison 写道: Global functions should include their prototypes. Signed-off-by: Harvey Harrison [EMAIL PROTECTED] --- include/asm-x86/vm86.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git

Re: [2.6.24-rc8-mm1][regression?] numactl --interleave=all doesn't works on memoryless node.

2008-02-02 Thread Andi Kleen
[intentional full quote] On Sat, Feb 02, 2008 at 05:12:30PM +0900, KOSAKI Motohiro wrote: I tested numactl on 2.6.24-rc8-mm1. and I found strange behavior. test method and result. $ numactl --interleave=all ls set_mempolicy: Invalid argument setting interleave mask:

Section mismatch warning patch - microcode.c

2008-02-02 Thread Peter Teoh
The following errors during compilation is corrected by the following patch (against the latest linus tree): WARNING: arch/x86/kernel/microcode.o(.exit.text+0x6): Section mismatch in reference from the function cleanup_module() to the variable .cpuinit.data:mc_cpu_notifier Please comment.

Re: SATA DOM is not identified by ata_piix module

2008-02-02 Thread Tejun Heo
Mao Rui wrote: I tried to nail down when the problem was introduced. I compiled some official kernel release. Here is the result. 2.6.17.14 IDE -- Failed SATA -- passed 2.6.18 IDE -- Failed SATA -- failed 2.6.18.8 IDE -- Failed SATA -- failed 2.6.24-rc7-git6 IDE -- passed SATA

[PATCH] ide-pci-generic: kill the unused ifdef/endif/MODULE code

2008-02-02 Thread Denis Cheng
with module_param macro, the __setup code can be killed now: const __setup(all-generic-ide, ide_generic_all_on); and the module name generic.ko is not descriptive to its functionality, can be changed in Makefile, the ide-pci-generic.ko is better. the ide-pci-generic.all-generic-ide

Re: intel ahci problem

2008-02-02 Thread Tejun Heo
Evgen L wrote: Hi all I have a problem with my Intel SR1550 server (S5000PAL motheboard, SATA/SAS controller, 5 SATA HDD Seagate ST9120822AS ). The four drivers are in two md raid1, which striping by lvm and one drive used separately. I have problem like below with two different drives

Re: [PATCH] add support for dynamic ticks and preempt rcu

2008-02-02 Thread Ingo Molnar
* Steven Rostedt [EMAIL PROTECTED] wrote: [ Resending this patch because no one commented on it (besides Paul) and I'm thinking it got lost in the noise. Without this patch, preempt RCU is broken when NO_HZ is configured. ] i've added it a few days ago and it's already in the

[PATCH 3 of 5] x86/pgtable.h: demacro ptep_set_access_flags

2008-02-02 Thread Jeremy Fitzhardinge
Signed-off-by: Jeremy Fitzhardinge [EMAIL PROTECTED] --- include/asm-x86/pgtable.h | 24 ++-- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/include/asm-x86/pgtable.h b/include/asm-x86/pgtable.h --- a/include/asm-x86/pgtable.h +++ b/include/asm-x86/pgtable.h

[PATCH 0 of 5] x86: add alloc/release_pud; more demacroing

2008-02-02 Thread Jeremy Fitzhardinge
Hi Ingo, This series: 1. Renames the alloc/release_{pt,pd} calls to _pte, _pmd so that its clear what they operate on. 2. Adds alloc/release_pud, and puts calls in the appropriate places 3. Demacros some stuff in pgtable.h A bit eclectic, but all fairly straightforward (and no changes to

[PATCH 2 of 5] x86: add pud_alloc for 4-level pagetables

2008-02-02 Thread Jeremy Fitzhardinge
Signed-off-by: Jeremy Fitzhardinge [EMAIL PROTECTED] --- arch/x86/kernel/paravirt.c |2 ++ arch/x86/mm/pgtable.c |1 + include/asm-x86/paravirt.h | 11 +++ include/asm-x86/pgalloc.h |3 +++ 4 files changed, 17 insertions(+) diff --git a/arch/x86/kernel/paravirt.c

[PATCH 4 of 5] x86/pgtable.h: demacro ptep_test_and_clear_young

2008-02-02 Thread Jeremy Fitzhardinge
Signed-off-by: Jeremy Fitzhardinge [EMAIL PROTECTED] --- include/asm-x86/pgtable.h | 20 +++- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/include/asm-x86/pgtable.h b/include/asm-x86/pgtable.h --- a/include/asm-x86/pgtable.h +++ b/include/asm-x86/pgtable.h @@

[PATCH 5 of 5] x86/pgtable.h: demacro ptep_clear_flush_young

2008-02-02 Thread Jeremy Fitzhardinge
Signed-off-by: Jeremy Fitzhardinge [EMAIL PROTECTED] --- include/asm-x86/pgtable.h | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/include/asm-x86/pgtable.h b/include/asm-x86/pgtable.h --- a/include/asm-x86/pgtable.h +++ b/include/asm-x86/pgtable.h @@

[PATCH 1 of 5] x86: rename paravirt_alloc_pt etc after the pagetable structure

2008-02-02 Thread Jeremy Fitzhardinge
Rename (alloc|release)_(pt|pd) to pte/pmd to explicitly match the name of the appropriate pagetable level structure. Signed-off-by: Jeremy Fitzhardinge [EMAIL PROTECTED] --- arch/x86/kernel/paravirt.c | 10 +- arch/x86/kernel/vmi_32.c | 20 ++--

Re: [PATCH 2/3] x86: add function prototype to vm86.h

2008-02-02 Thread Ingo Molnar
* Harvey Harrison [EMAIL PROTECTED] wrote: Global functions should include their prototypes. thanks, i've applied all three cleanup patches of yours. one minor detail: +struct pt_regs * save_v86_state(struct kernel_vm86_regs *); the proper form is: struct pt_regs *save_v86_state(struct

[PATCH 0 of 7] x86: more pgalloc unification

2008-02-02 Thread Jeremy Fitzhardinge
Hi Ingo, This series does more unification of pgalloc, and creates a unified mm/pgtable.c for common pagetable functions. Ends up removing pgalloc_32/64.h in favour of pgalloc.h. [ I thought I'd mailed this earlier, but I don't see it on lkml. Maybe I created the mbox without sending it.

[PATCH 1 of 7] x86: convert pgalloc_64.h from macros to inlines

2008-02-02 Thread Jeremy Fitzhardinge
Convert asm-x86/pgalloc_64.h from macros into inline functions. Signed-off-by: Jeremy Fitzhardinge [EMAIL PROTECTED] --- include/asm-x86/pgalloc_64.h | 41 ++--- 1 file changed, 30 insertions(+), 11 deletions(-) diff --git a/arch/x86/mm/init_64.c

[PATCH 3 of 7] x86: put paravirt stubs into common asm/pgalloc.h

2008-02-02 Thread Jeremy Fitzhardinge
Signed-off-by: Jeremy Fitzhardinge [EMAIL PROTECTED] --- arch/x86/mm/pageattr.c |2 -- include/asm-x86/pgalloc.h| 11 +++ include/asm-x86/pgalloc_32.h | 10 -- 3 files changed, 11 insertions(+), 12 deletions(-) diff --git a/arch/x86/mm/pageattr.c

[PATCH 4 of 7] x86: move pte functions into common asm/pgalloc.h

2008-02-02 Thread Jeremy Fitzhardinge
Common definitions for 2-level pagetable functions. Signed-off-by: Jeremy Fitzhardinge [EMAIL PROTECTED] --- arch/x86/mm/pgtable.c|6 ++ arch/x86/mm/pgtable_32.c |6 -- include/asm-x86/pgalloc.h| 16 include/asm-x86/pgalloc_32.h | 17

[PATCH 2 of 7] x86: add common mm/pgtable.c

2008-02-02 Thread Jeremy Fitzhardinge
Add a common arch/x86/mm/pgtable.c file for common pagetable functions. Signed-off-by: Jeremy Fitzhardinge [EMAIL PROTECTED] --- arch/x86/mm/Makefile_32 |2 arch/x86/mm/Makefile_64 |2 arch/x86/mm/pgtable.c| 234 ++

[PATCH 7 of 7] x86: move all the pgd_list handling to one place

2008-02-02 Thread Jeremy Fitzhardinge
Signed-off-by: Jeremy Fitzhardinge [EMAIL PROTECTED] --- arch/x86/mm/pgtable.c | 24 +--- 1 file changed, 5 insertions(+), 19 deletions(-) diff --git a/arch/x86/mm/pgtable.c b/arch/x86/mm/pgtable.c --- a/arch/x86/mm/pgtable.c +++ b/arch/x86/mm/pgtable.c @@ -39,32 +39,30 @@

[PATCH 6 of 7] x86: move pud/pgd functions into common asm/pgalloc.h

2008-02-02 Thread Jeremy Fitzhardinge
Common definitions for 4-level pagetable functions. Signed-off-by: Jeremy Fitzhardinge [EMAIL PROTECTED] --- arch/x86/mm/pgtable.c|7 ++ include/asm-x86/pgalloc.h| 46 -- include/asm-x86/pgalloc_32.h | 24 -

[PATCH 5 of 7] x86: move pmd functions into common asm/pgalloc.h

2008-02-02 Thread Jeremy Fitzhardinge
Common definitions for 3-level pagetable functions. Signed-off-by: Jeremy Fitzhardinge [EMAIL PROTECTED] --- arch/x86/mm/pgtable.c|8 arch/x86/mm/pgtable_32.c | 10 -- include/asm-x86/pgalloc.h| 31 +++

[PATCH] ktime: Allow ktime_t comparison using ktime_compare

2008-02-02 Thread Abhishek Sagar
Add a timespec style comparison function. Allows two ktime types to be compared without having to convert to timespec/timeval. Useful for modules doing ktime based math, especially the ones using ktime_get heavily. Signed-off-by: Abhishek Sagar [EMAIL PROTECTED] --- diff --git

Re: [PATCH 4/10] ACPI: register ACPI Fan as generic thermal cooling device

2008-02-02 Thread Len Brown
On Thursday 17 January 2008 02:51, Zhang Rui wrote: +#ifdef CONFIG_ACPI_PROCFS    static struct proc_dir_entry *acpi_fan_dir;   @@ -167,7 +213,17 @@ static int acpi_fan_remove_fs(struct acp   return 0;  } +#else +static int acpi_fan_add_fs(struct acpi_device *device) +{ +   

Re: [2.6.22.y] {01**/17} - do_anonymous_page-race - series for stable kernel

2008-02-02 Thread Hugh Dickins
On Sat, 2 Feb 2008, Linus Torvalds wrote: On Sat, 2 Feb 2008, Oliver Pinter (Pint?r Oliv?r) wrote: NOT IN MAINLINE Linus it's go or drop it? I have no idea, because you've used some horrible and stupid attachment format that I can't even read. Patches should be inline so that people

Re: [PATCH 1 of 7] x86: convert pgalloc_64.h from macros to inlines

2008-02-02 Thread Harvey Harrison
On Sat, 2008-02-02 at 01:05 -0800, Jeremy Fitzhardinge wrote: -#define __pte_free_tlb(tlb,pte) tlb_remove_page((tlb),(pte)) - -#define __pmd_free_tlb(tlb,x) tlb_remove_page((tlb),virt_to_page(x)) -#define __pud_free_tlb(tlb,x) tlb_remove_page((tlb),virt_to_page(x)) +extern void

Re: [PATCH 1 of 7] x86: convert pgalloc_64.h from macros to inlines

2008-02-02 Thread Ingo Molnar
* Harvey Harrison [EMAIL PROTECTED] wrote: On Sat, 2008-02-02 at 01:05 -0800, Jeremy Fitzhardinge wrote: -#define __pte_free_tlb(tlb,pte) tlb_remove_page((tlb),(pte)) - -#define __pmd_free_tlb(tlb,x) tlb_remove_page((tlb),virt_to_page(x)) -#define __pud_free_tlb(tlb,x)

Re: [PATCH 4 of 7] x86: move pte functions into common asm/pgalloc.h

2008-02-02 Thread Ingo Molnar
i've applied your series. Small nit, please use consistent style when adding new comments: +/* Should really implement gc for free page table pages. This could be + done with a reference count in struct page. */ i've changed that to: /* * Should really implement gc for free page table

RE: SATA DOM is not identified by ata_piix module

2008-02-02 Thread Mao Rui
Hi, No difference... :-( Here is the log. [ 26.729011] scsi0 : ata_piix [ 26.729067] scsi1 : ata_piix [ 26.729095] ata1: SATA max UDMA/133 cmd 0x1880 ctl 0x1874 bmdma 0x1860 irq 18 [ 26.729097] ata2: SATA max UDMA/133 cmd 0x1878 ctl 0x1870 bmdma 0x1868 irq 18 [ 26.894043] ata1.00:

Re: [PATCH 3 of 5] x86/pgtable.h: demacro ptep_set_access_flags

2008-02-02 Thread Ingo Molnar
i've applied this series too. It's pretty straightforward changes, mostly at the right granularity level. a few style nits though (i fixed them up, so no need to resend): +static inline int ptep_set_access_flags(struct vm_area_struct *vma, + unsigned long

Re: [PATCH] mmc: extend ricoh_mmc to support Ricoh RL5c476

2008-02-02 Thread Frank Seidel
On Saturday 02 February 2008 08:16, Philip Langdale wrote: Again, thanks a lot for investigating and finding the appropriate magic incantations. My main comment is to please base this on top of my suspend/resume patch which Pierre said he accepted but which isn't in his tree yet - I guess

Re: [PATCH 3 of 5] x86/pgtable.h: demacro ptep_set_access_flags

2008-02-02 Thread Ingo Molnar
* Jeremy Fitzhardinge [EMAIL PROTECTED] wrote: +static inline int ptep_set_access_flags(struct vm_area_struct *vma, + unsigned long address, pte_t *ptep, + pte_t entry, int dirty) +{ + int changed = !pte_same(*ptep,

Re: [2.6.24-rc8-mm1][regression?] numactl --interleave=all doesn't works on memoryless node.

2008-02-02 Thread KOSAKI Motohiro
Hi Andi, 3. 2.6.24-rc8-mm1 set_mempolicy(2) behavior 3.1 check nodesubset(nodemask argument, node_states[N_HIGH_MEMORY]) in mpol_check_policy() - check failed when memmoryless node exist. (i.e. node_states[N_HIGH_MEMORY] of my machine is 0xc) 4. RHEL5.1

[PATCH 1/3] uio: Kconfig improvements

2008-02-02 Thread Denis Cheng
Signed-off-by: Denis Cheng [EMAIL PROTECTED] --- drivers/uio/Kconfig | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/uio/Kconfig b/drivers/uio/Kconfig index b778ed7..d8ab7e6 100644 --- a/drivers/uio/Kconfig +++ b/drivers/uio/Kconfig @@ -1,8 +1,6 @@ -menu

[PATCH 2/3] uio: mark pci_device_id hilscher_pci_ids[] __devinitdata

2008-02-02 Thread Denis Cheng
Signed-off-by: Denis Cheng [EMAIL PROTECTED] --- drivers/uio/uio_cif.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/uio/uio_cif.c b/drivers/uio/uio_cif.c index 838bae4..4a5a97e 100644 --- a/drivers/uio/uio_cif.c +++ b/drivers/uio/uio_cif.c @@ -116,7 +116,7 @@

[PATCH 3/3] uio: vm_operations_struct -nopage to -fault method conversion

2008-02-02 Thread Denis Cheng
Signed-off-by: Denis Cheng [EMAIL PROTECTED] --- drivers/uio/uio.c | 19 --- 1 files changed, 8 insertions(+), 11 deletions(-) diff --git a/drivers/uio/uio.c b/drivers/uio/uio.c index cc246fa..47e0c32 100644 --- a/drivers/uio/uio.c +++ b/drivers/uio/uio.c @@ -417,30 +417,27 @@

mismatches when compiling kernel 2.6.24-git12

2008-02-02 Thread Martin Prout
The last kernel that compiled and worked for me was 2.6.24-git7. Attached are the warnings (warnings.txt) and the .config I was using for 2.6.24-git12 when it complained about mismatches. MODPOST vmlinux.o WARNING: vmlinux.o(.text+0xcd8ac): Section mismatch in

Re: [PATCH 6 of 7] x86: move pud/pgd functions into common asm/pgalloc.h

2008-02-02 Thread Ingo Molnar
* Jeremy Fitzhardinge [EMAIL PROTECTED] wrote: Common definitions for 4-level pagetable functions. Signed-off-by: Jeremy Fitzhardinge [EMAIL PROTECTED] --- arch/x86/mm/pgtable.c|7 ++ include/asm-x86/pgalloc.h| 46 --

Re: [PATCH 6 of 7] x86: move pud/pgd functions into common asm/pgalloc.h

2008-02-02 Thread Ingo Molnar
* Ingo Molnar [EMAIL PROTECTED] wrote: random-qa found an early bootup hang on 32-bit (config attached). config attached now. Ingo # # Automatically generated make config: don't edit # Linux kernel version: 2.6.24 # Sat Feb 2 10:53:28 2008 # CONFIG_64BIT=y # CONFIG_X86_32 is not set

Re: [PATCH 3 of 5] x86/pgtable.h: demacro ptep_set_access_flags

2008-02-02 Thread Jeremy Fitzhardinge
Ingo Molnar wrote: another thing: these inlines are a bit fat and they are used in more than one place. Please move them into pgtable.c. The rule of thumb is: if an inline is more than 2 lines big, it is a likely candidate for uninlining. (and even many 2-liners, and even some 1-liners are

Re: [PATCH 6 of 7] x86: move pud/pgd functions into common asm/pgalloc.h

2008-02-02 Thread Jeremy Fitzhardinge
Ingo Molnar wrote: * Jeremy Fitzhardinge [EMAIL PROTECTED] wrote: Common definitions for 4-level pagetable functions. Signed-off-by: Jeremy Fitzhardinge [EMAIL PROTECTED] --- arch/x86/mm/pgtable.c|7 ++ include/asm-x86/pgalloc.h| 46

Re: [PATCH 6 of 7] x86: move pud/pgd functions into common asm/pgalloc.h

2008-02-02 Thread Ingo Molnar
* Ingo Molnar [EMAIL PROTECTED] wrote: random-qa found an early bootup hang on 32-bit (config attached). s/32-bit/64-bit Ingo -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: [PATCH] pci: fix section mismatch warnings referring to pci_do_scan_bus

2008-02-02 Thread Sam Ravnborg
On Thu, Jan 31, 2008 at 11:10:30PM +0100, Sam Ravnborg wrote: Fix following warnings: WARNING: o-x86_64/drivers/pci/built-in.o(.text+0xb054): Section mismatch in reference from the function cpci_configure_slot() to the function .devinit.text:pci_do_scan_bus() WARNING:

Re: [PATCH 2 of 7] x86: add common mm/pgtable.c

2008-02-02 Thread Ingo Molnar
* Jeremy Fitzhardinge [EMAIL PROTECTED] wrote: Add a common arch/x86/mm/pgtable.c file for common pagetable functions. randconfig testing found a build breakage on 32-bit, and that got bisected down to this patch of yours. Config attached. I've dropped both of your series now, please resend

Re: [PATCH 3/3] uio: vm_operations_struct -nopage to -fault method conversion

2008-02-02 Thread Nick Piggin
On Saturday 02 February 2008 20:51, Denis Cheng wrote: Signed-off-by: Denis Cheng [EMAIL PROTECTED] Thanks, but already patched in -mm. --- drivers/uio/uio.c | 19 --- 1 files changed, 8 insertions(+), 11 deletions(-) diff --git a/drivers/uio/uio.c b/drivers/uio/uio.c

Re: [PATCH 6 of 7] x86: move pud/pgd functions into common asm/pgalloc.h

2008-02-02 Thread Ingo Molnar
* Jeremy Fitzhardinge [EMAIL PROTECTED] wrote: i bisected it down to this patch of yours. It's a bit large so it's not obvious what is happening. Could you please keep patches that do functional changes smaller? Will do, though this one is more or less pure code motion. But I can make

Re: [2.6.24-rc8-mm1][regression?] numactl --interleave=all doesn't works on memoryless node.

2008-02-02 Thread Andi Kleen
I have 1 simple question. Why do libnuma generate bitpattern of all bit on instead check /sys/devices/system/node/has_high_memory nor check /sys/devices/system/node/online? Do you know it? It's far simpler and cheaper (sysfs is expensive) to do this in the kernel and besides the kernel

Re: how to tell i386 from x86-64 kernel

2008-02-02 Thread Pavel Machek
On Fri 2008-02-01 11:47:29, Rik Bobbaers wrote: hi there, since i'm not on the list... how about: tail /proc/1/smaps and check the address size... on 32 bit: e000-f000 r-xp 00:00 0 [vdso] on 64 bit: ff60-ff601000 r-xp 00:00 0

udevd induced deadlock in loading kernel modules?

2008-02-02 Thread Petr Vandrovec
Hello, today my system hung during boot, while loading ftdi_sio loop - I have two ftdi serial ports, and apparently this tricked udevd to start two concurrent modprobes for them - so I ended up with strance ftdi_sio: gave up waiting for init of module usbserial. for each symbol it tried to

[PATCH] Unbreak sky2 on 88E8039 with current git

2008-02-02 Thread Petr Vandrovec
Hello, since I synced my tree to Linus's one two days ago, sky2's packet receiption dies almost instantly. Device still transmits packets, but no receive. Fortunately fix is simple, unfortunately I do not know why fix works... Commit f03b865491c2f30f2a4d77cdafc69c978ceb38a0 (sky2: align IP

[patch] pci: pci_enable_device_bars() fix (was: [GIT PATCH] PCI patches for 2.6.24)

2008-02-02 Thread Ingo Molnar
* Greg KH [EMAIL PROTECTED] wrote: PCI: Remove users of pci_enable_device_bars() PCI: Remove pci_enable_device_bars() simple allyesconfig testing found a build failure due to last night's PCI merge, on 32-bit x86: drivers/scsi/lpfc/lpfc_init.c: In function 'lpfc_pci_probe_one':

Re: Typo in net/netfilter/xt_iprange.c (git tree)

2008-02-02 Thread Patrick McHardy
Jiri Moravec wrote: Function iprange_mt4 belong to IPv4 family - AF_INET. Right? .name = iprange, .revision = 1, .family= AF_INET6, -- Typo? .match = iprange_mt4, Fixed, thanks Jiri. -- To unsubscribe from this list: send the line

Re: SATA DOM is not identified by ata_piix module

2008-02-02 Thread Tejun Heo
Mao Rui wrote: Hi, No difference... :-( Here is the log. [ 26.729011] scsi0 : ata_piix [ 26.729067] scsi1 : ata_piix [ 26.729095] ata1: SATA max UDMA/133 cmd 0x1880 ctl 0x1874 bmdma 0x1860 irq 18 [ 26.729097] ata2: SATA max UDMA/133 cmd 0x1878 ctl 0x1870 bmdma 0x1868 irq 18

Re: [PATCH] Allow NBD to be used locally

2008-02-02 Thread Pavel Machek
On Fri 2008-02-01 14:25:32, Laurent Vivier wrote: This patch allows Network Block Device to be mounted locally. What is local nbd good for? Use loop instead... It creates a kthread to avoid the deadlock described in NBD tools documentation. So, if nbd-client hangs waiting pages, the kblockd

Re: [PATCH] Rationalise ACPI backlight implementation

2008-02-02 Thread Henrique de Moraes Holschuh
On Fri, 01 Feb 2008, Len Brown wrote: You might check if CONFIG_ACPI_VIDEO=m is set and you can load the video module. While the sony may be non-standard and not load, your thinkpad may work. It will work except under new X.org, which disables BIOS backlight functionality in order to do it

Re: [PATCH] USB: mark USB drivers as being GPL only

2008-02-02 Thread Christer Weinigel
On Fri, 25 Jan 2008 10:02:32 -0800 Greg KH [EMAIL PROTECTED] wrote: FYI, this is a patch that will be sent out in the next round to Linus for inclusion in 2.6.25. If anyone has any objections about it, please let me know. Yes, I have objections and I've told you before. Over two years

rcu_process_callbacks pending in tick_nohz_stop_sched_tick (Was: NOHZ: local_softirq_pending 20)

2008-02-02 Thread Uwe Kleine-König
Hello, Thomas Gleixner wrote: On Fri, 23 Nov 2007, Uwe Kleine-König wrote: my kernel reported: NOHZ: local_softirq_pending 20 Thats TASKLET_SOFTIRQ I cannot interpret it, but probably this is bad, because before bc5393a6c9c0e70b4b43fb2fb63e3315e9a15c8f this used to BUG().

udevd induced deadlock in loading kernel modules?

2008-02-02 Thread Petr Vandrovec
Mailer on sf.net says that email address in udev's README is obsolete. Oops... Petr Original Message Subject: udevd induced deadlock in loading kernel modules? Date: Sat, 2 Feb 2008 12:07:19 +0100 From: Petr Vandrovec [EMAIL

gpiolib merge plans?

2008-02-02 Thread Anton Vorontsov
Hello Andrew, David, I wonder what are the merge plans for gpiolib for 2.6.25? Are there any design issues that suppress merging?.. Thanks, p.s. Sorry if I'm rubbing salt into the wound... but what happened to -mm merge plans emails? -- Anton Vorontsov email: [EMAIL PROTECTED] backup email:

Re: [PATCH 6 of 7] x86: move pud/pgd functions into common asm/pgalloc.h

2008-02-02 Thread Jeremy Fitzhardinge
Ingo Molnar wrote: yes but the early hang is very real so either my hardware is stubbornly ignoring that your patch is pure code movement (in which case i'll have to have a word or two with my hardware), or your patch is perhaps wrong somewhere ;-) I see what it is. set_pud on 32-bit

Re: [PATCH 2 of 7] x86: add common mm/pgtable.c

2008-02-02 Thread Jeremy Fitzhardinge
Ingo Molnar wrote: * Jeremy Fitzhardinge [EMAIL PROTECTED] wrote: Add a common arch/x86/mm/pgtable.c file for common pagetable functions. randconfig testing found a build breakage on 32-bit, and that got bisected down to this patch of yours. Couldn't reproduce. What was the

Re: [PATCH] Allow NBD to be used locally

2008-02-02 Thread Jan Engelhardt
On Feb 2 2008 12:23, Pavel Machek wrote: On Fri 2008-02-01 14:25:32, Laurent Vivier wrote: This patch allows Network Block Device to be mounted locally. What is local nbd good for? Use loop instead... Local NBD is good for when the content you want to make available through the block device is

[PATCH] [SH] remove unneeded cast

2008-02-02 Thread Stephen Rothwell
now that platform_device_register_simple() takes a const chat *. Signed-off-by: Stephen Rothwell [EMAIL PROTECTED] --- arch/sh/drivers/dma/dma-api.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) This hasn't even been built, but is straight forward. diff --git

Re: [build bug] lguest build failure: drivers/lguest/x86/switcher_32.S:(.text+0x3815f8): undefined reference to `LGUEST_PAGES_regs_trapnum'

2008-02-02 Thread Rusty Russell
On Saturday 02 February 2008 04:05:51 Ingo Molnar wrote: looks similar to the previous one so i guess my quick fix attempt was a bit too quick. Will turn lguest off again. And i'm willing to test patches as well :) Yes, sorry, I've been completely busy at linux.conf.au. Will test and fix.

Re: sleepy linux self-test

2008-02-02 Thread Pavel Machek
Hi! index b8b2de3..222d22d 100644 --- a/kernel/power/sleepy.c +++ b/kernel/power/sleepy.c @@ -31,7 +31,8 @@ int ksleepyd(void *data) { msleep(5000); while (1) { - set_alarm(5); + if (set_alarm(5)) + return -EFAULT;

Re: [linux-pm] sleepy linux self-test

2008-02-02 Thread Pavel Machek
Hi! --- a/drivers/rtc/rtc-cmos.c +++ b/drivers/rtc/rtc-cmos.c @@ -78,7 +78,7 @@ static inline int is_intr(u8 rtc_intr) /**/ -static int cmos_read_time(struct device *dev, struct rtc_time *t) +int

Re: [clocksource] jiffies as clocksource kills box

2008-02-02 Thread devzero
I have a patch pending for the PIT issue. Will add jiffies to this as well. yes, please. while trying to analyze a timer issue and learning about that timer stuff, i killed my box twice because i didn`t know that echo jiffies|pit current_clocksource is a no-no with dynticks. this happened

[GIT PULL] IEEE 1394 regression fix

2008-02-02 Thread Stefan Richter
Linus, please pull from the for-linus branch at git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394-2.6.git for-linus to receive the following IEEE 1394/ FireWire subsystem update. It's telling. I didn't run-time test the ieee1394 part of the post 2.6.24 patch queue on

Re: [PATCH] 2.4: Back-port of pl2303.c from 2.6.23.14

2008-02-02 Thread David Newall
Hi Willy, Willy Tarreau wrote: Based on the above conditions, I'd like you to tell Greg and I if you consider it worth to merge this backport in 2.4 now. From my point of view, your work looks OK but I want your feedback as a user (and not as the backporter), then Greg's approval. The data

Re: Linux VM completely lost it`s timesource !?

2008-02-02 Thread devzero
cat /sys/devices/system/clocksource/clocksource0/current_clocksource acpi_pm cannot switch to any other clocksource, echo tsc|jiffies|pit current_clocksource doesn`t have any effect. current_clocksource stays at acpi_pm maybe somebody has a clue what to check besides this? thanks roland I`m

ACPI problem on PowerPC

2008-02-02 Thread Marcel Holtmann
Hi Greg, the following happens with the latest ACPI and PCI merges on my Quad G5: CC drivers/pci/pcie/aspm.o In file included from include/acpi/platform/acenv.h:140, from include/acpi/acpi.h:54, from include/acpi/acpi_bus.h:31, from

Re: [PATCH 1/2] Split list.h and move rcu-protected lists into rculist.h

2008-02-02 Thread Franck Bui-Huu
Andrew Morton wrote: On Thu, 17 Jan 2008 21:47:38 +0100 Franck Bui-Huu [EMAIL PROTECTED] wrote: This patch moves rcu-protected lists from list.h into a new header file rculist.h. I'm getting way too many compilation errors from this, perhaps because of new rcu-list usages which weren't

Re: [PATCH 2 of 7] x86: add common mm/pgtable.c

2008-02-02 Thread Ingo Molnar
* Jeremy Fitzhardinge [EMAIL PROTECTED] wrote: Ingo Molnar wrote: * Jeremy Fitzhardinge [EMAIL PROTECTED] wrote: Add a common arch/x86/mm/pgtable.c file for common pagetable functions. randconfig testing found a build breakage on 32-bit, and that got bisected down to this patch

Re: sleepy linux self-test

2008-02-02 Thread Ingo Molnar
* Pavel Machek [EMAIL PROTECTED] wrote: could you send me a clean patch against mainline please? The above chunk didnt apply because there's no ksleepyd (only test_sleep()). Thanks, Ok, here's full patch. Good luck, thanks. Find below it rebased against latest -git. (there was a

Re: [linux-pm] sleepy linux self-test

2008-02-02 Thread Ingo Molnar
* Pavel Machek [EMAIL PROTECTED] wrote: Plus, the way you're doing it now is violating the locking protocol used by that driver. Yep, you are right, but that is the easy issue to fix. There's hard issue: I need struct rtc_device *rtc for the rtc that can be used for system

Re: sleepy linux self-test

2008-02-02 Thread Ingo Molnar
got this link failure: kernel/built-in.o: In function `ksleepyd': : undefined reference to `set_alarm' with the attached config. Perhaps make it dependent on whatever RTC infrastructure it relies on? (even if this limits its utility) Ingo # # Automatically generated make config:

[RFC] Add EXPORT_INIT_SYMBOL()?

2008-02-02 Thread Sam Ravnborg
While analysing some of the section mismatches reported by modpost I came to the conclusion that there was no good way to say that a certain function could both be annotated say __cpuinit and exported. One example is register_cpu_notifier() in kernel/cpu.c The function is annotated __cpuinit

Re: [RFC] ext3 freeze feature

2008-02-02 Thread Pavel Machek
On Fri 2008-01-25 11:42:29, Theodore Tso wrote: On Fri, Jan 25, 2008 at 10:34:25AM -0600, Eric Sandeen wrote: But it was this concern which is why ext3 never exported freeze functionality to userspace, even though other commercial filesystems do support this. It wasn't that it wasn't

Re: [scsi bug] spurious build failures in aic7xxx

2008-02-02 Thread Sam Ravnborg
On Fri, Feb 01, 2008 at 11:50:56PM +0100, Ingo Molnar wrote: i'm getting spurious build failures with latest -git: In file included from drivers/scsi/aic7xxx/aic7xxx_proc.c:44: drivers/scsi/aic7xxx/aic7xxx_inline.h: In function 'ahc_pause_bug_fix': drivers/scsi/aic7xxx/aic7xxx_inline.h:66:

[PATCH update 2] firewire: fix kobject_add failed for fw* with -EEXIST

2008-02-02 Thread Stefan Richter
There is a race between shutdown and creation of devices: fw-core may attempt to add a device with the same name of an already existing device. http://bugzilla.kernel.org/show_bug.cgi?id=9828 Impact of the bug: Happens rarely (when shutdown of a device coincides with creation of another),

Re: Section mismatch warning patch - microcode.c

2008-02-02 Thread Sam Ravnborg
On Sat, Feb 02, 2008 at 04:39:02PM +0800, Peter Teoh wrote: The following errors during compilation is corrected by the following patch (against the latest linus tree): WARNING: arch/x86/kernel/microcode.o(.exit.text+0x6): Section mismatch in reference from the function cleanup_module() to

Re: [scsi bug] spurious build failures in aic7xxx

2008-02-02 Thread Ingo Molnar
* Sam Ravnborg [EMAIL PROTECTED] wrote: On Fri, Feb 01, 2008 at 11:50:56PM +0100, Ingo Molnar wrote: i'm getting spurious build failures with latest -git: In file included from drivers/scsi/aic7xxx/aic7xxx_proc.c:44: drivers/scsi/aic7xxx/aic7xxx_inline.h: In function

Re: [scsi bug] spurious build failures in aic7xxx

2008-02-02 Thread Ingo Molnar
i should also specify the build environment: it's a distcc setup with 5-10 hosts active at a time, so highly parallel with large, networking related delays. It's make -j130: nice -15 /usr/bin/time make -j130 bzImage ARCH=i386 \ CROSS_COMPILE='distcc \

Re: [PATCH] Allow NBD to be used locally

2008-02-02 Thread devzero
In fact, VMware uses local nbd today for its vmware-loop helper utility, most likely because of the above-mentioned reasons. (Though it quite often hung last time I tried.) seems this will go away. recent vmware versions (e.g. server 2.0 beta) have a fuse based replacement for that. ldd

Re: cups slow on linux-2.6.24

2008-02-02 Thread Jozsef Kadlecsik
Hi Jeff, On Fri, 1 Feb 2008, Jeff Chua wrote: I recaptured it again, and attached are the logs. [...] Thank you! One can see a plain connection-initiating SYN, which triggers the message. No reply from the server, then three seconds later comes a retransmitted SYN and immediately after the

[PATCH] Improve Documentation/stable_api_nonsense.txt v2

2008-02-02 Thread Heikki Orsila
This is version 2 of the patch. Address Gregs, Matts and Andis comments. Retain the word exact due to request of Greg. Use the exact same as per Matt Mackall. * Change wording * Make a remark about necessary changes in interfaces Signed-off-by: Heikki Orsila [EMAIL PROTECTED] ---

uli526x doesn't get link if no link when interface is set up

2008-02-02 Thread Santiago Garcia Mantinan
Hi! I've been experiencing problems with this (internal) card ever since I bought this motherboard, lately I've been doing some tests and I found out some things, maybe not enough to let us debug this, but I'll explain it just in case. The problem is that if the uli526x card is set up (ifconfig

[X86 ACPI SMP] system slow after cold start if processor module loaded

2008-02-02 Thread Guennadi Liakhovetski
Hi Don't know if this should be considered a bug-report, or just another ACPI bug on my system. In any case, if the CONFIG_ACPI_PROCESSOR is enabled, on first boot after a power off the system is slow. Not like if only 1 of 2 CPUs actually was running, much slower yet. Respectively, if the

Re: [PATCH] add support for dynamic ticks and preempt rcu

2008-02-02 Thread Steven Rostedt
On Sat, 2 Feb 2008, Ingo Molnar wrote: i've added it a few days ago and it's already in the sched-devel.git tree: git://git.kernel.org/pub/scm/linux/kernel/git/mingo/linux-2.6-sched-devel.git OK, thanks! I know everyone is extremely busy now and I just wanted to make sure this didn't fall

Incompatibility of const and __xxxinitdata?

2008-02-02 Thread Peter Teoh
In include/linux/init.h, it is documented that all __xxxinitdata declaration must not have constant, as show below: * * static int init_variable __initdata = 0; * static char linux_logo[] __initdata = { 0x32, 0x36, ... }; * * Don't forget to initialize data not at file scope, i.e. within a

Re: [PATCH] Allow NBD to be used locally

2008-02-02 Thread Laurent Vivier
Le samedi 02 février 2008 à 12:23 +0100, Pavel Machek a écrit : On Fri 2008-02-01 14:25:32, Laurent Vivier wrote: This patch allows Network Block Device to be mounted locally. What is local nbd good for? Use loop instead... It allows to write userlevel block device. In my case, I can mount

Re: [PATCH] sis190: fix compile error section type conflict

2008-02-02 Thread Sam Ravnborg
On Sat, Feb 02, 2008 at 03:34:58PM +0100, Francois Romieu wrote: Li Zefan [EMAIL PROTECTED] : Fix the following compile error: I am not sure that it is the right fix. Please read the archive of this week on l-k. I'll submit the patch below to Jeff once I have tested it with real

Re: [PATCH] kconfig: fix target update-po-config in Makefile

2008-02-02 Thread Sam Ravnborg
On Sat, Feb 02, 2008 at 04:13:40PM +0100, Massimo Maiurana wrote: Due to recent changes in arch/cris, make update-po-config fails because it can't include arch/cris/arch as it is a symlink generated at build time. Patch below fixes this by creating, and then removing at the end, a symlink to

Re: [PATCH] Fix fallout from PCI: PCIE ASPM support

2008-02-02 Thread Olof Johansson
On Fri, Feb 01, 2008 at 09:59:21PM -0800, H. Peter Anvin wrote: Olof Johansson wrote: On Sat, Feb 02, 2008 at 05:06:42AM +, Linux Kernel Mailing List wrote: PCI: PCIE ASPM support This one broke almost all defconfigs on powerpc, since they enable CONFIG_EXPERIMENTAL and CONFIG_PCI,

Re: [PATCH] 2.4: Back-port of pl2303.c from 2.6.23.14

2008-02-02 Thread Willy Tarreau
On Sat, Feb 02, 2008 at 11:41:20PM +1030, David Newall wrote: Hi Willy, Willy Tarreau wrote: Based on the above conditions, I'd like you to tell Greg and I if you consider it worth to merge this backport in 2.4 now. From my point of view, your work looks OK but I want your feedback as a

  1   2   3   4   5   6   7   8   >