常见问题常见问题   搜索搜索   会员列表会员列表   团队团队   注册注册    个人资料个人资料   登录查看您的站内信件登录查看您的站内信件   登录登录 

两块相同的intel网卡只能驱动一块,怎么解决呢?

 
发表新文章   回复文章    FreeBSD China -> 设备驱动
阅读上一个主题 :: 阅读下一个主题  
作者 留言
lirong621
半仙


注册时间: 2011-12-25
文章: 1

文章发表于: Sun 2011-12-25 17:22:39    发表主题: 两块相同的intel网卡只能驱动一块,怎么解决呢? 引用并回复

Panabit# dmesg
Copyright (c) 1992-2010 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:55:53 UTC 2010
root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 2.93GHz (2926.02-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0xf49 Family = f Model = 4 Stepping = 9
Features=0xbfebfbff<FPU>
Features2=0x651d<SSE3>
AMD Features=0x20100000<NX>
AMD Features2=0x1<LAHF>
TSC: P-state invariant
real memory = 1073741824 (1024 MB)
avail memory = 1027883008 (980 MB)
ACPI APIC Table: <111507>
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
FreeBSD/SMP: 1 package(s) x 1 core(s) x 2 HTT threads
cpu0 (BSP): APIC ID: 0
cpu1 (AP/HT): APIC ID: 1
ioapic0: Changing APIC ID to 2
ioapic0 <Version> irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: <111507> on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of 0, a0000 (3) failed
acpi0: reservation of 100000, 3f700000 (3) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24> port 0x808-0x80b on acpi0
cpu0: <ACPI> on acpi0
cpu1: <ACPI> on acpi0
pcib0: <ACPI> port 0xcf8-0xcff on acpi0
pci0: <ACPI> on pcib0
pcib1: <ACPI> irq 16 at device 1.0 on pci0
pci1: <ACPI> on pcib1
bge0: <HPQ> mem 0xff4f0000-0xff4fffff irq 16 at device 0.0 on pci1
miibus0: <MII> on bge0
brgphy0: <BCM5750> PHY 1 on miibus0
brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
bge0: Ethernet address: 00:10:83:1b:0b:21
bge0: [ITHREAD]
vgapci0: <VGA> port 0xec00-0xec07 mem 0xffa80000-0xffafffff,0xe0000000-0xefffffff,0xffa40000-0xffa7ffff irq 16 at device 2.0 on pci0
agp0: <Intel> on vgapci0
agp0: detected 7932k stolen memory
agp0: aperture size is 256M
pci0: <multimedia> at device 27.0 (no driver attached)
pcib2: <ACPI> irq 16 at device 28.0 on pci0
pci2: <ACPI> on pcib2
pcib3: <ACPI> irq 17 at device 28.1 on pci0
pci3: <ACPI> on pcib3
bge1: <HPQ> mem 0xff5f0000-0xff5fffff irq 17 at device 0.0 on pci3
miibus1: <MII> on bge1
brgphy1: <BCM5750> PHY 1 on miibus1
brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
bge1: Ethernet address: 00:10:83:1b:0b:90
bge1: [ITHREAD]
uhci0: <Intel> port 0xe880-0xe89f irq 23 at device 29.0 on pci0
uhci0: [ITHREAD]
uhci0: LegSup = 0x2f00
usbus0: <Intel> on uhci0
uhci1: <Intel> port 0xe800-0xe81f irq 19 at device 29.1 on pci0
uhci1: [ITHREAD]
uhci1: LegSup = 0x2f00
usbus1: <Intel> on uhci1
uhci2: <Intel> port 0xe480-0xe49f irq 18 at device 29.2 on pci0
uhci2: [ITHREAD]
uhci2: LegSup = 0x2f00
usbus2: <Intel> on uhci2
uhci3: <Intel> port 0xe400-0xe41f irq 16 at device 29.3 on pci0
uhci3: [ITHREAD]
uhci3: LegSup = 0x2f00
usbus3: <Intel> on uhci3
ehci0: <Intel> mem 0xffa3bc00-0xffa3bfff irq 23 at device 29.7 on pci0
ehci0: [ITHREAD]
usbus4: EHCI version 1.0
usbus4: <Intel> on ehci0
pcib4: <ACPI> at device 30.0 on pci0
pci4: <ACPI> on pcib4
em0: <Intel> port 0xd880-0xd8bf mem 0xff820000-0xff83ffff,0xff800000-0xff81ffff irq 18 at device 1.0 on pci4
em0: [FILTER]
em0: Ethernet address: 00:0e:0c:a1:da:da
em1: <Intel> port 0xdc00-0xdc3f mem 0x7f8c0000-0x7f8fffff,0x7f880000-0x7f8bffff irq 19 at device 2.0 on pci4
em1: Setup of Shared code failed
device_attach: em1 attach returned 6
rl0: <RealTek> port 0xd400-0xd4ff mem 0xff7dfc00-0xff7dfcff irq 20 at device 5.0 on pci4
miibus2: <MII> on rl0
rlphy0: <RealTek> PHY 0 on miibus2
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:1b:22:04:7e:fe
rl0: [ITHREAD]
isab0: <PCI> at device 31.0 on pci0
isa0: <ISA> on isab0
atapci0: <Intel> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 31.1 on pci0
ata0: <ATA> on atapci0
ata0: [ITHREAD]
pci0: <serial> at device 31.3 (no driver attached)
acpi_button0: <Power> on acpi0
atrtc0: <AT> port 0x70-0x71 irq 8 on acpi0
atkbdc0: <Keyboard> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
pmtimer0 on isa0
orm0: <ISA> at iomem 0xd1000-0xd2fff,0xd3000-0xd3fff pnpid ORM0000 on isa0
sc0: <System> at flags 0x100 on isa0
sc0: VGA <16>
vga0: <Generic> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ppc0: parallel port not found.
p4tcc0: <CPU> on cpu0
p4tcc1: <CPU> on cpu1
Timecounters tick every 1.000 msec
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 12Mbps Full Speed USB v1.0
usbus2: 12Mbps Full Speed USB v1.0
usbus3: 12Mbps Full Speed USB v1.0
usbus4: 480Mbps High Speed USB v2.0
ugen0.1: <Intel> at usbus0
uhub0: <Intel> on usbus0
ugen1.1: <Intel> at usbus1
uhub1: <Intel> on usbus1
ugen2.1: <Intel> at usbus2
uhub2: <Intel> on usbus2
ugen3.1: <Intel> at usbus3
uhub3: <Intel> on usbus3
ugen4.1: <Intel> at usbus4
uhub4: <Intel> on usbus4
ad0: 19092MB <Seagate> at ata0-master UDMA100
SMP: AP CPU #1 Launched!
uhub0: 2 ports with 2 removable, self powered
uhub1: 2 ports with 2 removable, self powered
uhub2: 2 ports with 2 removable, self powered
uhub3: 2 ports with 2 removable, self powered
Root mount waiting for: usbus4
Root mount waiting for: usbus4
Root mount waiting for: usbus4
Root mount waiting for: usbus4
uhub4: 8 ports with 8 removable, self powered
Trying to mount root from ufs:/dev/ad0s1a
Waiting (max 60 seconds) for system process `vnlru' to stop...done
Waiting (max 60 seconds) for system process `bufdaemon' to stop...done
Waiting (max 60 seconds) for system process `syncer' to stop...
Syncing disks, vnodes remaining...2 1 0 0 done
All buffers synced.
Copyright (c) 1992-2010 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:55:53 UTC 2010
root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 2.93GHz (2926.02-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0xf49 Family = f Model = 4 Stepping = 9
Features=0xbfebfbff<FPU>
Features2=0x651d<SSE3>
AMD Features=0x20100000<NX>
AMD Features2=0x1<LAHF>
TSC: P-state invariant
real memory = 1073741824 (1024 MB)
avail memory = 1027883008 (980 MB)
ACPI APIC Table: <111507>
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
FreeBSD/SMP: 1 package(s) x 1 core(s) x 2 HTT threads
cpu0 (BSP): APIC ID: 0
cpu1 (AP/HT): APIC ID: 1
ioapic0: Changing APIC ID to 2
ioapic0 <Version> irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: <111507> on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of 0, a0000 (3) failed
acpi0: reservation of 100000, 3f700000 (3) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24> port 0x808-0x80b on acpi0
cpu0: <ACPI> on acpi0
cpu1: <ACPI> on acpi0
pcib0: <ACPI> port 0xcf8-0xcff on acpi0
pci0: <ACPI> on pcib0
pcib1: <ACPI> irq 16 at device 1.0 on pci0
pci1: <ACPI> on pcib1
bge0: <HPQ> mem 0xff4f0000-0xff4fffff irq 16 at device 0.0 on pci1
miibus0: <MII> on bge0
brgphy0: <BCM5750> PHY 1 on miibus0
brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
bge0: Ethernet address: 00:10:83:1b:0b:21
bge0: [ITHREAD]
vgapci0: <VGA> port 0xec00-0xec07 mem 0xffa80000-0xffafffff,0xe0000000-0xefffffff,0xffa40000-0xffa7ffff irq 16 at device 2.0 on pci0
agp0: <Intel> on vgapci0
agp0: detected 7932k stolen memory
agp0: aperture size is 256M
pci0: <multimedia> at device 27.0 (no driver attached)
pcib2: <ACPI> irq 16 at device 28.0 on pci0
pci2: <ACPI> on pcib2
pcib3: <ACPI> irq 17 at device 28.1 on pci0
pci3: <ACPI> on pcib3
bge1: <HPQ> mem 0xff5f0000-0xff5fffff irq 17 at device 0.0 on pci3
miibus1: <MII> on bge1
brgphy1: <BCM5750> PHY 1 on miibus1
brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
bge1: Ethernet address: 00:10:83:1b:0b:90
bge1: [ITHREAD]
uhci0: <Intel> port 0xe880-0xe89f irq 23 at device 29.0 on pci0
uhci0: [ITHREAD]
uhci0: LegSup = 0x2f00
usbus0: <Intel> on uhci0
uhci1: <Intel> port 0xe800-0xe81f irq 19 at device 29.1 on pci0
uhci1: [ITHREAD]
uhci1: LegSup = 0x2f00
usbus1: <Intel> on uhci1
uhci2: <Intel> port 0xe480-0xe49f irq 18 at device 29.2 on pci0
uhci2: [ITHREAD]
uhci2: LegSup = 0x2f00
usbus2: <Intel> on uhci2
uhci3: <Intel> port 0xe400-0xe41f irq 16 at device 29.3 on pci0
uhci3: [ITHREAD]
uhci3: LegSup = 0x2f00
usbus3: <Intel> on uhci3
ehci0: <Intel> mem 0xffa3bc00-0xffa3bfff irq 23 at device 29.7 on pci0
ehci0: [ITHREAD]
usbus4: EHCI version 1.0
usbus4: <Intel> on ehci0
pcib4: <ACPI> at device 30.0 on pci0
pci4: <ACPI> on pcib4
em0: <Intel> port 0xd880-0xd8bf mem 0xff820000-0xff83ffff,0xff800000-0xff81ffff irq 18 at device 1.0 on pci4
em0: [FILTER]
em0: Ethernet address: 00:0e:0c:a1:da:da
em1: <Intel> port 0xdc00-0xdc3f mem 0x7f8c0000-0x7f8fffff,0x7f880000-0x7f8bffff irq 19 at device 2.0 on pci4
em1: Setup of Shared code failed
device_attach: em1 attach returned 6
rl0: <RealTek> port 0xd400-0xd4ff mem 0xff7dfc00-0xff7dfcff irq 20 at device 5.0 on pci4
miibus2: <MII> on rl0
rlphy0: <RealTek> PHY 0 on miibus2
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:1b:22:04:7e:fe
rl0: [ITHREAD]
isab0: <PCI> at device 31.0 on pci0
isa0: <ISA> on isab0
atapci0: <Intel> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 31.1 on pci0
ata0: <ATA> on atapci0
ata0: [ITHREAD]
pci0: <serial> at device 31.3 (no driver attached)
acpi_button0: <Power> on acpi0
atrtc0: <AT> port 0x70-0x71 irq 8 on acpi0
atkbdc0: <Keyboard> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
pmtimer0 on isa0
orm0: <ISA> at iomem 0xd1000-0xd2fff,0xd3000-0xd3fff pnpid ORM0000 on isa0
sc0: <System> at flags 0x100 on isa0
sc0: VGA <16>
vga0: <Generic> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ppc0: parallel port not found.
p4tcc0: <CPU> on cpu0
p4tcc1: <CPU> on cpu1
Timecounters tick every 1.000 msec
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 12Mbps Full Speed USB v1.0
usbus2: 12Mbps Full Speed USB v1.0
usbus3: 12Mbps Full Speed USB v1.0
usbus4: 480Mbps High Speed USB v2.0
ugen0.1: <Intel> at usbus0
uhub0: <Intel> on usbus0
ugen1.1: <Intel> at usbus1
uhub1: <Intel> on usbus1
ugen2.1: <Intel> at usbus2
uhub2: <Intel> on usbus2
ugen3.1: <Intel> at usbus3
uhub3: <Intel> on usbus3
ugen4.1: <Intel> at usbus4
uhub4: <Intel> on usbus4
ad0: 19092MB <Seagate> at ata0-master UDMA100
SMP: AP CPU #1 Launched!
Root mount waiting for: usbus4 usbus3 usbus2 usbus1 usbus0
uhub0: 2 ports with 2 removable, self powered
uhub1: 2 ports with 2 removable, self powered
uhub2: 2 ports with 2 removable, self powered
uhub3: 2 ports with 2 removable, self powered
Root mount waiting for: usbus4
Root mount waiting for: usbus4
Root mount waiting for: usbus4
uhub4: 8 ports with 8 removable, self powered
Trying to mount root from ufs:/dev/ad0s1a
em1: <Intel> port 0xdc00-0xdc3f mem 0x7f8c0000-0x7f8fffff,0x7f880000-0x7f8bffff irq 19 at device 2.0 on pci4
em1: Setup of Shared code failed
device_attach: em1 attach returned 6
module_register: module pci/em already exists!
Module pci/em failed to register: 17
module_register: module pci/lem already exists!
Module pci/lem failed to register: 17
Panabit#
返回页首
阅览会员资料 发送站内信件
wy219
半仙


注册时间: 2007-06-23
文章: 2

文章发表于: Fri 2011-12-30 00:56:06    发表主题: 不知道你的问题解决了没。 引用并回复

我也遇到同样的问题了。

然后我尝试在windows下把网卡 装上驱动 然后接网线跑一会
然后再回到freebsd下 问题就解决了。

网卡需要激活?


delphij.
下面是我用另外一个网卡的问题重现 这个网卡我还没去win下装驱动想在fb下解决。


代码:

            em0 pnpinfo vendor=0x8086 device=0x100e subvendor=0x8086 subdevice=0x002e class=0x020000 at slot=4 function=0
                Interrupt request lines:
                    16
                I/O ports:
                    0xdf00-0xdf3f
                I/O memory addresses:
                    0xfeae0000-0xfeafffff
            em1 pnpinfo vendor=0x8086 device=0x100e subvendor=0x8086 subdevice=0x002e class=0x020000 at slot=6 function=0
                I/O memory addresses:
                    0xfeaa0000-0xfeabffff


我猜想可能是mac冲突或者其他之类导致的。
代码:

em0: <Intel> port 0xdf00-0xdf3f mem 0xfeae0000-0xfeafffff,0xfeac0000-0xfeadffff irq 16 at device 4.0 on pci2
em0: [FILTER]
em0: Ethernet address: 00:07:e9:00:10:ed
001.000010 netmap_attach [1181] ok for em0
em1: <Intel> port 0xde00-0xde3f mem 0xfeaa0000-0xfeabffff,0xfea80000-0xfea9ffff irq 18 at device 6.0 on pci2
em1: Setup of Shared code failed
device_attach: em1 attach returned 6
返回页首
阅览会员资料 发送站内信件
从以前的文章开始显示:   
发表新文章   回复文章    FreeBSD China -> 设备驱动 论坛时间为 北京时间
1页/共1

 
转跳到:  
不能发布新主题
不能在这个论坛回复主题
不能在这个论坛编辑自己的文章
不能在这个论坛删除自己的文章
不能在这个论坛发表投票


Powered by phpBB 2023cc © 2003 Opensource Steps; © 2003-2009 The FreeBSD Simplified Chinese Project
Powered by phpBB © 2001, 2005 phpBB Group
Protected by Project Honey Pot and phpBB.cc
silvery-trainer
The FreeBSD China Project 网站: 中文计划网站 社区网站
The FreeBSD China Project 版权所有 (C) 1999 - 2003 网页设计版权 著作权和商标