public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] freebsd and eth_drv panic
@ 2009-07-29  7:32 Edgar Grimberg
  0 siblings, 0 replies; only message in thread
From: Edgar Grimberg @ 2009-07-29  7:32 UTC (permalink / raw)
  To: ecos-discuss

Hi,

I'm writing a driver for the Altera's triple-speed ethernet Mega
Function. I'm trying to stress test the simple attempt that I have so
far.
My test is, simultaneously:
* ping -s 4000 192.168.1.2
* ping -f -s 4000 192.168.1.2

A positive test would be to drop some frames, lose some ping packets,
but the board should be up after I stop the flooding.

The error message that I get is:
PANIC: eth_drv_send: no header mbuf

The stack trace is:

#0  cyg_test_exit () at
/home/edgar/workspace/eidel/ecos/ecos/packages/infra/current/src/tcdiag.cxx:272
#1  0x1c009ac8 in cyg_panic (msg=0x1c05e730 "eth_drv_send: no header
mbuf") at /home/edgar/workspace/eidel/ecos/ecos-opt/net/net/bsd_tcpip/current/src/ecos/support.c:109
#2  0x1c0465bc in eth_drv_send (ifp=0x1c060868) at
/home/edgar/workspace/eidel/ecos/ecos/packages/io/eth/current/src/net/eth_drv.c:677
#3  0x1c048f3c in cyg_ether_output_frame (ifp=0x1c060868,
m=0x1c0a4f80) at
/home/edgar/workspace/eidel/ecos/ecos-opt/net/net/bsd_tcpip/current/src/sys/net/if_ethersubr.c:424
#4  0x1c048d9c in cyg_ether_output (ifp=0x1c060868, m=0x1c0a4f80,
dst=0x1c0656d8, rt0=0x1c09c7f0) at
/home/edgar/workspace/eidel/ecos/ecos-opt/net/net/bsd_tcpip/current/src/sys/net/if_ethersubr.c:366
#5  0x1c021448 in cyg_ip_output (m0=0x0, opt=0x0, ro=0x1c0656d4,
flags=0, imo=0x0) at
/home/edgar/workspace/eidel/ecos/ecos-opt/net/net/bsd_tcpip/current/src/sys/netinet/ip_output.c:955
#6  0x1c01bd98 in icmp_send (m=0x1c0a5200, opts=0x0) at
/home/edgar/workspace/eidel/ecos/ecos-opt/net/net/bsd_tcpip/current/src/sys/netinet/ip_icmp.c:769
#7  0x1c01bc64 in icmp_reflect (m=0x1c0a5200) at
/home/edgar/workspace/eidel/ecos/ecos-opt/net/net/bsd_tcpip/current/src/sys/netinet/ip_icmp.c:731
#8  0x1c01b1b8 in cyg_icmp_input (m=0x1c0a5200, off=20) at
/home/edgar/workspace/eidel/ecos/ecos-opt/net/net/bsd_tcpip/current/src/sys/netinet/ip_icmp.c:531
#9  0x1c01d31c in cyg_ip_input (m=0x1c0a5200) at
/home/edgar/workspace/eidel/ecos/ecos-opt/net/net/bsd_tcpip/current/src/sys/netinet/ip_input.c:887
#10 0x1c01d3d8 in ipintr () at
/home/edgar/workspace/eidel/ecos/ecos-opt/net/net/bsd_tcpip/current/src/sys/netinet/ip_input.c:915
#11 0x1c00a924 in cyg_netint (param=0) at
/home/edgar/workspace/eidel/ecos/ecos-opt/net/net/bsd_tcpip/current/src/ecos/support.c:715
#12 0x1c03dce0 in Cyg_HardwareThread::thread_entry (thread=0x1c0658e4)
at /home/edgar/workspace/eidel/ecos/ecos/packages/kernel/current/src/common/thread.cxx:94
#13 0x00000000 in ?? ()
Current language:  auto; currently c++

My questions are:
* Is the test relevant?
* Can the panic message be related to faults in my driver? Any hints?

Regards,
Edgar

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-07-29  7:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-29  7:32 [ECOS] freebsd and eth_drv panic Edgar Grimberg

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 read-only IMAP folder(s) and NNTP newsgroup(s).