From owner-freebsd-questions@FreeBSD.ORG Fri Apr 18 08:08:10 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 71E3F106566C for ; Fri, 18 Apr 2008 08:08:10 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from kane.otenet.gr (kane.otenet.gr [195.170.0.77]) by mx1.freebsd.org (Postfix) with ESMTP id E187D8FC32 for ; Fri, 18 Apr 2008 08:08:09 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from [192.168.0.1] (athedsl-156132.home.otenet.gr [85.75.153.130]) by kane.otenet.gr (8.13.8/8.13.8/Debian-3) with ESMTP id m3I87w9H002196; Fri, 18 Apr 2008 11:07:59 +0300 Message-ID: <480856E0.3010203@otenet.gr> Date: Fri, 18 Apr 2008 11:08:00 +0300 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.12 (X11/20080227) MIME-Version: 1.0 To: Da Rock References: <1208499344.7272.7.camel@laptop2.herveybayaustralia.com.au> <480849B7.1070400@otenet.gr> <1208504809.7272.13.camel@laptop2.herveybayaustralia.com.au> In-Reply-To: <1208504809.7272.13.camel@laptop2.herveybayaustralia.com.au> Content-Type: text/plain; charset=ISO-8859-7; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: RTL8111C driver for FBSD7 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Apr 2008 08:08:10 -0000 Da Rock wrote: > On Fri, 2008-04-18 at 10:11 +0300, Manolis Kiagias wrote: > >> Da Rock wrote: >> >>> Hey, hey... I made a boo boo and ordered a unit with this nic onboard >>> (truthfully, I never thought I'd have any trouble since I had done this >>> before). Loaded 7 and couldn't find the nic. A little investigation >>> found that the nic was the above, and a little further found that there >>> was no support for it in the hcl's. >>> >>> Now I do find it hard to believe there is no way around this- I found a >>> driver for FBSD4.5-6, is there one for 6.2 or higher? Or will this one >>> work? Anyone know how to install it? >>> >>> The driver is only a c and a h file- Makefile is an empty file, and the >>> readme tells me to rebuild the kernel after removing rl and re in the >>> conf. Then I build the driver, and kldload it. Any idea why I'd have to >>> rebuild the kernel? >>> >>> Cheers guys >>> >>> >>> >>> >> I've seen this driver too (I've investigated for a friend who bought a >> similar motherboard that otherwise works with 7). The readme describes >> two "methods" of installation but the first one simply does not apply >> (there is no modules directory in the download). I have not tried the >> second method (looks reasonable though). Removing the rl and re from the >> kernel will remove the built-in support (it could conflict with the new >> driver) and create a module for the new driver. Note that you are also >> asked to replace the files in the FreeBSD src directories. In fact it >> is better to build as a module - building it into the kernel may well >> leave you with an unbootable kernel if it is not compatible. >> >> As I said, I have not done this (my friend will be running Linux on this >> box) but as more and more recent mobos seem to use this NIC - and I may >> be buying one- if you are willing to give it a try, I will be interested >> in the results. >> > > Well I just tried it- I put this out there for some feedback mainly- the > kernel rebuild is to remove the old rl and re drivers completely, and > the build for the driver is for a module. > > Unfortunately the result is a failure: compatibility issues or some sort > (argument warnings, not enough args, invalid variables and functions). > My question is will I find something to work for 7? If not, will it work > on 6.2 or 6.3 (it only says 6 in the readme's)? > I hope realtek releases a driver for 7. I would not want to go back to 6.X for this. I have a 6.3 server, and can give it a try - as far as compiling the module, not actually using it, I don't have the NIC. I will post the results later today.