From owner-freebsd-amd64@FreeBSD.ORG Thu Sep 15 14:23:17 2005 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0D5CB16A41F for ; Thu, 15 Sep 2005 14:23:17 +0000 (GMT) (envelope-from wieland.k@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7451E43D45 for ; Thu, 15 Sep 2005 14:23:16 +0000 (GMT) (envelope-from wieland.k@gmail.com) Received: by xproxy.gmail.com with SMTP id i27so25865wxd for ; Thu, 15 Sep 2005 07:23:15 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:in-reply-to:references:mime-version:content-type:message-id:content-transfer-encoding:cc:from:subject:date:to:x-mailer; b=Y1WXjdHAa9caIcP7rgrXpA7Ijtwu3su9n53XKPqWRSOnSU9mGW2/iog+vyMSumiJXgOVQuHdZf0sijyLnXW3eObC6yUHaTqI70rw3ovJLSV1vhabW+khlU87kpnlZcQIEdm94bSxKDnby7wkaNnXpE3H9UMWG865lIwej1dBUaw= Received: by 10.70.132.13 with SMTP id f13mr408277wxd; Thu, 15 Sep 2005 07:23:15 -0700 (PDT) Received: from ?128.252.125.191? ( [128.252.125.191]) by mx.gmail.com with ESMTP id h7sm255663wxd.2005.09.15.07.23.14; Thu, 15 Sep 2005 07:23:14 -0700 (PDT) In-Reply-To: <200509131240.45207.jkim@FreeBSD.org> References: <200509131117.10960.jkim@FreeBSD.org> <777362bd663bbe40600d195b7cecf30c@wustl.edu> <200509131240.45207.jkim@FreeBSD.org> Mime-Version: 1.0 (Apple Message framework v622) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <4efa8eff718166b299f7d6a317011a37@gmail.com> Content-Transfer-Encoding: 7bit From: K. Wieland Date: Thu, 15 Sep 2005 09:22:26 -0500 To: Jung-uk Kim X-Mailer: Apple Mail (2.622) Cc: freebsd-amd64@freebsd.org Subject: amd64 Radeon 9000 nForce3 250 agp support - Yes and No X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Sep 2005 14:23:17 -0000 Jung-uk and fellow amd64 subscribers, I tried upgrading to 6.0B4 last night, after spending several nights reading the documentation. I have been reading and am subscribed to the amd64 list, so I figure I might as well try it! First, I mounted the new 6.0_B4 CD under 5.4 and tried to run the sysinstall that way as outlined in the docs (I don't remember where, but I can get the reference). sysinstall (v6.0 B4) would not run, complaining about some libraries not being present (I had a previous version of the libraries it was looking for, so I made sym links (bad, I know!) but it failed looking for the next library, so I deleted the symlink, and decided to reboot with the CD. I rebooted, went into fixit and did a dmesg. AGP was there, and the device /dev/agpart existed. I was happy, and decided to upgrade to 6.0 beta4 using the upgrade option in sysinstall. I didn't remember the mount points for the various file systems so I had to boot back into 5.4 and write it all down (it would be nice if this was in the documentation)! Anyway, I upgraded and rebooted. The first thing I noticed was the generic kernel detected my com port, but didn't create a /dev/cuaa0 (I dial up for internet). And, because I want sound and my TV card (bktr) I decided to customize the kernel like I had done in 5.4. So, I did a diff of the GENERIC to the custom kernel, MYKERNEL, and found that it was basically the same (MYKERNEL had the sound, bktr, and agp with several extraneous things commented out). I built the new kernel, installed it and rebooted. AGP was gone! I thought, well maybe you don't need "device agp" in the kernel (I didn't see it in the GENERIC, and agp loaded with that), so I tried that...still no AGP. Then, I decided to use the GENERIC and see if that worked---still no AGP. But, if I boot up with the CD, AGP is back! The confusing part to me is that the uname -a still gives me RELENG5.4 -p7. That seems strange to me. The ps command also didn't work as expected (just prints the headers, none of the processes). I read that if your sources don't match your kernel, you can get weird stuff like this, so I went to cvsup to the most recent. BUT, in the /usr/share/examples/standard-cvsup files it still had RELENG 5.4. I went ahead and cvsup'ed anyway. I don't have anything critical on the drive, so I am tempted to wipe it clean and reinstall (ala windows style) but I would really like to understand what is going on here. I am CCing the freebsd-amd64 list in case they have some insights, too. Thanks, Kristopher Wieland Graduate Student Washington University in St. Louis Dept. of Physics- Compton Hall On Sep 13, 2005, at 11:40 AM, Jung-uk Kim wrote: > On Tuesday 13 September 2005 12:19 pm, K Wieland wrote: >> Thanks again for the quick reply. > > No problem. > >> Is there a "best method" for installing another version? I would >> rather not loose the kernel config, etc. Is it best to just wipe >> everything and start over? > > cvsup, buildworld, installworld, mergemaster... But it's quite a > hassle for new users. First of all, if the only problem for you is > the agp, try booting from the ISO, select Fixit, select CD/DVD, then > you will get shell. You can see if agp is probed/attached from > there. If that's there, you have two choices: > > 1. Upgrade. > 2. Patch kernel to add support for the AGP device. > > If you choose option 2, the only thing you really need is this: > > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/pci/agp_amd64.c.diff? > r1=1.6&r2=1.7 > > Good luck, > > JK > >> I'll give it a try and see how it goes! >> >> Kristopher >> >> On Sep 13, 2005, at 10:17 AM, Jung-uk Kim wrote: >>> On Tuesday 13 September 2005 11:06 am, K. Wieland wrote: >>>> Thank you for your quick reply! >>>> >>>> Yes, I am using 5.4 Release. I guess since I was just starting >>>> out with Freebsd, I'd go with "release" vs. stable or current. >>>> >>>> Do you know an ftp site for getting the images for 6.0 beta4? >>>> Or should I just cvsup to it? You can tell I am new, new new! >>> >>> ftp://ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-amd64/6.0/ >>> >>> JK >>> >>>> Thanks, >>>> >>>> Kristopher >>>> >>>> On Sep 13, 2005, at 9:54 AM, Jung-uk Kim wrote: >>>>> On Tuesday 13 September 2005 10:42 am, K. Wieland wrote: >>>>>> Hello Jung-uk! >>>>>> >>>>>> I was reading through the archives of the freebsd-amd64 >>>>>> archives (I am a new Freebsd user) and I have the exact same >>>>>> problem that you and Geneal talked about. >>>>>> >>>>>> I also have a radeon 9000 with a nForce3 250 chipset that does >>>>>> not detect the agp, even though it is in the kernel. >>>>>> >>>>>> Did you ever get this issue resolved? >>>>> >>>>> Are you using FreeBSD 5.4 or something? Try 6.0BETA4. It >>>>> should be fine. >>>>> >>>>> JK >>>>> >>>>>> Thank you, >>>>>> >>>>>> Kristopher Wieland >