tech-net archive

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

Re: ifconfig -a error



On Mon, Aug 04, 2008 at 11:11:00PM +0100, Iain Hibbert wrote:
> Hi,
> 
> with the new ifconfig (on i386) I notice an error
> 
> % ifconfig -a
> eon0: flags=3<UP,BROADCAST> mtu 1500
> ifconfig: link_status: ioctl: Invalid argument
> 
> % ifconfig eon0
> eon0: flags=3<UP,BROADCAST> mtu 1500
> ifconfig: link_status: ioctl: Invalid argument
> 
> % ifconfig ppp0
> ppp0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
>         inet 10.34.129.29 -> 10.64.64.64 netmask 0xff000000
> 
> It seems to be related to the SIOCGLIFADDR in af_link.c but I don't know
> what that does. I have "options EON,ISO,TPIP" in my kernel config file
> (though I don't use the eon interface) left over from when I was working
> in the netiso code so perhaps its an incompatibility with the eon driver?

There is a bug in eonioctl().  In eonioctl(), change the return value
in the 'default:' case from EINVAL to ENOTTY.  This is just a stopgap fix.

Dave

-- 
David Young             OJC Technologies
dyoung%ojctech.com@localhost      Urbana, IL * (217) 278-3933 ext 24


Home | Main Index | Thread Index | Old Index