NetBSD Problem Report #43954

From www@NetBSD.org  Fri Oct  8 19:21:07 2010
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id D173763B92A
	for <gnats-bugs@gnats.NetBSD.org>; Fri,  8 Oct 2010 19:21:06 +0000 (UTC)
Message-Id: <20101008192106.46CBF63B908@www.NetBSD.org>
Date: Fri,  8 Oct 2010 19:21:06 +0000 (UTC)
From: mattofransen@gmail.com
Reply-To: mattofransen@gmail.com
To: gnats-bugs@NetBSD.org
Subject: 5.1 RC4 Installation CD doesn't work on IBM R31 - exec /sbin/init: error 2
X-Send-Pr-Version: www-1.0

>Number:         43954
>Category:       port-i386
>Synopsis:       5.1 RC4 Installation CD doesn't work on IBM R31 - exec /sbin/init: error 2
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 08 19:25:00 +0000 2010
>Last-Modified:  Tue Oct 12 20:05:02 +0000 2010
>Originator:     Matto Fransen
>Release:        5.1 RC4 i386
>Organization:
>Environment:
>Description:
See also problem #43065

I downloaded the installation iso from ftp.nl.netbsd.org.

At booting the installation CD (both with and without ACPI) early in the booting process (characters are still white) there is a warning cant load /stand/i386/5.1/modules/something, where "something" is a bunch of garbled characters. The boot process goes on and green characters appear showing bootmessages. It ends with:

...
warning: no /dev/console
exec /sbin/init: error 2
init: trying /sbin/oinit
exec /sbin/oinit: error 2
init: trying /sbin/init.bak
exec /sbin/init.bak: error 2

Running `load miniroot.kmod` before booting gives the same result.

This also happens with the 5.0.2 installation CD. 
The 4.0.1. installation CD works fine on this laptop.

Hardware: IBM Thinkpad R31 with BIOS 1.270 and 256 Mb RAM.
After installing 4.0.1 I did a demsg, see
http://box.matto.nl/downloads/dmesg-r31-netbsd-4.0.1

>How-To-Repeat:
Boot from installation CD where version is 5.0.2 or 5.1 RC4
>Fix:

>Release-Note:

>Audit-Trail:
From: David Holland <dholland-bugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: install/43954: 5.1 RC4 Installation CD doesn't work on IBM R31
 - exec /sbin/init: error 2
Date: Sat, 9 Oct 2010 20:41:21 +0000

 On Fri, Oct 08, 2010 at 07:25:00PM +0000, mattofransen@gmail.com wrote:
  > At booting the installation CD (both with and without ACPI) early
  > in the booting process (characters are still white) there is a
  > warning cant load /stand/i386/5.1/modules/something, where
  > "something" is a bunch of garbled characters. The boot process goes
  > on and green characters appear showing bootmessages. It ends with:

 That seems rather ...broken. Where in the boot sequence does this
 happen? (That is, what are the 1-2 lines before and after it?)

 -- 
 David A. Holland
 dholland@netbsd.org

Responsible-Changed-From-To: install-manager->port-i386-maintainer
Responsible-Changed-By: dholland@NetBSD.org
Responsible-Changed-When: Sun, 10 Oct 2010 02:57:20 +0000
Responsible-Changed-Why:
probably an i386 kernel issue


From: matto fransen <mattofransen@gmail.com>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: install/43954: 5.1 RC4 Installation CD doesn't work on IBM R31 -
 exec /sbin/init: error 2
Date: Sun, 10 Oct 2010 10:01:46 +0200

 Hi,

 On 9 October 2010 22:45, David Holland <dholland-bugs@netbsd.org> wrote:
 > The following reply was made to PR install/43954; it has been noted by GN=
 ATS.
 >
 > From: David Holland <dholland-bugs@netbsd.org>
 > To: gnats-bugs@NetBSD.org
 > Cc:
 > Subject: Re: install/43954: 5.1 RC4 Installation CD doesn't work on IBM R=
 31
 > =A0- exec /sbin/init: error 2
 > Date: Sat, 9 Oct 2010 20:41:21 +0000
 >
 > =A0On Fri, Oct 08, 2010 at 07:25:00PM +0000, mattofransen@gmail.com wrote=
 :
 > =A0> At booting the installation CD (both with and without ACPI) early
 > =A0> in the booting process (characters are still white) there is a
 > =A0> warning cant load /stand/i386/5.1/modules/something, where
 > =A0> "something" is a bunch of garbled characters. The boot process goes
 > =A0> on and green characters appear showing bootmessages. It ends with:
 >
 > =A0That seems rather ...broken. Where in the boot sequence does this
 > =A0happen? (That is, what are the 1-2 lines before and after it?)
 >

 Option 1 will be chosen in 0 seconds
 booting cd0a:netbsd
 10089048+518916+618576 [521152+508996]=3D0xbb283c
 WARNING: couldn't open /stand/i386/5.1/modules/something
 Loading something WARNING: couldn't open /stand/i386/5.1/modules/something

 where "something" is a bunch of garbled characters

 Cheers,

 Matto

From: David Holland <dholland-bugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: install/43954: 5.1 RC4 Installation CD doesn't work on IBM R31
 - exec /sbin/init: error 2
