NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
port-i386/39880: ioctl with SIOCGIFFLAGS fails on -current (in GNUstep gdomap)
>Number: 39880
>Category: port-i386
>Synopsis: ioctl with SIOCGIFFLAGS fails on -current (in GNUstep gdomap)
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: port-i386-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Nov 07 18:30:00 +0000 2008
>Originator: Riccardo
>Release: 4.0.1 with currente kernel
>Organization:
>Environment:
NetBSD saruman 5.99.01 NetBSD 5.99.01 (GENERIC) #0: Wed Nov 5 10:35:40 PST
2008
builds@wb24:/home/builds/ab/HEAD/i386/200811050002Z-obj/home/builds/ab/HEAD/src/sys/arch/i386/compile/GENERIC
i386
>Description:
when using a current kernel, GNUstep's gdomap daemon fails with:
SIOCGIFFLAGS: Device not configured
SIOCGIFFLAGS: Device not configured
SIOCGIFFLAGS: Device not configured
SIOCGIFFLAGS: Device not configured
SIOCGIFFLAGS: Device not configured
SIOCGIFFLAGS: Device not configured
SIOCGIFFLAGS: Device not configured
SIOCGIFFLAGS: Device not configured
SIOCGIFFLAGS: Device not configured
SIOCGIFFLAGS: Device not configured
I can't find any network interfaces on this platform - use the '-a' flag to
load interface details from a file instead
the same binary runs on the 4.0.1 kernel.
The failing line is :
if (ioctl(desc, SIOCGIFFLAGS, (char *)&ifreq) < 0)
in gdomap.c
>How-To-Repeat:
Install gnustep base (I used svn trunk) and start the gdomap daemon with
"gdomap -d -f" to avoid forking it ans being able to check its output.
>Fix:
Home |
Main Index |
Thread Index |
Old Index