NetBSD Problem Report #37474

From martin@duskware.de  Tue Dec  4 09:13:54 2007
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id A479B63BA68
	for <gnats-bugs@gnats.netbsd.org>; Tue,  4 Dec 2007 09:13:54 +0000 (UTC)
Message-Id: <20071204000011.0D2EB63BA68@narn.NetBSD.org>
Date: Tue,  4 Dec 2007 00:00:11 +0000 (UTC)
From: tcarlson@myback40.com
Reply-To: tcarlson@myback40.com
To: netbsd-bugs-owner@NetBSD.org
Subject: After installing a system, booting into it, and mounting /, I get a message saying that the magic numbers don't match upon reboot.
X-Send-Pr-Version: www-1.0

>Number:         37474
>Category:       port-mac68k
>Synopsis:       After installing a system, booting into it, and mounting /, I get a message saying that the magic numbers don't match upon reboot.
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    port-mac68k-maintainer
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 04 09:15:00 +0000 2007
>Last-Modified:  Tue Dec 11 15:25:01 +0000 2007
>Originator:     Thomas Carlson
>Release:        NetBSD-4.0_RC5, kern-GENERICSBC
>Organization:
>Environment:
Powerbook 180 with a 770352mb root/usr partition formated with Mkfs and a 32mb swap partition
>Description:
My Powerbook 180 sporting a Cabletron EA414 SCSI/ethernet adaptor can boot kern-GENERICSBC just fine (kern-GENERIC hangs at "waiting for device to settle")  Problem is, when I use: < /sbin/mount -u -w / > to mount the root file system read/write and modify /etc/rc.conf to read <rc_configured=YES> I get a message saying that the magic numbers do not match upon reboot.
>How-To-Repeat:

>Fix:

>Audit-Trail:
From: Scott Reynolds <scottr@clank.org>
To: gnats-bugs@NetBSD.org, tcarlson@myback40.com
Cc: 
Subject: Re: port-mac68k/37474: After installing a system, booting into it, and mounting /, I get a message saying that the magic numbers don't match upon reboot.
Date: Thu, 6 Dec 2007 21:18:11 -0600

 You may find that removing the Cabletron box will help boot with the  
 GENERIC kernel. It shouldn't matter but the SCSI drivers were written  
 using rather incomplete documentation for the custom SCSI controller  
 chips used in the various systems.

 There is also a possibility that you can drop the GENERICSBC driver  
 down to PIO mode to work around this issue.

From: Hauke Fath <hf@spg.tu-darmstadt.de>
To: gnats-bugs@NetBSD.org
Cc: port-mac68k-maintainer@NetBSD.org, gnats-admin@NetBSD.org,
	tcarlson@myback40.com
Subject: Re: port-mac68k/37474: After installing a system, booting into
 it, and mounting /, I get a message saying that the magic numbers don't
 match upon reboot.
