Re: [2.6.36-rc7, Power6] LTP Ftrace Stress tests causes KERNEL PANIC and brings the system to xmon
Stefen, Can you please know your thoughts on this issue ? Regards-- Subrata On Thu, 2010-10-14 at 01:04 +0530, Subrata Modak wrote: > Hi, > > Executing LTP Ftrace Stress tests on 2.6.36-rc7, Power6 creates kernel > Panic and xmon is invoked: > > Ways to reproduce the problem: > > Download latest LTP git via: > git://ltp.git.sourceforge.net/gitroot/ltp/ltp > cd ltp > ./configure > make > make install > cd /opt/ltp > ./runltp -f tracing > > You will notice the following kernel panic. Other information from xmon > debugger is also provided. Please note that this was originally discovered in > stable 2.6.35.4. And then again reproduced on 2.6.36-rc7: > > Running tests... > <<>> > tag=ftrace-stress-test stime=1286980645 > cmdline="ftrace_stress_test.sh 90" > contacts="" > analysis=exit > <<>> > incrementing stop > mkdir: cannot create directory `/opt/ltp/testcases/bin/debugfs': File > exists > Ftrace Stress Test Begin > Unable to handle kernel paging request for data at address > 0xbffe0175b688 > Unable to handle kernel paging request for data at address > 0xbffe0175b688 > Faulting instruction address: 0xc0101414 > cpu 0Faulting instrucxtion address: 0x1c0101414: > Vector: 300 (Data Access) at [c000d4a8ed10] > pc: c0101414: .update_curr+0x31c/0x410 > lr: c01013a4: .update_curr+0x2ac/0x410 > sp: c000d4a8ef90 >msr: 80001032 >dar: bffe0175b688 > dsisr: 4000 > current = 0xc000d49c1b00 > paca= 0xc7fc8700 > pid = 1667, comm = ftrace_profile_ > enter ? for help > [c000d4a8f040] c010164c .task_tick_fair+0x88/0x30c > [c000d4a8f0f0] c011f3a0 .scheduler_tick+0x228/0x6f0 > [c000d4a8f1a0] c01494e4 .update_process_times+0xd0/0x120 > [c000d4a8f240] c018f7d4 .tick_sched_timer+0x114/0x194 > [c000d4a8f2f0] c0178678 .__run_hrtimer+0x28c/0x3d8 > [c000d4a8f3a0] c0178cd8 .hrtimer_interrupt+0x18c/0x3c8 > [c000d4a8f4b0] c00448f0 .timer_interrupt+0x2b8/0x514 > [c000d4a8f550] c0003728 decrementer_common+0x128/0x180 > --- Exception: 901 (Decrementer) at > c00f99a4 .mutex_spin_on_owner+0x110/0x1bc > [c000d4a8f8d0] c0bcf600 .__mutex_lock_slowpath+0xe0/0x3f0 > [c000d4a8f9c0] c0bd0520 .mutex_lock+0xb0/0xe4 > [c000d4a8fa50] c0211978 .tracepoint_probe_unregister > +0x58/0x12c > [c000d4a8fb00] c021a078 .unregister_ftrace_graph+0xc4/0x114 > [c000d4a8fb90] c021b864 .ftrace_profile_write+0x4b0/0x530 > [c000d4a8fcc0] c031e35c .vfs_write+0x1ac/0x338 > [c000d4a8fd70] c0009794 .return_to_handler+0x0/0x34 > [c000d4a8fe30] c0009794 .return_to_handler+0x0/0x34 > --- Exception: c00 (System Call) at 0fecfc94 > SP (ffdcf9c0) is in userspace > 1:mon> cpu 0x0: Vector: 300 (Data Access) at [c000cfa0f5f0] > pc: c0101414: .update_curr+0x31c/0x410 > lr: c01013a4: .update_curr+0x2ac/0x410 > sp: c000cfa0f870 >msr: 80001032 >dar: bffe0175b688 > dsisr: 4000 > current = 0xc000d48cb600 > paca= 0xc7fc8000 > pid = 1909, comm = cat > > 1:mon> > 1:mon> e > cpu 0x1: Vector: 300 (Data Access) at [c000d4a8ed10] > pc: c0101414: .update_curr+0x31c/0x410 > lr: c01013a4: .update_curr+0x2ac/0x410 > sp: c000d4a8ef90 >msr: 80001032 >dar: bffe0175b688 > dsisr: 4000 > current = 0xc000d49c1b00 > paca= 0xc7fc8700 > pid = 1667, comm = ftrace_profile_ > > 1:mon> dl > > <4>[ cut here ] > <4>WARNING: at kernel/trace/ring_buffer.c:2227 > <4>Modules linked in: sunrpc ipv6 uinput ehea ibmvscsic > scsi_transport_srp scsi_tgt [last unloaded: scsi_wait_scan] > <4>NIP: c0222b3c LR: c0222b1c CTR: 0001 > <4>REGS: c000d4a89670 TRAP: 0700 Not tainted (2.6.36-rc7) > <4>MSR: 80021032 CR: 48242482 XER: 2000 > <4>TASK = c000d49c1b00[1667] 'ftrace_profile_' THREAD: > c000d4a8c000 CPU: 1 > <4>GPR00: 0001 c000d4a898f0 c17354c0 > 0036 > <4>GPR04: 0007 > 00f791ca > <4>GPR08: 00f80c95 c187d8a8 c18803d0 > 0001 > <4>GPR12: 00
Re: [PATCH] powerpc: Fix hcall tracepoint recursion
On Fri, 2010-10-22 at 15:22 +0800, Li Zefan wrote: > Anton Blanchard wrote: > > Hi, > > > >> This is a dead loop: > >> > >> trace_hcall_entry() -> trace_clock_global() -> trace_hcall_entry() .. > >> > >> And this is a PPC specific bug. Hope some ppc guys will fix it? > >> Or we kill trace_clock_global() if no one actually uses it.. > > > > Nasty! How does the patch below look? I had to disable irqs otherwise > > we would sometimes drop valid events (if we take an interrupt anywhere > > in the region where depth is elevated, then the entire interrupt will > > be blocked from calling hcall tracepoints. > > > > Thanks! > > Subrata, could you test the patch below? Yes, definitely. Givmme some time. Regards-- Subrata > > > Anton > > -- > > > > Subject: [PATCH] powerpc: Fix hcall tracepoint recursion > > > > Spinlocks on shared processor partitions use H_YIELD to notify the > > hypervisor we are waiting on another virtual CPU. Unfortunately this means > > the hcall tracepoints can recurse. > > > > The patch below adds a percpu depth and checks it on both the entry and > > exit hcall tracepoints. > > > > Signed-off-by: Anton Blanchard > > --- > > > > Index: powerpc.git/arch/powerpc/platforms/pseries/lpar.c > > === > > --- powerpc.git.orig/arch/powerpc/platforms/pseries/lpar.c 2010-10-21 > > 17:32:00.980003644 +1100 > > +++ powerpc.git/arch/powerpc/platforms/pseries/lpar.c 2010-10-21 > > 17:34:54.942681273 +1100 > > @@ -701,6 +701,13 @@ EXPORT_SYMBOL(arch_free_page); > > /* NB: reg/unreg are called while guarded with the tracepoints_mutex */ > > extern long hcall_tracepoint_refcount; > > > > +/* > > + * Since the tracing code might execute hcalls we need to guard against > > + * recursion. One example of this are spinlocks calling H_YIELD on > > + * shared processor partitions. > > + */ > > +static DEFINE_PER_CPU(unsigned int, hcall_trace_depth); > > + > > void hcall_tracepoint_regfunc(void) > > { > > hcall_tracepoint_refcount++; > > @@ -713,12 +720,42 @@ void hcall_tracepoint_unregfunc(void) > > > > void __trace_hcall_entry(unsigned long opcode, unsigned long *args) > > { > > + unsigned long flags; > > + unsigned int *depth; > > + > > + local_irq_save(flags); > > + > > + depth = &__get_cpu_var(hcall_trace_depth); > > + > > + if (*depth) > > + goto out; > > + > > + (*depth)++; > > trace_hcall_entry(opcode, args); > > + (*depth)--; > > + > > +out: > > + local_irq_restore(flags); > > } > > > > void __trace_hcall_exit(long opcode, unsigned long retval, > > unsigned long *retbuf) > > { > > + unsigned long flags; > > + unsigned int *depth; > > + > > + local_irq_save(flags); > > + > > + depth = &__get_cpu_var(hcall_trace_depth); > > + > > + if (*depth) > > + goto out; > > + > > + (*depth)++; > > trace_hcall_exit(opcode, retval, retbuf); > > + (*depth)--; > > + > > +out: > > + local_irq_restore(flags); > > } > > #endif > > > > ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev
Re: BUG with the kernel version 2.6.36-rc1 on power machine
This is seen equally on Power6 & Power7 systems. Regards-- Subrata On Fri, Oct 22, 2010 at 1:10 PM, divya wrote: > On Friday 22 October 2010 12:50 PM, divya wrote: > >> Hi , >> >> With the latest version of kernel 2.6.36-rc1 running on the power machine, >> came across the following call trace >> >> BUG: looking up invalid subclass: 31 >> turning off the locking correctness validator. >> Call Trace: >> [ce0bfb60] [c00119a0] .show_stack+0x6c/0x16c (unreliable) >> [ce0bfc10] [c00c39b8] .lockdep_init_map+0x194/0x630 >> [ce0bfcf0] [c05524f8] .mousedev_create+0xcc/0x234 >> [ce0bfda0] [c093fb58] .mousedev_init+0x38/0xa0 >> [ce0bfe30] [c00097e4] .do_one_initcall+0xd8/0x1c8 >> [ce0bfee0] [c09004ac] .kernel_init+0x23c/0x2f8 >> [ce0bff90] [c002ad30] .kernel_thread+0x54/0x70 >> >> The config file used for make oldconfig is being attached >> >> Thanks >> Divya >> >> >> >> >> I meant 2.6.36-git1(b5153163ed580e) , and not 2.6.36-rc1. > Sorry for the confusion. > > Thanks > Divya > > -- > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majord...@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ > -- Regards & Thanks-- Subrata ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev
Re: BUG with the kernel version 2.6.36-rc1 on power machine
This is equally seen for both Power6 and Power7 machines. Regards-- Subrata On Sat, 2010-10-23 at 00:37 +0530, Subrata Modak wrote: > > > -- Forwarded message -- > From: divya > Date: Fri, Oct 22, 2010 at 1:10 PM > Subject: Re: BUG with the kernel version 2.6.36-rc1 on power machine > To: LKML , b...@kernel.crashing.org, > linuxppc-...@ozlabs.org > > > > On Friday 22 October 2010 12:50 PM, divya wrote: > Hi , > > With the latest version of kernel 2.6.36-rc1 running on the > power machine, came across the following call trace > > BUG: looking up invalid subclass: 31 > turning off the locking correctness validator. > Call Trace: > [ce0bfb60] [c00119a0] .show_stack+0x6c/0x16c > (unreliable) > [ce0bfc10] [c00c39b8] .lockdep_init_map > +0x194/0x630 > [ce0bfcf0] [c05524f8] .mousedev_create > +0xcc/0x234 > [ce0bfda0] [c093fb58] .mousedev_init+0x38/0xa0 > [ce0bfe30] [c00097e4] .do_one_initcall > +0xd8/0x1c8 > [ce0bfee0] [c09004ac] .kernel_init+0x23c/0x2f8 > [ce0bff90] [c002ad30] .kernel_thread+0x54/0x70 > > The config file used for make oldconfig is being attached > > Thanks > Divya > > > > > I meant 2.6.36-git1(b5153163ed580e) , and not 2.6.36-rc1. > Sorry for the confusion. > > Thanks > Divya > > -- > To unsubscribe from this list: send the line "unsubscribe > linux-kernel" in > the body of a message to majord...@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ > > > > > -- > Regards & Thanks-- > Subrata ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev
[Call Trace: 2.6.37-rc1-git7 & 2.6.37-rc1-git8, Powerpc] LTP msgctl11 test case
Hi Peter/Ingo, LTPś msgctl11 test case creates Call trace and Exception for kernels 2.6.37-rc1-git7 & 2.6.37-rc1-git8. Please see the dmesg below: msgctl11: page allocation failure. order:0, mode:0x20 Call Trace: [c000fffcef30] [c0014c74] .show_stack+0x74/0x1c0 (unreliable) [c000fffcefe0] [c015e938] .__alloc_pages_nodemask+0x6d8/0x950 [c000fffcf160] [c01a0c60] .alloc_pages_current+0xa0/0x160 [c000fffcf200] [c01abfd8] .new_slab+0x358/0x370 [c000fffcf2b0] [c01ac1cc] .__slab_alloc+0x1dc/0x500 [c000fffcf390] [c01ad808] .kmem_cache_alloc+0x1a8/0x1b0 [c000fffcf440] [c04eec88] .scsi_pool_alloc_command+0x58/0xa0 [c000fffcf4d0] [c04eed60] .scsi_host_alloc_command+0x30/0xb0 [c000fffcf560] [c04eee00] .__scsi_get_command+0x20/0xd0 [c000fffcf5f0] [c04ef158] .scsi_get_command+0x58/0xf0 [c000fffcf690] [c04f7948] .scsi_setup_fs_cmnd+0x108/0x120 [c000fffcf720] [d1484ad8] .sd_prep_fn+0x2b8/0xc70 [sd_mod] [c000fffcf800] [c03ea92c] .blk_peek_request+0x14c/0x310 [c000fffcf8b0] [c04f6b14] .scsi_request_fn+0x94/0x560 [c000fffcf980] [c03eba00] .__blk_run_queue+0x90/0x1b0 [c000fffcfa00] [c03ebc20] .blk_run_queue+0x30/0x60 [c000fffcfa90] [c04f5d84] .scsi_run_queue+0x104/0x3c0 [c000fffcfb60] [c04f7228] .scsi_next_command+0x48/0x70 [c000fffcfbf0] [c04f8280] .scsi_io_completion+0x3e0/0x580 [c000fffcfcd0] [c04ee0a8] .scsi_finish_command+0x128/0x180 [c000fffcfd70] [c04f8548] .scsi_softirq_done+0x118/0x1e0 [c000fffcfe10] [c03f2410] .blk_done_softirq+0xb0/0xe0 [c000fffcfea0] [c00943c8] .__do_softirq+0x118/0x290 [c000fffcff90] [c0031f58] .call_do_softirq+0x14/0x24 [c000a0992a20] [c000f554] .do_softirq+0xf4/0x120 [c000a0992ac0] [c00941d4] .irq_exit+0xb4/0xc0 [c000a0992b40] [c000f7e0] .do_IRQ+0x160/0x2c0 [c000a0992c00] [c0004898] hardware_interrupt_entry+0x18/0x80 --- Exception: 501 at .do_raw_spin_unlock+0x80/0xe0 LR = ._raw_spin_unlock+0x30/0x50 [c000a0992f70] [c018943c] .__page_check_address+0x16c/0x1a0 [c000a0993010] [c018a5b4] .page_referenced_one+0x54/0x200 [c000a09930d0] [c018ab4c] .page_referenced+0x3ec/0x490 [c000a0993200] [c0168bbc] .shrink_page_list+0x2bc/0x6d0 [c000a0993350] [c016942c] .shrink_inactive_list+0x15c/0x580 [c000a0993460] [c0169f10] .shrink_zone+0x2e0/0x4b0 [c000a0993580] [c016b3c0] .do_try_to_free_pages+0x110/0x510 [c000a0993670] [c016bb3c] .try_to_free_pages+0xbc/0x1a0 [c000a0993780] [c015e7a0] .__alloc_pages_nodemask+0x540/0x950 [c000a0993900] [c01a0db8] .alloc_page_vma+0x98/0x1d0 [c000a09939a0] [c017c7f4] .do_wp_page+0x144/0xb60 [c000a0993a90] [c017eef0] .handle_mm_fault+0x670/0xb50 [c000a0993b80] [c06feea4] .do_page_fault+0x344/0x780 [c000a0993e30] [c000522c] handle_page_fault+0x20/0x74 Mem-Info: Node 0 DMA per-cpu: CPU0: hi:6, btch: 1 usd: 4 CPU1: hi:6, btch: 1 usd: 5 CPU2: hi:6, btch: 1 usd: 0 CPU3: hi:6, btch: 1 usd: 0 CPU4: hi:6, btch: 1 usd: 0 CPU5: hi:6, btch: 1 usd: 0 CPU6: hi:6, btch: 1 usd: 4 CPU7: hi:6, btch: 1 usd: 0 CPU8: hi:6, btch: 1 usd: 2 CPU9: hi:6, btch: 1 usd: 0 CPU 10: hi:6, btch: 1 usd: 0 CPU 11: hi:6, btch: 1 usd: 0 CPU 12: hi:6, btch: 1 usd: 0 CPU 13: hi:6, btch: 1 usd: 0 CPU 14: hi:6, btch: 1 usd: 0 CPU 15: hi:6, btch: 1 usd: 0 CPU 16: hi:6, btch: 1 usd: 0 CPU 17: hi:6, btch: 1 usd: 2 CPU 18: hi:6, btch: 1 usd: 2 CPU 19: hi:6, btch: 1 usd: 0 CPU 20: hi:6, btch: 1 usd: 3 CPU 21: hi:6, btch: 1 usd: 1 CPU 22: hi:6, btch: 1 usd: 1 CPU 23: hi:6, btch: 1 usd: 0 active_anon:17322 inactive_anon:4230 isolated_anon:2650 active_file:7 inactive_file:29 isolated_file:46 unevictable:0 dirty:0 writeback:343 unstable:0 free:57 slab_reclaimable:426 slab_unreclaimable:22103 mapped:19 shmem:0 pagetables:16551 bounce:0 Node 0 DMA free:832kB min:8128kB low:10112kB high:12160kB active_anon:1108608kB inactive_anon:270720kB active_file:448kB inactive_file:1856kB unevictable:0kB isolated(anon):169600kB isolated(file):2944kB present:4190720kB mlocked:0kB dirty:0kB writeback:21952kB mapped:1216kB shmem:0kB slab_reclaimable:27264kB slab_unreclaimable:1414592kB kernel_stack:156336kB pagetables:1059264kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:69 all_unreclaimable? no lowmem_reserve[]: 0 0 0 Node 0 DMA: 7*64kB 3*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB 0*8192kB 0*16384kB = 832kB 518
Re: [Call Trace: 2.6.37-rc1-git7 & 2.6.37-rc1-git8, Powerpc] LTP msgctl11 test case
Kindly note that the same thing was not observed till git6 on the same machine. Regards-- Subrata On Thu, 2010-11-11 at 12:03 +0530, Subrata Modak wrote: > Hi Peter/Ingo, > > LTPś msgctl11 test case creates Call trace and Exception for kernels > 2.6.37-rc1-git7 & 2.6.37-rc1-git8. Please see the dmesg below: > > > msgctl11: page allocation failure. order:0, mode:0x20 > Call Trace: > [c000fffcef30] [c0014c74] .show_stack+0x74/0x1c0 (unreliable) > [c000fffcefe0] [c015e938] .__alloc_pages_nodemask+0x6d8/0x950 > [c000fffcf160] [c01a0c60] .alloc_pages_current+0xa0/0x160 > [c000fffcf200] [c01abfd8] .new_slab+0x358/0x370 > [c000fffcf2b0] [c01ac1cc] .__slab_alloc+0x1dc/0x500 > [c000fffcf390] [c01ad808] .kmem_cache_alloc+0x1a8/0x1b0 > [c000fffcf440] [c04eec88] .scsi_pool_alloc_command+0x58/0xa0 > [c000fffcf4d0] [c04eed60] .scsi_host_alloc_command+0x30/0xb0 > [c000fffcf560] [c04eee00] .__scsi_get_command+0x20/0xd0 > [c000fffcf5f0] [c04ef158] .scsi_get_command+0x58/0xf0 > [c000fffcf690] [c04f7948] .scsi_setup_fs_cmnd+0x108/0x120 > [c000fffcf720] [d1484ad8] .sd_prep_fn+0x2b8/0xc70 [sd_mod] > [c000fffcf800] [c03ea92c] .blk_peek_request+0x14c/0x310 > [c000fffcf8b0] [c04f6b14] .scsi_request_fn+0x94/0x560 > [c000fffcf980] [c03eba00] .__blk_run_queue+0x90/0x1b0 > [c000fffcfa00] [c03ebc20] .blk_run_queue+0x30/0x60 > [c000fffcfa90] [c04f5d84] .scsi_run_queue+0x104/0x3c0 > [c000fffcfb60] [c04f7228] .scsi_next_command+0x48/0x70 > [c000fffcfbf0] [c04f8280] .scsi_io_completion+0x3e0/0x580 > [c000fffcfcd0] [c04ee0a8] .scsi_finish_command+0x128/0x180 > [c000fffcfd70] [c04f8548] .scsi_softirq_done+0x118/0x1e0 > [c000fffcfe10] [c03f2410] .blk_done_softirq+0xb0/0xe0 > [c000fffcfea0] [c00943c8] .__do_softirq+0x118/0x290 > [c000fffcff90] [c0031f58] .call_do_softirq+0x14/0x24 > [c000a0992a20] [c000f554] .do_softirq+0xf4/0x120 > [c000a0992ac0] [c00941d4] .irq_exit+0xb4/0xc0 > [c000a0992b40] [c000f7e0] .do_IRQ+0x160/0x2c0 > [c000a0992c00] [c0004898] hardware_interrupt_entry+0x18/0x80 > --- Exception: 501 at .do_raw_spin_unlock+0x80/0xe0 > LR = ._raw_spin_unlock+0x30/0x50 > [c000a0992f70] [c018943c] .__page_check_address+0x16c/0x1a0 > [c000a0993010] [c018a5b4] .page_referenced_one+0x54/0x200 > [c000a09930d0] [c018ab4c] .page_referenced+0x3ec/0x490 > [c000a0993200] [c0168bbc] .shrink_page_list+0x2bc/0x6d0 > [c000a0993350] [c016942c] .shrink_inactive_list+0x15c/0x580 > [c000a0993460] [c0169f10] .shrink_zone+0x2e0/0x4b0 > [c000a0993580] [c016b3c0] .do_try_to_free_pages+0x110/0x510 > [c000a0993670] [c016bb3c] .try_to_free_pages+0xbc/0x1a0 > [c000a0993780] [c015e7a0] .__alloc_pages_nodemask+0x540/0x950 > [c000a0993900] [c01a0db8] .alloc_page_vma+0x98/0x1d0 > [c000a09939a0] [c017c7f4] .do_wp_page+0x144/0xb60 > [c000a0993a90] [c017eef0] .handle_mm_fault+0x670/0xb50 > [c000a0993b80] [c06feea4] .do_page_fault+0x344/0x780 > [c000a0993e30] [c000522c] handle_page_fault+0x20/0x74 > Mem-Info: > Node 0 DMA per-cpu: > CPU0: hi:6, btch: 1 usd: 4 > CPU1: hi:6, btch: 1 usd: 5 > CPU2: hi:6, btch: 1 usd: 0 > CPU3: hi:6, btch: 1 usd: 0 > CPU4: hi:6, btch: 1 usd: 0 > CPU5: hi:6, btch: 1 usd: 0 > CPU6: hi:6, btch: 1 usd: 4 > CPU7: hi:6, btch: 1 usd: 0 > CPU8: hi:6, btch: 1 usd: 2 > CPU9: hi:6, btch: 1 usd: 0 > CPU 10: hi:6, btch: 1 usd: 0 > CPU 11: hi:6, btch: 1 usd: 0 > CPU 12: hi:6, btch: 1 usd: 0 > CPU 13: hi:6, btch: 1 usd: 0 > CPU 14: hi:6, btch: 1 usd: 0 > CPU 15: hi:6, btch: 1 usd: 0 > CPU 16: hi:6, btch: 1 usd: 0 > CPU 17: hi:6, btch: 1 usd: 2 > CPU 18: hi:6, btch: 1 usd: 2 > CPU 19: hi:6, btch: 1 usd: 0 > CPU 20: hi:6, btch: 1 usd: 3 > CPU 21: hi:6, btch: 1 usd: 1 > CPU 22: hi:6, btch: 1 usd: 1 > CPU 23: hi:6, btch: 1 usd: 0 > active_anon:17322 inactive_anon:4230 isolated_anon:2650 > active_file:7 inactive_file:29 isolated_file:46 > unevictable:0 dirty:0 writeback:343 unstable:0 > free:57 slab_reclaimable:426 slab_unreclaimable:22103 > mapped:19 shmem:0 pagetables:16551 bounce:0 > Node 0 DM
Re: [PATCH] powerpc: Fix hcall tracepoint recursion
I tested and reported back the results. The patch works fine. Can you please find out if it has been committed to Linus tree and if yes, then the commit id please ? Regards-- Subrata On Fri, 2010-10-22 at 15:22 +0800, Li Zefan wrote: > Anton Blanchard wrote: > > Hi, > > > >> This is a dead loop: > >> > >> trace_hcall_entry() -> trace_clock_global() -> trace_hcall_entry() .. > >> > >> And this is a PPC specific bug. Hope some ppc guys will fix it? > >> Or we kill trace_clock_global() if no one actually uses it.. > > > > Nasty! How does the patch below look? I had to disable irqs otherwise > > we would sometimes drop valid events (if we take an interrupt anywhere > > in the region where depth is elevated, then the entire interrupt will > > be blocked from calling hcall tracepoints. > > > > Thanks! > > Subrata, could you test the patch below? > > > Anton > > -- > > > > Subject: [PATCH] powerpc: Fix hcall tracepoint recursion > > > > Spinlocks on shared processor partitions use H_YIELD to notify the > > hypervisor we are waiting on another virtual CPU. Unfortunately this means > > the hcall tracepoints can recurse. > > > > The patch below adds a percpu depth and checks it on both the entry and > > exit hcall tracepoints. > > > > Signed-off-by: Anton Blanchard > > --- > > > > Index: powerpc.git/arch/powerpc/platforms/pseries/lpar.c > > === > > --- powerpc.git.orig/arch/powerpc/platforms/pseries/lpar.c 2010-10-21 > > 17:32:00.980003644 +1100 > > +++ powerpc.git/arch/powerpc/platforms/pseries/lpar.c 2010-10-21 > > 17:34:54.942681273 +1100 > > @@ -701,6 +701,13 @@ EXPORT_SYMBOL(arch_free_page); > > /* NB: reg/unreg are called while guarded with the tracepoints_mutex */ > > extern long hcall_tracepoint_refcount; > > > > +/* > > + * Since the tracing code might execute hcalls we need to guard against > > + * recursion. One example of this are spinlocks calling H_YIELD on > > + * shared processor partitions. > > + */ > > +static DEFINE_PER_CPU(unsigned int, hcall_trace_depth); > > + > > void hcall_tracepoint_regfunc(void) > > { > > hcall_tracepoint_refcount++; > > @@ -713,12 +720,42 @@ void hcall_tracepoint_unregfunc(void) > > > > void __trace_hcall_entry(unsigned long opcode, unsigned long *args) > > { > > + unsigned long flags; > > + unsigned int *depth; > > + > > + local_irq_save(flags); > > + > > + depth = &__get_cpu_var(hcall_trace_depth); > > + > > + if (*depth) > > + goto out; > > + > > + (*depth)++; > > trace_hcall_entry(opcode, args); > > + (*depth)--; > > + > > +out: > > + local_irq_restore(flags); > > } > > > > void __trace_hcall_exit(long opcode, unsigned long retval, > > unsigned long *retbuf) > > { > > + unsigned long flags; > > + unsigned int *depth; > > + > > + local_irq_save(flags); > > + > > + depth = &__get_cpu_var(hcall_trace_depth); > > + > > + if (*depth) > > + goto out; > > + > > + (*depth)++; > > trace_hcall_exit(opcode, retval, retbuf); > > + (*depth)--; > > + > > +out: > > + local_irq_restore(flags); > > } > > #endif > > > > ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev
Re: [linux-2.6.36-git7: Power7] LTP Memory CGROUP Controller functional test creates Backtrace, OOMKill & rcu_sched_state detected stall jiffies
On Wed, 2010-10-27 at 09:45 +0900, KAMEZAWA Hiroyuki wrote: > On Tue, 26 Oct 2010 16:03:56 +0530 > Subrata Modak wrote: > > > If you run LTP Memory CGROUP Controller functional test on > > linux-2.6.36-git7, the following Backtrace, OOMKill & rcu_sched_state > > detected stall jiffies are created. The machine is not reachable > > thereafter. Ways to reproduce this problem: > > > > 1) Build and boot kernel 2.6.36-git7 on Power7 machine with attached > > config file, > > 2) Fetch, build and install LTP: > > git clone git://ltp.git.sourceforge.net/gitroot/ltp/ltp > > cd ltp > > ./configure > > make > > make install > > 3) Create a LTP runtest file /opt/ltp/runtest/memcg_function_test with > > the following entry: > > memcg_function memcg_function_test.sh > > <> > > cd /opt/ltp > > ./runltp -f memcg_function_test > > > > IIUC, memcg test includes intentional OOM-Kill test by setting the limit to 0. > And it has another test to set the limit to PAGE_SIZE. > > In your environemnt, I think page size is 64kb...right ? > > About rcu_sched_state()I have no idea at this stage. I reviewed > memcontrol.c > and oom_kill.c again and coundn't found anything in quick review. > > Could you try again after -rc1 shipped ? Oh Sure, I saw this mail now. I will try it out on the latest git tree available :-) Regards-- Subrata > I think Andrew Morton sent some amount of updates for oom_kill and memcg, > vmscan > to Linus, today. > > Thanks, > -Kame > ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev
Re: [PATCH] powerpc: wire up preadv and pwritev
Hi Stephen, On Tue, Apr 7, 2009 at 8:49 AM, Stephen Rothwell wrote: > > Signed-off-by: Stephen Rothwell > --- > arch/powerpc/include/asm/systbl.h |2 ++ > arch/powerpc/include/asm/unistd.h |4 +++- > 2 files changed, 5 insertions(+), 1 deletions(-) > > Tested on pseries_defconfig (verified using strace{,64} and inspecting > the files). Test program (modified from the original because the API and > ABI changed and I added a test with larger offsets): > > #if 0 > set -x > gcc -Wall -O2 -m32 -o preadv $0 > gcc -Wall -O2 -m32 -D_FILE_OFFSET_BITS=64 -DLARGE_TEST -o preadv32 $0 > gcc -Wall -O2 -m64 -DLARGE_TEST -o preadv64 $0 > ./preadv > ./preadv32 > ./preadv64 > exit 0 > #endif > /* > * preadv demo / test > * > * (c) 2008 Gerd Hoffmann > * Modified for new ABI and large offset test by Stephen Rothwell > * > * build with "sh $thisfile" > */ > > #include > #include > #include > #include > #include > #include > > /* - */ > /* syscall windup*/ > > #include > #if 1 > /* WARNING: Be sure you know what you are doing if you enable this. > * linux syscall code isn't upstream yet, syscall numbers are subject > * to change */ > # ifndef __NR_preadv > # ifdef __i386__ > # define __NR_preadv 333 > # define __NR_pwritev 334 > # endif > # ifdef __x86_64__ > # define __NR_preadv 295 > # define __NR_pwritev 296 > # endif > # ifdef __powerpc__ > # define __NR_preadv 319 > # define __NR_pwritev 320 > # endif > # endif > #endif > #ifndef __NR_preadv > # error preadv/pwritev syscall numbers are unknown > #endif > > #define HALF_BITS (sizeof(unsigned long)*4) > > static ssize_t preadv(int fd, const struct iovec *iov, int iovcnt, > off_t offset) > { >return syscall(__NR_preadv, fd, iov, iovcnt, > (unsigned long)offset, > (unsigned long)((offset >> HALF_BITS) >> HALF_BITS)); > } > > static ssize_t pwritev(int fd, const struct iovec *iov, int iovcnt, > off_t offset) > { >return syscall(__NR_pwritev, fd, iov, iovcnt, > (unsigned long)offset, > (unsigned long)((offset >> HALF_BITS) >> HALF_BITS)); > } > > /* - */ > /* demo/test app */ > > static char filename[] = "/tmp/preadv-XX"; > static char outbuf[11] = "0123456789"; > static char inbuf[11] = "--"; > > static struct iovec ovec[2] = {{ >.iov_base = outbuf + 5, >.iov_len = 5, >},{ >.iov_base = outbuf + 0, >.iov_len = 5, >}}; > > static struct iovec ivec[3] = {{ >.iov_base = inbuf + 6, >.iov_len = 2, >},{ >.iov_base = inbuf + 4, >.iov_len = 2, >},{ >.iov_base = inbuf + 2, >.iov_len = 2, >}}; > > void cleanup(void) > { >unlink(filename); > } > > int main(int argc, char **argv) > { >int fd, rc; > >fd = mkstemp(filename); >if (-1 == fd) { >perror("mkstemp"); >exit(1); >} >atexit(cleanup); > >/* write to file: "56789-01234" */ >rc = pwritev(fd, ovec, 2, 0); >if (rc < 0) { >perror("pwritev"); >exit(1); >} > >/* read from file: "78-90-12" */ >rc = preadv(fd, ivec, 3, 2); >if (rc < 0) { >perror("preadv"); >exit(1); >} > >printf("result : %s\n", inbuf); >printf("expected: %s\n", "--129078--"); > > #ifdef LARGE_TEST > >/* write to file: "56789-01234" */ >rc = pwritev(fd, ovec, 2, 0x3ULL); >if (rc < 0) { >perror("pwritev"); >exit(1); >} > >/* read from file: "78-90-12" */ >rc = preadv(fd, ivec, 3, 0x3ULL + 2); >if (rc < 0) { >perror("preadv"); >exit(1); >} > >printf("result : %s\n", inbuf); >printf("expected: %s\n", "--129078--"); > > #endif > >exit(0); > } > How about contributing the above test to LTP(http://ltp.sourceforge.net/) under GPL ? If you agree, i would soon send you a Patch integrating the same to LTP. Regards-- Subrata > > diff --git a/arch/powerpc/include/asm/systbl.h > b/arch/powerpc/include/asm/systbl.h > index fe16649..3fb6d9e 100644 > --- a/arch/powerpc/include/asm/systbl.h > +++ b/arch/powerpc/include/asm/systbl.h > @@ -322,3 +322,5 @@ SYSCALL_SPU(epoll_create1) > SYSCALL_SPU(dup3) > SYSCALL_SPU(pipe2) > SYSCALL(inotify_init1) > +COMPAT_SYS_SPU(preadv) > +COMPAT_SYS_SPU(pwritev) > diff --git a/arch/powerpc/include/asm/unistd.h > b/arch/powerpc/inc
Re: [LTP] [PATCH] powerpc: wire up preadv and pwritev
Thanks Gerd/Stephen, On Tue, 2009-04-07 at 09:52 +0200, Gerd Hoffmann wrote: > Hi, > > > How about contributing the above test to LTP(http://ltp.sourceforge.net/) > > under GPL ? If you agree, i would soon send you a Patch integrating the same > > to LTP. > > Fine with me. You probably want to remove the hard-coded syscall > numbers and pickup them from unistd.h instead though. Sure. We will do some necessary changes, and you will shortly hear from us the Patch to integrate, and, retaining your Copyright on the test program. Regards-- Subrata > > cheers, >Gerd > > > -- > This SF.net email is sponsored by: > High Quality Requirements in a Collaborative Environment. > Download a free trial of Rational Requirements Composer Now! > http://p.sf.net/sfu/www-ibm-com > ___ > Ltp-list mailing list > ltp-l...@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/ltp-list ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev
[BUILD FAILURE 01] Next April 9 : PPC64 randconfig [drivers/net/fs_enet/fs_enet-main.c]
Observed the following build error: drivers/net/fs_enet/fs_enet-main.c: In function ‘fs_enet_probe’: drivers/net/fs_enet/fs_enet-main.c:1096: error: ‘struct net_device’ has no member named ‘open’ drivers/net/fs_enet/fs_enet-main.c:1097: error: ‘struct net_device’ has no member named ‘hard_start_xmit’ drivers/net/fs_enet/fs_enet-main.c:1098: error: ‘struct net_device’ has no member named ‘tx_timeout’ drivers/net/fs_enet/fs_enet-main.c:1100: error: ‘struct net_device’ has no member named ‘stop’ drivers/net/fs_enet/fs_enet-main.c:1101: error: ‘struct net_device’ has no member named ‘get_stats’ drivers/net/fs_enet/fs_enet-main.c:1102: error: ‘struct net_device’ has no member named ‘set_multicast_list’ drivers/net/fs_enet/fs_enet-main.c:: error: ‘struct net_device’ has no member named ‘do_ioctl’ make[3]: *** [drivers/net/fs_enet/fs_enet-main.o] Error 1 make[2]: *** [drivers/net/fs_enet] Error 2 make[1]: *** [drivers/net] Error 2 make: *** [drivers] Error 2 Regards-- Subrata # # Automatically generated make config: don't edit # Linux kernel version: 2.6.30-rc1 # Thu Apr 9 06:27:57 2009 # # CONFIG_PPC64 is not set # # Processor support # CONFIG_6xx=y # CONFIG_PPC_85xx is not set # CONFIG_PPC_8xx is not set # CONFIG_40x is not set # CONFIG_44x is not set # CONFIG_E200 is not set CONFIG_PPC_BOOK3S=y CONFIG_PPC_FPU=y CONFIG_ALTIVEC=y CONFIG_PPC_STD_MMU=y CONFIG_PPC_STD_MMU_32=y # CONFIG_PPC_MM_SLICES is not set CONFIG_SMP=y CONFIG_NR_CPUS=4 CONFIG_NOT_COHERENT_CACHE=y CONFIG_PPC32=y CONFIG_WORD_SIZE=32 # CONFIG_ARCH_PHYS_ADDR_T_64BIT is not set CONFIG_MMU=y CONFIG_GENERIC_CMOS_UPDATE=y CONFIG_GENERIC_TIME=y CONFIG_GENERIC_TIME_VSYSCALL=y CONFIG_GENERIC_CLOCKEVENTS=y CONFIG_GENERIC_HARDIRQS=y # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set CONFIG_IRQ_PER_CPU=y CONFIG_STACKTRACE_SUPPORT=y CONFIG_HAVE_LATENCYTOP_SUPPORT=y CONFIG_LOCKDEP_SUPPORT=y CONFIG_RWSEM_XCHGADD_ALGORITHM=y CONFIG_GENERIC_LOCKBREAK=y CONFIG_ARCH_HAS_ILOG2_U32=y CONFIG_GENERIC_HWEIGHT=y CONFIG_GENERIC_CALIBRATE_DELAY=y CONFIG_GENERIC_FIND_NEXT_BIT=y CONFIG_GENERIC_GPIO=y # CONFIG_ARCH_NO_VIRT_TO_BUS is not set CONFIG_PPC=y CONFIG_EARLY_PRINTK=y CONFIG_GENERIC_NVRAM=y CONFIG_SCHED_OMIT_FRAME_POINTER=y CONFIG_ARCH_MAY_HAVE_PC_FDC=y CONFIG_PPC_OF=y CONFIG_OF=y CONFIG_PPC_UDBG_16550=y CONFIG_GENERIC_TBSYNC=y CONFIG_AUDIT_ARCH=y CONFIG_GENERIC_BUG=y CONFIG_SYS_SUPPORTS_APM_EMULATION=y CONFIG_DEFAULT_UIMAGE=y CONFIG_ARCH_SUSPEND_POSSIBLE=y # CONFIG_PPC_DCR_NATIVE is not set # CONFIG_PPC_DCR_MMIO is not set CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" # # General setup # # CONFIG_EXPERIMENTAL is not set CONFIG_LOCK_KERNEL=y CONFIG_INIT_ENV_ARG_LIMIT=32 CONFIG_LOCALVERSION="" CONFIG_LOCALVERSION_AUTO=y CONFIG_SWAP=y CONFIG_SYSVIPC=y CONFIG_SYSVIPC_SYSCTL=y # CONFIG_BSD_PROCESS_ACCT is not set # CONFIG_TASKSTATS is not set # CONFIG_AUDIT is not set # # RCU Subsystem # # CONFIG_CLASSIC_RCU is not set # CONFIG_TREE_RCU is not set CONFIG_PREEMPT_RCU=y CONFIG_RCU_TRACE=y # CONFIG_TREE_RCU_TRACE is not set CONFIG_PREEMPT_RCU_TRACE=y CONFIG_IKCONFIG=m CONFIG_IKCONFIG_PROC=y CONFIG_LOG_BUF_SHIFT=17 CONFIG_CGROUPS=y CONFIG_CGROUP_DEBUG=y CONFIG_CGROUP_NS=y CONFIG_CGROUP_FREEZER=y CONFIG_CPUSETS=y # CONFIG_PROC_PID_CPUSET is not set CONFIG_CGROUP_CPUACCT=y CONFIG_RESOURCE_COUNTERS=y CONFIG_CGROUP_MEM_RES_CTLR=y CONFIG_MM_OWNER=y # CONFIG_SYSFS_DEPRECATED_V2 is not set CONFIG_RELAY=y CONFIG_NAMESPACES=y # CONFIG_UTS_NS is not set CONFIG_IPC_NS=y CONFIG_BLK_DEV_INITRD=y CONFIG_INITRAMFS_SOURCE="" CONFIG_RD_GZIP=y CONFIG_RD_BZIP2=y CONFIG_RD_LZMA=y # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set CONFIG_SYSCTL=y CONFIG_ANON_INODES=y CONFIG_EMBEDDED=y # CONFIG_SYSCTL_SYSCALL is not set CONFIG_KALLSYMS=y CONFIG_KALLSYMS_ALL=y CONFIG_KALLSYMS_EXTRA_PASS=y CONFIG_HOTPLUG=y # CONFIG_PRINTK is not set CONFIG_BUG=y CONFIG_ELF_CORE=y CONFIG_BASE_FULL=y CONFIG_FUTEX=y # CONFIG_EPOLL is not set CONFIG_SIGNALFD=y CONFIG_TIMERFD=y # CONFIG_EVENTFD is not set CONFIG_SHMEM=y # CONFIG_AIO is not set CONFIG_VM_EVENT_COUNTERS=y CONFIG_PCI_QUIRKS=y CONFIG_COMPAT_BRK=y # CONFIG_SLAB is not set # CONFIG_SLUB is not set # CONFIG_SLQB is not set CONFIG_SLOB=y CONFIG_PROFILING=y CONFIG_TRACEPOINTS=y CONFIG_MARKERS=y CONFIG_OPROFILE=m CONFIG_HAVE_OPROFILE=y # CONFIG_KPROBES is not set CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y CONFIG_HAVE_IOREMAP_PROT=y CONFIG_HAVE_KPROBES=y CONFIG_HAVE_KRETPROBES=y CONFIG_HAVE_ARCH_TRACEHOOK=y CONFIG_USE_GENERIC_SMP_HELPERS=y CONFIG_HAVE_CLK=y # CONFIG_SLOW_WORK is not set # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set CONFIG_RT_MUTEXES=y CONFIG_BASE_SMALL=0 CONFIG_MODULES=y CONFIG_MODULE_FORCE_LOAD=y CONFIG_MODULE_UNLOAD=y CONFIG_MODVERSIONS=y # CONFIG_MODULE_SRCVERSION_ALL is not set CONFIG_STOP_MACHINE=y CONFIG_BLOCK=y CONFIG_LBD=y CONFIG_BLK_DEV_INTEGRITY=y # # IO Schedulers # CONFIG_IOSCHED_NOOP=y CONFIG_IOSCHED_AS=m CONFIG_IOSCHED_DEADLINE=y CONFIG_IOSCHED_CFQ=m # CONFIG_DEFAULT_AS is not set # CONFIG_
[BUILD FAILURE 02] Next April 9 : PPC64 randconfig [arch/powerpc/platforms/pseries/dtl.c]
Observed the following build error: arch/powerpc/platforms/pseries/dtl.c: In function ‘dtl_init’: arch/powerpc/platforms/pseries/dtl.c:238: error: implicit declaration of function ‘firmware_has_feature’ arch/powerpc/platforms/pseries/dtl.c:238: error: ‘FW_FEATURE_SPLPAR’ undeclared (first use in this function) arch/powerpc/platforms/pseries/dtl.c:238: error: (Each undeclared identifier is reported only once arch/powerpc/platforms/pseries/dtl.c:238: error: for each function it appears in.) make[2]: *** [arch/powerpc/platforms/pseries/dtl.o] Error 1 make[1]: *** [arch/powerpc/platforms/pseries] Error 2 make: *** [arch/powerpc/platforms] Error 2 Regards-- Subrata # # Automatically generated make config: don't edit # Linux kernel version: 2.6.30-rc1 # Thu Apr 9 08:25:52 2009 # CONFIG_PPC64=y # # Processor support # CONFIG_PPC_BOOK3S=y # CONFIG_POWER4_ONLY is not set CONFIG_POWER3=y CONFIG_POWER4=y # CONFIG_TUNE_CELL is not set CONFIG_PPC_FPU=y # CONFIG_ALTIVEC is not set CONFIG_PPC_STD_MMU=y CONFIG_PPC_STD_MMU_64=y CONFIG_PPC_MM_SLICES=y # CONFIG_VIRT_CPU_ACCOUNTING is not set # CONFIG_SMP is not set CONFIG_64BIT=y CONFIG_WORD_SIZE=64 CONFIG_ARCH_PHYS_ADDR_T_64BIT=y CONFIG_MMU=y CONFIG_GENERIC_CMOS_UPDATE=y CONFIG_GENERIC_TIME=y CONFIG_GENERIC_TIME_VSYSCALL=y CONFIG_GENERIC_CLOCKEVENTS=y CONFIG_GENERIC_HARDIRQS=y CONFIG_HAVE_SETUP_PER_CPU_AREA=y CONFIG_IRQ_PER_CPU=y CONFIG_STACKTRACE_SUPPORT=y CONFIG_HAVE_LATENCYTOP_SUPPORT=y CONFIG_TRACE_IRQFLAGS_SUPPORT=y CONFIG_LOCKDEP_SUPPORT=y CONFIG_RWSEM_XCHGADD_ALGORITHM=y CONFIG_ARCH_HAS_ILOG2_U32=y CONFIG_ARCH_HAS_ILOG2_U64=y CONFIG_GENERIC_HWEIGHT=y CONFIG_GENERIC_CALIBRATE_DELAY=y CONFIG_GENERIC_FIND_NEXT_BIT=y CONFIG_GENERIC_GPIO=y CONFIG_ARCH_NO_VIRT_TO_BUS=y CONFIG_PPC=y CONFIG_EARLY_PRINTK=y CONFIG_COMPAT=y CONFIG_SYSVIPC_COMPAT=y CONFIG_SCHED_OMIT_FRAME_POINTER=y CONFIG_ARCH_MAY_HAVE_PC_FDC=y CONFIG_PPC_OF=y CONFIG_OF=y CONFIG_PPC_UDBG_16550=y CONFIG_GENERIC_TBSYNC=y CONFIG_AUDIT_ARCH=y # CONFIG_DEFAULT_UIMAGE is not set CONFIG_HIBERNATE_32=y CONFIG_HIBERNATE_64=y CONFIG_ARCH_HIBERNATION_POSSIBLE=y CONFIG_ARCH_SUSPEND_POSSIBLE=y # CONFIG_PPC_DCR_NATIVE is not set CONFIG_PPC_DCR_MMIO=y CONFIG_PPC_DCR=y CONFIG_PPC_OF_PLATFORM_PCI=y CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" # # General setup # CONFIG_EXPERIMENTAL=y CONFIG_BROKEN_ON_SMP=y CONFIG_INIT_ENV_ARG_LIMIT=32 CONFIG_LOCALVERSION="" CONFIG_LOCALVERSION_AUTO=y CONFIG_SYSVIPC=y CONFIG_SYSVIPC_SYSCTL=y # CONFIG_POSIX_MQUEUE is not set # CONFIG_BSD_PROCESS_ACCT is not set CONFIG_TASKSTATS=y CONFIG_TASK_DELAY_ACCT=y CONFIG_TASK_XACCT=y CONFIG_TASK_IO_ACCOUNTING=y CONFIG_AUDIT=y CONFIG_AUDITSYSCALL=y CONFIG_AUDIT_TREE=y # # RCU Subsystem # CONFIG_CLASSIC_RCU=y # CONFIG_TREE_RCU is not set # CONFIG_PREEMPT_RCU is not set # CONFIG_TREE_RCU_TRACE is not set # CONFIG_PREEMPT_RCU_TRACE is not set CONFIG_IKCONFIG=y CONFIG_LOG_BUF_SHIFT=17 CONFIG_GROUP_SCHED=y # CONFIG_FAIR_GROUP_SCHED is not set # CONFIG_RT_GROUP_SCHED is not set CONFIG_USER_SCHED=y # CONFIG_CGROUP_SCHED is not set CONFIG_CGROUPS=y # CONFIG_CGROUP_DEBUG is not set CONFIG_CGROUP_NS=y CONFIG_CGROUP_FREEZER=y CONFIG_CGROUP_DEVICE=y # CONFIG_CPUSETS is not set CONFIG_CGROUP_CPUACCT=y # CONFIG_RESOURCE_COUNTERS is not set CONFIG_SYSFS_DEPRECATED=y CONFIG_SYSFS_DEPRECATED_V2=y CONFIG_RELAY=y CONFIG_NAMESPACES=y CONFIG_UTS_NS=y # CONFIG_IPC_NS is not set CONFIG_USER_NS=y CONFIG_PID_NS=y CONFIG_NET_NS=y CONFIG_BLK_DEV_INITRD=y CONFIG_INITRAMFS_SOURCE="" # CONFIG_RD_GZIP is not set CONFIG_RD_BZIP2=y CONFIG_RD_LZMA=y # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set CONFIG_SYSCTL=y CONFIG_ANON_INODES=y CONFIG_EMBEDDED=y CONFIG_SYSCTL_SYSCALL=y CONFIG_KALLSYMS=y CONFIG_KALLSYMS_ALL=y CONFIG_KALLSYMS_EXTRA_PASS=y CONFIG_HOTPLUG=y CONFIG_PRINTK=y # CONFIG_BUG is not set CONFIG_ELF_CORE=y CONFIG_PCSPKR_PLATFORM=y CONFIG_BASE_FULL=y CONFIG_FUTEX=y CONFIG_EPOLL=y CONFIG_SIGNALFD=y CONFIG_TIMERFD=y CONFIG_EVENTFD=y CONFIG_SHMEM=y # CONFIG_AIO is not set CONFIG_VM_EVENT_COUNTERS=y CONFIG_PCI_QUIRKS=y CONFIG_COMPAT_BRK=y # CONFIG_SLAB is not set # CONFIG_SLUB is not set CONFIG_SLQB=y # CONFIG_SLOB is not set CONFIG_PROFILING=y CONFIG_TRACEPOINTS=y CONFIG_MARKERS=y CONFIG_OPROFILE=m CONFIG_HAVE_OPROFILE=y CONFIG_KPROBES=y CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y CONFIG_HAVE_SYSCALL_WRAPPERS=y CONFIG_KRETPROBES=y CONFIG_HAVE_IOREMAP_PROT=y CONFIG_HAVE_KPROBES=y CONFIG_HAVE_KRETPROBES=y CONFIG_HAVE_ARCH_TRACEHOOK=y CONFIG_HAVE_DMA_ATTRS=y # CONFIG_SLOW_WORK is not set # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set CONFIG_RT_MUTEXES=y CONFIG_BASE_SMALL=0 CONFIG_MODULES=y CONFIG_MODULE_FORCE_LOAD=y CONFIG_MODULE_UNLOAD=y CONFIG_MODULE_FORCE_UNLOAD=y CONFIG_MODVERSIONS=y # CONFIG_MODULE_SRCVERSION_ALL is not set # CONFIG_BLOCK is not set CONFIG_FREEZER=y CONFIG_PPC_MSI_BITMAP=y # # Platform support # CONFIG_PPC_PSERIES=y CONFIG_PPC_SPLPAR=y CONFIG_EEH=y CONFIG_PSERIES_MSI=y CONFIG_SCANLOG=m # CONFIG_LPARCFG is not set CONF
[BUILD FAILURE 03] Next April 9 : PPC64 randconfig [arch/powerpc/platforms/pasemi/setup.o]
Observed the following build error: CC arch/powerpc/platforms/pasemi/setup.o arch/powerpc/platforms/pasemi/setup.c:48: error: redefinition of ‘smp_send_stop’ include/linux/smp.h:125: error: previous definition of ‘smp_send_stop’ was here make[2]: *** [arch/powerpc/platforms/pasemi/setup.o] Error 1 make[1]: *** [arch/powerpc/platforms/pasemi] Error 2 make: *** [arch/powerpc/platforms] Error 2 Regards-- Subrata # # Automatically generated make config: don't edit # Linux kernel version: 2.6.30-rc1 # Thu Apr 9 06:28:12 2009 # CONFIG_PPC64=y # # Processor support # CONFIG_PPC_BOOK3S=y CONFIG_POWER4_ONLY=y CONFIG_POWER4=y # CONFIG_TUNE_CELL is not set CONFIG_PPC_FPU=y CONFIG_ALTIVEC=y # CONFIG_VSX is not set CONFIG_PPC_STD_MMU=y CONFIG_PPC_STD_MMU_64=y CONFIG_PPC_MM_SLICES=y CONFIG_VIRT_CPU_ACCOUNTING=y # CONFIG_SMP is not set CONFIG_64BIT=y CONFIG_WORD_SIZE=64 CONFIG_ARCH_PHYS_ADDR_T_64BIT=y CONFIG_MMU=y CONFIG_GENERIC_CMOS_UPDATE=y CONFIG_GENERIC_TIME=y CONFIG_GENERIC_TIME_VSYSCALL=y CONFIG_GENERIC_CLOCKEVENTS=y CONFIG_GENERIC_HARDIRQS=y CONFIG_HAVE_SETUP_PER_CPU_AREA=y CONFIG_IRQ_PER_CPU=y CONFIG_STACKTRACE_SUPPORT=y CONFIG_HAVE_LATENCYTOP_SUPPORT=y CONFIG_TRACE_IRQFLAGS_SUPPORT=y CONFIG_LOCKDEP_SUPPORT=y CONFIG_RWSEM_XCHGADD_ALGORITHM=y CONFIG_ARCH_HAS_ILOG2_U32=y CONFIG_ARCH_HAS_ILOG2_U64=y CONFIG_GENERIC_HWEIGHT=y CONFIG_GENERIC_CALIBRATE_DELAY=y CONFIG_GENERIC_FIND_NEXT_BIT=y CONFIG_GENERIC_GPIO=y CONFIG_ARCH_NO_VIRT_TO_BUS=y CONFIG_PPC=y CONFIG_EARLY_PRINTK=y CONFIG_COMPAT=y CONFIG_SYSVIPC_COMPAT=y CONFIG_SCHED_OMIT_FRAME_POINTER=y CONFIG_ARCH_MAY_HAVE_PC_FDC=y CONFIG_PPC_OF=y CONFIG_OF=y CONFIG_PPC_UDBG_16550=y CONFIG_GENERIC_TBSYNC=y CONFIG_AUDIT_ARCH=y CONFIG_GENERIC_BUG=y # CONFIG_DEFAULT_UIMAGE is not set CONFIG_HIBERNATE_32=y # CONFIG_PPC_DCR_NATIVE is not set CONFIG_PPC_DCR_MMIO=y CONFIG_PPC_DCR=y # CONFIG_PPC_OF_PLATFORM_PCI is not set CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" # # General setup # # CONFIG_EXPERIMENTAL is not set CONFIG_BROKEN_ON_SMP=y CONFIG_INIT_ENV_ARG_LIMIT=32 CONFIG_LOCALVERSION="" CONFIG_LOCALVERSION_AUTO=y # CONFIG_SWAP is not set CONFIG_SYSVIPC=y CONFIG_SYSVIPC_SYSCTL=y CONFIG_BSD_PROCESS_ACCT=y # CONFIG_BSD_PROCESS_ACCT_V3 is not set CONFIG_TASKSTATS=y CONFIG_TASK_DELAY_ACCT=y CONFIG_TASK_XACCT=y CONFIG_TASK_IO_ACCOUNTING=y # CONFIG_AUDIT is not set # # RCU Subsystem # CONFIG_CLASSIC_RCU=y # CONFIG_TREE_RCU is not set # CONFIG_PREEMPT_RCU is not set # CONFIG_TREE_RCU_TRACE is not set # CONFIG_PREEMPT_RCU_TRACE is not set # CONFIG_IKCONFIG is not set CONFIG_LOG_BUF_SHIFT=17 CONFIG_CGROUPS=y CONFIG_CGROUP_DEBUG=y # CONFIG_CGROUP_NS is not set # CONFIG_CGROUP_FREEZER is not set CONFIG_CPUSETS=y CONFIG_PROC_PID_CPUSET=y # CONFIG_CGROUP_CPUACCT is not set # CONFIG_RESOURCE_COUNTERS is not set # CONFIG_SYSFS_DEPRECATED_V2 is not set CONFIG_RELAY=y CONFIG_NAMESPACES=y # CONFIG_UTS_NS is not set CONFIG_IPC_NS=y CONFIG_BLK_DEV_INITRD=y CONFIG_INITRAMFS_SOURCE="" CONFIG_RD_GZIP=y CONFIG_RD_BZIP2=y CONFIG_RD_LZMA=y CONFIG_CC_OPTIMIZE_FOR_SIZE=y CONFIG_SYSCTL=y CONFIG_ANON_INODES=y # CONFIG_EMBEDDED is not set CONFIG_SYSCTL_SYSCALL=y CONFIG_KALLSYMS=y CONFIG_KALLSYMS_ALL=y CONFIG_KALLSYMS_EXTRA_PASS=y CONFIG_HOTPLUG=y CONFIG_PRINTK=y CONFIG_BUG=y CONFIG_ELF_CORE=y CONFIG_BASE_FULL=y CONFIG_FUTEX=y CONFIG_EPOLL=y CONFIG_SIGNALFD=y CONFIG_TIMERFD=y CONFIG_EVENTFD=y CONFIG_SHMEM=y CONFIG_AIO=y CONFIG_VM_EVENT_COUNTERS=y CONFIG_PCI_QUIRKS=y CONFIG_COMPAT_BRK=y CONFIG_SLAB=y # CONFIG_SLUB is not set # CONFIG_SLQB is not set # CONFIG_SLOB is not set CONFIG_PROFILING=y CONFIG_TRACEPOINTS=y CONFIG_MARKERS=y # CONFIG_OPROFILE is not set CONFIG_HAVE_OPROFILE=y CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y CONFIG_HAVE_SYSCALL_WRAPPERS=y CONFIG_HAVE_IOREMAP_PROT=y CONFIG_HAVE_KPROBES=y CONFIG_HAVE_KRETPROBES=y CONFIG_HAVE_ARCH_TRACEHOOK=y CONFIG_HAVE_DMA_ATTRS=y # CONFIG_SLOW_WORK is not set # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set CONFIG_SLABINFO=y CONFIG_RT_MUTEXES=y CONFIG_BASE_SMALL=0 # CONFIG_MODULES is not set CONFIG_BLOCK=y # CONFIG_BLK_DEV_INTEGRITY is not set CONFIG_BLOCK_COMPAT=y # # IO Schedulers # CONFIG_IOSCHED_NOOP=y CONFIG_IOSCHED_AS=y # CONFIG_IOSCHED_DEADLINE is not set # CONFIG_IOSCHED_CFQ is not set CONFIG_DEFAULT_AS=y # CONFIG_DEFAULT_DEADLINE is not set # CONFIG_DEFAULT_CFQ is not set # CONFIG_DEFAULT_NOOP is not set CONFIG_DEFAULT_IOSCHED="anticipatory" # CONFIG_FREEZER is not set # # Platform support # # CONFIG_PPC_PSERIES is not set # CONFIG_LPARCFG is not set CONFIG_PPC_ISERIES=y # # iSeries device drivers # CONFIG_VIODASD=y # CONFIG_VIOCD is not set CONFIG_VIOTAPE=y CONFIG_VIOPATH=y CONFIG_PPC_PMAC=y CONFIG_PPC_PMAC64=y # CONFIG_PPC_MAPLE is not set CONFIG_PPC_PASEMI=y # # PA Semi PWRficient options # CONFIG_PPC_PASEMI_IOMMU=y # CONFIG_PPC_PASEMI_IOMMU_DMA_FORCE is not set # CONFIG_PPC_PS3 is not set CONFIG_PPC_CELL=y CONFIG_PPC_CELL_COMMON=y # CONFIG_PPC_CELL_NATIVE is not set # CONFIG_PPC_IBM_CEL
[BUILD FAILURE 04] Next April 9 : PPC64 randconfig [drivers/net/ibm_newemac/core.c]
Observed the following build error: CC drivers/net/ibm_newemac/core.o drivers/net/ibm_newemac/core.c: In function ‘emac_probe’: drivers/net/ibm_newemac/core.c:2831: error: ‘struct net_device’ has no member named ‘open’ drivers/net/ibm_newemac/core.c:2834: error: ‘struct net_device’ has no member named ‘tx_timeout’ drivers/net/ibm_newemac/core.c:2836: error: ‘struct net_device’ has no member named ‘stop’ drivers/net/ibm_newemac/core.c:2837: error: ‘struct net_device’ has no member named ‘get_stats’ drivers/net/ibm_newemac/core.c:2838: error: ‘struct net_device’ has no member named ‘set_multicast_list’ drivers/net/ibm_newemac/core.c:2839: error: ‘struct net_device’ has no member named ‘do_ioctl’ drivers/net/ibm_newemac/core.c:2841: error: ‘struct net_device’ has no member named ‘hard_start_xmit’ drivers/net/ibm_newemac/core.c:2842: error: ‘struct net_device’ has no member named ‘change_mtu’ drivers/net/ibm_newemac/core.c:2845: error: ‘struct net_device’ has no member named ‘hard_start_xmit’ make[3]: *** [drivers/net/ibm_newemac/core.o] Error 1 make[2]: *** [drivers/net/ibm_newemac] Error 2 make[1]: *** [drivers/net] Error 2 make: *** [drivers] Error 2 Regards-- Subrata # # Automatically generated make config: don't edit # Linux kernel version: 2.6.30-rc1 # Thu Apr 9 06:28:20 2009 # CONFIG_PPC64=y # # Processor support # CONFIG_PPC_BOOK3S=y # CONFIG_POWER4_ONLY is not set CONFIG_POWER3=y CONFIG_POWER4=y CONFIG_TUNE_CELL=y CONFIG_PPC_FPU=y CONFIG_ALTIVEC=y CONFIG_VSX=y CONFIG_PPC_STD_MMU=y CONFIG_PPC_STD_MMU_64=y # CONFIG_PPC_MM_SLICES is not set # CONFIG_VIRT_CPU_ACCOUNTING is not set CONFIG_SMP=y CONFIG_NR_CPUS=32 CONFIG_64BIT=y CONFIG_WORD_SIZE=64 CONFIG_ARCH_PHYS_ADDR_T_64BIT=y CONFIG_MMU=y CONFIG_GENERIC_CMOS_UPDATE=y CONFIG_GENERIC_TIME=y CONFIG_GENERIC_TIME_VSYSCALL=y CONFIG_GENERIC_CLOCKEVENTS=y CONFIG_GENERIC_HARDIRQS=y CONFIG_HAVE_SETUP_PER_CPU_AREA=y CONFIG_IRQ_PER_CPU=y CONFIG_STACKTRACE_SUPPORT=y CONFIG_HAVE_LATENCYTOP_SUPPORT=y CONFIG_TRACE_IRQFLAGS_SUPPORT=y CONFIG_LOCKDEP_SUPPORT=y CONFIG_RWSEM_XCHGADD_ALGORITHM=y CONFIG_ARCH_HAS_ILOG2_U32=y CONFIG_ARCH_HAS_ILOG2_U64=y CONFIG_GENERIC_HWEIGHT=y CONFIG_GENERIC_CALIBRATE_DELAY=y CONFIG_GENERIC_FIND_NEXT_BIT=y CONFIG_ARCH_NO_VIRT_TO_BUS=y CONFIG_PPC=y CONFIG_EARLY_PRINTK=y CONFIG_COMPAT=y CONFIG_SYSVIPC_COMPAT=y CONFIG_SCHED_OMIT_FRAME_POINTER=y CONFIG_ARCH_MAY_HAVE_PC_FDC=y CONFIG_PPC_OF=y CONFIG_OF=y CONFIG_PPC_UDBG_16550=y CONFIG_GENERIC_TBSYNC=y CONFIG_AUDIT_ARCH=y CONFIG_GENERIC_BUG=y # CONFIG_DEFAULT_UIMAGE is not set # CONFIG_PPC_DCR_NATIVE is not set CONFIG_PPC_DCR_MMIO=y CONFIG_PPC_DCR=y CONFIG_PPC_OF_PLATFORM_PCI=y CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" # # General setup # CONFIG_EXPERIMENTAL=y CONFIG_LOCK_KERNEL=y CONFIG_INIT_ENV_ARG_LIMIT=32 CONFIG_LOCALVERSION="" CONFIG_LOCALVERSION_AUTO=y CONFIG_SYSVIPC=y # CONFIG_POSIX_MQUEUE is not set # CONFIG_BSD_PROCESS_ACCT is not set CONFIG_TASKSTATS=y CONFIG_TASK_DELAY_ACCT=y CONFIG_TASK_XACCT=y CONFIG_TASK_IO_ACCOUNTING=y CONFIG_AUDIT=y CONFIG_AUDITSYSCALL=y CONFIG_AUDIT_TREE=y # # RCU Subsystem # CONFIG_CLASSIC_RCU=y # CONFIG_TREE_RCU is not set # CONFIG_PREEMPT_RCU is not set # CONFIG_TREE_RCU_TRACE is not set # CONFIG_PREEMPT_RCU_TRACE is not set CONFIG_IKCONFIG=y CONFIG_LOG_BUF_SHIFT=17 # CONFIG_GROUP_SCHED is not set # CONFIG_CGROUPS is not set CONFIG_SYSFS_DEPRECATED=y CONFIG_SYSFS_DEPRECATED_V2=y # CONFIG_RELAY is not set CONFIG_NAMESPACES=y CONFIG_UTS_NS=y CONFIG_IPC_NS=y CONFIG_USER_NS=y CONFIG_PID_NS=y # CONFIG_NET_NS is not set # CONFIG_BLK_DEV_INITRD is not set CONFIG_CC_OPTIMIZE_FOR_SIZE=y CONFIG_ANON_INODES=y CONFIG_EMBEDDED=y # CONFIG_SYSCTL_SYSCALL is not set CONFIG_KALLSYMS=y CONFIG_KALLSYMS_ALL=y CONFIG_KALLSYMS_EXTRA_PASS=y # CONFIG_HOTPLUG is not set CONFIG_PRINTK=y CONFIG_BUG=y CONFIG_ELF_CORE=y CONFIG_PCSPKR_PLATFORM=y CONFIG_BASE_FULL=y # CONFIG_FUTEX is not set # CONFIG_EPOLL is not set # CONFIG_SIGNALFD is not set CONFIG_TIMERFD=y CONFIG_EVENTFD=y CONFIG_SHMEM=y CONFIG_AIO=y CONFIG_VM_EVENT_COUNTERS=y CONFIG_PCI_QUIRKS=y # CONFIG_SLUB_DEBUG is not set CONFIG_COMPAT_BRK=y # CONFIG_SLAB is not set CONFIG_SLUB=y # CONFIG_SLQB is not set # CONFIG_SLOB is not set CONFIG_PROFILING=y CONFIG_TRACEPOINTS=y CONFIG_MARKERS=y # CONFIG_OPROFILE is not set CONFIG_HAVE_OPROFILE=y CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y CONFIG_HAVE_SYSCALL_WRAPPERS=y CONFIG_HAVE_IOREMAP_PROT=y CONFIG_HAVE_KPROBES=y CONFIG_HAVE_KRETPROBES=y CONFIG_HAVE_ARCH_TRACEHOOK=y CONFIG_HAVE_DMA_ATTRS=y CONFIG_USE_GENERIC_SMP_HELPERS=y CONFIG_SLOW_WORK=y # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set CONFIG_BASE_SMALL=0 # CONFIG_MODULES is not set # CONFIG_BLOCK is not set # CONFIG_FREEZER is not set CONFIG_PPC_MSI_BITMAP=y # # Platform support # CONFIG_PPC_PSERIES=y # CONFIG_PPC_SPLPAR is not set CONFIG_EEH=y CONFIG_PSERIES_MSI=y CONFIG_SCANLOG=y CONFIG_LPARCFG=y CONFIG_PPC_PSERIES_DEBUG=y CONFIG_PPC_SMLPAR=y CONFIG_CMM=y # CONFIG_PPC_ISER
Re: [PATCH] fs_enet: convert to netdev_ops
On Thu, 2009-04-09 at 18:46 +0400, Alexander Beregalov wrote: > Reported-by: Subrata Modak > Signed-off-by: Alexander Beregalov Thanks. Adding Sachin in Cc: Regards-- Subrata > --- > > > drivers/net/fs_enet/fs_enet-main.c | 27 +-- > 1 files changed, 17 insertions(+), 10 deletions(-) > > diff --git a/drivers/net/fs_enet/fs_enet-main.c > b/drivers/net/fs_enet/fs_enet-main.c > index b037ce9..a9cbc31 100644 > --- a/drivers/net/fs_enet/fs_enet-main.c > +++ b/drivers/net/fs_enet/fs_enet-main.c > @@ -1019,6 +1019,22 @@ out_put_phy: > #define IS_FEC(match) 0 > #endif > > +static const struct net_device_ops fs_enet_netdev_ops = { > + .ndo_open = fs_enet_open, > + .ndo_stop = fs_enet_close, > + .ndo_get_stats = fs_enet_get_stats, > + .ndo_start_xmit = fs_enet_start_xmit, > + .ndo_tx_timeout = fs_timeout, > + .ndo_set_multicast_list = fs_set_multicast_list, > + .ndo_do_ioctl = fs_ioctl, > + .ndo_validate_addr = eth_validate_addr, > + .ndo_set_mac_address= eth_mac_addr, > + .ndo_change_mtu = eth_change_mtu, > +#ifdef CONFIG_NET_POLL_CONTROLLER > + .ndo_poll_controller= fs_enet_netpoll, > +#endif > +}; > + > static int __devinit fs_enet_probe(struct of_device *ofdev, > const struct of_device_id *match) > { > @@ -1093,22 +1109,13 @@ static int __devinit fs_enet_probe(struct of_device > *ofdev, > fep->tx_ring = fpi->tx_ring; > fep->rx_ring = fpi->rx_ring; > > - ndev->open = fs_enet_open; > - ndev->hard_start_xmit = fs_enet_start_xmit; > - ndev->tx_timeout = fs_timeout; > + ndev->netdev_ops = &fs_enet_netdev_ops; > ndev->watchdog_timeo = 2 * HZ; > - ndev->stop = fs_enet_close; > - ndev->get_stats = fs_enet_get_stats; > - ndev->set_multicast_list = fs_set_multicast_list; > -#ifdef CONFIG_NET_POLL_CONTROLLER > - ndev->poll_controller = fs_enet_netpoll; > -#endif > if (fpi->use_napi) > netif_napi_add(ndev, &fep->napi, fs_enet_rx_napi, > fpi->napi_weight); > > ndev->ethtool_ops = &fs_ethtool_ops; > - ndev->do_ioctl = fs_ioctl; > > init_timer(&fep->phy_timer_list); > ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev
[BUILD FAILURE 08] Next April 9 : PPC64 randconfig [drivers/net/pasemi_mac_driver.ko]
Observed the following build errors: Building modules, stage 2. MODPOST 549 modules ERROR: ".lro_receive_skb" [drivers/net/pasemi_mac_driver.ko] undefined! ERROR: ".lro_flush_all" [drivers/net/pasemi_mac_driver.ko] undefined! WARNING: modpost: Found 8 section mismatch(es). To see full details build your kernel with: 'make CONFIG_DEBUG_SECTION_MISMATCH=y' make[1]: *** [__modpost] Error 1 make: *** [modules] Error 2 Regards-- Subrata # # Automatically generated make config: don't edit # Linux kernel version: 2.6.30-rc1 # Thu Apr 9 08:49:19 2009 # CONFIG_PPC64=y # # Processor support # CONFIG_PPC_BOOK3S=y # CONFIG_POWER4_ONLY is not set CONFIG_POWER3=y CONFIG_POWER4=y # CONFIG_TUNE_CELL is not set CONFIG_PPC_FPU=y CONFIG_ALTIVEC=y # CONFIG_VSX is not set CONFIG_PPC_STD_MMU=y CONFIG_PPC_STD_MMU_64=y CONFIG_PPC_MM_SLICES=y CONFIG_VIRT_CPU_ACCOUNTING=y CONFIG_SMP=y CONFIG_NR_CPUS=32 CONFIG_64BIT=y CONFIG_WORD_SIZE=64 CONFIG_ARCH_PHYS_ADDR_T_64BIT=y CONFIG_MMU=y CONFIG_GENERIC_CMOS_UPDATE=y CONFIG_GENERIC_TIME=y CONFIG_GENERIC_TIME_VSYSCALL=y CONFIG_GENERIC_CLOCKEVENTS=y CONFIG_GENERIC_HARDIRQS=y CONFIG_HAVE_SETUP_PER_CPU_AREA=y CONFIG_IRQ_PER_CPU=y CONFIG_STACKTRACE_SUPPORT=y CONFIG_HAVE_LATENCYTOP_SUPPORT=y CONFIG_TRACE_IRQFLAGS_SUPPORT=y CONFIG_LOCKDEP_SUPPORT=y CONFIG_RWSEM_XCHGADD_ALGORITHM=y CONFIG_GENERIC_LOCKBREAK=y CONFIG_ARCH_HAS_ILOG2_U32=y CONFIG_ARCH_HAS_ILOG2_U64=y CONFIG_GENERIC_HWEIGHT=y CONFIG_GENERIC_CALIBRATE_DELAY=y CONFIG_GENERIC_FIND_NEXT_BIT=y CONFIG_GENERIC_GPIO=y CONFIG_ARCH_NO_VIRT_TO_BUS=y CONFIG_PPC=y CONFIG_EARLY_PRINTK=y CONFIG_COMPAT=y CONFIG_SYSVIPC_COMPAT=y CONFIG_SCHED_OMIT_FRAME_POINTER=y CONFIG_ARCH_MAY_HAVE_PC_FDC=y CONFIG_PPC_OF=y CONFIG_OF=y CONFIG_PPC_UDBG_16550=y CONFIG_GENERIC_TBSYNC=y CONFIG_AUDIT_ARCH=y CONFIG_GENERIC_BUG=y # CONFIG_DEFAULT_UIMAGE is not set CONFIG_ARCH_SUSPEND_POSSIBLE=y # CONFIG_PPC_DCR_NATIVE is not set CONFIG_PPC_DCR_MMIO=y CONFIG_PPC_DCR=y CONFIG_PPC_OF_PLATFORM_PCI=y CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" # # General setup # # CONFIG_EXPERIMENTAL is not set CONFIG_LOCK_KERNEL=y CONFIG_INIT_ENV_ARG_LIMIT=32 CONFIG_LOCALVERSION="" # CONFIG_LOCALVERSION_AUTO is not set CONFIG_SWAP=y CONFIG_SYSVIPC=y CONFIG_SYSVIPC_SYSCTL=y CONFIG_BSD_PROCESS_ACCT=y CONFIG_BSD_PROCESS_ACCT_V3=y CONFIG_TASKSTATS=y CONFIG_TASK_DELAY_ACCT=y CONFIG_TASK_XACCT=y # CONFIG_TASK_IO_ACCOUNTING is not set CONFIG_AUDIT=y CONFIG_AUDITSYSCALL=y CONFIG_AUDIT_TREE=y # # RCU Subsystem # # CONFIG_CLASSIC_RCU is not set # CONFIG_TREE_RCU is not set CONFIG_PREEMPT_RCU=y CONFIG_RCU_TRACE=y # CONFIG_TREE_RCU_TRACE is not set CONFIG_PREEMPT_RCU_TRACE=y # CONFIG_IKCONFIG is not set CONFIG_LOG_BUF_SHIFT=17 # CONFIG_CGROUPS is not set CONFIG_SYSFS_DEPRECATED=y CONFIG_SYSFS_DEPRECATED_V2=y CONFIG_RELAY=y CONFIG_NAMESPACES=y # CONFIG_UTS_NS is not set CONFIG_IPC_NS=y CONFIG_BLK_DEV_INITRD=y CONFIG_INITRAMFS_SOURCE="" CONFIG_RD_GZIP=y CONFIG_RD_BZIP2=y CONFIG_RD_LZMA=y CONFIG_CC_OPTIMIZE_FOR_SIZE=y CONFIG_SYSCTL=y CONFIG_ANON_INODES=y # CONFIG_EMBEDDED is not set CONFIG_SYSCTL_SYSCALL=y CONFIG_KALLSYMS=y CONFIG_KALLSYMS_ALL=y CONFIG_KALLSYMS_EXTRA_PASS=y CONFIG_HOTPLUG=y CONFIG_PRINTK=y CONFIG_BUG=y CONFIG_ELF_CORE=y CONFIG_BASE_FULL=y CONFIG_FUTEX=y CONFIG_EPOLL=y CONFIG_SIGNALFD=y CONFIG_TIMERFD=y CONFIG_EVENTFD=y CONFIG_SHMEM=y CONFIG_AIO=y CONFIG_VM_EVENT_COUNTERS=y CONFIG_PCI_QUIRKS=y CONFIG_SLUB_DEBUG=y # CONFIG_COMPAT_BRK is not set # CONFIG_SLAB is not set CONFIG_SLUB=y # CONFIG_SLQB is not set # CONFIG_SLOB is not set # CONFIG_PROFILING is not set CONFIG_TRACEPOINTS=y CONFIG_MARKERS=y CONFIG_HAVE_OPROFILE=y CONFIG_KPROBES=y CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y CONFIG_HAVE_SYSCALL_WRAPPERS=y CONFIG_KRETPROBES=y CONFIG_HAVE_IOREMAP_PROT=y CONFIG_HAVE_KPROBES=y CONFIG_HAVE_KRETPROBES=y CONFIG_HAVE_ARCH_TRACEHOOK=y CONFIG_HAVE_DMA_ATTRS=y CONFIG_USE_GENERIC_SMP_HELPERS=y # CONFIG_SLOW_WORK is not set # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set CONFIG_SLABINFO=y CONFIG_RT_MUTEXES=y CONFIG_BASE_SMALL=0 CONFIG_MODULES=y # CONFIG_MODULE_FORCE_LOAD is not set CONFIG_MODULE_UNLOAD=y CONFIG_MODVERSIONS=y CONFIG_MODULE_SRCVERSION_ALL=y CONFIG_STOP_MACHINE=y CONFIG_BLOCK=y CONFIG_BLK_DEV_INTEGRITY=y CONFIG_BLOCK_COMPAT=y # # IO Schedulers # CONFIG_IOSCHED_NOOP=y # CONFIG_IOSCHED_AS is not set # CONFIG_IOSCHED_DEADLINE is not set CONFIG_IOSCHED_CFQ=m # CONFIG_DEFAULT_AS is not set # CONFIG_DEFAULT_DEADLINE is not set # CONFIG_DEFAULT_CFQ is not set CONFIG_DEFAULT_NOOP=y CONFIG_DEFAULT_IOSCHED="noop" # CONFIG_FREEZER is not set CONFIG_PPC_MSI_BITMAP=y # # Platform support # # CONFIG_PPC_PSERIES is not set CONFIG_LPARCFG=y CONFIG_PPC_ISERIES=y # # iSeries device drivers # # CONFIG_VIODASD is not set # CONFIG_VIOCD is not set CONFIG_VIOTAPE=m CONFIG_VIOPATH=y CONFIG_PPC_PMAC=y CONFIG_PPC_PMAC64=y # CONFIG_PPC_MAPLE is not set CONFIG_PPC_PASEMI=y # # PA Semi PWRficient options # CONFIG_PPC_PASEMI_IOMMU=y CONFIG_PPC_PASEMI_IOMMU_
[BUILD FAILURE 02/12] Next April 14 : PPC64 randconfig [arch/powerpc/kernel/of_platform.c]
Observed the following build error: --- arch/powerpc/kernel/of_platform.c: In function ‘of_pci_phb_probe’: arch/powerpc/kernel/of_platform.c:270: error: implicit declaration of function ‘pci_devs_phb_init_dynamic’ arch/powerpc/kernel/of_platform.c:279: error: implicit declaration of function ‘scan_phb’ arch/powerpc/kernel/of_platform.c:295: error: implicit declaration of function ‘pci_bus_add_devices’ make[1]: *** [arch/powerpc/kernel/of_platform.o] Error 1 make: *** [arch/powerpc/kernel] Error 2 --- I saw some discussion(s) happening last year, but could not find out if some fixes are already available: http://www.mail-archive.com/linuxppc-dev@ozlabs.org/msg26215.html, Regards-- Subrata # # Automatically generated make config: don't edit # Linux kernel version: 2.6.30-rc1 # Tue Apr 14 04:40:41 2009 # CONFIG_PPC64=y # # Processor support # CONFIG_PPC_BOOK3S=y CONFIG_POWER4_ONLY=y CONFIG_POWER4=y CONFIG_TUNE_CELL=y CONFIG_PPC_FPU=y CONFIG_ALTIVEC=y CONFIG_VSX=y CONFIG_PPC_STD_MMU=y CONFIG_PPC_STD_MMU_64=y CONFIG_PPC_MM_SLICES=y CONFIG_VIRT_CPU_ACCOUNTING=y # CONFIG_SMP is not set CONFIG_64BIT=y CONFIG_WORD_SIZE=64 CONFIG_ARCH_PHYS_ADDR_T_64BIT=y CONFIG_MMU=y CONFIG_GENERIC_CMOS_UPDATE=y CONFIG_GENERIC_TIME=y CONFIG_GENERIC_TIME_VSYSCALL=y CONFIG_GENERIC_CLOCKEVENTS=y CONFIG_GENERIC_HARDIRQS=y CONFIG_HAVE_SETUP_PER_CPU_AREA=y CONFIG_IRQ_PER_CPU=y CONFIG_STACKTRACE_SUPPORT=y CONFIG_HAVE_LATENCYTOP_SUPPORT=y CONFIG_TRACE_IRQFLAGS_SUPPORT=y CONFIG_LOCKDEP_SUPPORT=y CONFIG_RWSEM_XCHGADD_ALGORITHM=y CONFIG_ARCH_HAS_ILOG2_U32=y CONFIG_ARCH_HAS_ILOG2_U64=y CONFIG_GENERIC_HWEIGHT=y CONFIG_GENERIC_CALIBRATE_DELAY=y CONFIG_GENERIC_FIND_NEXT_BIT=y CONFIG_GENERIC_GPIO=y CONFIG_ARCH_NO_VIRT_TO_BUS=y CONFIG_PPC=y CONFIG_EARLY_PRINTK=y CONFIG_COMPAT=y CONFIG_SYSVIPC_COMPAT=y CONFIG_SCHED_OMIT_FRAME_POINTER=y # CONFIG_ARCH_MAY_HAVE_PC_FDC is not set CONFIG_PPC_OF=y CONFIG_OF=y CONFIG_PPC_UDBG_16550=y # CONFIG_GENERIC_TBSYNC is not set CONFIG_AUDIT_ARCH=y CONFIG_GENERIC_BUG=y # CONFIG_DEFAULT_UIMAGE is not set # CONFIG_PPC_DCR_NATIVE is not set CONFIG_PPC_DCR_MMIO=y CONFIG_PPC_DCR=y CONFIG_PPC_OF_PLATFORM_PCI=y CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" # # General setup # # CONFIG_EXPERIMENTAL is not set CONFIG_BROKEN_ON_SMP=y CONFIG_INIT_ENV_ARG_LIMIT=32 CONFIG_LOCALVERSION="" # CONFIG_LOCALVERSION_AUTO is not set # CONFIG_SWAP is not set CONFIG_SYSVIPC=y CONFIG_SYSVIPC_SYSCTL=y CONFIG_BSD_PROCESS_ACCT=y # CONFIG_BSD_PROCESS_ACCT_V3 is not set # CONFIG_TASKSTATS is not set CONFIG_AUDIT=y # CONFIG_AUDITSYSCALL is not set # # RCU Subsystem # CONFIG_CLASSIC_RCU=y # CONFIG_TREE_RCU is not set # CONFIG_PREEMPT_RCU is not set # CONFIG_TREE_RCU_TRACE is not set # CONFIG_PREEMPT_RCU_TRACE is not set # CONFIG_IKCONFIG is not set CONFIG_LOG_BUF_SHIFT=17 CONFIG_CGROUPS=y CONFIG_CGROUP_DEBUG=y # CONFIG_CGROUP_NS is not set CONFIG_CGROUP_FREEZER=y # CONFIG_CPUSETS is not set CONFIG_CGROUP_CPUACCT=y CONFIG_RESOURCE_COUNTERS=y CONFIG_CGROUP_MEM_RES_CTLR=y CONFIG_MM_OWNER=y CONFIG_SYSFS_DEPRECATED=y CONFIG_SYSFS_DEPRECATED_V2=y CONFIG_RELAY=y # CONFIG_NAMESPACES is not set # CONFIG_BLK_DEV_INITRD is not set CONFIG_CC_OPTIMIZE_FOR_SIZE=y CONFIG_SYSCTL=y CONFIG_ANON_INODES=y CONFIG_EMBEDDED=y CONFIG_SYSCTL_SYSCALL=y CONFIG_KALLSYMS=y CONFIG_KALLSYMS_ALL=y # CONFIG_KALLSYMS_EXTRA_PASS is not set CONFIG_STRIP_ASM_SYMS=y # CONFIG_HOTPLUG is not set # CONFIG_PRINTK is not set CONFIG_BUG=y CONFIG_ELF_CORE=y CONFIG_PCSPKR_PLATFORM=y CONFIG_BASE_FULL=y # CONFIG_FUTEX is not set CONFIG_EPOLL=y CONFIG_SIGNALFD=y CONFIG_TIMERFD=y CONFIG_EVENTFD=y # CONFIG_SHMEM is not set CONFIG_AIO=y CONFIG_VM_EVENT_COUNTERS=y CONFIG_COMPAT_BRK=y CONFIG_SLAB=y # CONFIG_SLUB is not set # CONFIG_SLQB is not set # CONFIG_SLOB is not set CONFIG_PROFILING=y CONFIG_TRACEPOINTS=y CONFIG_MARKERS=y CONFIG_OPROFILE=y CONFIG_HAVE_OPROFILE=y CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y CONFIG_HAVE_SYSCALL_WRAPPERS=y CONFIG_HAVE_IOREMAP_PROT=y CONFIG_HAVE_KPROBES=y CONFIG_HAVE_KRETPROBES=y CONFIG_HAVE_ARCH_TRACEHOOK=y CONFIG_HAVE_DMA_ATTRS=y # CONFIG_SLOW_WORK is not set # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set CONFIG_BASE_SMALL=0 # CONFIG_MODULES is not set CONFIG_BLOCK=y CONFIG_BLK_DEV_INTEGRITY=y CONFIG_BLOCK_COMPAT=y # # IO Schedulers # CONFIG_IOSCHED_NOOP=y CONFIG_IOSCHED_AS=y CONFIG_IOSCHED_DEADLINE=y CONFIG_IOSCHED_CFQ=y # CONFIG_DEFAULT_AS is not set CONFIG_DEFAULT_DEADLINE=y # CONFIG_DEFAULT_CFQ is not set # CONFIG_DEFAULT_NOOP is not set CONFIG_DEFAULT_IOSCHED="deadline" CONFIG_FREEZER=y # # Platform support # CONFIG_PPC_PSERIES=y CONFIG_PPC_SPLPAR=y CONFIG_SCANLOG=y # CONFIG_LPARCFG is not set # CONFIG_PPC_SMLPAR is not set CONFIG_DTL=y CONFIG_PPC_ISERIES=y # # iSeries device drivers # # CONFIG_VIODASD is not set CONFIG_VIOCD=y CONFIG_VIOTAPE=y CONFIG_VIOPATH=y # CONFIG_PPC_PMAC is not set # CONFIG_PPC_MAPLE is not set # CONFIG_PPC_PASEMI is not set CONFIG_PPC_PS3=y # # PS3 Platform Options # # CONFIG_
[BUILD FAILURE 04/12] Next April 14 : PPC64 randconfig [drivers/staging/built-in.o]
Observed the following build error: --- LD drivers/built-in.o drivers/staging/built-in.o: In function `ieee80211_xmit': drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c:528: multiple definition of `ieee80211_xmit' drivers/net/built-in.o:drivers/net/wireless/ipw2x00/libipw_tx.c:256: first defined here make[1]: *** [drivers/built-in.o] Error 1 make: *** [drivers] Error 2 --- Regards-- Subrata # # Automatically generated make config: don't edit # Linux kernel version: 2.6.30-rc1 # Tue Apr 14 03:27:40 2009 # # CONFIG_PPC64 is not set # # Processor support # CONFIG_6xx=y # CONFIG_PPC_85xx is not set # CONFIG_PPC_8xx is not set # CONFIG_40x is not set # CONFIG_44x is not set # CONFIG_E200 is not set CONFIG_PPC_BOOK3S=y CONFIG_PPC_FPU=y CONFIG_FSL_EMB_PERFMON=y # CONFIG_ALTIVEC is not set CONFIG_PPC_STD_MMU=y CONFIG_PPC_STD_MMU_32=y # CONFIG_PPC_MM_SLICES is not set CONFIG_SMP=y CONFIG_NR_CPUS=4 CONFIG_NOT_COHERENT_CACHE=y CONFIG_PPC32=y CONFIG_WORD_SIZE=32 # CONFIG_ARCH_PHYS_ADDR_T_64BIT is not set CONFIG_MMU=y CONFIG_GENERIC_CMOS_UPDATE=y CONFIG_GENERIC_TIME=y CONFIG_GENERIC_TIME_VSYSCALL=y CONFIG_GENERIC_CLOCKEVENTS=y CONFIG_GENERIC_HARDIRQS=y # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set CONFIG_IRQ_PER_CPU=y CONFIG_STACKTRACE_SUPPORT=y CONFIG_HAVE_LATENCYTOP_SUPPORT=y CONFIG_LOCKDEP_SUPPORT=y CONFIG_RWSEM_XCHGADD_ALGORITHM=y CONFIG_GENERIC_LOCKBREAK=y CONFIG_ARCH_HAS_ILOG2_U32=y CONFIG_GENERIC_HWEIGHT=y CONFIG_GENERIC_CALIBRATE_DELAY=y CONFIG_GENERIC_FIND_NEXT_BIT=y CONFIG_GENERIC_GPIO=y # CONFIG_ARCH_NO_VIRT_TO_BUS is not set CONFIG_PPC=y CONFIG_EARLY_PRINTK=y CONFIG_GENERIC_NVRAM=y CONFIG_SCHED_OMIT_FRAME_POINTER=y CONFIG_ARCH_MAY_HAVE_PC_FDC=y CONFIG_PPC_OF=y CONFIG_OF=y CONFIG_PPC_UDBG_16550=y CONFIG_GENERIC_TBSYNC=y CONFIG_AUDIT_ARCH=y CONFIG_GENERIC_BUG=y CONFIG_DEFAULT_UIMAGE=y CONFIG_REDBOOT=y CONFIG_ARCH_SUSPEND_POSSIBLE=y # CONFIG_PPC_DCR_NATIVE is not set # CONFIG_PPC_DCR_MMIO is not set CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" # # General setup # # CONFIG_EXPERIMENTAL is not set CONFIG_LOCK_KERNEL=y CONFIG_INIT_ENV_ARG_LIMIT=32 CONFIG_LOCALVERSION="" CONFIG_LOCALVERSION_AUTO=y CONFIG_SWAP=y # CONFIG_SYSVIPC is not set CONFIG_BSD_PROCESS_ACCT=y CONFIG_BSD_PROCESS_ACCT_V3=y CONFIG_TASKSTATS=y CONFIG_TASK_DELAY_ACCT=y CONFIG_TASK_XACCT=y # CONFIG_TASK_IO_ACCOUNTING is not set # CONFIG_AUDIT is not set # # RCU Subsystem # CONFIG_CLASSIC_RCU=y # CONFIG_TREE_RCU is not set # CONFIG_PREEMPT_RCU is not set # CONFIG_TREE_RCU_TRACE is not set # CONFIG_PREEMPT_RCU_TRACE is not set # CONFIG_IKCONFIG is not set CONFIG_LOG_BUF_SHIFT=17 CONFIG_CGROUPS=y # CONFIG_CGROUP_DEBUG is not set # CONFIG_CGROUP_NS is not set CONFIG_CGROUP_FREEZER=y CONFIG_CPUSETS=y CONFIG_PROC_PID_CPUSET=y # CONFIG_CGROUP_CPUACCT is not set # CONFIG_RESOURCE_COUNTERS is not set CONFIG_SYSFS_DEPRECATED=y CONFIG_SYSFS_DEPRECATED_V2=y CONFIG_RELAY=y CONFIG_NAMESPACES=y # CONFIG_UTS_NS is not set CONFIG_BLK_DEV_INITRD=y CONFIG_INITRAMFS_SOURCE="" # CONFIG_RD_GZIP is not set CONFIG_RD_BZIP2=y # CONFIG_RD_LZMA is not set CONFIG_CC_OPTIMIZE_FOR_SIZE=y CONFIG_SYSCTL=y CONFIG_ANON_INODES=y CONFIG_EMBEDDED=y CONFIG_SYSCTL_SYSCALL=y CONFIG_KALLSYMS=y CONFIG_KALLSYMS_ALL=y # CONFIG_KALLSYMS_EXTRA_PASS is not set CONFIG_STRIP_ASM_SYMS=y # CONFIG_HOTPLUG is not set # CONFIG_PRINTK is not set CONFIG_BUG=y # CONFIG_ELF_CORE is not set # CONFIG_PCSPKR_PLATFORM is not set CONFIG_BASE_FULL=y # CONFIG_FUTEX is not set CONFIG_EPOLL=y CONFIG_SIGNALFD=y CONFIG_TIMERFD=y CONFIG_EVENTFD=y CONFIG_SHMEM=y # CONFIG_AIO is not set CONFIG_VM_EVENT_COUNTERS=y CONFIG_PCI_QUIRKS=y # CONFIG_COMPAT_BRK is not set # CONFIG_SLAB is not set # CONFIG_SLUB is not set CONFIG_SLQB=y # CONFIG_SLOB is not set CONFIG_PROFILING=y CONFIG_TRACEPOINTS=y CONFIG_MARKERS=y CONFIG_OPROFILE=y CONFIG_HAVE_OPROFILE=y CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y CONFIG_HAVE_IOREMAP_PROT=y CONFIG_HAVE_KPROBES=y CONFIG_HAVE_KRETPROBES=y CONFIG_HAVE_ARCH_TRACEHOOK=y CONFIG_USE_GENERIC_SMP_HELPERS=y CONFIG_HAVE_CLK=y # CONFIG_SLOW_WORK is not set # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set CONFIG_SLABINFO=y CONFIG_BASE_SMALL=0 # CONFIG_MODULES is not set CONFIG_STOP_MACHINE=y CONFIG_BLOCK=y CONFIG_LBD=y # CONFIG_BLK_DEV_INTEGRITY is not set # # IO Schedulers # CONFIG_IOSCHED_NOOP=y # CONFIG_IOSCHED_AS is not set CONFIG_IOSCHED_DEADLINE=y # CONFIG_IOSCHED_CFQ is not set # CONFIG_DEFAULT_AS is not set CONFIG_DEFAULT_DEADLINE=y # CONFIG_DEFAULT_CFQ is not set # CONFIG_DEFAULT_NOOP is not set CONFIG_DEFAULT_IOSCHED="deadline" CONFIG_FREEZER=y CONFIG_PPC_MSI_BITMAP=y # # Platform support # CONFIG_PPC_CHRP=y CONFIG_PPC_MPC512x=y CONFIG_PPC_MPC5121=y CONFIG_MPC5121_ADS=y CONFIG_MPC5121_GENERIC=y CONFIG_PPC_MPC52xx=y # CONFIG_PPC_MPC5200_SIMPLE is not set # CONFIG_PPC_EFIKA is not set CONFIG_PPC_LITE5200=y # CONFIG_PPC_MEDIA5200 is not set # CONFIG_PPC_MPC5200_BUGFIX is not set # CONFIG_PPC_MPC5200_GPIO is not set CONFIG_PPC_PMAC=y # CONFI
[BUILD FAILURE 07/12] Next April 14 : PPC64 randconfig [drivers/ide/pmac.c]
Observed the following build error: --- CC [M] drivers/ide/pmac.o drivers/ide/pmac.c: In function ‘pmac_ide_init_dev’: drivers/ide/pmac.c:955: error: implicit declaration of function ‘check_media_bay_by_base’ drivers/ide/pmac.c: In function ‘pmac_ide_setup_device’: drivers/ide/pmac.c:1090: error: implicit declaration of function ‘media_bay_set_ide_infos’ make[2]: *** [drivers/ide/pmac.o] Error 1 make[1]: *** [drivers/ide] Error 2 make: *** [drivers] Error 2 --- Regards-- Subrata # # Automatically generated make config: don't edit # Linux kernel version: 2.6.30-rc1 # Tue Apr 14 03:28:53 2009 # # CONFIG_PPC64 is not set # # Processor support # CONFIG_6xx=y # CONFIG_PPC_85xx is not set # CONFIG_PPC_8xx is not set # CONFIG_40x is not set # CONFIG_44x is not set # CONFIG_E200 is not set CONFIG_PPC_BOOK3S=y CONFIG_PPC_FPU=y CONFIG_FSL_EMB_PERFMON=y CONFIG_ALTIVEC=y CONFIG_PPC_STD_MMU=y CONFIG_PPC_STD_MMU_32=y # CONFIG_PPC_MM_SLICES is not set # CONFIG_SMP is not set CONFIG_NOT_COHERENT_CACHE=y CONFIG_CHECK_CACHE_COHERENCY=y CONFIG_PPC32=y CONFIG_WORD_SIZE=32 # CONFIG_ARCH_PHYS_ADDR_T_64BIT is not set CONFIG_MMU=y CONFIG_GENERIC_CMOS_UPDATE=y CONFIG_GENERIC_TIME=y CONFIG_GENERIC_TIME_VSYSCALL=y CONFIG_GENERIC_CLOCKEVENTS=y CONFIG_GENERIC_HARDIRQS=y # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set CONFIG_IRQ_PER_CPU=y CONFIG_STACKTRACE_SUPPORT=y CONFIG_HAVE_LATENCYTOP_SUPPORT=y CONFIG_LOCKDEP_SUPPORT=y CONFIG_RWSEM_XCHGADD_ALGORITHM=y CONFIG_ARCH_HAS_ILOG2_U32=y CONFIG_GENERIC_HWEIGHT=y CONFIG_GENERIC_CALIBRATE_DELAY=y CONFIG_GENERIC_FIND_NEXT_BIT=y CONFIG_GENERIC_GPIO=y # CONFIG_ARCH_NO_VIRT_TO_BUS is not set CONFIG_PPC=y CONFIG_EARLY_PRINTK=y CONFIG_GENERIC_NVRAM=y CONFIG_SCHED_OMIT_FRAME_POINTER=y CONFIG_ARCH_MAY_HAVE_PC_FDC=y CONFIG_PPC_OF=y CONFIG_OF=y CONFIG_PPC_UDBG_16550=y # CONFIG_GENERIC_TBSYNC is not set CONFIG_AUDIT_ARCH=y CONFIG_GENERIC_BUG=y CONFIG_DEFAULT_UIMAGE=y CONFIG_REDBOOT=y CONFIG_HIBERNATE_32=y CONFIG_ARCH_HIBERNATION_POSSIBLE=y CONFIG_ARCH_SUSPEND_POSSIBLE=y # CONFIG_PPC_DCR_NATIVE is not set # CONFIG_PPC_DCR_MMIO is not set CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" # # General setup # CONFIG_EXPERIMENTAL=y CONFIG_BROKEN_ON_SMP=y CONFIG_LOCK_KERNEL=y CONFIG_INIT_ENV_ARG_LIMIT=32 CONFIG_LOCALVERSION="" CONFIG_LOCALVERSION_AUTO=y CONFIG_SWAP=y CONFIG_SYSVIPC=y CONFIG_SYSVIPC_SYSCTL=y CONFIG_POSIX_MQUEUE=y CONFIG_POSIX_MQUEUE_SYSCTL=y CONFIG_BSD_PROCESS_ACCT=y CONFIG_BSD_PROCESS_ACCT_V3=y CONFIG_TASKSTATS=y # CONFIG_TASK_DELAY_ACCT is not set CONFIG_TASK_XACCT=y CONFIG_TASK_IO_ACCOUNTING=y # CONFIG_AUDIT is not set # # RCU Subsystem # CONFIG_CLASSIC_RCU=y # CONFIG_TREE_RCU is not set # CONFIG_PREEMPT_RCU is not set # CONFIG_TREE_RCU_TRACE is not set # CONFIG_PREEMPT_RCU_TRACE is not set # CONFIG_IKCONFIG is not set CONFIG_LOG_BUF_SHIFT=17 CONFIG_GROUP_SCHED=y CONFIG_FAIR_GROUP_SCHED=y # CONFIG_RT_GROUP_SCHED is not set CONFIG_USER_SCHED=y # CONFIG_CGROUP_SCHED is not set CONFIG_CGROUPS=y CONFIG_CGROUP_DEBUG=y CONFIG_CGROUP_NS=y CONFIG_CGROUP_FREEZER=y # CONFIG_CGROUP_DEVICE is not set CONFIG_CPUSETS=y CONFIG_PROC_PID_CPUSET=y # CONFIG_CGROUP_CPUACCT is not set CONFIG_RESOURCE_COUNTERS=y CONFIG_CGROUP_MEM_RES_CTLR=y CONFIG_CGROUP_MEM_RES_CTLR_SWAP=y CONFIG_MM_OWNER=y CONFIG_SYSFS_DEPRECATED=y CONFIG_SYSFS_DEPRECATED_V2=y CONFIG_RELAY=y CONFIG_NAMESPACES=y CONFIG_UTS_NS=y CONFIG_IPC_NS=y CONFIG_USER_NS=y CONFIG_PID_NS=y CONFIG_NET_NS=y CONFIG_BLK_DEV_INITRD=y CONFIG_INITRAMFS_SOURCE="" CONFIG_RD_GZIP=y CONFIG_RD_BZIP2=y CONFIG_RD_LZMA=y CONFIG_CC_OPTIMIZE_FOR_SIZE=y CONFIG_SYSCTL=y CONFIG_ANON_INODES=y # CONFIG_EMBEDDED is not set CONFIG_SYSCTL_SYSCALL=y CONFIG_KALLSYMS=y # CONFIG_KALLSYMS_ALL is not set CONFIG_KALLSYMS_EXTRA_PASS=y CONFIG_STRIP_ASM_SYMS=y CONFIG_HOTPLUG=y CONFIG_PRINTK=y CONFIG_BUG=y CONFIG_ELF_CORE=y CONFIG_PCSPKR_PLATFORM=y CONFIG_BASE_FULL=y CONFIG_FUTEX=y CONFIG_EPOLL=y CONFIG_SIGNALFD=y CONFIG_TIMERFD=y CONFIG_EVENTFD=y CONFIG_SHMEM=y CONFIG_AIO=y CONFIG_VM_EVENT_COUNTERS=y CONFIG_PCI_QUIRKS=y CONFIG_SLUB_DEBUG=y CONFIG_COMPAT_BRK=y # CONFIG_SLAB is not set CONFIG_SLUB=y # CONFIG_SLQB is not set # CONFIG_SLOB is not set CONFIG_PROFILING=y CONFIG_TRACEPOINTS=y CONFIG_MARKERS=y CONFIG_OPROFILE=y CONFIG_HAVE_OPROFILE=y # CONFIG_KPROBES is not set CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y CONFIG_HAVE_IOREMAP_PROT=y CONFIG_HAVE_KPROBES=y CONFIG_HAVE_KRETPROBES=y CONFIG_HAVE_ARCH_TRACEHOOK=y CONFIG_HAVE_CLK=y # CONFIG_SLOW_WORK is not set # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set CONFIG_SLABINFO=y CONFIG_RT_MUTEXES=y CONFIG_BASE_SMALL=0 CONFIG_MODULES=y CONFIG_MODULE_FORCE_LOAD=y CONFIG_MODULE_UNLOAD=y CONFIG_MODULE_FORCE_UNLOAD=y CONFIG_MODVERSIONS=y CONFIG_MODULE_SRCVERSION_ALL=y CONFIG_BLOCK=y CONFIG_LBD=y CONFIG_BLK_DEV_BSG=y CONFIG_BLK_DEV_INTEGRITY=y # # IO Schedulers # CONFIG_IOSCHED_NOOP=y CONFIG_IOSCHED_AS=m CONFIG_IOSCHED_DEADLINE=m # CONFIG_IOSCHED_CFQ is not set # CONFIG_DEFAULT_AS is not set # CONFIG_DEFA
[BUILD FAILURE 08/12] Next April 14 : PPC64 randconfig [drivers/built-in.o]
Observed the following build error: --- To see full details build your kernel with: 'make CONFIG_DEBUG_SECTION_MISMATCH=y' GEN .version CHK include/linux/compile.h UPD include/linux/compile.h CC init/version.o LD init/built-in.o LD .tmp_vmlinux1 drivers/built-in.o:(.data.rel+0x7840): undefined reference to `snd_pcm_lib_ioctl' drivers/built-in.o:(.toc1+0xe080): undefined reference to `snd_pcm_link_rwlock' make: *** [.tmp_vmlinux1] Error 1 --- I reported this earlier on 2009-04-08: http://article.gmane.org/gmane.linux.kernel/819156 Regards-- Subrata # # Automatically generated make config: don't edit # Linux kernel version: 2.6.30-rc1 # Tue Apr 14 04:28:47 2009 # CONFIG_PPC64=y # # Processor support # CONFIG_PPC_BOOK3S=y CONFIG_POWER4_ONLY=y CONFIG_POWER4=y CONFIG_TUNE_CELL=y CONFIG_PPC_FPU=y CONFIG_ALTIVEC=y # CONFIG_VSX is not set CONFIG_PPC_STD_MMU=y CONFIG_PPC_STD_MMU_64=y CONFIG_PPC_MM_SLICES=y # CONFIG_VIRT_CPU_ACCOUNTING is not set CONFIG_SMP=y CONFIG_NR_CPUS=32 CONFIG_64BIT=y CONFIG_WORD_SIZE=64 CONFIG_ARCH_PHYS_ADDR_T_64BIT=y CONFIG_MMU=y CONFIG_GENERIC_CMOS_UPDATE=y CONFIG_GENERIC_TIME=y CONFIG_GENERIC_TIME_VSYSCALL=y CONFIG_GENERIC_CLOCKEVENTS=y CONFIG_GENERIC_HARDIRQS=y CONFIG_HAVE_SETUP_PER_CPU_AREA=y CONFIG_IRQ_PER_CPU=y CONFIG_STACKTRACE_SUPPORT=y CONFIG_HAVE_LATENCYTOP_SUPPORT=y CONFIG_TRACE_IRQFLAGS_SUPPORT=y CONFIG_LOCKDEP_SUPPORT=y CONFIG_RWSEM_XCHGADD_ALGORITHM=y CONFIG_ARCH_HAS_ILOG2_U32=y CONFIG_ARCH_HAS_ILOG2_U64=y CONFIG_GENERIC_HWEIGHT=y CONFIG_GENERIC_CALIBRATE_DELAY=y CONFIG_GENERIC_FIND_NEXT_BIT=y CONFIG_ARCH_NO_VIRT_TO_BUS=y CONFIG_PPC=y CONFIG_EARLY_PRINTK=y CONFIG_COMPAT=y CONFIG_SYSVIPC_COMPAT=y CONFIG_SCHED_OMIT_FRAME_POINTER=y CONFIG_ARCH_MAY_HAVE_PC_FDC=y CONFIG_PPC_OF=y CONFIG_OF=y CONFIG_PPC_UDBG_16550=y CONFIG_GENERIC_TBSYNC=y CONFIG_AUDIT_ARCH=y CONFIG_GENERIC_BUG=y # CONFIG_DEFAULT_UIMAGE is not set # CONFIG_PPC_DCR_NATIVE is not set CONFIG_PPC_DCR_MMIO=y CONFIG_PPC_DCR=y CONFIG_PPC_OF_PLATFORM_PCI=y CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" # # General setup # CONFIG_EXPERIMENTAL=y CONFIG_LOCK_KERNEL=y CONFIG_INIT_ENV_ARG_LIMIT=32 CONFIG_LOCALVERSION="" CONFIG_LOCALVERSION_AUTO=y CONFIG_SYSVIPC=y CONFIG_SYSVIPC_SYSCTL=y CONFIG_BSD_PROCESS_ACCT=y # CONFIG_BSD_PROCESS_ACCT_V3 is not set # # RCU Subsystem # CONFIG_CLASSIC_RCU=y # CONFIG_TREE_RCU is not set # CONFIG_PREEMPT_RCU is not set # CONFIG_TREE_RCU_TRACE is not set # CONFIG_PREEMPT_RCU_TRACE is not set CONFIG_IKCONFIG=m CONFIG_IKCONFIG_PROC=y CONFIG_LOG_BUF_SHIFT=17 # CONFIG_GROUP_SCHED is not set # CONFIG_CGROUPS is not set # CONFIG_SYSFS_DEPRECATED_V2 is not set CONFIG_RELAY=y # CONFIG_NAMESPACES is not set CONFIG_BLK_DEV_INITRD=y CONFIG_INITRAMFS_SOURCE="" CONFIG_RD_GZIP=y CONFIG_RD_BZIP2=y CONFIG_RD_LZMA=y # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set CONFIG_SYSCTL=y CONFIG_ANON_INODES=y CONFIG_EMBEDDED=y CONFIG_SYSCTL_SYSCALL=y CONFIG_KALLSYMS=y # CONFIG_KALLSYMS_EXTRA_PASS is not set CONFIG_STRIP_ASM_SYMS=y # CONFIG_HOTPLUG is not set CONFIG_PRINTK=y CONFIG_BUG=y # CONFIG_ELF_CORE is not set CONFIG_BASE_FULL=y CONFIG_FUTEX=y CONFIG_EPOLL=y CONFIG_SIGNALFD=y CONFIG_TIMERFD=y CONFIG_EVENTFD=y CONFIG_SHMEM=y CONFIG_AIO=y CONFIG_VM_EVENT_COUNTERS=y CONFIG_PCI_QUIRKS=y CONFIG_SLUB_DEBUG=y CONFIG_COMPAT_BRK=y # CONFIG_SLAB is not set CONFIG_SLUB=y # CONFIG_SLQB is not set # CONFIG_SLOB is not set CONFIG_PROFILING=y CONFIG_TRACEPOINTS=y CONFIG_MARKERS=y CONFIG_OPROFILE=y CONFIG_HAVE_OPROFILE=y CONFIG_KPROBES=y CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y CONFIG_HAVE_SYSCALL_WRAPPERS=y CONFIG_KRETPROBES=y CONFIG_HAVE_IOREMAP_PROT=y CONFIG_HAVE_KPROBES=y CONFIG_HAVE_KRETPROBES=y CONFIG_HAVE_ARCH_TRACEHOOK=y CONFIG_HAVE_DMA_ATTRS=y CONFIG_USE_GENERIC_SMP_HELPERS=y # CONFIG_SLOW_WORK is not set # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set CONFIG_SLABINFO=y CONFIG_RT_MUTEXES=y CONFIG_BASE_SMALL=0 CONFIG_MODULES=y # CONFIG_MODULE_FORCE_LOAD is not set CONFIG_MODULE_UNLOAD=y CONFIG_MODULE_FORCE_UNLOAD=y CONFIG_MODVERSIONS=y # CONFIG_MODULE_SRCVERSION_ALL is not set CONFIG_STOP_MACHINE=y # CONFIG_BLOCK is not set # CONFIG_FREEZER is not set CONFIG_PPC_MSI_BITMAP=y # # Platform support # # CONFIG_PPC_PSERIES is not set CONFIG_LPARCFG=y CONFIG_PPC_ISERIES=y # # iSeries device drivers # # CONFIG_VIOCD is not set # CONFIG_VIOTAPE is not set CONFIG_VIOPATH=y # CONFIG_PPC_PMAC is not set CONFIG_PPC_MAPLE=y # CONFIG_PPC_PASEMI is not set CONFIG_PPC_PS3=y # # PS3 Platform Options # CONFIG_PS3_ADVANCED=y CONFIG_PS3_HTAB_SIZE=20 # CONFIG_PS3_DYNAMIC_DMA is not set CONFIG_PS3_VUART=y CONFIG_PS3_PS3AV=m CONFIG_PS3_SYS_MANAGER=y # CONFIG_PS3_FLASH is not set CONFIG_PS3_LPM=m CONFIG_PPC_CELL=y CONFIG_PPC_CELL_COMMON=y CONFIG_PPC_CELL_NATIVE=y CONFIG_PPC_IBM_CELL_BLADE=y CONFIG_PPC_CELLEB=y # CONFIG_PPC_CELL_QPACE is not set CONFIG_AXON_MSI=y # # Cell Broadband Engine options # # CONFIG_SPU_FS is not set # CONFIG_SPU_BASE is not set # CONFIG
[BUILD FAILURE 09/12] Next April 14 : PPC64 randconfig [drivers/scsi/aic7xxx/aicasm/aicasm]
Observed the following build error: --- gcc -I/usr/include -I. aicasm.c aicasm_symbol.c aicasm_gram.c aicasm_macro_gram.c aicasm_scan.c aicasm_macro_scan.c -o aicasm -ldb aicasm_symbol.c:48:19: error: aicdb.h: No such file or directory aicasm_symbol.c:63: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token aicasm_symbol.c: In function ‘symbol_delete’: aicasm_symbol.c:87: error: ‘symtable’ undeclared (first use in this function) aicasm_symbol.c:87: error: (Each undeclared identifier is reported only once aicasm_symbol.c:87: error: for each function it appears in.) aicasm_symbol.c:88: error: ‘DBT’ undeclared (first use in this function) aicasm_symbol.c:88: error: expected ‘;’ before ‘key’ aicasm_symbol.c:90: error: ‘key’ undeclared (first use in this function) aicasm_symbol.c: In function ‘symtable_open’: aicasm_symbol.c:134: error: ‘symtable’ undeclared (first use in this function) aicasm_symbol.c:135: error: ‘DB_HASH’ undeclared (first use in this function) aicasm_symbol.c: In function ‘symtable_close’: aicasm_symbol.c:148: error: ‘symtable’ undeclared (first use in this function) aicasm_symbol.c:149: error: ‘DBT’ undeclared (first use in this function) aicasm_symbol.c:149: error: expected ‘;’ before ‘key’ aicasm_symbol.c:150: error: expected ‘;’ before ‘data’ aicasm_symbol.c:152: error: ‘key’ undeclared (first use in this function) aicasm_symbol.c:152: error: ‘data’ undeclared (first use in this function) aicasm_symbol.c:152: error: ‘R_FIRST’ undeclared (first use in this function) aicasm_symbol.c: In function ‘symtable_get’: aicasm_symbol.c:170: error: ‘DBT’ undeclared (first use in this function) aicasm_symbol.c:170: error: expected ‘;’ before ‘key’ aicasm_symbol.c:171: error: expected ‘;’ before ‘data’ aicasm_symbol.c:174: error: ‘key’ undeclared (first use in this function) aicasm_symbol.c:177: error: ‘symtable’ undeclared (first use in this function) aicasm_symbol.c:177: error: ‘data’ undeclared (first use in this function) aicasm_symbol.c: In function ‘symtable_dump’: aicasm_symbol.c:479: error: ‘DBT’ undeclared (first use in this function) aicasm_symbol.c:479: error: expected ‘;’ before ‘key’ aicasm_symbol.c:480: error: expected ‘;’ before ‘data’ aicasm_symbol.c:485: error: ‘symtable’ undeclared (first use in this function) aicasm_symbol.c:494: error: ‘R_FIRST’ undeclared (first use in this function) aicasm_symbol.c:495: error: ‘key’ undeclared (first use in this function) aicasm_symbol.c:495: error: ‘data’ undeclared (first use in this function) aicasm_symbol.c:532: error: ‘R_NEXT’ undeclared (first use in this function) make[4]: *** [aicasm] Error 1 make[3]: *** [drivers/scsi/aic7xxx/aicasm/aicasm] Error 2 make[2]: *** [drivers/scsi/aic7xxx] Error 2 make[1]: *** [drivers/scsi] Error 2 make: *** [drivers] Error 2 --- I observed it on next-20090407 on x86_64 and still exists on that platform: http://www.gossamer-threads.com/lists/linux/kernel/1058333?page=last Regards-- Subrata # # Automatically generated make config: don't edit # Linux kernel version: 2.6.30-rc1 # Tue Apr 14 04:55:16 2009 # # CONFIG_PPC64 is not set # # Processor support # CONFIG_6xx=y # CONFIG_PPC_85xx is not set # CONFIG_PPC_8xx is not set # CONFIG_40x is not set # CONFIG_44x is not set # CONFIG_E200 is not set CONFIG_PPC_BOOK3S=y CONFIG_PPC_FPU=y CONFIG_ALTIVEC=y CONFIG_PPC_STD_MMU=y CONFIG_PPC_STD_MMU_32=y # CONFIG_PPC_MM_SLICES is not set # CONFIG_SMP is not set CONFIG_NOT_COHERENT_CACHE=y CONFIG_CHECK_CACHE_COHERENCY=y CONFIG_PPC32=y CONFIG_WORD_SIZE=32 # CONFIG_ARCH_PHYS_ADDR_T_64BIT is not set CONFIG_MMU=y CONFIG_GENERIC_CMOS_UPDATE=y CONFIG_GENERIC_TIME=y CONFIG_GENERIC_TIME_VSYSCALL=y CONFIG_GENERIC_CLOCKEVENTS=y CONFIG_GENERIC_HARDIRQS=y # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set CONFIG_IRQ_PER_CPU=y CONFIG_STACKTRACE_SUPPORT=y CONFIG_HAVE_LATENCYTOP_SUPPORT=y CONFIG_LOCKDEP_SUPPORT=y CONFIG_RWSEM_XCHGADD_ALGORITHM=y CONFIG_ARCH_HAS_ILOG2_U32=y CONFIG_GENERIC_HWEIGHT=y CONFIG_GENERIC_CALIBRATE_DELAY=y CONFIG_GENERIC_FIND_NEXT_BIT=y CONFIG_GENERIC_GPIO=y # CONFIG_ARCH_NO_VIRT_TO_BUS is not set CONFIG_PPC=y CONFIG_EARLY_PRINTK=y CONFIG_GENERIC_NVRAM=y CONFIG_SCHED_OMIT_FRAME_POINTER=y CONFIG_ARCH_MAY_HAVE_PC_FDC=y CONFIG_PPC_OF=y CONFIG_OF=y CONFIG_PPC_UDBG_16550=y # CONFIG_GENERIC_TBSYNC is not set CONFIG_AUDIT_ARCH=y CONFIG_GENERIC_BUG=y CONFIG_DEFAULT_UIMAGE=y CONFIG_HIBERNATE_32=y CONFIG_ARCH_HIBERNATION_POSSIBLE=y # CONFIG_PPC_DCR_NATIVE is not set # CONFIG_PPC_DCR_MMIO is not set CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" # # General setup # CONFIG_EXPERIMENTAL=y CONFIG_BROKEN_ON_SMP=y CONFIG_INIT_ENV_ARG_LIMIT=32 CONFIG_LOCALVERSION="" CONFIG_LOCALVERSION_AUTO=y CONFIG_SWAP=y # CONFIG_SYSVIPC is not set # CONFIG_POSIX_MQUEUE is not set # CONFIG_BSD_PROCESS_ACCT is not set CONFIG_TASKSTATS=y # CONFIG_TASK_DELAY_ACCT is not set CONFIG_TASK_XACCT=y CONFIG_TASK_IO_ACCOUNTING=y CONFIG_AUDIT=y CONFIG_AUDITSYSCALL=y CONFIG_AUDIT_TREE=y # #
[BUILD FAILURE 10/12] Next April 14 : PPC64 randconfig [drivers/staging/comedi/drivers.c]
Observed the following build error: --- drivers/staging/comedi/drivers.c: In function ‘comedi_buf_alloc’: drivers/staging/comedi/drivers.c:496: error: ‘PAGE_KERNEL_NOCACHE’ undeclared (first use in this function) drivers/staging/comedi/drivers.c:496: error: (Each undeclared identifier is reported only once drivers/staging/comedi/drivers.c:496: error: for each function it appears in.) make[3]: *** [drivers/staging/comedi/drivers.o] Error 1 make[2]: *** [drivers/staging/comedi] Error 2 make[1]: *** [drivers/staging] Error 2 make: *** [drivers] Error 2 --- Regards-- Subrata # # Automatically generated make config: don't edit # Linux kernel version: 2.6.30-rc1 # Tue Apr 14 05:00:55 2009 # CONFIG_PPC64=y # # Processor support # CONFIG_PPC_BOOK3S=y # CONFIG_POWER4_ONLY is not set CONFIG_POWER3=y CONFIG_POWER4=y # CONFIG_TUNE_CELL is not set CONFIG_PPC_FPU=y # CONFIG_ALTIVEC is not set CONFIG_PPC_STD_MMU=y CONFIG_PPC_STD_MMU_64=y CONFIG_PPC_MM_SLICES=y CONFIG_VIRT_CPU_ACCOUNTING=y # CONFIG_SMP is not set CONFIG_64BIT=y CONFIG_WORD_SIZE=64 CONFIG_ARCH_PHYS_ADDR_T_64BIT=y CONFIG_MMU=y CONFIG_GENERIC_CMOS_UPDATE=y CONFIG_GENERIC_TIME=y CONFIG_GENERIC_TIME_VSYSCALL=y CONFIG_GENERIC_CLOCKEVENTS=y CONFIG_GENERIC_HARDIRQS=y CONFIG_HAVE_SETUP_PER_CPU_AREA=y CONFIG_IRQ_PER_CPU=y CONFIG_STACKTRACE_SUPPORT=y CONFIG_HAVE_LATENCYTOP_SUPPORT=y CONFIG_TRACE_IRQFLAGS_SUPPORT=y CONFIG_LOCKDEP_SUPPORT=y CONFIG_RWSEM_XCHGADD_ALGORITHM=y CONFIG_ARCH_HAS_ILOG2_U32=y CONFIG_ARCH_HAS_ILOG2_U64=y CONFIG_GENERIC_HWEIGHT=y CONFIG_GENERIC_CALIBRATE_DELAY=y CONFIG_GENERIC_FIND_NEXT_BIT=y CONFIG_GENERIC_GPIO=y CONFIG_ARCH_NO_VIRT_TO_BUS=y CONFIG_PPC=y CONFIG_EARLY_PRINTK=y CONFIG_COMPAT=y CONFIG_SCHED_OMIT_FRAME_POINTER=y CONFIG_ARCH_MAY_HAVE_PC_FDC=y CONFIG_PPC_OF=y CONFIG_OF=y CONFIG_PPC_UDBG_16550=y CONFIG_GENERIC_TBSYNC=y CONFIG_AUDIT_ARCH=y # CONFIG_DEFAULT_UIMAGE is not set CONFIG_HIBERNATE_32=y CONFIG_HIBERNATE_64=y CONFIG_ARCH_HIBERNATION_POSSIBLE=y # CONFIG_PPC_DCR_NATIVE is not set CONFIG_PPC_DCR_MMIO=y CONFIG_PPC_DCR=y CONFIG_PPC_OF_PLATFORM_PCI=y CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" # # General setup # CONFIG_EXPERIMENTAL=y CONFIG_BROKEN_ON_SMP=y CONFIG_LOCK_KERNEL=y CONFIG_INIT_ENV_ARG_LIMIT=32 CONFIG_LOCALVERSION="" CONFIG_LOCALVERSION_AUTO=y # CONFIG_SWAP is not set # CONFIG_SYSVIPC is not set CONFIG_POSIX_MQUEUE=y CONFIG_POSIX_MQUEUE_SYSCTL=y CONFIG_BSD_PROCESS_ACCT=y CONFIG_BSD_PROCESS_ACCT_V3=y CONFIG_TASKSTATS=y # CONFIG_TASK_DELAY_ACCT is not set CONFIG_TASK_XACCT=y CONFIG_TASK_IO_ACCOUNTING=y CONFIG_AUDIT=y CONFIG_AUDITSYSCALL=y # # RCU Subsystem # # CONFIG_CLASSIC_RCU is not set # CONFIG_TREE_RCU is not set CONFIG_PREEMPT_RCU=y CONFIG_RCU_TRACE=y # CONFIG_TREE_RCU_TRACE is not set CONFIG_PREEMPT_RCU_TRACE=y CONFIG_IKCONFIG=m CONFIG_IKCONFIG_PROC=y CONFIG_LOG_BUF_SHIFT=17 # CONFIG_GROUP_SCHED is not set CONFIG_CGROUPS=y CONFIG_CGROUP_DEBUG=y CONFIG_CGROUP_NS=y CONFIG_CGROUP_FREEZER=y CONFIG_CGROUP_DEVICE=y # CONFIG_CPUSETS is not set CONFIG_CGROUP_CPUACCT=y CONFIG_RESOURCE_COUNTERS=y CONFIG_CGROUP_MEM_RES_CTLR=y CONFIG_MM_OWNER=y CONFIG_RELAY=y CONFIG_NAMESPACES=y # CONFIG_UTS_NS is not set CONFIG_IPC_NS=y CONFIG_USER_NS=y # CONFIG_PID_NS is not set # CONFIG_NET_NS is not set CONFIG_BLK_DEV_INITRD=y CONFIG_INITRAMFS_SOURCE="" CONFIG_RD_GZIP=y CONFIG_RD_BZIP2=y # CONFIG_RD_LZMA is not set CONFIG_CC_OPTIMIZE_FOR_SIZE=y CONFIG_SYSCTL=y CONFIG_ANON_INODES=y CONFIG_EMBEDDED=y # CONFIG_SYSCTL_SYSCALL is not set CONFIG_KALLSYMS=y CONFIG_KALLSYMS_ALL=y CONFIG_KALLSYMS_EXTRA_PASS=y CONFIG_STRIP_ASM_SYMS=y # CONFIG_HOTPLUG is not set # CONFIG_PRINTK is not set # CONFIG_BUG is not set CONFIG_ELF_CORE=y # CONFIG_PCSPKR_PLATFORM is not set CONFIG_BASE_FULL=y CONFIG_FUTEX=y CONFIG_EPOLL=y # CONFIG_SIGNALFD is not set # CONFIG_TIMERFD is not set CONFIG_EVENTFD=y # CONFIG_SHMEM is not set CONFIG_AIO=y CONFIG_VM_EVENT_COUNTERS=y # CONFIG_PCI_QUIRKS is not set # CONFIG_COMPAT_BRK is not set # CONFIG_SLAB is not set CONFIG_SLUB=y # CONFIG_SLQB is not set # CONFIG_SLOB is not set # CONFIG_PROFILING is not set CONFIG_TRACEPOINTS=y CONFIG_MARKERS=y CONFIG_HAVE_OPROFILE=y # CONFIG_KPROBES is not set CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y CONFIG_HAVE_SYSCALL_WRAPPERS=y CONFIG_HAVE_IOREMAP_PROT=y CONFIG_HAVE_KPROBES=y CONFIG_HAVE_KRETPROBES=y CONFIG_HAVE_ARCH_TRACEHOOK=y CONFIG_HAVE_DMA_ATTRS=y # CONFIG_SLOW_WORK is not set # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set CONFIG_RT_MUTEXES=y CONFIG_BASE_SMALL=0 CONFIG_MODULES=y CONFIG_MODULE_FORCE_LOAD=y CONFIG_MODULE_UNLOAD=y # CONFIG_MODULE_FORCE_UNLOAD is not set CONFIG_MODVERSIONS=y CONFIG_MODULE_SRCVERSION_ALL=y CONFIG_BLOCK=y # CONFIG_BLK_DEV_BSG is not set CONFIG_BLK_DEV_INTEGRITY=y CONFIG_BLOCK_COMPAT=y # # IO Schedulers # CONFIG_IOSCHED_NOOP=y CONFIG_IOSCHED_AS=m # CONFIG_IOSCHED_DEADLINE is not set CONFIG_IOSCHED_CFQ=m # CONFIG_DEFAULT_AS is not set # CONFIG_DEFAULT_DEADLINE is not set # CONFIG_DEFAULT_CFQ is not set CO
[BUILD FAILURE 11/12] Next April 14 : PPC64 randconfig [drivers/spi/mpc52xx_psc_spi.c]
Observed the following build error: --- CC drivers/spi/mpc52xx_psc_spi.o drivers/spi/mpc52xx_psc_spi.c: In function ‘mpc52xx_psc_spi_do_probe’: drivers/spi/mpc52xx_psc_spi.c:398: error: ‘struct fsl_spi_platform_data’ has no member named ‘activate_cs’ drivers/spi/mpc52xx_psc_spi.c:399: error: ‘struct fsl_spi_platform_data’ has no member named ‘deactivate_cs’ make[2]: *** [drivers/spi/mpc52xx_psc_spi.o] Error 1 make[1]: *** [drivers/spi] Error 2 make: *** [drivers] Error 2 --- Regards-- Subrata # # Automatically generated make config: don't edit # Linux kernel version: 2.6.30-rc1 # Tue Apr 14 06:24:04 2009 # # CONFIG_PPC64 is not set # # Processor support # CONFIG_6xx=y # CONFIG_PPC_85xx is not set # CONFIG_PPC_8xx is not set # CONFIG_40x is not set # CONFIG_44x is not set # CONFIG_E200 is not set CONFIG_PPC_BOOK3S=y CONFIG_PPC_FPU=y CONFIG_ALTIVEC=y CONFIG_PPC_STD_MMU=y CONFIG_PPC_STD_MMU_32=y # CONFIG_PPC_MM_SLICES is not set # CONFIG_SMP is not set CONFIG_NOT_COHERENT_CACHE=y CONFIG_PPC32=y CONFIG_WORD_SIZE=32 # CONFIG_ARCH_PHYS_ADDR_T_64BIT is not set CONFIG_MMU=y CONFIG_GENERIC_CMOS_UPDATE=y CONFIG_GENERIC_TIME=y CONFIG_GENERIC_TIME_VSYSCALL=y CONFIG_GENERIC_CLOCKEVENTS=y CONFIG_GENERIC_HARDIRQS=y # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set CONFIG_IRQ_PER_CPU=y CONFIG_STACKTRACE_SUPPORT=y CONFIG_HAVE_LATENCYTOP_SUPPORT=y CONFIG_LOCKDEP_SUPPORT=y CONFIG_RWSEM_XCHGADD_ALGORITHM=y CONFIG_ARCH_HAS_ILOG2_U32=y CONFIG_GENERIC_HWEIGHT=y CONFIG_GENERIC_CALIBRATE_DELAY=y CONFIG_GENERIC_FIND_NEXT_BIT=y CONFIG_GENERIC_GPIO=y # CONFIG_ARCH_NO_VIRT_TO_BUS is not set CONFIG_PPC=y CONFIG_EARLY_PRINTK=y CONFIG_GENERIC_NVRAM=y CONFIG_SCHED_OMIT_FRAME_POINTER=y CONFIG_ARCH_MAY_HAVE_PC_FDC=y CONFIG_PPC_OF=y CONFIG_OF=y CONFIG_PPC_UDBG_16550=y # CONFIG_GENERIC_TBSYNC is not set CONFIG_AUDIT_ARCH=y CONFIG_GENERIC_BUG=y CONFIG_DEFAULT_UIMAGE=y CONFIG_HIBERNATE_32=y CONFIG_ARCH_HIBERNATION_POSSIBLE=y CONFIG_ARCH_SUSPEND_POSSIBLE=y # CONFIG_PPC_DCR_NATIVE is not set # CONFIG_PPC_DCR_MMIO is not set CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" # # General setup # CONFIG_EXPERIMENTAL=y CONFIG_BROKEN_ON_SMP=y CONFIG_INIT_ENV_ARG_LIMIT=32 CONFIG_LOCALVERSION="" CONFIG_LOCALVERSION_AUTO=y CONFIG_SWAP=y # CONFIG_SYSVIPC is not set CONFIG_POSIX_MQUEUE=y CONFIG_POSIX_MQUEUE_SYSCTL=y # CONFIG_BSD_PROCESS_ACCT is not set CONFIG_TASKSTATS=y # CONFIG_TASK_DELAY_ACCT is not set # CONFIG_TASK_XACCT is not set CONFIG_AUDIT=y # CONFIG_AUDITSYSCALL is not set # # RCU Subsystem # # CONFIG_CLASSIC_RCU is not set CONFIG_TREE_RCU=y # CONFIG_PREEMPT_RCU is not set # CONFIG_RCU_TRACE is not set CONFIG_RCU_FANOUT=32 CONFIG_RCU_FANOUT_EXACT=y # CONFIG_TREE_RCU_TRACE is not set # CONFIG_PREEMPT_RCU_TRACE is not set CONFIG_IKCONFIG=y CONFIG_IKCONFIG_PROC=y CONFIG_LOG_BUF_SHIFT=17 CONFIG_GROUP_SCHED=y # CONFIG_FAIR_GROUP_SCHED is not set CONFIG_RT_GROUP_SCHED=y CONFIG_USER_SCHED=y # CONFIG_CGROUP_SCHED is not set CONFIG_CGROUPS=y CONFIG_CGROUP_DEBUG=y CONFIG_CGROUP_NS=y CONFIG_CGROUP_FREEZER=y # CONFIG_CGROUP_DEVICE is not set # CONFIG_CPUSETS is not set # CONFIG_CGROUP_CPUACCT is not set # CONFIG_RESOURCE_COUNTERS is not set CONFIG_SYSFS_DEPRECATED=y CONFIG_SYSFS_DEPRECATED_V2=y CONFIG_RELAY=y CONFIG_NAMESPACES=y CONFIG_UTS_NS=y CONFIG_IPC_NS=y CONFIG_USER_NS=y CONFIG_PID_NS=y # CONFIG_NET_NS is not set CONFIG_BLK_DEV_INITRD=y CONFIG_INITRAMFS_SOURCE="" CONFIG_RD_GZIP=y CONFIG_RD_BZIP2=y CONFIG_RD_LZMA=y CONFIG_CC_OPTIMIZE_FOR_SIZE=y CONFIG_SYSCTL=y CONFIG_ANON_INODES=y # CONFIG_EMBEDDED is not set CONFIG_SYSCTL_SYSCALL=y CONFIG_KALLSYMS=y CONFIG_KALLSYMS_ALL=y CONFIG_KALLSYMS_EXTRA_PASS=y # CONFIG_STRIP_ASM_SYMS is not set CONFIG_HOTPLUG=y CONFIG_PRINTK=y CONFIG_BUG=y CONFIG_ELF_CORE=y CONFIG_PCSPKR_PLATFORM=y CONFIG_BASE_FULL=y CONFIG_FUTEX=y CONFIG_EPOLL=y CONFIG_SIGNALFD=y CONFIG_TIMERFD=y CONFIG_EVENTFD=y CONFIG_SHMEM=y CONFIG_AIO=y CONFIG_VM_EVENT_COUNTERS=y CONFIG_PCI_QUIRKS=y # CONFIG_COMPAT_BRK is not set CONFIG_SLAB=y # CONFIG_SLUB is not set # CONFIG_SLQB is not set # CONFIG_SLOB is not set CONFIG_PROFILING=y CONFIG_TRACEPOINTS=y CONFIG_MARKERS=y CONFIG_OPROFILE=y CONFIG_HAVE_OPROFILE=y CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y CONFIG_HAVE_IOREMAP_PROT=y CONFIG_HAVE_KPROBES=y CONFIG_HAVE_KRETPROBES=y CONFIG_HAVE_ARCH_TRACEHOOK=y CONFIG_HAVE_CLK=y CONFIG_SLOW_WORK=y # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set CONFIG_SLABINFO=y CONFIG_RT_MUTEXES=y CONFIG_BASE_SMALL=0 # CONFIG_MODULES is not set CONFIG_BLOCK=y # CONFIG_LBD is not set CONFIG_BLK_DEV_BSG=y # CONFIG_BLK_DEV_INTEGRITY is not set # # IO Schedulers # CONFIG_IOSCHED_NOOP=y # CONFIG_IOSCHED_AS is not set # CONFIG_IOSCHED_DEADLINE is not set # CONFIG_IOSCHED_CFQ is not set # CONFIG_DEFAULT_AS is not set # CONFIG_DEFAULT_DEADLINE is not set # CONFIG_DEFAULT_CFQ is not set CONFIG_DEFAULT_NOOP=y CONFIG_DEFAULT_IOSCHED="noop" CONFIG_FREEZER=y # # Platform support # CONFIG_PPC_CHRP=y CONFIG_PPC_MPC512x=y CONFIG_PPC_MPC5121=y C
Re: [BUILD FAILURE 03/12] Next April 14 : PPC64 randconfig [arch/powerpc/platforms/ps3/setup.c]
On Thu, 2009-04-16 at 12:32 -0700, Geoff Levand wrote: > On 04/14/2009 11:28 AM, Subrata Modak wrote: > > Observed the following build error: > > --- > > arch/powerpc/platforms/ps3/setup.c:49: error: redefinition of > > ‘smp_send_stop’ > > include/linux/smp.h:125: error: previous definition of ‘smp_send_stop’ > > was here > > Hi Subrata, > > Thanks for the report. I submitted a fix to the powerpc ML: > > http://patchwork.ozlabs.org/patch/26084/ Thanks Geoff. Regards-- Subrata > > -Geoff > ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev
[BUILD FAILURE 01/12] Next April 21 : PPC64 randconfig [arch/powerpc/platforms/pasemi/setup.o]
Observed the following build error. Reported this earlier on 9th April: http://lkml.org/lkml/2009/4/9/225, Geoff Levand provided a patch on 17th April. This needs to be merged to the tree. http://lkml.org/lkml/2009/4/17/313, CC arch/powerpc/platforms/pasemi/setup.o arch/powerpc/platforms/pasemi/setup.c:48: error: redefinition of ‘smp_send_stop’ include/linux/smp.h:125: error: previous definition of ‘smp_send_stop’ was here make[2]: *** [arch/powerpc/platforms/pasemi/setup.o] Error 1 make[1]: *** [arch/powerpc/platforms/pasemi] Error 2 make: *** [arch/powerpc/platforms] Error 2 --- Regards-- Subrata # # Automatically generated make config: don't edit # Linux kernel version: 2.6.30-rc2 # Tue Apr 21 03:35:28 2009 # CONFIG_PPC64=y # # Processor support # CONFIG_PPC_BOOK3S=y CONFIG_POWER4_ONLY=y CONFIG_POWER4=y CONFIG_TUNE_CELL=y CONFIG_PPC_FPU=y CONFIG_ALTIVEC=y # CONFIG_VSX is not set CONFIG_PPC_STD_MMU=y CONFIG_PPC_STD_MMU_64=y CONFIG_PPC_MM_SLICES=y CONFIG_VIRT_CPU_ACCOUNTING=y # CONFIG_SMP is not set CONFIG_64BIT=y CONFIG_WORD_SIZE=64 CONFIG_ARCH_PHYS_ADDR_T_64BIT=y CONFIG_MMU=y CONFIG_GENERIC_CMOS_UPDATE=y CONFIG_GENERIC_TIME=y CONFIG_GENERIC_TIME_VSYSCALL=y CONFIG_GENERIC_CLOCKEVENTS=y CONFIG_GENERIC_HARDIRQS=y CONFIG_HAVE_SETUP_PER_CPU_AREA=y CONFIG_IRQ_PER_CPU=y CONFIG_STACKTRACE_SUPPORT=y CONFIG_HAVE_LATENCYTOP_SUPPORT=y CONFIG_TRACE_IRQFLAGS_SUPPORT=y CONFIG_LOCKDEP_SUPPORT=y CONFIG_RWSEM_XCHGADD_ALGORITHM=y CONFIG_ARCH_HAS_ILOG2_U32=y CONFIG_ARCH_HAS_ILOG2_U64=y CONFIG_GENERIC_HWEIGHT=y CONFIG_GENERIC_CALIBRATE_DELAY=y CONFIG_GENERIC_FIND_NEXT_BIT=y CONFIG_GENERIC_GPIO=y CONFIG_ARCH_NO_VIRT_TO_BUS=y CONFIG_PPC=y CONFIG_EARLY_PRINTK=y CONFIG_COMPAT=y CONFIG_SYSVIPC_COMPAT=y CONFIG_SCHED_OMIT_FRAME_POINTER=y CONFIG_ARCH_MAY_HAVE_PC_FDC=y CONFIG_PPC_OF=y CONFIG_OF=y CONFIG_PPC_UDBG_16550=y CONFIG_GENERIC_TBSYNC=y CONFIG_AUDIT_ARCH=y CONFIG_GENERIC_BUG=y # CONFIG_DEFAULT_UIMAGE is not set CONFIG_HIBERNATE_32=y CONFIG_HIBERNATE_64=y CONFIG_ARCH_HIBERNATION_POSSIBLE=y CONFIG_ARCH_SUSPEND_POSSIBLE=y # CONFIG_PPC_DCR_NATIVE is not set CONFIG_PPC_DCR_MMIO=y CONFIG_PPC_DCR=y CONFIG_PPC_OF_PLATFORM_PCI=y CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" # # General setup # CONFIG_EXPERIMENTAL=y CONFIG_BROKEN_ON_SMP=y CONFIG_INIT_ENV_ARG_LIMIT=32 CONFIG_LOCALVERSION="" CONFIG_LOCALVERSION_AUTO=y CONFIG_SWAP=y CONFIG_SYSVIPC=y CONFIG_SYSVIPC_SYSCTL=y CONFIG_POSIX_MQUEUE=y CONFIG_POSIX_MQUEUE_SYSCTL=y CONFIG_BSD_PROCESS_ACCT=y CONFIG_BSD_PROCESS_ACCT_V3=y # CONFIG_TASKSTATS is not set CONFIG_AUDIT=y CONFIG_AUDITSYSCALL=y CONFIG_AUDIT_TREE=y # # RCU Subsystem # # CONFIG_CLASSIC_RCU is not set CONFIG_TREE_RCU=y # CONFIG_PREEMPT_RCU is not set CONFIG_RCU_TRACE=y CONFIG_RCU_FANOUT=64 CONFIG_RCU_FANOUT_EXACT=y CONFIG_TREE_RCU_TRACE=y # CONFIG_PREEMPT_RCU_TRACE is not set # CONFIG_IKCONFIG is not set CONFIG_LOG_BUF_SHIFT=17 # CONFIG_GROUP_SCHED is not set CONFIG_CGROUPS=y CONFIG_CGROUP_DEBUG=y CONFIG_CGROUP_NS=y # CONFIG_CGROUP_FREEZER is not set CONFIG_CGROUP_DEVICE=y CONFIG_CPUSETS=y CONFIG_PROC_PID_CPUSET=y # CONFIG_CGROUP_CPUACCT is not set CONFIG_RESOURCE_COUNTERS=y CONFIG_CGROUP_MEM_RES_CTLR=y CONFIG_CGROUP_MEM_RES_CTLR_SWAP=y CONFIG_MM_OWNER=y # CONFIG_SYSFS_DEPRECATED_V2 is not set CONFIG_RELAY=y CONFIG_NAMESPACES=y CONFIG_UTS_NS=y # CONFIG_IPC_NS is not set CONFIG_USER_NS=y CONFIG_PID_NS=y CONFIG_NET_NS=y CONFIG_BLK_DEV_INITRD=y CONFIG_INITRAMFS_SOURCE="" CONFIG_RD_GZIP=y CONFIG_RD_BZIP2=y CONFIG_RD_LZMA=y # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set CONFIG_SYSCTL=y CONFIG_ANON_INODES=y # CONFIG_EMBEDDED is not set CONFIG_SYSCTL_SYSCALL=y CONFIG_KALLSYMS=y CONFIG_KALLSYMS_ALL=y CONFIG_KALLSYMS_EXTRA_PASS=y CONFIG_STRIP_ASM_SYMS=y CONFIG_HOTPLUG=y CONFIG_PRINTK=y CONFIG_BUG=y CONFIG_ELF_CORE=y CONFIG_BASE_FULL=y CONFIG_FUTEX=y CONFIG_EPOLL=y CONFIG_SIGNALFD=y CONFIG_TIMERFD=y CONFIG_EVENTFD=y CONFIG_SHMEM=y CONFIG_AIO=y CONFIG_VM_EVENT_COUNTERS=y CONFIG_PCI_QUIRKS=y CONFIG_SLUB_DEBUG=y CONFIG_COMPAT_BRK=y # CONFIG_SLAB_ALLOCATOR is not set CONFIG_SLUB_ALLOCATOR=y CONFIG_SLUB=y # CONFIG_SLQB_ALLOCATOR is not set # CONFIG_SLOB is not set CONFIG_PROFILING=y CONFIG_TRACEPOINTS=y CONFIG_MARKERS=y CONFIG_OPROFILE=y CONFIG_HAVE_OPROFILE=y CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y CONFIG_HAVE_SYSCALL_WRAPPERS=y CONFIG_HAVE_IOREMAP_PROT=y CONFIG_HAVE_KPROBES=y CONFIG_HAVE_KRETPROBES=y CONFIG_HAVE_ARCH_TRACEHOOK=y CONFIG_HAVE_DMA_ATTRS=y # CONFIG_SLOW_WORK is not set # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set CONFIG_SLABINFO=y CONFIG_RT_MUTEXES=y CONFIG_BASE_SMALL=0 # CONFIG_MODULES is not set CONFIG_BLOCK=y # CONFIG_BLK_DEV_BSG is not set # CONFIG_BLK_DEV_INTEGRITY is not set CONFIG_BLOCK_COMPAT=y # # IO Schedulers # CONFIG_IOSCHED_NOOP=y CONFIG_IOSCHED_AS=y CONFIG_IOSCHED_DEADLINE=y CONFIG_IOSCHED_CFQ=y # CONFIG_DEFAULT_AS is not set # CONFIG_DEFAULT_DEADLINE is not set # CONFIG_DEFAULT_CFQ is not set CONFIG_DEFAULT_NOOP=y CONFIG_DEFAULT_IOSCHED="noop" # CONF
[BUILD FAILURE 02/12] Next April 21 : PPC64 randconfig [drivers/net/ni65.c]
I am observing this for the first time: CC drivers/net/ni65.o drivers/net/ni65.c: In function ‘ni65_init_lance’: drivers/net/ni65.c:585: error: implicit declaration of function ‘isa_virt_to_bus’ drivers/net/ni65.c: In function ‘ni65_stop_start’: drivers/net/ni65.c:757: error: implicit declaration of function ‘isa_bus_to_virt’ make[2]: *** [drivers/net/ni65.o] Error 1 make[1]: *** [drivers/net] Error 2 make: *** [drivers] Error 2 --- Regards-- Subrata # # Automatically generated make config: don't edit # Linux kernel version: 2.6.30-rc2 # Tue Apr 21 03:35:31 2009 # # CONFIG_PPC64 is not set # # Processor support # CONFIG_6xx=y # CONFIG_PPC_85xx is not set # CONFIG_PPC_8xx is not set # CONFIG_40x is not set # CONFIG_44x is not set # CONFIG_E200 is not set CONFIG_PPC_BOOK3S=y CONFIG_PPC_FPU=y CONFIG_ALTIVEC=y CONFIG_PPC_STD_MMU=y CONFIG_PPC_STD_MMU_32=y # CONFIG_PPC_MM_SLICES is not set CONFIG_SMP=y CONFIG_NR_CPUS=4 CONFIG_NOT_COHERENT_CACHE=y CONFIG_PPC32=y CONFIG_WORD_SIZE=32 # CONFIG_ARCH_PHYS_ADDR_T_64BIT is not set CONFIG_MMU=y CONFIG_GENERIC_CMOS_UPDATE=y CONFIG_GENERIC_TIME=y CONFIG_GENERIC_TIME_VSYSCALL=y CONFIG_GENERIC_CLOCKEVENTS=y CONFIG_GENERIC_HARDIRQS=y # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set CONFIG_IRQ_PER_CPU=y CONFIG_STACKTRACE_SUPPORT=y CONFIG_HAVE_LATENCYTOP_SUPPORT=y CONFIG_LOCKDEP_SUPPORT=y CONFIG_RWSEM_XCHGADD_ALGORITHM=y CONFIG_ARCH_HAS_ILOG2_U32=y CONFIG_GENERIC_HWEIGHT=y CONFIG_GENERIC_CALIBRATE_DELAY=y CONFIG_GENERIC_FIND_NEXT_BIT=y CONFIG_GENERIC_GPIO=y # CONFIG_ARCH_NO_VIRT_TO_BUS is not set CONFIG_PPC=y CONFIG_EARLY_PRINTK=y CONFIG_GENERIC_NVRAM=y CONFIG_SCHED_OMIT_FRAME_POINTER=y CONFIG_ARCH_MAY_HAVE_PC_FDC=y CONFIG_PPC_OF=y CONFIG_OF=y CONFIG_PPC_UDBG_16550=y CONFIG_GENERIC_TBSYNC=y CONFIG_AUDIT_ARCH=y CONFIG_GENERIC_BUG=y CONFIG_DEFAULT_UIMAGE=y CONFIG_ARCH_SUSPEND_POSSIBLE=y # CONFIG_PPC_DCR_NATIVE is not set # CONFIG_PPC_DCR_MMIO is not set CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" # # General setup # # CONFIG_EXPERIMENTAL is not set CONFIG_LOCK_KERNEL=y CONFIG_INIT_ENV_ARG_LIMIT=32 CONFIG_LOCALVERSION="" CONFIG_LOCALVERSION_AUTO=y CONFIG_SWAP=y CONFIG_SYSVIPC=y CONFIG_SYSVIPC_SYSCTL=y CONFIG_BSD_PROCESS_ACCT=y CONFIG_BSD_PROCESS_ACCT_V3=y CONFIG_TASKSTATS=y # CONFIG_TASK_DELAY_ACCT is not set CONFIG_TASK_XACCT=y # CONFIG_TASK_IO_ACCOUNTING is not set CONFIG_AUDIT=y # CONFIG_AUDITSYSCALL is not set # # RCU Subsystem # # CONFIG_CLASSIC_RCU is not set CONFIG_TREE_RCU=y # CONFIG_PREEMPT_RCU is not set # CONFIG_RCU_TRACE is not set CONFIG_RCU_FANOUT=32 CONFIG_RCU_FANOUT_EXACT=y # CONFIG_TREE_RCU_TRACE is not set # CONFIG_PREEMPT_RCU_TRACE is not set # CONFIG_IKCONFIG is not set CONFIG_LOG_BUF_SHIFT=17 CONFIG_CGROUPS=y CONFIG_CGROUP_DEBUG=y # CONFIG_CGROUP_NS is not set CONFIG_CGROUP_FREEZER=y # CONFIG_CPUSETS is not set CONFIG_CGROUP_CPUACCT=y # CONFIG_RESOURCE_COUNTERS is not set CONFIG_SYSFS_DEPRECATED=y CONFIG_SYSFS_DEPRECATED_V2=y # CONFIG_RELAY is not set CONFIG_NAMESPACES=y CONFIG_UTS_NS=y CONFIG_IPC_NS=y # CONFIG_BLK_DEV_INITRD is not set CONFIG_CC_OPTIMIZE_FOR_SIZE=y CONFIG_SYSCTL=y CONFIG_ANON_INODES=y # CONFIG_EMBEDDED is not set CONFIG_SYSCTL_SYSCALL=y CONFIG_KALLSYMS=y CONFIG_KALLSYMS_ALL=y # CONFIG_KALLSYMS_EXTRA_PASS is not set CONFIG_STRIP_ASM_SYMS=y CONFIG_HOTPLUG=y CONFIG_PRINTK=y CONFIG_BUG=y CONFIG_ELF_CORE=y CONFIG_PCSPKR_PLATFORM=y CONFIG_BASE_FULL=y CONFIG_FUTEX=y CONFIG_EPOLL=y CONFIG_SIGNALFD=y CONFIG_TIMERFD=y CONFIG_EVENTFD=y CONFIG_SHMEM=y CONFIG_AIO=y CONFIG_VM_EVENT_COUNTERS=y CONFIG_PCI_QUIRKS=y CONFIG_COMPAT_BRK=y # CONFIG_SLAB_ALLOCATOR is not set # CONFIG_SLUB_ALLOCATOR is not set CONFIG_SLQB_ALLOCATOR=y CONFIG_SLQB=y # CONFIG_SLOB is not set # CONFIG_PROFILING is not set CONFIG_TRACEPOINTS=y CONFIG_MARKERS=y CONFIG_HAVE_OPROFILE=y # CONFIG_KPROBES is not set CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y CONFIG_HAVE_IOREMAP_PROT=y CONFIG_HAVE_KPROBES=y CONFIG_HAVE_KRETPROBES=y CONFIG_HAVE_ARCH_TRACEHOOK=y CONFIG_USE_GENERIC_SMP_HELPERS=y CONFIG_HAVE_CLK=y # CONFIG_SLOW_WORK is not set # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set CONFIG_SLABINFO=y CONFIG_RT_MUTEXES=y CONFIG_BASE_SMALL=0 CONFIG_MODULES=y CONFIG_MODULE_FORCE_LOAD=y # CONFIG_MODULE_UNLOAD is not set CONFIG_MODVERSIONS=y CONFIG_MODULE_SRCVERSION_ALL=y CONFIG_STOP_MACHINE=y CONFIG_BLOCK=y CONFIG_LBD=y CONFIG_BLK_DEV_INTEGRITY=y # # IO Schedulers # CONFIG_IOSCHED_NOOP=y CONFIG_IOSCHED_AS=m CONFIG_IOSCHED_DEADLINE=y CONFIG_IOSCHED_CFQ=m # CONFIG_DEFAULT_AS is not set CONFIG_DEFAULT_DEADLINE=y # CONFIG_DEFAULT_CFQ is not set # CONFIG_DEFAULT_NOOP is not set CONFIG_DEFAULT_IOSCHED="deadline" CONFIG_FREEZER=y CONFIG_PPC_MSI_BITMAP=y # # Platform support # CONFIG_PPC_CHRP=y CONFIG_PPC_MPC512x=y CONFIG_PPC_MPC5121=y # CONFIG_MPC5121_ADS is not set CONFIG_MPC5121_GENERIC=y CONFIG_PPC_MPC52xx=y # CONFIG_PPC_MPC5200_SIMPLE is not set CONFIG_PPC_EFIKA=y CONFIG_PPC_LITE5200=y # CONFIG_PPC_MEDIA5200 is not set CONFIG_PPC_MPC5200_B
[BUILD FAILURE 03/12] Next April 21 : PPC64 randconfig [arch/powerpc/kernel/of_platform.o]
Reported this earlier on 14th April 2009: http://lkml.org/lkml/2009/4/14/480, Michael, Any fix in sight ? http://lkml.org/lkml/2009/4/14/676, CC arch/powerpc/kernel/of_platform.o arch/powerpc/kernel/of_platform.c: In function ‘of_pci_phb_probe’: arch/powerpc/kernel/of_platform.c:270: error: implicit declaration of function ‘pci_devs_phb_init_dynamic’ arch/powerpc/kernel/of_platform.c:279: error: implicit declaration of function ‘scan_phb’ arch/powerpc/kernel/of_platform.c:295: error: implicit declaration of function ‘pci_bus_add_devices’ make[1]: *** [arch/powerpc/kernel/of_platform.o] Error 1 make: *** [arch/powerpc/kernel] Error 2 --- Regards-- Subrata # # Automatically generated make config: don't edit # Linux kernel version: 2.6.30-rc2 # Tue Apr 21 03:35:34 2009 # CONFIG_PPC64=y # # Processor support # CONFIG_PPC_BOOK3S=y # CONFIG_POWER4_ONLY is not set CONFIG_POWER3=y CONFIG_POWER4=y CONFIG_TUNE_CELL=y CONFIG_PPC_FPU=y CONFIG_ALTIVEC=y CONFIG_VSX=y CONFIG_PPC_STD_MMU=y CONFIG_PPC_STD_MMU_64=y CONFIG_PPC_MM_SLICES=y # CONFIG_VIRT_CPU_ACCOUNTING is not set # CONFIG_SMP is not set CONFIG_64BIT=y CONFIG_WORD_SIZE=64 CONFIG_ARCH_PHYS_ADDR_T_64BIT=y CONFIG_MMU=y CONFIG_GENERIC_CMOS_UPDATE=y CONFIG_GENERIC_TIME=y CONFIG_GENERIC_TIME_VSYSCALL=y CONFIG_GENERIC_CLOCKEVENTS=y CONFIG_GENERIC_HARDIRQS=y CONFIG_HAVE_SETUP_PER_CPU_AREA=y CONFIG_IRQ_PER_CPU=y CONFIG_STACKTRACE_SUPPORT=y CONFIG_HAVE_LATENCYTOP_SUPPORT=y CONFIG_TRACE_IRQFLAGS_SUPPORT=y CONFIG_LOCKDEP_SUPPORT=y CONFIG_RWSEM_XCHGADD_ALGORITHM=y CONFIG_ARCH_HAS_ILOG2_U32=y CONFIG_ARCH_HAS_ILOG2_U64=y CONFIG_GENERIC_HWEIGHT=y CONFIG_GENERIC_CALIBRATE_DELAY=y CONFIG_GENERIC_FIND_NEXT_BIT=y CONFIG_GENERIC_GPIO=y CONFIG_ARCH_NO_VIRT_TO_BUS=y CONFIG_PPC=y CONFIG_EARLY_PRINTK=y CONFIG_COMPAT=y CONFIG_SCHED_OMIT_FRAME_POINTER=y # CONFIG_ARCH_MAY_HAVE_PC_FDC is not set CONFIG_PPC_OF=y CONFIG_OF=y CONFIG_PPC_UDBG_16550=y # CONFIG_GENERIC_TBSYNC is not set CONFIG_AUDIT_ARCH=y CONFIG_GENERIC_BUG=y # CONFIG_DEFAULT_UIMAGE is not set # CONFIG_PPC_DCR_NATIVE is not set CONFIG_PPC_DCR_MMIO=y CONFIG_PPC_DCR=y CONFIG_PPC_OF_PLATFORM_PCI=y CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" # # General setup # CONFIG_EXPERIMENTAL=y CONFIG_BROKEN_ON_SMP=y CONFIG_INIT_ENV_ARG_LIMIT=32 CONFIG_LOCALVERSION="" CONFIG_LOCALVERSION_AUTO=y # CONFIG_SYSVIPC is not set CONFIG_BSD_PROCESS_ACCT=y CONFIG_BSD_PROCESS_ACCT_V3=y # # RCU Subsystem # CONFIG_CLASSIC_RCU=y # CONFIG_TREE_RCU is not set # CONFIG_PREEMPT_RCU is not set # CONFIG_TREE_RCU_TRACE is not set # CONFIG_PREEMPT_RCU_TRACE is not set CONFIG_IKCONFIG=y # CONFIG_IKCONFIG_PROC is not set CONFIG_LOG_BUF_SHIFT=17 CONFIG_GROUP_SCHED=y CONFIG_FAIR_GROUP_SCHED=y CONFIG_RT_GROUP_SCHED=y CONFIG_USER_SCHED=y # CONFIG_CGROUP_SCHED is not set # CONFIG_CGROUPS is not set CONFIG_SYSFS_DEPRECATED=y CONFIG_SYSFS_DEPRECATED_V2=y # CONFIG_RELAY is not set # CONFIG_NAMESPACES is not set CONFIG_BLK_DEV_INITRD=y CONFIG_INITRAMFS_SOURCE="" # CONFIG_RD_GZIP is not set CONFIG_RD_BZIP2=y # CONFIG_RD_LZMA is not set CONFIG_CC_OPTIMIZE_FOR_SIZE=y CONFIG_SYSCTL=y CONFIG_ANON_INODES=y CONFIG_EMBEDDED=y CONFIG_SYSCTL_SYSCALL=y CONFIG_KALLSYMS=y CONFIG_KALLSYMS_ALL=y CONFIG_KALLSYMS_EXTRA_PASS=y # CONFIG_STRIP_ASM_SYMS is not set # CONFIG_HOTPLUG is not set CONFIG_PRINTK=y CONFIG_BUG=y # CONFIG_ELF_CORE is not set CONFIG_PCSPKR_PLATFORM=y CONFIG_BASE_FULL=y # CONFIG_FUTEX is not set # CONFIG_EPOLL is not set # CONFIG_SIGNALFD is not set # CONFIG_TIMERFD is not set CONFIG_EVENTFD=y # CONFIG_SHMEM is not set # CONFIG_AIO is not set CONFIG_VM_EVENT_COUNTERS=y CONFIG_SLUB_DEBUG=y CONFIG_COMPAT_BRK=y # CONFIG_SLAB_ALLOCATOR is not set CONFIG_SLUB_ALLOCATOR=y CONFIG_SLUB=y # CONFIG_SLQB_ALLOCATOR is not set # CONFIG_SLOB is not set CONFIG_PROFILING=y CONFIG_TRACEPOINTS=y CONFIG_MARKERS=y CONFIG_OPROFILE=y CONFIG_HAVE_OPROFILE=y CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y CONFIG_HAVE_SYSCALL_WRAPPERS=y CONFIG_HAVE_IOREMAP_PROT=y CONFIG_HAVE_KPROBES=y CONFIG_HAVE_KRETPROBES=y CONFIG_HAVE_ARCH_TRACEHOOK=y CONFIG_HAVE_DMA_ATTRS=y CONFIG_SLOW_WORK=y # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set CONFIG_SLABINFO=y CONFIG_BASE_SMALL=0 # CONFIG_MODULES is not set # CONFIG_BLOCK is not set # CONFIG_FREEZER is not set # # Platform support # CONFIG_PPC_PSERIES=y CONFIG_PPC_SPLPAR=y CONFIG_SCANLOG=y CONFIG_LPARCFG=y # CONFIG_PPC_PSERIES_DEBUG is not set CONFIG_PPC_SMLPAR=y # CONFIG_CMM is not set CONFIG_DTL=y # CONFIG_PPC_ISERIES is not set # CONFIG_PPC_PMAC is not set # CONFIG_PPC_MAPLE is not set # CONFIG_PPC_PASEMI is not set # CONFIG_PPC_PS3 is not set CONFIG_PPC_CELL=y CONFIG_PPC_CELL_COMMON=y CONFIG_PPC_CELL_NATIVE=y CONFIG_PPC_IBM_CELL_BLADE=y # CONFIG_PPC_CELLEB is not set # CONFIG_PPC_CELL_QPACE is not set # # Cell Broadband Engine options # CONFIG_SPU_FS=y # CONFIG_SPU_FS_64K_LS is not set # CONFIG_SPU_TRACE is not set CONFIG_SPU_BASE=y # CONFIG_CBE_RAS is not set CONFIG_PPC_IBM_CELL_POWERBUTTON=y CONFIG
[BUILD FAILURE 05/12] Next April 21 : PPC64 randconfig [drivers/macintosh/mediabay.o]
Reported this earlier on 14th April: http://lkml.org/lkml/2009/4/14/490, Is there a solution available ? CC drivers/macintosh/mediabay.o In file included from drivers/macintosh/mediabay.c:21: include/linux/ide.h:610: error: field ‘sense_rq’ has incomplete type make[2]: *** [drivers/macintosh/mediabay.o] Error 1 make[1]: *** [drivers/macintosh] Error 2 make: *** [drivers] Error 2 --- Regards-- Subrata # # Automatically generated make config: don't edit # Linux kernel version: 2.6.30-rc2 # Tue Apr 21 03:35:47 2009 # # CONFIG_PPC64 is not set # # Processor support # CONFIG_6xx=y # CONFIG_PPC_85xx is not set # CONFIG_PPC_8xx is not set # CONFIG_40x is not set # CONFIG_44x is not set # CONFIG_E200 is not set CONFIG_PPC_BOOK3S=y CONFIG_PPC_FPU=y # CONFIG_ALTIVEC is not set CONFIG_PPC_STD_MMU=y CONFIG_PPC_STD_MMU_32=y # CONFIG_PPC_MM_SLICES is not set # CONFIG_SMP is not set CONFIG_NOT_COHERENT_CACHE=y CONFIG_CHECK_CACHE_COHERENCY=y CONFIG_PPC32=y CONFIG_WORD_SIZE=32 # CONFIG_ARCH_PHYS_ADDR_T_64BIT is not set CONFIG_MMU=y CONFIG_GENERIC_CMOS_UPDATE=y CONFIG_GENERIC_TIME=y CONFIG_GENERIC_TIME_VSYSCALL=y CONFIG_GENERIC_CLOCKEVENTS=y CONFIG_GENERIC_HARDIRQS=y # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set CONFIG_IRQ_PER_CPU=y CONFIG_STACKTRACE_SUPPORT=y CONFIG_HAVE_LATENCYTOP_SUPPORT=y CONFIG_LOCKDEP_SUPPORT=y CONFIG_RWSEM_XCHGADD_ALGORITHM=y CONFIG_ARCH_HAS_ILOG2_U32=y CONFIG_GENERIC_HWEIGHT=y CONFIG_GENERIC_CALIBRATE_DELAY=y CONFIG_GENERIC_FIND_NEXT_BIT=y CONFIG_GENERIC_GPIO=y # CONFIG_ARCH_NO_VIRT_TO_BUS is not set CONFIG_PPC=y CONFIG_EARLY_PRINTK=y CONFIG_GENERIC_NVRAM=y CONFIG_SCHED_OMIT_FRAME_POINTER=y CONFIG_ARCH_MAY_HAVE_PC_FDC=y CONFIG_PPC_OF=y CONFIG_OF=y CONFIG_PPC_UDBG_16550=y # CONFIG_GENERIC_TBSYNC is not set CONFIG_AUDIT_ARCH=y CONFIG_DEFAULT_UIMAGE=y CONFIG_HIBERNATE_32=y CONFIG_ARCH_HIBERNATION_POSSIBLE=y # CONFIG_PPC_DCR_NATIVE is not set # CONFIG_PPC_DCR_MMIO is not set CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" # # General setup # # CONFIG_EXPERIMENTAL is not set CONFIG_BROKEN_ON_SMP=y CONFIG_INIT_ENV_ARG_LIMIT=32 CONFIG_LOCALVERSION="" # CONFIG_LOCALVERSION_AUTO is not set CONFIG_SYSVIPC=y CONFIG_SYSVIPC_SYSCTL=y # CONFIG_BSD_PROCESS_ACCT is not set CONFIG_TASKSTATS=y CONFIG_TASK_DELAY_ACCT=y CONFIG_TASK_XACCT=y CONFIG_TASK_IO_ACCOUNTING=y CONFIG_AUDIT=y CONFIG_AUDITSYSCALL=y CONFIG_AUDIT_TREE=y # # RCU Subsystem # CONFIG_CLASSIC_RCU=y # CONFIG_TREE_RCU is not set # CONFIG_PREEMPT_RCU is not set # CONFIG_TREE_RCU_TRACE is not set # CONFIG_PREEMPT_RCU_TRACE is not set CONFIG_IKCONFIG=m CONFIG_LOG_BUF_SHIFT=17 CONFIG_CGROUPS=y # CONFIG_CGROUP_DEBUG is not set # CONFIG_CGROUP_NS is not set CONFIG_CGROUP_FREEZER=y CONFIG_CPUSETS=y # CONFIG_PROC_PID_CPUSET is not set CONFIG_CGROUP_CPUACCT=y # CONFIG_RESOURCE_COUNTERS is not set # CONFIG_SYSFS_DEPRECATED_V2 is not set CONFIG_RELAY=y CONFIG_NAMESPACES=y CONFIG_UTS_NS=y CONFIG_IPC_NS=y CONFIG_BLK_DEV_INITRD=y CONFIG_INITRAMFS_SOURCE="" # CONFIG_RD_GZIP is not set CONFIG_RD_BZIP2=y # CONFIG_RD_LZMA is not set # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set CONFIG_SYSCTL=y CONFIG_ANON_INODES=y CONFIG_EMBEDDED=y CONFIG_SYSCTL_SYSCALL=y CONFIG_KALLSYMS=y CONFIG_KALLSYMS_ALL=y CONFIG_KALLSYMS_EXTRA_PASS=y # CONFIG_STRIP_ASM_SYMS is not set CONFIG_HOTPLUG=y # CONFIG_PRINTK is not set # CONFIG_BUG is not set # CONFIG_ELF_CORE is not set CONFIG_PCSPKR_PLATFORM=y CONFIG_BASE_FULL=y # CONFIG_FUTEX is not set # CONFIG_EPOLL is not set CONFIG_SIGNALFD=y CONFIG_TIMERFD=y CONFIG_EVENTFD=y CONFIG_SHMEM=y # CONFIG_AIO is not set CONFIG_VM_EVENT_COUNTERS=y CONFIG_PCI_QUIRKS=y # CONFIG_COMPAT_BRK is not set # CONFIG_SLAB_ALLOCATOR is not set # CONFIG_SLUB_ALLOCATOR is not set # CONFIG_SLQB_ALLOCATOR is not set CONFIG_SLOB=y # CONFIG_PROFILING is not set CONFIG_TRACEPOINTS=y CONFIG_MARKERS=y CONFIG_HAVE_OPROFILE=y CONFIG_KPROBES=y CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y CONFIG_KRETPROBES=y CONFIG_HAVE_IOREMAP_PROT=y CONFIG_HAVE_KPROBES=y CONFIG_HAVE_KRETPROBES=y CONFIG_HAVE_ARCH_TRACEHOOK=y CONFIG_HAVE_CLK=y # CONFIG_SLOW_WORK is not set # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set CONFIG_BASE_SMALL=0 CONFIG_MODULES=y CONFIG_MODULE_FORCE_LOAD=y CONFIG_MODULE_UNLOAD=y # CONFIG_MODVERSIONS is not set CONFIG_MODULE_SRCVERSION_ALL=y # CONFIG_BLOCK is not set CONFIG_FREEZER=y CONFIG_PPC_MSI_BITMAP=y # # Platform support # CONFIG_PPC_CHRP=y CONFIG_PPC_MPC512x=y CONFIG_PPC_MPC5121=y CONFIG_MPC5121_ADS=y CONFIG_MPC5121_GENERIC=y CONFIG_PPC_MPC52xx=y # CONFIG_PPC_MPC5200_SIMPLE is not set # CONFIG_PPC_EFIKA is not set # CONFIG_PPC_LITE5200 is not set CONFIG_PPC_MEDIA5200=y CONFIG_PPC_MPC5200_BUGFIX=y # CONFIG_PPC_MPC5200_GPIO is not set CONFIG_PPC_PMAC=y # CONFIG_PPC_CELL is not set # CONFIG_PPC_CELL_NATIVE is not set CONFIG_PPC_82xx=y # CONFIG_MPC8272_ADS is not set CONFIG_PQ2FADS=y # CONFIG_EP8248E is not set # CONFIG_MGCOGE is not set CONFIG_PQ2ADS=y CONFIG_8260=y CONFIG_PQ2_ADS_PCI_PIC=y # CONFIG_PPC_83xx is not set
[BUILD FAILURE 08/12] Next April 21 : PPC64 randconfig [drivers/net/pasemi_mac_driver.ko]
Reported this on 9th April earlier: http://lkml.org/lkml/2009/4/9/276, I hope the following Patch will solve this problem as well: Geoff Levand provided a patch on 17th April. http://lkml.org/lkml/2009/4/17/313, WRAParch/powerpc/boot/zImage.pmac strip -s -R .comment vmlinux -o arch/powerpc/boot/zImage.iseries printf "\x02" | dd of=arch/powerpc/boot/zImage.iseries conv=notrunc bs=1 seek=17 1+0 records in 1+0 records out 1 byte (1 B) copied, 0.0358298 s, 0.0 kB/s Building modules, stage 2. MODPOST 338 modules ERROR: ".lro_receive_skb" [drivers/net/pasemi_mac_driver.ko] undefined! ERROR: ".lro_flush_all" [drivers/net/pasemi_mac_driver.ko] undefined! WARNING: modpost: Found 1 section mismatch(es). To see full details build your kernel with: 'make CONFIG_DEBUG_SECTION_MISMATCH=y' make[1]: *** [__modpost] Error 1 make: *** [modules] Error 2 --- Regards-- Subrata # # Automatically generated make config: don't edit # Linux kernel version: 2.6.30-rc2 # Tue Apr 21 03:35:41 2009 # CONFIG_PPC64=y # # Processor support # CONFIG_PPC_BOOK3S=y CONFIG_POWER4_ONLY=y CONFIG_POWER4=y CONFIG_TUNE_CELL=y CONFIG_PPC_FPU=y CONFIG_ALTIVEC=y CONFIG_VSX=y CONFIG_PPC_STD_MMU=y CONFIG_PPC_STD_MMU_64=y CONFIG_PPC_MM_SLICES=y CONFIG_VIRT_CPU_ACCOUNTING=y CONFIG_SMP=y CONFIG_NR_CPUS=32 CONFIG_64BIT=y CONFIG_WORD_SIZE=64 CONFIG_ARCH_PHYS_ADDR_T_64BIT=y CONFIG_MMU=y CONFIG_GENERIC_CMOS_UPDATE=y CONFIG_GENERIC_TIME=y CONFIG_GENERIC_TIME_VSYSCALL=y CONFIG_GENERIC_CLOCKEVENTS=y CONFIG_GENERIC_HARDIRQS=y CONFIG_HAVE_SETUP_PER_CPU_AREA=y CONFIG_IRQ_PER_CPU=y CONFIG_STACKTRACE_SUPPORT=y CONFIG_HAVE_LATENCYTOP_SUPPORT=y CONFIG_TRACE_IRQFLAGS_SUPPORT=y CONFIG_LOCKDEP_SUPPORT=y CONFIG_RWSEM_XCHGADD_ALGORITHM=y CONFIG_GENERIC_LOCKBREAK=y CONFIG_ARCH_HAS_ILOG2_U32=y CONFIG_ARCH_HAS_ILOG2_U64=y CONFIG_GENERIC_HWEIGHT=y CONFIG_GENERIC_CALIBRATE_DELAY=y CONFIG_GENERIC_FIND_NEXT_BIT=y CONFIG_GENERIC_GPIO=y CONFIG_ARCH_NO_VIRT_TO_BUS=y CONFIG_PPC=y CONFIG_EARLY_PRINTK=y CONFIG_COMPAT=y CONFIG_SYSVIPC_COMPAT=y CONFIG_SCHED_OMIT_FRAME_POINTER=y CONFIG_ARCH_MAY_HAVE_PC_FDC=y CONFIG_PPC_OF=y CONFIG_OF=y CONFIG_PPC_UDBG_16550=y CONFIG_GENERIC_TBSYNC=y CONFIG_AUDIT_ARCH=y CONFIG_GENERIC_BUG=y # CONFIG_DEFAULT_UIMAGE is not set CONFIG_ARCH_SUSPEND_POSSIBLE=y # CONFIG_PPC_DCR_NATIVE is not set CONFIG_PPC_DCR_MMIO=y CONFIG_PPC_DCR=y CONFIG_PPC_OF_PLATFORM_PCI=y CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" # # General setup # # CONFIG_EXPERIMENTAL is not set CONFIG_LOCK_KERNEL=y CONFIG_INIT_ENV_ARG_LIMIT=32 CONFIG_LOCALVERSION="" # CONFIG_LOCALVERSION_AUTO is not set # CONFIG_SWAP is not set CONFIG_SYSVIPC=y CONFIG_SYSVIPC_SYSCTL=y CONFIG_BSD_PROCESS_ACCT=y CONFIG_BSD_PROCESS_ACCT_V3=y # CONFIG_TASKSTATS is not set # CONFIG_AUDIT is not set # # RCU Subsystem # # CONFIG_CLASSIC_RCU is not set # CONFIG_TREE_RCU is not set CONFIG_PREEMPT_RCU=y # CONFIG_RCU_TRACE is not set # CONFIG_TREE_RCU_TRACE is not set # CONFIG_PREEMPT_RCU_TRACE is not set CONFIG_IKCONFIG=m CONFIG_IKCONFIG_PROC=y CONFIG_LOG_BUF_SHIFT=17 # CONFIG_CGROUPS is not set # CONFIG_SYSFS_DEPRECATED_V2 is not set CONFIG_RELAY=y CONFIG_NAMESPACES=y CONFIG_UTS_NS=y CONFIG_IPC_NS=y CONFIG_BLK_DEV_INITRD=y CONFIG_INITRAMFS_SOURCE="" CONFIG_RD_GZIP=y CONFIG_RD_BZIP2=y CONFIG_RD_LZMA=y # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set CONFIG_SYSCTL=y CONFIG_ANON_INODES=y # CONFIG_EMBEDDED is not set CONFIG_SYSCTL_SYSCALL=y CONFIG_KALLSYMS=y CONFIG_KALLSYMS_ALL=y # CONFIG_KALLSYMS_EXTRA_PASS is not set CONFIG_STRIP_ASM_SYMS=y CONFIG_HOTPLUG=y CONFIG_PRINTK=y CONFIG_BUG=y CONFIG_ELF_CORE=y CONFIG_PCSPKR_PLATFORM=y CONFIG_BASE_FULL=y CONFIG_FUTEX=y CONFIG_EPOLL=y CONFIG_SIGNALFD=y CONFIG_TIMERFD=y CONFIG_EVENTFD=y CONFIG_SHMEM=y CONFIG_AIO=y CONFIG_VM_EVENT_COUNTERS=y CONFIG_PCI_QUIRKS=y # CONFIG_COMPAT_BRK is not set # CONFIG_SLAB_ALLOCATOR is not set # CONFIG_SLUB_ALLOCATOR is not set CONFIG_SLQB_ALLOCATOR=y CONFIG_SLQB=y # CONFIG_SLOB is not set CONFIG_PROFILING=y CONFIG_TRACEPOINTS=y CONFIG_MARKERS=y CONFIG_OPROFILE=m CONFIG_HAVE_OPROFILE=y # CONFIG_KPROBES is not set CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y CONFIG_HAVE_SYSCALL_WRAPPERS=y CONFIG_HAVE_IOREMAP_PROT=y CONFIG_HAVE_KPROBES=y CONFIG_HAVE_KRETPROBES=y CONFIG_HAVE_ARCH_TRACEHOOK=y CONFIG_HAVE_DMA_ATTRS=y CONFIG_USE_GENERIC_SMP_HELPERS=y # CONFIG_SLOW_WORK is not set # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set CONFIG_SLABINFO=y CONFIG_RT_MUTEXES=y CONFIG_BASE_SMALL=0 CONFIG_MODULES=y # CONFIG_MODULE_FORCE_LOAD is not set # CONFIG_MODULE_UNLOAD is not set CONFIG_MODVERSIONS=y CONFIG_MODULE_SRCVERSION_ALL=y CONFIG_BLOCK=y CONFIG_BLK_DEV_INTEGRITY=y CONFIG_BLOCK_COMPAT=y # # IO Schedulers # CONFIG_IOSCHED_NOOP=y CONFIG_IOSCHED_AS=m CONFIG_IOSCHED_DEADLINE=m CONFIG_IOSCHED_CFQ=m # CONFIG_DEFAULT_AS is not set # CONFIG_DEFAULT_DEADLINE is not set # CONFIG_DEFAULT_CFQ is not set CONFIG_DEFAULT_NOOP=y CONFIG_DEFAULT_IOSCHED="noop" # CONFIG_FREEZER is not set CONFIG_PPC_MSI_BITMAP=y # # Platform s
[BUILD FAILURE 11/12] Next April 21 : PPC64 randconfig [drivers/usb/host/ohci-hcd.o]
Observing this for the first time: CC drivers/usb/host/ohci-hcd.o In file included from drivers/usb/host/ohci-hcd.c:1060: drivers/usb/host/ohci-ppc-of.c:242:2: error: #error "No endianess selected for ppc-of-ohci" make[3]: *** [drivers/usb/host/ohci-hcd.o] Error 1 make[2]: *** [drivers/usb/host] Error 2 make[1]: *** [drivers/usb] Error 2 make: *** [drivers] Error 2 --- Regards-- Subrata # # Automatically generated make config: don't edit # Linux kernel version: 2.6.30-rc2 # Tue Apr 21 06:12:59 2009 # # CONFIG_PPC64 is not set # # Processor support # CONFIG_6xx=y # CONFIG_PPC_85xx is not set # CONFIG_PPC_8xx is not set # CONFIG_40x is not set # CONFIG_44x is not set # CONFIG_E200 is not set CONFIG_PPC_BOOK3S=y CONFIG_PPC_FPU=y CONFIG_ALTIVEC=y CONFIG_PPC_STD_MMU=y CONFIG_PPC_STD_MMU_32=y # CONFIG_PPC_MM_SLICES is not set CONFIG_SMP=y CONFIG_NR_CPUS=4 CONFIG_NOT_COHERENT_CACHE=y CONFIG_PPC32=y CONFIG_WORD_SIZE=32 # CONFIG_ARCH_PHYS_ADDR_T_64BIT is not set CONFIG_MMU=y CONFIG_GENERIC_CMOS_UPDATE=y CONFIG_GENERIC_TIME=y CONFIG_GENERIC_TIME_VSYSCALL=y CONFIG_GENERIC_CLOCKEVENTS=y CONFIG_GENERIC_HARDIRQS=y # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set CONFIG_IRQ_PER_CPU=y CONFIG_STACKTRACE_SUPPORT=y CONFIG_HAVE_LATENCYTOP_SUPPORT=y CONFIG_LOCKDEP_SUPPORT=y CONFIG_RWSEM_XCHGADD_ALGORITHM=y CONFIG_ARCH_HAS_ILOG2_U32=y CONFIG_GENERIC_HWEIGHT=y CONFIG_GENERIC_CALIBRATE_DELAY=y CONFIG_GENERIC_FIND_NEXT_BIT=y CONFIG_GENERIC_GPIO=y # CONFIG_ARCH_NO_VIRT_TO_BUS is not set CONFIG_PPC=y CONFIG_EARLY_PRINTK=y CONFIG_GENERIC_NVRAM=y CONFIG_SCHED_OMIT_FRAME_POINTER=y CONFIG_ARCH_MAY_HAVE_PC_FDC=y CONFIG_PPC_OF=y CONFIG_OF=y CONFIG_PPC_UDBG_16550=y CONFIG_GENERIC_TBSYNC=y CONFIG_AUDIT_ARCH=y CONFIG_GENERIC_BUG=y CONFIG_DEFAULT_UIMAGE=y # CONFIG_PPC_DCR_NATIVE is not set # CONFIG_PPC_DCR_MMIO is not set CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" # # General setup # CONFIG_EXPERIMENTAL=y CONFIG_LOCK_KERNEL=y CONFIG_INIT_ENV_ARG_LIMIT=32 CONFIG_LOCALVERSION="" CONFIG_LOCALVERSION_AUTO=y # CONFIG_SYSVIPC is not set # CONFIG_POSIX_MQUEUE is not set # CONFIG_BSD_PROCESS_ACCT is not set CONFIG_TASKSTATS=y CONFIG_TASK_DELAY_ACCT=y CONFIG_TASK_XACCT=y CONFIG_TASK_IO_ACCOUNTING=y CONFIG_AUDIT=y CONFIG_AUDITSYSCALL=y CONFIG_AUDIT_TREE=y # # RCU Subsystem # CONFIG_CLASSIC_RCU=y # CONFIG_TREE_RCU is not set # CONFIG_PREEMPT_RCU is not set # CONFIG_TREE_RCU_TRACE is not set # CONFIG_PREEMPT_RCU_TRACE is not set # CONFIG_IKCONFIG is not set CONFIG_LOG_BUF_SHIFT=17 CONFIG_GROUP_SCHED=y # CONFIG_FAIR_GROUP_SCHED is not set # CONFIG_RT_GROUP_SCHED is not set # CONFIG_USER_SCHED is not set CONFIG_CGROUP_SCHED=y CONFIG_CGROUPS=y CONFIG_CGROUP_DEBUG=y CONFIG_CGROUP_NS=y CONFIG_CGROUP_FREEZER=y CONFIG_CGROUP_DEVICE=y CONFIG_CPUSETS=y # CONFIG_PROC_PID_CPUSET is not set CONFIG_CGROUP_CPUACCT=y CONFIG_RESOURCE_COUNTERS=y # CONFIG_CGROUP_MEM_RES_CTLR is not set CONFIG_RELAY=y CONFIG_NAMESPACES=y # CONFIG_UTS_NS is not set CONFIG_USER_NS=y # CONFIG_PID_NS is not set # CONFIG_NET_NS is not set # CONFIG_BLK_DEV_INITRD is not set CONFIG_CC_OPTIMIZE_FOR_SIZE=y CONFIG_SYSCTL=y CONFIG_ANON_INODES=y CONFIG_EMBEDDED=y CONFIG_SYSCTL_SYSCALL=y CONFIG_KALLSYMS=y CONFIG_KALLSYMS_EXTRA_PASS=y CONFIG_STRIP_ASM_SYMS=y CONFIG_HOTPLUG=y CONFIG_PRINTK=y CONFIG_BUG=y # CONFIG_ELF_CORE is not set CONFIG_PCSPKR_PLATFORM=y CONFIG_BASE_FULL=y # CONFIG_FUTEX is not set CONFIG_EPOLL=y # CONFIG_SIGNALFD is not set # CONFIG_TIMERFD is not set # CONFIG_EVENTFD is not set CONFIG_SHMEM=y CONFIG_AIO=y CONFIG_VM_EVENT_COUNTERS=y CONFIG_PCI_QUIRKS=y # CONFIG_COMPAT_BRK is not set CONFIG_SLAB_ALLOCATOR=y CONFIG_SLAB=y # CONFIG_SLUB_ALLOCATOR is not set # CONFIG_SLQB_ALLOCATOR is not set # CONFIG_SLOB is not set # CONFIG_PROFILING is not set CONFIG_TRACEPOINTS=y CONFIG_MARKERS=y CONFIG_HAVE_OPROFILE=y CONFIG_KPROBES=y CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y CONFIG_KRETPROBES=y CONFIG_HAVE_IOREMAP_PROT=y CONFIG_HAVE_KPROBES=y CONFIG_HAVE_KRETPROBES=y CONFIG_HAVE_ARCH_TRACEHOOK=y CONFIG_USE_GENERIC_SMP_HELPERS=y CONFIG_HAVE_CLK=y # CONFIG_SLOW_WORK is not set # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set CONFIG_SLABINFO=y CONFIG_BASE_SMALL=0 CONFIG_MODULES=y CONFIG_MODULE_FORCE_LOAD=y CONFIG_MODULE_UNLOAD=y # CONFIG_MODULE_FORCE_UNLOAD is not set # CONFIG_MODVERSIONS is not set CONFIG_MODULE_SRCVERSION_ALL=y CONFIG_STOP_MACHINE=y # CONFIG_BLOCK is not set CONFIG_FREEZER=y # # Platform support # CONFIG_PPC_CHRP=y CONFIG_PPC_MPC512x=y CONFIG_PPC_MPC5121=y CONFIG_MPC5121_ADS=y # CONFIG_MPC5121_GENERIC is not set # CONFIG_PPC_MPC52xx is not set # CONFIG_PPC_PMAC is not set # CONFIG_PPC_CELL is not set # CONFIG_PPC_CELL_NATIVE is not set CONFIG_PPC_82xx=y CONFIG_MPC8272_ADS=y CONFIG_PQ2FADS=y CONFIG_EP8248E=y CONFIG_MGCOGE=y CONFIG_PQ2ADS=y CONFIG_8260=y CONFIG_8272=y CONFIG_PQ2_ADS_PCI_PIC=y # CONFIG_PPC_83xx is not set CONFIG_PPC_86xx=y # CONFIG_MPC8641_HPCN is not set # CONFIG_SBC8641D is not set CONFIG_MPC8610_HPCD=y CONFI
[BUILD FAILURE 12/12] Next April 21 : PPC64 randconfig [crypto/async_tx/async_xor.o]
Observing this also for the first time: CC crypto/async_tx/async_xor.o crypto/async_tx/async_xor.c: In function ‘async_xor_init’: crypto/async_tx/async_xor.c:310: error: size of array ‘type name’ is negative make[2]: *** [crypto/async_tx/async_xor.o] Error 1 make[1]: *** [crypto/async_tx] Error 2 make: *** [crypto] Error 2 --- Regards-- Subrata # # Automatically generated make config: don't edit # Linux kernel version: 2.6.30-rc2 # Tue Apr 21 06:18:52 2009 # # CONFIG_PPC64 is not set # # Processor support # CONFIG_6xx=y # CONFIG_PPC_85xx is not set # CONFIG_PPC_8xx is not set # CONFIG_40x is not set # CONFIG_44x is not set # CONFIG_E200 is not set CONFIG_PPC_BOOK3S=y CONFIG_PPC_FPU=y CONFIG_PTE_64BIT=y CONFIG_PHYS_64BIT=y CONFIG_ALTIVEC=y CONFIG_PPC_STD_MMU=y CONFIG_PPC_STD_MMU_32=y # CONFIG_PPC_MM_SLICES is not set CONFIG_SMP=y CONFIG_NR_CPUS=4 CONFIG_NOT_COHERENT_CACHE=y CONFIG_PPC32=y CONFIG_WORD_SIZE=32 CONFIG_ARCH_PHYS_ADDR_T_64BIT=y CONFIG_MMU=y CONFIG_GENERIC_CMOS_UPDATE=y CONFIG_GENERIC_TIME=y CONFIG_GENERIC_TIME_VSYSCALL=y CONFIG_GENERIC_CLOCKEVENTS=y CONFIG_GENERIC_HARDIRQS=y # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set CONFIG_IRQ_PER_CPU=y CONFIG_STACKTRACE_SUPPORT=y CONFIG_HAVE_LATENCYTOP_SUPPORT=y CONFIG_LOCKDEP_SUPPORT=y CONFIG_RWSEM_XCHGADD_ALGORITHM=y CONFIG_GENERIC_LOCKBREAK=y CONFIG_ARCH_HAS_ILOG2_U32=y CONFIG_GENERIC_HWEIGHT=y CONFIG_GENERIC_CALIBRATE_DELAY=y CONFIG_GENERIC_FIND_NEXT_BIT=y CONFIG_GENERIC_GPIO=y # CONFIG_ARCH_NO_VIRT_TO_BUS is not set CONFIG_PPC=y CONFIG_EARLY_PRINTK=y CONFIG_GENERIC_NVRAM=y CONFIG_SCHED_OMIT_FRAME_POINTER=y CONFIG_ARCH_MAY_HAVE_PC_FDC=y CONFIG_PPC_OF=y CONFIG_OF=y CONFIG_PPC_UDBG_16550=y CONFIG_GENERIC_TBSYNC=y CONFIG_AUDIT_ARCH=y CONFIG_DEFAULT_UIMAGE=y # CONFIG_PPC_DCR_NATIVE is not set # CONFIG_PPC_DCR_MMIO is not set CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" # # General setup # CONFIG_EXPERIMENTAL=y CONFIG_LOCK_KERNEL=y CONFIG_INIT_ENV_ARG_LIMIT=32 CONFIG_LOCALVERSION="" # CONFIG_LOCALVERSION_AUTO is not set CONFIG_SWAP=y CONFIG_SYSVIPC=y CONFIG_SYSVIPC_SYSCTL=y CONFIG_POSIX_MQUEUE=y CONFIG_POSIX_MQUEUE_SYSCTL=y CONFIG_BSD_PROCESS_ACCT=y # CONFIG_BSD_PROCESS_ACCT_V3 is not set # CONFIG_TASKSTATS is not set CONFIG_AUDIT=y CONFIG_AUDITSYSCALL=y CONFIG_AUDIT_TREE=y # # RCU Subsystem # # CONFIG_CLASSIC_RCU is not set # CONFIG_TREE_RCU is not set CONFIG_PREEMPT_RCU=y # CONFIG_RCU_TRACE is not set # CONFIG_TREE_RCU_TRACE is not set # CONFIG_PREEMPT_RCU_TRACE is not set # CONFIG_IKCONFIG is not set CONFIG_LOG_BUF_SHIFT=17 CONFIG_GROUP_SCHED=y # CONFIG_FAIR_GROUP_SCHED is not set CONFIG_RT_GROUP_SCHED=y CONFIG_USER_SCHED=y # CONFIG_CGROUP_SCHED is not set # CONFIG_CGROUPS is not set CONFIG_RELAY=y CONFIG_NAMESPACES=y # CONFIG_UTS_NS is not set # CONFIG_IPC_NS is not set # CONFIG_USER_NS is not set # CONFIG_PID_NS is not set CONFIG_NET_NS=y CONFIG_BLK_DEV_INITRD=y CONFIG_INITRAMFS_SOURCE="" CONFIG_RD_GZIP=y CONFIG_RD_BZIP2=y # CONFIG_RD_LZMA is not set # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set CONFIG_SYSCTL=y CONFIG_ANON_INODES=y CONFIG_EMBEDDED=y CONFIG_SYSCTL_SYSCALL=y CONFIG_KALLSYMS=y CONFIG_KALLSYMS_ALL=y # CONFIG_KALLSYMS_EXTRA_PASS is not set CONFIG_STRIP_ASM_SYMS=y CONFIG_HOTPLUG=y # CONFIG_PRINTK is not set # CONFIG_BUG is not set CONFIG_ELF_CORE=y CONFIG_PCSPKR_PLATFORM=y CONFIG_BASE_FULL=y # CONFIG_FUTEX is not set # CONFIG_EPOLL is not set CONFIG_SIGNALFD=y CONFIG_TIMERFD=y CONFIG_EVENTFD=y CONFIG_SHMEM=y CONFIG_AIO=y CONFIG_VM_EVENT_COUNTERS=y CONFIG_PCI_QUIRKS=y # CONFIG_COMPAT_BRK is not set # CONFIG_SLAB_ALLOCATOR is not set CONFIG_SLUB_ALLOCATOR=y CONFIG_SLUB=y # CONFIG_SLQB_ALLOCATOR is not set # CONFIG_SLOB is not set CONFIG_PROFILING=y CONFIG_TRACEPOINTS=y CONFIG_MARKERS=y # CONFIG_OPROFILE is not set CONFIG_HAVE_OPROFILE=y CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y CONFIG_HAVE_IOREMAP_PROT=y CONFIG_HAVE_KPROBES=y CONFIG_HAVE_KRETPROBES=y CONFIG_HAVE_ARCH_TRACEHOOK=y CONFIG_USE_GENERIC_SMP_HELPERS=y CONFIG_HAVE_CLK=y CONFIG_SLOW_WORK=y # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set CONFIG_BASE_SMALL=0 # CONFIG_MODULES is not set CONFIG_STOP_MACHINE=y CONFIG_BLOCK=y CONFIG_LBD=y CONFIG_BLK_DEV_BSG=y CONFIG_BLK_DEV_INTEGRITY=y # # IO Schedulers # CONFIG_IOSCHED_NOOP=y CONFIG_IOSCHED_AS=y CONFIG_IOSCHED_DEADLINE=y CONFIG_IOSCHED_CFQ=y CONFIG_DEFAULT_AS=y # CONFIG_DEFAULT_DEADLINE is not set # CONFIG_DEFAULT_CFQ is not set # CONFIG_DEFAULT_NOOP is not set CONFIG_DEFAULT_IOSCHED="anticipatory" # CONFIG_FREEZER is not set # # Platform support # CONFIG_PPC_CHRP=y CONFIG_PPC_MPC512x=y CONFIG_PPC_MPC5121=y CONFIG_MPC5121_ADS=y CONFIG_MPC5121_GENERIC=y CONFIG_PPC_MPC52xx=y CONFIG_PPC_MPC5200_SIMPLE=y # CONFIG_PPC_EFIKA is not set # CONFIG_PPC_LITE5200 is not set CONFIG_PPC_MEDIA5200=y CONFIG_PPC_MPC5200_BUGFIX=y # CONFIG_PPC_MPC5200_GPIO is not set CONFIG_PPC_PMAC=y # CONFIG_PPC_CELL is not set # CONFIG_PPC_CELL_NATIVE is not set # CONFIG_PPC_82xx is not set # CONFIG_PQ2ADS is not set
Re: [BUILD FAILURE 02/12] Next April 21 : PPC64 randconfig [drivers/net/ni65.c]
On Wed, 2009-04-22 at 00:20 +0530, Subrata Modak wrote: > I am observing this for the first time: > > CC drivers/net/ni65.o > drivers/net/ni65.c: In function ‘ni65_init_lance’: > drivers/net/ni65.c:585: error: implicit declaration of function > ‘isa_virt_to_bus’ > drivers/net/ni65.c: In function ‘ni65_stop_start’: > drivers/net/ni65.c:757: error: implicit declaration of function > ‘isa_bus_to_virt’ > make[2]: *** [drivers/net/ni65.o] Error 1 > make[1]: *** [drivers/net] Error 2 > make: *** [drivers] Error 2 > --- Is there any specific dependency of whether this should be built only with certain archs ? As the case may be, i found the functions prototypes defined inside the arch specific headers, which definitely will not compile on PPC64: # find . -type f | xargs grep -in isa_virt_to_bus ./arch/alpha/include/asm/io.h:119:#define isa_virt_to_bus virt_to_bus ./arch/arm/include/asm/io.h:33:#define isa_virt_to_bus virt_to_phys ./arch/mips/include/asm/io.h:142:static inline unsigned long isa_virt_to_bus(volatile void * address) ./arch/parisc/include/asm/io.h:17:static inline unsigned long isa_virt_to_bus(void *addr) { ./arch/x86/include/asm/floppy.h:182: isa_virt_to_bus(addr) >= 0x100 || ./arch/x86/include/asm/floppy.h:218:set_dma_addr(FLOPPY_DMA, isa_virt_to_bus(addr)); ./arch/x86/include/asm/io.h:130:static inline unsigned int isa_virt_to_bus(volatile void *address) Then there should be some solution to the problem inside drivers/net/Kconfig Regards-- Subrata > > Regards-- > Subrata > # # Automatically generated make config: don't edit # Linux kernel version: 2.6.30-rc2 # Tue Apr 21 03:35:31 2009 # # CONFIG_PPC64 is not set # # Processor support # CONFIG_6xx=y # CONFIG_PPC_85xx is not set # CONFIG_PPC_8xx is not set # CONFIG_40x is not set # CONFIG_44x is not set # CONFIG_E200 is not set CONFIG_PPC_BOOK3S=y CONFIG_PPC_FPU=y CONFIG_ALTIVEC=y CONFIG_PPC_STD_MMU=y CONFIG_PPC_STD_MMU_32=y # CONFIG_PPC_MM_SLICES is not set CONFIG_SMP=y CONFIG_NR_CPUS=4 CONFIG_NOT_COHERENT_CACHE=y CONFIG_PPC32=y CONFIG_WORD_SIZE=32 # CONFIG_ARCH_PHYS_ADDR_T_64BIT is not set CONFIG_MMU=y CONFIG_GENERIC_CMOS_UPDATE=y CONFIG_GENERIC_TIME=y CONFIG_GENERIC_TIME_VSYSCALL=y CONFIG_GENERIC_CLOCKEVENTS=y CONFIG_GENERIC_HARDIRQS=y # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set CONFIG_IRQ_PER_CPU=y CONFIG_STACKTRACE_SUPPORT=y CONFIG_HAVE_LATENCYTOP_SUPPORT=y CONFIG_LOCKDEP_SUPPORT=y CONFIG_RWSEM_XCHGADD_ALGORITHM=y CONFIG_ARCH_HAS_ILOG2_U32=y CONFIG_GENERIC_HWEIGHT=y CONFIG_GENERIC_CALIBRATE_DELAY=y CONFIG_GENERIC_FIND_NEXT_BIT=y CONFIG_GENERIC_GPIO=y # CONFIG_ARCH_NO_VIRT_TO_BUS is not set CONFIG_PPC=y CONFIG_EARLY_PRINTK=y CONFIG_GENERIC_NVRAM=y CONFIG_SCHED_OMIT_FRAME_POINTER=y CONFIG_ARCH_MAY_HAVE_PC_FDC=y CONFIG_PPC_OF=y CONFIG_OF=y CONFIG_PPC_UDBG_16550=y CONFIG_GENERIC_TBSYNC=y CONFIG_AUDIT_ARCH=y CONFIG_GENERIC_BUG=y CONFIG_DEFAULT_UIMAGE=y CONFIG_ARCH_SUSPEND_POSSIBLE=y # CONFIG_PPC_DCR_NATIVE is not set # CONFIG_PPC_DCR_MMIO is not set CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" # # General setup # # CONFIG_EXPERIMENTAL is not set CONFIG_LOCK_KERNEL=y CONFIG_INIT_ENV_ARG_LIMIT=32 CONFIG_LOCALVERSION="" CONFIG_LOCALVERSION_AUTO=y CONFIG_SWAP=y CONFIG_SYSVIPC=y CONFIG_SYSVIPC_SYSCTL=y CONFIG_BSD_PROCESS_ACCT=y CONFIG_BSD_PROCESS_ACCT_V3=y CONFIG_TASKSTATS=y # CONFIG_TASK_DELAY_ACCT is not set CONFIG_TASK_XACCT=y # CONFIG_TASK_IO_ACCOUNTING is not set CONFIG_AUDIT=y # CONFIG_AUDITSYSCALL is not set # # RCU Subsystem # # CONFIG_CLASSIC_RCU is not set CONFIG_TREE_RCU=y # CONFIG_PREEMPT_RCU is not set # CONFIG_RCU_TRACE is not set CONFIG_RCU_FANOUT=32 CONFIG_RCU_FANOUT_EXACT=y # CONFIG_TREE_RCU_TRACE is not set # CONFIG_PREEMPT_RCU_TRACE is not set # CONFIG_IKCONFIG is not set CONFIG_LOG_BUF_SHIFT=17 CONFIG_CGROUPS=y CONFIG_CGROUP_DEBUG=y # CONFIG_CGROUP_NS is not set CONFIG_CGROUP_FREEZER=y # CONFIG_CPUSETS is not set CONFIG_CGROUP_CPUACCT=y # CONFIG_RESOURCE_COUNTERS is not set CONFIG_SYSFS_DEPRECATED=y CONFIG_SYSFS_DEPRECATED_V2=y # CONFIG_RELAY is not set CONFIG_NAMESPACES=y CONFIG_UTS_NS=y CONFIG_IPC_NS=y # CONFIG_BLK_DEV_INITRD is not set CONFIG_CC_OPTIMIZE_FOR_SIZE=y CONFIG_SYSCTL=y CONFIG_ANON_INODES=y # CONFIG_EMBEDDED is not set CONFIG_SYSCTL_SYSCALL=y CONFIG_KALLSYMS=y CONFIG_KALLSYMS_ALL=y # CONFIG_KALLSYMS_EXTRA_PASS is not set CONFIG_STRIP_ASM_SYMS=y CONFIG_HOTPLUG=y CONFIG_PRINTK=y CONFIG_BUG=y CONFIG_ELF_CORE=y CONFIG_PCSPKR_PLATFORM=y CONFIG_BASE_FULL=y CONFIG_FUTEX=y CONFIG_EPOLL=y CONFIG_SIGNALFD=y CONFIG_TIMERFD=y CONFIG_EVENTFD=y CONFIG_SHMEM=y CONFIG_AIO=y CONFIG_VM_EVENT_COUNTERS=y CONFIG_PCI_QUIRKS=y CONFIG_COMPAT_BRK=y # CONFIG_SLAB_ALLOCATOR is not set # CONFIG_SLUB_ALLOCATOR is not set CONFIG_SLQB_ALLOCATOR=y CONFIG_SLQB=y # CONFIG_SLOB is not set # CONFIG_PROFILING is not set CONFIG_TRACEPOINTS=y CONFIG_MARKERS=y CONFIG_HAVE_OPROFILE=y # CONFIG_KPROBES
[PATCH][BUILD FAILURE 03/12] Re: Next April 21 : PPC64 randconfig [arch/powerpc/kernel/of_platform.o]
On Wed, 2009-04-22 at 00:20 +0530, Subrata Modak wrote: > Reported this earlier on 14th April 2009: > http://lkml.org/lkml/2009/4/14/480, > > Michael, > > Any fix in sight ? > http://lkml.org/lkml/2009/4/14/676, > > CC arch/powerpc/kernel/of_platform.o > arch/powerpc/kernel/of_platform.c: In function 'of_pci_phb_probe': > arch/powerpc/kernel/of_platform.c:270: error: implicit declaration of > function 'pci_devs_phb_init_dynamic' > arch/powerpc/kernel/of_platform.c:279: error: implicit declaration of > function 'scan_phb' > arch/powerpc/kernel/of_platform.c:295: error: implicit declaration of > function 'pci_bus_add_devices' > make[1]: *** [arch/powerpc/kernel/of_platform.o] Error 1 > make: *** [arch/powerpc/kernel] Error 2 > --- Well, 'pci_devs_phb_init_dynamic', 'scan_phb' & 'pci_bus_add_devices' has been defined at ./arch/powerpc/include/asm/ppc-pci.h, but as #ifdef CONFIG_PCI the reason for which the declarations were not visible. And these would churn out few additional failures also for PPC build, like: CC arch/powerpc/kernel/pci_dn.o arch/powerpc/kernel/pci_dn.c:82: error: expected declaration specifiers or â...â before âtraverse_funcâ arch/powerpc/kernel/pci_dn.c: In function âtraverse_pci_devicesâ: arch/powerpc/kernel/pci_dn.c:97: error: âpreâ undeclared (first use in this function) arch/powerpc/kernel/pci_dn.c:97: error: (Each undeclared identifier is reported only once arch/powerpc/kernel/pci_dn.c:97: error: for each function it appears in.) arch/powerpc/kernel/pci_dn.c:97: error: implicit declaration of function âpreâ arch/powerpc/kernel/pci_dn.c:97: warning: assignment makes pointer from integer without a cast arch/powerpc/kernel/pci_dn.c: In function âpci_devs_phb_init_dynamicâ: arch/powerpc/kernel/pci_dn.c:143: error: too many arguments to function âtraverse_pci_devicesâ arch/powerpc/kernel/pci_dn.c: In function âfetch_dev_dnâ: arch/powerpc/kernel/pci_dn.c:180: error: too many arguments to function âtraverse_pci_devicesâ arch/powerpc/kernel/pci_dn.c: In function âpci_devs_phb_initâ: arch/powerpc/kernel/pci_dn.c:224: error: âhose_listâ undeclared (first use in this function) make[1]: *** [arch/powerpc/kernel/pci_dn.o] Error 1 make: *** [arch/powerpc/kernel/pci_dn.o] Error 2 --- CC arch/powerpc/platforms/pseries/pci_dlpar.o arch/powerpc/platforms/pseries/pci_dlpar.c: In function âpcibios_remove_pci_devicesâ: arch/powerpc/platforms/pseries/pci_dlpar.c:88: error: implicit declaration of function âpci_remove_bus_deviceâ arch/powerpc/platforms/pseries/pci_dlpar.c: In function âpcibios_add_pci_devicesâ: arch/powerpc/platforms/pseries/pci_dlpar.c:121: error: implicit declaration of function âpci_scan_slotâ arch/powerpc/platforms/pseries/pci_dlpar.c:130: error: implicit declaration of function âpci_scan_bridgeâ arch/powerpc/platforms/pseries/pci_dlpar.c: In function âinit_phb_dynamicâ: arch/powerpc/platforms/pseries/pci_dlpar.c:146: error: implicit declaration of function ârtas_setup_phbâ arch/powerpc/platforms/pseries/pci_dlpar.c:149: error: implicit declaration of function âpci_devs_phb_init_dynamicâ arch/powerpc/platforms/pseries/pci_dlpar.c:154: error: implicit declaration of function âscan_phbâ arch/powerpc/platforms/pseries/pci_dlpar.c: In function âremove_phb_dynamicâ: arch/powerpc/platforms/pseries/pci_dlpar.c:191: error: implicit declaration of function âpci_remove_busâ make[1]: *** [arch/powerpc/platforms/pseries/pci_dlpar.o] Error 1 make: *** [arch/powerpc/platforms/pseries/pci_dlpar.o] Error 2 --- The following patch attempts to fix them all. I had tested them. Please review. Signed-Off-By: Subrata Modak , To: Paul Mackerras To: Linuxppc-dev Cc: Michael Ellerman Cc: Balbir Singh Cc: Sachin P Sant Cc: Benjamin Herrenschmidt Cc: Stephen Rothwell Cc: linux-next Cc: linux-kernel Cc: Alexander Beregalov --- --- linux-2.6.30-rc2-next20090421-randconfig/arch/powerpc/kernel/of_platform.c.orig 2009-04-22 09:50:32.0 -0500 +++ linux-2.6.30-rc2-next20090421-randconfig/arch/powerpc/kernel/of_platform.c 2009-04-22 10:06:52.0 -0500 @@ -230,7 +230,7 @@ struct of_device *of_find_device_by_phan EXPORT_SYMBOL(of_find_device_by_phandle); -#ifdef CONFIG_PPC_OF_PLATFORM_PCI +#if defined(CONFIG_PPC_OF_PLATFORM_PCI) && defined(CONFIG_PCI) /* The probing of PCI controllers from of_platform is currently * 64 bits only, mostly due to gratuitous differences between --- linux-2.6.30-rc2-next20090421-randconfig/arch/powerpc/kernel/pci_dn.c.orig 2009-04-22 10:07:21.0 -0500 +++ linux-2.6.30-rc2-next20090421-randconfig/arch/powerpc/kernel/pci_dn.c 2009-04-22 10:09:10.0 -0500 @@ -35,6 +35,8 @@ * Traverse_func that inits the PCI fields of the device node. * NOTE: this *must* b
[BUILD FAILURE 01/04] Next June 04:PPC64 randconfig [drivers/staging/comedi/drivers.o]
CC [M] drivers/staging/comedi/drivers.o drivers/staging/comedi/drivers.c: In function âcomedi_buf_allocâ: drivers/staging/comedi/drivers.c:496: error: âPAGE_KERNEL_NOCACHEâ undeclared (first use in this function) drivers/staging/comedi/drivers.c:496: error: (Each undeclared identifier is reported only once drivers/staging/comedi/drivers.c:496: error: for each function it appears in.) make[3]: *** [drivers/staging/comedi/drivers.o] Error 1 make[2]: *** [drivers/staging/comedi] Error 2 make[1]: *** [drivers/staging] Error 2 make: *** [drivers] Error 2 Is it still normal to expect this failure ? I reported them long back during April: http://www.gossamer-threads.com/lists/linux/kernel/1065227, Regards-- Subrata = .config below: = # # Automatically generated make config: don't edit # Linux kernel version: 2.6.30-rc8 # Thu Jun 4 03:54:53 2009 # CONFIG_PPC64=y # # Processor support # CONFIG_PPC_BOOK3S=y CONFIG_POWER4_ONLY=y CONFIG_POWER4=y # CONFIG_TUNE_CELL is not set CONFIG_PPC_FPU=y CONFIG_ALTIVEC=y # CONFIG_VSX is not set CONFIG_PPC_STD_MMU=y CONFIG_PPC_STD_MMU_64=y CONFIG_PPC_MM_SLICES=y CONFIG_VIRT_CPU_ACCOUNTING=y CONFIG_SMP=y CONFIG_NR_CPUS=32 CONFIG_64BIT=y CONFIG_WORD_SIZE=64 CONFIG_ARCH_PHYS_ADDR_T_64BIT=y CONFIG_MMU=y CONFIG_GENERIC_CMOS_UPDATE=y CONFIG_GENERIC_TIME=y CONFIG_GENERIC_TIME_VSYSCALL=y CONFIG_GENERIC_CLOCKEVENTS=y CONFIG_GENERIC_HARDIRQS=y CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y CONFIG_HAVE_SETUP_PER_CPU_AREA=y CONFIG_IRQ_PER_CPU=y CONFIG_STACKTRACE_SUPPORT=y CONFIG_HAVE_LATENCYTOP_SUPPORT=y CONFIG_TRACE_IRQFLAGS_SUPPORT=y CONFIG_LOCKDEP_SUPPORT=y CONFIG_RWSEM_XCHGADD_ALGORITHM=y CONFIG_GENERIC_LOCKBREAK=y CONFIG_ARCH_HAS_ILOG2_U32=y CONFIG_ARCH_HAS_ILOG2_U64=y CONFIG_GENERIC_HWEIGHT=y CONFIG_GENERIC_CALIBRATE_DELAY=y CONFIG_GENERIC_FIND_NEXT_BIT=y CONFIG_GENERIC_GPIO=y CONFIG_ARCH_NO_VIRT_TO_BUS=y CONFIG_PPC=y CONFIG_EARLY_PRINTK=y CONFIG_COMPAT=y CONFIG_SCHED_OMIT_FRAME_POINTER=y CONFIG_ARCH_MAY_HAVE_PC_FDC=y CONFIG_PPC_OF=y CONFIG_OF=y CONFIG_PPC_UDBG_16550=y CONFIG_GENERIC_TBSYNC=y CONFIG_AUDIT_ARCH=y CONFIG_GENERIC_BUG=y CONFIG_DTC=y # CONFIG_DEFAULT_UIMAGE is not set # CONFIG_PPC_DCR_NATIVE is not set CONFIG_PPC_DCR_MMIO=y CONFIG_PPC_DCR=y CONFIG_PPC_OF_PLATFORM_PCI=y CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" # # General setup # CONFIG_EXPERIMENTAL=y CONFIG_LOCK_KERNEL=y CONFIG_INIT_ENV_ARG_LIMIT=32 CONFIG_LOCALVERSION="" CONFIG_LOCALVERSION_AUTO=y # CONFIG_SYSVIPC is not set CONFIG_BSD_PROCESS_ACCT=y CONFIG_BSD_PROCESS_ACCT_V3=y # # RCU Subsystem # # CONFIG_CLASSIC_RCU is not set # CONFIG_TREE_RCU is not set CONFIG_PREEMPT_RCU=y CONFIG_RCU_TRACE=y # CONFIG_TREE_RCU_TRACE is not set CONFIG_PREEMPT_RCU_TRACE=y # CONFIG_IKCONFIG is not set CONFIG_LOG_BUF_SHIFT=17 CONFIG_GROUP_SCHED=y CONFIG_FAIR_GROUP_SCHED=y CONFIG_RT_GROUP_SCHED=y CONFIG_USER_SCHED=y # CONFIG_CGROUP_SCHED is not set # CONFIG_CGROUPS is not set # CONFIG_SYSFS_DEPRECATED_V2 is not set CONFIG_RELAY=y CONFIG_NAMESPACES=y CONFIG_UTS_NS=y CONFIG_USER_NS=y CONFIG_PID_NS=y # CONFIG_BLK_DEV_INITRD is not set # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set CONFIG_ANON_INODES=y CONFIG_EMBEDDED=y # CONFIG_SYSCTL_SYSCALL is not set CONFIG_KALLSYMS=y CONFIG_KALLSYMS_ALL=y CONFIG_KALLSYMS_EXTRA_PASS=y # CONFIG_STRIP_ASM_SYMS is not set CONFIG_HOTPLUG=y CONFIG_PRINTK=y CONFIG_BUG=y # CONFIG_ELF_CORE is not set CONFIG_PCSPKR_PLATFORM=y # CONFIG_BASE_FULL is not set CONFIG_FUTEX=y CONFIG_EPOLL=y # CONFIG_SIGNALFD is not set CONFIG_TIMERFD=y CONFIG_EVENTFD=y CONFIG_SHMEM=y CONFIG_AIO=y CONFIG_VM_EVENT_COUNTERS=y CONFIG_PCI_QUIRKS=y CONFIG_COMPAT_BRK=y # CONFIG_SLAB_ALLOCATOR is not set # CONFIG_SLUB_ALLOCATOR is not set # CONFIG_SLQB_ALLOCATOR is not set CONFIG_SLOB=y CONFIG_PROFILING=y CONFIG_TRACEPOINTS=y CONFIG_MARKERS=y CONFIG_OPROFILE=m CONFIG_HAVE_OPROFILE=y CONFIG_KPROBES=y CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y CONFIG_HAVE_SYSCALL_WRAPPERS=y CONFIG_KRETPROBES=y CONFIG_HAVE_IOREMAP_PROT=y CONFIG_HAVE_KPROBES=y CONFIG_HAVE_KRETPROBES=y CONFIG_HAVE_ARCH_TRACEHOOK=y CONFIG_HAVE_DMA_ATTRS=y CONFIG_USE_GENERIC_SMP_HELPERS=y CONFIG_SLOW_WORK=y # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set CONFIG_RT_MUTEXES=y CONFIG_BASE_SMALL=1 CONFIG_MODULES=y CONFIG_MODULE_FORCE_LOAD=y # CONFIG_MODULE_UNLOAD is not set CONFIG_MODVERSIONS=y CONFIG_MODULE_SRCVERSION_ALL=y CONFIG_STOP_MACHINE=y # CONFIG_BLOCK is not set # CONFIG_FREEZER is not set # # Platform support # CONFIG_PPC_PSERIES=y # CONFIG_PPC_SPLPAR is not set CONFIG_EEH=y # CONFIG_SCANLOG is not set CONFIG_LPARCFG=y # CONFIG_PPC_PSERIES_DEBUG is not set CONFIG_PPC_SMLPAR=y # CONFIG_PPC_ISERIES is not set # CONFIG_PPC_PMAC is not set CONFIG_PPC_MAPLE=y CONFIG_PPC_PASEMI=y # # PA Semi PWRficient options # CONFIG_PPC_PASEMI_IOMMU=y # CONFIG_PPC_PASEMI_IOMMU_DMA_FORCE is not set CONFIG_PPC_PS3=y # # PS3 Platform Options # # CONFIG_PS3_ADVANCED is not set CONFIG_PS3_HTAB_SIZE=20 CONFIG
[BUILD FAILURE 02/04] Next June 04:PPC64 randconfig [drivers/usb/host/ohci-hcd.o]
CC drivers/usb/host/ohci-hcd.o In file included from drivers/usb/host/ohci-hcd.c:1060: drivers/usb/host/ohci-ppc-of.c:242:2: error: #error "No endianess selected for ppc-of-ohci" make[3]: *** [drivers/usb/host/ohci-hcd.o] Error 1 make[2]: *** [drivers/usb/host] Error 2 make[1]: *** [drivers/usb] Error 2 make: *** [drivers] Error 2 I reported this earlier, and there were some discussions: http://groups.google.co.kr/group/linux.kernel/browse_thread/thread/edff9d5572d3d225 Has the proposed patch made into the tree ? Regards-- Subrata == .config below: == # # Automatically generated make config: don't edit # Linux kernel version: 2.6.30-rc8 # Thu Jun 4 04:10:03 2009 # CONFIG_PPC64=y # # Processor support # CONFIG_PPC_BOOK3S=y # CONFIG_POWER4_ONLY is not set CONFIG_POWER3=y CONFIG_POWER4=y # CONFIG_TUNE_CELL is not set CONFIG_PPC_FPU=y CONFIG_ALTIVEC=y # CONFIG_VSX is not set CONFIG_PPC_STD_MMU=y CONFIG_PPC_STD_MMU_64=y CONFIG_PPC_MM_SLICES=y CONFIG_VIRT_CPU_ACCOUNTING=y CONFIG_SMP=y CONFIG_NR_CPUS=32 CONFIG_64BIT=y CONFIG_WORD_SIZE=64 CONFIG_ARCH_PHYS_ADDR_T_64BIT=y CONFIG_MMU=y CONFIG_GENERIC_CMOS_UPDATE=y CONFIG_GENERIC_TIME=y CONFIG_GENERIC_TIME_VSYSCALL=y CONFIG_GENERIC_CLOCKEVENTS=y CONFIG_GENERIC_HARDIRQS=y CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y CONFIG_HAVE_SETUP_PER_CPU_AREA=y CONFIG_IRQ_PER_CPU=y CONFIG_STACKTRACE_SUPPORT=y CONFIG_HAVE_LATENCYTOP_SUPPORT=y CONFIG_TRACE_IRQFLAGS_SUPPORT=y CONFIG_LOCKDEP_SUPPORT=y CONFIG_RWSEM_XCHGADD_ALGORITHM=y CONFIG_ARCH_HAS_ILOG2_U32=y CONFIG_ARCH_HAS_ILOG2_U64=y CONFIG_GENERIC_HWEIGHT=y CONFIG_GENERIC_CALIBRATE_DELAY=y CONFIG_GENERIC_FIND_NEXT_BIT=y CONFIG_GENERIC_GPIO=y CONFIG_ARCH_NO_VIRT_TO_BUS=y CONFIG_PPC=y CONFIG_EARLY_PRINTK=y CONFIG_COMPAT=y CONFIG_SYSVIPC_COMPAT=y CONFIG_SCHED_OMIT_FRAME_POINTER=y CONFIG_ARCH_MAY_HAVE_PC_FDC=y CONFIG_PPC_OF=y CONFIG_OF=y CONFIG_PPC_UDBG_16550=y # CONFIG_GENERIC_TBSYNC is not set CONFIG_AUDIT_ARCH=y CONFIG_GENERIC_BUG=y CONFIG_DTC=y # CONFIG_DEFAULT_UIMAGE is not set # CONFIG_PPC_DCR_NATIVE is not set CONFIG_PPC_DCR_MMIO=y CONFIG_PPC_DCR=y CONFIG_PPC_OF_PLATFORM_PCI=y CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" # # General setup # # CONFIG_EXPERIMENTAL is not set CONFIG_LOCK_KERNEL=y CONFIG_INIT_ENV_ARG_LIMIT=32 CONFIG_LOCALVERSION="" CONFIG_LOCALVERSION_AUTO=y CONFIG_SYSVIPC=y CONFIG_SYSVIPC_SYSCTL=y CONFIG_BSD_PROCESS_ACCT=y CONFIG_BSD_PROCESS_ACCT_V3=y # # RCU Subsystem # # CONFIG_CLASSIC_RCU is not set CONFIG_TREE_RCU=y # CONFIG_PREEMPT_RCU is not set # CONFIG_RCU_TRACE is not set CONFIG_RCU_FANOUT=64 CONFIG_RCU_FANOUT_EXACT=y # CONFIG_TREE_RCU_TRACE is not set # CONFIG_PREEMPT_RCU_TRACE is not set CONFIG_IKCONFIG=m CONFIG_LOG_BUF_SHIFT=17 CONFIG_CGROUPS=y # CONFIG_CGROUP_DEBUG is not set CONFIG_CGROUP_NS=y CONFIG_CGROUP_FREEZER=y CONFIG_CPUSETS=y # CONFIG_PROC_PID_CPUSET is not set CONFIG_CGROUP_CPUACCT=y CONFIG_RESOURCE_COUNTERS=y CONFIG_CGROUP_MEM_RES_CTLR=y CONFIG_MM_OWNER=y CONFIG_SYSFS_DEPRECATED=y CONFIG_SYSFS_DEPRECATED_V2=y # CONFIG_RELAY is not set CONFIG_NAMESPACES=y # CONFIG_UTS_NS is not set CONFIG_IPC_NS=y CONFIG_BLK_DEV_INITRD=y CONFIG_INITRAMFS_SOURCE="" # CONFIG_RD_GZIP is not set CONFIG_RD_BZIP2=y CONFIG_RD_LZMA=y CONFIG_CC_OPTIMIZE_FOR_SIZE=y CONFIG_SYSCTL=y CONFIG_ANON_INODES=y CONFIG_EMBEDDED=y CONFIG_SYSCTL_SYSCALL=y CONFIG_KALLSYMS=y CONFIG_KALLSYMS_ALL=y CONFIG_KALLSYMS_EXTRA_PASS=y CONFIG_STRIP_ASM_SYMS=y # CONFIG_HOTPLUG is not set CONFIG_PRINTK=y CONFIG_BUG=y CONFIG_ELF_CORE=y CONFIG_PCSPKR_PLATFORM=y # CONFIG_BASE_FULL is not set # CONFIG_FUTEX is not set CONFIG_EPOLL=y # CONFIG_SIGNALFD is not set # CONFIG_TIMERFD is not set # CONFIG_EVENTFD is not set CONFIG_SHMEM=y CONFIG_AIO=y CONFIG_VM_EVENT_COUNTERS=y # CONFIG_PCI_QUIRKS is not set CONFIG_COMPAT_BRK=y # CONFIG_SLAB_ALLOCATOR is not set # CONFIG_SLUB_ALLOCATOR is not set CONFIG_SLQB_ALLOCATOR=y CONFIG_SLQB=y # CONFIG_SLOB is not set CONFIG_PROFILING=y CONFIG_TRACEPOINTS=y CONFIG_MARKERS=y # CONFIG_OPROFILE is not set CONFIG_HAVE_OPROFILE=y CONFIG_KPROBES=y CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y CONFIG_HAVE_SYSCALL_WRAPPERS=y CONFIG_KRETPROBES=y CONFIG_HAVE_IOREMAP_PROT=y CONFIG_HAVE_KPROBES=y CONFIG_HAVE_KRETPROBES=y CONFIG_HAVE_ARCH_TRACEHOOK=y CONFIG_HAVE_DMA_ATTRS=y CONFIG_USE_GENERIC_SMP_HELPERS=y # CONFIG_SLOW_WORK is not set # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set CONFIG_BASE_SMALL=1 CONFIG_MODULES=y CONFIG_MODULE_FORCE_LOAD=y # CONFIG_MODULE_UNLOAD is not set CONFIG_MODVERSIONS=y # CONFIG_MODULE_SRCVERSION_ALL is not set # CONFIG_BLOCK is not set CONFIG_FREEZER=y CONFIG_PPC_MSI_BITMAP=y # # Platform support # CONFIG_PPC_PSERIES=y # CONFIG_PPC_SPLPAR is not set # CONFIG_EEH is not set CONFIG_LPARCFG=y CONFIG_PPC_PSERIES_DEBUG=y CONFIG_PPC_SMLPAR=y CONFIG_PPC_ISERIES=y # # iSeries device drivers # CONFIG_VIOTAPE=m CONFIG_VIOPATH=y # CONFIG_PPC_PMAC is not set # CONFIG_PPC_MAPLE is not set CONFIG_PPC_PA
[BUILD FAILURE 04/04] Next June 04:PPC64 randconfig [drivers/net/ucc_geth.o]
CC [M] drivers/net/ucc_geth.o drivers/net/ucc_geth.c: In function âucc_geth_probeâ: drivers/net/ucc_geth.c:3822: error: âphâ undeclared (first use in this function) drivers/net/ucc_geth.c:3822: error: (Each undeclared identifier is reported only once drivers/net/ucc_geth.c:3822: error: for each function it appears in.) drivers/net/ucc_geth.c:3832: error: âmdioâ undeclared (first use in this function) make[2]: *** [drivers/net/ucc_geth.o] Error 1 Regards-- Subrata ./config below: # # Automatically generated make config: don't edit # Linux kernel version: 2.6.30-rc8 # Thu Jun 4 05:27:50 2009 # # CONFIG_PPC64 is not set # # Processor support # CONFIG_6xx=y # CONFIG_PPC_85xx is not set # CONFIG_PPC_8xx is not set # CONFIG_40x is not set # CONFIG_44x is not set # CONFIG_E200 is not set CONFIG_PPC_BOOK3S=y CONFIG_PPC_FPU=y # CONFIG_ALTIVEC is not set CONFIG_PPC_STD_MMU=y CONFIG_PPC_STD_MMU_32=y # CONFIG_PPC_MM_SLICES is not set # CONFIG_SMP is not set CONFIG_NOT_COHERENT_CACHE=y CONFIG_PPC32=y CONFIG_WORD_SIZE=32 # CONFIG_ARCH_PHYS_ADDR_T_64BIT is not set CONFIG_MMU=y CONFIG_GENERIC_CMOS_UPDATE=y CONFIG_GENERIC_TIME=y CONFIG_GENERIC_TIME_VSYSCALL=y CONFIG_GENERIC_CLOCKEVENTS=y CONFIG_GENERIC_HARDIRQS=y CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set CONFIG_IRQ_PER_CPU=y CONFIG_STACKTRACE_SUPPORT=y CONFIG_HAVE_LATENCYTOP_SUPPORT=y CONFIG_LOCKDEP_SUPPORT=y CONFIG_RWSEM_XCHGADD_ALGORITHM=y CONFIG_ARCH_HAS_ILOG2_U32=y CONFIG_GENERIC_HWEIGHT=y CONFIG_GENERIC_CALIBRATE_DELAY=y CONFIG_GENERIC_FIND_NEXT_BIT=y CONFIG_GENERIC_GPIO=y # CONFIG_ARCH_NO_VIRT_TO_BUS is not set CONFIG_PPC=y CONFIG_EARLY_PRINTK=y CONFIG_GENERIC_NVRAM=y CONFIG_SCHED_OMIT_FRAME_POINTER=y CONFIG_ARCH_MAY_HAVE_PC_FDC=y CONFIG_PPC_OF=y CONFIG_OF=y CONFIG_PPC_UDBG_16550=y # CONFIG_GENERIC_TBSYNC is not set CONFIG_AUDIT_ARCH=y CONFIG_GENERIC_BUG=y CONFIG_DTC=y CONFIG_DEFAULT_UIMAGE=y # CONFIG_PPC_DCR_NATIVE is not set # CONFIG_PPC_DCR_MMIO is not set CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" # # General setup # CONFIG_EXPERIMENTAL=y CONFIG_BROKEN_ON_SMP=y CONFIG_INIT_ENV_ARG_LIMIT=32 CONFIG_LOCALVERSION="" # CONFIG_LOCALVERSION_AUTO is not set # CONFIG_SWAP is not set CONFIG_SYSVIPC=y CONFIG_POSIX_MQUEUE=y CONFIG_BSD_PROCESS_ACCT=y # CONFIG_BSD_PROCESS_ACCT_V3 is not set CONFIG_TASKSTATS=y # CONFIG_TASK_DELAY_ACCT is not set # CONFIG_TASK_XACCT is not set CONFIG_AUDIT=y # CONFIG_AUDITSYSCALL is not set # # RCU Subsystem # CONFIG_CLASSIC_RCU=y # CONFIG_TREE_RCU is not set # CONFIG_PREEMPT_RCU is not set # CONFIG_TREE_RCU_TRACE is not set # CONFIG_PREEMPT_RCU_TRACE is not set CONFIG_IKCONFIG=m CONFIG_LOG_BUF_SHIFT=17 CONFIG_GROUP_SCHED=y # CONFIG_FAIR_GROUP_SCHED is not set CONFIG_RT_GROUP_SCHED=y # CONFIG_USER_SCHED is not set CONFIG_CGROUP_SCHED=y CONFIG_CGROUPS=y CONFIG_CGROUP_DEBUG=y # CONFIG_CGROUP_NS is not set # CONFIG_CGROUP_FREEZER is not set CONFIG_CGROUP_DEVICE=y # CONFIG_CPUSETS is not set CONFIG_CGROUP_CPUACCT=y # CONFIG_RESOURCE_COUNTERS is not set CONFIG_SYSFS_DEPRECATED=y CONFIG_SYSFS_DEPRECATED_V2=y CONFIG_RELAY=y CONFIG_NAMESPACES=y CONFIG_UTS_NS=y # CONFIG_IPC_NS is not set # CONFIG_USER_NS is not set CONFIG_PID_NS=y CONFIG_NET_NS=y CONFIG_BLK_DEV_INITRD=y CONFIG_INITRAMFS_SOURCE="" # CONFIG_RD_GZIP is not set CONFIG_RD_BZIP2=y CONFIG_RD_LZMA=y CONFIG_CC_OPTIMIZE_FOR_SIZE=y CONFIG_ANON_INODES=y CONFIG_EMBEDDED=y # CONFIG_SYSCTL_SYSCALL is not set CONFIG_KALLSYMS=y CONFIG_KALLSYMS_ALL=y # CONFIG_KALLSYMS_EXTRA_PASS is not set CONFIG_STRIP_ASM_SYMS=y CONFIG_HOTPLUG=y # CONFIG_PRINTK is not set CONFIG_BUG=y CONFIG_ELF_CORE=y CONFIG_PCSPKR_PLATFORM=y CONFIG_BASE_FULL=y # CONFIG_FUTEX is not set # CONFIG_EPOLL is not set # CONFIG_SIGNALFD is not set CONFIG_TIMERFD=y CONFIG_EVENTFD=y CONFIG_SHMEM=y CONFIG_AIO=y # CONFIG_VM_EVENT_COUNTERS is not set CONFIG_PCI_QUIRKS=y # CONFIG_COMPAT_BRK is not set # CONFIG_SLAB_ALLOCATOR is not set # CONFIG_SLUB_ALLOCATOR is not set # CONFIG_SLQB_ALLOCATOR is not set CONFIG_SLOB=y # CONFIG_PROFILING is not set CONFIG_TRACEPOINTS=y CONFIG_MARKERS=y CONFIG_HAVE_OPROFILE=y CONFIG_KPROBES=y CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y CONFIG_KRETPROBES=y CONFIG_HAVE_IOREMAP_PROT=y CONFIG_HAVE_KPROBES=y CONFIG_HAVE_KRETPROBES=y CONFIG_HAVE_ARCH_TRACEHOOK=y CONFIG_HAVE_CLK=y CONFIG_SLOW_WORK=y # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set CONFIG_BASE_SMALL=0 CONFIG_MODULES=y CONFIG_MODULE_FORCE_LOAD=y CONFIG_MODULE_UNLOAD=y CONFIG_MODULE_FORCE_UNLOAD=y CONFIG_MODVERSIONS=y # CONFIG_MODULE_SRCVERSION_ALL is not set CONFIG_BLOCK=y CONFIG_LBD=y CONFIG_BLK_DEV_BSG=y CONFIG_BLK_DEV_INTEGRITY=y # # IO Schedulers # CONFIG_IOSCHED_NOOP=y # CONFIG_IOSCHED_AS is not set CONFIG_IOSCHED_DEADLINE=m CONFIG_IOSCHED_CFQ=y # CONFIG_DEFAULT_AS is not set # CONFIG_DEFAULT_DEADLINE is not set CONFIG_DEFAULT_CFQ=y # CONFIG_DEFAULT_NOOP is not set CONFIG_DEFAULT_IOSCHED="cfq" #
Re: [BUILD FAILURE 01/04] Next June 04:PPC64 randconfig [drivers/staging/comedi/drivers.o]
>On Thu, 2009-06-04 at 22:40 +0200, Geert Uytterhoeven wrote: >On Thu, Jun 4, 2009 at 20:07, Greg KH wrote: > > On Thu, Jun 04, 2009 at 07:01:32PM +0530, Subrata Modak wrote: > >> CC [M] drivers/staging/comedi/drivers.o > >> drivers/staging/comedi/drivers.c: In function âcomedi_buf_allocâ: > >> drivers/staging/comedi/drivers.c:496: error: âPAGE_KERNEL_NOCACHEâ > >> undeclared (first use in this function) > >> drivers/staging/comedi/drivers.c:496: error: (Each undeclared identifier > >> is reported only once > >> drivers/staging/comedi/drivers.c:496: error: for each function it appears > >> in.) > >> make[3]: *** [drivers/staging/comedi/drivers.o] Error 1 > >> make[2]: *** [drivers/staging/comedi] Error 2 > >> make[1]: *** [drivers/staging] Error 2 > >> make: *** [drivers] Error 2 > >> > >> Is it still normal to expect this failure ? > > > > No. > > > >> I reported them long back during April: > >> http://www.gossamer-threads.com/lists/linux/kernel/1065227, > > > > Yes, and I took some patches that were supposed to fix this. I can't > > duplicate this here, care to send a patch that would fix it? I tried this. But, with some catch. âPAGE_KERNEL_NOCACHEâ seems to be the choice for majority of architectures like frv, m32r, sh, x86, etc, as Geert mentions below. However, i believe POWERPC defines it as âPAGE_KERNEL_NCâ found at arch/powerpc/include/asm/pte-common.h. Paul/Banjamin, Can you please confirm this ? The below patch fixes the build error. Signed-off-by: Subrata Modak --- --- linux-2.6.30-rc8/drivers/staging/comedi/drivers.c.orig 2009-06-05 12:46:35.0 -0500 +++ linux-2.6.30-rc8/drivers/staging/comedi/drivers.c 2009-06-05 13:03:31.0 -0500 @@ -43,9 +43,13 @@ #include #include #include - #include #include +#ifdef __powerpc64__ +#include +#else +#include +#endif static int postconfig(struct comedi_device *dev); static int insn_rw_emulate_bits(struct comedi_device *dev, struct comedi_subdevice *s, @@ -492,8 +496,13 @@ int comedi_buf_alloc(struct comedi_devic } if (i == n_pages) { async->prealloc_buf = +#ifdef __powerpc64__ + vmap(pages, n_pages, VM_MAP, + PAGE_KERNEL_NC); +#else vmap(pages, n_pages, VM_MAP, PAGE_KERNEL_NOCACHE); +#endif } if (pages) { vfree(pages); --- Regards-- Subrata > PAGE_KERNEL_NOCACHE is defined on a few architectures only, namely > frv, m32r, mn10300, sh, and x86[*]. On all others, it will fail. > > [*] Interestingly, sparc refers to it in one of its include files, > without providing a > definition, Probably that code is unused. > > Gr{oetje,eeting}s, > > Geert > > -- > Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- > ge...@linux-m68k.org > ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev
Re: [BUILD FAILURE 02/04] Next June 04:PPC64 randconfig [drivers/usb/host/ohci-hcd.o]
>On Thu, 2009-06-04 at 10:07 -0400, Jon Smirl wrote: >On Thu, Jun 4, 2009 at 9:31 AM, Subrata Modak > wrote: > > CC drivers/usb/host/ohci-hcd.o > > In file included from drivers/usb/host/ohci-hcd.c:1060: > > drivers/usb/host/ohci-ppc-of.c:242:2: error: #error "No endianess selected > > for ppc-of-ohci" > > make[3]: *** [drivers/usb/host/ohci-hcd.o] Error 1 > > make[2]: *** [drivers/usb/host] Error 2 > > make[1]: *** [drivers/usb] Error 2 > > make: *** [drivers] Error 2 > > > > I reported this earlier, and there were some discussions: > > http://groups.google.co.kr/group/linux.kernel/browse_thread/thread/edff9d5572d3d225 > > Proposed patch by Arnd should fix this. It has not been merged. > http://lkml.org/lkml/2009/4/22/49 Correct, it fixes the issue. However, since few changes might have gone to the Kconfig, the patch does not apply cleanly. Below is the patch, just a retake of the earlier one, but on the latest code. David, Can you please pickup the following patch ? Signed-off-by: Arnd Bergmann , Resent-by: Subrata Modak --- --- linux-2.6.30-rc8/drivers/usb/host/Kconfig.orig 2009-06-05 10:31:30.0 -0500 +++ linux-2.6.30-rc8/drivers/usb/host/Kconfig 2009-06-05 10:37:53.0 -0500 @@ -181,26 +181,26 @@ config USB_OHCI_HCD_PPC_SOC Enables support for the USB controller on the MPC52xx or STB03xxx processor chip. If unsure, say Y. -config USB_OHCI_HCD_PPC_OF - bool "OHCI support for PPC USB controller on OF platform bus" - depends on USB_OHCI_HCD && PPC_OF - default y - ---help--- - Enables support for the USB controller PowerPC present on the - OpenFirmware platform bus. - config USB_OHCI_HCD_PPC_OF_BE - bool "Support big endian HC" - depends on USB_OHCI_HCD_PPC_OF - default y + bool "OHCI support for OF platform bus (big endian)" + depends on USB_OHCI_HCD && PPC_OF select USB_OHCI_BIG_ENDIAN_DESC select USB_OHCI_BIG_ENDIAN_MMIO + ---help--- + Enables support for big-endian USB controllers present on the + OpenFirmware platform bus. config USB_OHCI_HCD_PPC_OF_LE - bool "Support little endian HC" - depends on USB_OHCI_HCD_PPC_OF - default n + bool "OHCI support for OF platform bus (little endian)" + depends on USB_OHCI_HCD && PPC_OF select USB_OHCI_LITTLE_ENDIAN + ---help--- + Enables support for little-endian USB controllers present on the + OpenFirmware platform bus. + + config USB_OHCI_HCD_PPC_OF + bool + default USB_OHCI_HCD_PPC_OF_BE || USB_OHCI_HCD_PPC_OF_LE config USB_OHCI_HCD_PCI bool "OHCI support for PCI-bus USB controllers" --- Regards-- Subrata > ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev
Re: [BUILD FAILURE 01/04] Next June 04:PPC64 randconfig [drivers/staging/comedi/drivers.o]
On Sat, 2009-06-06 at 09:36 -0400, Frank Mori Hess wrote: > On Saturday 06 June 2009, Greg KH wrote: > > Frank and Ian, any thoughts about the vmap call in the > > comedi_buf_alloc() call? Why is it using PAGE_KERNEL_NOCACHE, and what > > is the prealloc_buf buffer used for? > > It is a circular buffer used to hold data streaming either to or from a > board (for example when producing an analog output waveform). Reads and > writes to the device files read/write to the circular buffer, plus a few > drivers do dma directly to/from it. I personally don't have a problem > with requiring drivers to have their own dma buffers and making them copy > data between their private dma buffers and the main circular buffer. I > guess the original design wanted to support zero-copy dma. Great to hear that. How about a patch that solves my build problem on PPC64(the problem seems to be existing for long) ? Regards-- Subrata > ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev
Re: [BUILD FAILURE 01/04] Next June 04:PPC64 randconfig [drivers/staging/comedi/drivers.o]
On Tue, 2009-06-09 at 13:50 +1000, Benjamin Herrenschmidt wrote: > On Sun, 2009-06-07 at 20:06 +0530, Subrata Modak wrote: > > On Sat, 2009-06-06 at 09:36 -0400, Frank Mori Hess wrote: > > > On Saturday 06 June 2009, Greg KH wrote: > > > > Frank and Ian, any thoughts about the vmap call in the > > > > comedi_buf_alloc() call? Why is it using PAGE_KERNEL_NOCACHE, and what > > > > is the prealloc_buf buffer used for? > > > > > > It is a circular buffer used to hold data streaming either to or from a > > > board (for example when producing an analog output waveform). Reads and > > > writes to the device files read/write to the circular buffer, plus a few > > > drivers do dma directly to/from it. I personally don't have a problem > > > with requiring drivers to have their own dma buffers and making them copy > > > data between their private dma buffers and the main circular buffer. I > > > guess the original design wanted to support zero-copy dma. > > > > Great to hear that. How about a patch that solves my build problem on > > PPC64(the problem seems to be existing for long) ? > > In any case, doing PAGE_KERNEL_NOCACHE for DMA memory is incorrect on > many architectures. So at this stage, there's no much option but ifdef I > suspect for now until this is fixed properly. Ok. But, i am not sure whether Greg will agree to this. If, Ok, is the following patch i sent earlier Ok ? http://lkml.org/lkml/2009/6/5/462, Regards-- Subrata > > It does make sense to want to have some memory like that shared between > user space and DMA, though I don't know what the right approach that > works on all archs is at this stage. Worth asking the Alsa guys, I think > they have similar issues :-) > > But doing double buffering might do the trick fine for now. > > Cheers, > Ben. > > > > ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev
Re: [BUILD FAILURE 02/04] Next June 04:PPC64 randconfig [drivers/usb/host/ohci-hcd.o]
On Fri, 2009-06-05 at 13:26 -0500, Subrata Modak wrote: > >On Thu, 2009-06-04 at 10:07 -0400, Jon Smirl wrote: > >On Thu, Jun 4, 2009 at 9:31 AM, Subrata Modak > > wrote: > > > CC drivers/usb/host/ohci-hcd.o > > > In file included from drivers/usb/host/ohci-hcd.c:1060: > > > drivers/usb/host/ohci-ppc-of.c:242:2: error: #error "No endianess > > > selected for ppc-of-ohci" > > > make[3]: *** [drivers/usb/host/ohci-hcd.o] Error 1 > > > make[2]: *** [drivers/usb/host] Error 2 > > > make[1]: *** [drivers/usb] Error 2 > > > make: *** [drivers] Error 2 > > > > > > I reported this earlier, and there were some discussions: > > > http://groups.google.co.kr/group/linux.kernel/browse_thread/thread/edff9d5572d3d225 > > > > Proposed patch by Arnd should fix this. It has not been merged. > > http://lkml.org/lkml/2009/4/22/49 > > Correct, it fixes the issue. However, since few changes might have gone > to the Kconfig, the patch does not apply cleanly. Below is the patch, just > a retake of the earlier one, but on the latest code. > > David, > > Can you please pickup the following patch ? David, Is it you who will be merging this patch. Or, do i need to send it to somebody else ? Regards-- Subrata > > Signed-off-by: Arnd Bergmann , > Resent-by: Subrata Modak > --- > > --- linux-2.6.30-rc8/drivers/usb/host/Kconfig.orig2009-06-05 > 10:31:30.0 -0500 > +++ linux-2.6.30-rc8/drivers/usb/host/Kconfig 2009-06-05 10:37:53.0 > -0500 > @@ -181,26 +181,26 @@ config USB_OHCI_HCD_PPC_SOC > Enables support for the USB controller on the MPC52xx or > STB03xxx processor chip. If unsure, say Y. > > -config USB_OHCI_HCD_PPC_OF > - bool "OHCI support for PPC USB controller on OF platform bus" > - depends on USB_OHCI_HCD && PPC_OF > - default y > - ---help--- > - Enables support for the USB controller PowerPC present on the > - OpenFirmware platform bus. > - > config USB_OHCI_HCD_PPC_OF_BE > - bool "Support big endian HC" > - depends on USB_OHCI_HCD_PPC_OF > - default y > + bool "OHCI support for OF platform bus (big endian)" > + depends on USB_OHCI_HCD && PPC_OF > select USB_OHCI_BIG_ENDIAN_DESC > select USB_OHCI_BIG_ENDIAN_MMIO > + ---help--- > + Enables support for big-endian USB controllers present on the > + OpenFirmware platform bus. > > config USB_OHCI_HCD_PPC_OF_LE > - bool "Support little endian HC" > - depends on USB_OHCI_HCD_PPC_OF > - default n > + bool "OHCI support for OF platform bus (little endian)" > + depends on USB_OHCI_HCD && PPC_OF > select USB_OHCI_LITTLE_ENDIAN > + ---help--- > + Enables support for little-endian USB controllers present on the > + OpenFirmware platform bus. > + > + config USB_OHCI_HCD_PPC_OF > + bool > + default USB_OHCI_HCD_PPC_OF_BE || USB_OHCI_HCD_PPC_OF_LE > > config USB_OHCI_HCD_PCI > bool "OHCI support for PCI-bus USB controllers" > > --- > Regards-- > Subrata > > ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev
[PATCH] Re:[BUILD FAILURE 04/04] Next June 04:PPC64 randconfig [drivers/net/ucc_geth.o]
Hi Ling, >On Thu, 2009-06-04 at 19:02 +0530, Subrata Modak wrote: >CC [M] drivers/net/ucc_geth.o > drivers/net/ucc_geth.c: In function bucc_geth_probeb: > drivers/net/ucc_geth.c:3822: error: 'ph' undeclared (first use in this > function) > drivers/net/ucc_geth.c:3822: error: (Each undeclared identifier is reported > only once > drivers/net/ucc_geth.c:3822: error: for each function it appears in.) > drivers/net/ucc_geth.c:3832: error: 'mdio' undeclared (first use in this > function) > make[2]: *** [drivers/net/ucc_geth.o] Error 1 With the above build error reported on 4th June linux next tree, i am proposing the following patch. Can you please let me know if you would like to merge it. Reference: http://lkml.org/lkml/2009/6/4/241, Fix the following build error: drivers/net/ucc_geth.c: In function bucc_geth_probeb: drivers/net/ucc_geth.c:3822: error: 'ph' undeclared (first use in this function) drivers/net/ucc_geth.c:3822: error: (Each undeclared identifier is reported only once drivers/net/ucc_geth.c:3822: error: for each function it appears in.) drivers/net/ucc_geth.c:3832: error: 'mdio' undeclared (first use in this function) make[2]: *** [drivers/net/ucc_geth.o] Error 1 Signed-off-by: Subrata Modak --- --- linux-2.6.30-rc8/drivers/net/ucc_geth.c.orig2009-06-10 11:58:39.0 -0500 +++ linux-2.6.30-rc8/drivers/net/ucc_geth.c 2009-06-10 12:37:15.0 -0500 @@ -3595,6 +3595,8 @@ static const struct net_device_ops ucc_g static int ucc_geth_probe(struct of_device* ofdev, const struct of_device_id *match) { + struct device_node *mdio; + phandle *ph; struct device *device = &ofdev->dev; struct device_node *np = ofdev->node; struct net_device *dev = NULL; @@ -3819,7 +3821,7 @@ static int ucc_geth_probe(struct of_devi ugeth->node = np; /* Find the TBI PHY. If it's not there, we don't support SGMII */ - ph = of_get_property(np, "tbi-handle", NULL); + ph = (phandle *)of_get_property(np, "tbi-handle", NULL); if (ph) { struct device_node *tbi = of_find_node_by_phandle(*ph); struct of_device *ofdev; --- Regards-- Subrata ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev
Re: [PATCH] Re:[BUILD FAILURE 04/04] Next June 04:PPC64 randconfig [drivers/net/ucc_geth.o]
On Thu, 2009-06-11 at 11:05 +1000, Stephen Rothwell wrote: > Hi Subrata, > > On Wed, 10 Jun 2009 23:13:23 +0530 Subrata Modak > wrote: > > > > /* Find the TBI PHY. If it's not there, we don't support SGMII */ > > - ph = of_get_property(np, "tbi-handle", NULL); > > + ph = (phandle *)of_get_property(np, "tbi-handle", NULL); > > You don't need this cast because of_get_property() returns "void *". Stephen, True. But without this gcc complains: CC [M] drivers/net/ucc_geth.o drivers/net/ucc_geth.c: In function ‘ucc_geth_probe’: drivers/net/ucc_geth.c:3824: warning: assignment discards qualifiers from pointer target type Else gcc just builds fine: CC [M] drivers/net/ucc_geth.o This is an just an extra caution to fix both the build and warning regression(s). Regards-- Subrata > ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev
[PATCH][Resend][BUILD FAILURE 04/04] Next June 04:PPC64 randconfig [drivers/net/ucc_geth.o]
Hi Michael, >On Thu, 2009-06-11 at 12:03 +1000, Michael Ellerman wrote: >On Thu, 2009-06-11 at 07:26 +0530, Subrata Modak wrote: > > On Thu, 2009-06-11 at 11:05 +1000, Stephen Rothwell wrote: > > > Hi Subrata, > > > > > > On Wed, 10 Jun 2009 23:13:23 +0530 Subrata Modak > > > wrote: > > > > > > > > /* Find the TBI PHY. If it's not there, we don't support SGMII > > > > */ > > > > - ph = of_get_property(np, "tbi-handle", NULL); > > > > + ph = (phandle *)of_get_property(np, "tbi-handle", NULL); > > > > > > You don't need this cast because of_get_property() returns "void *". > > > > Stephen, > > > > True. But without this gcc complains: > > > > CC [M] drivers/net/ucc_geth.o > > drivers/net/ucc_geth.c: In function âucc_geth_probeâ: > > drivers/net/ucc_geth.c:3824: warning: assignment discards qualifiers from > > pointer target type >^^^ > > And what does that warning actually mean? > > Your cast actually introduces a bug. > Ok fine. Here is a revised patch. Subject: [PATCH][Resend][BUILD FAILURE 04/04] Next June 04:PPC64 randconfig [drivers/net/ucc_geth.o] Reference(s): http://lkml.org/lkml/2009/6/4/241, http://lkml.org/lkml/2009/6/10/338, Fix the following build error: drivers/net/ucc_geth.c: In function bucc_geth_probeb: drivers/net/ucc_geth.c:3822: error: 'ph' undeclared (first use in this function) drivers/net/ucc_geth.c:3822: error: (Each undeclared identifier is reported only once drivers/net/ucc_geth.c:3822: error: for each function it appears in.) drivers/net/ucc_geth.c:3832: error: 'mdio' undeclared (first use in this function) make[2]: *** [drivers/net/ucc_geth.o] Error 1 Signed-off-by: Subrata Modak --- --- linux-2.6.30-rc8/drivers/net/ucc_geth.c.orig2009-06-10 11:58:39.0 -0500 +++ linux-2.6.30-rc8/drivers/net/ucc_geth.c 2009-06-10 20:53:25.0 -0500 @@ -3595,6 +3595,8 @@ static const struct net_device_ops ucc_g static int ucc_geth_probe(struct of_device* ofdev, const struct of_device_id *match) { + struct device_node *mdio; + phandle *ph; struct device *device = &ofdev->dev; struct device_node *np = ofdev->node; struct net_device *dev = NULL; --- Regards-- Subrata > cheers ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev
[PATCH][Resend 2][BUILD FAILURE 04/04] Next June 04:PPC64 randconfig [drivers/net/ucc_geth.o]
Hi Nathan, >On Wed, 2009-06-10 at 21:28 -0500, Nathan Lynch wrote: >Subrata Modak writes: > > > On Thu, 2009-06-11 at 11:05 +1000, Stephen Rothwell wrote: > >> Hi Subrata, > >> > >> On Wed, 10 Jun 2009 23:13:23 +0530 Subrata Modak > >> wrote: > >> > > >> > /* Find the TBI PHY. If it's not there, we don't support SGMII > >> > */ > >> > -ph = of_get_property(np, "tbi-handle", NULL); > >> > +ph = (phandle *)of_get_property(np, "tbi-handle", NULL); > >> > >> You don't need this cast because of_get_property() returns "void *". > > > > Stephen, > > > > True. But without this gcc complains: > > > > CC [M] drivers/net/ucc_geth.o > > drivers/net/ucc_geth.c: In function âucc_geth_probeâ: > > drivers/net/ucc_geth.c:3824: warning: assignment discards qualifiers > > from pointer target type > > ph should be declared const phandle *. Look at other uses of > of_get_property. > Ok fine. Here is a revised patch again. Subject: [PATCH][Resend 2][BUILD FAILURE 04/04] Next June 04:PPC64 randconfig [drivers/net/ucc_geth.o] Reference(s): http://lkml.org/lkml/2009/6/4/241, http://lkml.org/lkml/2009/6/10/338, Fix the following build error: drivers/net/ucc_geth.c: In function bucc_geth_probeb: drivers/net/ucc_geth.c:3822: error: 'ph' undeclared (first use in this function) drivers/net/ucc_geth.c:3822: error: (Each undeclared identifier is reported only once drivers/net/ucc_geth.c:3822: error: for each function it appears in.) drivers/net/ucc_geth.c:3832: error: 'mdio' undeclared (first use in this function) make[2]: *** [drivers/net/ucc_geth.o] Error 1 Signed-off-by: Subrata Modak --- --- linux-2.6.30-rc8/drivers/net/ucc_geth.c.orig2009-06-10 11:58:39.0 -0500 +++ linux-2.6.30-rc8/drivers/net/ucc_geth.c 2009-06-10 22:28:13.0 -0500 @@ -3595,6 +3595,8 @@ static const struct net_device_ops ucc_g static int ucc_geth_probe(struct of_device* ofdev, const struct of_device_id *match) { + struct device_node *mdio; + const phandle *ph; struct device *device = &ofdev->dev; struct device_node *np = ofdev->node; struct net_device *dev = NULL; --- Regards-- Subrata ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev
[PATCH][BUILD FAILURE 03/04] Next June 04:PPC64 randconfig [drivers/net/lance.o]
Hi Benjamin/Paul, >On Thu, 2009-06-04 at 19:02 +0530, Subrata Modak wrote: >CC drivers/net/lance.o > drivers/net/lance.c: In function 'lance_probe1': > drivers/net/lance.c:575: error: implicit declaration of function > 'isa_virt_to_bus' > drivers/net/lance.c: In function 'lance_rx': > drivers/net/lance.c:1197: error: implicit declaration of function > 'isa_bus_to_virt' > make[2]: *** [drivers/net/lance.o] Error 1 > make[1]: *** [drivers/net] Error 2 > make: *** [drivers] Error 2 Reference: http://lkml.org/lkml/2009/6/4/240, To fix the following build error: drivers/net/lance.c: In function 'lance_probe1': drivers/net/lance.c:575: error: implicit declaration of function 'isa_virt_to_bus' drivers/net/lance.c: In function 'lance_rx': drivers/net/lance.c:1197: error: implicit declaration of function 'isa_bus_to_virt' make[2]: *** [drivers/net/lance.o] Error 1 make[1]: *** [drivers/net] Error 2 make: *** [drivers] Error 2 I would like to propose the following patch. The prototypes for the functions: 'isa_virt_to_bus' & 'isa_virt_to_bus' are existing for some archs like the mips, x86, parisc, arm & alpha, but, is missing for powerpc. Is it safe to introduce the following soultion for powerpc ? It fixes the build problem i reported earlier. Signed-off-by: Subrata Modak --- --- linux-2.6.30-rc8/arch/powerpc/include/asm/io.h.orig 2009-06-10 21:56:49.0 -0500 +++ linux-2.6.30-rc8/arch/powerpc/include/asm/io.h 2009-06-10 22:21:35.0 -0500 @@ -680,6 +680,9 @@ extern void __iounmap_at(void *ea, unsig #define mmio_outsw(addr, src, count) writesw(addr, src, count) #define mmio_outsl(addr, src, count) writesl(addr, src, count) +#define isa_virt_to_busvirt_to_phys +#define isa_bus_to_virtphys_to_virt + /** * virt_to_phys- map virtual addresses to physical * @address: address to remap --- Regards-- Subrata ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev
Re: [BUILD FAILURE 02/04] Next June 04:PPC64 randconfig [drivers/usb/host/ohci-hcd.o]
On Tue, 2009-06-09 at 17:38 -0700, David Brownell wrote: > On Friday 05 June 2009, Subrata Modak wrote: > > Correct, it fixes the issue. However, since few changes might have gone > > to the Kconfig, the patch does not apply cleanly. Below is the patch, just > > a retake of the earlier one, but on the latest code. > > And it got mangled a bit along the way. Plus, the original one > goofed up Kconfig dependency displays ... both issues fixed in > this version, against current mainline GIT. > > If someone can verify all four PPC/OF/OHCI configs build on > on PPC64, I'm OK with it. > > - Dave Dave, Sorry for being late. The patch fixes the issue on the latest git for PPC64. Infact, the whole drivers/usb/host/ builds just fine: linux-2.6 # make drivers/usb/host/ CHK include/linux/version.h CHK include/linux/utsrelease.h SYMLINK include/asm -> include/asm-powerpc CALLscripts/checksyscalls.sh CC drivers/usb/host/ohci-hcd.o CC drivers/usb/host/pci-quirks.o CC drivers/usb/host/uhci-hcd.o LD drivers/usb/host/built-in.o CC [M] drivers/usb/host/isp116x-hcd.o CC [M] drivers/usb/host/u132-hcd.o You can check in the patch now. Regards-- Subrata > > > == CUT HERE > From: Arnd Bergmann > Subject: fix build failure for PPC64 randconfig [usb/ohci] > > We could just make the USB_OHCI_HCD_PPC_OF option implicit > and selected only if at least one of USB_OHCI_HCD_PPC_OF_BE > and USB_OHCI_HCD_PPC_OF_LE are set. > > [ dbrown...@users.sourceforge.net: fix patch manglation and dependencies ] > > Signed-off-by: Arnd Bergmann > Resent-by: Subrata Modak > Signed-off-by: David Brownell > --- > drivers/usb/host/Kconfig | 29 +++-- > 1 file changed, 15 insertions(+), 14 deletions(-) > > --- a/drivers/usb/host/Kconfig > +++ b/drivers/usb/host/Kconfig > @@ -180,26 +180,27 @@ config USB_OHCI_HCD_PPC_SOC > Enables support for the USB controller on the MPC52xx or > STB03xxx processor chip. If unsure, say Y. > > -config USB_OHCI_HCD_PPC_OF > - bool "OHCI support for PPC USB controller on OF platform bus" > - depends on USB_OHCI_HCD && PPC_OF > - default y > - ---help--- > - Enables support for the USB controller PowerPC present on the > - OpenFirmware platform bus. > - > config USB_OHCI_HCD_PPC_OF_BE > - bool "Support big endian HC" > - depends on USB_OHCI_HCD_PPC_OF > - default y > + bool "OHCI support for OF platform bus (big endian)" > + depends on USB_OHCI_HCD && PPC_OF > select USB_OHCI_BIG_ENDIAN_DESC > select USB_OHCI_BIG_ENDIAN_MMIO > + ---help--- > + Enables support for big-endian USB controllers present on the > + OpenFirmware platform bus. > > config USB_OHCI_HCD_PPC_OF_LE > - bool "Support little endian HC" > - depends on USB_OHCI_HCD_PPC_OF > - default n > + bool "OHCI support for OF platform bus (little endian)" > + depends on USB_OHCI_HCD && PPC_OF > select USB_OHCI_LITTLE_ENDIAN > + ---help--- > + Enables support for little-endian USB controllers present on the > + OpenFirmware platform bus. > + > +config USB_OHCI_HCD_PPC_OF > + bool > + depends on USB_OHCI_HCD && PPC_OF > + default USB_OHCI_HCD_PPC_OF_BE || USB_OHCI_HCD_PPC_OF_LE > > config USB_OHCI_HCD_PCI > bool "OHCI support for PCI-bus USB controllers" > ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev
Re: [BUILD FAILURE 02/04] Next June 04:PPC64 randconfig [drivers/usb/host/ohci-hcd.o]
On Fri, 2009-06-12 at 15:05 +0530, Subrata Modak wrote: > On Tue, 2009-06-09 at 17:38 -0700, David Brownell wrote: > > On Friday 05 June 2009, Subrata Modak wrote: > > > Correct, it fixes the issue. However, since few changes might have gone > > > to the Kconfig, the patch does not apply cleanly. Below is the patch, just > > > a retake of the earlier one, but on the latest code. > > > > And it got mangled a bit along the way. Plus, the original one > > goofed up Kconfig dependency displays ... both issues fixed in > > this version, against current mainline GIT. > > > > If someone can verify all four PPC/OF/OHCI configs build on > > on PPC64, I'm OK with it. > > > > - Dave > > Dave, > > Sorry for being late. The patch fixes the issue on the latest git for > PPC64. Infact, the whole drivers/usb/host/ builds just fine: > > linux-2.6 # make drivers/usb/host/ > CHK include/linux/version.h > CHK include/linux/utsrelease.h > SYMLINK include/asm -> include/asm-powerpc > CALLscripts/checksyscalls.sh > CC drivers/usb/host/ohci-hcd.o > CC drivers/usb/host/pci-quirks.o > CC drivers/usb/host/uhci-hcd.o > LD drivers/usb/host/built-in.o > CC [M] drivers/usb/host/isp116x-hcd.o > CC [M] drivers/usb/host/u132-hcd.o > > You can check in the patch now. Dave, Have you checked in this patch ? Or, does it require some more modification/updates from somebody´s side ? Regards-- Subrata > > Regards-- > Subrata > > > > > > > == CUT HERE > > From: Arnd Bergmann > > Subject: fix build failure for PPC64 randconfig [usb/ohci] > > > > We could just make the USB_OHCI_HCD_PPC_OF option implicit > > and selected only if at least one of USB_OHCI_HCD_PPC_OF_BE > > and USB_OHCI_HCD_PPC_OF_LE are set. > > > > [ dbrown...@users.sourceforge.net: fix patch manglation and dependencies ] > > > > Signed-off-by: Arnd Bergmann > > Resent-by: Subrata Modak > > Signed-off-by: David Brownell > > --- > > drivers/usb/host/Kconfig | 29 +++-- > > 1 file changed, 15 insertions(+), 14 deletions(-) > > > > --- a/drivers/usb/host/Kconfig > > +++ b/drivers/usb/host/Kconfig > > @@ -180,26 +180,27 @@ config USB_OHCI_HCD_PPC_SOC > > Enables support for the USB controller on the MPC52xx or > > STB03xxx processor chip. If unsure, say Y. > > > > -config USB_OHCI_HCD_PPC_OF > > - bool "OHCI support for PPC USB controller on OF platform bus" > > - depends on USB_OHCI_HCD && PPC_OF > > - default y > > - ---help--- > > - Enables support for the USB controller PowerPC present on the > > - OpenFirmware platform bus. > > - > > config USB_OHCI_HCD_PPC_OF_BE > > - bool "Support big endian HC" > > - depends on USB_OHCI_HCD_PPC_OF > > - default y > > + bool "OHCI support for OF platform bus (big endian)" > > + depends on USB_OHCI_HCD && PPC_OF > > select USB_OHCI_BIG_ENDIAN_DESC > > select USB_OHCI_BIG_ENDIAN_MMIO > > + ---help--- > > + Enables support for big-endian USB controllers present on the > > + OpenFirmware platform bus. > > > > config USB_OHCI_HCD_PPC_OF_LE > > - bool "Support little endian HC" > > - depends on USB_OHCI_HCD_PPC_OF > > - default n > > + bool "OHCI support for OF platform bus (little endian)" > > + depends on USB_OHCI_HCD && PPC_OF > > select USB_OHCI_LITTLE_ENDIAN > > + ---help--- > > + Enables support for little-endian USB controllers present on the > > + OpenFirmware platform bus. > > + > > +config USB_OHCI_HCD_PPC_OF > > + bool > > + depends on USB_OHCI_HCD && PPC_OF > > + default USB_OHCI_HCD_PPC_OF_BE || USB_OHCI_HCD_PPC_OF_LE > > > > config USB_OHCI_HCD_PCI > > bool "OHCI support for PCI-bus USB controllers" > > ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev
Re: [PATCH][BUILD FAILURE 03/04] Next June 04:PPC64 randconfig [drivers/net/lance.o]
On Thu, 2009-06-11 at 09:20 +0530, Subrata Modak wrote: > Hi Benjamin/Paul, > > >On Thu, 2009-06-04 at 19:02 +0530, Subrata Modak wrote: > >CC drivers/net/lance.o > > drivers/net/lance.c: In function 'lance_probe1': > > drivers/net/lance.c:575: error: implicit declaration of function > > 'isa_virt_to_bus' > > drivers/net/lance.c: In function 'lance_rx': > > drivers/net/lance.c:1197: error: implicit declaration of function > > 'isa_bus_to_virt' > > make[2]: *** [drivers/net/lance.o] Error 1 > > make[1]: *** [drivers/net] Error 2 > > make: *** [drivers] Error 2 > > Reference: http://lkml.org/lkml/2009/6/4/240, > To fix the following build error: > > drivers/net/lance.c: In function 'lance_probe1': > drivers/net/lance.c:575: error: implicit declaration of function > 'isa_virt_to_bus' > drivers/net/lance.c: In function 'lance_rx': > drivers/net/lance.c:1197: error: implicit declaration of function > 'isa_bus_to_virt' > make[2]: *** [drivers/net/lance.o] Error 1 > make[1]: *** [drivers/net] Error 2 > make: *** [drivers] Error 2 > > I would like to propose the following patch. The prototypes for the functions: > 'isa_virt_to_bus' & 'isa_virt_to_bus' are existing for some archs like the > mips, x86, parisc, arm & alpha, but, is missing for powerpc. Is it safe to > introduce the following soultion for powerpc ? It fixes the build problem > i reported earlier. > > Signed-off-by: Subrata Modak > --- Benjamin, I am not sure whether you liked the following patch to solve the above problem. Do, you want me address some other issue(s)/fixes for this ? Regards-- Subrata > > --- linux-2.6.30-rc8/arch/powerpc/include/asm/io.h.orig 2009-06-10 > 21:56:49.0 -0500 > +++ linux-2.6.30-rc8/arch/powerpc/include/asm/io.h2009-06-10 > 22:21:35.0 -0500 > @@ -680,6 +680,9 @@ extern void __iounmap_at(void *ea, unsig > #define mmio_outsw(addr, src, count) writesw(addr, src, count) > #define mmio_outsl(addr, src, count) writesl(addr, src, count) > > +#define isa_virt_to_bus virt_to_phys > +#define isa_bus_to_virt phys_to_virt > + > /** > * virt_to_phys- map virtual addresses to physical > * @address: address to remap > > --- > Regards-- > Subrata > ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev
Re: [PATCH][Resend 2][BUILD FAILURE 04/04] Next June 04:PPC64 randconfig [drivers/net/ucc_geth.o]
Hi Li/Nathan, On Thu, 2009-06-11 at 09:07 +0530, Subrata Modak wrote: > Hi Nathan, > > >On Wed, 2009-06-10 at 21:28 -0500, Nathan Lynch wrote: > >Subrata Modak writes: > > > > > On Thu, 2009-06-11 at 11:05 +1000, Stephen Rothwell wrote: > > >> Hi Subrata, > > >> > > >> On Wed, 10 Jun 2009 23:13:23 +0530 Subrata Modak > > >> wrote: > > >> > > > >> >/* Find the TBI PHY. If it's not there, we don't support SGMII > > >> > */ > > >> > - ph = of_get_property(np, "tbi-handle", NULL); > > >> > + ph = (phandle *)of_get_property(np, "tbi-handle", NULL); > > >> > > >> You don't need this cast because of_get_property() returns "void *". > > > > > > Stephen, > > > > > > True. But without this gcc complains: > > > > > > CC [M] drivers/net/ucc_geth.o > > > drivers/net/ucc_geth.c: In function bucc_geth_probeb: > > > drivers/net/ucc_geth.c:3824: warning: assignment discards qualifiers > > > from pointer target type > > > > ph should be declared const phandle *. Look at other uses of > > of_get_property. > > > > Ok fine. Here is a revised patch again. > > Subject: [PATCH][Resend 2][BUILD FAILURE 04/04] Next June 04:PPC64 randconfig > [drivers/net/ucc_geth.o] > Reference(s): > http://lkml.org/lkml/2009/6/4/241, > http://lkml.org/lkml/2009/6/10/338, > > Fix the following build error: > > drivers/net/ucc_geth.c: In function bucc_geth_probeb: > drivers/net/ucc_geth.c:3822: error: 'ph' undeclared (first use in this > function) > drivers/net/ucc_geth.c:3822: error: (Each undeclared identifier is reported > only once > drivers/net/ucc_geth.c:3822: error: for each function it appears in.) > drivers/net/ucc_geth.c:3832: error: 'mdio' undeclared (first use in this > function) > make[2]: *** [drivers/net/ucc_geth.o] Error 1 > > Signed-off-by: Subrata Modak > --- Is there anything else to be done in this patch. If this is OK, can this be applied. I am not sure, but, i find Li Yang as the maintainer for this in linux*/MAINTAINERS file. Kindly let me know if this patch needs to be revisited for some other issue(s). Regards-- Subrata > > --- linux-2.6.30-rc8/drivers/net/ucc_geth.c.orig 2009-06-10 > 11:58:39.0 -0500 > +++ linux-2.6.30-rc8/drivers/net/ucc_geth.c 2009-06-10 22:28:13.0 > -0500 > @@ -3595,6 +3595,8 @@ static const struct net_device_ops ucc_g > > static int ucc_geth_probe(struct of_device* ofdev, const struct of_device_id > *match) > { > + struct device_node *mdio; > + const phandle *ph; > struct device *device = &ofdev->dev; > struct device_node *np = ofdev->node; > struct net_device *dev = NULL; > > --- > Regards-- > Subrata > ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev
Re: [PATCH][BUILD FAILURE 03/04] Next June 04:PPC64 randconfig [drivers/net/lance.o]
On Mon, 2009-06-15 at 17:11 +1000, Benjamin Herrenschmidt wrote: > On Mon, 2009-06-15 at 12:21 +0530, Subrata Modak wrote: > > > Benjamin, > > > > I am not sure whether you liked the following patch to solve the above > > problem. Do, you want me address some other issue(s)/fixes for this ? > > I suppose ... in fact some old PReP machines can even have ISA slots > iirc, but it's not going to do good with machines that have an iommu... > > IE. Nobody should use that crap, period. Great, Can you please make some changes at drivers/net/Kconfig so that this guy does not build for the PPC64 systems ? Regards-- Subrata > > Cheers, > Ben. > > Cheers, > Ben. > > > Regards-- > > Subrata > > > > > > > > --- linux-2.6.30-rc8/arch/powerpc/include/asm/io.h.orig 2009-06-10 > > > 21:56:49.0 -0500 > > > +++ linux-2.6.30-rc8/arch/powerpc/include/asm/io.h2009-06-10 > > > 22:21:35.0 -0500 > > > @@ -680,6 +680,9 @@ extern void __iounmap_at(void *ea, unsig > > > #define mmio_outsw(addr, src, count) writesw(addr, src, count) > > > #define mmio_outsl(addr, src, count) writesl(addr, src, count) > > > > > > +#define isa_virt_to_bus virt_to_phys > > > +#define isa_bus_to_virt phys_to_virt > > > + > > > /** > > > * virt_to_phys- map virtual addresses to physical > > > * @address: address to remap > > > > > > --- > > > Regards-- > > > Subrata > > > > ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev
[PATCH][Resend 2][BUILD FAILURE 04/04] Next June 04:PPC64 randconfig [drivers/net/ucc_geth.o]
On Mon, 2009-06-15 at 12:22 +0530, Subrata Modak wrote: > Hi Li/Nathan, > > On Thu, 2009-06-11 at 09:07 +0530, Subrata Modak wrote: > > Hi Nathan, > > > > >On Wed, 2009-06-10 at 21:28 -0500, Nathan Lynch wrote: > > >Subrata Modak writes: > > > > > > > On Thu, 2009-06-11 at 11:05 +1000, Stephen Rothwell wrote: > > > >> Hi Subrata, > > > >> > > > >> On Wed, 10 Jun 2009 23:13:23 +0530 Subrata Modak > > > >> wrote: > > > >> > > > > >> > /* Find the TBI PHY. If it's not there, we don't support SGMII > > > >> > */ > > > >> > -ph = of_get_property(np, "tbi-handle", NULL); > > > >> > +ph = (phandle *)of_get_property(np, "tbi-handle", NULL); > > > >> > > > >> You don't need this cast because of_get_property() returns "void *". > > > > > > > > Stephen, > > > > > > > > True. But without this gcc complains: > > > > > > > > CC [M] drivers/net/ucc_geth.o > > > > drivers/net/ucc_geth.c: In function bucc_geth_probeb: > > > > drivers/net/ucc_geth.c:3824: warning: assignment discards qualifiers > > > > from pointer target type > > > > > > ph should be declared const phandle *. Look at other uses of > > > of_get_property. > > > > > > > Ok fine. Here is a revised patch again. > > > > Subject: [PATCH][Resend 2][BUILD FAILURE 04/04] Next June 04:PPC64 > > randconfig [drivers/net/ucc_geth.o] > > Reference(s): > > http://lkml.org/lkml/2009/6/4/241, > > http://lkml.org/lkml/2009/6/10/338, > > > > Fix the following build error: > > > > drivers/net/ucc_geth.c: In function bucc_geth_probeb: > > drivers/net/ucc_geth.c:3822: error: 'ph' undeclared (first use in this > > function) > > drivers/net/ucc_geth.c:3822: error: (Each undeclared identifier is reported > > only once > > drivers/net/ucc_geth.c:3822: error: for each function it appears in.) > > drivers/net/ucc_geth.c:3832: error: 'mdio' undeclared (first use in this > > function) > > make[2]: *** [drivers/net/ucc_geth.o] Error 1 > > > > Signed-off-by: Subrata Modak > > --- > > Is there anything else to be done in this patch. If this is OK, can this > be applied. I am not sure, but, i find Li Yang as the maintainer for > this in linux*/MAINTAINERS file. Kindly let me know if this patch needs > to be revisited for some other issue(s). Li, Any thoughts on this patch ? Regards-- Subrata > > Regards-- > Subrata > > > > > --- linux-2.6.30-rc8/drivers/net/ucc_geth.c.orig2009-06-10 > > 11:58:39.0 -0500 > > +++ linux-2.6.30-rc8/drivers/net/ucc_geth.c 2009-06-10 22:28:13.0 > > -0500 > > @@ -3595,6 +3595,8 @@ static const struct net_device_ops ucc_g > > > > static int ucc_geth_probe(struct of_device* ofdev, const struct > > of_device_id *match) > > { > > + struct device_node *mdio; > > + const phandle *ph; > > struct device *device = &ofdev->dev; > > struct device_node *np = ofdev->node; > > struct net_device *dev = NULL; > > > > --- > > Regards-- > > Subrata > > ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev
[BUILD FAILURE 02/04] Next June 04:PPC64 randconfig [drivers/usb/host/ohci-hcd.o]
On Mon, 2009-06-15 at 12:21 +0530, Subrata Modak wrote: > On Fri, 2009-06-12 at 15:05 +0530, Subrata Modak wrote: > > On Tue, 2009-06-09 at 17:38 -0700, David Brownell wrote: > > > On Friday 05 June 2009, Subrata Modak wrote: > > > > Correct, it fixes the issue. However, since few changes might have gone > > > > to the Kconfig, the patch does not apply cleanly. Below is the patch, > > > > just > > > > a retake of the earlier one, but on the latest code. > > > > > > And it got mangled a bit along the way. Plus, the original one > > > goofed up Kconfig dependency displays ... both issues fixed in > > > this version, against current mainline GIT. > > > > > > If someone can verify all four PPC/OF/OHCI configs build on > > > on PPC64, I'm OK with it. > > > > > > - Dave > > > > Dave, > > > > Sorry for being late. The patch fixes the issue on the latest git for > > PPC64. Infact, the whole drivers/usb/host/ builds just fine: > > > > linux-2.6 # make drivers/usb/host/ > > CHK include/linux/version.h > > CHK include/linux/utsrelease.h > > SYMLINK include/asm -> include/asm-powerpc > > CALLscripts/checksyscalls.sh > > CC drivers/usb/host/ohci-hcd.o > > CC drivers/usb/host/pci-quirks.o > > CC drivers/usb/host/uhci-hcd.o > > LD drivers/usb/host/built-in.o > > CC [M] drivers/usb/host/isp116x-hcd.o > > CC [M] drivers/usb/host/u132-hcd.o > > > > You can check in the patch now. > > Dave, > > Have you checked in this patch ? Or, does it require some more > modification/updates from somebody´s side ? > Dave, Would you consider checking in this patch ? Regards-- Subrata > Regards-- > Subrata > > > > > Regards-- > > Subrata > > > > > > > > > > > == CUT HERE > > > From: Arnd Bergmann > > > Subject: fix build failure for PPC64 randconfig [usb/ohci] > > > > > > We could just make the USB_OHCI_HCD_PPC_OF option implicit > > > and selected only if at least one of USB_OHCI_HCD_PPC_OF_BE > > > and USB_OHCI_HCD_PPC_OF_LE are set. > > > > > > [ dbrown...@users.sourceforge.net: fix patch manglation and dependencies ] > > > > > > Signed-off-by: Arnd Bergmann > > > Resent-by: Subrata Modak > > > Signed-off-by: David Brownell > > > --- > > > drivers/usb/host/Kconfig | 29 +++-- > > > 1 file changed, 15 insertions(+), 14 deletions(-) > > > > > > --- a/drivers/usb/host/Kconfig > > > +++ b/drivers/usb/host/Kconfig > > > @@ -180,26 +180,27 @@ config USB_OHCI_HCD_PPC_SOC > > > Enables support for the USB controller on the MPC52xx or > > > STB03xxx processor chip. If unsure, say Y. > > > > > > -config USB_OHCI_HCD_PPC_OF > > > - bool "OHCI support for PPC USB controller on OF platform bus" > > > - depends on USB_OHCI_HCD && PPC_OF > > > - default y > > > - ---help--- > > > - Enables support for the USB controller PowerPC present on the > > > - OpenFirmware platform bus. > > > - > > > config USB_OHCI_HCD_PPC_OF_BE > > > - bool "Support big endian HC" > > > - depends on USB_OHCI_HCD_PPC_OF > > > - default y > > > + bool "OHCI support for OF platform bus (big endian)" > > > + depends on USB_OHCI_HCD && PPC_OF > > > select USB_OHCI_BIG_ENDIAN_DESC > > > select USB_OHCI_BIG_ENDIAN_MMIO > > > + ---help--- > > > + Enables support for big-endian USB controllers present on the > > > + OpenFirmware platform bus. > > > > > > config USB_OHCI_HCD_PPC_OF_LE > > > - bool "Support little endian HC" > > > - depends on USB_OHCI_HCD_PPC_OF > > > - default n > > > + bool "OHCI support for OF platform bus (little endian)" > > > + depends on USB_OHCI_HCD && PPC_OF > > > select USB_OHCI_LITTLE_ENDIAN > > > + ---help--- > > > + Enables support for little-endian USB controllers present on the > > > + OpenFirmware platform bus. > > > + > > > +config USB_OHCI_HCD_PPC_OF > > > + bool > > > + depends on USB_OHCI_HCD && PPC_OF > > > + default USB_OHCI_HCD_PPC_OF_BE || USB_OHCI_HCD_PPC_OF_LE > > > > > > config USB_OHCI_HCD_PCI > > > bool "OHCI support for PCI-bus USB controllers" > > > ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev
[PATCH] Remove 'SBC8240 Wind River' Device Driver Code
Hi David/Scott, Today's next tree(20090626) produced the following build error: CC [M] drivers/mtd/maps/sbc8240.o drivers/mtd/maps/sbc8240.c:31:1: warning: "DEBUG" redefined In file included from drivers/mtd/maps/sbc8240.c:23: include/linux/mtd/mtd.h:333:1: warning: this is the location of the previous definition drivers/mtd/maps/sbc8240.c: In function 'init_sbc8240_mtd': drivers/mtd/maps/sbc8240.c:172: warning: passing argument 1 of 'simple_map_init' from incompatible pointer type drivers/mtd/maps/sbc8240.c:177: error: 'struct mtd_info' has no member named 'module' make[3]: *** [drivers/mtd/maps/sbc8240.o] Error 1 make[2]: *** [drivers/mtd/maps] Error 2 make[1]: *** [drivers/mtd] Error 2 make: *** [drivers] Error 2 I remember reporting this log back in April, when you suggested in removing it: http://lkml.org/lkml/2009/4/21/476, >On Tue, 2009-04-21 at 15:00 -0500, Scott Wood wrote: >Subrata Modak wrote: > > This is a very old one. Doesn´t seem to go away. Reported this earlier > > on 14th April: > > http://lkml.org/lkml/2009/4/14/483, > > > > CC [M] drivers/mtd/maps/sbc8240.o > > drivers/mtd/maps/sbc8240.c:31:1: warning: "DEBUG" redefined > > In file included from drivers/mtd/maps/sbc8240.c:23: > > include/linux/mtd/mtd.h:339:1: warning: this is the location of the > > previous definition > > drivers/mtd/maps/sbc8240.c: In function âinit_sbc8240_mtdâ: > > drivers/mtd/maps/sbc8240.c:172: error: âsbc8240_mtdâ undeclared (first > > use in this function) > > drivers/mtd/maps/sbc8240.c:172: error: (Each undeclared identifier is > > reported only once > > drivers/mtd/maps/sbc8240.c:172: error: for each function it appears in.) > > drivers/mtd/maps/sbc8240.c: In function âcleanup_sbc8240_mtdâ: > > drivers/mtd/maps/sbc8240.c:233: error: âsbc8240_mtdâ undeclared (first > > use in this function) > > This looks like an arch/ppc orphan. It's not enabled by any defconfig, > and it doesn't look like it does anything that physmap_of can't do. > > I'd just remove it. > > -Scott I tried to gather some more info about this driver from the link mentioned in Kconfig: http://www.windriver.com/products/sbc8240/, without much success. If there are no issues, can you please apply this patch to remove it ? To: David Woodhouse , To: Scott Wood , Cc: Jim Cromie , Cc: carolyn.j.sm...@exgate.tek.com, Cc: Adrian Bunk , Cc: Sachin P Sant , Cc: Balbir Singh , Cc: Stephen Rothwell , Cc: linux-kernel , Cc: Linuxppc-dev , Cc: linux-next , Cc: Alexander Beregalov Signed-off-by: Subrata Modak Tested-on-PPC64-by: Subrata Modak --- diff -uprN a/drivers/mtd/maps/Kconfig b/drivers/mtd/maps/Kconfig --- a/drivers/mtd/maps/Kconfig 2009-06-26 07:36:23.0 -0500 +++ b/drivers/mtd/maps/Kconfig 2009-06-26 07:39:34.0 -0500 @@ -284,13 +284,6 @@ config MTD_L440GX BE VERY CAREFUL. -config MTD_SBC8240 - tristate "Flash device on SBC8240" - depends on MTD_JEDECPROBE && 8260 - help - Flash access on the SBC8240 board from Wind River. See - <http://www.windriver.com/products/sbc8240/> - config MTD_TQM8XXL tristate "CFI Flash device mapped on TQM8XXL" depends on MTD_CFI && TQM8xxL diff -uprN a/drivers/mtd/maps/Makefile b/drivers/mtd/maps/Makefile --- a/drivers/mtd/maps/Makefile 2009-06-26 07:36:23.0 -0500 +++ b/drivers/mtd/maps/Makefile 2009-06-26 07:40:03.0 -0500 @@ -50,7 +50,6 @@ obj-$(CONFIG_MTD_UCLINUX) += uclinux.o obj-$(CONFIG_MTD_NETtel) += nettel.o obj-$(CONFIG_MTD_SCB2_FLASH) += scb2_flash.o obj-$(CONFIG_MTD_H720X)+= h720x-flash.o -obj-$(CONFIG_MTD_SBC8240) += sbc8240.o obj-$(CONFIG_MTD_IXP4XX) += ixp4xx.o obj-$(CONFIG_MTD_IXP2000) += ixp2000.o obj-$(CONFIG_MTD_WRSBC8260)+= wr_sbc82xx_flash.o diff -uprN a/drivers/mtd/maps/sbc8240.c b/drivers/mtd/maps/sbc8240.c --- a/drivers/mtd/maps/sbc8240.c2009-06-26 07:36:23.0 -0500 +++ b/drivers/mtd/maps/sbc8240.c1969-12-31 18:00:00.0 -0600 @@ -1,250 +0,0 @@ -/* - * Handle mapping of the flash memory access routines on the SBC8240 board. - * - * Carolyn Smith, Tektronix, Inc. - * - * This code is GPLed - */ - -/* - * The SBC8240 has 2 flash banks. - * Bank 0 is a 512 KiB AMD AM29F040B; 8 x 64 KiB sectors. - * It contains the U-Boot code (7 sectors) and the environment (1 sector). - * Bank 1 is 4 x 1 MiB AMD AM29LV800BT; 15 x 64 KiB sectors, 1 x 32 KiB sector, - * 2 x 8 KiB sectors, 1 x 16 KiB sectors. - * Both parts are JEDEC compatible. - */ - -#include -#include -#include -#include - -#include -#include -#include - -#ifdef CONFIG_MTD_PARTITIONS -#include -#endif - -#defineDEBUG - -#ifdef DEBUG -# define debugk(fmt
[PATCH] Remove 'SBC8240 Wind River' Device Driver Code
Scott/David, Your say on this patch below ? Regards-- Subrata On Fri, 2009-06-26 at 09:25 -0500, Subrata Modak wrote: > Hi David/Scott, > > Today's next tree(20090626) produced the following build error: > > CC [M] drivers/mtd/maps/sbc8240.o > drivers/mtd/maps/sbc8240.c:31:1: warning: "DEBUG" redefined > In file included from drivers/mtd/maps/sbc8240.c:23: > include/linux/mtd/mtd.h:333:1: warning: this is the location of the previous > definition > drivers/mtd/maps/sbc8240.c: In function 'init_sbc8240_mtd': > drivers/mtd/maps/sbc8240.c:172: warning: passing argument 1 of > 'simple_map_init' from incompatible pointer type > drivers/mtd/maps/sbc8240.c:177: error: 'struct mtd_info' has no member named > 'module' > make[3]: *** [drivers/mtd/maps/sbc8240.o] Error 1 > make[2]: *** [drivers/mtd/maps] Error 2 > make[1]: *** [drivers/mtd] Error 2 > make: *** [drivers] Error 2 > > I remember reporting this log back in April, when you suggested in removing > it: > http://lkml.org/lkml/2009/4/21/476, > > >On Tue, 2009-04-21 at 15:00 -0500, Scott Wood wrote: > >Subrata Modak wrote: > > > This is a very old one. DoesnB4t seem to go away. Reported this earlier > > > on 14th April: > > > http://lkml.org/lkml/2009/4/14/483, > > > > > > CC [M] drivers/mtd/maps/sbc8240.o > > > drivers/mtd/maps/sbc8240.c:31:1: warning: "DEBUG" redefined > > > In file included from drivers/mtd/maps/sbc8240.c:23: > > > include/linux/mtd/mtd.h:339:1: warning: this is the location of the > > > previous definition > > > drivers/mtd/maps/sbc8240.c: In function binit_sbc8240_mtdb: > > > drivers/mtd/maps/sbc8240.c:172: error: bsbc8240_mtdb undeclared (first > > > use in this function) > > > drivers/mtd/maps/sbc8240.c:172: error: (Each undeclared identifier is > > > reported only once > > > drivers/mtd/maps/sbc8240.c:172: error: for each function it appears in.) > > > drivers/mtd/maps/sbc8240.c: In function bcleanup_sbc8240_mtdb: > > > drivers/mtd/maps/sbc8240.c:233: error: bsbc8240_mtdb undeclared (first > > > use in this function) > > > > This looks like an arch/ppc orphan. It's not enabled by any defconfig, > > and it doesn't look like it does anything that physmap_of can't do. > > > > I'd just remove it. > > > > -Scott > > I tried to gather some more info about this driver from the link > mentioned in Kconfig: > http://www.windriver.com/products/sbc8240/, > without much success. > > If there are no issues, can you please apply this patch to remove it ? > > To: David Woodhouse , > To: Scott Wood , > Cc: Jim Cromie , > Cc: carolyn.j.sm...@exgate.tek.com, > Cc: Adrian Bunk , > Cc: Sachin P Sant , > Cc: Balbir Singh , > Cc: Stephen Rothwell , > Cc: linux-kernel , > Cc: Linuxppc-dev , > Cc: linux-next , > Cc: Alexander Beregalov > > > Signed-off-by: Subrata Modak > Tested-on-PPC64-by: Subrata Modak > --- > > diff -uprN a/drivers/mtd/maps/Kconfig b/drivers/mtd/maps/Kconfig > --- a/drivers/mtd/maps/Kconfig2009-06-26 07:36:23.0 -0500 > +++ b/drivers/mtd/maps/Kconfig2009-06-26 07:39:34.0 -0500 > @@ -284,13 +284,6 @@ config MTD_L440GX > > BE VERY CAREFUL. > > -config MTD_SBC8240 > - tristate "Flash device on SBC8240" > - depends on MTD_JEDECPROBE && 8260 > - help > - Flash access on the SBC8240 board from Wind River. See > - <http://www.windriver.com/products/sbc8240/> > - > config MTD_TQM8XXL > tristate "CFI Flash device mapped on TQM8XXL" > depends on MTD_CFI && TQM8xxL > diff -uprN a/drivers/mtd/maps/Makefile b/drivers/mtd/maps/Makefile > --- a/drivers/mtd/maps/Makefile 2009-06-26 07:36:23.0 -0500 > +++ b/drivers/mtd/maps/Makefile 2009-06-26 07:40:03.0 -0500 > @@ -50,7 +50,6 @@ obj-$(CONFIG_MTD_UCLINUX) += uclinux.o > obj-$(CONFIG_MTD_NETtel) += nettel.o > obj-$(CONFIG_MTD_SCB2_FLASH) += scb2_flash.o > obj-$(CONFIG_MTD_H720X) += h720x-flash.o > -obj-$(CONFIG_MTD_SBC8240)+= sbc8240.o > obj-$(CONFIG_MTD_IXP4XX) += ixp4xx.o > obj-$(CONFIG_MTD_IXP2000)+= ixp2000.o > obj-$(CONFIG_MTD_WRSBC8260) += wr_sbc82xx_flash.o > diff -uprN a/drivers/mtd/maps/sbc8240.c b/drivers/mtd/maps/sbc8240.c > --- a/drivers/mtd/maps/sbc8240.c 2009-06-26 07:36:23.0 -0500 > +++ b/drivers/mtd/maps/sbc8240.c 1969-12-31 18:00:00.0 -0600 > @@ -1,250 +0,0 @@ > -/* > - * Handle mapping of the
[PATCH Resend] Remove 'SBC8240 Wind River' Device Driver Code
Hi, Linux next tree(20090626) produced the following build error: CC [M] drivers/mtd/maps/sbc8240.o drivers/mtd/maps/sbc8240.c:31:1: warning: "DEBUG" redefined In file included from drivers/mtd/maps/sbc8240.c:23: include/linux/mtd/mtd.h:333:1: warning: this is the location of the previous definition drivers/mtd/maps/sbc8240.c: In function 'init_sbc8240_mtd': drivers/mtd/maps/sbc8240.c:172: warning: passing argument 1 of 'simple_map_init' from incompatible pointer type drivers/mtd/maps/sbc8240.c:177: error: 'struct mtd_info' has no member named 'module' make[3]: *** [drivers/mtd/maps/sbc8240.o] Error 1 make[2]: *** [drivers/mtd/maps] Error 2 make[1]: *** [drivers/mtd] Error 2 make: *** [drivers] Error 2 I remember reporting this back in April, when it was suggested to remove the code as it is no more used: http://lkml.org/lkml/2009/4/21/476, I tried to gather some more info about this driver from the link mentioned in Kconfig: http://www.windriver.com/products/sbc8240/, without much success. The original author of this driver code has no problem, as she has expressed by the following mail: >On Tue, 2009-06-30 at 09:37 -0700, carolyn.j.sm...@tektronix.com wrote: >Hello Subrata, > > I am the original author of this file and have no objection to its removal > from the 2.6 kernel. I added it to the 2.4 kernel when I ported Linux to > the SBC8240 board many years ago. I haven't used the board in several years. > > Regards, > Carolyn > Last time i did not address: linux-...@lists.infradead.org. If there are no issues, can you please apply this patch to remove it ? To: linux-...@lists.infradead.org, Cc: David Woodhouse , Cc: Scott Wood , Cc: Jim Cromie , Cc: carolyn.j.sm...@exgate.tek.com, Cc: dw...@infradead.org, Cc: Sachin P Sant , Cc: Balbir Singh , Cc: Stephen Rothwell , Cc: linux-kernel , Cc: Linuxppc-dev , Cc: linux-next , -- Signed-off-by: Subrata Modak Tested-on-PPC64-by: Subrata Modak --- diff -uprN a/drivers/mtd/maps/Kconfig b/drivers/mtd/maps/Kconfig --- a/drivers/mtd/maps/Kconfig 2009-06-26 07:36:23.0 -0500 +++ b/drivers/mtd/maps/Kconfig 2009-06-26 07:39:34.0 -0500 @@ -284,13 +284,6 @@ config MTD_L440GX BE VERY CAREFUL. -config MTD_SBC8240 - tristate "Flash device on SBC8240" - depends on MTD_JEDECPROBE && 8260 - help - Flash access on the SBC8240 board from Wind River. See - <http://www.windriver.com/products/sbc8240/> - config MTD_TQM8XXL tristate "CFI Flash device mapped on TQM8XXL" depends on MTD_CFI && TQM8xxL diff -uprN a/drivers/mtd/maps/Makefile b/drivers/mtd/maps/Makefile --- a/drivers/mtd/maps/Makefile 2009-06-26 07:36:23.0 -0500 +++ b/drivers/mtd/maps/Makefile 2009-06-26 07:40:03.0 -0500 @@ -50,7 +50,6 @@ obj-$(CONFIG_MTD_UCLINUX) += uclinux.o obj-$(CONFIG_MTD_NETtel) += nettel.o obj-$(CONFIG_MTD_SCB2_FLASH) += scb2_flash.o obj-$(CONFIG_MTD_H720X)+= h720x-flash.o -obj-$(CONFIG_MTD_SBC8240) += sbc8240.o obj-$(CONFIG_MTD_IXP4XX) += ixp4xx.o obj-$(CONFIG_MTD_IXP2000) += ixp2000.o obj-$(CONFIG_MTD_WRSBC8260)+= wr_sbc82xx_flash.o diff -uprN a/drivers/mtd/maps/sbc8240.c b/drivers/mtd/maps/sbc8240.c --- a/drivers/mtd/maps/sbc8240.c2009-06-26 07:36:23.0 -0500 +++ b/drivers/mtd/maps/sbc8240.c1969-12-31 18:00:00.0 -0600 @@ -1,250 +0,0 @@ -/* - * Handle mapping of the flash memory access routines on the SBC8240 board. - * - * Carolyn Smith, Tektronix, Inc. - * - * This code is GPLed - */ - -/* - * The SBC8240 has 2 flash banks. - * Bank 0 is a 512 KiB AMD AM29F040B; 8 x 64 KiB sectors. - * It contains the U-Boot code (7 sectors) and the environment (1 sector). - * Bank 1 is 4 x 1 MiB AMD AM29LV800BT; 15 x 64 KiB sectors, 1 x 32 KiB sector, - * 2 x 8 KiB sectors, 1 x 16 KiB sectors. - * Both parts are JEDEC compatible. - */ - -#include -#include -#include -#include - -#include -#include -#include - -#ifdef CONFIG_MTD_PARTITIONS -#include -#endif - -#defineDEBUG - -#ifdef DEBUG -# define debugk(fmt,args...) printk(fmt ,##args) -#else -# define debugk(fmt,args...) -#endif - - -#define WINDOW_ADDR0 0xFFF0 /* 512 KiB */ -#define WINDOW_SIZE0 0x0008 -#define BUSWIDTH0 1 - -#define WINDOW_ADDR1 0xFF00 /* 4 MiB */ -#define WINDOW_SIZE1 0x0040 -#define BUSWIDTH1 8 - -#define MSG_PREFIX "sbc8240:" /* prefix for our printk()'s */ -#define MTDID "sbc8240-%d" /* for mtdparts= partitioning */ - - -static struct map_info sbc8240_map[2] = { - { - .name = "sbc8240 Flash Bank #0", - .size = WINDOW_SIZE0, - .bankwidth = BUSWIDTH0, - }, - { - .name = "sbc8240 F
[PATCH Resend2] Remove 'SBC8240 Wind River' Device Driver Code
Hi, Is there somebody else whom i should also address to get an attention for this patch ? I apolozise if i have not included someone. Kindly connect to the concerned. Regards-- Subrata On Wed, 2009-07-01 at 19:22 +0530, Subrata Modak wrote: > Hi, > > Linux next tree(20090626) produced the following build error: > > CC [M] drivers/mtd/maps/sbc8240.o > drivers/mtd/maps/sbc8240.c:31:1: warning: "DEBUG" redefined > In file included from drivers/mtd/maps/sbc8240.c:23: > include/linux/mtd/mtd.h:333:1: warning: this is the location of the previous > definition > drivers/mtd/maps/sbc8240.c: In function 'init_sbc8240_mtd': > drivers/mtd/maps/sbc8240.c:172: warning: passing argument 1 of > 'simple_map_init' from incompatible pointer type > drivers/mtd/maps/sbc8240.c:177: error: 'struct mtd_info' has no member named > 'module' > make[3]: *** [drivers/mtd/maps/sbc8240.o] Error 1 > make[2]: *** [drivers/mtd/maps] Error 2 > make[1]: *** [drivers/mtd] Error 2 > make: *** [drivers] Error 2 > > I remember reporting this back in April, when it was suggested to remove > the code as it is no more used: > http://lkml.org/lkml/2009/4/21/476, > > I tried to gather some more info about this driver from the link > mentioned in Kconfig: > http://www.windriver.com/products/sbc8240/, > without much success. > > The original author of this driver code has no problem, as she has > expressed by the following mail: > > >On Tue, 2009-06-30 at 09:37 -0700, carolyn.j.sm...@tektronix.com wrote: > >Hello Subrata, > > > > I am the original author of this file and have no objection to its removal > > from the 2.6 kernel. I added it to the 2.4 kernel when I ported Linux to > > the SBC8240 board many years ago. I haven't used the board in several years. > > > > Regards, > > Carolyn > > > > Last time i did not address: linux-...@lists.infradead.org. If there are > no issues, can you please apply this patch to remove it ? > > To: linux-...@lists.infradead.org, > Cc: David Woodhouse , > Cc: Scott Wood , > Cc: Jim Cromie , > Cc: carolyn.j.sm...@exgate.tek.com, > Cc: dw...@infradead.org, > Cc: Sachin P Sant , > Cc: Balbir Singh , > Cc: Stephen Rothwell , > Cc: linux-kernel , > Cc: Linuxppc-dev , > Cc: linux-next , > -- > > Signed-off-by: Subrata Modak > Tested-on-PPC64-by: Subrata Modak > --- > > diff -uprN a/drivers/mtd/maps/Kconfig b/drivers/mtd/maps/Kconfig > --- a/drivers/mtd/maps/Kconfig2009-06-26 07:36:23.0 -0500 > +++ b/drivers/mtd/maps/Kconfig2009-06-26 07:39:34.0 -0500 > @@ -284,13 +284,6 @@ config MTD_L440GX > > BE VERY CAREFUL. > > -config MTD_SBC8240 > - tristate "Flash device on SBC8240" > - depends on MTD_JEDECPROBE && 8260 > - help > - Flash access on the SBC8240 board from Wind River. See > - <http://www.windriver.com/products/sbc8240/> > - > config MTD_TQM8XXL > tristate "CFI Flash device mapped on TQM8XXL" > depends on MTD_CFI && TQM8xxL > diff -uprN a/drivers/mtd/maps/Makefile b/drivers/mtd/maps/Makefile > --- a/drivers/mtd/maps/Makefile 2009-06-26 07:36:23.0 -0500 > +++ b/drivers/mtd/maps/Makefile 2009-06-26 07:40:03.0 -0500 > @@ -50,7 +50,6 @@ obj-$(CONFIG_MTD_UCLINUX) += uclinux.o > obj-$(CONFIG_MTD_NETtel) += nettel.o > obj-$(CONFIG_MTD_SCB2_FLASH) += scb2_flash.o > obj-$(CONFIG_MTD_H720X) += h720x-flash.o > -obj-$(CONFIG_MTD_SBC8240)+= sbc8240.o > obj-$(CONFIG_MTD_IXP4XX) += ixp4xx.o > obj-$(CONFIG_MTD_IXP2000)+= ixp2000.o > obj-$(CONFIG_MTD_WRSBC8260) += wr_sbc82xx_flash.o > diff -uprN a/drivers/mtd/maps/sbc8240.c b/drivers/mtd/maps/sbc8240.c > --- a/drivers/mtd/maps/sbc8240.c 2009-06-26 07:36:23.0 -0500 > +++ b/drivers/mtd/maps/sbc8240.c 1969-12-31 18:00:00.0 -0600 > @@ -1,250 +0,0 @@ > -/* > - * Handle mapping of the flash memory access routines on the SBC8240 board. > - * > - * Carolyn Smith, Tektronix, Inc. > - * > - * This code is GPLed > - */ > - > -/* > - * The SBC8240 has 2 flash banks. > - * Bank 0 is a 512 KiB AMD AM29F040B; 8 x 64 KiB sectors. > - * It contains the U-Boot code (7 sectors) and the environment (1 sector). > - * Bank 1 is 4 x 1 MiB AMD AM29LV800BT; 15 x 64 KiB sectors, 1 x 32 KiB > sector, > - * 2 x 8 KiB sectors, 1 x 16 KiB sectors. > - * Both parts are JEDEC compatible. > - */ > - > -#include > -#include > -#include > -#include > - > -#include > -#include > -#include > - > -#ifdef CONFIG_MTD_PARTITIONS
Re: [PATCH Resend2] Remove 'SBC8240 Wind River' Device Driver Code
On Fri, 2009-07-10 at 08:59 +0300, Artem Bityutskiy wrote: > On Mon, 2009-07-06 at 07:47 +0530, Subrata Modak wrote: > > Hi, > > > > Is there somebody else whom i should also address to get an attention > > for this patch ? I apolozise if i have not included someone. Kindly > > connect to the concerned. > > I'm putting your patch to l2-mtd-2.6.git. Thanks very much. Would i receive some automatic confirmation once it make to Linus tree ? Regards-- Subrata > ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev
Re: [PATCH Resend2] Remove 'SBC8240 Wind River' Device Driver Code
On Fri, 2009-07-10 at 09:18 +0300, Artem Bityutskiy wrote: > Subrata Modak wrote: > > On Fri, 2009-07-10 at 08:59 +0300, Artem Bityutskiy wrote: > >> On Mon, 2009-07-06 at 07:47 +0530, Subrata Modak wrote: > >>> Hi, > >>> > >>> Is there somebody else whom i should also address to get an attention > >>> for this patch ? I apolozise if i have not included someone. Kindly > >>> connect to the concerned. > >> I'm putting your patch to l2-mtd-2.6.git. > > > > Thanks very much. Would i receive some automatic confirmation once it > > make to Linus tree ? > > I do not think so. I'm not MTD maintainer and in l2-mtd-2.6.git > I just collect random patches, which the maintainer then usually > takes from my tree. Thanks. I just want this through before 2.6.31 stable is released, so that the build fails does not occur on next trees based on that stable one. Regards-- Subrata > ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev
Re: [PATCH Resend2] Remove 'SBC8240 Wind River' Device Driver Code
On Fri, 2009-07-10 at 10:14 +0300, Artem Bityutskiy wrote: > On Fri, 2009-07-10 at 12:42 +0530, Subrata Modak wrote: > > On Fri, 2009-07-10 at 09:18 +0300, Artem Bityutskiy wrote: > > > Subrata Modak wrote: > > > > On Fri, 2009-07-10 at 08:59 +0300, Artem Bityutskiy wrote: > > > >> On Mon, 2009-07-06 at 07:47 +0530, Subrata Modak wrote: > > > >>> Hi, > > > >>> > > > >>> Is there somebody else whom i should also address to get an attention > > > >>> for this patch ? I apolozise if i have not included someone. Kindly > > > >>> connect to the concerned. > > > >> I'm putting your patch to l2-mtd-2.6.git. > > > > > > > > Thanks very much. Would i receive some automatic confirmation once it > > > > make to Linus tree ? > > > > > > I do not think so. I'm not MTD maintainer and in l2-mtd-2.6.git > > > I just collect random patches, which the maintainer then usually > > > takes from my tree. > > > > Thanks. I just want this through before 2.6.31 stable is released, so > > that the build fails does not occur on next trees based on that stable > > one. > > Then you should bug dwmw2. Hmmm. I see. Hi dwmw2, Is it possible to get this patch through and before 2.6.31 stable is released ? Regards-- Subrata > ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev
Re: [PATCH Resend2] Remove 'SBC8240 Wind River' Device Driver Code
On Fri, 2009-07-10 at 09:53 +0100, David Woodhouse wrote: > On Fri, 2009-07-10 at 14:17 +0530, Subrata Modak wrote: > > Is it possible to get this patch through and before 2.6.31 stable is > > released ? > Hi David, > Hm, I was ignoring this until I was sure all the last-minute fixes for > 2.6.31 were out of the way; I was planning to submit it for 2.6.32. > > Do we really need to submit it for 2.6.31? It's not a regression, is it? > It's been like this for _ages_. True. But it gives annoying build fails on randconfig next trees. And we(Sachin & myself) has been reporting it from March/April. If you feel there is still room to be pushed to 2.6.31, then please do it. Else, 2.6.32 will be fine. Thanks for your support. Regards-- Subrata > ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev
Re: [PPC64/Power7 - 2.6.35-rc5] Bad relocation warnings while Building a CONFIG_RELOCATABLE kernel with CONFIG_ISERIES enabled
On Fri, 2010-07-16 at 12:04 +1000, Michael Neuling wrote: > > commit e62cee42e66dcca83aae02748535f62e0f564a0c solved the problem for > > 2.6.34-rc6. However some other bad relocation warnings generated against > > 2.6.35-rc5 on Power7/ppc64 below: > > > > MODPOST 2004 modules^M > > WARNING: 2 bad relocations^M > > c0008590 R_PPC64_ADDR32.text+0x40008460^M > > c0008594 R_PPC64_ADDR32.text+0x40008598^M > > I can't replicate this with your config with gcc 4.4.4 and binutils > 2.20. What are you using? Well, i also have the following GCC (from Fedora 13 Rawhide) # gcc --version gcc (GCC) 4.4.4 20100611 (Red Hat 4.4.4-8) Copyright (C) 2010 Free Software Foundation, Inc. and binutils-2.20.51.0.2-22.fc13.ppc, Regards-- Subrata > > Mikey > > > > > Config file attached. > > > > Regards-- > > Subrata > > > > On Fri, 2010-05-07 at 15:40 +1000, Paul Mackerras wrote: > > > On Wed, May 05, 2010 at 05:20:51PM +0530, Subrata Modak wrote: > > > > > > > I built 2.6.34-rc6 with the attached Fedora Config file > > > > (config-2.6.33.1-19.fc13.ppc64) on my P5 Fedora Box and got the > > > > following warning. Is the following expected ? > > > > > > > > CALLarch/powerpc/relocs_check.pl > > > > Building modules, stage 2. > > > > WARNING: 4 bad relocations > > > > c007216e R_PPC64_ADDR16_HIGHEST __ksymtab+0x009dcec8 > > > > c0072172 R_PPC64_ADDR16_HIGHER __ksymtab+0x009dcec8 > > > > c007217a R_PPC64_ADDR16_HI __ksymtab+0x009dcec8 > > > > c007217e R_PPC64_ADDR16_LO __ksymtab+0x009dcec8 > > > > > > No, it's not expected. It's in iSeries code, so you could avoid it > > > just by disabling CONFIG_ISERIES (I don't think any distro still > > > supports legacy iSeries). I'll post a patch to fix the problem > > > properly. > > > > > > Paul. ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev
[next-20100722] drivers/input/serio/i8042.ko undefined error & Bad Relocations warning
With linux-next-20100722 on Power7 and allmodconfig, i get the following undefined error and Bad relocation warning: ERROR: "of_i8042_kbd_irq" [drivers/input/serio/i8042.ko] undefined! ERROR: "of_i8042_aux_irq" [drivers/input/serio/i8042.ko] undefined! ... and ... WARNING: 3 bad relocations c0008590 R_PPC64_ADDR32.text+0x40008460 c0008594 R_PPC64_ADDR32.text+0x40008598 c0add890 R_PPC64_ADDR64__crc_softirq_work_list I reported the above on 2.6.35-rc5 alone few days back: http://marc.info/?t=12791938332&r=1&w=2, However, c0add890 R_PPC64_ADDR64__crc_softirq_work_list is newly seen apart from: c0008590 R_PPC64_ADDR32.text+0x40008460 c0008594 R_PPC64_ADDR32.text+0x40008598 Regards-- Subrata ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev
Re: 2.6.35-stable/ppc64/p7: suspicious rcu_dereference_check() usage detected during 2.6.35-stable boot
Peter/Li, Did you get a chance to see this ? Regards-- Subrata On Mon, 2010-08-02 at 14:22 +0530, Subrata Modak wrote: > Hi, > > The following suspicious rcu_dereference_check() usage is detected > during 2.6.35-stable boot on my ppc64/p7 machine: > > == > [ INFO: suspicious rcu_dereference_check() usage. ] > --- > kernel/sched.c:616 invoked rcu_dereference_check() without protection! > other info that might help us debug this: > > rcu_scheduler_active = 1, debug_locks = 0 > 1 lock held by swapper/1: > #0: (&rq->lock){-.}, at: [] .init_idle+0x78/0x4a8 > stack backtrace: > Call Trace: > [c00f392bf990] [c0014f04] .show_stack+0xb0/0x1a0 (unreliable) > [c00f392bfa50] [c07c87b4] .dump_stack+0x28/0x3c > [c00f392bfad0] [c0103e1c] .lockdep_rcu_dereference+0xbc/0xe4 > [c00f392bfb70] [c07ca434] .init_idle+0x1b4/0x4a8 > [c00f392bfc30] [c07cad04] .fork_idle+0xa4/0xd0 > [c00f392bfe30] [c0aefaac] .smp_prepare_cpus+0x23c/0x2f4 > [c00f392bfed0] [c0ae1424] .kernel_init+0xec/0x32c > [c00f392bff90] [c0033f40] .kernel_thread+0x54/0x70 > == > > Please note that this was reported earlier on 2.6.34-rc6: > http://marc.info/?l=linux-kernel&m=127313031922395&w=2, > The issue was fixed with: > commit 1ce7e4ff24fe338438bc7837e02780f202bf202b > Author: Li Zefan > Date: Fri Apr 23 10:35:52 2010 +0800 > cgroup: Check task_lock in task_subsys_state() > > According to: > http://lkml.org/lkml/2010/7/1/883, > commit dc61b1d65e353d638b2445f71fb8e5b5630f2415 > Author: Peter Zijlstra > Date: Tue Jun 8 11:40:42 2010 +0200 > sched: Fix PROVE_RCU vs cpu_cgroup > should have fixed this. But this is reproducible on 2.6.35-stable. > > Please also see the config file attached. > > Regards-- > Subrata > ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev
Re: 2.6.35-stable/ppc64/p7: suspicious rcu_dereference_check() usage detected during 2.6.35-stable boot
Hi Paul, Is there any specific person(s) whom we whom we should direct this mail to ? We have not received any response from CGROUP developers on this. Kindly let me know whom to contact for this. I am adding few more people i know :-) Regards-- Subrata On Mon, 2010-08-09 at 09:12 -0700, Paul E. McKenney wrote: > On Mon, Aug 02, 2010 at 02:22:12PM +0530, Subrata Modak wrote: > > Hi, > > > > The following suspicious rcu_dereference_check() usage is detected > > during 2.6.35-stable boot on my ppc64/p7 machine: > > > > == > > [ INFO: suspicious rcu_dereference_check() usage. ] > > --- > > kernel/sched.c:616 invoked rcu_dereference_check() without protection! > > other info that might help us debug this: > > > > rcu_scheduler_active = 1, debug_locks = 0 > > 1 lock held by swapper/1: > > #0: (&rq->lock){-.}, at: [] .init_idle+0x78/0x4a8 > > stack backtrace: > > Call Trace: > > [c00f392bf990] [c0014f04] .show_stack+0xb0/0x1a0 (unreliable) > > [c00f392bfa50] [c07c87b4] .dump_stack+0x28/0x3c > > [c00f392bfad0] [c0103e1c] .lockdep_rcu_dereference+0xbc/0xe4 > > [c00f392bfb70] [c07ca434] .init_idle+0x1b4/0x4a8 > > [c00f392bfc30] [c07cad04] .fork_idle+0xa4/0xd0 > > [c00f392bfe30] [c0aefaac] .smp_prepare_cpus+0x23c/0x2f4 > > [c00f392bfed0] [c0ae1424] .kernel_init+0xec/0x32c > > [c00f392bff90] [c0033f40] .kernel_thread+0x54/0x70 > > == > > > > Please note that this was reported earlier on 2.6.34-rc6: > > http://marc.info/?l=linux-kernel&m=127313031922395&w=2, > > The issue was fixed with: > > commit 1ce7e4ff24fe338438bc7837e02780f202bf202b > > Author: Li Zefan > > Date: Fri Apr 23 10:35:52 2010 +0800 > > cgroup: Check task_lock in task_subsys_state() > > > > According to: > > http://lkml.org/lkml/2010/7/1/883, > > commit dc61b1d65e353d638b2445f71fb8e5b5630f2415 > > Author: Peter Zijlstra > > Date: Tue Jun 8 11:40:42 2010 +0200 > > sched: Fix PROVE_RCU vs cpu_cgroup > > should have fixed this. But this is reproducible on 2.6.35-stable. > > > > Please also see the config file attached. > > Hello, Subrata, > > Thank you for locating this one! This looks like the same issue that > Ilia Mirkin located. Please see below for my analysis -- no fix yet, > as I need confirmation from cgroups experts. I can easily create a > patch that suppresses the warning, but I don't yet know whether this is > the right thing to do. > > Thanx, Paul > > > > On Thu, Aug 05, 2010 at 01:31:10PM -0400, Ilia Mirkin wrote: > > On Thu, Jul 1, 2010 at 6:18 PM, Paul E. McKenney > > wrote: > > > On Thu, Jul 01, 2010 at 08:21:43AM -0400, Miles Lane wrote: > > >> [ INFO: suspicious rcu_dereference_check() usage. ] > > >> --- > > >> kernel/sched.c:616 invoked rcu_dereference_check() without protection! > > >> > > >> other info that might help us debug this: > > >> > > >> rcu_scheduler_active = 1, debug_locks = 1 > > >> 3 locks held by swapper/1: > > >> #0: (cpu_add_remove_lock){+.+.+.}, at: [] > > >> cpu_maps_update_begin+0x12/0x14 > > >> #1: (cpu_hotplug.lock){+.+.+.}, at: [] > > >> cpu_hotplug_begin+0x27/0x4e > > >> #2: (&rq->lock){-.-...}, at: [] init_idle+0x2b/0x114 > > > > > > Hello, Miles! > > > > > > I believe that this one is fixed by commit dc61b1d6 in -tip. > > > > Hi Paul, > > > > Looks like that commit made it into 2.6.35: > > > > git tag -l --contains dc61b1d65e353d638b2445f71fb8e5b5630f2415 v2.6.35* > > v2.6.35 > > v2.6.35-rc4 > > v2.6.35-rc5 > > v2.6.35-rc6 > > > > However I still get: > > > > [0.051203] CPU0: AMD QEMU Virtual CPU version 0.12.4 stepping 03 > > [0.052999] lockdep: fixing up alternatives. > > [0.054105] > > [0.054106] === > > [0.054999] [ INFO: suspicious rcu_dereference_check() usage. ] > > [0.054999] --- > > [0.054999] kernel/sched.c:616 invoked rcu_dereference_che
Re: 2.6.35-stable/ppc64/p7: suspicious rcu_dereference_check() usage detected during 2.6.35-stable boot
Adding CONTROL GROUP Maintainers/Mailing list.. Regards-- Subrata On Mon, 2010-08-09 at 09:12 -0700, Paul E. McKenney wrote: > On Mon, Aug 02, 2010 at 02:22:12PM +0530, Subrata Modak wrote: > > Hi, > > > > The following suspicious rcu_dereference_check() usage is detected > > during 2.6.35-stable boot on my ppc64/p7 machine: > > > > == > > [ INFO: suspicious rcu_dereference_check() usage. ] > > --- > > kernel/sched.c:616 invoked rcu_dereference_check() without protection! > > other info that might help us debug this: > > > > rcu_scheduler_active = 1, debug_locks = 0 > > 1 lock held by swapper/1: > > #0: (&rq->lock){-.}, at: [] .init_idle+0x78/0x4a8 > > stack backtrace: > > Call Trace: > > [c00f392bf990] [c0014f04] .show_stack+0xb0/0x1a0 (unreliable) > > [c00f392bfa50] [c07c87b4] .dump_stack+0x28/0x3c > > [c00f392bfad0] [c0103e1c] .lockdep_rcu_dereference+0xbc/0xe4 > > [c00f392bfb70] [c07ca434] .init_idle+0x1b4/0x4a8 > > [c00f392bfc30] [c07cad04] .fork_idle+0xa4/0xd0 > > [c00f392bfe30] [c0aefaac] .smp_prepare_cpus+0x23c/0x2f4 > > [c00f392bfed0] [c0ae1424] .kernel_init+0xec/0x32c > > [c00f392bff90] [c0033f40] .kernel_thread+0x54/0x70 > > == > > > > Please note that this was reported earlier on 2.6.34-rc6: > > http://marc.info/?l=linux-kernel&m=127313031922395&w=2, > > The issue was fixed with: > > commit 1ce7e4ff24fe338438bc7837e02780f202bf202b > > Author: Li Zefan > > Date: Fri Apr 23 10:35:52 2010 +0800 > > cgroup: Check task_lock in task_subsys_state() > > > > According to: > > http://lkml.org/lkml/2010/7/1/883, > > commit dc61b1d65e353d638b2445f71fb8e5b5630f2415 > > Author: Peter Zijlstra > > Date: Tue Jun 8 11:40:42 2010 +0200 > > sched: Fix PROVE_RCU vs cpu_cgroup > > should have fixed this. But this is reproducible on 2.6.35-stable. > > > > Please also see the config file attached. > > Hello, Subrata, > > Thank you for locating this one! This looks like the same issue that > Ilia Mirkin located. Please see below for my analysis -- no fix yet, > as I need confirmation from cgroups experts. I can easily create a > patch that suppresses the warning, but I don't yet know whether this is > the right thing to do. > > Thanx, Paul > > > > On Thu, Aug 05, 2010 at 01:31:10PM -0400, Ilia Mirkin wrote: > > On Thu, Jul 1, 2010 at 6:18 PM, Paul E. McKenney > > wrote: > > > On Thu, Jul 01, 2010 at 08:21:43AM -0400, Miles Lane wrote: > > >> [ INFO: suspicious rcu_dereference_check() usage. ] > > >> --- > > >> kernel/sched.c:616 invoked rcu_dereference_check() without protection! > > >> > > >> other info that might help us debug this: > > >> > > >> rcu_scheduler_active = 1, debug_locks = 1 > > >> 3 locks held by swapper/1: > > >> #0: (cpu_add_remove_lock){+.+.+.}, at: [] > > >> cpu_maps_update_begin+0x12/0x14 > > >> #1: (cpu_hotplug.lock){+.+.+.}, at: [] > > >> cpu_hotplug_begin+0x27/0x4e > > >> #2: (&rq->lock){-.-...}, at: [] init_idle+0x2b/0x114 > > > > > > Hello, Miles! > > > > > > I believe that this one is fixed by commit dc61b1d6 in -tip. > > > > Hi Paul, > > > > Looks like that commit made it into 2.6.35: > > > > git tag -l --contains dc61b1d65e353d638b2445f71fb8e5b5630f2415 v2.6.35* > > v2.6.35 > > v2.6.35-rc4 > > v2.6.35-rc5 > > v2.6.35-rc6 > > > > However I still get: > > > > [0.051203] CPU0: AMD QEMU Virtual CPU version 0.12.4 stepping 03 > > [0.052999] lockdep: fixing up alternatives. > > [0.054105] > > [0.054106] === > > [0.054999] [ INFO: suspicious rcu_dereference_check() usage. ] > > [0.054999] --- > > [0.054999] kernel/sched.c:616 invoked rcu_dereference_check() > > without protection > > ! > > [0.054999] > > [0.054999] other info that might help us debug this: > > [0.054999] > > [
Re: 2.6.35-stable/ppc64/p7: suspicious rcu_dereference_check() usage detected during 2.6.35-stable boot
On Thu, 2010-09-16 at 09:12 -0700, Paul E. McKenney wrote: > On Thu, Sep 16, 2010 at 05:50:31PM +0200, Peter Zijlstra wrote: > > On Mon, 2010-08-09 at 09:12 -0700, Paul E. McKenney wrote: > > > > > > [0.051203] CPU0: AMD QEMU Virtual CPU version 0.12.4 stepping 03 > > > > [0.052999] lockdep: fixing up alternatives. > > > > [0.054105] > > > > [0.054106] === > > > > [0.054999] [ INFO: suspicious rcu_dereference_check() usage. ] > > > > [0.054999] --- > > > > [0.054999] kernel/sched.c:616 invoked rcu_dereference_check() > > > > without protection! > > > > [0.054999] > > > > [0.054999] other info that might help us debug this: > > > > [0.054999] > > > > [0.054999] > > > > [0.054999] rcu_scheduler_active = 1, debug_locks = 1 > > > > [0.054999] 3 locks held by swapper/1: > > > > [0.054999] #0: (cpu_add_remove_lock){+.+.+.}, at: > > > > [] cpu_up+0x42/0x6a > > > > [0.054999] #1: (cpu_hotplug.lock){+.+.+.}, at: > > > > [] cpu_hotplug_begin+0x2a/0x51 > > > > [0.054999] #2: (&rq->lock){-.-...}, at: [] > > > > init_idle+0x2f/0x113 > > > > [0.054999] > > > > [0.054999] stack backtrace: > > > > [0.054999] Pid: 1, comm: swapper Not tainted 2.6.35 #1 > > > > [0.054999] Call Trace: > > > > [0.054999] [] lockdep_rcu_dereference+0x9b/0xa3 > > > > [0.054999] [] task_group+0x7b/0x8a > > > > [0.054999] [] set_task_rq+0x13/0x40 > > > > [0.054999] [] init_idle+0xd2/0x113 > > > > [0.054999] [] fork_idle+0xb8/0xc7 > > > > [0.054999] [] ? mark_held_locks+0x4d/0x6b > > > > [0.054999] [] do_fork_idle+0x17/0x2b > > > > [0.054999] [] native_cpu_up+0x1c1/0x724 > > > > [0.054999] [] ? do_fork_idle+0x0/0x2b > > > > [0.054999] [] _cpu_up+0xac/0x127 > > > > [0.054999] [] cpu_up+0x55/0x6a > > > > [0.054999] [] kernel_init+0xe1/0x1ff > > > > [0.054999] [] kernel_thread_helper+0x4/0x10 > > > > [0.054999] [] ? restore_args+0x0/0x30 > > > > [0.054999] [] ? kernel_init+0x0/0x1ff > > > > [0.054999] [] ? kernel_thread_helper+0x0/0x10 > > > > [0.056074] Booting Node 0, Processors #1lockdep: fixing up > > > > alternatives. > > > > [0.130045] #2lockdep: fixing up alternatives. > > > > [0.203089] #3 Ok. > > > > [0.275286] Brought up 4 CPUs > > > > [0.276005] Total of 4 processors activated (16017.17 BogoMIPS). > > > > > > This does look like a new one, thank you for reporting it! > > > > > > Here is my analysis, which should at least provide some humor value to > > > those who understand the code better than I do. ;-) > > > > > > So the corresponding rcu_dereference_check() is in > > > task_subsys_state_check(), and is fetching the cpu_cgroup_subsys_id > > > element of the newly created task's task->cgroups->subsys[] array. > > > The "git grep" command finds only three uses of cpu_cgroup_subsys_id, > > > but no definition. > > > > > > Now, fork_idle() invokes copy_process(), which invokes cgroup_fork(), > > > which sets the child process's ->cgroups pointer to that of the parent, > > > also invoking get_css_set(), which increments the corresponding reference > > > count, doing both operations under task_lock() protection (->alloc_lock). > > > Because fork_idle() does not specify any of CLONE_NEWNS, CLONE_NEWUTS, > > > CLONE_NEWIPC, CLONE_NEWPID, or CLONE_NEWNET, copy_namespaces() should > > > not create a new namespace, and so there should be no ns_cgroup_clone(). > > > We should thus retain the parent's ->cgroups pointer. And copy_process() > > > installs the new task in the various lists, so that the task is externally > > > accessible upon return. > > > > > > After a non-error return from copy_process(), fork_init() invokes > > > init_idle_pid(), which does not appear to affect the task's cgroup > > > state. Next fork_init() invokes init_idle(), which in turn invokes > > > __set_task_cpu(), which invokes set_task_rq(), which calls task_group() > > > several times, which calls task_subsys_state_check(), which calls the > > > rcu_dereference_check() that complained above. > > > > > > However, the result returns by rcu_dereference_check() is stored into > > > the task structure: > > > > > > p->se.cfs_rq = task_group(p)->cfs_rq[cpu]; > > > p->se.parent = task_group(p)->se[cpu]; > > > > > > This means that the corresponding structure must have been tied down with > > > a reference count or some such. If such a reference has been taken, then > > > this complaint is a false positive, and could be suppressed by putting > > > rcu_read_lock() and rcu_read_unlock() around the call to init_idle() > > > from fork_idle(). However, although, reference to the enclosing ->cgroups > > > struct css_set is held, it is not clear to me that this reference applies > > > to the structures pointed to by the ->subsys[] array, especially given > > > that the cgroup_subsys
Re: Lnux 2.6.24-rc5
On Mon, 2007-12-10 at 21:40 -0800, Linus Torvalds wrote: > It's been a week, and I promised to be a good boy and try to follow my > release rules, so here is the next -rc. > > Things _have_ slowed down, although I'd obviously be lying if I said we've > got all the regressions handled and under control. They are being worked > on, and the list is shrinking, but at a guess, we're definitely not going > to have a final 2.6.24 out before xmas unless santa puts some more elves > to work on those regressions.. > > So any elves out there - please keep working. > > I'm including the shortlog since it's small enough, and quite frankly, > gives about as readable explanation of the changes as can be imagined. > Nothing hugely exciting here. > > I'd post the diffstat too, but it's not really all that interesting, and > it only highlights a textually big PA-RISC revert, and the powerpc > defconfig updates. And the Blackfin SPI driver. The rest is largely random > noise in various subsystems (drivers/net, xfs filesystem, and arch updates > are some of the areas that show more changes). > > Linus > > --- > > Benjamin Herrenschmidt (6): > ibm_newemac: Fix ZMII refcounting bug > ibm_newemac: Workaround reset timeout when no link > ibm_newemac: Cleanup/Fix RGMII MDIO support detection > ibm_newemac: Cleanup/fix support for STACR register variants > ibm_newemac: Update file headers copyright notices > powerpc: Fix IDE legacy vs. native fixups > Dear Benjamin, Since you are working on Device drivers, do you want to see whether your Device drivers testcases can fit in here in LTP: http://ltp.cvs.sourceforge.net/ltp/ltp/testcases/kernel/device-drivers/, I am eager to know whether we can work together to get these device drivers testcases inside LTP. Regards-- Subrata (LTP Mainatiner) ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev
Re: Lnux 2.6.24-rc5
On Wed, 2007-12-12 at 06:54 -0600, Josh Boyer wrote: > On Wed, 12 Dec 2007 15:25:01 +0530 > Subrata Modak <[EMAIL PROTECTED]> wrote: > > > On Mon, 2007-12-10 at 21:40 -0800, Linus Torvalds wrote: > > > It's been a week, and I promised to be a good boy and try to follow my > > > release rules, so here is the next -rc. > > > > > > Things _have_ slowed down, although I'd obviously be lying if I said > > > we've > > > got all the regressions handled and under control. They are being worked > > > on, and the list is shrinking, but at a guess, we're definitely not going > > > to have a final 2.6.24 out before xmas unless santa puts some more elves > > > to work on those regressions.. > > > > > > So any elves out there - please keep working. > > > > > > I'm including the shortlog since it's small enough, and quite frankly, > > > gives about as readable explanation of the changes as can be imagined. > > > Nothing hugely exciting here. > > > > > > I'd post the diffstat too, but it's not really all that interesting, and > > > it only highlights a textually big PA-RISC revert, and the powerpc > > > defconfig updates. And the Blackfin SPI driver. The rest is largely > > > random > > > noise in various subsystems (drivers/net, xfs filesystem, and arch > > > updates > > > are some of the areas that show more changes). > > > > > > Linus > > > > > > --- > > > > > > Benjamin Herrenschmidt (6): > > > ibm_newemac: Fix ZMII refcounting bug > > > ibm_newemac: Workaround reset timeout when no link > > > ibm_newemac: Cleanup/Fix RGMII MDIO support detection > > > ibm_newemac: Cleanup/fix support for STACR register variants > > > ibm_newemac: Update file headers copyright notices > > > powerpc: Fix IDE legacy vs. native fixups > > > > > > > Dear Benjamin, > > > > Since you are working on Device drivers, do you want to see whether your > > Device drivers testcases can fit in here in LTP: > > http://ltp.cvs.sourceforge.net/ltp/ltp/testcases/kernel/device-drivers/, > > There are no testcases for the EMAC drivers per se. Also, I don't see > any testcases for any network driver in there at all. Is that not > something LTP is testing yet? Nope. LTP is not doing that. Like lkml it is also dependent on community for contributions. Our Device Driver Test cases needs to be re-rejuvenated as they are pretty old. I am of the idea of maintaining Architecture specific device drivers testcases inside LTP as well provided you guys give me the required test cases. --Subrata > > josh ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev
Re: [RFC] ehea: kdump support using new shutdown hook
Do you think we can improve upon our own LTP-KDUMP test cases housed here: http://ltp.cvs.sourceforge.net/ltp/ltp/testcases/kdump/, because of your changes below: --Subrata On Wed, 2007-12-12 at 17:53 +0100, Thomas Klein wrote: > This patch adds kdump support using the new PPC crash shutdown hook to the > ehea driver. The driver now keeps a list of firmware handles which have to > be freed in case of a crash. The crash handler does the minimum required: it > frees the firmware resource handles plus broadcast/multicast registrations. > > Please comment. > > Shutdown hook patches: > http://ozlabs.org/pipermail/linuxppc-dev/2007-December/048058.html > http://ozlabs.org/pipermail/linuxppc-dev/2007-December/048059.html > > > Signed-off-by: Thomas Klein <[EMAIL PROTECTED]> > > --- > diff -Nurp -X dontdiff linux-2.6.24-rc5/drivers/net/ehea/ehea.h > patched_kernel/drivers/net/ehea/ehea.h > --- linux-2.6.24-rc5/drivers/net/ehea/ehea.h 2007-12-11 04:48:43.0 > +0100 > +++ patched_kernel/drivers/net/ehea/ehea.h2007-12-12 17:30:53.0 > +0100 > @@ -40,7 +40,7 @@ > #include > > #define DRV_NAME "ehea" > -#define DRV_VERSION "EHEA_0083" > +#define DRV_VERSION "EHEA_0084" > > /* eHEA capability flags */ > #define DLPAR_PORT_ADD_REM 1 > @@ -386,6 +386,7 @@ struct ehea_port_res { > > > #define EHEA_MAX_PORTS 16 > +#define EHEA_MAX_RES_HANDLES (100 * EHEA_MAX_PORTS + 10) > struct ehea_adapter { > u64 handle; > struct of_device *ofdev; > @@ -397,6 +398,7 @@ struct ehea_adapter { > u64 max_mc_mac;/* max number of multicast mac addresses */ > int active_ports; > struct list_head list; > + u64 res_handles[EHEA_MAX_RES_HANDLES]; > }; > > > diff -Nurp -X dontdiff linux-2.6.24-rc5/drivers/net/ehea/ehea_main.c > patched_kernel/drivers/net/ehea/ehea_main.c > --- linux-2.6.24-rc5/drivers/net/ehea/ehea_main.c 2007-12-11 > 04:48:43.0 +0100 > +++ patched_kernel/drivers/net/ehea/ehea_main.c 2007-12-12 > 17:30:53.0 +0100 > @@ -35,6 +35,7 @@ > #include > #include > #include > +#include > > #include > > @@ -2256,6 +2257,33 @@ static int ehea_clean_all_portres(struct > return ret; > } > > +static void ehea_update_adapter_handles(struct ehea_adapter *adapter) > +{ > + int i, k; > + int j = 0; > + > + memset(adapter->res_handles, sizeof(adapter->res_handles), 0); > + > + for (k = 0; k < EHEA_MAX_PORTS; k++) { > + struct ehea_port *port = adapter->port[k]; > + > + if (!port || (port->state != EHEA_PORT_UP)) > + continue; > + > + for(i = 0; i < port->num_def_qps + port->num_add_tx_qps; i++) { > + struct ehea_port_res *pr = &port->port_res[i]; > + > + adapter->res_handles[j++] = pr->qp->fw_handle; > + adapter->res_handles[j++] = pr->send_cq->fw_handle; > + adapter->res_handles[j++] = pr->recv_cq->fw_handle; > + adapter->res_handles[j++] = pr->eq->fw_handle; > + adapter->res_handles[j++] = pr->send_mr.handle; > + adapter->res_handles[j++] = pr->recv_mr.handle; > + } > + adapter->res_handles[j++] = port->qp_eq->fw_handle; > + } > +} > + > static void ehea_remove_adapter_mr(struct ehea_adapter *adapter) > { > if (adapter->active_ports) > @@ -2318,6 +2346,7 @@ static int ehea_up(struct net_device *de > > ret = 0; > port->state = EHEA_PORT_UP; > + ehea_update_adapter_handles(port->adapter); > goto out; > > out_free_irqs: > @@ -2387,6 +2416,8 @@ static int ehea_down(struct net_device * > ehea_info("Failed freeing resources for %s. ret=%i", > dev->name, ret); > > + ehea_update_adapter_handles(port->adapter); > + > return ret; > } > > @@ -3302,6 +,71 @@ static int __devexit ehea_remove(struct > return 0; > } > > +void ehea_crash_deregister(void) > +{ > + struct ehea_adapter *adapter; > + int i; > + u64 hret; > + u8 reg_type; > + > + list_for_each_entry(adapter, &adapter_list, list) { > + for (i = 0; i < EHEA_MAX_PORTS; i++) { > + struct ehea_port *port = adapter->port[i]; > + if (port->state == EHEA_PORT_UP) { > + struct ehea_mc_list *mc_entry = port->mc_list; > + struct list_head *pos; > + struct list_head *temp; > + > + /* Undo multicast registrations */ > + list_for_each_safe(pos, temp, > +&(port->mc_list->list)) { > + mc_entry = list_entry(pos, > + struct ehea_mc_list, > + li
Re: [PATCH] PSeries: Cancel RTAS event scan before firmware flash
Also, On Tue, 2011-10-04 at 13:19 +0530, Ravi K Nittala wrote: > The RTAS firmware flash update is conducted using an RTAS call that is > serialized by lock_rtas() which uses spin_lock. While the flash is in > progress, rtasd performs scan for any RTAS events that are generated by > the system. rtasd keeps scanning for the RTAS events generated on the > machine. This is performed via workqueue mechanism. The rtas_event_scan() > also uses an RTAS call to scan the events, eventually trying to acquire > the spin_lock before issuing the request. > > The flash update takes a while to complete and during this time, any other > RTAS call has to wait. In this case, rtas_event_scan() waits for a long time > on the spin_lock resulting in a soft lockup. > > Fix: Just before the flash update is performed, the queued rtas_event_scan() > work item is cancelled from the work queue so that there is no other RTAS > call issued while the flash is in progress. After the flash completes, the > system reboots and the rtas_event_scan() is rescheduled. > > Signed-off-by: Suzuki Poulose > Signed-off-by: Ravi Nittala Reported-by: Divya Vikas Regards-- Subrata > > --- > arch/powerpc/include/asm/rtas.h |6 ++ > arch/powerpc/kernel/rtas_flash.c |6 ++ > arch/powerpc/kernel/rtasd.c |7 +++ > 3 files changed, 19 insertions(+), 0 deletions(-) > > diff --git a/arch/powerpc/include/asm/rtas.h b/arch/powerpc/include/asm/rtas.h > index 58625d1..754723b 100644 > --- a/arch/powerpc/include/asm/rtas.h > +++ b/arch/powerpc/include/asm/rtas.h > @@ -245,6 +245,12 @@ extern int early_init_dt_scan_rtas(unsigned long node, > > extern void pSeries_log_error(char *buf, unsigned int err_type, int fatal); > > +#ifdef CONFIG_PPC_RTAS_DAEMON > +extern void rtas_cancel_event_scan(void); > +#else > +static inline void rtas_cancel_event_scan(void) { } > +#endif > + > /* Error types logged. */ > #define ERR_FLAG_ALREADY_LOGGED 0x0 > #define ERR_FLAG_BOOT0x1 /* log was pulled from NVRAM on > boot */ > diff --git a/arch/powerpc/kernel/rtas_flash.c > b/arch/powerpc/kernel/rtas_flash.c > index e037c74..4174b4b 100644 > --- a/arch/powerpc/kernel/rtas_flash.c > +++ b/arch/powerpc/kernel/rtas_flash.c > @@ -568,6 +568,12 @@ static void rtas_flash_firmware(int reboot_type) > } > > /* > + * Just before starting the firmware flash, cancel the event scan work > + * to avoid any soft lockup issues. > + */ > + rtas_cancel_event_scan(); > + > + /* >* NOTE: the "first" block must be under 4GB, so we create >* an entry with no data blocks in the reserved buffer in >* the kernel data segment. > diff --git a/arch/powerpc/kernel/rtasd.c b/arch/powerpc/kernel/rtasd.c > index 481ef06..1045ff4 100644 > --- a/arch/powerpc/kernel/rtasd.c > +++ b/arch/powerpc/kernel/rtasd.c > @@ -472,6 +472,13 @@ static void start_event_scan(void) >&event_scan_work, event_scan_delay); > } > > +/* Cancel the rtas event scan work */ > +void rtas_cancel_event_scan(void) > +{ > + cancel_delayed_work_sync(&event_scan_work); > +} > +EXPORT_SYMBOL_GPL(rtas_cancel_event_scan); > + > static int __init rtas_init(void) > { > struct proc_dir_entry *entry; > ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev
[linux-3.2-rc4 PPC64] Series of "Section Mismatch" warnings, are they expected ?
Hello, While compiling linux-3.2-rc4 on PPC64, i get the following set of warning series. I wanted to know if they are expected, or, they need to be fixed: LD arch/powerpc/sysdev/xics/built-in.o WARNING: arch/powerpc/sysdev/xics/built-in.o(.text+0x136c): Section mismatch in reference from the function .ics_rtas_init() to the function .init.text:.xics_register_ics() The function .ics_rtas_init() references the function __init .xics_register_ics(). This is often because .ics_rtas_init lacks a __init annotation or the annotation of .xics_register_ics is wrong. LD arch/powerpc/sysdev/built-in.o WARNING: arch/powerpc/sysdev/built-in.o(.text+0x99d4): Section mismatch in reference from the function .ics_rtas_init() to the function .init.text:.xics_register_ics() The function .ics_rtas_init() references the function __init .xics_register_ics(). This is often because .ics_rtas_init lacks a __init annotation or the annotation of .xics_register_ics is wrong. WARNING: arch/powerpc/kernel/built-in.o(.text+0x29914): Section mismatch in reference from the function .prom_query_opal() to the function .init.text:.call_prom() The function .prom_query_opal() references the function __init .call_prom(). This is often because .prom_query_opal lacks a __init annotation or the annotation of .call_prom is wrong. WARNING: arch/powerpc/kernel/built-in.o(.text+0x2993c): Section mismatch in reference from the function .prom_query_opal() to the function .init.text:.call_prom() The function .prom_query_opal() references the function __init .call_prom(). This is often because .prom_query_opal lacks a __init annotation or the annotation of .call_prom is wrong. WARNING: arch/powerpc/kernel/built-in.o(.text+0x2994c): Section mismatch in reference from the function .prom_query_opal() to the function .init.text:.prom_printf() The function .prom_query_opal() references the function __init .prom_printf(). This is often because .prom_query_opal lacks a __init annotation or the annotation of .prom_printf is wrong. WARNING: arch/powerpc/kernel/built-in.o(.text+0x299a8): Section mismatch in reference from the function .prom_query_opal() to the function .init.text:.prom_printf() The function .prom_query_opal() references the function __init .prom_printf(). This is often because .prom_query_opal lacks a __init annotation or the annotation of .prom_printf is wrong. WARNING: arch/powerpc/kernel/built-in.o(.text+0x299cc): Section mismatch in reference from the function .prom_query_opal() to the function .init.text:.prom_printf() The function .prom_query_opal() references the function __init .prom_printf(). This is often because .prom_query_opal lacks a __init annotation or the annotation of .prom_printf is wrong. WARNING: arch/powerpc/kernel/built-in.o(.text+0x29d00): Section mismatch in reference from the function .prom_opal_takeover() to the function .init.text:.prom_printf() The function .prom_opal_takeover() references the function __init .prom_printf(). This is often because .prom_opal_takeover lacks a __init annotation or the annotation of .prom_printf is wrong. WARNING: arch/powerpc/kernel/built-in.o(.text+0x29d04): Section mismatch in reference from the function .prom_opal_takeover() to the function .init.text:.prom_close_stdin() The function .prom_opal_takeover() references the function __init .prom_close_stdin(). This is often because .prom_opal_takeover lacks a __init annotation or the annotation of .prom_close_stdin is wrong. MODPOST vmlinux.o WARNING: vmlinux.o(.text+0x90be): Section mismatch in reference from the variable generic_secondary_common_init to the variable .init.data:spinning_secondaries The function generic_secondary_common_init() references the variable __initdata spinning_secondaries. This is often because generic_secondary_common_init lacks a __initdata annotation or the annotation of spinning_secondaries is wrong. WARNING: vmlinux.o(.text+0x93e4): Section mismatch in reference from the function .start_secondary_prolog() to the function .devinit.text:.start_secondary() The function .start_secondary_prolog() references the function __devinit .start_secondary(). This is often because .start_secondary_prolog lacks a __devinit annotation or the annotation of .start_secondary is wrong. WARNING: vmlinux.o(.text+0x93f8): Section mismatch in reference from the function .start_secondary_resume() to the function .devinit.text:.start_secondary() The function .start_secondary_resume() references the function __devinit .start_secondary(). This is often because .start_secondary_resume lacks a __devinit annotation or the annotation of .start_secondary is wrong. WARNING: vmlinux.o(.text+0x23034): Section mismatch in reference from the function .early_setup_secondary() to the function .cpuinit.text:.early_init_mmu_secondary() The function .early_setup_secondary() references the function __cpuinit .early_init_mmu_secondary(). This is often because .early_setup_secondary lacks a __cpuinit annotation or the