osdir.com
mailing list archive

Subject: Re: trouble with latest - msg#00039

List: linux.kernel.debugging.kgdb.bugs

Date: Prev Next Index Thread: Prev Next Index
Sorry, you loose...

$ egrep -rH 'kgdb_sync_softlockup\[NR_CPUS\] =' .
./core-lite.patch:+atomic_t kgdb_sync_softlockup[NR_CPUS] = {ATOMIC_INIT(0)};
./core.patch:+atomic_t kgdb_sync_softlockup[NR_CPUS] = {ATOMIC_INIT(0)};

Jitendra Pawar wrote:
> Hi,
> I have checked in correct patches.
> here is change log entry.
>
> 2006-02-21 Jitendra Pawar <jitendra@xxxxxxxxxxxxxx>
> * Fixed the problem of duplicate chunks in the latest cvs,
> that was occured due to yesterday's check in.
>
> regards
> -Jitendra
>
> On Tue, 2006-02-21 at 20:54 +0530, Amit Kale wrote:
>> Tom,
>>
>> Jitendra goofed up while checking it in yesterday. He has fixed it and will
>> checkin correct patches in a short time.
>>
>> -Amit
>>
>> On Tuesday 21 Feb 2006 8:45 pm, Tom Rini wrote:
>> > On Mon, Feb 20, 2006 at 06:36:06PM -0800, Geoff Levand wrote:
>> > > Had all kinds of trouble with duplicate chunks in the latest...
>> > >
>> > >
>> > > $ egrep 'kernel_thread_helper_end:' kgdb-2/*
>> > > kgdb-2/cfi_annotations.patch:+ "kernel_thread_helper_end:\n\t"
>> > > kgdb-2/i386-lite.patch:+ "kernel_thread_helper_end:\n\t"
>> > >
>> > > $ egrep 'try and do anything' kgdb-2/*
>> > > kgdb-2/core-lite.patch:+ * Don't try and do anything until the
>> > > architecture is able to kgdb-2/x86_64-lite.patch:+ * Don't try and do
>> > > anything until the architecture is able to
>> > >
>> > > $ egrep 'kgdb_sync_softlockup\[smp_p' kgdb-2/*
>> > > kgdb-2/core-lite.patch:+
>> > > atomic_set(&kgdb_sync_softlockup[smp_processor_id()], 1);
>> > > kgdb-2/core.patch:+ atomic_set(&kgdb_sync_softlockup[smp_processor_id()],
>> > > 1);
>> > >
>> > > etc...
>> >
>> > Indeed, someone goofed up badly when committing. I'll try and sort things
>> > out.
>>
>>
>> -------------------------------------------------------
>> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
>> for problems? Stop! Download the new AJAX search engine that makes
>> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
>> _______________________________________________
>> Kgdb-bugreport mailing list
>> Kgdb-bugreport@xxxxxxxxxxxxxxxxxxxxx
>> https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport
>>
>>
>
>



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642


Was this page helpful?
Yes No
Thread at a glance:

Previous Message by Date: click to view message preview

Re: trouble with latest

Hi, I have checked in correct patches. here is change log entry. 2006-02-21 Jitendra Pawar <jitendra@xxxxxxxxxxxxxx> * Fixed the problem of duplicate chunks in the latest cvs, that was occured due to yesterday's check in. regards -Jitendra On Tue, 2006-02-21 at 20:54 +0530, Amit Kale wrote: > Tom, > > Jitendra goofed up while checking it in yesterday. He has fixed it and will > checkin correct patches in a short time. > > -Amit > > On Tuesday 21 Feb 2006 8:45 pm, Tom Rini wrote: > > On Mon, Feb 20, 2006 at 06:36:06PM -0800, Geoff Levand wrote: > > > Had all kinds of trouble with duplicate chunks in the latest... > > > > > > > > > $ egrep 'kernel_thread_helper_end:' kgdb-2/* > > > kgdb-2/cfi_annotations.patch:+ "kernel_thread_helper_end:\n\t" > > > kgdb-2/i386-lite.patch:+ "kernel_thread_helper_end:\n\t" > > > > > > $ egrep 'try and do anything' kgdb-2/* > > > kgdb-2/core-lite.patch:+ * Don't try and do anything until the > > > architecture is able to kgdb-2/x86_64-lite.patch:+ * Don't try and do > > > anything until the architecture is able to > > > > > > $ egrep 'kgdb_sync_softlockup\[smp_p' kgdb-2/* > > > kgdb-2/core-lite.patch:+ > > > atomic_set(&kgdb_sync_softlockup[smp_processor_id()], 1); > > > kgdb-2/core.patch:+ atomic_set(&kgdb_sync_softlockup[smp_processor_id()], > > > 1); > > > > > > etc... > > > > Indeed, someone goofed up badly when committing. I'll try and sort things > > out. > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > Kgdb-bugreport mailing list > Kgdb-bugreport@xxxxxxxxxxxxxxxxxxxxx > https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport > > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642

Next Message by Date: click to view message preview

Re: trouble with latest

Are you just using cvs as just a handy storage place??? Can I at least request a build test before commit... kernel/kgdb.c:362: error: redefinition of 'kgdb_arch_set_breakpoint' kernel/kgdb.c:329: error: previous definition of 'kgdb_arch_set_breakpoint' was here kernel/kgdb.c:384: error: redefinition of 'kgdb_arch_remove_breakpoint' kernel/kgdb.c:343: error: previous definition of 'kgdb_arch_remove_breakpoint' was here kernel/kgdb.c: In function `kgdb_handle_exception': kernel/kgdb.c:1131: error: parse error before ':' token kernel/kgdb.c:1604: warning: label `kgdb_restore' defined but not used Index: linux-2.6.15/kernel/kgdb.c =================================================================== --- linux-2.6.15.orig/kernel/kgdb.c 2006-02-21 13:53:59.000000000 -0800 +++ linux-2.6.15/kernel/kgdb.c 2006-02-21 16:42:40.000000000 -0800 @@ -324,31 +324,6 @@ return error; } -int __attribute__ ((weak)) - kgdb_arch_set_breakpoint(unsigned long addr, char *saved_instr) -{ - int error = 0; - if ((error = kgdb_get_mem((char *)addr, - saved_instr, BREAK_INSTR_SIZE)) < 0) - return error; - - if ((error = kgdb_set_mem((char *)addr, kgdb_ops->gdb_bpt_instr, - BREAK_INSTR_SIZE)) < 0) - return error; - return 0; -} - -int __attribute__ ((weak)) - kgdb_arch_remove_breakpoint(unsigned long addr, char *bundle) -{ - - int error = 0; - if ((error =kgdb_set_mem((char *)addr, (char *)bundle, - BREAK_INSTR_SIZE)) < 0) - return error; - return 0; -} - /** * kgdb_arch_set_breakpoint - Set a software breakpoint at @addr * @addr: The address at which to set the breakpoint. @@ -1128,7 +1103,7 @@ * Don't enter if we have hit a removed breakpoint. */ if (kgdb_skipexception(ex_vector, linux_regs)) - goto kgdb_restore: + goto kgdb_restore; kgdb_info[processor].debuggerinfo = linux_regs; kgdb_info[processor].task = current; Here's one for MIPS... arch/mips/kernel/traps.c: In function `trap_init': arch/mips/kernel/traps.c:1255: error: `kgdb_early_setup' undeclared (first use in this function) Index: linux-2.6.15/arch/mips/kernel/traps.c =================================================================== --- linux-2.6.15.orig/arch/mips/kernel/traps.c 2006-02-21 13:51:17.000000000 -0800 +++ linux-2.6.15/arch/mips/kernel/traps.c 2006-02-21 16:23:59.000000000 -0800 @@ -1252,8 +1252,10 @@ extern char except_vec4; unsigned long i; +#if defined(CONFIG_KGDB) if (kgdb_early_setup) return; /* Already done */ +#endif if (cpu_has_veic || cpu_has_vint) ebase = (unsigned long) alloc_bootmem_low_pages (0x200 + VECTORSPACING*64); ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642

Previous Message by Thread: click to view message preview

Re: trouble with latest

Hi, I have checked in correct patches. here is change log entry. 2006-02-21 Jitendra Pawar <jitendra@xxxxxxxxxxxxxx> * Fixed the problem of duplicate chunks in the latest cvs, that was occured due to yesterday's check in. regards -Jitendra On Tue, 2006-02-21 at 20:54 +0530, Amit Kale wrote: > Tom, > > Jitendra goofed up while checking it in yesterday. He has fixed it and will > checkin correct patches in a short time. > > -Amit > > On Tuesday 21 Feb 2006 8:45 pm, Tom Rini wrote: > > On Mon, Feb 20, 2006 at 06:36:06PM -0800, Geoff Levand wrote: > > > Had all kinds of trouble with duplicate chunks in the latest... > > > > > > > > > $ egrep 'kernel_thread_helper_end:' kgdb-2/* > > > kgdb-2/cfi_annotations.patch:+ "kernel_thread_helper_end:\n\t" > > > kgdb-2/i386-lite.patch:+ "kernel_thread_helper_end:\n\t" > > > > > > $ egrep 'try and do anything' kgdb-2/* > > > kgdb-2/core-lite.patch:+ * Don't try and do anything until the > > > architecture is able to kgdb-2/x86_64-lite.patch:+ * Don't try and do > > > anything until the architecture is able to > > > > > > $ egrep 'kgdb_sync_softlockup\[smp_p' kgdb-2/* > > > kgdb-2/core-lite.patch:+ > > > atomic_set(&kgdb_sync_softlockup[smp_processor_id()], 1); > > > kgdb-2/core.patch:+ atomic_set(&kgdb_sync_softlockup[smp_processor_id()], > > > 1); > > > > > > etc... > > > > Indeed, someone goofed up badly when committing. I'll try and sort things > > out. > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > Kgdb-bugreport mailing list > Kgdb-bugreport@xxxxxxxxxxxxxxxxxxxxx > https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport > > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642

Next Message by Thread: click to view message preview

Re: trouble with latest

Are you just using cvs as just a handy storage place??? Can I at least request a build test before commit... kernel/kgdb.c:362: error: redefinition of 'kgdb_arch_set_breakpoint' kernel/kgdb.c:329: error: previous definition of 'kgdb_arch_set_breakpoint' was here kernel/kgdb.c:384: error: redefinition of 'kgdb_arch_remove_breakpoint' kernel/kgdb.c:343: error: previous definition of 'kgdb_arch_remove_breakpoint' was here kernel/kgdb.c: In function `kgdb_handle_exception': kernel/kgdb.c:1131: error: parse error before ':' token kernel/kgdb.c:1604: warning: label `kgdb_restore' defined but not used Index: linux-2.6.15/kernel/kgdb.c =================================================================== --- linux-2.6.15.orig/kernel/kgdb.c 2006-02-21 13:53:59.000000000 -0800 +++ linux-2.6.15/kernel/kgdb.c 2006-02-21 16:42:40.000000000 -0800 @@ -324,31 +324,6 @@ return error; } -int __attribute__ ((weak)) - kgdb_arch_set_breakpoint(unsigned long addr, char *saved_instr) -{ - int error = 0; - if ((error = kgdb_get_mem((char *)addr, - saved_instr, BREAK_INSTR_SIZE)) < 0) - return error; - - if ((error = kgdb_set_mem((char *)addr, kgdb_ops->gdb_bpt_instr, - BREAK_INSTR_SIZE)) < 0) - return error; - return 0; -} - -int __attribute__ ((weak)) - kgdb_arch_remove_breakpoint(unsigned long addr, char *bundle) -{ - - int error = 0; - if ((error =kgdb_set_mem((char *)addr, (char *)bundle, - BREAK_INSTR_SIZE)) < 0) - return error; - return 0; -} - /** * kgdb_arch_set_breakpoint - Set a software breakpoint at @addr * @addr: The address at which to set the breakpoint. @@ -1128,7 +1103,7 @@ * Don't enter if we have hit a removed breakpoint. */ if (kgdb_skipexception(ex_vector, linux_regs)) - goto kgdb_restore: + goto kgdb_restore; kgdb_info[processor].debuggerinfo = linux_regs; kgdb_info[processor].task = current; Here's one for MIPS... arch/mips/kernel/traps.c: In function `trap_init': arch/mips/kernel/traps.c:1255: error: `kgdb_early_setup' undeclared (first use in this function) Index: linux-2.6.15/arch/mips/kernel/traps.c =================================================================== --- linux-2.6.15.orig/arch/mips/kernel/traps.c 2006-02-21 13:51:17.000000000 -0800 +++ linux-2.6.15/arch/mips/kernel/traps.c 2006-02-21 16:23:59.000000000 -0800 @@ -1252,8 +1252,10 @@ extern char except_vec4; unsigned long i; +#if defined(CONFIG_KGDB) if (kgdb_early_setup) return; /* Already done */ +#endif if (cpu_has_veic || cpu_has_vint) ebase = (unsigned long) alloc_bootmem_low_pages (0x200 + VECTORSPACING*64); ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
Sign up for updates to this mailing list. email:
Loading Comments...
Home | News | Patents | Sitemap | FAQ | advertise

Advertising by