LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1444|回复: 18

小毅和朋友们,看看我安装ess2838猫的出错信息!

[复制链接]
发表于 2002-9-19 10:49:23 | 显示全部楼层 |阅读模式
这猫我以前第一次安装时成功后,但要死机。。。可现在重装linux以后。。。连驱动都成问题了。。。

以下是我用2.4.18-3的内核运行最后一步的出错信息:

[root@localhost essmodem]# insmod esscom
Using /lib/modules/2.4.18-3/esscom.o
/lib/modules/2.4.18-3/esscom.o: unresolved symbol
/lib/modules/2.4.18-3/esscom.o:
Hint: You are trying to load a module without a GPL compatible license
      and it has unresolved symbols.  Contact the module supplier for
      assistance, only they can help you.

然后我重新编辑2.4.19的新内核,运行第一步就出错,没生成esscom.o

[root@localhost essmodem]# sh fixscript17 ess.o esscm.o
Fixscript V1.7
doing init_bh_Rf6cf27cc trunc=init_bh new=
doing tty_unregister_driver_R7fb6c97b trunc=tty_unregister_driver new=
doing tty_flip_buffer_push_Rb6365a9c trunc=tty_flip_buffer_push new=
doing pci_read_config_dword_R086be4f9 trunc=pci_read_config_dword new=
doing pci_find_device_R04d7c705 trunc=pci_find_device new=
doing kmalloc_R93d4cfe6 trunc=kmalloc new=
doing __check_region_Rf1d0cdab trunc=__check_region new=
doing add_timer_R88437237 trunc=add_timer new=
doing bh_task_vec_R284177b8 trunc=bh_task_vec new=
doing pcibios_present_R520a75b9 trunc=pcibios_present new=
doing del_timer_R98b02308 trunc=del_timer new=
doing __request_region_R1a1a4f09 trunc=__request_region new=
doing tty_get_baud_rate_R97f3d1fe trunc=tty_get_baud_rate new=
doing tty_register_driver_Rfca76995 trunc=tty_register_driver new=
doing tty_hung_up_p_R41153800 trunc=tty_hung_up_p new=
doing __generic_copy_from_user_R116166aa trunc=__generic_copy_from_user new=
doing sprintf_R3c2c5af5 trunc=sprintf new=
doing ioport_resource_R865ebccd trunc=ioport_resource new=
doing pci_read_config_word_R2482fae9 trunc=pci_read_config_word new=
doing pci_write_config_word_R33a916bf trunc=pci_write_config_word new=
doing jiffies_R0da02d67 trunc=jiffies new=
doing free_irq_Rf20dabd8 trunc=free_irq new=
doing tvec_bases_R8631652b trunc=tvec_bases new=
doing remove_bh_Rbc524a32 trunc=remove_bh new=
doing get_zeroed_page_R6807e076 trunc=get_zeroed_page new=
doing tty_std_termios_R89ac5254 trunc=tty_std_termios new=
doing __tasklet_hi_schedule_R60ea5fe7 trunc=__tasklet_hi_schedule new=
doing kfree_R037a0cba trunc=kfree new=
doing __release_region_Rd49501d4 trunc=__release_region new=
doing __wake_up_R2c77a2af trunc=__wake_up new=
doing printk_R1b7d4074 trunc=printk new=
doing interruptible_sleep_on_R15e26425 trunc=interruptible_sleep_on new=
doing free_pages_R234535e0 trunc=free_pages new=
doing __run_task_queue_R3889b11c trunc=__run_task_queue new=
doing request_irq_R0c60f2e0 trunc=request_irq new=
doing pci_write_config_dword_Rd187b286 trunc=pci_write_config_dword new=
objcopy: --redefine-sym: Symbol "" is target of more than one redefinition
[root@localhost essmodem]# ls
ess.o  fixscript17  install  Readme.txt

最后我用你发信给我的esscom.o直接安装,这个是你已编译好的2.4.19的驱动,进行直接安装,最后一步时出现了和2.4.18-3一样的错误。。。。

你看看会是什么原因?大家能帮小弟的也尽量帮帮,小弟真的已经尽力了,不会顾意来烦大家的。。。小弟家里只装了linux,这些错误都是挎到软盘带到公司来的
发表于 2002-9-19 14:45:36 | 显示全部楼层
我没有遇到过你这样的错误,不过我得问问你,你这(sh fixscript17 ess.o esscm.o)个驱动是在哪下载的,我安装驱动时的提示信息不同你的,会不会是驱动找不对了!
我是用http://sidlo.penguin.cz/ES2838/index_en.html这里的驱动!
 楼主| 发表于 2002-9-19 15:08:57 | 显示全部楼层
我的是这个论坛里下载的。。。不过我用你给我的编译好的安装也出现上面的错误。。。最后一步时。。。。
发表于 2002-9-19 20:42:45 | 显示全部楼层
呵呵!我也遇到你的错误提示了,不过我用的是debian,我估计是安装少了某些库文件,具体是哪些我还未清楚,不知道你在安装RH7.3时就用什么方式安装,我是用自定义安装,KDE和GNOME我都选了,很多开发工具我都装了,而在debian里我只装了X-WINDOWS和C++\GCC,很多东西都未安装,你试试完全安装后再装驱动啦,现在只想到这些了。
下而是我在debian里的错误提示:
================================

