LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: dddss

网卡myson的mtd803怎么安装???

[复制链接]
发表于 2002-11-7 13:59:14 | 显示全部楼层
和我的情况一样。哪位解决了告诉我声!谢谢了!
发表于 2002-11-7 18:30:24 | 显示全部楼层
发表于 2002-11-8 22:55:45 | 显示全部楼层

我也是这种情况~不知大家解决了么~!!??

我的那块烂网卡也是一样的问题~~
我是双网卡 一块是realtek8029第二块是ibf公司的chinawan  芯片是myson的md803    ,,,
我用的驱动是官方驱动,情况和楼主的情况一模一样~~
不知道大家解决了这个问题吗~~
还有那位有驱动的兄弟给我发个驱动!!!!!!!!
akwaa@eyou.com,多谢~



急切等待中~~.............
发表于 2002-11-8 23:00:44 | 显示全部楼层

和你情况一样~顶~

up~
发表于 2002-11-8 23:04:07 | 显示全部楼层

我是redhat8.0,这个驱动不行~!!!!!!!

[root@AKWAA root]# cd /tmp

[root@AKWAA tmp]# ls

fonts.alias.sKgbUl  Makefile~               orbit-root  ssh-XXhNuzor

kern_compat.h       mtd80x.c                pci-scan.c  XF86Config.test
linux-2.4.x         mtd80x-linux-2.4.x.tgz  pci-scan.h  X-Test.log

Makefile            mtd80x.v021.tar.gz      Readme.txt

[root@AKWAA tmp]# touch *

[root@AKWAA tmp]# make clean
rm -f *.o

[root@AKWAA tmp]# make

gcc -DMODULE -D__KERNEL__  -I/usr/src/linux-2.4/include -O -Wall -Wstrict-prototypes   -c -o pci-scan.o pci-scan.c

In file included from /usr/include/linux/fs.h:23,

                 from /usr/include/linux/capability.h:17,

                 from /usr/include/linux/binfmts.h:5,

                from /usr/include/linux/sched.h:9,

                from /usr/include/linux/mm.h:4,

                from pci-scan.c:62:

/usr/include/linux/string.h:8:2: warning: #warning Using kernel header in userland!

In file included from /usr/include/linux/sched.h:14,

                from /usr/include/linux/mm.h:4,

                 from pci-scan.c:62:
/usr/include/linux/timex.h:173: field `time' has incomplete type

In file included from /usr/include/linux/bitops.h:69,

                 from /usr/include/asm/system.h:7,

                from /usr/include/linux/sched.h:16,
  
               from /usr/include/linux/mm.h:4,

              from pci-scan.c:62:

/usr/include/asm/bitops.h:333:2: warning: #warning This includefile is not available on all architectures.

/usr/include/asm/bitops.h:334:2: warning: #warning Using kernel headers in userspace.

In file included from /usr/include/linux/signal.h:4,

                from /usr/include/linux/sched.h:25,

                 from /usr/include/linux/mm.h:4,

                from pci-scan.c:62:

/usr/include/asm/signal.h:107: parse error before "sigset_t"

/usr/include/asm/signal.h:110: parse error before '}' token

In file included from /usr/include/linux/sched.h:81,

                 from /usr/include/linux/mm.h:4,

                from pci-scan.c:62:


/usr/include/linux/timer.h:45: parse error before "spinlock_t"
/usr/include/linux/timer.h:53: parse error before '}' token
/usr/include/linux/timer.h:67: parse error before "tvec_base_t"
/usr/include/linux/timer.h:101: parse error before "tvec_bases"
/usr/include/linux/timer.h: In function `init_timer':
/usr/include/linux/timer.h:105: dereferencing pointer to incomplete type
/usr/include/linux/timer.h:105: dereferencing pointer to incomplete type
/usr/include/linux/timer.h:106: dereferencing pointer to incomplete type
/usr/include/linux/timer.h: In function `timer_pending':
/usr/include/linux/timer.h:121: dereferencing pointer to incomplete type

In file included from pci-scan.c:67:

/usr/include/linux/malloc.h:3:2: warning: #warning The Use of linux/malloc.h is

deprecated, use linux/slab.h

pci-scan.c: In function `pci_drv_register':

pci-scan.c:149: warning: implicit declaration of function `pci_find_class'

pci-scan.c:149: warning: assignment makes pointer from integer without a cast

pci-scan.c:157: warning: implicit declaration of function `pci_read_config_dword'

pci-scan.c:163: warning: implicit declaration of function `printk'

pci-scan.c:163: `KERN_DEBUG' undeclared (first use in this function)

pci-scan.c:163: (Each undeclared identifier is reported only once

pci-scan.c:163: for each function it appears in.)

pci-scan.c:163: parse error before string constant

pci-scan.c:164: warning: left-hand operand of comma expression has no effect

pci-scan.c:164: warning: left-hand operand of comma expression has no effect

pci-scan.c:164: parse error before ')' token

pci-scan.c:178: dereferencing pointer to incomplete type

