From owner-freebsd-questions@FreeBSD.ORG Fri Apr 18 07:51:11 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 1F309106564A for ; Fri, 18 Apr 2008 07:51:11 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from angel.comcen.com.au (angel.comcen.com.au [203.23.236.69]) by mx1.freebsd.org (Postfix) with ESMTP id 9C6188FC0C for ; Fri, 18 Apr 2008 07:51:10 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from [192.168.0.198] (202-172-126-254.cpe.qld-1.comcen.com.au [202.172.126.254]) by angel.comcen.com.au (8.13.4/8.12.9) with ESMTP id m3I7kt4l021926 for ; Fri, 18 Apr 2008 17:47:09 +1000 (EST) From: Da Rock To: freebsd-questions@freebsd.org In-Reply-To: <480849B7.1070400@otenet.gr> References: <1208499344.7272.7.camel@laptop2.herveybayaustralia.com.au> <480849B7.1070400@otenet.gr> Content-Type: text/plain Date: Fri, 18 Apr 2008 17:46:49 +1000 Message-Id: <1208504809.7272.13.camel@laptop2.herveybayaustralia.com.au> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 (2.12.3-3.fc8) Content-Transfer-Encoding: 7bit X-comcen-MailScanner-Information: Please contact the ISP for more information X-comcen-MailScanner: Found to be clean X-comcen-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-16.392, required 4, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.41, BAYES_00 -15.00) X-comcen-MailScanner-From: rock_on_the_web@comcen.com.au 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 07:51:11 -0000 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)?