debian:/tmp/ess2838# sh fixscript17 esscom_orig.o esscom.o
Fixscript V1.7
doing init_bh_Rf6cf27cc trunc=init_bh new=
doing tty_register_driver_R2f2ffb77 trunc=tty_register_driver new=
doing pci_read_config_dword_R1372ae4e trunc=pci_read_config_dword new=
doing kmalloc_R93d4cfe6 trunc=kmalloc new=
doing __check_region_Rf1d0cdab trunc=__check_region new=
doing bh_task_vec_R284177b8 trunc=bh_task_vec new=
doing pcibios_present_R520a75b9 trunc=pcibios_present new=
doing pci_read_config_word_R013f4ee4 trunc=pci_read_config_word new=
doing get_zeroed_page_R0c2188c7 trunc=get_zeroed_page new=
doing __request_region_R1a1a4f09 trunc=__request_region new=
doing free_pages_R9941ccb8 trunc=free_pages new=
doing tty_get_baud_rate_R21cd11b3 trunc=tty_get_baud_rate new=
doing __generic_copy_from_user_R116166aa trunc=__generic_copy_from_user new=
doing ioport_resource_R865ebccd trunc=ioport_resource new=
doing tty_unregister_driver_R547fee4f trunc=tty_unregister_driver new=
doing add_timer_Ra19eacf8 trunc=add_timer new=
doing pci_find_device_R8b4d5816 trunc=pci_find_device new=
doing jiffies_R0da02d67 trunc=jiffies new=
doing pci_write_config_word_Rc7c3e0a9 trunc=pci_write_config_word new=
doing free_irq_Rf20dabd8 trunc=free_irq new=
doing del_timer_Rfc62f16d trunc=del_timer new=
doing remove_bh_Rbc524a32 trunc=remove_bh new=
doing sprintf_R1d26aa98 trunc=sprintf new=
doing tty_std_termios_R89ac5254 trunc=tty_std_termios new=
doing __tasklet_hi_schedule_R60ea5fe7 trunc=__tasklet_hi_schedule new=
doing kfree_R037a0cba trunc=kfree new=
doing __release_region_Rd49501d4 trunc=__release_region new=
doing __wake_up_R2c77a2af trunc=__wake_up new=
doing pci_write_config_dword_Raf4ae244 trunc=pci_write_config_dword new=
doing printk_R1b7d4074 trunc=printk new=
doing interruptible_sleep_on_R15e26425 trunc=interruptible_sleep_on new=
doing tty_flip_buffer_push_R4e864e97 trunc=tty_flip_buffer_push new=
doing __run_task_queue_R3889b11c trunc=__run_task_queue new=
doing request_irq_R0c60f2e0 trunc=request_irq new=
doing tty_hung_up_p_R0423a087 trunc=tty_hung_up_p new=
objcopy: --redefine-sym: Symbol "" is target of more than one redefinition
debian:/tmp/ess2838# ls
esscom_orig.o  fixscript17  install


也是不能生成esscom.o
 楼主| 发表于 2002-9-20 13:49:07 | 显示全部楼层
晕。。。我是自定义安装的。。。上一次安装时说缺少了编译库,所以这次我安装时把所有的都选上了(除了一些web服务:ftp,mysql等)。。。

如果这样都不行,我真的不知要怎么办了???

但为什么我直接拿你生成的esscom.o安装会出现错误?
发表于 2002-9-20 14:27:34 | 显示全部楼层
可能如果不能成功执行sh fixscript17 esscom_orig.o esscom.o
这一步就会出错
发表于 2002-9-20 22:35:11 | 显示全部楼层
又有新发现:我在DEBIAN里重新编译了2.4.18内核,重启后安装ESSCOM驱动竟然成功,在KPPP里可以检测到MODEM,可以拔号,没有死机,不过现在最大问题是连不上线,到检查用户名密码时就断线了,我又用回原来的内核安装ESSCOM驱动,但还是显示上面的错误信息,这就应该不是未安装某些软件包的问题了,是内核的问题。
唉,我也越搞越糊涂了!!
 楼主| 发表于 2002-9-21 09:21:54 | 显示全部楼层
晕。。。我也在研究。。。。不过真的也奇怪。。。我第一次安装时是2.4.18-3内核,能成功,但有死机。。。现在用2.4.18-3,进行insmod esscom.o 出现:
Hint: You are trying to load a module without a GPL compatible license
and it has unresolved symbols. Contact the module supplier for
assistance, only they can help you.
Kppp检测不到modem,改用2.4.19更惨。。。不能生成esscom.o

我准备再换几个内核试试
发表于 2002-9-21 12:35:08 | 显示全部楼层

cxh兄:

编译后重新安装驱动不成功的原因是: 你的kernel的module不能被驱动所识别即驱动不能找到modules的目录.解决的办法是:用16进制编辑软件修改ess.o的字符串为你启动内核的modules.(如rh7.3的modules为2.4.18-3,你可以把字符串2.4.18-2mdk 改为2.4.18-3即可.
  其实你根本就不需重新编译内核.rh7.3只要你按正常的安装步骤即可安装成功.就如你前面的insmod esscom出错的原因是:只要你把fix的esscom.o拷入/lib/modules/2.4.19-3目录即可!
 楼主| 发表于 2002-9-21 17:08:23 | 显示全部楼层
问题是我已经把esscom.o挎到/lib/modules/2.4.19目录下了。。。

linux下的16进制编辑软件是什么?

还有修改ess.o的内核是修改那个fix前生成的ess.o还是fix生成后的esscom.o?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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