From owner-freebsd-embedded@FreeBSD.ORG Wed Nov 7 10:34:25 2012 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1485737C for ; Wed, 7 Nov 2012 10:34:25 +0000 (UTC) (envelope-from jack.mclauren@yahoo.com) Received: from nm25.bullet.mail.ne1.yahoo.com (nm25.bullet.mail.ne1.yahoo.com [98.138.90.88]) by mx1.freebsd.org (Postfix) with ESMTP id BFC0D8FC0A for ; Wed, 7 Nov 2012 10:34:23 +0000 (UTC) Received: from [98.138.90.48] by nm25.bullet.mail.ne1.yahoo.com with NNFMP; 07 Nov 2012 10:32:40 -0000 Received: from [98.138.89.170] by tm1.bullet.mail.ne1.yahoo.com with NNFMP; 07 Nov 2012 10:32:40 -0000 Received: from [127.0.0.1] by omp1026.mail.ne1.yahoo.com with NNFMP; 07 Nov 2012 10:32:40 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 223644.77423.bm@omp1026.mail.ne1.yahoo.com Received: (qmail 77268 invoked by uid 60001); 7 Nov 2012 10:32:40 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1352284360; bh=D325389dz3FQh6Wearh94xLTyBFx5IIh5X/0XsQuz20=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=eNFekhHCuDRYmY5xO4jMXEAu8CHdhxJwbrJy3H/Ka3jipWPRoIuHfdPEF+5BzYiXisTODQKpUzu17oDrCvpaDxQlu3SiSWqO6i1W/d628Tuar+K9RovnaxBLeW6NK7FvNl6DTrRhbibU/kM27xsTyceoHTBxJT1vdrfeqQCVfo8= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=pwpu5trPaVrHilG/hUkEM7igFdhw2VO0/PnAUmTcthmPg38Hnd8Zl2nnj/dSLDSE19akv1p494srHH5pk8Jnqoj7iNELXZQHPv8dEcifGMeepVf++lAvuUTd/jXB3o7lfPYwkSPgzn71AarnrkhmBfw68HF1cT6p+Cdb5dFnPl4=; X-YMail-OSG: fVUIcK0VM1nJcaymYA5PiPGJKdiBkkIWkc1VHRjnBrbSwAP f5gxnSlZtb2lktRSK.Xfno42gnlqV6Rue2xoP6nBUEnrC3vYGjrrmnQZrbsL ubi6BBPMtyvf9ifo3A3mbvWQBbc4Gk3HdV8C0hbIp9ZwIIBmkp7ytKbfbeWq N1eAa2qYvnqKpGED7gwg8utRs.p8832DXwwU7WRZaumCM_ClA60vMBCEQdIS coTDIGVU5ZYCfzVXB8lJ2wAOc_LlQa0_RGnENkxMQGzlYG_TLtI0RswEN64h HoyoLKcX6e4.lkAZ_j2TeEdkP0IuBDw48nZsq_.jhBuVGOc4lQmZa8XVfojJ vnpUUPKwokXF8jdaeKcOSiO9fqtFwa1EYn1MSFmMRhbi3t1dfoIHP3wFFv4z MV2c9LFzPh5l8a6zDSD8NbOUpjWWs9XGhP8IJ0qUI5AY_uLVk67r1_hfABUo 48G3z0IVYSZa8KEMl2S9D55z3fY_7fHDAvCn04V7g.NgG.tzx.opyi858bnW FO6pVotg- Received: from [89.165.120.140] by web126003.mail.ne1.yahoo.com via HTTP; Wed, 07 Nov 2012 02:32:40 PST X-Rocket-MIMEInfo: 001.001, SGVsbG8gZnJpZW5kcwpUaGFua3MgZm9yIGhlbHBpbmcgbWUgYnVpbGRpbmcgYSBuYW5vYnNkIGltYWdlLiBJIGRpZCBidWlsZAphbiBpbWFnZSB3aXRoIG5vIHByb2JsZW1zICggc3BlY2lhbCB0aGFua3MgdG_CoFBhdWwgU2NoZW5rZXZlbGTCoMKgKS4KQnV0IEkgaGF2ZSBzb21lIHByb2JsZW1zIGluIHRoZSBzZWNvbmQgcGhhc2Ugb2YgcnVubmluZyBhCmRldmljZSBmcm9tIGEgbmFub2JzZCBpbWFnZS4gCkFmdGVyIGNvcHlpbmcgdGhlIGltYWdlIG9uIGEgZmxhc2ggbWVtb3J5LCBhbmQgYWZ0ZXIgSSBzZXQBMAEBAQE- X-Mailer: YahooMailWebService/0.8.123.460 References: <1351605941.79450.YahooMailNeo@web126002.mail.ne1.yahoo.com> <20121030145024.GA16785@psconsult.nl> Message-ID: <1352284360.76432.YahooMailNeo@web126003.mail.ne1.yahoo.com> Date: Wed, 7 Nov 2012 02:32:40 -0800 (PST) From: Jack Mc Lauren Subject: nanobsd boot problem To: Paul Schenkeveld , "freebsd-embedded@freebsd.org" In-Reply-To: <20121030145024.GA16785@psconsult.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Jack Mc Lauren List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Nov 2012 10:34:25 -0000 Hello friends=0AThanks for helping me building a nanobsd image. I did build= =0Aan image with no problems ( special thanks to=A0Paul Schenkeveld=A0=A0).= =0ABut I have some problems in the second phase of running a=0Adevice from = a nanobsd image. =0AAfter copying the image on a flash memory, and after I = set=0Athe system to boot up from flash memory, I just see a black screen an= d a=0Ablinking cursor ! looks like the boot device ( flash memory ) is not = recognized=0Aby the system.=0AHere are my debugging information , if they a= re not enough,=0Atell me please to send you necessary informations :=0Admes= g output :=0Ada0 at umass-sim0 bus 0 scbus0=0Atarget 0 lun 0=0Ada0: Removable Direct Access SCSI-4 device=0Ada0: 40.0= 00MB/s transfers=0Ada0: 7388MB (15130624 512 byte=0Asectors: 255H 63S/T 941= C) =A0=A0=0Aaccording to the last line, I change the NANO_SECTS to 63=0Aand= NANO_HEADS to 255. (in nanobsd.sh).=0Als /dev output :=0A=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0 da0s1=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 da0s1a=A0=A0=A0=A0 ad6s= 1b=A0=A0=A0=A0=A0=A0=A0=A0=A0 da0s3=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 ad6s1d=A0= =A0=A0=A0=A0=A0=A0=A0=A0 da0s4=0Aaccording to the first column , I set NANO= _DRIVE to da0. (in=0Ananobsd.sh)=0Aand here are the contents of the flash m= emory :=0A=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 ls /mnt=0A.cshrc=A0= =A0=A0=A0=A0=A0=A0=A0=A0 boot=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 lib=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0 rescue=A0=A0=A0=A0=A0=A0=A0=A0=A0 usr=0A.profil= e=A0=A0=A0=A0=A0=A0=A0 cfg=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 libexec=A0= =A0=A0=A0=A0=A0=A0=A0 root=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 var=0A.snap=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0 conf=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 media=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0 sbin=0ACOPYRIGHT=A0=A0 =A0=A0=A0=A0dev=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0 mnt=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 sys=0Ab= in=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 etc=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0 proc=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 tmp=0AAm I missing something ?? c= ould you please me please ? From owner-freebsd-embedded@FreeBSD.ORG Wed Nov 7 12:02:12 2012 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E09C8967 for ; Wed, 7 Nov 2012 12:02:12 +0000 (UTC) (envelope-from freebsd@psconsult.nl) Received: from mx1.psconsult.nl (unknown [IPv6:2001:7b8:30f:e0::5059:ee8a]) by mx1.freebsd.org (Postfix) with ESMTP id 8B0928FC0A for ; Wed, 7 Nov 2012 12:02:12 +0000 (UTC) Received: from mx1.psconsult.nl (mx1.hvnu.psconsult.nl [46.44.189.154]) by mx1.psconsult.nl (8.14.5/8.14.4) with ESMTP id qA7C24hX057066 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 7 Nov 2012 13:02:10 +0100 (CET) (envelope-from freebsd@psconsult.nl) Received: (from paul@localhost) by mx1.psconsult.nl (8.14.5/8.14.4/Submit) id qA7C24T5057065 for freebsd-embedded@freebsd.org; Wed, 7 Nov 2012 13:02:04 +0100 (CET) (envelope-from freebsd@psconsult.nl) X-Authentication-Warning: mx1.psconsult.nl: paul set sender to freebsd@psconsult.nl using -f Date: Wed, 7 Nov 2012 13:02:04 +0100 From: Paul Schenkeveld To: freebsd-embedded@freebsd.org Subject: Re: nanobsd boot problem Message-ID: <20121107120204.GA51120@psconsult.nl> References: <1351605941.79450.YahooMailNeo@web126002.mail.ne1.yahoo.com> <20121030145024.GA16785@psconsult.nl> <1352284360.76432.YahooMailNeo@web126003.mail.ne1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1352284360.76432.YahooMailNeo@web126003.mail.ne1.yahoo.com> User-Agent: Mutt/1.5.21 (2010-09-15) 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: Wed, 07 Nov 2012 12:02:12 -0000 Hi, On Wed, Nov 07, 2012 at 02:32:40AM -0800, Jack Mc Lauren wrote: > Hello friends > Thanks for helping me building a nanobsd image. I did build > an image with no problems ( special thanks to Paul Schenkeveld  ). > But I have some problems in the second phase of running a > device from a nanobsd image. > After copying the image on a flash memory, and after I set > the system to boot up from flash memory, I just see a black screen and a > blinking cursor ! looks like the boot device ( flash memory ) is not recognized > by the system. Sounds like you've built a nanobsd image for serial console and try to run it on a system with [vga] console. Pls. confirm whether you have a vga console and PS/2 (or USB) keyboard or serial console. Pls. post the .conf file you used to build NanoBSD. > Here are my debugging information , if they are not enough, > tell me please to send you necessary informations : > dmesg output : > da0 at umass-sim0 bus 0 scbus0 > target 0 lun 0 > da0: PMAP> Removable Direct Access SCSI-4 device > da0: 40.000MB/s transfers > da0: 7388MB (15130624 512 byte > sectors: 255H 63S/T 941C)    > according to the last line, I change the NANO_SECTS to 63 > and NANO_HEADS to 255. (in nanobsd.sh). Never change variables inside nanobsd.sh, create a config file instead and the run "sh nanobsd.sh -c configfile.conf" > ls /dev output : >            da0s1           da0s1a     ad6s1b          da0s3           ad6s1d          da0s4 > according to the first column , I set NANO_DRIVE to da0. (in > nanobsd.sh) > and here are the contents of the flash memory : >                 ls /mnt > .cshrc          boot            lib             rescue          usr > .profile        cfg             libexec         root            var > .snap           conf            media           sbin > COPYRIGHT       dev             mnt             sys > bin             etc             proc            tmp > Am I missing something ?? could you please me please ? Kind regards, Paul Schenkeveld