From: Sergei Shtylyov <sshtylyov@ru•mvista.com>
To: sudheer <urwithsudheer@gmail•com>
Cc: kernelnewbies@nl•linux.org, linuxppc-embedded@ozlabs•org
Subject: Re: regarding kgdb in ppc
Date: Mon, 29 Jan 2007 16:00:14 +0300 [thread overview]
Message-ID: <45BDEFDE.9090006@ru.mvista.com> (raw)
In-Reply-To: <45BDDCA8.5020505@gmail.com>
Hello.
sudheer wrote:
>>> I gave the following bootargs:
>>> console=ttyS0,115200 root=/dev/ram rw
>>> kgdboe=@192.168.3.80/,@192.168.3.14/00:08:A1:84:EF:CA kgdbwait
>> You don't have to specify the remote MAC, IIUC.
> When i dont give the mac address, the mac address all FFs(default) is
> considered. So am giving the mac address too, only then its working
> properly.
What, you don't have ARP on host?!
> I have added few lines of code in driver/net/gianfar.c
> void gfar_poll_gianfar(struct net_device *dev )
> {
> disable_irq(dev->irq);
> gfar_interrupt(dev->irq, dev, NULL);
> enable_irq(dev->irq);
>
> }
This isn't complete, please use the community patch. Gianfar TSEC has 3
interrupts and all of them must be disabled.
> Now am able to boot the target kernel without any error. kgdb waits for
> gdb connection.
>>> kgdboe: local port 6443
>>> kgdboe: local IP 192.168.3.80
>>> kgdboe: interface eth0
>>> kgdboe: remote port 6442
>>> kgdboe: remote IP 192.168.3.14
>>> kgdboe: remote ethernet address 00:08:a1:84:ef:ca
>>> kgdboe: eth0 doesn't support polling, aborting.
>>> kgdboe: netpoll_setup failed kgdboe failed
>> Have you backported the gianfar netpoll patch from 2.6.20-rc1?
> I haven't backported the 2.6.20-rc1. As there are many patches under
> that tree , i didnt try for it and could not know which one to add.
You certainly didn't need to backport the whole 2.6.20-rc1, only a signle
patch (-:
http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff_plain;h=f2d71c2d800e68f158a5949e38b23f5140948548
WBR, Sergei
next prev parent reply other threads:[~2007-01-29 13:00 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-28 16:20 regarding kgdb in ppc Anumolu Sudheer
2006-11-30 4:33 ` Anumolu Sudheer
[not found] ` <d16b1c80611300036x36ec0009r2eb20ebbc6966a97@mail.gmail.com>
[not found] ` <12c9fc1a0611300924r406e95acie5c2053c1433ab33@mail.gmail.com>
[not found] ` <d16b1c80611301101n5f9ea44died47d2ff1bac4221@mail.gmail.com>
[not found] ` <12c9fc1a0611302029h36f29943s119f8ad70b95f2c4@mail.gmail.com>
[not found] ` <12c9fc1a0612010331p2c33c048j1af6006deda14abb@mail.gmail.com>
[not found] ` <d16b1c80612010540k7600f0e1n92fadd3d539d75bf@mail.gmail.com>
[not found] ` <12c9fc1a0612040805p64f23a7bj42fd27891294dfc2@mail.gmail.com>
2006-12-24 8:20 ` sudheer
2006-12-27 14:18 ` sudheer
2006-12-29 0:34 ` Reeve Yang
2006-12-29 1:02 ` Vijay Sampath
2006-12-30 11:27 ` sudheer
2006-12-31 1:53 ` Vijay Sampath
2007-01-23 6:00 ` sudheer
2007-01-23 8:49 ` Vitaly Bordug
2007-01-23 14:47 ` sudheer
2007-01-23 14:58 ` Sergei Shtylyov
2007-01-29 11:38 ` sudheer
2007-01-29 13:00 ` Sergei Shtylyov [this message]
2007-01-31 3:39 ` sudheer
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=45BDEFDE.9090006@ru.mvista.com \
--to=sshtylyov@ru$(echo .)mvista.com \
--cc=kernelnewbies@nl$(echo .)linux.org \
--cc=linuxppc-embedded@ozlabs$(echo .)org \
--cc=urwithsudheer@gmail$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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