pci-scan.c:187: `KERN_INFO' undeclared (first use in this function)

pci-scan.c:187: parse error before string constant

pci-scan.c:188: dereferencing pointer to incomplete type

pci-scan.c:188: warning: left-hand operand of comma expression has no effect

pci-scan.c:188: warning: left-hand operand of comma expression has no effect

pci-scan.c:188: warning: left-hand operand of comma expression has no effect

pci-scan.c:188: parse error before ')' token

pci-scan.c:191: dereferencing pointer to incomplete type

pci-scan.c:191: dereferencing pointer to incomplete type

pci-scan.c:192: dereferencing pointer to incomplete type

pci-scan.c:193: `KERN_WARNING' undeclared (first use in this function)

pci-scan.c:193: parse error before string constant

pci-scan.c:208: warning: implicit declaration of function `ioremap'

pci-scan.c:210: parse error before string constant

pci-scan.c:216: warning: implicit declaration of function `pci_read_config_word'pci-scan.c:219: parse error before string constant

pci-scan.c:222: warning: implicit declaration of function `pci_write_config_word'

pci-scan.c:226: dereferencing pointer to incomplete type

pci-scan.c:231: warning: implicit declaration of function `pci_set_master'

pci-scan.c:234: warning: implicit declaration of function `pci_read_config_byte'pci-scan.c:236: parse error before string constant

pci-scan.c:239: warning: implicit declaration of function `pci_write_config_byte'

pci-scan.c:246: warning: implicit declaration of function `kmalloc'

pci-scan.c:246: `GFP_KERNEL' undeclared (first use in this function)

pci-scan.c:246: warning: initialization makes pointer from integer without a cast

pci-scan.c:259: warning: implicit declaration of function `atomic_inc'

pci-scan.c:259: union has no member named `usecount'

pci-scan.c: In function `pci_drv_unregister':

pci-scan.c:422: warning: implicit declaration of function `atomic_dec'

pci-scan.c:422: union has no member named `usecount'

pci-scan.c:429: warning: implicit declaration of function `kfree'

pci-scan.c: In function `acpi_wake':

pci-scan.c:489: warning: implicit declaration of function `pci_write_config_dword'

pci-scan.c: In function `cleanup_module':

pci-scan.c:522: `KERN_WARNING' undeclared (first use in this function)

pci-scan.c:522: parse error before string constant

make: *** [pci-scan.o] Error 1

[root@AKWAA tmp]# insmod pci-scan.o

insmod: pci-scan.o: No such file or directory

[root@AKWAA tmp]# insmod mtd80x.o

insmod: mtd80x.o: No such file or directory

[root@AKWAA tmp]# :___((
没办法~~~
发表于 2002-11-9 00:44:49 | 显示全部楼层
你是不是有显示出你有网卡的呀(只不能用而已?),如果是你还可以配置的---同样如果你不知道你是什么型号的你可以选默认的~~~(在控制台里)
发表于 2002-11-9 08:56:09 | 显示全部楼层
我看过它的README和INSTALL
**************************************************
                      Myson MTD80X Based Fast Ethernet Card

                      Linux 2.4.X Driver Installation Guide
               **************************************************


-----------------------
Installation Procedure
-----------------------

  1. Copy the compress file mtd80x-linux-2.4.x.tgz to /tmp directory,

        mount -t msdos /dev/fd0 /mnt/floppy
        cp /mnt/floppy/linux-2.4.x/mtd80x-linux-2.4.x.tgz /tmp

  2. Uncompress the file

        cd /tmp
        tar -zxvf mtd80x-linux-2.4.x.tgz

  3. Make network adapter driver modules

        touch *
        make clean
        make

     *Under some distribution, such as SuSe 7.2 and BluePoint 2.0, there is no version.h.
      You have to run "make config" or "make menuconfig" at /usr/src/linux to create it.
      
    **If you are using Mandrake 8.0/RedHat 7.3 and you have problems when insmod the dirver, please
      remove "-DMODVERSIONS" option from makefile.

    **When use the driver under RedHat 7.3, you will see some warning message,
you can ignore it.

   ***On SMP system, the driver may NOT work well. The bug will be fixed in the future.

  4. Insert network adapter driver modules

        insmod        pciscan.o
        insmod        mtd80x.o

  5. Bind your card to an IP address

        ifconfig eth0 {IPADDR} netmask {NETMASK}

  6. Now, you should be able to ping local network.

*Every time you reboot the system, you must execute step 4 and step 5
  again to bind your card.


Compability:
        This driver is tested with the Distribution.
       
        RedHat 7.1/7.2/7.3
        Mandrake 8.0/8.1
        Slackware 8.0
        SuSe 7.2
        RedFlag 2.4
        Caldera 3.0
       

看一下它的FAQ吧。看一下有此问题的人是怎样交流的。
发表于 2002-11-9 09:50:55 | 显示全部楼层
where is the FAQ?
www.myson.com.tw里没有。
我刚升级到rh80,郁闷!
发表于 2002-11-9 09:54:02 | 显示全部楼层

大家一起搞定myson mtd80x

在rh80下,这个东东驱动比较头痛呀,请大家帮小弟一把。
发表于 2002-11-9 11:55:52 | 显示全部楼层
错了,不好意思,是:
http://www.linuxfans.org/nuke/mo ... iewtopic&t=4218
llc说:
rh8自带8139驱动,你编辑/etc/modules.conf,加入:
alias eth0 8139too,然后用setup设定好ip,dns这些,重起就可以了
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表