论坛风格切换切换到宽版
  • 1046阅读
  • 5回复

[问题求助]网卡安装!make正常,insmod时出问题。请指点一二! [复制链接]

上一主题 下一主题
离线月季.
 
发帖
2168
C币
-198315
威望
440
贡献值
1
银元
-3
铜钱
4978
人人网人气币
0
只看楼主 倒序阅读 使用道具 楼主  发表于: 2009-05-01
网卡在win2k下显示:intel(R). pro/100+ pci adapte.r<性病>
驱动文件名:e100bnt5..sys电影
上intel网站上从. networking &communication -->;intel deskt.op adapters-->;intel. pro/100+ adapter中下for linux的驱动 3.1.4i              乙肝
http://downloadfinder.intel.com/scripts-df/filter_results.asp?strOSs=39&strTypes=PLU%2CDRV%2CARC%2CUTL&roductID=60&OSFullName=Linux*&submit=Go%21http://upload.bbs.csuboy.com/Mon_1004/126_6830_4f4b5a14d6d2379.gif[/img]<性病>


[root@localhost e1.00-.3.1.4]# ls -l外贸
total 224
-rwxr-xr-x    1 root     root  .       2889 Aug 13 08:07 e100..7.
-rwxr-xr-x    1. root     root         5337 Aug 13 08:07 .e100.spec电影
-rwxr-xr-x    1 r.oot     root.         5665 Aug 13 08:07 ldistrib.txt              乙肝
-rwxr-xr-x  .  1 root     root        18.671 Aug 13 08:07 license.
-rw.xr-xr-x    1 root     root        10606 Aug 13 08:07 readm.e服务器
drwxr..-xr-x    2 root     root        32768 Oct 18 11:15 src(广告)
-rwxr-xr-x.    1 .root     root          304 Aug 13 08:07 sums电影

[roo.t@localhost e100-3.1.4]# cd sr.c虚拟主机

[root@localhost src]# l..s -l.
total 448
-rwxr-xr-x   . 1 root     root         1389 Oct 15 18:16 e100.7.g.z[成人用品]
-rwxr-xr-x    .1 root     roo.t        66666 Aug 13 08:07 e100.c(广告)
-rwxr-xr-x    1 root     root        .370.12 Oct 15 18:16 e100.o             汽车
-rwxr-xr-x    .1 root     root  .      21092 Aug 13 08:07 ethtool.c            杀毒
-rwxr.-xr-x    1 root     root        40565 A.ug 13 08:07 kcompat.h.
-rwxr-xr-x    1. root     root          731 Oct 18 11:15 lspci.t.xt域名
-rwxr-xr-x    1 root   .  root          53.3 Oct 18 11:16 make健康
-rwxr-xr-x  .  .1 root     root         9538 Aug 13 08:07 Makefile(        游戏          )
-rwxr-xr-x    1 root     roo.t        37106 .Oct 15 18:16 start学习

