免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 4276 | 回复: 15
打印 上一主题 下一主题

[NetBSD] netbsd 2.0 网卡问题(d-link 530tx ) [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-02-17 09:52 |只看该作者 |倒序浏览
下面是我的开机信息(红色的为有问题部分):
NetBSD 2.0 (GENERIC) #0: Wed Dec  1 10:58:25 UTC 2004
        builds@build:/big/builds/ab/netbsd-2-0-RELEASE/i386/200411300000Z-obj/big/builds/ab/netbsd-2-0-RELEASE/src/sys/arch/i386/compile/GENERIC
total memory = 319 MB
avail memory = 304 MB
BIOS32 rev. 0 found at 0xf06c0
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel Celeron (686-class), 567.98 MHz, id 0x683
cpu0: features 383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR>;
cpu0: features 383f9ff<GE,MCA,CMOV,PAT,PSE36,MMX>;
cpu0: features 383f9ff<FXSR,SSE>;
cpu0: I-cache 16 KB 32B/line 4-way, D-cache 16 KB 32B/line 4-way
cpu0: L2 cache 128 KB 32B/line 4-way
cpu0: ITLB 32 4 KB entries 4-way, 2 4 MB entries fully associative
cpu0: DTLB 64 4 KB entries 4-way, 8 4 MB entries 4-way
cpu0: 8 page colors
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82443BX Host Bridge/Controller (rev. 0x03)
agp0 at pchb0: aperture at 0xe4000000, size 0x4000000
ppb0 at pci0 dev 1 function 0: Intel 82443BX AGP Interface (rev. 0x03)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga1 at pci1 dev 0 function 0: Nvidia Corporation RIVA TNT2 Model 64 (rev. 0x15)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
pcib0 at pci0 dev 4 function 0
pcib0: Intel 82371AB PCI-to-ISA Bridge (PIIX4) (rev. 0x02)
piixide0 at pci0 dev 4 function 1
piixide0: Intel 82371AB IDE controller (PIIX4) (rev. 0x01)
piixide0: bus-master DMA support present
piixide0: primary channel wired to compatibility mode
piixide0: primary channel interrupting at irq 14
atabus0 at piixide0 channel 0
piixide0: secondary channel wired to compatibility mode
piixide0: secondary channel interrupting at irq 15
atabus1 at piixide0 channel 1
uhci0 at pci0 dev 4 function 2: Intel 82371AB USB Host Controller (PIIX4) (rev. 0x01)
uhci0: interrupting at irq 5
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
Intel 82371AB Power Management Controller (PIIX4) (miscellaneous bridge, revision 0x02) at pci0 dev 4 function 3 not configuredcmpci0 at pci0 dev 9 function 0: C-Media Electronics, Inc. CMI8738/C3DX PCI Audio Device (rev. 0x10)
cmpci0: failed to map I/O space

vr0 at pci0 dev 11 function 0: VIA VT6102 (Rhine II) 10/100 Ethernet
: unable to map device registers

isa0 at pcib0
lpt0 at isa0 port 0x378-0x37b irq 7
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
isapnp0: no ISA Plug 'n Play devices found
Kernelized RAIDframe activated
atapibus0 at atabus0: 2 targets
cd0 at atapibus0 drive 1: <ATAPI-CD ROM-DRIVE-50MAX, UM1102  Firmware, VER 50T>; cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
wd0 at atabus0 drive 0: <WDC WD800BB-00DKA0>;
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 76319 MB, 155061 cyl, 16 head, 63 sec, 512 bytes/sect x 156301488 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
cd0(piixide0:0:1): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
uhidev0 at uhub0 port 1 configuration 1 interface 0
uhidev0: Genesys Logic USB Mouse, rev 1.00/2.30, addr 2, iclass 3/1
ums0 at uhidev0: 3 buttons and Z dir.
wsmouse0 at ums0 mux 0
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)

用ifconfig -C 输出如下:
bridge vlan gif gre tun pppoe

不存在vr0,这样我现在无法上网。

请问这是怎么回事?该怎么解决?谢谢!

