Date: Mon, 8 Jan 2001 12:06:44 +0530 From: Suresh Ramasubramanian <mallet@efn.org> To: FreeBSD Questions <freebsd-questions@FreeBSD.ORG> Subject: Re: HELP: Via-Rhine card - vr0 attach returned 6 Message-ID: <20010108120644.A11624@oyeindia.com> In-Reply-To: <20010103131814.A14763@oyeindia.com>; from mallet@efn.org on Wed, Jan 03, 2001 at 01:18:14PM %2B0530 References: <20010103131814.A14763@oyeindia.com>
next in thread | previous in thread | raw e-mail | index | archive | help
To answer my original question, here's something I found on freebsd-stable: > Date: Fri, 05 Jan 2001 14:49:17 +0530 > To: stable@freebsd.org > From: Vikaas BV <vikas@oyeindia.com> > Subject: D-Link DFE-530TX config on FreeBSD/Linux > > Hi, > > There is this queer problem while configuring the D-Link DFE-530TX network card > on some systems. A clone of this card/chipset seems to be installed on > several HP based desktop systems (Brio). In Linux, the symptom appears to > be that the driver recognizes the > card and loads but fails to detect the interrupt and in FreeBSD, the module > seems to throw an error no 6 (could not map memory...). > > The problem seems to stem from certain BIOS settings. I was able to get > the card working by changing the following BIOS settings: > > 1. Type of OS to Non-PNP. > 2. Reset Configuration data under the PCI setup. > Thanks & Regards > vikas To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message Suresh Ramasubramanian rearranged electrons thusly: > 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 -- 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?20010108120644.A11624>