linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Kernel Oops when run ifconfig on MPC8360MDS board
@ 2008-10-20 22:00 mike zheng
  2008-10-21  0:50 ` Kim Phillips
  0 siblings, 1 reply; 5+ messages in thread
From: mike zheng @ 2008-10-20 22:00 UTC (permalink / raw)
  To: linuxppc-dev

Hi All,

I have following kernel Oops when I run ifconfig to setup the UEC0 of
MPC8360MDS board. There is no hardware problem, the UEC0 runs well
under Uboot.

Any idea on this issue?

Thanks,

Mike


[root@localhost root]# ifconfig eth0 47.135.148.158
Oops: machine check, sig: 7
NIP: C0126910 XER: 20000000 LR: C01268D0 SP: CC10DD80 REGS: cc10dcd0
TRAP: 0200    Not tainted
MSR: 00049030 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11
TASK = cc10c000[349] 'ifconfig' Last syscall: 54
last math cc10c000 last altivec 00000000
GPR00: 00000000 CC10DD80 CC10C000 00000000 00001032 CC12D000 C0247264 C04D24C8
GPR08: BA2E8BA3 D1000010 C01EE55C 00000000 48022228 100235F8 00000000 00000000
GPR16: 00000000 00000000 10020000 10020000 00009032 CC10DE78 00000000 00000000
GPR24: FFFF8914 0000C000 C01D0000 CC10DDB8 D1000000 C0586E60 C0269C20 00000000
Call backtrace:
C0126890 C00D59D0 C00D761C C012F400 C0130DD4 C01746B4 C017712C
C0127770 C004D8B0 C0005ABC 00000000 10001214 100023C4 0FEC4E00
00000000
Bus error

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Kernel Oops when run ifconfig on MPC8360MDS board
  2008-10-20 22:00 Kernel Oops when run ifconfig on MPC8360MDS board mike zheng
@ 2008-10-21  0:50 ` Kim Phillips
  2008-10-21  4:23   ` mike zheng
  0 siblings, 1 reply; 5+ messages in thread
From: Kim Phillips @ 2008-10-21  0:50 UTC (permalink / raw)
  To: mike zheng; +Cc: linuxppc-dev

On Mon, 20 Oct 2008 15:00:33 -0700
"mike zheng" <mail4mz@gmail.com> wrote:

> I have following kernel Oops when I run ifconfig to setup the UEC0 of
> MPC8360MDS board. There is no hardware problem, the UEC0 runs well
> under Uboot.

does this occur on vanilla u-boot and kernel versions?  if so, which
ones, and on what board revision?

> Call backtrace:
> C0126890 C00D59D0 C00D761C C012F400 C0130DD4 C01746B4 C017712C
> C0127770 C004D8B0 C0005ABC 00000000 10001214 100023C4 0FEC4E00
> 00000000

might want to turn on verbose debugging while you're at it.

Kim

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Kernel Oops when run ifconfig on MPC8360MDS board
  2008-10-21  0:50 ` Kim Phillips
@ 2008-10-21  4:23   ` mike zheng
  2008-10-21  4:26     ` mike zheng
  0 siblings, 1 reply; 5+ messages in thread
From: mike zheng @ 2008-10-21  4:23 UTC (permalink / raw)
  To: Kim Phillips; +Cc: linuxppc-dev

On 10/20/08, Kim Phillips <kim.phillips@freescale.com> wrote:
> On Mon, 20 Oct 2008 15:00:33 -0700
> "mike zheng" <mail4mz@gmail.com> wrote:
>
> > I have following kernel Oops when I run ifconfig to setup the UEC0 of
> > MPC8360MDS board. There is no hardware problem, the UEC0 runs well
> > under Uboot.
>
> does this occur on vanilla u-boot and kernel versions?  if so, which
> ones, and on what board revision?
>
The kernel Oops happened under Linux when I try to use "ifconfig" to
setup the eth0. Under Uboot, the UEC0 works fine. I am able to do
ping, tftp via the ethernet port.


> > Call backtrace:
> > C0126890 C00D59D0 C00D761C C012F400 C0130DD4 C01746B4 C017712C
> > C0127770 C004D8B0 C0005ABC 00000000 10001214 100023C4 0FEC4E00
> > 00000000
>
> might want to turn on verbose debugging while you're at it.

