Date: Wed, 3 Jan 2001 13:18:14 +0530 From: Suresh Ramasubramanian <mallet@efn.org> To: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: HELP: Via-Rhine card - vr0 attach returned 6 Message-ID: <20010103131814.A14763@oyeindia.com>
next in thread | raw e-mail | index | archive | help
Hi folks This is a standard freebsd 4.1 box ... and am not able to config my network card. The card is a Dlink 530TX card (basically RTL8139). FreeBSD 4.1 detects it as a via-rhine though - and gives me vr0: <VIA VT3043 Rhine I 10/100BaseTX> at device 13.0 on pci1 vr0: couldn't map ports/memory device_probe_and_attach: vr0 attach returned 6 I searched deja - got 6 hits, 4 of which were the same question, two others totally unrelated For what its worth, I (twice) recompiled the kernel with device vr0 (it had device vr) and device miibus (which was already there) as I saw on the freebsd hardware help page. No use :( Here's some info ... jotunheim# kldload /modules/if_rl.ko Jan 3 13:07:42 jotunheim /kernel: linker_file_sysinit "if_rl.ko" failed to register! 17 Jan 3 13:07:42 jotunheim /kernel: linker_file_sysinit "if_rl.ko" failed to register! 17 Jan 3 13:07:42 jotunheim /kernel: module_register: module rl/miibus already exists! Jan 3 13:07:42 jotunheim /kernel: module_register: module rl/miibus already exists! Jan 3 13:07:42 jotunheim /kernel: linker_file_sysinit "if_rl.ko" failed to register! 17 Jan 3 13:07:42 jotunheim /kernel: linker_file_sysinit "if_rl.ko" failed to register! 17 Jan 3 13:07:42 jotunheim /kernel: vr0: <VIA VT3043 Rhine I10/100BaseTX> irq 5 at device 15.0 on pci0 Jan 3 13:07:42 jotunheim /kernel: vr0: <VIA VT3043 Rhine I10/100BaseTX> irq 5 at device 15.0 on pci0 Jan 3 13:07:42 jotunheim /kernel: vr0: couldn't map ports/memory Jan 3 13:07:42 jotunheim /kernel: vr0: couldn't map ports/memory Jan 3 13:07:42 jotunheim /kernel: device_probe_and_attach: vr0 attach returned 6 However, the module _does_ get loaded ... jotunheim# kldstat Id Refs Address Size Name 1 4 0xc0100000 2801e4 kernel 2 1 0xc093d000 10000 linux.ko 8 1 0xc099a000 5000 if_rl.ko 9 1 0xc09a2000 9000 miibus.ko Here's part of my kernel config file - I recompiled it twice as per the freebsd hardware howto :( # PCI Ethernet NICs that use the common MII bus controller code. device miibus # MII bus support # this line was already there [one of the solutions to this in the # list archives was "add 'device miibus' to your kernel config file # and recompile] device rl # RealTek 8129/8139 # again, this line was already in the config file device vr0 # VIA Rhine, Rhine II # changed from the original 'device vr' and recompiled - per # http://people.freebsd.org/~wpaul/VIA/ The version ids of these drivers (standard ones from 4.1-RELEASE) are $FreeBSD: src/sys/pci/if_vr.c,v 1.26.2.3 2000/07/17 21:24:39 archie Exp$ $FreeBSD: src/sys/pci/if_rl.c,v 1.38.2.4 2000/07/17 21:24:39 archie Exp$ tia --suresh -- Suresh Ramasubramanian <--> mallet <at> efn <dot> org EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010103131814.A14763>