NetBSD Problem Report #40571

From www@NetBSD.org  Sat Feb  7 06:37:19 2009
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id CCCAC63C095
	for <gnats-bugs@gnats.netbsd.org>; Sat,  7 Feb 2009 06:37:18 +0000 (UTC)
Message-Id: <20090207063718.43CC063C07F@narn.NetBSD.org>
Date: Sat,  7 Feb 2009 06:37:18 +0000 (UTC)
From: dross@pobox.com
Reply-To: dross@pobox.com
To: gnats-bugs@NetBSD.org
Subject: NetBSD Atari install fails to prepare 16GB MTRON SSD on ACARD SCSI to IDE bridge
X-Send-Pr-Version: www-1.0

>Number:         40571
>Category:       port-atari
>Synopsis:       NetBSD Atari install fails to prepare 16GB MTRON SSD on ACARD SCSI to IDE bridge
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    port-atari-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 07 06:40:01 +0000 2009
>Closed-Date:    Fri Feb 20 20:52:02 +0000 2009
>Last-Modified:  Fri Feb 20 20:52:02 +0000 2009
>Originator:     David Ross
>Release:        5
>Organization:
n/a
>Environment:
n/a
>Description:
I'm attempting to install NetBSD 5 (200902030000Z) onto an MTRON 16GB IDE SSD which is hanging off an ACARD SCSI to IDE bridge.  The hardware is known good and I've done such an install with NetBSD 1.6.1.  I also regularly install NetBSD 5 builds onto a Seagate SD318418N and it works great.

That being said, the MTRON setup did cause occasional panics under NetBSD 1.6.1 where I did not see this with the Seagate.  I was hoping to test if that problem still happens on NetBSD 5 but got blocked by this install issue.

How to reproduce the install issue:
1.  Zero the MTRON drive.
2.  Boot into NetBSD 5 and begin an install.  Don't choose the option to use AHDI partitioning.
3.  Keep the default drive settings, except bump up the swap partition to 256 MB.
  - Now observe that even though you typed 256, the swap partition size is reported to be set at 257 MB.  This doesn't happen with the Seagate.  Maybe this is a hint as to what's going on?
4.  Proceed with the install and observe that disklabel fails with:
disklabel: ioctl DIOCWDINFO: Device not configured
Screenshot: http://i44.tinypic.com/2dw7nly.jpg

5.  After being dumped back at the main installer screen, start the install again and follow the same steps.
6.  Now observe a different error as the drive is prepared:
disklabel: partition b: partition extends past end of unit
Screenshot: http://i42.tinypic.com/vpi2cl.jpg

>How-To-Repeat:
See the full description.
>Fix:
Install to a different drive.  =\

>Release-Note:

>Audit-Trail:
From: "David Ross" <dross@pobox.com>
To: <gnats-bugs@NetBSD.org>
Cc: 
Subject: Re: port-atari/40571: NetBSD Atari install fails to prepare 16GB MTRON SSD on ACARD SCSI to IDE bridge
Date: Fri, 13 Feb 2009 21:15:52 -0800

 Just as a note, David Brownlee helped diagose this and it was determined 
 that zero'ing the first MB of the disk and rebooting fixes this issue.  It 
 appears that for some reason the format operation performed by my Adaptec 
 SCSI BIOS leaves some junk on the disk.

 It would be great if there were an advanced option during install to wipe 
 the disk and reload the disklabel (including doing whatever is necessary to 
 refresh the version of the disklabel the kernel caches).  Otherwise, the 
 install should be more forgiving if there is already junk on the disk -- the 
 current mode of failure isn't great.

 ----- Original Message ----- 
 From: <gnats-admin@netbsd.org>
 To: <dross@pobox.com>
 Sent: Friday, February 06, 2009 10:40 PM
 Subject: Re: port-atari/40571: NetBSD Atari install fails to prepare 16GB 
 MTRON SSD on ACARD SCSI to IDE bridge


 > Thank you very much for your problem report.
 > It has the internal identification `port-atari/40571'.
 > The individual assigned to look at your
 > report is: port-atari-maintainer.
 >
 >>Category:       port-atari
 >>Responsible:    port-atari-maintainer
 >>Synopsis:       NetBSD Atari install fails to prepare 16GB MTRON SSD on 
 >>ACARD SCSI to IDE bridge
 >>Arrival-Date:   Sat Feb 07 06:40:01 +0000 2009
 >
 > 

State-Changed-From-To: open->closed
State-Changed-By: abs@NetBSD.org
State-Changed-When: Fri, 20 Feb 2009 20:52:02 +0000
State-Changed-Why:
hardware issue: reporter confirms that win2k hangs on install


>Unformatted:

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-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.