From owner-freebsd-embedded@FreeBSD.ORG Thu May 7 08:57:46 2009 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9B3F41065672 for ; Thu, 7 May 2009 08:57:46 +0000 (UTC) (envelope-from jsimpson.za@gmail.com) Received: from mail-fx0-f168.google.com (mail-fx0-f168.google.com [209.85.220.168]) by mx1.freebsd.org (Postfix) with ESMTP id 1ECBD8FC1A for ; Thu, 7 May 2009 08:57:45 +0000 (UTC) (envelope-from jsimpson.za@gmail.com) Received: by fxm12 with SMTP id 12so639623fxm.43 for ; Thu, 07 May 2009 01:57:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=+qCHLLaIsx5lO97x6f8Lpy6tY7gxTJX5rQ+Yx6a9sR8=; b=pU75Q/2WL/cMEoXyzBClqcPdvZt/UVfHuvkXmojx60UJ2LCPvBYlQk+Vy7xDcUCbpI GhNgDihwEegd4LjTT2mxTj9wCPg3e8/1zgEqMnzc716RW7xjKUzKZNQbpNGFTlVRB/4+ XAQ4C+VvSRKf8DXUWBELDA5ppPpfDHGgjNb+o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=IYsjwulhUZmr20GHMTbpt8yEKac1AfHWGUulnqcmRoL5Ig3UWyl2eTIF2U9aNxsb3p VItsPyWcxcivsNu0u/tJvGHee6Pw6CcjuNZZf+SphXzNmHWyK9xK8t4L2fxciSVguuXB BUnUc7WOtrz7BSiLs7gG0WbLCeTao8YWmEzSk= MIME-Version: 1.0 Received: by 10.204.77.81 with SMTP id f17mr2193299bkk.78.1241686665125; Thu, 07 May 2009 01:57:45 -0700 (PDT) In-Reply-To: <9e6237170905070054n604b1a8bhb267a6efc84f56dc@mail.gmail.com> References: <9e6237170905060003n673711bdp2e36c3b55ead3b7f@mail.gmail.com> <9e6237170905070054n604b1a8bhb267a6efc84f56dc@mail.gmail.com> Date: Thu, 7 May 2009 10:57:45 +0200 Message-ID: <9e6237170905070157gfbb56d8h76942b2c13c85fe3@mail.gmail.com> From: Johan Simpson To: freebsd-embedded@freebsd.org Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Subject: Re: FreeBSD 7.1 AMD Geode LX 800 / Compact Flash boot issues X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 May 2009 08:57:46 -0000 On Thu, May 7, 2009 at 9:54 AM, Johan Simpson wrote= : >> Disable DMA =A0by adding hw.ata.ata_dma=3D0 to /boot/loader.conf and see >> if it makes a >> difference. >> >> Jacques >> > > > Doesnt seem to work, ive re-installed a standard minimal 7.1R installatio= n. > > then booted into the dvd's fixit console, mounted the cf, changed > loader.conf to look like this: > > =A0 =A0hw.ata.ata_dma=3D0 > =A0 =A0hw.ata.ata_dma_check_80pin=3D0 > =A0 =A0hw.ata.wc=3D0 > =A0 =A0hint.acpi.0.disabled=3D0 > > > Boot loader starts > then prints a | or / > > after which it makes the screen red and fills it with garbage > arrow-like characters. > > It is strange because i can mount the CF fine from the fixit console > and no-errors there. Only booting from it seems to give problems. > > > I believe it might be something else, > i found this : > http://phaq.phunsites.net/2006/08/15/freebsd-boot-loader-hangs-on-startup= / > > > which says > -------------------------------------------------------------------------= ------------------------------------------------------------------- > The FreeBSD boot loader seems to hang at startup. The system will not > respond and not boot. > Either nothing or one of the following may be printed on the system conso= le: > > | > > or > > boot: -D > > Reason > > The reasons for this are most probably > > =A0 1. Absence of a serial port on your mainboard > =A0 2. The serial port on your mainboard is deactivated > =A0 3. FreeBSD has a default value to use a non-existing serial port > > Solution > > The FreeBSD boot loader is by its nature very limited in its capabilities= . > > It has quiet enough intellence for reading boot blocks and starting a > kernel, but it may stall if it is instructed to redirect it=92s output > to a non-existing or disabled serial port. > > So any of these solutions may apply: > > =A0 =A0* check your BIOS settings and enable the serial port(s) > =A0 =A0* disable boot loader=92s serial console redirection (remove -D fl= ag > from /boot.config) > =A0 =A0* check and correct to boot loader=92s compiled in default for the > serial port if you have an usual setup > -------------------------------------------------------------------------= ---------------------------------------------------------------------------= ----------- > > > Im going to see if the serial port settings can make any difference. > > > Thanks for the advice. > Fixed the IRQs in the bios, made no difference, except that dmesg on the dvd loader doesnt complain about sio0 not working anymore. Here is some screenshots of the dma errors dmesg reports when i boot from the CD: http://img26.imageshack.us/img26/6989/07052009001v.jpg http://img17.imageshack.us/img17/5034/07052009.jpg The garbage data that fills the screen right after BTX loader prints | or / http://img19.imageshack.us/img19/4623/07052009002h.jpg I guess im going to have to take the loader apart.......