From owner-freebsd-bugs@FreeBSD.ORG Fri May 9 13:40:01 2014 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 084FCD97 for ; Fri, 9 May 2014 13:40:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D9F6A79E for ; Fri, 9 May 2014 13:40:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s49De0ck043043 for ; Fri, 9 May 2014 13:40:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s49De0dR043042; Fri, 9 May 2014 13:40:00 GMT (envelope-from gnats) Resent-Date: Fri, 9 May 2014 13:40:00 GMT Resent-Message-Id: <201405091340.s49De0dR043042@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Bertram Scharpf Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EE6ECA98 for ; Fri, 9 May 2014 13:30:38 +0000 (UTC) Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DC2D364A for ; Fri, 9 May 2014 13:30:38 +0000 (UTC) Received: from cgiserv.freebsd.org ([127.0.1.6]) by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s49DUci6028300 for ; Fri, 9 May 2014 13:30:38 GMT (envelope-from nobody@cgiserv.freebsd.org) Received: (from nobody@localhost) by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s49DUcUF028297; Fri, 9 May 2014 13:30:38 GMT (envelope-from nobody) Message-Id: <201405091330.s49DUcUF028297@cgiserv.freebsd.org> Date: Fri, 9 May 2014 13:30:38 GMT From: Bertram Scharpf To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: bin/189513: bsdlabel fails X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 May 2014 13:40:01 -0000 >Number: 189513 >Category: bin >Synopsis: bsdlabel fails >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri May 09 13:40:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Bertram Scharpf >Release: 10.0 stable >Organization: >Environment: FreeBSD hostname 10.0-STABLE FreeBSD 10.0-STABLE #0 r265337: Mon May 5 00:55:49 CEST 2014 root@buildhost:/usr/obj/usr/src/sys/GENERIC i386 >Description: On a ~5 year old netbook, "bsdlabel" writes this to dmesg: ahcich0: Timeout on slot 0 port 0 ahcich0: is 00000000 cs 00000001 ss 00000001 rs 00000001 tfd 50 serr 00000000 cmd 0000e017 (ada0:ahcich0:0:0:0): WRITE_FPDMA_QUEUED. ACB: 61 10 3f 00 00 40 00 00 00 00 00 00 (ada0:ahcich0:0:0:0): CAM status: Command timeout (ada0:ahcich0:0:0:0): Retrying command ahcich0: Timeout on slot 0 port 0 ahcich0: is 00000000 cs 00000001 ss 00000000 rs 00000001 tfd 50 serr 00000000 cmd 0000e017 (ada0:ahcich0:0:0:0): FLUSHCACHE48. ACB: ea 00 00 00 00 40 00 00 00 00 00 00 (ada0:ahcich0:0:0:0): CAM status: Command timeout (ada0:ahcich0:0:0:0): Retrying command After restarting the machine, the boot code will not be executed. This is really annoying because when I used the old 8.4 everything was fine. >How-To-Repeat: This is what I did: I built me a USB stick with 10.0 stable. Then I booted it on my Acer Aspire one. There I wrote: fdisk -BI ada0 boot0cfg -B ada0 bsdlabel -B -w ada0s1 # -> dmesg contains now the above error messages newfs -U /dev/ada0s1a mount /dev/ada0s1a /mnt/install mount -t nfs server:/usr/src /usr/src mount -t nfs server:/usr/obj /usr/obj cd /usr/usrc make DESTDIR=/mnt/install installkernel installworld cp /root/etc.new/{fstab,rc.conf,resolve.conf} /mnt/install/etc shutdown -r now >Fix: I downloaded an old 8.4 memstick image, booted from that and executed the steps until "bsdlabel". Then I booted my own 10.0 stable and did the rest there. >Release-Note: >Audit-Trail: >Unformatted: