This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

DHCP Problem solved


Hi!

I checked your tip and you are absolutly right! The interrupt coming, but i dont reset it.
so I dont receive packages.


Whats strange:


On Thu, 20 Jan 2005 08:20:52 -0700, Gary Thomas <gary@mlbassoc.com> wrote:


On Thu, 2005-01-20 at 16:16 +0100, Stefan Rosinger wrote:
Hi!

As described in the subject the DHCP service doesn't work with my eCos
application.

I use the FreeBSD stack on a PowerPC 405 platform with a Davicom DM9000
ethernet controller.

With redboot it works fine...(for sure polled mode)

Ping tests with my application are ok. So my interrupt eth driver should
work correctly.

I sniffed the packages with ethereal.

Here they are:


No. Time Source Destination Protocol Info 2 1.839188 0.0.0.0 255.255.255.255 DHCP DHCP Discover - Transaction ID 0x270107 3 1.851694 192.168.0.1 Broadcast ARP Who has 192.168.0.17? Tell 192.168.0.1 4 1.971873 192.168.0.1 255.255.255.255 DHCP DHCP Offer - Transaction ID 0x270107 5 2.201723 0.0.0.0 255.255.255.255 DHCP DHCP Discover - Transaction ID 0x270107 6 2.210369 192.168.0.1 Broadcast ARP Who has 192.168.0.17? Tell 192.168.0.1 7 2.371141 192.168.0.1 255.255.255.255 DHCP DHCP Offer - Transaction ID 0x270107

Any ideas?

Have you tried putting some debug messages in the driver? Can you see that it gets to the interrupt handler?

My guess (as was Andrew's) is that you are not getting any interrupts.
RedBoot polls the device and thus works, but eCos relies on them.




-- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]