Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Nov 2012 02:32:40 -0800 (PST)
From:      Jack Mc Lauren <jack.mclauren@yahoo.com>
To:        Paul Schenkeveld <freebsd@psconsult.nl>, "freebsd-embedded@freebsd.org" <freebsd-embedded@freebsd.org>
Subject:   nanobsd boot problem 
Message-ID:  <1352284360.76432.YahooMailNeo@web126003.mail.ne1.yahoo.com>
In-Reply-To: <20121030145024.GA16785@psconsult.nl>
References:  <1351605941.79450.YahooMailNeo@web126002.mail.ne1.yahoo.com> <20121030145024.GA16785@psconsult.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <UFD 2.=
0 Silicon-Power8G=0APMAP> 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: <owner-freebsd-embedded@FreeBSD.ORG>
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 <freebsd-embedded@freebsd.org>; 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 <freebsd-embedded@freebsd.org>; 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 <freebsd-embedded@freebsd.org>; 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 <freebsd@psconsult.nl>
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 <freebsd-embedded.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-embedded>, 
 <mailto:freebsd-embedded-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-embedded>;
List-Post: <mailto:freebsd-embedded@freebsd.org>
List-Help: <mailto:freebsd-embedded-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-embedded>, 
 <mailto:freebsd-embedded-request@freebsd.org?subject=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: <UFD 2.0 Silicon-Power8G
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1352284360.76432.YahooMailNeo>