[ECOS] ioctl failure with LANCEPCI

Iztok Zupet iztok.zupet@vsr.si
Fri Dec 6 00:24:00 GMT 2002


On Thursday 05 December 2002 15:51, Gary Thomas wrote:
> On Thu, 2002-12-05 at 07:46, Magnus Ekhall wrote:
> > Hi!
> >
> > Does anyone have a clue why the following ioctl call would hang ecos? (It
> > is from the dhcp module bring-half-up):
> > ioctl(s,SIOCSIFADDR, ifrp);
> >
> > It is for a LANCEPCI device. I think it is trying to set the ethernet
> > address of the card.
>
> You could try putting some trace (diag_printf) statements in the
> actual driver just to see where it is getting to.  My guess is
> that this is about the first time that an interrupt will be
> coming in from the device and you're having trouble handling it.

Take a look at the <http://www.vsr.si/ecos>. As for the current version of 
eCos, the lancepci device works only in pooled environment, that means 
RedBoot. In interrupt driven environment any control function can stop the 
device aburptly, while in stage of transmittion, causing it to HANG!

I'll fix that during the Christmass hollydays, when I have time.

Iztok

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



More information about the Ecos-discuss mailing list