From owner-freebsd-embedded@FreeBSD.ORG Mon Oct 30 11:08:16 2006 Return-Path: X-Original-To: freebsd-embedded@FreeBSD.org Delivered-To: freebsd-embedded@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2C92D16A53F for ; Mon, 30 Oct 2006 11:08:16 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A01D43D6D for ; Mon, 30 Oct 2006 11:08:15 +0000 (GMT) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k9UB8FQX085814 for ; Mon, 30 Oct 2006 11:08:15 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k9UB8EaO085810 for freebsd-embedded@FreeBSD.org; Mon, 30 Oct 2006 11:08:14 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 30 Oct 2006 11:08:14 GMT Message-Id: <200610301108.k9UB8EaO085810@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: linimon set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-embedded@FreeBSD.org Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Oct 2006 11:08:16 -0000 Current FreeBSD problem reports Critical problems Serious problems Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o misc/15876 embedded [picobsd] PicoBSD message of the day problems o misc/28255 embedded [picobsd] picobsd documentation still references old . o kern/42728 embedded [picobsd] many problems in src/usr.sbin/ppp/* after c o misc/52255 embedded [picobsd] picobsd build script fails under FreeBSD 5.0 o misc/52256 embedded [picobsd] picobsd build script does not read in user/s o kern/101228 embedded [nanobsd] [patch] Two more entries for FlashDevice.sub 6 problems total. From owner-freebsd-embedded@FreeBSD.ORG Wed Nov 1 21:45:48 2006 Return-Path: X-Original-To: freebsd-embedded@freebsd.org Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A8FDA16A407 for ; Wed, 1 Nov 2006 21:45:48 +0000 (UTC) (envelope-from ask@develooper.com) Received: from x8.develooper.com (x8.develooper.com [216.52.237.208]) by mx1.FreeBSD.org (Postfix) with ESMTP id 277CC43D46 for ; Wed, 1 Nov 2006 21:45:48 +0000 (GMT) (envelope-from ask@develooper.com) Received: (qmail 15339 invoked from network); 1 Nov 2006 21:45:47 -0000 Received: from gw.develooper.com (HELO ?10.0.201.111?) (ask@cleverpeople.org@64.81.84.140) by smtp.develooper.com with (AES128-SHA encrypted) SMTP; 1 Nov 2006 21:45:47 -0000 Mime-Version: 1.0 (Apple Message framework v752.2) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: freebsd-embedded@freebsd.org, freebsd-stable@freebsd.org From: =?ISO-8859-1?Q?Ask_Bj=F8rn_Hansen?= Date: Wed, 1 Nov 2006 13:45:45 -0800 X-Mailer: Apple Mail (2.752.2) Cc: Subject: bootmgr on pc engines wrap board X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Nov 2006 21:45:48 -0000 Hi, bootmgr hangs on the PC Engines WRAP board. It's been brought up before on the small@ list (IIRC), but with no solution. It hangs just after "1 FreeBSD 2 FreeBSD" I have a stack of the WRAP boards I was going to use for the NTP Pool, but I really want to use a nanobsd style install which needs bootmgr - so I'm stuck. Can anyone help? - ask -- http://www.askbjoernhansen.com/ From owner-freebsd-embedded@FreeBSD.ORG Wed Nov 1 23:35:09 2006 Return-Path: X-Original-To: freebsd-embedded@freebsd.org Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DDF8616A492; Wed, 1 Nov 2006 23:35:09 +0000 (UTC) (envelope-from thompsa@freebsd.org) Received: from heff.fud.org.nz (203-109-251-39.static.bliink.ihug.co.nz [203.109.251.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6935B43D45; Wed, 1 Nov 2006 23:35:09 +0000 (GMT) (envelope-from thompsa@freebsd.org) Received: by heff.fud.org.nz (Postfix, from userid 1001) id 017971CC29; Thu, 2 Nov 2006 11:00:10 +1300 (NZDT) Date: Thu, 2 Nov 2006 11:00:10 +1300 From: Andrew Thompson To: Ask Bj?rn Hansen Message-ID: <20061101220010.GB15641@heff.fud.org.nz> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.11 Cc: freebsd-stable@freebsd.org, freebsd-embedded@freebsd.org Subject: Re: bootmgr on pc engines wrap board X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Nov 2006 23:35:10 -0000 On Wed, Nov 01, 2006 at 01:45:45PM -0800, Ask Bj?rn Hansen wrote: > Hi, > > bootmgr hangs on the PC Engines WRAP board. > > It's been brought up before on the small@ list (IIRC), but with no > solution. > > It hangs just after > > "1 FreeBSD > 2 FreeBSD" > Have you set the bootloader to use serial? Set -h in /boot.config Andrew From owner-freebsd-embedded@FreeBSD.ORG Wed Nov 1 23:46:02 2006 Return-Path: X-Original-To: freebsd-embedded@freebsd.org Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 91F1516A4D0 for ; Wed, 1 Nov 2006 23:46:02 +0000 (UTC) (envelope-from ask@develooper.com) Received: from x8.develooper.com (x8.develooper.com [216.52.237.208]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D2CD43D5C for ; Wed, 1 Nov 2006 23:46:01 +0000 (GMT) (envelope-from ask@develooper.com) Received: (qmail 17972 invoked from network); 1 Nov 2006 23:46:01 -0000 Received: from gw.develooper.com (HELO ?10.0.201.111?) (ask@cleverpeople.org@64.81.84.140) by smtp.develooper.com with (AES128-SHA encrypted) SMTP; 1 Nov 2006 23:46:01 -0000 In-Reply-To: <20061101220010.GB15641@heff.fud.org.nz> References: <20061101220010.GB15641@heff.fud.org.nz> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: =?ISO-8859-1?Q?Ask_Bj=F8rn_Hansen?= Date: Wed, 1 Nov 2006 15:45:56 -0800 To: Andrew Thompson X-Mailer: Apple Mail (2.752.2) Cc: freebsd-stable@freebsd.org, freebsd-embedded@freebsd.org Subject: Re: bootmgr on pc engines wrap board X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Nov 2006 23:46:02 -0000 On Nov 1, 2006, at 2:00 PM, Andrew Thompson wrote: > Have you set the bootloader to use serial? Set -h in /boot.config Yes. (the nanobsd build process does that by default, echo " -h" > ${NANO_WORLDDIR}/boot.config ) - ask -- http://www.askbjoernhansen.com/ From owner-freebsd-embedded@FreeBSD.ORG Wed Nov 1 23:48:22 2006 Return-Path: X-Original-To: freebsd-embedded@freebsd.org Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5CB0016A40F; Wed, 1 Nov 2006 23:48:22 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id E76A943D4C; Wed, 1 Nov 2006 23:48:21 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id kA1NkZCp028614; Wed, 1 Nov 2006 16:46:35 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Wed, 01 Nov 2006 16:47:02 -0700 (MST) Message-Id: <20061101.164702.-116096085.imp@bsdimp.com> To: thompsa@freebsd.org From: "M. Warner Losh" In-Reply-To: <20061101220010.GB15641@heff.fud.org.nz> References: <20061101220010.GB15641@heff.fud.org.nz> X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Wed, 01 Nov 2006 16:46:36 -0700 (MST) Cc: freebsd-stable@freebsd.org, freebsd-embedded@freebsd.org Subject: Re: bootmgr on pc engines wrap board X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Nov 2006 23:48:22 -0000 In message: <20061101220010.GB15641@heff.fud.org.nz> Andrew Thompson writes: : On Wed, Nov 01, 2006 at 01:45:45PM -0800, Ask Bj?rn Hansen wrote: : > Hi, : > : > bootmgr hangs on the PC Engines WRAP board. : > : > It's been brought up before on the small@ list (IIRC), but with no : > solution. : > : > It hangs just after : > : > "1 FreeBSD : > 2 FreeBSD" : > : : Have you set the bootloader to use serial? Set -h in /boot.config I think he has, since there's no 'F' before 1 or 2 above. I'm guessing the problem is that the geometry in the flash's mbr doesn't match what the BIOS think, and chaos rules from there. I'm guessing the solution is to enable packet mode with boot0cfg: boot0cfg -o packet /dev/blah Warner From owner-freebsd-embedded@FreeBSD.ORG Wed Nov 1 23:48:32 2006 Return-Path: X-Original-To: freebsd-embedded@freebsd.org Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7385E16A494 for ; Wed, 1 Nov 2006 23:48:32 +0000 (UTC) (envelope-from dcornejo@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1763143D55 for ; Wed, 1 Nov 2006 23:48:30 +0000 (GMT) (envelope-from dcornejo@gmail.com) Received: by ug-out-1314.google.com with SMTP id m2so1606088uge for ; Wed, 01 Nov 2006 15:48:29 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=SSqt35+63ZfQftB7toPczzZ5gBvhF303vjOHKG3n+0p+Ic65mTFL0xT0qaxX0PdMRp+OnLtREZFSaC0EQWWEspNzMoNwZb0RhKz4hQHWpA6AaYj3fcDS/QeY2nYIgHZ7bfT4gDdFSa25BZ51dxJzcKD6Nvxr4W/zbemCurj2d8Y= Received: by 10.78.168.6 with SMTP id q6mr698276hue; Wed, 01 Nov 2006 15:48:29 -0800 (PST) Received: by 10.78.206.12 with HTTP; Wed, 1 Nov 2006 15:48:28 -0800 (PST) Message-ID: <6b8e8f4f0611011548r3b015849g6c851df99ede4242@mail.gmail.com> Date: Wed, 1 Nov 2006 13:48:28 -1000 From: spoggle To: "=?ISO-8859-1?Q?Ask_Bj=F8rn_Hansen?=" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: Cc: freebsd-stable@freebsd.org, freebsd-embedded@freebsd.org Subject: Re: bootmgr on pc engines wrap board X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Nov 2006 23:48:32 -0000 NanoBSD write the boot block to use the disk packet (BIOS INT 0x13) interface. This doesn't work on any of the WRAP or Soekris (45xx or 48xx) boards I've got. >From memory: look for the boot0cfg line at around line 367 of the nanobsd.sh script and delete "-o packet" from it. You can prove it by running boot0cfg with the "-o nopacket" option on the CF card. dave c On 11/1/06, Ask Bj=F8rn Hansen wrote: > Hi, > > bootmgr hangs on the PC Engines WRAP board. > > It's been brought up before on the small@ list (IIRC), but with no > solution. > > It hangs just after > > "1 FreeBSD > 2 FreeBSD" > > I have a stack of the WRAP boards I was going to use for the NTP > Pool, but I really want to use a nanobsd style install which needs > bootmgr - so I'm stuck. Can anyone help? > > > - ask > > -- > http://www.askbjoernhansen.com/ > > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > From owner-freebsd-embedded@FreeBSD.ORG Thu Nov 2 14:05:36 2006 Return-Path: X-Original-To: freebsd-embedded@freebsd.org Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0A61016A50D for ; Thu, 2 Nov 2006 14:05:36 +0000 (UTC) (envelope-from lab@gta.com) Received: from gta.com (gta-edge-199-20.gta.com [199.120.225.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 6EC3843D90 for ; Thu, 2 Nov 2006 14:05:21 +0000 (GMT) (envelope-from lab@gta.com) Received: (qmail 66242 invoked by uid 1000); 2 Nov 2006 14:05:20 -0000 Date: 2 Nov 2006 14:05:20 -0000 Message-ID: <20061102140520.66241.qmail@gta.com> From: Larry Baird To: freebsd-embedded@freebsd.org In-Reply-To: User-Agent: tin/1.5.9-20010723 ("Chord of Souls") (UNIX) (FreeBSD/4.10-RELEASE (i386)) Cc: Subject: Re: bootmgr on pc engines wrap board X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Nov 2006 14:05:36 -0000 In article you wrote: > Hi, > > bootmgr hangs on the PC Engines WRAP board. > > It's been brought up before on the small@ list (IIRC), but with no > solution. > > It hangs just after > > "1 FreeBSD > 2 FreeBSD" > > I have a stack of the WRAP boards I was going to use for the NTP > Pool, but I really want to use a nanobsd style install which needs > bootmgr - so I'm stuck. Can anyone help? You might be running into a problem I was recently fighting with. I had a number of WRAP boards running fine using software based upon freeBSD 4.x. When trying to upgrad3 to software based upon 6.x that kept stopping in boot2. My results are different then yours in that I would see "Read error" from boot1. I initially tried setting BOOT_BOOT1_FLAGS to 0. If I remember correctly, this yielded identical results to what you are seeing. I then as a quick hack replaced the read routine in /sys/boot/i386/boot2/boot1.S with the read routine from 4.x. This allowed me to boot. Hopefully one day I'll get the time to fully analyze the 6.x read assembly to understand if there is a better fix. Patch is below. Index: boot1.S =================================================================== --- boot1.S (revision 8679) +++ boot1.S (working copy) @@ -268,25 +268,7 @@ * %dl - byte - drive number * stack - 10 bytes - EDD Packet */ -read: testb $FL_PACKET,%cs:MEM_REL+flags-start # LBA support enabled? - jz read.1 # No, use CHS - cmpb $0x80,%dl # Hard drive? - jb read.1 # No, use CHS - mov $0x55aa,%bx # Magic - push %dx # Save - movb $0x41,%ah # BIOS: Check - int $0x13 # extensions present - pop %dx # Restore - jc read.1 # If error, use CHS - cmp $0xaa55,%bx # Magic? - jne read.1 # No, so use CHS - testb $0x1,%cl # Packet interface? - jz read.1 # No, so use CHS - mov %bp,%si # Disk packet - movb $0x42,%ah # BIOS: Extended - int $0x13 # read - retw # To caller -read.1: push %dx # Save +read: push %dx # Save movb $0x8,%ah # BIOS: Get drive int $0x13 # parameters movb %dh,%ch # Max head number @@ -309,7 +291,7 @@ pop %dx # Restore cmpl $0x3ff,%eax # Cylinder number supportable? sti # Enable interrupts - ja ereturn # No, return an error + ja read.7 # No, try EDD xchgb %al,%ah # Set up cylinder rorb $0x2,%al # number orb %ch,%al # Merge @@ -320,11 +302,7 @@ mov 0x2(%bp),%ah # Blocks to read cmpb %ah,%al # To read jb read.2 # this -#ifdef TRACK_AT_A_TIME movb %ah,%al # track -#else - movb $1,%al # one sector -#endif read.2: mov $0x5,%di # Try count read.3: les 0x4(%bp),%bx # Transfer buffer push %ax # Save @@ -345,8 +323,24 @@ read.5: shlb %bl # buffer add %bl,0x5(%bp) # pointer, sub %al,0x2(%bp) # block count - ja read.1 # If not done + ja read # If not done read.6: retw # To caller +read.7: testb $FL_PACKET,%cs:MEM_REL+flags-start # LBA support enabled? + jz ereturn # No, so return an error + mov $0x55aa,%bx # Magic + push %dx # Save + movb $0x41,%ah # BIOS: Check + int $0x13 # extensions present + pop %dx # Restore + jc return # If error, return an error + cmp $0xaa55,%bx # Magic? + jne ereturn # No, so return an error + testb $0x1,%cl # Packet interface? + jz ereturn # No, so return an error + mov %bp,%si # Disk packet + movb $0x42,%ah # BIOS: Extended + int $0x13 # read + retw # To caller /* Messages */ -- ------------------------------------------------------------------------ Larry Baird | http://www.gta.com Global Technology Associates, Inc. | Orlando, FL Email: lab@gta.com | TEL 407-380-0220, FAX 407-380-6080 From owner-freebsd-embedded@FreeBSD.ORG Thu Nov 2 14:13:31 2006 Return-Path: X-Original-To: freebsd-embedded@freebsd.org Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 73D3416A492 for ; Thu, 2 Nov 2006 14:13:31 +0000 (UTC) (envelope-from ask@develooper.com) Received: from x8.develooper.com (x8.develooper.com [216.52.237.208]) by mx1.FreeBSD.org (Postfix) with ESMTP id A750143D69 for ; Thu, 2 Nov 2006 14:13:30 +0000 (GMT) (envelope-from ask@develooper.com) Received: (qmail 29749 invoked from network); 2 Nov 2006 14:13:30 -0000 Received: from gw.develooper.com (HELO ?10.0.201.111?) (ask@cleverpeople.org@64.81.84.140) by smtp.develooper.com with (AES128-SHA encrypted) SMTP; 2 Nov 2006 14:13:30 -0000 In-Reply-To: <6b8e8f4f0611011548r3b015849g6c851df99ede4242@mail.gmail.com> References: <6b8e8f4f0611011548r3b015849g6c851df99ede4242@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <3CC9D77E-FDD4-4837-AF4E-C44AAF243C98@develooper.com> Content-Transfer-Encoding: 7bit From: =?ISO-8859-1?Q?Ask_Bj=F8rn_Hansen?= Date: Thu, 2 Nov 2006 06:13:25 -0800 To: spoggle X-Mailer: Apple Mail (2.752.2) Cc: freebsd-stable@freebsd.org, freebsd-embedded@freebsd.org Subject: Re: bootmgr on pc engines wrap board X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Nov 2006 14:13:31 -0000 On Nov 1, 2006, at 3:48 PM, spoggle wrote: > You can prove it by running boot0cfg with the "-o nopacket" option on > the CF card. Whee - that worked, thank you! - ask -- http://askask.com/ - http://develooper.com/