Hello<br><br>I got the gianfar.c patch and enabled CONFIG_NETCONSOLE and now i'm able to connect kgdb and gdb.<br>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.<br>
dump:<br><br>(gdb) c<br>Continuing.<br>RAMDISK: Compressed image found at block 0<br>VFS: Mounted root (ext2 filesystem).<br>Root-NFS: No NFS server available, giving up.<br>VFS: Unable to mount root fs via NFS, trying floppy.<br>
VFS: Cannot open root device "ram=rw" or unknown-block(2,0)<br>Please append a correct "root=" boot option<br>Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)<br> total: used: free: shared: buffers: cached:<br>
Mem: 1060827136 226791424 834035712 0 219955200 8192<br>Swap: 0 0 0<br>MemTotal: 1035964 kB<br>MemFree: 814488 kB<br>MemShared: 0 kB<br>Buffers: 214800 kB<br>Cached: 8 kB<br>
SwapCached: 0 kB<br>Active: 0 kB<br>Inactive: 0 kB<br>HighTotal: 1035964 kB<br>HighFree: 814488 kB<br>LowTotal: 0 kB<br>LowFree: 0 kB<br>SwapTotal: 8192 kB<br>
SwapFree: 0 kB<br> [New Thread 1]<br><br>Program received signal SIGTRAP, Trace/breakpoint trap.<br>0x8003c0d8 in breakpoint () at kernel/kgdb.c:1773<br>1773 wmb();<br>(gdb)<br><br>Thanks<br><br><div class="gmail_quote">
On Thu, Jun 26, 2008 at 2:53 PM, SEEMA pm <<a href="http://seema.pm">seema.pm</a>@<a href="http://gmail.com">gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello<br><br>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 :<br>
- Compile the kernel with debug info<br>- KGDB: kernel debugging with remote gdb <br>- KGDB: Console messages through gdb<br>- Method for KGDB communication (KGDB: On ethernet - in kernel)<br><br>I also added bootargs through uboot as:<br>
kgdboe=<a href="http://6443@10.110.1.2/,6442@10.110.1.31/00:0F:1F:6E:F3:30" target="_blank">6443@10.110.1.2/,6442@10.110.1.31/00:0F:1F:6E:F3:30</a> kgdbwait<br><br>Now, I'm getting the messages:<br>netconsole: not configured, aborting<br>
kgdboe: eth0 doesn't support polling, aborting.<br>kgdboe: netpoll_setup failed kgdboe failed<br> <br>And after some lines;<br><br>kgdb: Defering I/O setup to kernel module.<br>kgdb: Waiting for connection from remote gdb...<br>
But then it goes to load ramdisk.<br><br>Can someone please provide some help on this<br><br>thanks<br><br><br>
</blockquote></div><br>