From owner-freebsd-embedded@FreeBSD.ORG Mon Aug 26 23:08:44 2013 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 1CC60D2C; Mon, 26 Aug 2013 23:08:44 +0000 (UTC) (envelope-from jmg@h2.funkthat.com) Received: from h2.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DF62C2791; Mon, 26 Aug 2013 23:08:43 +0000 (UTC) Received: from h2.funkthat.com (localhost [127.0.0.1]) by h2.funkthat.com (8.14.3/8.14.3) with ESMTP id r7QN8hFO072563 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 26 Aug 2013 16:08:43 -0700 (PDT) (envelope-from jmg@h2.funkthat.com) Received: (from jmg@localhost) by h2.funkthat.com (8.14.3/8.14.3/Submit) id r7QN8hRi072562; Mon, 26 Aug 2013 16:08:43 -0700 (PDT) (envelope-from jmg) Date: Mon, 26 Aug 2013 16:08:43 -0700 From: John-Mark Gurney To: hiren panchasara Subject: Re: Making Picostation m2HP work Message-ID: <20130826230843.GH29777@funkthat.com> Mail-Followup-To: hiren panchasara , Adrian Chadd , freebsd-embedded , ray@freebsd.org References: <20130826225420.GF29777@funkthat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.2-RELEASE i386 X-PGP-Fingerprint: 54BA 873B 6515 3F10 9E88 9322 9CB1 8F74 6D3F A396 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (h2.funkthat.com [127.0.0.1]); Mon, 26 Aug 2013 16:08:43 -0700 (PDT) Cc: freebsd-embedded , ray@freebsd.org 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:08:44 -0000 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... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."