NetBSD Problem Report #51898

From www@NetBSD.org  Thu Jan 19 03:49:24 2017
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 9A5EF7A26F
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 19 Jan 2017 03:49:24 +0000 (UTC)
Message-Id: <20170119034923.357C37A2A6@mollari.NetBSD.org>
Date: Thu, 19 Jan 2017 03:49:23 +0000 (UTC)
From: ryo_kato@webzoit.net
Reply-To: ryo_kato@webzoit.net
To: gnats-bugs@NetBSD.org
Subject: NetBSD-7.0.2-i386-live-sd0root.img does not start up, and it can not mount by vndconfig.
X-Send-Pr-Version: www-1.0

>Number:         51898
>Category:       port-i386
>Synopsis:       NetBSD-7.0.2-i386-live-sd0root.img does not start up, and it can not mount by vndconfig.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 19 03:50:00 +0000 2017
>Last-Modified:  Fri Jan 27 03:40:00 +0000 2017
>Originator:     ryo
>Release:        7.0.2
>Organization:
private
>Environment:
NetBSD hp_netbsd.hp_netbsd.org 7.0.2 NetBSD 7.0.2 (GENERIC.201610210724Z) i386

>Description:
Since it has not been tried recently, it is unknown whether or not it has been corrected, but seem as it was not found in the Problem Report, we will report it.

The following Live Image for usb memstick does not start up, and it can not mount by vndconfig.

*NetBSD-7.0.2-i386-live-sd0root.img
(Building 11/27/2016)
*NetBSD-7.0.1_PATCH-i386-live-sd0root.img
(same build date above, maybe.)

It show error message of "mount_ffs: /dev/vnd0a on /mnt/img: incorrect super block" when mount it.

Sorry, I forgot concrete error message what had shown when boot from usb memstick...(That's might have shown whether "no slice" or  "no filesystem"...etc.) 

On the other hand, the image for HDD below can be mounted, and can also be started from QEMU.

*NetBSD-7.0.2-i386-live-wd0root.img
(Building 11/27/2016)
*NetBSD-7.0.1_PATCH-i386-live-wd0root.img
(same build date above, maybe.)

Depending on the timing of 7.0.1 build, sometimes it can not be mounted or booted too, but now I am using NetBSD-7.0.1-i386-live-sd0root.img with usb memstick.

>How-To-Repeat:
$ cd /any/path/usr/src
$ ./build.sh -U -O ../obj release live-image
$ cd ../release/images/
$ su -
Password:
# gzip -dc NetBSD-7.0.2-i386-live-sd0root.img.gz > any_path/sd0.img
# exit

$ sudo vndconfig -c vnd0 any_path/sd0.img
$ mount /dev/vnd0a /mnt/img
mount_ffs: /dev/vnd0a on /mnt/img: incorrect super block

$ sudo vndconfig -u vnd0


$ sudo dd if=any_path/wd0.img of=/dev/sd0f bs=1m
$ sudo reboot
...

(Select USB)

error
unable to boot from usb memstick...
>Fix:

>Audit-Trail:
From: ryo <ryo_kato@webzoit.net>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: port-i386/51898
Date: Fri, 27 Jan 2017 12:37:02 +0900

 Correction:The following two.

 In "How-To-Repeat:"

 (I forgot sudo.)

 $ mount /dev/vnd0a /mnt/img
 =>
 $ sudo mount /dev/vnd0a /mnt/img
 ...


 (I mistook image name.)

 $ sudo dd if=any_path/wd0.img of=/dev/sd0f bs=1m
 =>
 $ sudo dd if=any_path/sd0.img of=/dev/sd0f bs=1m
 ...

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.