kern/184530: Booting FreeBSD 10.0-BETA4 / 11-CURRENT fails under Parallels on OSX with empty virtual DVDROM

Karl Pielorz kpielorz at tdx.co.uk
Fri Dec 6 06:00:01 UTC 2013


>Number:         184530
>Category:       kern
>Synopsis:       Booting FreeBSD 10.0-BETA4 / 11-CURRENT fails under Parallels on OSX with empty virtual DVDROM
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 06 06:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Karl Pielorz
>Release:        11-CURRENT
>Organization:
>Environment:
FreeBSD  11.0-CURRENT FreeBSD 11.0-CURRENT #2 r259015: Fri Dec   6 05:01:36 UTC 2013     root@:/usr/obj/usr/src/sys/GENERIC   adm64
>Description:
Both FreeBSD 10.0-BETA4 and 11-CURRENT both fail at boot time if you have an empty virtual DVDROM attached to the system (this doesn't even have to be marked as 'Connected' in Parallels - just present in the virtual machine hardware list).

The DVDROM probes as:

cd0 at ahcich1 bus 0 scbus3 target 0 lun 0
cd0: < Virtual DVD-ROM R103 > Removable CD-ROM SCSI-0 device
cd0: Serial Number - xxxxxxx
cd0: 150.000MB/s transfers (SATA 1.x, UDMA1, ATAPI 12bytes, PIO 8192bytes)
cd0: cd present [1 x 0 byte records]
random: unblocking device.
Netvsc initializing... SMP: AP CPU #1 Launched!
SMP: AP CPU #2 Launched!
SMP: AP CPU #3 Launched!
WARNING: WITNESS option enabled, expect reduced performance.

With no 'media' in the virtual drive - that's as far as you'll get booting - after a long time out you'll then get the following logged:

ahcich1: Timeout on slot 0 port 0
ahcich1: is 00000000 cs 00000000 ss 00000000 rs 00000003 tfd 2051 serr 00000000 cmd 1000c013

That just repeats.

If you *have* virtual media in the DVDROM drive the system sometimes throws one of the timeouts similar to the above - but will boot.

With media in the drive - the kernel output at boot shows:

  cd0: cd present [1306092 x 2048 byte records]

Without media that bit shows as:

  cd0: cd present [1 x 0 byte records]  <---- Probably not good!

>How-To-Repeat:
Create a virtual machine under Parallels 9 on OSX with a virtual DVDROM (a default 'new machine' will do this) - and boot a 10.0-BETA4 or 11-CURRENT kernel.
>Fix:
Don't boot the virtual machine with a virtual DVDROM attached **and no media** in the drive.

If you have no 'media' in the drive **remove the drive** from the Parallels virtual machine configuration - unchecking the 'Connected' box is not enough to fix the issue - you have to remove it from the virtual machine hardware list with the '-' button.

I realise this is probably going to be a low priority 'bug' - but at least it's now documented incase someone else runs into the issue (I couldn't find any mention of this on the lists / search engines)

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list