From owner-freebsd-embedded@FreeBSD.ORG Mon Sep 27 11:06:52 2010 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 8C067106566B for ; Mon, 27 Sep 2010 11:06:52 +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 7A6208FC0A for ; Mon, 27 Sep 2010 11:06:52 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o8RB6qsm023429 for ; Mon, 27 Sep 2010 11:06:52 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o8RB6pr3023427 for freebsd-embedded@FreeBSD.org; Mon, 27 Sep 2010 11:06:51 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 27 Sep 2010 11:06:51 GMT Message-Id: <201009271106.o8RB6pr3023427@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, 27 Sep 2010 11:06:52 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o misc/136889 embedded [nanobsd] [path] nanobsd error reporting and other ref o misc/52256 embedded [picobsd] picobsd build script does not read in user/s o kern/42728 embedded [picobsd] many problems in src/usr.sbin/ppp/* after c 3 problems total. From owner-freebsd-embedded@FreeBSD.ORG Wed Sep 29 09:32:58 2010 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 9EFC01065673 for ; Wed, 29 Sep 2010 09:32:58 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from ftp.translate.ru (ftp.translate.ru [80.249.188.42]) by mx1.freebsd.org (Postfix) with ESMTP id 5E2378FC13 for ; Wed, 29 Sep 2010 09:32:58 +0000 (UTC) Received: from desktop.home.serebryakov.spb.ru (89.112.15.178.pppoe.eltel.net [89.112.15.178]) (Authenticated sender: lev@serebryakov.spb.ru) by ftp.translate.ru (Postfix) with ESMTPA id 0D93A13DF42 for ; Wed, 29 Sep 2010 13:32:56 +0400 (MSD) Date: Wed, 29 Sep 2010 13:32:54 +0400 From: Lev Serebryakov X-Priority: 3 (Normal) Message-ID: <642536497.20100929133254@serebryakov.spb.ru> To: freebsd-embedded@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable Subject: NanoBSD (8.1-STABLE): can not boot with boot0sio & can not change boot0cfg / active partition 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, 29 Sep 2010 09:32:58 -0000 Hello, Freebsd-embedded. I have two problems with NanoBSD built from 8.1-STABLE sources (1) I have serial console configured for speed 115200. I have "BOOT_COMCONSOLE_SPEED=3D115200" setting, but boot0sio hangs. "mbr" works fine, but "boot0cfg" can not change booting slice in this case. (2) When I try to use fdisk to change booting slice ("fdisk -1 -a ad0") it complains after all questions (why, oh, why fdisk doesn't have "not ask anything" mode WITHOUT config file?!): Should we write new partition table? [n] y fdisk: Class not found fdisk: Failed to write sector zero hostname# boot0cfg can not install boot0sio too: hostname# boot0cfg -B -b /boot/boot0sio ad0 boot0cfg: write_mbr: /dev/ad0: Operation not permitted hostname# So, I can not upgrade NanoBSD in-place, because I can not swap bootable partition :( --=20 // Black Lion AKA Lev Serebryakov From owner-freebsd-embedded@FreeBSD.ORG Wed Sep 29 11:21:02 2010 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 CB42D10656A6; Wed, 29 Sep 2010 11:21:02 +0000 (UTC) (envelope-from milu@dat.pl) Received: from jab.dat.pl (dat.pl [80.51.155.34]) by mx1.freebsd.org (Postfix) with ESMTP id 2AB258FC18; Wed, 29 Sep 2010 11:21:01 +0000 (UTC) Received: from jab.dat.pl (jsrv.dat.pl [127.0.0.1]) by jab.dat.pl (Postfix) with ESMTP id A6BF378; Wed, 29 Sep 2010 13:03:31 +0200 (CEST) X-Virus-Scanned: amavisd-new at dat.pl Received: from jab.dat.pl ([127.0.0.1]) by jab.dat.pl (jab.dat.pl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id UkwrcGFLIQsl; Wed, 29 Sep 2010 13:03:27 +0200 (CEST) Received: from snifi.localnet (unknown [212.69.68.42]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by jab.dat.pl (Postfix) with ESMTPSA id 43EFF73; Wed, 29 Sep 2010 13:03:27 +0200 (CEST) From: Maciej Milewski To: freebsd-embedded@freebsd.org Date: Wed, 29 Sep 2010 13:03:28 +0200 User-Agent: KMail/1.13.5 (Linux/2.6.35-ARCH; KDE/4.5.1; x86_64; ; ) References: <642536497.20100929133254@serebryakov.spb.ru> In-Reply-To: <642536497.20100929133254@serebryakov.spb.ru> X-KMail-Markup: true MIME-Version: 1.0 Message-Id: <201009291303.29082.milu@dat.pl> Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: phk@freebsd.org Subject: Re: NanoBSD (8.1-STABLE): can not boot with boot0sio & can not change boot0cfg / active partition 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, 29 Sep 2010 11:21:03 -0000 Dnia =B6roda 29 wrzesie=F1 2010 o 11:32:54 Lev Serebryakov napisa=B3(a): > Hello, Freebsd-embedded. >=20 > I have two problems with NanoBSD built from 8.1-STABLE sources >=20 > (1) I have serial console configured for speed 115200. I have > "BOOT_COMCONSOLE_SPEED=3D115200" setting, but boot0sio hangs. "mbr" > works fine, but "boot0cfg" can not change booting slice in this > case. >=20 > (2) When I try to use fdisk to change booting slice ("fdisk -1 -a > ad0") it complains after all questions (why, oh, why fdisk doesn't > have "not ask anything" mode WITHOUT config file?!): >=20 > Should we write new partition table? [n] y > fdisk: Class not found > fdisk: Failed to write sector zero > hostname# >=20 > boot0cfg can not install boot0sio too: >=20 > hostname# boot0cfg -B -b /boot/boot0sio ad0 > boot0cfg: write_mbr: /dev/ad0: Operation not permitted > hostname# >=20 > So, I can not upgrade NanoBSD in-place, because I can not swap > bootable partition :( It has been changed in head[1] but not MFC to any RELENG. phk, can you fix this in the RELENG_8? The working solution is to use gpart as a replacement for boot0cfg: gpart set -a active -i 1 ${NANO_DRIVE} 1.http://svn.freebsd.org/viewvc/base/head/tools/tools/nanobsd/Files/root/up= datep1?view=3Dlog Regards, Maciej Milewski From owner-freebsd-embedded@FreeBSD.ORG Wed Sep 29 13:41:39 2010 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 F38321065672; Wed, 29 Sep 2010 13:41:38 +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 B728C8FC22; Wed, 29 Sep 2010 13:41:38 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.3/8.14.1) with ESMTP id o8TDThl5005901; Wed, 29 Sep 2010 07:29:43 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Wed, 29 Sep 2010 07:29:57 -0600 (MDT) Message-Id: <20100929.072957.634827941554911957.imp@bsdimp.com> To: lev@FreeBSD.org From: "M. Warner Losh" In-Reply-To: <642536497.20100929133254@serebryakov.spb.ru> References: <642536497.20100929133254@serebryakov.spb.ru> X-Mailer: Mew version 6.3 on Emacs 22.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: NanoBSD (8.1-STABLE): can not boot with boot0sio & can not change boot0cfg / active partition 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, 29 Sep 2010 13:41:39 -0000 In message: <642536497.20100929133254@serebryakov.spb.ru> Lev Serebryakov writes: : Hello, Freebsd-embedded. : : I have two problems with NanoBSD built from 8.1-STABLE sources : : (1) I have serial console configured for speed 115200. I have : "BOOT_COMCONSOLE_SPEED=115200" setting, but boot0sio hangs. "mbr" : works fine, but "boot0cfg" can not change booting slice in this : case. : : (2) When I try to use fdisk to change booting slice ("fdisk -1 -a : ad0") it complains after all questions (why, oh, why fdisk doesn't : have "not ask anything" mode WITHOUT config file?!): : : Should we write new partition table? [n] y : fdisk: Class not found : fdisk: Failed to write sector zero : hostname# : : boot0cfg can not install boot0sio too: : : hostname# boot0cfg -B -b /boot/boot0sio ad0 : boot0cfg: write_mbr: /dev/ad0: Operation not permitted : hostname# : : So, I can not upgrade NanoBSD in-place, because I can not swap : bootable partition :( doesn't "gpart -a active -i 1 ad0" work? Warner