From owner-freebsd-stable@FreeBSD.ORG Fri Dec 24 00:15:27 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1048916A4CE for ; Fri, 24 Dec 2004 00:15:27 +0000 (GMT) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8611443D39 for ; Fri, 24 Dec 2004 00:15:26 +0000 (GMT) (envelope-from scottl@freebsd.org) Received: from [192.168.254.11] (junior-wifi.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.12.11/8.12.10) with ESMTP id iBO0IuWm091233; Thu, 23 Dec 2004 17:18:57 -0700 (MST) (envelope-from scottl@freebsd.org) Message-ID: <41CB5F4C.5030707@freebsd.org> Date: Thu, 23 Dec 2004 17:14:04 -0700 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20040929 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Martin References: <1103832537.770.28.camel@klotz.local> In-Reply-To: <1103832537.770.28.camel@klotz.local> X-Enigmail-Version: 0.86.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=0.0 required=3.8 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on pooker.samsco.org cc: stable@freebsd.org Subject: Re: Update to -STABLE breaks re(4) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Dec 2004 00:15:27 -0000 Martin wrote: > Hi, > > today I've compiled new world and kernel. Last kernel was > from November, I think. > > The platform is amd64, mainboard Gigabyte K8VNXP. I'm > talking about -STABLE here (RELENG_5 tag). > > (I've deleted /usr/obj before making world and used > the usual procedure to update.) > > After reboot, re(4) "Realtek RTL8110S" could not be detected > automatically. It is statically compiled into the kernel. > The dmesg said something like "Could not send TCP packet in > loopback mode" or similar. > > I tried "kldload if_re". It worked fine (e.a. the interface > works after /etc/netstart restart), but I got few > warnings ("already exists"). > > Next, I added if_re_load="YES" to /boot/loader.conf (tried > a workaround). The PC always rebooted before reaching the > "beastie menu". > > I can boot now using /boot/loader.old and the > re(4)-module seems to load with same warnings as above. > > If I remove if_re_load="YES", even using the old loader > my re0 won't be detected (same problem as above). > > Conclusion: > It seems there are two problems. The new loader seems > to crash while loading if_re (maybe because of the handling > of the warning). And something changed in the detection routine > of the re(4) driver, which broke support for RTL8110S. > > -- > > I won't have access to this PC until after New Year, so it > will be difficult to do further research. I can imagine that > there are more people who have this mainboard, so maybe > someone can confirm the problem? > > Martin > This might be another victim of my busdma fixes. There are definite mistakes in the if_re driver that I need to fix; let me know when you have some time to test them and I'll generate patches. Scott