kernel with kgdb patches?

All kernel questions! 2.4 or new 2.6 kernel, compiling, modules, panics, etc.

kernel with kgdb patches?

Postby afxgroup » 23 Aug 2006, 15:35

Hi i need an MMU ma of my G4
i've installed the 4.1 right now and i've found on some sites that i need to recompile the kernel with kgdb patches.
Anyone can help me??

Thx!
Andrea Palmatè
http://www.amigasoft.net
afxgroup
ydl newbie
ydl newbie
 
Posts: 4
Joined: 23 Aug 2006, 15:32

Postby StarKnight83 » 23 Aug 2006, 16:29

what exactly do you need? your machine has a memory management unit built in and it should be fully utilized as its a processor bit. As for recompiling your kernel we can give you help there just ask where you get stuck
Til our paths cross again
User avatar
StarKnight83
Moderator
Moderator
 
Posts: 959
Joined: 12 Jul 2004, 16:26
Location: Ft. Wayne, IN; USA

Postby afxgroup » 23 Aug 2006, 20:31

well. first of all i must recompile the kernel but i receive these undefined references:

arch/ppc/kernel/built-in.o(.text+0x7c98): In function `putpacket':
arch/ppc/kernel/ppc-stub.c:404: undefined reference to `putDebugChar'
arch/ppc/kernel/built-in.o(.text+0x7cb4):arch/ppc/kernel/ppc-stub.c:409: undefined reference to `putDebugChar'
arch/ppc/kernel/built-in.o(.text+0x7cd0):arch/ppc/kernel/ppc-stub.c:414: undefined reference to `putDebugChar'
arch/ppc/kernel/built-in.o(.text+0x7cdc):arch/ppc/kernel/ppc-stub.c:415: undefined reference to `putDebugChar'
arch/ppc/kernel/built-in.o(.text+0x7ce8):arch/ppc/kernel/ppc-stub.c:416: undefined reference to `putDebugChar'
arch/ppc/kernel/built-in.o(.text+0x7cec):arch/ppc/kernel/ppc-stub.c:417: undefined reference to `getDebugChar'
arch/ppc/kernel/built-in.o(.text+0x7e00): In function `handle_exception':
arch/ppc/kernel/ppc-stub.c:591: undefined reference to `kgdb_interruptible'
arch/ppc/kernel/built-in.o(.text+0x7f44):arch/ppc/kernel/ppc-stub.c:352: undefined reference to `getDebugChar'
arch/ppc/kernel/built-in.o(.text+0x7f78):arch/ppc/kernel/ppc-stub.c:361: undefined reference to `getDebugChar'
arch/ppc/kernel/built-in.o(.text+0x8088):arch/ppc/kernel/ppc-stub.c:375: undefined reference to `getDebugChar'
arch/ppc/kernel/built-in.o(.text+0x8098):arch/ppc/kernel/ppc-stub.c:376: undefined reference to `getDebugChar'
arch/ppc/kernel/built-in.o(.text+0x80b8):arch/ppc/kernel/ppc-stub.c:378: undefined reference to `putDebugChar'
arch/ppc/kernel/built-in.o(.text+0x8244):arch/ppc/kernel/ppc-stub.c:772: undefined reference to `kgdb_interruptible'
arch/ppc/kernel/built-in.o(.text+0x8434):arch/ppc/kernel/ppc-stub.c:380: undefined reference to `putDebugChar'
arch/ppc/kernel/built-in.o(.text+0x8448):arch/ppc/kernel/ppc-stub.c:383: undefined reference to `putDebugChar'
arch/ppc/kernel/built-in.o(.text+0x8450):arch/ppc/kernel/ppc-stub.c:384: undefined reference to `putDebugChar'
arch/ppc/platforms/built-in.o(.init.text+0x9dc): In function `pmac_setup_arch':
arch/ppc/platforms/pmac_setup.c:301: undefined reference to `zs_kgdb_hook'
make: *** [.tmp_vmlinux1] Error 1

what's wrong? seems the debug library the problem?
Andrea Palmatè
http://www.amigasoft.net
afxgroup
ydl newbie
ydl newbie
 
Posts: 4
Joined: 23 Aug 2006, 15:32

Postby afxgroup » 04 Sep 2006, 08:43

no one?

however i need to put output to stdout not to the serial
Andrea Palmatè
http://www.amigasoft.net
afxgroup
ydl newbie
ydl newbie
 
Posts: 4
Joined: 23 Aug 2006, 15:32

Postby StarKnight83 » 04 Sep 2006, 14:43

it sounds like you have some of the debugging stuff enabled; if you dont need it disable it (or make sure it all is)
Til our paths cross again
User avatar
StarKnight83
Moderator
Moderator
 
Posts: 959
Joined: 12 Jul 2004, 16:26
Location: Ft. Wayne, IN; USA

Postby afxgroup » 04 Sep 2006, 17:35

StarKnight83 wrote:it sounds like you have some of the debugging stuff enabled; if you dont need it disable it (or make sure it all is)


i want the debug enabled. i want compile kgdb indeed
Andrea Palmatè
http://www.amigasoft.net
afxgroup
ydl newbie
ydl newbie
 
Posts: 4
Joined: 23 Aug 2006, 15:32

Postby StarKnight83 » 05 Sep 2006, 13:21

Doh!!! yeah forgive my ignorance just dawned on me that kgdb is the front-end of gdb. well i guess first things first can you get output via cli before trying to make it handle the guil section
Til our paths cross again
User avatar
StarKnight83
Moderator
Moderator
 
Posts: 959
Joined: 12 Jul 2004, 16:26
Location: Ft. Wayne, IN; USA


Return to Kernel

Who is online

Users browsing this forum: No registered users and 4 guests

cron