From owner-freebsd-amd64@FreeBSD.ORG Mon Mar 28 20:18:24 2005 Return-Path: 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 3C28C16A4CE for ; Mon, 28 Mar 2005 20:18:24 +0000 (GMT) Received: from mail22.sea5.speakeasy.net (mail22.sea5.speakeasy.net [69.17.117.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id D83B043D4C for ; Mon, 28 Mar 2005 20:18:23 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: (qmail 9961 invoked from network); 28 Mar 2005 20:18:23 -0000 Received: from server.baldwin.cx ([216.27.160.63]) (envelope-sender )AES256-SHA encrypted SMTP for ; 28 Mar 2005 20:18:18 -0000 Received: from [10.50.41.231] (gw1.twc.weather.com [216.133.140.1]) (authenticated bits=0) by server.baldwin.cx (8.13.1/8.13.1) with ESMTP id j2SKHwu6002552; Mon, 28 Mar 2005 15:18:12 -0500 (EST) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: freebsd-amd64@FreeBSD.org Date: Mon, 28 Mar 2005 13:51:13 -0500 User-Agent: KMail/1.6.2 References: <4247CAA3.90804@komvista.lt> In-Reply-To: <4247CAA3.90804@komvista.lt> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Message-Id: <200503281351.13440.jhb@FreeBSD.org> X-Spam-Status: No, score=-102.8 required=4.2 tests=ALL_TRUSTED, USER_IN_WHITELIST autolearn=failed version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on server.baldwin.cx cc: Stasys Smailys Subject: Re: Problem Report amd64/78848 "sis driver on FreeBSD 5.x does not work on amd64" X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2005 20:18:24 -0000 On Monday 28 March 2005 04:13 am, Stasys Smailys wrote: > Hello there! > > I've had the same problem with SiS 755 and SiS 964 on ASRock K8S8X, the > only difference was that MAC address had all zeros (00:00:00:00:00:00). > The problem is that integrated NIC doesn't have any eeprom to read from. > I solved it by applying this patch. As by now it works for me. AFAIK it > is not solved properly even in -CURRENT. > > By the way I noticed some typo in > /usr/src/lib/libc/i386/sys/_amd64_get_fsbase.c and > /usr/src/lib/libc/i386/sys/_amd64_get_gsbase.c. IMHO when calling > sysarch(int, void *) it should look like this: > > /usr/src/lib/libc/i386/sys/_amd64_get_fsbase.c: > [...] > ret = sysarch(_AMD64_GET_FSBASE, (void *)(&addr64)); > [...] > > /usr/src/lib/libc/i386/sys/_amd64_get_gsbase.c: > [...] > ret = sysarch(_AMD64_GET_GSBASE, (void *)(&addr64)); > [...] addr64 is supposed to be a pointer though, so it really is a pointer to a pointer that's being passed (void **). -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org