LDMSTM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks, Russell and Martin,

I will just comment the LDDSTM out for the moment.

Another thing, I wanted to dump the received sk_buff raw data using the following sequence but get kernel panic. The question is, is it safe to free the new_skb in the following manner.

new_skb=skb_copy(old_skb, GFP_ATOMIC);
....
kfree_skb(new_skb);

Or if there are other prefered way to get the raw data(including ethernet header) from a sk_buff?

Thanks,

David

Russell King - ARM Linux wrote:
On Sat, Jan 11, 2003 at 07:46:58PM +0000, D Qi wrote:

I have this LDMSTM error message when I ping from other host to the ARM box through a IF, eth1, using a network driver I am writing ( the ARM box running kernel 2.4.10).

Its just a debug message.  Just comment it out.


From: Martin Willers <M.Willers@tu-bs.de>
To: linux-arm-kernel@lists.arm.linux.org.uk
Subject: Re: Kernel Timer
Date: Sat, 11 Jan 2003 21:11:00 +0100
>I have this LDMSTM error message when I ping from other host to the ARM
>> box through a IF, eth1, using a network driver I am writing ( the ARM
>> box running kernel 2.4.10).
>> Over the last few days I found the PC point to the icmp_echo at location
>> 0xb6c, e.g. the line.
>> b6c: e8820003 stmia r2, {r0, r1}


Actually, it's the line
b64: e8930003 ldmia r3, {r0, r1}
You can verify this in the error message:
LDMSTM: PC = c0121ed4, instr = e8930003 [...]
----------------
(Remember that the PC always shows two instructions ahead of the instruction
currently being executed.)
Now the problem here seems to be that r3 isn't word-aligned:
r3 : c31f4032

ciao,
Martin



--__--__--

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux