From owner-cvs-all@FreeBSD.ORG Fri Apr 28 17:23:29 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0996F16A403; Fri, 28 Apr 2006 17:23:29 +0000 (UTC) (envelope-from sobomax@FreeBSD.org) Received: from sippysoft.com (gk.360sip.com [72.236.70.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 00C0943D48; Fri, 28 Apr 2006 17:23:27 +0000 (GMT) (envelope-from sobomax@FreeBSD.org) Received: from [192.168.255.17] ([204.244.149.125]) (authenticated bits=0) by sippysoft.com (8.13.4/8.13.4) with ESMTP id k3SHNOmI063394 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 28 Apr 2006 10:23:26 -0700 (PDT) (envelope-from sobomax@FreeBSD.org) Message-ID: <44524F85.5000508@FreeBSD.org> Date: Fri, 28 Apr 2006 10:23:17 -0700 From: Maxim Sobolev Organization: Sippy Software, Inc. User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Joe Marcus Clarke References: <200604280317.k3S3Hb3L017882@repoman.freebsd.org> <1146195791.40894.6.camel@shumai.marcuscom.com> In-Reply-To: <1146195791.40894.6.camel@shumai.marcuscom.com> Content-Type: text/plain; charset=KOI8-U; format=flowed Content-Transfer-Encoding: 7bit Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/sk if_sk.c if_skreg.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Apr 2006 17:23:29 -0000 Joe Marcus Clarke wrote: > On Fri, 2006-04-28 at 03:17 +0000, Maxim Sobolev wrote: >> sobomax 2006-04-28 03:17:37 UTC >> >> FreeBSD src repository >> >> Modified files: >> sys/dev/sk if_sk.c if_skreg.h >> Log: >> Add some incomplete support for Marvell Yukon EC controllers based on >> OpenBSD changes. With these changes, PHY part of the driver becomes >> functional (it senses media changes and negotiates speed just fine), >> previously it just hang with no PHY message, but no data goes through >> interface (error message is "can not stop transfer of Tx/Rx descriptor). >> >> Hopefully somebody with more clue/free time will be able to pick up >> after me. > > Maxim, I patched if_sk in a similar fashion, and got the same errors you > did. I took a look at the Linux sky2 driver which works with the > MacBook Yukon-II, and the Yukon-II chipset is very different from the > Yukon. > > However, I did find that the SysKonnect-provided Yukon-II driver works > quite well (see > http://lists.freebsd.org/pipermail/freebsd-net/2006-January/009543.html). Building the driver was easy. I just untarred the source to /usr/src/sys/dev/myk, and did a make all. With this driver, I was able to get the wired ethernet in the MacBook to pass traffic. Thanks for the pointer, I will try that. It is not a big issue for me, though, since ath works perfectly just OOB. > BTW, thanks for your work on the reboot issue. Oh, and are you using Don't mention it. The other big and still unresolved issue is getting SMP working. I have tried to debug it and as long as I can tell second core for some reason doesn't start at all. I have even attempted to borrow second CPU kick in magic from xnu (Darwin kernel), but the result is the same. My current guess is that since it's mobile processor, the 2nd core may be turned off for power saving purposes and needs some (ACPI?) hohomagic to power it up. Unfortunately I can't find any documentation on the processor to check. It is interesting that both Linux and Windows don't have any problems with getting it working OOB. > Alt at boot-time to select FreeBSD, or have you done some EFI magic to > make FreeBSD the default boot partition? The former. I think it should be possible to change partition type to be FAT temporarily, switch default operating system via MacOS control panel (see Boot Camp docco for details) and then switch is back partition type to FreeBSD, but I have not tried that. -Maxim