Menu

#48 8139too hangs machine...

critical
closed-fixed
8139too (65)
5
2001-11-01
2001-08-04
Anonymous
No

I was trying to ftp a file (22M) and my machine hangs
during the transfer. I am currently using 8139too
v0.9.17. I realize there is a new release available,
v0.9.18; however, I am having trouble compiling it:

[bwoo@ashley 8139too-0.9.18]$ make
gcc -O2 -fomit-frame-pointer -D__KERNEL__
-I/spare/cvs/linux_2_3/include -DCPU=586 -march=i586
-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
-fno-strict-aliasing -pipe -DMODULE -DMODVERSIONS -c
8139too.c
8139too.c:154:23: linux/mii.h: No such file or directory
8139too.c: In function `netdev_ioctl':
8139too.c:2214: dereferencing pointer to incomplete type
8139too.c:2215: dereferencing pointer to incomplete type
8139too.c:2221: `SIOCGMIIPHY' undeclared (first use in
this function)
8139too.c:2221: (Each undeclared identifier is reported
only once
8139too.c:2221: for each function it appears in.)
8139too.c:2223: dereferencing pointer to incomplete type
8139too.c:2226: `SIOCGMIIREG' undeclared (first use in
this function)
8139too.c:2228: dereferencing pointer to incomplete type
8139too.c:2228: dereferencing pointer to incomplete type
8139too.c:2228: dereferencing pointer to incomplete type
8139too.c:2231: `SIOCSMIIREG' undeclared (first use in
this function)
8139too.c:2238: dereferencing pointer to incomplete type
8139too.c:2239: dereferencing pointer to incomplete type
8139too.c:2240: dereferencing pointer to incomplete type
8139too.c:2250: confused by earlier errors, bailing out
make: *** [8139too.o] Error 1

I think the problem is the mii.h. I search my whole
disk but I can't find mii.h anywhere. kernel-source
does not have it either. Is there anywhere I can find
it? I am currently using kernel 2.4.3-12 (Redhat 7.1
with kernel upgrade). Thanks very much.

Regards,

Brian

Discussion

  • Nobody/Anonymous

    Logged In: NO

    The same compilation behaviour appears in mdk (kernel 2.4.3-
    20mdk). In the 8139too.txt file (0.9.18) is a statement
    that this version is for 2.4.3 and higher, so I suggest
    rewrite the code including conditionals checking the
    version of the kernel: less than 2.4.6 and not

     
  • Jeff Garzik

    Jeff Garzik - 2001-09-22
    • assigned_to: nobody --> jgarzik
     
  • Jeff Garzik

    Jeff Garzik - 2001-11-01
    • status: open --> closed-fixed
     
  • Jeff Garzik

    Jeff Garzik - 2001-11-01

    Logged In: YES
    user_id=17443

    This problem is fixed in the latest version of the driver. You
    can download the driver from the download section on this
    SourceForge web page.

     

Log in to post a comment.