Article [#3982] kgdb patch fails to apply to trunk head kernel now

[#3982] kgdb patch fails to apply to trunk head kernel now

Submitted By: Mingquan Pan

Open Date

2008-03-24 05:32:31     Close Date

2008-04-01 22:54:23

Priority:

Medium     Assignee:

Sonic Zhang

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

N/A     Board:

N/A

Processor:

N/A     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

08r1-rc8

App binary format:

N/A     

Summary: kgdb patch fails to apply to trunk head kernel now

Details:

kgdb patch fails to apply to trunk head kernel now .

Starting ./build_kgdb_kernel.exp

************** STEP 1: Apply kgdb patch.

patching file drivers/net/Makefile

Hunk #1 succeeded at 243 (offset 18 lines).

patching file drivers/net/kgdb_eth.c

patching file drivers/serial/Makefile

Hunk #1 FAILED at 61.

1 out of 1 hunk FAILED -- saving rejects to file drivers/serial/Makefile.rej

patching file drivers/serial/kgdb_uart.c

patching file include/linux/debugger.h

patching file include/linux/kgdb.h

patching file kernel/Kconfig.kgdb

patching file kernel/Makefile

Hunk #1 succeeded at 51 (offset 6 lines).

patching file kernel/kgdb.c

patching file kernel/sched.c

Hunk #1 succeeded at 53 with fuzz 2 (offset 7 lines).

Hunk #2 succeeded at 6856 (offset -253 lines).

patching file net/core/netpoll.c

Hunk #1 succeeded at 327 (offset 34 lines).

can't find file to patch at input line 2196

Perhaps you used the wrong -p or --strip option?

The text leading up to this was:

--------------------------

|--- linux-2.6.x.old/drivers/char/watchdog/Kconfig      2007-09-27 12:08:23.000000000 +0800

|+++ linux-2.6.x/drivers/char/watchdog/Kconfig  2007-09-27 17:20:33.000000000 +0800

--------------------------

File to patch:

Skip this patch? [y]

Skipping patch.

1 out of 1 hunk ignored

patching file arch/blackfin/Kconfig.debug

Hunk #1 succeeded at 140 (offset -1017 lines).

child process exited abnormally

    while executing

"exec patch -p1 < ../bfin_patch/kgdb_patch/kgdb_bfin_linux-2.6.x.patch"

    (file "./build_kgdb_kernel.exp" line 13)^M

~

Follow-ups

--- Sonic Zhang                                              2008-03-31 23:00:38

fixed.

--- Mingquan Pan                                             2008-04-01 22:54:23

Yes,close.

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

File Name     File Type     File Size     Posted By

No Files Were Found

Before You Switch


Switching languages will make ADI Explorer unavailable. Resume your session by switching back to English and reopening ADI Explorer.