From owner-freebsd-embedded@FreeBSD.ORG Sun Dec 9 03:17:03 2007 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0D34316A418 for ; Sun, 9 Dec 2007 03:17:03 +0000 (UTC) (envelope-from portcitycs@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.178]) by mx1.freebsd.org (Postfix) with ESMTP id D4B2113C442 for ; Sun, 9 Dec 2007 03:17:02 +0000 (UTC) (envelope-from portcitycs@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so2536749waf for ; Sat, 08 Dec 2007 19:17:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=mY2Jbl/JsSklZXAOc12A+n+boY3jzPapwXXPtMt2Hc0=; b=fJdGZJAuRay5EWsAHwGo/qDPJERu1PqLInwJtjGl+95zXz0/EXLd6QB0gDizl6ixMtx8Xd2kWuBpyHINybzSsgT6VtBBnKlrJcJWkjq2Ikqt2NJNzj9WVEGk1H5Mkkd+BEE3XVJKTLS8dquTWcU/RskiWFTX36jaK7xMvWYBltY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=TBgGLZAmNGTrVbWgKNuiXM4sjRwGfJaqQacjQ+sAs6GRPVXPR+51fl40fBsWEVDdMyjKMVulixWRqPWLyOJeF0T2+Os6gIQX15dduCY4GivzGh7b2+g9l6DqM8S9MugQwCYQ02rzDH0NfNG7FOiSlOCY5lm8sZKZNu+3HuTh9ZM= Received: by 10.142.158.17 with SMTP id g17mr2602120wfe.1197170222092; Sat, 08 Dec 2007 19:17:02 -0800 (PST) Received: by 10.142.201.4 with HTTP; Sat, 8 Dec 2007 19:17:02 -0800 (PST) Message-ID: <5a1835cd0712081917i17f55b5cy59b396cb1cd7f4da@mail.gmail.com> Date: Sat, 8 Dec 2007 22:17:02 -0500 From: "Lyle Scott III" To: freebsd-embedded@freebsd.org In-Reply-To: <5a1835cd0712072157p5c75c63bo81b2397dc4dadd13@mail.gmail.com> MIME-Version: 1.0 References: <5a1835cd0712072157p5c75c63bo81b2397dc4dadd13@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Can't boot NanoBSD on an Alix 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: Sun, 09 Dec 2007 03:17:03 -0000 ok, i just upgraded the BIOS and now it hands after choosing 1 for the bootloader: 640 KB Base Memory 261120 KB Extended Memory 01F0 Master 848A SanDisk SDCFB-512 Phys C/H/S 993/16/63 Log C/H/S 993/16/63 1 FreeBSD Default: 1 [FREEZE] On Dec 8, 2007 12:57 AM, Lyle Scott III wrote: > Hey, i just got my Alix3c2 board in. I decided to go with NanoBSD for > this board, so i put nanobsd on my 512 flash and froze right after post. > This image loades great on a Soekris board (4511 and 4526) ,... it gives me > 2 options in the bootloader, i select 1 and it loads the nanobsd subset > great. > > I go to the alix board, and it freezes right after post: > > ----------------------- > 3PC Engines ALIX.3 v0.98oot. Press Ctrl-P for entering Monitor. > 640 KB Base Memory > 261120 KB Extended Memory > > 01F0 Master 848A SanDisk SDCFB-512 > Phys C/H/S 993/16/63 Log C/H/S 993/16/63 > [where it dies] > ------------------------ > > Any suggestions? I've tried using a full generic kernel, the TinyBSD > wireless kernel, and a trimmed down kernel i use for most of my embedded > stuff. you can only do so much in the Alix bios.... i'm not sure where to > go with this. Any help would be much appreciated > > > -- > > Lyle Scott, III > http://www.portcitycs.com > portcitycs@gmail.com |#| 910-231-0906 -- Lyle Scott, III http://www.lylescott.ws From owner-freebsd-embedded@FreeBSD.ORG Sun Dec 9 03:50:01 2007 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A56DE16A418 for ; Sun, 9 Dec 2007 03:50:01 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 50F3413C468 for ; Sun, 9 Dec 2007 03:50:01 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.1/8.14.1) with ESMTP id lB93hEpf090338; Sat, 8 Dec 2007 20:43:14 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Sat, 08 Dec 2007 20:48:14 -0700 (MST) Message-Id: <20071208.204814.-593216336.imp@bsdimp.com> To: portcitycs@gmail.com From: "M. Warner Losh" In-Reply-To: <5a1835cd0712081917i17f55b5cy59b396cb1cd7f4da@mail.gmail.com> References: <5a1835cd0712072157p5c75c63bo81b2397dc4dadd13@mail.gmail.com> <5a1835cd0712081917i17f55b5cy59b396cb1cd7f4da@mail.gmail.com> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-embedded@freebsd.org Subject: Re: Can't boot NanoBSD on an Alix 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: Sun, 09 Dec 2007 03:50:01 -0000 In message: <5a1835cd0712081917i17f55b5cy59b396cb1cd7f4da@mail.gmail.com> "Lyle Scott III" writes: : ok, i just upgraded the BIOS and now it hands after choosing 1 for the : bootloader: : : 640 KB Base Memory : 261120 KB Extended Memory : : 01F0 Master 848A SanDisk SDCFB-512 : Phys C/H/S 993/16/63 Log C/H/S 993/16/63 : : 1 FreeBSD : : Default: 1 : [FREEZE] Try using the packet mode of boot0 Warner From owner-freebsd-embedded@FreeBSD.ORG Sun Dec 9 16:59:59 2007 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B3A116A417 for ; Sun, 9 Dec 2007 16:59:59 +0000 (UTC) (envelope-from portcitycs@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.183]) by mx1.freebsd.org (Postfix) with ESMTP id 610C713C43E for ; Sun, 9 Dec 2007 16:59:57 +0000 (UTC) (envelope-from portcitycs@gmail.com) Received: by py-out-1112.google.com with SMTP id u77so2992985pyb for ; Sun, 09 Dec 2007 08:59:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=WRMfIqnpjxqwwSGfuujNbwAwt3kHi2DwmB1iJXLLEeI=; b=iLVImkgGC12z/ITPcN+sGWRiCFC1yNQMja/MFtTEEL04D3vITgjBJ7osb4XoWjsg2qQ0tyMFuwqAFgzkpRmNI/Vvt+dlSINY9LM369ieNVLoIKjFL8cxS1wm9WdLddJJ5FGoWmKM6MBOeUjLojKtU2OQuSBgPegCnptastJkjRQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=BuNcb34otFybFd+iwM+7W6VCRn+V1SLquK8VGexJ/wlA6Siu2v6Kc/3T+HOJMKlbHPBAhqyU5/YMQeVDuJotiJRapzr4xTSq5hBBw4TimdslG1QST+O6+BqJeUweJ0A9U20WLrOK6NTN2BXaA1yIzVI2TOecujkQyTdv/wNPde4= Received: by 10.142.178.13 with SMTP id a13mr2659113wff.1197219591940; Sun, 09 Dec 2007 08:59:51 -0800 (PST) Received: by 10.142.201.4 with HTTP; Sun, 9 Dec 2007 08:59:51 -0800 (PST) Message-ID: <5a1835cd0712090859r94e8375yb254ae193ee6d9f7@mail.gmail.com> Date: Sun, 9 Dec 2007 11:59:51 -0500 From: "Lyle Scott III" To: freebsd-embedded@freebsd.org In-Reply-To: <20071208.204814.-593216336.imp@bsdimp.com> MIME-Version: 1.0 References: <5a1835cd0712072157p5c75c63bo81b2397dc4dadd13@mail.gmail.com> <5a1835cd0712081917i17f55b5cy59b396cb1cd7f4da@mail.gmail.com> <20071208.204814.-593216336.imp@bsdimp.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Can't boot NanoBSD on an Alix 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: Sun, 09 Dec 2007 16:59:59 -0000 and how might i do that on my flash card? I read a little about boot0cfg (man pages) and see the option -o packet .. is this what i need? how would i go about setting this in my flashcard that is mounted in another freebsd system? i read that packet mode == LBA mode BIOS setting? is this true? (http://lists.freebsd.org/pipermail/freebsd-current/2004-January/018907.html ) if so, LBA does not work either. The same result happens. i nudge in the right direction would be much appreciated :) On Dec 8, 2007 10:48 PM, M. Warner Losh wrote: > In message: <5a1835cd0712081917i17f55b5cy59b396cb1cd7f4da@mail.gmail.com> > "Lyle Scott III" writes: > : ok, i just upgraded the BIOS and now it hands after choosing 1 for the > : bootloader: > : > : 640 KB Base Memory > : 261120 KB Extended Memory > : > : 01F0 Master 848A SanDisk SDCFB-512 > : Phys C/H/S 993/16/63 Log C/H/S 993/16/63 > : > : 1 FreeBSD > : > : Default: 1 > : [FREEZE] > > Try using the packet mode of boot0 > > Warner > -- Lyle Scott, III http://www.lylescott.ws From owner-freebsd-embedded@FreeBSD.ORG Sun Dec 9 17:35:12 2007 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 834B616A419 for ; Sun, 9 Dec 2007 17:35:12 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 27B0413C4DB for ; Sun, 9 Dec 2007 17:35:12 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.1/8.14.1) with ESMTP id lB9HYRwk009304; Sun, 9 Dec 2007 10:34:28 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Sun, 09 Dec 2007 10:34:33 -0700 (MST) Message-Id: <20071209.103433.-432829159.imp@bsdimp.com> To: portcitycs@gmail.com From: "M. Warner Losh" In-Reply-To: <5a1835cd0712090859r94e8375yb254ae193ee6d9f7@mail.gmail.com> References: <5a1835cd0712081917i17f55b5cy59b396cb1cd7f4da@mail.gmail.com> <20071208.204814.-593216336.imp@bsdimp.com> <5a1835cd0712090859r94e8375yb254ae193ee6d9f7@mail.gmail.com> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-embedded@freebsd.org Subject: Re: Can't boot NanoBSD on an Alix 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: Sun, 09 Dec 2007 17:35:12 -0000 In message: <5a1835cd0712090859r94e8375yb254ae193ee6d9f7@mail.gmail.com> "Lyle Scott III" writes: : and how might i do that on my flash card? I read a little about boot0cfg : (man pages) and see the option -o packet .. is this what i need? Yes. : how would i go about setting this in my flashcard that is mounted in another : freebsd system? There's two supported ways. First, you can plug it into a PC Card <-> CF adapter and use that in a PC Card slot. Second, you can plug it into a USB flash reader. In the first case, you'll get a device that's adX, and in the latter you'll get one that's daX. boot0cfg -o packet /dev/adX or boot0cfg -o packet /dev/daX should then do the trick (where X is the actual device). : i read that packet mode == LBA mode BIOS setting? is this true? : (http://lists.freebsd.org/pipermail/freebsd-current/2004-January/018907.html : ) : if so, LBA does not work either. The same result happens. : : i nudge in the right direction would be much appreciated :) If LBA mode doesn't work, then you have to figure out what the exact geometry is for the device. You'll need to set this geometry on the flash by having the partition end exactly on a cylinder boundary so that the BIOS and FreeBSD will be in sync as to the geometry of the device. This may mean you'll need to recreate it after repartitioning. If you used a usb flash reader, you will almost certainly get the wrong geometry (I've never had one that got it right, due to the fictious geometry used by CAM or umass for the device, I think). Warner : On Dec 8, 2007 10:48 PM, M. Warner Losh wrote: : : > In message: <5a1835cd0712081917i17f55b5cy59b396cb1cd7f4da@mail.gmail.com> : > "Lyle Scott III" writes: : > : ok, i just upgraded the BIOS and now it hands after choosing 1 for the : > : bootloader: : > : : > : 640 KB Base Memory : > : 261120 KB Extended Memory : > : : > : 01F0 Master 848A SanDisk SDCFB-512 : > : Phys C/H/S 993/16/63 Log C/H/S 993/16/63 : > : : > : 1 FreeBSD : > : : > : Default: 1 : > : [FREEZE] : > : > Try using the packet mode of boot0 : > : > Warner : > : : : : -- : Lyle Scott, III : http://www.lylescott.ws : _______________________________________________ : freebsd-embedded@freebsd.org mailing list : http://lists.freebsd.org/mailman/listinfo/freebsd-embedded : To unsubscribe, send any mail to "freebsd-embedded-unsubscribe@freebsd.org" : : From owner-freebsd-embedded@FreeBSD.ORG Sun Dec 9 17:59:45 2007 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5192716A421 for ; Sun, 9 Dec 2007 17:59:45 +0000 (UTC) (envelope-from portcitycs@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.177]) by mx1.freebsd.org (Postfix) with ESMTP id EAE8F13C442 for ; Sun, 9 Dec 2007 17:59:42 +0000 (UTC) (envelope-from portcitycs@gmail.com) Received: by py-out-1112.google.com with SMTP id u77so3037372pyb for ; Sun, 09 Dec 2007 09:59:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=+Gr0q76OdZVtn6/bggjdixLcdl+mhPkHtZJjy6IdcC4=; b=U0anSNAIbv2qrilQMtLhQFXZOq7CH0fc1e4KmH+CJ8X/P9FoXPqHKtavRVAoziX4jEuMw47nrwzcUmVKvf851LMQIx+E5qjRQcJBpXIQCBn0pbtUBTKv5O1qwdAi4Zo1EVvU46q47C4RlMJpz17sv2fQ3lja8IG7W9z0yXCVJbo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=RePFUHBiRab1d415o39v135Qb9g8D6kNrUMhJoqIFkhUB0wnjLyIUKzjNFWrr4EG6jcD3LReBlqzLd6CAxqZOzjMjFwDXNVgOlBfSG6cjKt+W3/versOkiZxqilEh2QJOdq/3NtBzVwtrTnlh7EY7uTgmPlBTNoZfKv0fOjRcc8= Received: by 10.142.103.6 with SMTP id a6mr1681980wfc.1197223179961; Sun, 09 Dec 2007 09:59:39 -0800 (PST) Received: by 10.142.201.4 with HTTP; Sun, 9 Dec 2007 09:59:39 -0800 (PST) Message-ID: <5a1835cd0712090959g2bad2bfbq4720f95d490872ba@mail.gmail.com> Date: Sun, 9 Dec 2007 12:59:39 -0500 From: "Lyle Scott III" To: freebsd-embedded@freebsd.org In-Reply-To: <20071209.103433.-432829159.imp@bsdimp.com> MIME-Version: 1.0 References: <5a1835cd0712081917i17f55b5cy59b396cb1cd7f4da@mail.gmail.com> <20071208.204814.-593216336.imp@bsdimp.com> <5a1835cd0712090859r94e8375yb254ae193ee6d9f7@mail.gmail.com> <20071209.103433.-432829159.imp@bsdimp.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Can't boot NanoBSD on an Alix 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: Sun, 09 Dec 2007 17:59:45 -0000 On Dec 9, 2007 12:34 PM, M. Warner Losh wrote: > In message: <5a1835cd0712090859r94e8375yb254ae193ee6d9f7@mail.gmail.com> > "Lyle Scott III" writes: > : and how might i do that on my flash card? I read a little about > boot0cfg > : (man pages) and see the option -o packet .. is this what i need? > > Yes. > > : how would i go about setting this in my flashcard that is mounted in > another > : freebsd system? > > There's two supported ways. First, you can plug it into a PC Card <-> > CF adapter and use that in a PC Card slot. Second, you can plug it > into a USB flash reader. In the first case, you'll get a device > that's adX, and in the latter you'll get one that's daX. > > boot0cfg -o packet /dev/adX > or > boot0cfg -o packet /dev/daX > > should then do the trick (where X is the actual device). > > : i read that packet mode == LBA mode BIOS setting? is this true? > : ( > http://lists.freebsd.org/pipermail/freebsd-current/2004-January/018907.html > : ) > : if so, LBA does not work either. The same result happens. > : > : i nudge in the right direction would be much appreciated :) > > If LBA mode doesn't work, then you have to figure out what the exact > geometry is for the device. You'll need to set this geometry on the > flash by having the partition end exactly on a cylinder boundary so > that the BIOS and FreeBSD will be in sync as to the geometry of the > device. This may mean you'll need to recreate it after > repartitioning. If you used a usb flash reader, you will almost > certainly get the wrong geometry (I've never had one that got it > right, due to the fictious geometry used by CAM or umass for the > device, I think). > > Warner > > : On Dec 8, 2007 10:48 PM, M. Warner Losh wrote: > : > : > In message: < > 5a1835cd0712081917i17f55b5cy59b396cb1cd7f4da@mail.gmail.com> > : > "Lyle Scott III" writes: > : > : ok, i just upgraded the BIOS and now it hands after choosing 1 for > the > : > : bootloader: > : > : > : > : 640 KB Base Memory > : > : 261120 KB Extended Memory > : > : > : > : 01F0 Master 848A SanDisk SDCFB-512 > : > : Phys C/H/S 993/16/63 Log C/H/S 993/16/63 > : > : > : > : 1 FreeBSD > : > : > : > : Default: 1 > : > : [FREEZE] > : > > : > Try using the packet mode of boot0 > : > > : > Warner > : > > Hm, well i am using a usb flash card reader... but the ALIX board works great when i put in the diskinfo information into the tinybsd setup script... but i guess this is different. I tried 'boot0cfg -o packet /dev/da0' but with no luck. With that setting i tried CHS and LBA mode on the alix board, both with the same result. So i guess this is the GEOMETRY problem you were talking about (and have since read quite a few pages about). I'm afraid i don't exactly understand the part about "You'll need to set this geometry on the flash by having the partition end exactly on a cylinder boundary so that the BIOS and FreeBSD will be in sync as to the geometry of the device." I get what you are saying, but i'm not quite sure i understand how to do that. I specified the info from diskinfo -v /dev/da0 and put it in a myconf.conf file for NanoBSD... i thought that would take care of it. hostname# diskinfo -v /dev/da0 /dev/da0 512 # sectorsize 512483328 # mediasize in bytes (489M) 1000944 # mediasize in sectors 488 # Cylinders according to firmware. 64 # Heads according to firmware. 32 # Sectors according to firmware. hehe sorry never had to deal with such a lowlevel problem! i'm learning.. i guess i can go pick up a pccard adapter of some sort. I am trying to keep this off my laptop, so would a PCI flash card reader work properly with writing the proper geometry? -- Lyle Scott, III http://www.lylescott.ws From owner-freebsd-embedded@FreeBSD.ORG Sun Dec 9 18:14:16 2007 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B5BD16A418 for ; Sun, 9 Dec 2007 18:14:16 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 0112913C448 for ; Sun, 9 Dec 2007 18:14:15 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.1/8.14.1) with ESMTP id lB9ICI0q010082; Sun, 9 Dec 2007 11:12:19 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Sun, 09 Dec 2007 11:12:24 -0700 (MST) Message-Id: <20071209.111224.1649778303.imp@bsdimp.com> To: portcitycs@gmail.com From: "M. Warner Losh" In-Reply-To: <5a1835cd0712090959g2bad2bfbq4720f95d490872ba@mail.gmail.com> References: <5a1835cd0712090859r94e8375yb254ae193ee6d9f7@mail.gmail.com> <20071209.103433.-432829159.imp@bsdimp.com> <5a1835cd0712090959g2bad2bfbq4720f95d490872ba@mail.gmail.com> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-embedded@freebsd.org Subject: Re: Can't boot NanoBSD on an Alix 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: Sun, 09 Dec 2007 18:14:16 -0000 In message: <5a1835cd0712090959g2bad2bfbq4720f95d490872ba@mail.gmail.com> "Lyle Scott III" writes: : On Dec 9, 2007 12:34 PM, M. Warner Losh wrote: : : > In message: <5a1835cd0712090859r94e8375yb254ae193ee6d9f7@mail.gmail.com> : > "Lyle Scott III" writes: : > : and how might i do that on my flash card? I read a little about : > boot0cfg : > : (man pages) and see the option -o packet .. is this what i need? : > : > Yes. : > : > : how would i go about setting this in my flashcard that is mounted in : > another : > : freebsd system? : > : > There's two supported ways. First, you can plug it into a PC Card <-> : > CF adapter and use that in a PC Card slot. Second, you can plug it : > into a USB flash reader. In the first case, you'll get a device : > that's adX, and in the latter you'll get one that's daX. : > : > boot0cfg -o packet /dev/adX : > or : > boot0cfg -o packet /dev/daX : > : > should then do the trick (where X is the actual device). : > : > : i read that packet mode == LBA mode BIOS setting? is this true? : > : ( : > http://lists.freebsd.org/pipermail/freebsd-current/2004-January/018907.html : > : ) : > : if so, LBA does not work either. The same result happens. : > : : > : i nudge in the right direction would be much appreciated :) : > : > If LBA mode doesn't work, then you have to figure out what the exact : > geometry is for the device. You'll need to set this geometry on the : > flash by having the partition end exactly on a cylinder boundary so : > that the BIOS and FreeBSD will be in sync as to the geometry of the : > device. This may mean you'll need to recreate it after : > repartitioning. If you used a usb flash reader, you will almost : > certainly get the wrong geometry (I've never had one that got it : > right, due to the fictious geometry used by CAM or umass for the : > device, I think). : > : > Warner : > : > : On Dec 8, 2007 10:48 PM, M. Warner Losh wrote: : > : : > : > In message: < : > 5a1835cd0712081917i17f55b5cy59b396cb1cd7f4da@mail.gmail.com> : > : > "Lyle Scott III" writes: : > : > : ok, i just upgraded the BIOS and now it hands after choosing 1 for : > the : > : > : bootloader: : > : > : : > : > : 640 KB Base Memory : > : > : 261120 KB Extended Memory : > : > : : > : > : 01F0 Master 848A SanDisk SDCFB-512 : > : > : Phys C/H/S 993/16/63 Log C/H/S 993/16/63 : > : > : : > : > : 1 FreeBSD : > : > : : > : > : Default: 1 : > : > : [FREEZE] : > : > : > : > Try using the packet mode of boot0 : > : > : > : > Warner : > : > : > : : Hm, well i am using a usb flash card reader... but the ALIX board works : great when i put in the diskinfo information into the tinybsd setup : script... but i guess this is different. : I tried 'boot0cfg -o packet /dev/da0' but with no luck. With that setting i : tried CHS and LBA mode on the alix board, both with the same result. : : So i guess this is the GEOMETRY problem you were talking about (and have : since read quite a few pages about). : : I'm afraid i don't exactly understand the part about : "You'll need to set this geometry on the flash by having the partition end : exactly on a cylinder boundary so that the BIOS and FreeBSD will be in sync : as to the geometry of the : device." : : I get what you are saying, but i'm not quite sure i understand how to do : that. I specified the info from diskinfo -v /dev/da0 and put it in a : myconf.conf file for NanoBSD... i thought that would take care of it. : : hostname# diskinfo -v /dev/da0 : /dev/da0 : 512 # sectorsize : 512483328 # mediasize in bytes (489M) : 1000944 # mediasize in sectors : 488 # Cylinders according to firmware. : 64 # Heads according to firmware. : 32 # Sectors according to firmware. This geometry is the fake geometry that I was talking about. You can't trust it any more than you can a used car salesman... : > : > : Phys C/H/S 993/16/63 Log C/H/S 993/16/63 This is the geometry that you must use. To do that, you'll need to set the start of the FreeBSD partition to 63 and the end to 940463 (which is 993 * 16 * 63 - 1). You'll need to make sure that the start chs is: beg: cyl 0/ head 1/ sector 1; and the end should be end: cyl 992/ head 15/ sector 63 once you have that, you can then newfs, etc. You'll also need to make sure that you've done both fdisk -B and bsdlabel -B to make sure the MBR and FreeBSD boot loader is on the new partition. Warner : hehe sorry never had to deal with such a lowlevel problem! i'm learning.. : i guess i can go pick up a pccard adapter of some sort. I am trying to keep : this off my laptop, so would a PCI flash card reader work properly with : writing the proper geometry? From owner-freebsd-embedded@FreeBSD.ORG Mon Dec 10 01:49:58 2007 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 67AEC16A46B for ; Mon, 10 Dec 2007 01:49:58 +0000 (UTC) (envelope-from portcitycs@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.176]) by mx1.freebsd.org (Postfix) with ESMTP id 2366813C45A for ; Mon, 10 Dec 2007 01:49:57 +0000 (UTC) (envelope-from portcitycs@gmail.com) Received: by py-out-1112.google.com with SMTP id u77so3339253pyb for ; Sun, 09 Dec 2007 17:49:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=oO3KVNC2GnzvTPs8EtP/DBMuiL/vrhkFYMxq7Pdi4Mg=; b=KSOXbH/aGKK8ssm5J8eaKgq91fpi+Rg0oVYZ7eVtefeFC7vU2QVj7SBlx57V3VoAd0B4QDzgTeZXXimU4xejvr4txs7jaraqmC0xyHCBOAFO2mRI4sfYKoh8lMjRL/AKJ/aBd+5kAVxGZid6rxmNxQWMKV/Po78NIsNvBnjgPKU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=BD566eFU2XtpNhKhHxYt+Yn/Y3L5zq0UQT6rOBCqjescyS+YbAUsdzAmMVs5E7P2czPcWpN2q0dXPPmGF+XFs2ikKZJa+jrYYvCCiVLy97ZFif/DQw4NOBAgZ+gICrNdOf2TQm9MLXFP/Y1zi57Z/Tv/1nKDg02wI/vdkP4Oda8= Received: by 10.142.49.4 with SMTP id w4mr207966wfw.1197251395657; Sun, 09 Dec 2007 17:49:55 -0800 (PST) Received: by 10.142.201.4 with HTTP; Sun, 9 Dec 2007 17:49:55 -0800 (PST) Message-ID: <5a1835cd0712091749k7d08378cq9e667a66aaf2e3c7@mail.gmail.com> Date: Sun, 9 Dec 2007 20:49:55 -0500 From: "Lyle Scott III" To: freebsd-embedded@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: IDE Compact Flash Adapter 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, 10 Dec 2007 01:49:58 -0000 >From my earlier posts, it appears that i am getting the wrong geometry for my cf cards via USB interface. I was wondering if anyone had any recommendations on a IDE compact flash adapter and or one for my laptop (i would like to have just in case) I mainly am interested in a IDE (or even SATA?) that is supported by FreeBSD. My laptop is a minipci express (dell e1505) and i've had trouble finding those for CF -- Lyle Scott, III http://www.lylescott.ws From owner-freebsd-embedded@FreeBSD.ORG Mon Dec 10 02:03:05 2007 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4169416A41B for ; Mon, 10 Dec 2007 02:03:05 +0000 (UTC) (envelope-from portcitycs@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.180]) by mx1.freebsd.org (Postfix) with ESMTP id 9218513C447 for ; Mon, 10 Dec 2007 02:03:04 +0000 (UTC) (envelope-from portcitycs@gmail.com) Received: by py-out-1112.google.com with SMTP id u77so3349047pyb for ; Sun, 09 Dec 2007 18:03:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=+kTFXmEhxzbP5br8nQGPg6pFlwJLCpbJW+olHw+1ZaA=; b=nk9up4ie111Q/Z+oMQ0HdASHCMR66g/SaFtug6b9mqkomAwSkEtrp/23sRex+VUJL3vYwOigLBTM7spDHhirKYOEi66tfIGFpPDh2z72G36hPEIRsV4t8ACJXxx2d7M1A+roz3Ih7AJM5X/idPZUWo6/cC05zuI5Ju1P7COxTZM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=K6EaNFiXwPMFrmeanaiAALisiqVT9W2oesMvIZjn5i1Y/5zSBUBezEGoET+js0ZEcS4kqOVy7+lqgGDPJH8V9q3FHgsGOYH04rJJJ78IgrjlvTzCXsWUzm8P3TsiW79AeUxvKcx+itUSt/RvL9o/IbtxL0nrXxAEqixgYtnObCs= Received: by 10.142.104.9 with SMTP id b9mr1609936wfc.1197252181623; Sun, 09 Dec 2007 18:03:01 -0800 (PST) Received: by 10.142.201.4 with HTTP; Sun, 9 Dec 2007 18:03:01 -0800 (PST) Message-ID: <5a1835cd0712091803v590d88efsa579d5cc2a986250@mail.gmail.com> Date: Sun, 9 Dec 2007 21:03:01 -0500 From: "Lyle Scott III" To: freebsd-embedded@freebsd.org In-Reply-To: <5a1835cd0712091749k7d08378cq9e667a66aaf2e3c7@mail.gmail.com> MIME-Version: 1.0 References: <5a1835cd0712091749k7d08378cq9e667a66aaf2e3c7@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: IDE Compact Flash Adapter 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, 10 Dec 2007 02:03:05 -0000 http://www.acscontrol.com/Merchant2/merchant.mv?Screen=PROD&Store_Code=ACS&Product_Code=ACS-CF-IDEToCFA i need something like that so i can remove the card easily. This is going on my desktop that only compiles and installs the systems. The flash card is for an embedded system.. i just wonder about FreeBSD support for this.. .what do you think? On Dec 9, 2007 8:49 PM, Lyle Scott III wrote: > From my earlier posts, it appears that i am getting the wrong geometry for > my cf cards via USB interface. > I was wondering if anyone had any recommendations on a IDE compact flash > adapter and or one for my laptop (i would like to have just in case) > I mainly am interested in a IDE (or even SATA?) that is supported by > FreeBSD. > > My laptop is a minipci express (dell e1505) and i've had trouble finding > those for CF > > -- > Lyle Scott, III > http://www.lylescott.ws -- Lyle Scott, III http://www.lylescott.ws From owner-freebsd-embedded@FreeBSD.ORG Mon Dec 10 04:51:57 2007 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B59DD16A418 for ; Mon, 10 Dec 2007 04:51:57 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 6443113C45A for ; Mon, 10 Dec 2007 04:51:57 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.1/8.14.1) with ESMTP id lBA4PVTp008561; Sun, 9 Dec 2007 21:25:31 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.1/8.14.1/Submit) with ESMTP id lBA4PVGo008558; Sun, 9 Dec 2007 21:25:31 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Sun, 9 Dec 2007 21:25:31 -0700 (MST) From: Warren Block To: Lyle Scott III In-Reply-To: <5a1835cd0712091803v590d88efsa579d5cc2a986250@mail.gmail.com> Message-ID: <20071209211535.A8502@wonkity.com> References: <5a1835cd0712091749k7d08378cq9e667a66aaf2e3c7@mail.gmail.com> <5a1835cd0712091803v590d88efsa579d5cc2a986250@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (wonkity.com [127.0.0.1]); Sun, 09 Dec 2007 21:25:31 -0700 (MST) Cc: freebsd-embedded@freebsd.org Subject: Re: IDE Compact Flash Adapter 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, 10 Dec 2007 04:51:57 -0000 On Sun, 9 Dec 2007, Lyle Scott III wrote: > http://www.acscontrol.com/Merchant2/merchant.mv?Screen=PROD&Store_Code=ACS&Product_Code=ACS-CF-IDEToCFA > > i need something like that so i can remove the card easily. This is going > on my desktop that only compiles and installs the systems. The flash card > is for an embedded system.. i just wonder about FreeBSD support for this.. > .what do you think? It really shouldn't need any FreeBSD support. CompactFlash is pretty much IDE, so the adapter should appear as an IDE hard drive. Just like a drive, it can't be hot swapped. The couple I've used have poorly-labelled jumpers for power supply voltage (3.3 or 5V) and source (IDE cable or floppy power cable) and something else. One of these is the drive in a m0n0wall firewall right now: http://www.newegg.com/Product/Product.aspx?Item=N82E16812186002 Next time, I would probably try this one: http://www.monoprice.com/products/search.asp?keyword=2105&x=0&y=0 Interestingly, they also have an IDE to SD adapter (which I haven't tried): http://www.monoprice.com/products/search.asp?keyword=3865&x=0&y=0 -Warren Block * Rapid City, South Dakota USA From owner-freebsd-embedded@FreeBSD.ORG Mon Dec 10 11:07:01 2007 Return-Path: Delivered-To: freebsd-embedded@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B90BD16A46C for ; Mon, 10 Dec 2007 11:07:01 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A7F9413C4E9 for ; Mon, 10 Dec 2007 11:07:01 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id lBAB71r2073305 for ; Mon, 10 Dec 2007 11:07:01 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id lBAB71I9073301 for freebsd-embedded@FreeBSD.org; Mon, 10 Dec 2007 11:07:01 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 10 Dec 2007 11:07:01 GMT Message-Id: <200712101107.lBAB71I9073301@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-embedded@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-embedded@FreeBSD.org 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, 10 Dec 2007 11:07:01 -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 f 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 Mon Dec 10 15:01:51 2007 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 94FD516A41B for ; Mon, 10 Dec 2007 15:01:51 +0000 (UTC) (envelope-from portcitycs@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.178]) by mx1.freebsd.org (Postfix) with ESMTP id 6A87613C4DD for ; Mon, 10 Dec 2007 15:01:51 +0000 (UTC) (envelope-from portcitycs@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so3574089waf for ; Mon, 10 Dec 2007 07:01:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=AdDcmtIRk5Be525DYbXOUNupfv9Iga9spBqKEcsU/3E=; b=VPzAU9pffiM2HxNXx2uwL6LMSiFBdznabLdoejxdcJGFrVkZjgivb8CNH9b584YqH6cTcLivEw8jMwCCFrr5wz1p23Wh+zidvC3qKC1GsJ+4GSpSb6vn1Xa9UQ4YYJZuRPylVzF8ukX8zlfoqgoC/m4tawCuE5nEKK2EOOQWtFw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=sTA29/Y2cQAXkQp8P5cVKaBRlWZWKzymZ5cuazYOlrsvJPwX65tPEyXoCJy92NXam8Zpg5BKfaZBet+2AiKyPfhNUOZSizWi/Cd9uMrl/6/LmtKGU2zyqkbVdjozci6poX59XWLHzUxYhLlBYVuughV/I/DYt89b/Gbs6CDKBWo= Received: by 10.115.46.9 with SMTP id y9mr802445waj.1197298909390; Mon, 10 Dec 2007 07:01:49 -0800 (PST) Received: by 10.114.202.11 with HTTP; Mon, 10 Dec 2007 07:01:49 -0800 (PST) Message-ID: <5a1835cd0712100701m66cb8d46h6cf862915cd2c5e@mail.gmail.com> Date: Mon, 10 Dec 2007 10:01:49 -0500 From: "Lyle Scott III" To: freebsd-embedded@freebsd.org In-Reply-To: <20071209211535.A8502@wonkity.com> MIME-Version: 1.0 References: <5a1835cd0712091749k7d08378cq9e667a66aaf2e3c7@mail.gmail.com> <5a1835cd0712091803v590d88efsa579d5cc2a986250@mail.gmail.com> <20071209211535.A8502@wonkity.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: IDE Compact Flash Adapter 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, 10 Dec 2007 15:01:51 -0000 oh yeah, duh. I did not even think that it is just recognized as a hdd. I think i decided on the one below so i can just pop the card in/out on the fly. Thanks again.... hopefully I can get the right geometry now http://www.provantage.com/addonics-adidecfb~7ADDO18R.htm On Dec 9, 2007 11:25 PM, Warren Block wrote: > On Sun, 9 Dec 2007, Lyle Scott III wrote: > > > > http://www.acscontrol.com/Merchant2/merchant.mv?Screen=PROD&Store_Code=ACS&Product_Code=ACS-CF-IDEToCFA > > > > i need something like that so i can remove the card easily. This is > going > > on my desktop that only compiles and installs the systems. The flash > card > > is for an embedded system.. i just wonder about FreeBSD support for > this.. > > .what do you think? > > It really shouldn't need any FreeBSD support. CompactFlash is pretty > much IDE, so the adapter should appear as an IDE hard drive. Just like > a drive, it can't be hot swapped. > > The couple I've used have poorly-labelled jumpers for power supply > voltage (3.3 or 5V) and source (IDE cable or floppy power cable) and > something else. One of these is the drive in a m0n0wall firewall right > now: > > http://www.newegg.com/Product/Product.aspx?Item=N82E16812186002 > > Next time, I would probably try this one: > > http://www.monoprice.com/products/search.asp?keyword=2105&x=0&y=0 > > Interestingly, they also have an IDE to SD adapter (which I haven't > tried): > > http://www.monoprice.com/products/search.asp?keyword=3865&x=0&y=0 > > -Warren Block * Rapid City, South Dakota USA > -- Lyle Scott, III http://www.lylescott.ws From owner-freebsd-embedded@FreeBSD.ORG Mon Dec 10 21:40:32 2007 Return-Path: Delivered-To: embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A7D4516A420 for ; Mon, 10 Dec 2007 21:40:32 +0000 (UTC) (envelope-from portcitycs@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.237]) by mx1.freebsd.org (Postfix) with ESMTP id C120013C461 for ; Mon, 10 Dec 2007 21:40:31 +0000 (UTC) (envelope-from portcitycs@gmail.com) Received: by nz-out-0506.google.com with SMTP id l8so666706nzf for ; Mon, 10 Dec 2007 13:40:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=QWpWDK3uHeNjc84tExqdF7oUZuPz+WhJBDLPwndkdYw=; b=iwRFqx4CMiHlVMB1pK1y3PNsRe+PRdrKjiLItKhya63+Vzi8pe7hE3/PCcacqkVcNe6BxpnDULgCkAs7so7GMMopNmql1xEELyv4aUaib4ln7nJiWsdu+2VnNIFSE0hyKzKOE42w3wuwAmBmnnxBD7uh65Akg2oncsSZTveuChI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=rc4yB6envd+NlAEzqTfNzchu9VLhbDG4r/KD4VPGhR28uqdfkj3CZhPTZCvpmz4KKWr6LR2U02Z7/2ZlhcUHYiEMhLM3PYfwgCDT/UyLkcu0l2pMav8uN6YNSQEnqC7aiIo16pMoNer80k7GSg08LM30S8ZGy7rNg2UBS3dpIUw= Received: by 10.142.52.9 with SMTP id z9mr1968446wfz.1197322828901; Mon, 10 Dec 2007 13:40:28 -0800 (PST) Received: by 10.142.201.4 with HTTP; Mon, 10 Dec 2007 13:40:28 -0800 (PST) Message-ID: <5a1835cd0712101340x7b71bbfdxd5f70ffd9064d946@mail.gmail.com> Date: Mon, 10 Dec 2007 16:40:28 -0500 From: "Lyle Scott III" To: embedded@freebsd.org In-Reply-To: <475DAA87.3080802@nurfuerspam.de> MIME-Version: 1.0 References: <475DA718.3060904@nurfuerspam.de> <475DAA87.3080802@nurfuerspam.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Can't boot NanoBSD on an Alix 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: Mon, 10 Dec 2007 21:40:32 -0000 i have used the Sandisk 512 line as stated earlier.. i have also specified manually: NANO_MEDIASIZE=1000944 NANO_HEADS=63 NANO_SECTS=16 ... i will try to comment out the line that builds the bootmanager... even if i add # Number of code images on media (1 or 2) NANO_IMAGES=1 it builds one image, but still throws the bootloader on there. thanks for all the input! i'll work it some tonight between studying for exams... nanobsd doesnt exactly take 5 minutes to recompile :) On Dec 10, 2007 4:07 PM, Markus Dolze wrote: > Markus Dolze wrote: > >> :/ I get what you are saying, but i'm not quite sure i understand how > to do > >> /:/ that. I specified the info from diskinfo -v /dev/da0 and put it in > a > >> /:/ myconf.conf file for NanoBSD... i thought that would take care of > it. > >> /:/ > >> /:/ hostname# diskinfo -v /dev/da0 > >> /:/ /dev/da0 > >> /:/ 512 # sectorsize > >> /:/ 512483328 # mediasize in bytes (489M) > >> /:/ 1000944 # mediasize in sectors > >> /:/ 488 # Cylinders according to firmware. > >> /:/ 64 # Heads according to firmware. > >> /:/ 32 # Sectors according to firmware. > >> / > >> This geometry is the fake geometry that I was talking about. You > >> can't trust it any more than you can a used car salesman... > >> > >> :/ > : > : Phys C/H/S 993/16/63 Log C/H/S 993/16/63 > >> / > >> This is the geometry that you must use. > >> > >> To do that, you'll need to set the start of the FreeBSD partition to > >> 63 and the end to 940463 (which is 993 * 16 * 63 - 1). You'll need to > >> make sure that the start chs is: > >> > >> beg: cyl 0/ head 1/ sector 1; > >> and the end should be > >> end: cyl 992/ head 15/ sector 63 > >> > >> once you have that, you can then newfs, etc. You'll also need to make > >> sure that you've done both fdisk -B and bsdlabel -B to make sure the > >> MBR and FreeBSD boot loader is on the new partition. > >> > >> > > Hello, > > > > as you are using NanoBSD you might just want to add the line > > > > 'FlashDevice Sandisk 512' > > > > in your nanobsd.cfg. This instructs NanoBSD to read the flash > > configuration from the 'FlashDevices.sub' file. The entry for Sandisk > > 512 shows 512483328 bytes with 16 heads and 63 sectors which matches the > > values of your card. > > > > NanoBSD should take care of creating the slices in the right way... > > > > As of version 1.7.2.7 it already uses 'packet mode'. The version is > > printed on top of nanobsd.sh, just below the copyright message. > > > > Also, this post might be helpful: > > > http://lists.freebsd.org/pipermail/freebsd-embedded/2007-November/000253.html > . > > > > Regards, > > Markus Dolze > > > > > I just had a look at my running WRAP installation. There I do not have > any boot manager at all, as I am just using the 'one image' > configuration of NanoBSD. I am not sure how I did this, but I think I > removed (commented out) the line > > boot0cfg -B -b ${NANO_WORLDDIR}/boot/boot0sio -o packet -s 1 -m 3 ${MD} > > in nanobsd.sh. > > Regards > Markus Dolze > > -- Lyle Scott, III http://www.lylescott.ws From owner-freebsd-embedded@FreeBSD.ORG Wed Dec 12 05:46:05 2007 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2122816A420 for ; Wed, 12 Dec 2007 05:46:05 +0000 (UTC) (envelope-from portcitycs@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.177]) by mx1.freebsd.org (Postfix) with ESMTP id BFED113C459 for ; Wed, 12 Dec 2007 05:46:04 +0000 (UTC) (envelope-from portcitycs@gmail.com) Received: by py-out-1112.google.com with SMTP id u77so286596pyb.3 for ; Tue, 11 Dec 2007 21:46:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=2PpeC7oXJBWaY9UzZkLlGw6lJpS0ktb638Cm71pvdKw=; b=PJ4ekCK7GjCrWfMznsAsOiQXz/0+PEeGut+TPO9wmzg2ZV8KrDIncqGer93/W9hKwVabQVPWj9KAQE9Bn7YA3Q8FyQhHE/evkojT5zgIq0oPzdzEVKmJzkVSE4KTzixVYjgp9r7g0Ezi2oBgRuLwUS3fp4LuQXsCYJLD8rNsNFQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=uMceTnZItRXlYjDFdKmmBCrJsqlVrwct6PGDiIOugzL/e4dckM4z21Ihe7UQQQZmDQ43zxo25RRyGoiVOsQHH2pvNrZmfwpkc3cRGkCk1pLqHOsUn+2ZtAhkXBQMSLQRi6IqHxe0KAu+jNkVCH/3AhJxYizMe/HR2iyIFJC/sQc= Received: by 10.142.44.11 with SMTP id r11mr38694wfr.102.1197438363274; Tue, 11 Dec 2007 21:46:03 -0800 (PST) Received: by 10.142.47.12 with HTTP; Tue, 11 Dec 2007 21:46:03 -0800 (PST) Message-ID: <5a1835cd0712112146t18001df2j8641a3008bb3a788@mail.gmail.com> Date: Wed, 12 Dec 2007 00:46:03 -0500 From: "Lyle Scott III" To: freebsd-embedded@freebsd.org In-Reply-To: <475DAA87.3080802@nurfuerspam.de> MIME-Version: 1.0 References: <475DA718.3060904@nurfuerspam.de> <475DAA87.3080802@nurfuerspam.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Can't boot NanoBSD on an Alix 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, 12 Dec 2007 05:46:05 -0000 I still can't seem to get NanoBSD running on an ALIX board. I have tried everything mentioned in the list it seems. Maybe I am overlooking something? I even tried to go into sysinstall's fdisk and change the bootloader to standard mbr (no boot selector) for the da0 device (flash card) now i get the error: DISK SLICING WARNING: chunk 'da0s1' [63..997919] does not start on a track boundary any other suggestions? Could it be the fact that I am using the card on the USB interface and info isn't getting written to the proper geometry? (my ide card reader should be here tomorrow reguardless) On Dec 10, 2007 4:07 PM, Markus Dolze wrote: > Markus Dolze wrote: > >> :/ I get what you are saying, but i'm not quite sure i understand how > to do > >> /:/ that. I specified the info from diskinfo -v /dev/da0 and put it in > a > >> /:/ myconf.conf file for NanoBSD... i thought that would take care of > it. > >> /:/ > >> /:/ hostname# diskinfo -v /dev/da0 > >> /:/ /dev/da0 > >> /:/ 512 # sectorsize > >> /:/ 512483328 # mediasize in bytes (489M) > >> /:/ 1000944 # mediasize in sectors > >> /:/ 488 # Cylinders according to firmware. > >> /:/ 64 # Heads according to firmware. > >> /:/ 32 # Sectors according to firmware. > >> / > >> This geometry is the fake geometry that I was talking about. You > >> can't trust it any more than you can a used car salesman... > >> > >> :/ > : > : Phys C/H/S 993/16/63 Log C/H/S 993/16/63 > >> / > >> This is the geometry that you must use. > >> > >> To do that, you'll need to set the start of the FreeBSD partition to > >> 63 and the end to 940463 (which is 993 * 16 * 63 - 1). You'll need to > >> make sure that the start chs is: > >> > >> beg: cyl 0/ head 1/ sector 1; > >> and the end should be > >> end: cyl 992/ head 15/ sector 63 > >> > >> once you have that, you can then newfs, etc. You'll also need to make > >> sure that you've done both fdisk -B and bsdlabel -B to make sure the > >> MBR and FreeBSD boot loader is on the new partition. > >> > >> > > Hello, > > > > as you are using NanoBSD you might just want to add the line > > > > 'FlashDevice Sandisk 512' > > > > in your nanobsd.cfg. This instructs NanoBSD to read the flash > > configuration from the 'FlashDevices.sub' file. The entry for Sandisk > > 512 shows 512483328 bytes with 16 heads and 63 sectors which matches the > > values of your card. > > > > NanoBSD should take care of creating the slices in the right way... > > > > As of version 1.7.2.7 it already uses 'packet mode'. The version is > > printed on top of nanobsd.sh, just below the copyright message. > > > > Also, this post might be helpful: > > > http://lists.freebsd.org/pipermail/freebsd-embedded/2007-November/000253.html > . > > > > Regards, > > Markus Dolze > > > > > I just had a look at my running WRAP installation. There I do not have > any boot manager at all, as I am just using the 'one image' > configuration of NanoBSD. I am not sure how I did this, but I think I > removed (commented out) the line > > boot0cfg -B -b ${NANO_WORLDDIR}/boot/boot0sio -o packet -s 1 -m 3 ${MD} > > in nanobsd.sh. > > Regards > Markus Dolze > > -- Lyle Scott, III http://www.lylescott.ws From owner-freebsd-embedded@FreeBSD.ORG Thu Dec 13 16:57:09 2007 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0385216A420 for ; Thu, 13 Dec 2007 16:57:09 +0000 (UTC) (envelope-from lab@mailgate.gta.com) Received: from mailgate.gta.com (mailgate.gta.com [199.120.225.20]) by mx1.freebsd.org (Postfix) with SMTP id 63AB213C45B for ; Thu, 13 Dec 2007 16:57:08 +0000 (UTC) (envelope-from lab@mailgate.gta.com) Received: (qmail 39525 invoked by uid 1000); 13 Dec 2007 16:30:26 -0000 Date: 13 Dec 2007 16:30:26 -0000 Message-ID: <20071213163026.39524.qmail@mailgate.gta.com> From: Larry Baird To: freebsd-embedded@freebsd.org In-Reply-To: <1071112.04615.8117@localhost> X-Newsgroups: freebsd.embedded User-Agent: tin/1.5.9-20010723 ("Chord of Souls") (UNIX) (FreeBSD/4.10-RELEASE (i386)) Cc: Subject: Re: Can't boot NanoBSD on an Alix 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, 13 Dec 2007 16:57:09 -0000 In article <1071112.04615.8117@localhost> you wrote: > I still can't seem to get NanoBSD running on an ALIX board. I have tried > everything mentioned in the list it seems. Maybe I am overlooking > something? > > I even tried to go into sysinstall's fdisk and change the bootloader to > standard mbr (no boot selector) for the da0 device (flash card) > > now i get the error: > DISK SLICING WARNING: chunk 'da0s1' [63..997919] does not start on a track > boundary > > any other suggestions? Could it be the fact that I am using the card on the > USB interface and info isn't getting written to the proper geometry? (my ide > card reader should be here tomorrow reguardless) Have you tried turning off packet mode? The man page for boot0cfg doesn't mention this option, but you can do something like: boot0cfg -o nopacket da0s1 -- ------------------------------------------------------------------------ Larry Baird | http://www.gta.com Global Technology Associates, Inc. | Orlando, FL Email: lab@gta.com | TEL 407-380-0220, FAX 407-380-6080