From sauber@sauber.net  Sun Jun 16 22:50:33 2002
Return-Path: <sauber@sauber.net>
Received: from sauber.net (206.pool6.dsltokyo.att.ne.jp [165.76.173.206])
	by hub.freebsd.org (Postfix) with ESMTP id A713437B411
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 16 Jun 2002 22:50:19 -0700 (PDT)
Received: (from sauber@localhost)
	by sauber.net (8.11.6/8.11.6) id g5H5o9o61864;
	Mon, 17 Jun 2002 14:50:09 +0900 (JST)
	(envelope-from sauber)
Message-Id: <200206170550.g5H5o9o61864@sauber.net>
Date: Mon, 17 Jun 2002 14:50:09 +0900 (JST)
From: Soren Dossing <sauber@netcom.com>
Reply-To: Soren Dossing <sauber@netcom.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: 4.6 does not run as VMware guest OS
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         39394
>Category:       misc
>Synopsis:       4.6 does not run as VMware guest OS
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 16 23:00:13 PDT 2002
>Closed-Date:    Tue Nov 26 15:37:18 PST 2002
>Last-Modified:  Tue Nov 26 15:37:18 PST 2002
>Originator:     Soren Dossing
>Release:        FreeBSD 4.6-RELEASE i386
>Organization:
>Environment:
System: 


	
>Description:
	FreeBSD does not install when running as a guest OS under VMware.
        The host OS used is Win2000. Installation method is to mount
        FreeBSD iso image as cdrom device and boot from it. Booting runs
        wthout problems until the "Probing devices, please wait (this can
        take a while)..." part. Here it hangs forever.

        FreeBSD releases 4.5 and sooner installed and ran without such
        problems as VMware guest OS.

        The problems exist in 4.6rc1 and 4.6 RELEASE.
>How-To-Repeat:
	
>Fix:

	


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: roam 
State-Changed-When: Mon Jun 17 01:30:41 PDT 2002 
State-Changed-Why:  
Could you try entering the 'visual userconfig' phase before the 
installation kernel boots, and then disabling some of the devices 
that the kernel will later probe for?  If "stripping down" the kernel 
configuration to only the devices that your virtual system has fixes the 
problem, it would be very helpful if you could then retry the 
installation a couple of times to find out just which devices do cause 
the hang during probing. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=39394 

From: Peter Pentchev <roam@ringlet.net>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: misc/39394: 4.6 does not run as VMware guest OS
Date: Mon, 17 Jun 2002 12:14:05 +0300

 Adding the originator's response to the PR audit trail..
 
 G'luck,
 Peter
 
 -- 
 Peter Pentchev	roam@ringlet.net	roam@FreeBSD.org
 PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
 Key fingerprint	FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
 What would this sentence be like if pi were 3?
 
 ----- Forwarded message from Soren Dossing <sauber@netcom.com> -----
 
 Date: Mon, 17 Jun 2002 18:05:02 +0900 (Tokyo Standard Time)
 From: Soren Dossing <sauber@netcom.com>
 To: roam@FreeBSD.org
 Cc: freebsd-bugs@FreeBSD.org
 Subject: Re: misc/39394: 4.6 does not run as VMware guest OS
 In-Reply-To: <200206170833.g5H8XdI64689@freefall.freebsd.org>
 X-X-Sender: sauber@mail.sauber.net
 X-Virus-Scanned: by Nik's Monitoring Daemon (AMaViS perl-11d <Tu  28 May 2002 12:55:43 EEST>)
 
 Thanks for your suggestion.
 
 I stripped down the kernel to just ata0, fdc0, atkbd0, psm0, sc0, pcic0
 and npx0. I do this by running 'boot -c -v'. This gives lots of debug
 output, When the installations process stops while probing devices, I can
 still use Alt-F2 to see debug. The attached image shows where it stops.
 
 Removing devices does not help.
 
 Soren
 
 ----- End forwarded message -----

From: Seth <seth@psychotic.aberrant.org>
To: freebsd-gnats-submit@FreeBSD.org, sauber@netcom.com
Cc:  
Subject: Re: misc/39394: 4.6 does not run as VMware guest OS
Date: Tue, 18 Jun 2002 14:23:12 -0400

 Just as another data point:
 
 Booting from floppy images (no CD) results in the same behavior:
 stalls at "Probing devices, please wait (this can take a while)..."
 
 Debug screen (Alt-F2) shows the following:
 
 DEBUG: ioctl (3, TIOCCONS, NULL) = 0 (success)
 DEBUG: Loading module if_an.ko (Aironet 4500/4800 802.11 PCMCIA/ISA/PCI card)
 ppc0: parallel port not found.
 DEBUG: Loading module if_txp.ko (3Com 3cR990 (''Typhoon'') PCI Ethernet)
 DEBUG: Loading module if_wi.ko (Lucent WaveLAN/IEEE 802.11 PCMCIA card)
 DEBUG: Can't open PC-card controller /dev/card0
 
 
 

