linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "SEEMA pm" <seema.pm@gmail.com>
To: linuxppc-dev@ozlabs.org
Subject: Re: issue with kgdb on ppc
Date: Fri, 27 Jun 2008 13:46:22 -0700	[thread overview]
Message-ID: <4e69a5150806271346m77c26d2cp8d583ae87d13c235@mail.gmail.com> (raw)
In-Reply-To: <4e69a5150806261453n1196b5b8va61e330ea57bb00e@mail.gmail.com>

[-- 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 --]

      reply	other threads:[~2008-06-27 20:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-26 21:53 issue with kgdb on ppc SEEMA pm
2008-06-27 20:46 ` SEEMA pm [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4e69a5150806271346m77c26d2cp8d583ae87d13c235@mail.gmail.com \
    --to=seema.pm@gmail.com \
    --cc=linuxppc-dev@ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).