From owner-freebsd-bugs@FreeBSD.ORG Fri Dec 6 06:00:01 2013 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 51484775 for ; Fri, 6 Dec 2013 06:00:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2CB761EB5 for ; Fri, 6 Dec 2013 06:00:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id rB6600eV050070 for ; Fri, 6 Dec 2013 06:00:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rB6600al050069; Fri, 6 Dec 2013 06:00:00 GMT (envelope-from gnats) Resent-Date: Fri, 6 Dec 2013 06:00:00 GMT Resent-Message-Id: <201312060600.rB6600al050069@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Karl Pielorz Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7583673B for ; Fri, 6 Dec 2013 05:59:20 +0000 (UTC) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 47FD51EAC for ; Fri, 6 Dec 2013 05:59:20 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id rB65xJXZ062671 for ; Fri, 6 Dec 2013 05:59:19 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id rB65xJKO062670; Fri, 6 Dec 2013 05:59:19 GMT (envelope-from nobody) Message-Id: <201312060559.rB65xJKO062670@oldred.freebsd.org> Date: Fri, 6 Dec 2013 05:59:19 GMT From: Karl Pielorz To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: kern/184530: Booting FreeBSD 10.0-BETA4 / 11-CURRENT fails under Parallels on OSX with empty virtual DVDROM X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Dec 2013 06:00:01 -0000 >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: