NetBSD Problem Report #46893
From www@NetBSD.org Mon Sep 3 08:28:27 2012
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
by www.NetBSD.org (Postfix) with ESMTP id B9A2A63B9BC
for <gnats-bugs@gnats.NetBSD.org>; Mon, 3 Sep 2012 08:28:27 +0000 (UTC)
Message-Id: <20120903082826.7C3E063B86D@www.NetBSD.org>
Date: Mon, 3 Sep 2012 08:28:26 +0000 (UTC)
From: roy@marples.name
Reply-To: roy@marples.name
To: gnats-bugs@NetBSD.org
Subject: sysinst(8) sets up an invalid disk layout
X-Send-Pr-Version: www-1.0
>Number: 46893
>Category: port-i386
>Synopsis: sysinst(8) sets up an invalid disk layout
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: port-i386-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Sep 03 08:30:00 +0000 2012
>Last-Modified: Mon Sep 03 09:51:42 +0000 2012
>Originator: Roy Marples
>Release: 6.0 RC1
>Organization:
>Environment:
NetBSD uberserver.marples.name 6.0_RC1 NetBSD 6.0_RC1 (GENERIC) amd64
>Description:
I bought a Shuttle XS35 702. I started a PXE install of NetBSD-6.0 RC1 and selected all default options aside from custom sets to install. Installation was flawless, but upon reboot I was greated with a message "NetBSD MBR: No operating system found".
I've uploaded screenshots of fdisk and disklabel output from the faulty install here:
http://www.facebook.com/photo.php?fbid=521189127906889&set=pcb.521189244573544&type=1&theater
Also, a support excerpt from Martin Husemann
On Thu, Aug 30, 2012 at 12:24:51PM +0200, Martin Husemann wrote:
Disk: /dev/wd0d NetBSD disklabel disk geometry: cylinders: 310101, heads: 16, sectors/track: 63 (1008 sectors/cylinder) total sectors: 312581808 BIOS disk geometry: cylinders: 1023, heads: 255, sectors/track: 63 (16065 sectors/cylinder) total sectors: 312581808
Ok, I now got what jak was trying to explain to you:
the BIOS disk geometry is invalid, 255 heads is an impossible value (it needs
to be between 1 and 16). I can not emulate this geometry with qemu, as it
rejects this invalid configuration.
So: something must be wrong in the bootblocks (which pass this entry to the
kernel).
Can you please file a PR?
>How-To-Repeat:
>Fix:
I worked around the problem by using a NetBSD 5.1.2 INSTALL kernel to setup the disklabel and format it to FFSv2. Once this was complete, I changed back to the NetBSD 6.0 RC1 INSTALL kernel and it worked just fine.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: install-manager->portmaster-i386
Responsible-Changed-By: martin@NetBSD.org
Responsible-Changed-When: Mon, 03 Sep 2012 09:48:22 +0000
Responsible-Changed-Why:
This is a port specific problem with the bootblocks
Responsible-Changed-From-To: portmaster-i386->port-i386-maintainer
Responsible-Changed-By: martin@NetBSD.org
Responsible-Changed-When: Mon, 03 Sep 2012 09:51:42 +0000
Responsible-Changed-Why:
Fix bogus owner
>Unformatted:
(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-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.