* issue with kgdb on ppc
@ 2008-06-26 21:53 SEEMA pm
2008-06-27 20:46 ` SEEMA pm
0 siblings, 1 reply; 2+ messages in thread
From: SEEMA pm @ 2008-06-26 21:53 UTC (permalink / raw)
To: linuxppc-dev
[-- Attachment #1: Type: text/plain, Size: 838 bytes --]
Hello
I'm trying to get kgdb working on a mpc8540 based target machine. I took the
latest patches which are for 2.6.13(mine is 2.6.11) and build and made
changes to config by enabling :
- Compile the kernel with debug info
- KGDB: kernel debugging with remote gdb
- KGDB: Console messages through gdb
- Method for KGDB communication (KGDB: On ethernet - in kernel)
I also added bootargs through uboot as:
kgdboe=6443@10.110.1.2/,6442@10.110.1.31/00:0F:1F:6E:F3:30 kgdbwait
Now, I'm getting the messages:
netconsole: not configured, aborting
kgdboe: eth0 doesn't support polling, aborting.
kgdboe: netpoll_setup failed kgdboe failed
And after some lines;
kgdb: Defering I/O setup to kernel module.
kgdb: Waiting for connection from remote gdb...
But then it goes to load ramdisk.
Can someone please provide some help on this
thanks
[-- Attachment #2: Type: text/html, Size: 1037 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: issue with kgdb on ppc
2008-06-26 21:53 issue with kgdb on ppc SEEMA pm
@ 2008-06-27 20:46 ` SEEMA pm
0 siblings, 0 replies; 2+ messages in thread
From: SEEMA pm @ 2008-06-27 20:46 UTC (permalink / raw)
To: linuxppc-dev
[-- Attachment #1: Type: text/plain, Size: 2283 bytes --]
Hello
I got the gianfar.c patch and enabled CONFIG_NETCONSOLE and now i'm able to
connect kgdb and gdb.
But when i try to cont in gdb, the system tries to load the rootfs but fails
and trys to reboot. Can someone please provide some help on this.
dump:
(gdb) c
Continuing.
RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem).
Root-NFS: No NFS server available, giving up.
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "ram=rw" or unknown-block(2,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on
unknown-block(2,0)
total: used: free: shared: buffers: cached:
Mem: 1060827136 226791424 834035712 0 219955200 8192
Swap: 0 0 0
MemTotal: 1035964 kB
MemFree: 814488 kB
MemShared: 0 kB
Buffers: 214800 kB
Cached: 8 kB
SwapCached: 0 kB
Active: 0 kB
Inactive: 0 kB
HighTotal: 1035964 kB
HighFree: 814488 kB
LowTotal: 0 kB
LowFree: 0 kB
SwapTotal: 8192 kB
SwapFree: 0 kB
[New Thread 1]
Program received signal SIGTRAP, Trace/breakpoint trap.
0x8003c0d8 in breakpoint () at kernel/kgdb.c:1773
1773 wmb();
(gdb)
Thanks
On Thu, Jun 26, 2008 at 2:53 PM, SEEMA pm <seema.pm@gmail.com> wrote:
> Hello
>
> I'm trying to get kgdb working on a mpc8540 based target machine. I took
> the latest patches which are for 2.6.13(mine is 2.6.11) and build and made
> changes to config by enabling :
> - Compile the kernel with debug info
> - KGDB: kernel debugging with remote gdb
> - KGDB: Console messages through gdb
> - Method for KGDB communication (KGDB: On ethernet - in kernel)
>
> I also added bootargs through uboot as:
> kgdboe=6443@10.110.1.2/,6442@10.110.1.31/00:0F:1F:6E:F3:30 kgdbwait
>
> Now, I'm getting the messages:
> netconsole: not configured, aborting
> kgdboe: eth0 doesn't support polling, aborting.
> kgdboe: netpoll_setup failed kgdboe failed
>
> And after some lines;
>
> kgdb: Defering I/O setup to kernel module.
> kgdb: Waiting for connection from remote gdb...
> But then it goes to load ramdisk.
>
> Can someone please provide some help on this
>
> thanks
>
>
>
[-- Attachment #2: Type: text/html, Size: 3768 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-06-27 20:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-26 21:53 issue with kgdb on ppc SEEMA pm
2008-06-27 20:46 ` SEEMA pm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).