[root@localhost. src]# make instal.l学习
make
make[1]: Enterin.g directory `/home/dos/linux/e100-.3.1.4/src'           建材
make[1]: `s.tart' is up. to date.<性病>
make[1]: Leav.ing directory `/home/dos/linux/e100-3..1.4/src'.
# remove a.ll .old versions of the driver              乙肝
find /lib/modules/2.4.20-8 -na.me e100.o -ex.ec rm -f {} \; || true虚拟主机
fin.d /lib/m.odules/2.4.20-8 -name e100.o.gz -exec rm -f {} \; || true.
ins.tall -D -m 644 e100.o /lib/modules/2.4.20-8/kernel/drivers/net/e.1.00/e100.o          婚庆
/s.bin/depmod -a || true            杀毒
install -D -m 644 .e100.7.gz /usr/share/man/man7/e10.0.7.gz.
man -c -P'.cat .>; /dev/null' e100 || true          婚庆

[root@localhost src]# cat /et.c/mo.dules.conf.
alias scsi_hos.tadapter. aic7xxx电影
alias .usb-controller usb-u.hci服务器
alias eth0 .e100电影
options e100 i.rq=3教育

[root@localhost src.]# insmod /lib/modules/2.4..20-8/kernel/dr.ivers/net/e100/e100.o(广告)
/lib/modules/2.4.20-.8/kernel/driv.ers./net/e100/e100.o: init_module: No such device             汽车
Hint: insmod errors can be caused by in.corre.ct module parameters, including invalid IO or IRQ parameters..              乙肝
      You may find more information in sys.l.og or the output from dmesg.
..................................................................出问题了,高手指点一二吧!健康
[root@local.host src]#电脑

[root@localhost. .src]# lspci域名
00:00.0 Host bridge: Intel .Corp.. 82810E DC-133 GMCH [Graphics Memory C.ontroller           女人
Hub] (rev 03)
00:01.0 VGA compatible co.ntr.oller: Intel Corp. 82810E DC-133 .CGC [Chipset Graphics Controller] (rev 03).
00:1.e.0 PCI bridge: Intel Corp. 82801BA/CA/DB PCI Bridge (rev 0.5)           女人
00:1f.0 ISA bridge: Intel. Corp. 82801BA ISA Bridge (LPC) (re.v 05)
00:1f.1 IDE interface: Intel Corp. 82.8.01BA IDE U100 (rev 05)健康
00:1f.2 USB Controller: Intel Corp. 82.801B.A/BAM USB (Hub #1) (rev 05)              乙肝
0.0:1f.3 SMBu.s: Intel Corp. 82801BA/BAM SMBus (rev 05)             汽车
00:1.f.4 USB Controller.: Intel Corp. 82801BA/BAM USB (Hub #2) (rev 05)            杀毒
01:0.4.0 SCSI storage controller: Adaptec AIC-7892A U160/m (re.v 02)虚拟主机
01.:05..0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 10.0] (rev 05).
[ro.ot@localhost src]#--------------彩票

评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
离线51.vc.
发帖
2081
C币
-61510
威望
378
贡献值
1
银元
-2
铜钱
4652
人人网人气币
0
只看该作者 沙发  发表于: 2010-04-13
dmesg:

Linux version 2.4.20-8 (bhcompile@porky.devel.redhat.com) (gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #1 Thu Mar 13 17:54:28 EST 2003
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000000fef0000 (usable)
BIOS-e820: 000000000fef0000 - 000000000fef3000 (ACPI NVS)
BIOS-e820: 000000000fef3000 - 000000000ff00000 (ACPI data)
BIOS-e820: 00000000ffb00000 - 0000000100000000 (reserved)
0MB HIGHMEM available.
254MB LOWMEM available.
On node 0 totalpages: 65264
zone(0): 4096 pages.
zone(1): 61168 pages.
zone(2): 0 pages.
Kernel command line: ro root=LABEL=/
Initializing CPU#0
Detected 501.151 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 999.42 BogoMIPS
Memory: 251812k/261056k available (1347k kernel code, 6820k reserved, 999k data, 132k init, 0k highmem)
Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)
Inode cache hash table entries: 16384 (order: 5, 131072 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer-cache hash table entries: 16384 (order: 4, 65536 bytes)
Page-cache hash table entries: 65536 (order: 6, 262144 bytes)
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 128K
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU:     After generic, caps: 0183f9ff 00000000 00000000 00000000
CPU:             Common caps: 0183f9ff 00000000 00000000 00000000
CPU: Intel Celeron (Mendocino) stepping 05
Enabling fast FPU save and restore... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
PCI: PCI BIOS revision 2.10 entry at 0xfb2a0, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
Transparent bridge - Intel Corp. 82801BA/CA/DB PCI Bridge
PCI: Using IRQ router PIIX [8086/2440] at 00:1f.0
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16)
Starting kswapd
VFS: Disk quotas vdquot_6.5.1
pty: 2048 Unix98 ptys configured
Serial driver version 5.05c (2001-07-0 with MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI ISAPNP enabled
ttyS0 at 0x03f8 (irq = 4) is a 16550A
Real Time Clock Driver v1.10e
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
NET4: Frame Diverter 0.46
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 7.00beta-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH2: IDE controller at PCI slot 00:1f.1
ICH2: chipset revision 5
ICH2: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:pio, hdbMA
    ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:pio, hddMA
hdb: C/H/S=0/0/0 from BIOS ignored
hdb: Maxtor 91020D6, ATA DISK drive
blk: queue c03ca084, I/O limit 4095Mb (mask 0xffffffff)
hdd: SAMSUNG CD-ROM SC-148F, ATAPI CD/DVD-ROM drive
hdd: Disabling (U)DMA for SAMSUNG CD-ROM SC-148F
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hdb: host protected area =>; 1
hdb: 19923120 sectors (10201 MB) w/256KiB Cache, CHS=19765/16/63, UDMA(33)
ide-floppy driver 0.99.newide
Partition check:
hdb: [PTBL] [1240/255/63] hdb1 hdb2 < hdb5 hdb6 >; hdb3
ide-floppy driver 0.99.newide
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 16384 bind 3276
Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 271k freed
VFS: Mounted root (ext2 filesystem).
SCSI subsystem driver Revision: 1.00
scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.8
        <Adaptec 29160 Ultra160 SCSI adapter>;
        aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs

blk: queue c1aa9214, I/O limit 4095Mb (mask 0xffffffff)
Journalled Block Device driver loaded
EXT3-fs: INFO: recovery required on readonly filesystem.
EXT3-fs: write access will be enabled during recovery.
kjournald starting.  Commit interval 5 seconds
EXT3-fs: ide0(3,65): orphan cleanup on readonly fs
ext3_orphan_cleanup: deleting unreferenced inode 196147
ext3_orphan_cleanup: deleting unreferenced inode 196146
ext3_orphan_cleanup: deleting unreferenced inode 196145
EXT3-fs: ide0(3,65): 3 orphan inodes deleted
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
Freeing unused kernel memory: 132k freed
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.275 $ time 17:59:01 Mar 13 2003
usb-uhci.c: High bandwidth mode enabled
PCI: Found IRQ 9 for device 00:1f.2
PCI: Setting latency timer of device 00:1f.2 to 64
usb-uhci.c: USB UHCI at I/O 0xd000, IRQ 9
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Found IRQ 3 for device 00:1f.4
PCI: Setting latency timer of device 00:1f.4 to 64
usb-uhci.c: USB UHCI at I/O 0xd800, IRQ 3
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
usb.c: registered new driver hiddev
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>;
hid-core.c: USB HID support drivers
mice: PS/2 mouse device common for all mice
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,65), internal journal
Adding Swap: 562264k swap-space (priority -1)

离线03112.
发帖
2019
C币
-198744
威望
384
贡献值
1
银元
-1
铜钱
4562
人人网人气币
0
只看该作者 板凳  发表于: 2010-04-13
顶下,等待高手指点!

离线phantomsr.
发帖
2109
C币
-271763
威望
404
贡献值
3
银元
-5
铜钱
4604
人人网人气币
0
只看该作者 地板  发表于: 2010-04-13
修改你的/etc/modules.conf,把一下这行注释掉


QUOTE:options e100 irq=3

就是这句造成错误的,其实出错信息已经说得很清楚了


QUOTE:Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.



QUOTE:usb-uhci.c: USB UHCI at I/O 0xd800, IRQ 3

看清楚了吧,你设置的irq3是给usb控制器用的,当然你的网卡没有法度用了,其实2.4.x的内核都有自带e100的驱动的,你下次编译kernel的时候可以仔细看看

离线卡西亚.
发帖
2146
C币
-60466
威望
407
贡献值
1
银元
-1
铜钱
4829
人人网人气币
0
只看该作者 4楼 发表于: 2010-04-13
前面我也时这么想的,WIN2K中是用9号的,可我刚才用 cat /proc/inputrupts 看了下没看到网卡设备用 cat /proc/pci 可以看到网卡用了5号,把modules.conf中改成5也不行,和irq=3的出错信息一样。所以感觉上去很怪,因为是新手又不敢动他原来的东西,怕一动就起不来了。大家也看到了,我的机器的主频只有500,810的杂牌主板,下了个2.6.8的内核还没办法编译,make的过程中就死机,但这个死机是应为机器造成的和软件不搭尬的。
现正准备重起换块硬盘起动linux,估计用win2k来看cu要等到明天了,盼大家帮我顶顶,再指点指点。

离线xifeng185.
发帖
1907
C币
-559878
威望
367
贡献值
2
银元
-2
铜钱
4351
人人网人气币
0
只看该作者 5楼 发表于: 2010-04-13
[root@localhost src]# cat /proc/interrupts
           CPU0
  0:     115448          XT-PIC  timer
  1:       1888          XT-PIC  keyboard
  2:          0          XT-PIC  cascade
  3:          0          XT-PIC  usb-uhci
  8:          1          XT-PIC  rtc
  9:          0          XT-PIC  usb-uhci
11:         15          XT-PIC  aic7xxx
12:      55478          XT-PIC  PS/2 Mouse
14:      14634          XT-PIC  ide0
15:       8345          XT-PIC  ide1
NMI:          0
ERR:          0

[root@localhost src]# cat /proc/pci
PCI devices found:
  Bus  0, device   0, function  0:
    Host bridge: Intel Corp. 82810E DC-133 GMCH [Graphics Memory Controller Hub] (rev 3).
  Bus  0, device   1, function  0:
    VGA compatible controller: Intel Corp. 82810E DC-133 CGC [Chipset Graphics Controller] (rev 3).
      IRQ 11.
      Prefetchable 32 bit memory at 0xe0000000 [0xe3ffffff].
      Non-prefetchable 32 bit memory at 0xe6100000 [0xe617ffff].
  Bus  0, device  30, function  0:
    PCI bridge: Intel Corp. 82801BA/CA/DB PCI Bridge (rev 5).
      Master Capable.  No bursts.  Min Gnt=6.
  Bus  0, device  31, function  0:
    ISA bridge: Intel Corp. 82801BA ISA Bridge (LPC) (rev 5).
  Bus  0, device  31, function  1:
    IDE interface: Intel Corp. 82801BA IDE U100 (rev 5).
      I/O at 0xf000 [0xf00f].
  Bus  0, device  31, function  2:
    USB Controller: Intel Corp. 82801BA/BAM USB (Hub #1) (rev 5).
      IRQ 9.
      I/O at 0xd000 [0xd01f].
  Bus  0, device  31, function  3:
    SMBus: Intel Corp. 82801BA/BAM SMBus (rev 5).
      IRQ 5.
      I/O at 0x5000 [0x500f].
  Bus  0, device  31, function  4:
    USB Controller: Intel Corp. 82801BA/BAM USB (Hub #2) (rev 5).
      IRQ 3.
      I/O at 0xd800 [0xd81f].
  Bus  1, device   4, function  0:
    SCSI storage controller: Adaptec AIC-7892A U160/m (rev 2).
      IRQ 11.
      Master Capable.  Latency=32.  Min Gnt=40.Max Lat=25.
      I/O at 0xc000 [0xc0ff].
      Non-prefetchable 64 bit memory at 0xe5100000 [0xe5100fff].
  Bus  1, device   5, function  0:
    Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (rev 5).
      IRQ 5.
      Master Capable.  Latency=32.  Min Gnt=8.Max Lat=56.
      Prefetchable 32 bit memory at 0xe6000000 [0xe6000fff].
      I/O at 0xc400 [0xc41f].
      Non-prefetchable 32 bit memory at 0xe5000000 [0xe50fffff].


现在改怎么办?irq=3,5,7,9,11都试过了,注释掉也试过了,大家再指点下哪里会有出问题的可能性.
快速回复
限100 字节
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
 
上一个 下一个