Date: Mon, 11 Oct 2010 02:35:40 +0000

 On Sun, Oct 10, 2010 at 08:05:03AM +0000, matto fransen wrote:
  >  Option 1 will be chosen in 0 seconds
  >  booting cd0a:netbsd
  >  10089048+518916+618576 [521152+508996]=3D0xbb283c
  >  WARNING: couldn't open /stand/i386/5.1/modules/something
  >  Loading something WARNING: couldn't open /stand/i386/5.1/modules/something
  >  
  >  where "something" is a bunch of garbled characters

 Ah, it's from the bootloader.

 Hrm. Does the same CD work in other machines? One possibility is that
 it's corrupted somehow, although that admittedly seems unlikely if you
 see the same behavior from 5.1RC4 and 5.0.2.

 The message should certainly not be garble.

 Does the file /boot.cfg on the CD contain garble? I think you can
 print (text) files from the bootloader but I don't remember how...

 -- 
 David A. Holland
 dholland@netbsd.org

From: Matto Fransen <matto@matto.nl>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: install/43954: 5.1 RC4 Installation CD doesn't work on IBM R31
 - exec /sbin/init: error 2
Date: Mon, 11 Oct 2010 10:27:15 +0200

 --YD3LsXFS42OYHhNZ
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable

 Hi David,

 On Mon, Oct 11, 2010 at 02:40:03AM +0000, David Holland wrote:
 > The following reply was made to PR port-i386/43954; it has been noted by =
 GNATS.
 >=20
 > From: David Holland <dholland-bugs@netbsd.org>
 > To: gnats-bugs@NetBSD.org
 > Cc:=20
 > Subject: Re: install/43954: 5.1 RC4 Installation CD doesn't work on IBM R=
 31
 >  - exec /sbin/init: error 2
 > Date: Mon, 11 Oct 2010 02:35:40 +0000
 >=20
 >  On Sun, Oct 10, 2010 at 08:05:03AM +0000, matto fransen wrote:
 >   >  Option 1 will be chosen in 0 seconds
 >   >  booting cd0a:netbsd
 >   >  10089048+518916+618576 [521152+508996]=3D3D0xbb283c
 >   >  WARNING: couldn't open /stand/i386/5.1/modules/something
 >   >  Loading something WARNING: couldn't open /stand/i386/5.1/modules/som=
 ething
 >   > =20
 >   >  where "something" is a bunch of garbled characters
 > =20
 >  Ah, it's from the bootloader.
 > =20
 >  Hrm. Does the same CD work in other machines? One possibility is that
 >  it's corrupted somehow, although that admittedly seems unlikely if you
 >  see the same behavior from 5.1RC4 and 5.0.2.

 Indeed. =20
 I just tried the CD on a Toshiba Satelitte A200-237, there it works fine.

 >  The message should certainly not be garble.

 >  Does the file /boot.cfg on the CD contain garble? I think you can
 >  print (text) files from the bootloader but I don't remember how...
  =20
 I mounted it on the IBM R31 (running NetBSD 4) with mount /dev/cd0d=20
 and /boot.cfg is flawless. So that seems not to be the problem.

 Cheers,

 Matto

 --YD3LsXFS42OYHhNZ
 Content-Type: application/pgp-signature; name="signature.asc"
 Content-Description: Digital signature
 Content-Disposition: inline

 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.10 (GNU/Linux)

 iEYEARECAAYFAkyyymIACgkQOJ62+7VpM0Ib/QCghUWEJWNm+nHWXgbjKIkkK/mP
 S7cAoIh2t6peddb3Yu9KAy9YzKdi/KHw
 =cvoc
 -----END PGP SIGNATURE-----

 --YD3LsXFS42OYHhNZ--

From: David Holland <dholland-bugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: install/43954: 5.1 RC4 Installation CD doesn't work on IBM R31
 - exec /sbin/init: error 2
Date: Tue, 12 Oct 2010 20:01:02 +0000

 On Mon, Oct 11, 2010 at 08:30:06AM +0000, Matto Fransen wrote:
  >  >  Hrm. Does the same CD work in other machines? One possibility is that
  >  >  it's corrupted somehow, although that admittedly seems unlikely if you
  >  >  see the same behavior from 5.1RC4 and 5.0.2.
  >  
  >  Indeed.
  >  I just tried the CD on a Toshiba Satelitte A200-237, there it works fine.
  >  
  >  >  The message should certainly not be garble.
  >  >  Does the file /boot.cfg on the CD contain garble? I think you can
  >  >  print (text) files from the bootloader but I don't remember how...
  >
  >  I mounted it on the IBM R31 (running NetBSD 4) with mount /dev/cd0d=20
  >  and /boot.cfg is flawless. So that seems not to be the problem.

 That does narrow it down quite a bit; the problem must be in the
 bootloader and it must be related to that specific machine, so it's
 probably some weird BIOS compatibility thing.

 If the bootloader is getting garble back when trying to read the disk,
 I'm surprised it can load a kernel image that's uncorrupted enough to
 finish booting, but maybe it has to do with reading specific areas of
 the CD or something.

 I don't know enough about the details to pursue this any farther
 myself, but hopefully someone else will step in.

 Can you try having the bootloader print /boot.cfg to the console? I
 believe this is possible but I forget how to do it, and I don't really
 want to reboot my desktop right now to go check. :-/  If it comes out
 as garble that'd be highly suggestive. But more likely it won't;
 mysterious problems are rarely cooperative.

 Generic advice (like check for a BIOS update and so on) also applies,
 and if you have BIOS setup options that affect how the BIOS handles
 the cdrom, compatibility modes or whatever, tinkering with them might
 let you bypass the issue.

 -- 
 David A. Holland
 dholland@netbsd.org

>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.