| Summary: | 4.6 does not run as VMware guest OS | ||
|---|---|---|---|
| Product: | Base System | Reporter: | sauber <sauber> |
| Component: | misc | Assignee: | freebsd-bugs (Nobody) <bugs> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | 4.6-RELEASE | ||
| Hardware: | Any | ||
| OS: | Any | ||
State Changed From-To: open->feedback 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. 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 ----- 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
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 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 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
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.
"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. 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
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 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 Closed as the problem has been fixed in 4.7 as noted in the audit trail. |
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.