Date: Fri, 7 Dec 2007 11:31:42 +0100

 At 3:20 Uhr +0000 07.12.2007, Scott Reynolds wrote:
 >  You may find that removing the Cabletron box will help boot with the
 >  GENERIC kernel. It shouldn't matter but the SCSI drivers were written
 >  using rather incomplete documentation for the custom SCSI controller
 >  chips used in the various systems.
 >
 >  There is also a possibility that you can drop the GENERICSBC driver
 >  down to PIO mode to work around this issue.

 Although the change has been pulled up to netbsd-4 (ticket #686), I 
 still wonder whether 
 http://mail-index.netbsd.org/port-mac68k/2007/05/25/0000.html ff. is 
 related...

 	hauke

 -- 
       The ASCII Ribbon Campaign                    Hauke Fath
 ()     No HTML/RTF in email            Institut für Nachrichtentechnik
 /\     No Word docs in email                     TU Darmstadt
       Respect for open standards              Ruf +49-6151-16-3281

From: Thomas Carlson <tcarlson@myback40.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: port-mac68k/37474: After installing a system, booting into it, and mounting /, I get a message saying that the magic numbers don't match upon reboot.
Date: Fri, 7 Dec 2007 05:57:33 -0700

 On Dec 6, 2007, at 8:20 PM, Scott Reynolds wrote:

 > The following reply was made to PR port-mac68k/37474; it has been 
 > noted by GNATS.
 >
 > From: Scott Reynolds <scottr@clank.org>
 > To: gnats-bugs@NetBSD.org, tcarlson@myback40.com
 > Cc:
 > Subject: Re: port-mac68k/37474: After installing a system, booting 
 > into it, and mounting /, I get a message saying that the magic numbers 
 > don't match upon reboot.
 > Date: Thu, 6 Dec 2007 21:18:11 -0600
 >
 >  You may find that removing the Cabletron box will help boot with the
 >  GENERIC kernel. It shouldn't matter but the SCSI drivers were written
 >  using rather incomplete documentation for the custom SCSI controller
 >  chips used in the various systems.

 That would be counterproductive as the se0 device is the only 
 connection to my network on this old machine (Powerbook 180).

 >
 >  There is also a possibility that you can drop the GENERICSBC driver
 >  down to PIO mode to work around this issue.

 I don't know how to do that.

 Cheers, Tom

From: Hauke Fath <hf@spg.tu-darmstadt.de>
To: gnats-bugs@NetBSD.org
Cc: port-mac68k-maintainer@NetBSD.org, gnats-admin@NetBSD.org,
	tcarlson@myback40.com, Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
Subject: Re: port-mac68k/37474: After installing a system, booting into
 it, and mounting /, I get a message saying that the magic numbers don't
 match upon reboot.
Date: Mon, 10 Dec 2007 16:20:17 +0100

 At 13:00 Uhr +0000 07.12.2007, Thomas Carlson wrote:
 >  >  You may find that removing the Cabletron box will help boot with the
 >  >  GENERIC kernel. It shouldn't matter but the SCSI drivers were written
 >  >  using rather incomplete documentation for the custom SCSI controller
 >  >  chips used in the various systems.
 >
 >  That would be counterproductive as the se0 device is the only
 >  connection to my network on this old machine (Powerbook 180).

 Okay... I cranked up a Macintosh IIvx (8 MB RAM):

 - partitioned A/UX root&usr / A/UX swap / Macintosh HFS
 - got the latest Mkfs 1.47 and Installer 1.1h from a NetBSD 4rc5 
 snapshot of today
 - ran Mkfs on the root&usr partition
 - ran the Installer with netbsd_GENERICSBC.tgz, base.tgz and etc.tgz (70 min)
 - made the devices in the Installer
 - booted to single user, ran 'fsck -fp /dev/rsd0a' to be sure
 - After 'mount -uw /' and editing /etc/rc.conf the box booted to 
 multi user mode just fine
 - Because the Installer's list of device files is a bit outdated, you 
 should run MAKEDEV all in /dev

 So... generally, setting up a NetBSD/mac68k machine with the MacOS 
 based tools works. Please follow Scott's advice, and boot the 
 Powerbook without the SCSI-Ethernet-bridge. There may be SCSI 
 interference.

 BTW: Have you tried booting with the GENERICSBC kernel?

 	hauke

 -- 
       The ASCII Ribbon Campaign                    Hauke Fath
 ()     No HTML/RTF in email            Institut für Nachrichtentechnik
 /\     No Word docs in email                     TU Darmstadt
       Respect for open standards              Ruf +49-6151-16-3281

From: Thomas Carlson <tcarlson@myback40.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: port-mac68k/37474: After installing a system, booting into it, and mounting /, I get a message saying that the magic numbers don't match upon reboot.
Date: Tue, 11 Dec 2007 05:53:55 -0700

 On Dec 10, 2007, at 8:25 AM, Hauke Fath wrote:
 >  Okay... I cranked up a Macintosh IIvx (8 MB RAM):
 >
 >  - partitioned A/UX root&usr / A/UX swap / Macintosh HFS
 >  - got the latest Mkfs 1.47 and Installer 1.1h from a NetBSD 4rc5
 >  snapshot of today
 >  - ran Mkfs on the root&usr partition
 >  - ran the Installer with netbsd_GENERICSBC.tgz, base.tgz and etc.tgz 
 > (70 min)
 >  - made the devices in the Installer
 >  - booted to single user, ran 'fsck -fp /dev/rsd0a' to be sure
 >  - After 'mount -uw /' and editing /etc/rc.conf the box booted to
 >  multi user mode just fine
 >  - Because the Installer's list of device files is a bit outdated, you
 >  should run MAKEDEV all in /dev

 Thanks, first of all, for going to all the trouble of installing NetBSD 
 4rc5 on your machine using the traditional method.

 I started from scratch with my Powerbook 180.  After first removing the 
 SCSI-ethernet bridge, I reinstalled everything, including the 
 GENERICSBC kernel, and followed your instructions to the letter  When I 
 tried to boot into multi-user mode, however, I got the same message at 
 launch that I had before:

 Booting...
 Magic numbers do not match -- Improper UFS partition.
 Could not open kernel "netbsd".

 Then I tried to boot into the system using the GENERICSBC kernel on the 
 Mac partition and got a message:

 cannot mount root, error = 79

 Could this have to do with the hard drive that I'm using?  It's an 
 Apple 1.3GB ATA drive piggybacked on a SCSI converter card.

 Tom

From: Thomas Carlson <tcarlson@myback40.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: port-mac68k/37474: After installing a system, booting into it, and mounting /, I get a message saying that the magic numbers don't match upon reboot.
Date: Tue, 11 Dec 2007 05:56:53 -0700

 On Dec 10, 2007, at 8:25 AM, Hauke Fath wrote:
 >  Okay... I cranked up a Macintosh IIvx (8 MB RAM):
 >
 >  - partitioned A/UX root&usr / A/UX swap / Macintosh HFS
 >  - got the latest Mkfs 1.47 and Installer 1.1h from a NetBSD 4rc5
 >  snapshot of today
 >  - ran Mkfs on the root&usr partition
 >  - ran the Installer with netbsd_GENERICSBC.tgz, base.tgz and etc.tgz 
 > (70 min)
 >  - made the devices in the Installer
 >  - booted to single user, ran 'fsck -fp /dev/rsd0a' to be sure
 >  - After 'mount -uw /' and editing /etc/rc.conf the box booted to
 >  multi user mode just fine
 >  - Because the Installer's list of device files is a bit outdated, you
 >  should run MAKEDEV all in /dev

 Thanks, first of all, for going to all the trouble of installing NetBSD 
 4rc5 on your machine using the traditional method.

 I started from scratch with my Powerbook 180.  After first removing the 
 SCSI-ethernet bridge, I reinstalled everything, including the 
 GENERICSBC kernel, and followed your instructions to the letter  When I 
 tried to boot into multi-user mode, however, I got the same message at 
 launch that I had before:

 Booting...
 Magic numbers do not match -- Improper UFS partition.
 Could not open kernel "netbsd".

 Then I tried to boot into the system using the GENERICSBC kernel on the 
 Mac partition and got a message:

 cannot mount root, error = 79

 Could this have to do with the hard drive that I'm using?  It's an 
 Apple 1.3GB ATA drive piggybacked on a SCSI converter card.

 Tom

From: Hauke Fath <hf@spg.tu-darmstadt.de>
To: gnats-bugs@NetBSD.org
Cc: port-mac68k-maintainer@NetBSD.org, gnats-admin@NetBSD.org,
	tcarlson@myback40.com, Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
Subject: Re: port-mac68k/37474: After installing a system, booting into
 it, and mounting /, I get a message saying that the magic numbers don't
 match upon reboot.
Date: Tue, 11 Dec 2007 16:21:27 +0100

 At 12:55 Uhr +0000 11.12.2007, Thomas Carlson wrote:
 >  Booting...
 >  Magic numbers do not match -- Improper UFS partition.
 >  Could not open kernel "netbsd".
 >
 >  Then I tried to boot into the system using the GENERICSBC kernel on the
 >  Mac partition and got a message:
 >
 >  cannot mount root, error = 79
 >
 >  Could this have to do with the hard drive that I'm using?  It's an
 >  Apple 1.3GB ATA drive piggybacked on a SCSI converter card.

 Interesting... yours is the first report of somebody trying to 
 install NetBSD/mac68k on such a drive. While there may be 
 incompatibilities on the SCSI level... how big is your root 
 partition? I dimly recall some of the old MacOS based tools having 
 issues with accessing partitions beyond 1 GB. That's why I usually 
 put the NetBSD partitions first.

 	hauke


 -- 
       The ASCII Ribbon Campaign                    Hauke Fath
 ()     No HTML/RTF in email            Institut für Nachrichtentechnik
 /\     No Word docs in email                     TU Darmstadt
       Respect for open standards              Ruf +49-6151-16-3281

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.