From owner-freebsd-arm@FreeBSD.ORG Mon Jul 22 15:23:49 2013 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 49111CB3; Mon, 22 Jul 2013 15:23:49 +0000 (UTC) (envelope-from kientzle@freebsd.org) Received: from monday.kientzle.com (99-115-135-74.uvs.sntcca.sbcglobal.net [99.115.135.74]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1AD812442; Mon, 22 Jul 2013 15:23:48 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id r6MFNk93040895; Mon, 22 Jul 2013 15:23:46 GMT (envelope-from kientzle@freebsd.org) Received: from [192.168.2.123] (CiscoE3000 [192.168.1.65]) by kientzle.com with SMTP id mikc9ma5ip82ic5kxqihcn3pjn; Mon, 22 Jul 2013 15:23:46 +0000 (UTC) (envelope-from kientzle@freebsd.org) Subject: Re: Booting Beagleboard Black Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset=iso-8859-1 From: Tim Kientzle In-Reply-To: Date: Mon, 22 Jul 2013 08:23:40 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <5E40A024-005D-42C5-A4B3-31069BF0182C@freebsd.org> References: <97D78167-9428-4005-89EE-15A78F74BE46@gromit.dlib.vt.edu> <44AB19F7-A0D3-4F0C-A1F4-66AA49283387@gromit.dlib.vt.edu> <27AC1DB6-9D32-47AF-A1E8-A53EE3C09753@FreeBSD.org> To: Tom Everett X-Mailer: Apple Mail (2.1283) Cc: "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Jul 2013 15:23:49 -0000 I think I found your problem: $ cat work/_.installworld.armv6.log ERROR: Required auditdistd user is missing, see /usr/src/UPDATING. *** Error code 1 Stop. make: stopped in /src/FreeBSD *** [installworld] Error code 1 Stop in /src/FreeBSD. This has bitten a lot of people and there are a few folks trying to figure out ways to avoid this problem in the future (so that new users and groups don't prevent cross-installs). For now, you'll need to add the auditdistd user to your host system. I believe you can use "mergemaster -p" from a -CURRENT checkout to do this correctly, but other people here may have better suggestions. Cheers, Tim P.S. Start with the really small log files. ;-) On Jul 22, 2013, at 8:08 AM, Tom Everett wrote: > Here are the build logs, the image file (gzipped), and config.sh. >=20 > http://files.khubla.com/tim/ >=20 > Let me know if there is anything more you need. >=20 >=20 >=20 > On Sun, Jul 21, 2013 at 10:46 PM, Tim Kientzle = wrote: > Please send me the Crochet build logs and I'll see if > I can puzzle anything out. >=20 > The console log from running Crochet would also be interesting. >=20 > Tim >=20 >=20 > On Jul 21, 2013, at 9:25 PM, Tom Everett wrote: >=20 > > ok, I've rebuilt with a fresh source tree, fresh xdev build and = fresh pull of crochet; same result. Should I post the crochet build = logs? Could the fact that I'm building it on AMD64 be part of the = problem? > > > > My host OS is: > > > > FreeBSD 9.1-RELEASE-p4 #0: Mon Jun 17 11:42:37 UTC 2013 > > root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC = amd64 > > CPU: AMD A8-3870 APU with Radeon(tm) HD Graphics (3000.26-MHz = K8-class CPU) > > > > > > > > Here is the console log from the Beagle > > > > U-Boot 2013.04 (Jul 21 2013 - 22:07:04) > > > > I2C: ready > > DRAM: 512 MiB > > WARNING: Caches not enabled > > MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1 > > Using default environment > > > > musb-hdrc: ConfigData=3D0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO = Tx, SoftConn) > > musb-hdrc: MHDRC RTL version 2.0 > > musb-hdrc: setup fifo_mode 4 > > musb-hdrc: 28/31 max ep, 16384/16384 memory > > USB Peripheral mode controller at 47401000 using PIO, IRQ 0 > > musb-hdrc: ConfigData=3D0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO = Tx, SoftConn) > > musb-hdrc: MHDRC RTL version 2.0 > > musb-hdrc: setup fifo_mode 4 > > musb-hdrc: 28/31 max ep, 16384/16384 memory > > USB Host mode controller at 47401800 using PIO, IRQ 0 > > Net: not set. Validating first E-fuse MAC > > cpsw, usb_ether > > Hit any key to stop autoboot: 0 > > mmc0 is current device > > SD/MMC found on device 0 > > reading bb-uEnv.txt > > reading bbubldr > > 237488 bytes read in 34 ms (6.7 MiB/s) > > reading bboneblk.dtb > > 13946 bytes read in 7 ms (1.9 MiB/s) > > Booting from mmc ... > > ## Starting application at 0x88000054 ... > > Consoles: U-Boot console > > Compatible API signature found @9f242240 > > Number of U-Boot devices: 2 > > > > FreeBSD/armv6 U-Boot loader, Revision 1.2 > > (root@bernice, Sun Jul 21 22:07:44 MDT 2013) > > DRAM: 512MB > > > > Device: disk > > | > > can't load 'kernel' > > > > Type '?' for a list of commands, 'help' for more detailed help. > > loader> ls > > / > > d .snap > > .sujournal > > loader> > > > > > > > > On Sun, Jul 21, 2013 at 4:02 PM, Rui Paulo = wrote: > > On 21 Jul 2013, at 14:42, Tom Everett wrote: > > > > > ls shows: > > > > > > / > > > d .snap > > > .sujournal > > > > > > and lsdev shows: > > > > > > disk devices: > > > disk0 (MMC) > > > disk0s1: DOS/Windows > > > disk0s2: FreeBSD > > > disk0s2a: FreeBSD UFS > > > net devices: > > > net0: > > > > > > I'm doing a fresh checkout of the entire CURRENT source tree, a = rebuild of > > > dev and then a rebuild of the kernel. We'll see what happens. > > > > > > As you can see, your root file system has no files. This has = happened to me in the past and I don't know why, but re-creating the = image file with crochet seems to fix it. > > > > -- > > Rui Paulo > > > > > > > > > > -- > > A better world shall emerge based on faith and understanding - = Douglas MacArthur >=20 >=20 >=20 >=20 > --=20 > A better world shall emerge based on faith and understanding - = Douglas MacArthur