From: sawada@acm.org
To: freebsd-gnats-submit@FreeBSD.org
Cc: sauber@netcom.com, sawada@acm.org
Subject: Re: misc/39394: 4.6 does not run as VMware guest OS
Date: Thu, 20 Jun 2002 16:46:24 +0900

 Hoops, I lost a subject line for tracking. - Akira
 
 ---
 I met exactly same problem, but found a workaround.
 
 In the VMware configuration, remove CD-ROM device or change the CD-ROM
 device from IDE to SCSI. (If you remove it, you may want to add the
 one at at time to install VMware Tools.)
 
 In my observation with -v option for boot, the system hangs just after
 a message;
 DEBUG: deviceTry: Making raw device for /dev/acd0c [117, 0]
 DEBUG: deviceTry: open of /dev/acd0c suceeded on second try.
 
 My environments are;
 - Windows 2000 Professional SP2
 - VMware Workstaion 3.1.1 build-1790 
 - FreeBSD 4.6R
 
 Akira

From: "Paul A. Scott" <pscott@skycoast.us>
To: <freebsd-gnats-submit@freebsd.org>, <sauber@netcom.com>
Cc:  
Subject: Re: misc/39394: 4.6 does not run as VMware guest OS
Date: Sun, 07 Jul 2002 01:55:49 -0700

 I have this exact same problem on Connectix Virtual PC with FreeBSD 4.6
 guest OS. Note that FreeBSD 4.5 and earlier does not hang probing devices
 and will run successfully. Only the 4.6 release has the problem.
 
 Paul A. Scott
 

From: "Paul A. Scott" <pscott@skycoast.us>
To: <freebsd-gnats-submit@freebsd.org>, <sauber@netcom.com>
Cc:  
Subject: Re: misc/39394: 4.6 does not run as VMware guest OS
Date: Sat, 20 Jul 2002 15:51:41 -0700

 All additional attempts to install 4.6 fail:
 
 1) Deleted everything from UserConfig except:
 
    Storage :
      ATA/ATAPI compatible disk controller       ata0     14 0x1f0
      ATA/ATAPI compatible disk controller       ata1     15 0x170
      Floppy disk controller                     fdc0     6  0x3f0
    Network : (empty)
    Communications :
      Parallel Port chipset                      ppc0     7
      8250/16450/16550 Serial port               sio0     4  0x3f8
      8250/16450/16550 Serial port               sio1     3  0x2f8
    Input :
      Keyboard                                   atkbd0   1
      PS/2 Mouse                                 psm0     12
      Syscons console driver                     sc0
    Multimedia : (empty)
    Miscellaneous :
      PC-card controller                         pcic0       0x3e0
      Math coprocessor                           npx0     13 0xf0
 
 2) Followed the 4.6 errata sheet regarding a known problem with CDROM device
 that affected installation.
 
    set hw.ata.ata_dma="1"
    set hw.ata.atapi_dma="1"
    boot
 
 3) Booted from the floppy installation disk. However, could not remove the
 CD-ROM device as I'm not aware of a Virtual PC feature to allow this.
 
 Tried each of these individually and in combination. Installation always
 fails. The last thing "boot -v" always shows is:
 
 DEBUG: deviceTry: Making raw device for /dev/acd0c [117, 0]
 
 Anyone with advice on how to troubleshoot this problem further so early in
 the boot process, please let me know and I'll get on it.
 
 Paul A. Scott
 

From: "Artem 'Zazoobr' Ignatjev" <timon@memphis.mephi.ru>
To: "Paul A. Scott" <pscott@skycoast.us>, bug-followup@FreeBSD.org
Cc:  
Subject: Re: misc/39394: 4.6 does not run as VMware guest OS
Date: Sun, 21 Jul 2002 03:09:22 +0400

 On Sat, Jul 20, 2002 at 04:00:07PM -0700, Paul A. Scott wrote:
 >  All additional attempts to install 4.6 fail:
  In fido7.ru.unix.bsd it's advised to remove usb from virtual machine
  configuration.
 			Sinceherely yours, Artem 'Zazoobr' Ignatjev.

From: "Paul A. Scott" <pscott@skycoast.us>
To: "Artem 'Zazoobr' Ignatjev" <timon@memphis.mephi.ru>,
	<bug-followup@freebsd.org>