论坛徽章:
0
2 [报告]
发表于 2005-02-17 22:13 |只看该作者

netbsd 2.0 网卡问题(d-link 530tx )

网桥??

论坛徽章:
0
3 [报告]
发表于 2005-02-18 08:49 |只看该作者

netbsd 2.0 网卡问题(d-link 530tx )

为什么系统开机有检测到我的网卡vr0,但进入系统后,在/dev下却找不到这个设备?
是这个作怪吗?(unable to map device registers)

我重新编译过内核,只留下 VIA VT6102 (Rhine II) 模块,结果开机还是这样.(unable to map device registers)

论坛徽章:
0
4 [报告]
发表于 2005-02-18 11:05 |只看该作者

netbsd 2.0 网卡问题(d-link 530tx )

ifconfig -a 看看有没有,把网卡换个插槽试试。之前是否重编过内核??

论坛徽章:
0
5 [报告]
发表于 2005-02-18 11:59 |只看该作者

netbsd 2.0 网卡问题(d-link 530tx )

系统刚装好就这样.编译内核后还是这样.
Linux和WINDOWS下都好用的。能上网

论坛徽章:
0
6 [报告]
发表于 2005-02-18 13:01 |只看该作者

netbsd 2.0 网卡问题(d-link 530tx )

ifconfig -a 什么输出?

论坛徽章:
0
7 [报告]
发表于 2005-02-18 18:30 |只看该作者

netbsd 2.0 网卡问题(d-link 530tx )

lo0: flags=8009<UP,LOOPBACK,MULTICAST>; mtu 33196
        inet 127.0.0.1 netmask 0xff000000
ppp0: flags=8010<OINTOPOINT,MULTICAST>; mtu 1500
ppp1: flags=8010<OINTOPOINT,MULTICAST>; mtu 1500
sl0: flags=c010<OINTOPOINT,LINK2,MULTICAST>; mtu 296
sl1: flags=c010<OINTOPOINT,LINK2,MULTICAST>; mtu 296
strip0: flags=0 mtu 1100
strip1: flags=0 mtu 1100

论坛徽章:
0
8 [报告]
发表于 2005-02-18 20:39 |只看该作者

netbsd 2.0 网卡问题(d-link 530tx )

终于解决了,搜索了好几次GOOGLE
从这里得到方法:
http://archive.netbsd.se/?ml=netbsd-current-users&a=2004-10&t=430105
You need to comiplea kernel with the PCI bios fixup options included.  
I'm using a sip(4) device also and the relavent section of my kernel
config file looks like follows.

[ in file /src/sys/arch/i386/conf/GENERIC at about line 354]

# Configure PCI using BIOS information
options         PCIBIOS  # PCI BIOS support
options         PCIBIOSVERBOSE          # PCI BIOS verbose info
options         PCIBIOS_ADDR_FIXUP      # fixup PCI I/O addresses
options         PCIBIOS_BUS_FIXUP       # fixup PCI bus numbering
options         PCIBIOS_INTR_FIXUP      # fixup PCI interrupt routing
#options        PCIBIOS_IRQS_HINT=0x0a00 # PCI interrupts hint. IRQ 9 or 11
#options        PCIBIOS_INTR_GUESS      # see pcibios(4)
#options        PCIINTR_DEBUG           # super-verbose PCI interrupt fixup

重新编译内核,网卡能找到了.而且启动kde的时候,也有声音了。
不过号称最稳定的系统,居然运行没多久死机了。;)

现在就差ADSL上网了。

谢谢无生相   的热情帮忙。

论坛徽章:
0
9 [报告]
发表于 2005-02-18 21:45 |只看该作者

netbsd 2.0 网卡问题(d-link 530tx )

我的建议是同步到2月9日左右的NetBSD -CURRENT试试看。

论坛徽章:
0
10 [报告]
发表于 2005-02-19 11:22 |只看该作者

netbsd 2.0 网卡问题(d-link 530tx )

-current对驱动程序的改进不是很大,但稳定性和各模块的完善性有所提高。你的系统死机的时候什么现象:进入kdb 还是终端挂起无响应?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP