Getting fddi to work with 2.3.47/48 devfs

From: Jan-Frode Myklebust (janfrode@ii.uib.no)
Date: Fri Mar 03 2000 - 07:35:42 EST


Hi,

I sent this message to Richard Gooch thinking it was devfs that broke the
fddi-driver, but I guess I was wrong.. Anybody else have problems getting
FDDI to work with the latest kernels?

The machine is a uniprocessor Pentium 200 MMX with one DEFPA FDDI card and
one 3c509 used for IPv6. It works fine with 2.3.42, but not with 47/48.

  -jf

----- Forwarded message from Jan-Frode Myklebust <janfrode@ii.uib.no> -----

Date: Fri, 25 Feb 2000 11:54:34 +0100
From: Jan-Frode Myklebust <janfrode@ii.uib.no>
To: rgooch@atnf.csiro.au
Subject: fddi and devfs

Hi,

congratulations for finally getting devfs in, but ... (I'm sending this
directly to you, since I've got the impression from l-k that that's the way
you want it)

I'm having some problems. It seems to me that devfs doesn't work with FDDI
network devices. The fddi interface was working perfectly with 2.3.42.

During the boot everything seems OK:

defxx.c:v1.04 09/16/96 Lawrence V. Stefani (stefani@lkg.dec.com)
fddi0: DEFPA at I/O addr = 0xDF80, IRQ = 10, Hardware addr = 08-00-2B-B2-9C-CD

but when I try to ifconfig it up, it fails.

# ifconfig fddi0 up
SIOCSIFFLAGS: No such device

# strace ifconfig fddi0 up
execve("/sbin/ifconfig", ["ifconfig", "fddi0", "up"], [/* 20 vars */]) = 0
brk(0) = 0x8053660
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat(3, {st_mode=0, st_size=0, ...}) = 0
mmap(0, 14937, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40014000
close(3) = 0
open("/lib/libc.so.6", O_RDONLY) = 3
fstat(3, {st_mode=0, st_size=0, ...}) = 0
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 4096) = 4096
mmap(0, 974392, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40018000
mprotect(0x400fe000, 32312, PROT_NONE) = 0
mmap(0x400fe000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xe5000) = 0x400fe000
mmap(0x40103000, 11832, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40103000
close(3) = 0
munmap(0x40014000, 14937) = 0
personality(PER_LINUX) = 0
getpid() = 1964
brk(0) = 0x8053660
brk(0x8053680) = 0x8053680
brk(0x8054000) = 0x8054000
uname({sys="Linux", node="lapprose.ii.uib.no", ...}) = 0
access("/proc/net", R_OK) = 0
access("/proc/net/unix", R_OK) = 0
socket(PF_UNIX, SOCK_DGRAM, 0) = 3
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
access("/proc/net/if_inet6", R_OK) = 0
socket(0xa /* PF_??? */, SOCK_DGRAM, 0) = 5
access("/proc/net/ax25", R_OK) = -1 ENOENT (No such file or directory)
access("/proc/net/nr", R_OK) = -1 ENOENT (No such file or directory)
access("/proc/net/ipx", R_OK) = -1 ENOENT (No such file or directory)
access("/proc/net/appletalk", R_OK) = -1 ENOENT (No such file or directory)
access("/proc/net/ax25", R_OK) = -1 ENOENT (No such file or directory)
access("/proc/net/nr", R_OK) = -1 ENOENT (No such file or directory)
access("/proc/net/ipx", R_OK) = -1 ENOENT (No such file or directory)
access("/proc/net/appletalk", R_OK) = -1 ENOENT (No such file or directory)
ioctl(5, SIOCGIFFLAGS, 0xbffffba4) = 0
ioctl(5, SIOCSIFFLAGS, 0xbffffba4) = -1 ENODEV (No such device)
write(2, "SIOCSIFFLAGS: No such device\n", 29SIOCSIFFLAGS: No such device
) = 29
_exit(-1) = ?
 

I'm no kernel hacker, so I don't know how to fix this myself, but I would
be glad to give you access to the machine (the ethernet interface is
working perfectly) if you want to have a look.

Regards,

   jan-frode

-- 
Jan-Frode Myklebust, Para//ab, High Performance Computing Center

----- End forwarded message -----

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Mar 07 2000 - 21:00:14 EST