From owner-freebsd-arm@FreeBSD.ORG Sat Dec 15 12:59:19 2007 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 15C1E16A417 for ; Sat, 15 Dec 2007 12:59:19 +0000 (UTC) (envelope-from stas@ht-systems.ru) Received: from smtp.ht-systems.ru (mr0.ht-systems.ru [78.110.50.55]) by mx1.freebsd.org (Postfix) with ESMTP id BCCB213C468 for ; Sat, 15 Dec 2007 12:59:18 +0000 (UTC) (envelope-from stas@ht-systems.ru) Received: from [78.110.49.49] (helo=quasar.ht-systems.ru) by smtp.ht-systems.ru with esmtpa (Exim 4.62) (envelope-from ) id 1J3Wbs-0002rV-1J; Sat, 15 Dec 2007 15:59:16 +0300 Received: by quasar.ht-systems.ru (Postfix, from userid 1024) id D984B7D24FC; Sat, 15 Dec 2007 15:59:14 +0300 (MSK) Date: Sat, 15 Dec 2007 15:59:14 +0300 From: Stanislav Sedov To: Rafal Jaworowski Message-ID: <20071215125914.GO17356@dracon.ht-systems.ru> References: <20071213222654.GE17356@dracon.ht-systems.ru> <20071214090128.GM31230@cicely12.cicely.de> <20071214115226.0b2cb7e2@peedub.jennejohn.org> <20071214.062511.74732956.imp@bsdimp.com> <20071214153201.18c4c5ea@peedub.jennejohn.org> <47629E53.30404@semihalf.com> <20071214190825.GG17356@dracon.ht-systems.ru> <20071215105951.GN17356@dracon.ht-systems.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071215105951.GN17356@dracon.ht-systems.ru> Organization: The FreeBSD Project X-Voice: +7 916 849 20 23 X-XMPP: ssedov@jabber.ru X-Yahoo: stanislav_sedov X-PGP-Fingerprint: F21E D6CC 5626 9609 6CE2 A385 2BF5 5993 EB26 9581 X-University: MEPhI X-Mailer: carrier-pigeon X-Operating-System: FreeBSD quasar.ht-systems.ru 7.0-BETA2 FreeBSD 7.0-BETA2 Cc: freebsd-arm@freebsd.org Subject: Re: Align exception (was: MMC cards support) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Dec 2007 12:59:19 -0000 On Sat, Dec 15, 2007 at 01:59:51PM +0300 Stanislav Sedov mentioned: > > Ok, I've solved my problem with if_ate by hardwiring MAC into the driver and > by commenting out the lines 1007-1008 in if_ates./c: > if (phy != 0) > return (0xffff); > > My phy (rtl8102BL) is on 0x1D address, that forced the mii driver to return 0xffff > for all request? What this conditiond was intnded for? Probably we can strip this out? > > For now I have another problem: i'm receiving the aligning exception when kernel is about > to start userland: > Enabling INVARIANTS give me a lot of unexpected order panics, e.g. vm_phys_free_pages: page 0xc036a4e8 has unexpected order 0 I've no a deep knowledge of VM subsystems, can anybode comment on this? Probably the memory wasn't configured correctly? -- Stanislav Sedov ST4096-RIPE