Which flag shall I turned on? I am not formaliar to the network driver. Thanks!
>
> Kim
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Kernel Oops when run ifconfig on MPC8360MDS board
  2008-10-21  4:23   ` mike zheng
@ 2008-10-21  4:26     ` mike zheng
  2008-10-21 15:51       ` mike zheng
  0 siblings, 1 reply; 5+ messages in thread
From: mike zheng @ 2008-10-21  4:26 UTC (permalink / raw)
  To: Kim Phillips; +Cc: linuxppc-dev

Oh, I forgot to metion just now. The linux is based on a custom built
kernel 2.4.22, not from Freescale.

On 10/20/08, mike zheng <mail4mz@gmail.com> wrote:
> On 10/20/08, Kim Phillips <kim.phillips@freescale.com> wrote:
> > On Mon, 20 Oct 2008 15:00:33 -0700
> > "mike zheng" <mail4mz@gmail.com> wrote:
> >
> > > I have following kernel Oops when I run ifconfig to setup the UEC0 of
> > > MPC8360MDS board. There is no hardware problem, the UEC0 runs well
> > > under Uboot.
> >
> > does this occur on vanilla u-boot and kernel versions?  if so, which
> > ones, and on what board revision?
> >
> The kernel Oops happened under Linux when I try to use "ifconfig" to
> setup the eth0. Under Uboot, the UEC0 works fine. I am able to do
> ping, tftp via the ethernet port.
>
>
> > > Call backtrace:
> > > C0126890 C00D59D0 C00D761C C012F400 C0130DD4 C01746B4 C017712C
> > > C0127770 C004D8B0 C0005ABC 00000000 10001214 100023C4 0FEC4E00
> > > 00000000
> >
> > might want to turn on verbose debugging while you're at it.
>
> Which flag shall I turned on? I am not formaliar to the network driver. Thanks!
> >
> > Kim
> >
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Kernel Oops when run ifconfig on MPC8360MDS board
  2008-10-21  4:26     ` mike zheng
@ 2008-10-21 15:51       ` mike zheng
  0 siblings, 0 replies; 5+ messages in thread
From: mike zheng @ 2008-10-21 15:51 UTC (permalink / raw)
  To: Kim Phillips; +Cc: linuxppc-dev

Enable the debug flag on ucc_geth.c: there is the dmesg:

ucc_geth_open: IN
ucc_geth_startup: IN
Machine check in kernel mode.
Caused by (from SRR1=49030): Transfer error ack signal
Oops: machine check, sig: 7
NIP: C0126910 XER: 20000000 LR: C01268D0 SP: CFD0DD80 REGS: cfd0dcd0
TRAP: 0200    Not tainted
MSR: 00049030 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11
TASK = cfd0c000[398] 'ifconfig' Last syscall: 54
last math cfd0c000 last altivec 00000000
GPR00: 00000000 CFD0DD80 CFD0C000 00000000 00001032 CC10E000 C0247264 C04D1F74
GPR08: BA2E8BA3 D1000010 C01EE55C 00000000 48022228 100235F8 00000000 00000000
GPR16: 00000000 00000000 10020000 10020000 00009032 CFD0DE78 00000000 00000000
GPR24: FFFF8914 0000C000 C01D0000 CFD0DDB8 D1000000 C0586D20 C0269C20 00000000
Call backtrace:
C0126890 C00D59D0 C00D761C C012F400 C0130DD4 C01746B4 C017712C
C0127770 C004D8B0 C0005ABC 00000000 10001214 100023C4 0FEC4E00
00000000


On Tue, Oct 21, 2008 at 12:26 AM, mike zheng <mail4mz@gmail.com> wrote:
> Oh, I forgot to metion just now. The linux is based on a custom built
> kernel 2.4.22, not from Freescale.
>
> On 10/20/08, mike zheng <mail4mz@gmail.com> wrote:
>> On 10/20/08, Kim Phillips <kim.phillips@freescale.com> wrote:
>> > On Mon, 20 Oct 2008 15:00:33 -0700
>> > "mike zheng" <mail4mz@gmail.com> wrote:
>> >
>> > > I have following kernel Oops when I run ifconfig to setup the UEC0 of
>> > > MPC8360MDS board. There is no hardware problem, the UEC0 runs well
>> > > under Uboot.
>> >
>> > does this occur on vanilla u-boot and kernel versions?  if so, which
>> > ones, and on what board revision?
>> >
>> The kernel Oops happened under Linux when I try to use "ifconfig" to
>> setup the eth0. Under Uboot, the UEC0 works fine. I am able to do
>> ping, tftp via the ethernet port.
>>
>>
>> > > Call backtrace:
>> > > C0126890 C00D59D0 C00D761C C012F400 C0130DD4 C01746B4 C017712C
>> > > C0127770 C004D8B0 C0005ABC 00000000 10001214 100023C4 0FEC4E00
>> > > 00000000
>> >
>> > might want to turn on verbose debugging while you're at it.
>>
>> Which flag shall I turned on? I am not formaliar to the network driver. Thanks!
>> >
>> > Kim
>> >
>>
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-10-21 15:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-20 22:00 Kernel Oops when run ifconfig on MPC8360MDS board mike zheng
2008-10-21  0:50 ` Kim Phillips
2008-10-21  4:23   ` mike zheng
2008-10-21  4:26     ` mike zheng
2008-10-21 15:51       ` mike zheng

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).