From owner-freebsd-embedded@FreeBSD.ORG Mon Aug 26 23:31:41 2013 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 228C9433; Mon, 26 Aug 2013 23:31:41 +0000 (UTC) (envelope-from hiren.panchasara@gmail.com) Received: from mail-ee0-x236.google.com (mail-ee0-x236.google.com [IPv6:2a00:1450:4013:c00::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 473F5290C; Mon, 26 Aug 2013 23:31:40 +0000 (UTC) Received: by mail-ee0-f54.google.com with SMTP id e53so1926267eek.13 for ; Mon, 26 Aug 2013 16:31:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=p3FftNiEH1hQG86Ky65eJyu8E/CPoX7NMK2EHivtfFE=; b=ASueoCFvXpzs8fRwDDtqhIa5Uofis/q7htucNY4qOOXlJcLUNuYx9CAFwapkseSDoS PtZKd/o7dn4I3PEnTW5b4LETzGt9oRlj1MX3mH19l2vd6B6bLbO/eZan/EvBV3nvjkMg dFnbJx2VORdPQf33WmjnfIyMK0U9On3Wlu7iTAwjWCl4mHcQv8E0VwThHTMzfa6ZocKv nfGQqVTXB/NjYYitQbv1xf0WgG0zkfWH+pTE3MtY1GlZ+ImJgcFzv9QSwWRETuW6lgB0 ed7qQQXmTlehz9aOl0+KFPP2kJ+ISh0+aGP82X+kzUqpYFcMwHIlxv2yT0inytapDypt HHWw== MIME-Version: 1.0 X-Received: by 10.14.223.1 with SMTP id u1mr29518978eep.10.1377559898558; Mon, 26 Aug 2013 16:31:38 -0700 (PDT) Received: by 10.14.105.137 with HTTP; Mon, 26 Aug 2013 16:31:38 -0700 (PDT) In-Reply-To: <20130826230843.GH29777@funkthat.com> References: <20130826225420.GF29777@funkthat.com> <20130826230843.GH29777@funkthat.com> Date: Mon, 26 Aug 2013 16:31:38 -0700 Message-ID: Subject: Re: Making Picostation m2HP work From: hiren panchasara To: hiren panchasara , Adrian Chadd , freebsd-embedded , ray@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Aug 2013 23:31:41 -0000 On Mon, Aug 26, 2013 at 4:08 PM, John-Mark Gurney wrote: > hiren panchasara wrote this message on Mon, Aug 26, 2013 at 15:59 -0700: > > On Mon, Aug 26, 2013 at 3:54 PM, John-Mark Gurney > wrote: > > > > > hiren panchasara wrote this message on Mon, Aug 26, 2013 at 15:04 > -0700: > > > > and using that lzma for compression, I finally was able to boot: > > > > > > > > > > > > > > > > > U-Boot 1.1.4.2-s594 (Dec 5 2012 - 15:23:07) > > > > > > > > Board: Ubiquiti Networks XM board (rev 1.0 e302) > > > > DRAM: 32 MB > > > > Flash: 8 MB > > > > PCIe WLAN Module found (#1). > > > > Net: eth0, eth1 > > > > > > [...] > > > > > > > Timecounters tick every 1.000 msec > > > > Trying to mount root from ufs:/dev/map/rootfs.uncompress []... > > > > mountroot: waiting for device /dev/map/rootfs.uncompress ... > > > > Mounting from ufs:/dev/map/rootfs.uncompress failed with error 19. > > > > > > > > Loader variables: > > > > > > > > Manual root filesystem specification: > > > > : [options] > > > > Mount using filesystem > > > > and with the specified (optional) option list. > > > > > > > > eg. ufs:/dev/da0s1a > > > > zfs:tank > > > > cd9660:/dev/acd0 ro > > > > (which is equivalent to: mount -t cd9660 -o ro /dev/acd0 /) > > > > > > > > ? List valid disk boot devices > > > > . Yield 1 second (for background tasks) > > > > Abort manual input > > > > > > > > mountroot> > > > > > > > > > > > > Now, will look into why "Mounting from > ufs:/dev/map/rootfs.uncompress > > > > failed with error 19." > > > > > > What does the list of valid disk boot deviecs lists? 19 is ENODEV, so > > > probably /dev/map/rootfs.uncompress doesn't exist for some reason... > > > > > > > yeah, it seems so. > > > > mountroot> ? > > > > List of GEOM managed disk devices: > > map/ART map/uImage map/rootfs map/u-boot-env map/u-boot flash/spi0 > > > > mountroot> ufs:/dev/map/rootfs > > Trying to mount root from ufs:/dev/map/rootfs []... > > Mounting from ufs:/dev/map/rootfs failed with error 22. > > > > mountroot> ufs:/dev/map/rootfs.uncompress > > Trying to mount root from ufs:/dev/map/rootfs.uncompress []... > > mountroot: waiting for device /dev/map/rootfs.uncompress ... > > Mounting from ufs:/dev/map/rootfs.uncompress failed with error 19. > > Well, at least the core block device is there... which means figuring > out why uncompress isn't detecting that it should attach... Make sure > that GEOM_UNCOMPRESS is still in your kernel config file (you have a > g_uncompress.o in your kernel build directory), and maybe > #define'ing GEOM_UNCOMPRESS_DEBUG in geom/uncompress/g_uncompress.c > to get some debugging output... > GEOM_UNCOMPRESS is there in kernconf and I also see g_uncompress.o I will try and add debugging. Thanks! Hiren