Cc:  
Subject: Re: misc/39394: 4.6 does not run as VMware guest OS
Date: Sat, 20 Jul 2002 16:30:58 -0700

 "Artem 'Zazoobr' Ignatjev" <timon@memphis.mephi.ru> wrote:
 > In fido7.ru.unix.bsd it's advised to remove usb from virtual machine
 > configuration. > Sinceherely yours, Artem 'Zazoobr' Ignatjev.
   
 I already did that. Virtual PC has a feature to completely remove USB, but
 this made no difference. Anyway, the problem seems to be related to the acd
 device support. It always hangs on:
 
 DEBUG: deviceTry: attempting to open /dev/acd0c
 DEBUG: deviceTry: Making raw device for /dev/acd0c [117, 0]
 
 
 Keep in mind that this problem ONLY occurs in 4.6-RELEASE and that earlier
 versions, e.g. 4.5, 4.4, etc., are unaffected.
 
 Paul A. Scott
 
 P.S. Prior to the hang as described above, scrolling back on the sysinstall
 virtual tty shows the following just before sysinstall fills the terminal
 screen with a blue background:
 
 acd0: <CntxCorpCD/> DVD-ROM drive at ata1 as master
 acd0:  128KB buffer, PIO4
 acd0: Reads: CD-R, CD-RW, CD-DA, DVD-ROM, DVD-R, DVD-RAM, packet
 acd0: Writes:      
 acd0: Audio: play, 255 volume levels
 acd0: Mechanism: ejectable tray, lock protected
 acd0: Medium: CD-ROM unknown [The FreeBSD 4.6 Disc 1 is loaded - PScott]
 
 However, when the DEBUG virtual tty later reports "making raw device" for
 acd0c, then the machine hangs.
 

From: Stefan Neis <neis@kobil.de>
To: freebsd-gnats-submit@FreeBSD.org, sauber@netcom.com
Cc:  
Subject: Re: misc/39394: 4.6 does not run as VMware guest OS
Date: Tue, 23 Jul 2002 14:03:39 +0200

 	Hi,
 
 > Keep in mind that this problem ONLY occurs in 4.6-RELEASE
 > and that earlier versions, e.g. 4.5, 4.4, etc., are unaffected.
 
 It seems like the problem is still there with 4.6.1 RC2, the
 announced change/fix to some IDE code made me hope the problem
 got fixed, but it apparently didn't. :-(
 
 Stefan Neis

From: "Paul A. Scott" <pscott@skycoast.us>
To: <freebsd-gnats-submit@freebsd.org>, <sauber@netcom.com>
Cc:  
Subject: Re: misc/39394: 4.6 does not run as VMware guest OS
Date: Thu, 15 Aug 2002 20:00:04 -0700

 The new 4.6.2 update release seems to have solved the problem. I downloaded
 the iso cd image, and the installation proceeded without a hitch.
 
 My sincerest thanks to those responsible for fixing the problem. It is quite
 unfortunate however that the 4.6 CD's were pressed with this bug, which
 doesn't give FreeBSD a good name for first time installers and makes me
 think twice about keeping my CD subscription. This isn't the first time my
 CD subscription didn't work until patches became available. Guess I need to
 look into becoming a beta tester :)
 
 Paul
 

From: Soren Dossing <sauber@netcom.com>
To: "Paul A. Scott" <pscott@skycoast.us>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: misc/39394: 4.6 does not run as VMware guest OS
Date: Fri, 16 Aug 2002 18:18:22 +0900 (Tokyo Standard Time)

 I agree with this observation. I consider the problem solved. Furthermore
 4.6.2 appears to run much faster than previous versions in VMWare. Thanks.
 
 Soren
 
 On Thu, 15 Aug 2002, Paul A. Scott wrote:
 
 > The new 4.6.2 update release seems to have solved the problem. I downloaded
 > the iso cd image, and the installation proceeded without a hitch.
 >
 > My sincerest thanks to those responsible for fixing the problem. It is quite
 > unfortunate however that the 4.6 CD's were pressed with this bug, which
 > doesn't give FreeBSD a good name for first time installers and makes me
 > think twice about keeping my CD subscription. This isn't the first time my
 > CD subscription didn't work until patches became available. Guess I need to
 > look into becoming a beta tester :)
 >
 > Paul
 >
 
State-Changed-From-To: feedback->closed 
State-Changed-By: jhb 
State-Changed-When: Tue Nov 26 15:34:40 PST 2002 
State-Changed-Why:  
Closed as the problem has been fixed in 4.7 as noted in the audit trail. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=39394 
>Unformatted:
