linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* booting Linux in Linux using kexec tools
@ 2006-08-30  7:26 Reddy Suneel-ASR125
  2006-09-04 21:39 ` Guennadi Liakhovetski
  0 siblings, 1 reply; 7+ messages in thread
From: Reddy Suneel-ASR125 @ 2006-08-30  7:26 UTC (permalink / raw)
  To: linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 1013 bytes --]

Hi
 
I am trying to boot Linux (zImage.elf) in Linux using kexec tools. 
 
I am getting the folling crash
 
sh-2.05b#
sh-2.05b# kexec -e
Shutting down gianfar ethernet
Shutting down gianfar ethernet
Shutting down gianfar ethernet
Starting new kernel
Bye!
Oops: kernel access of bad area, sig: 11 [#1]
PREEMPT
NIP: 2E5C0020 LR: C000A3CC SP: C8D97DF0 REGS: c8d97d40 TRAP: 0400    Not
taintedMSR: 00001000 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR: 00
TASK = c82f84a0[665] 'kexec' THREAD: c8d96000
Last syscall: 88
GPR00: 00000000 C8D97DF0 C82F84A0 2E5C1002 2E5C0000 00000000 00000F35
C0307DBC
GPR08: 2E5C0020 C0350000 00000000 C8D96000 00000000 10030450 00000220
100CBD88
GPR16: FFFFFFFF 00000000 00000000 00000000 00000000 00000000 FFFFFFFF
42202442
GPR24: 100D71C8 100D7508 2E5C1002 C0A8DC80 EE5C0000 2E5C0000 00000000
C0A8DC80
Call trace: [c000a2fc]  [c00302d0]  [c000206c]
Segmentation fault
sh-2.05b#
 
I am working on MPC8540 processor.
 
can any one help me.
 
Thanks&regards
Suneel

[-- Attachment #2: Type: text/html, Size: 2535 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread
* RE: MAC driver issue
@ 2006-09-06 18:11 Martin, Tim
  0 siblings, 0 replies; 7+ messages in thread
From: Martin, Tim @ 2006-09-06 18:11 UTC (permalink / raw)
  To: David H. Lynch Jr.; +Cc: linuxppc-embedded

>=20
> >     I have no doubt it is with the driver.  I am somewhat=20
> fortunate in=20
> > this instance that I have a nearly identical setup - this=20
> is an FPGA=20
> > based system
> >     I can swap the FPGA firmware, get an almost identical=20
> kernel with=20
> > a slightly different NIC, and everything works - same=20
> cables, same IP's,
> >     Same switch, The only things different are the NIC and=20
> its driver.=20
> > Even the Linux kernels are identical - except the NIC driver.
> >   =20
> >     BUT so is the data received and passed on to the kernel=20
> (outside=20
> > random differences in the padding of the ARP packet)

Why is the ARP packet padding random?  I would think it would be fixed,
since the ARP packet itself is a fixed length (for IPv4<->Ethernet ARPs)
and the minimum Ethernet frame is 64 bytes...


> >     One works the other doesn't.
> >=20
>=20
> Well ethernet device drivers contain multiple arp supporting=20
> methods, e.g. header_cache, header_cache_update,=20
> hard_header_parse, etc etc.
> Generally driver writers don't need to concern themselves=20
> about these as they are assigned to generic handlers by=20
> ether_setup().  However, your problematic driver may do=20
> something different.
>=20
> Given this problem appears to be driver specific rather than=20
> PPC specific your best bet is to try and contact the author. =20
> BTW, I don't think you've said which driver you are using, a=20
> key piece of info....
>=20

Might I suggest putting static ARP entries in the kernel (use the "arp"
command from a prompt) and some other packet traffic - UDP perhaps.  See
if the problem is specifically with the way your network driver handles
ARP packets, or if it's a more fundamental problem of how the driver
hands any type of Ethernet packet off to the upper kernel stack layers.

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

end of thread, other threads:[~2006-09-06 18:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-30  7:26 booting Linux in Linux using kexec tools Reddy Suneel-ASR125
2006-09-04 21:39 ` Guennadi Liakhovetski
2006-09-04 22:31   ` MAC driver issues David H. Lynch Jr.
2006-09-05  8:33     ` Alex Zeffertt
2006-09-06  6:25       ` MAC driver issue David H. Lynch Jr.
2006-09-06  8:25         ` Alex Zeffertt
  -- strict thread matches above, loose matches on Subject: below --
2006-09-06 18:11 Martin, Tim

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