From nobody@FreeBSD.org  Thu Aug  5 05:53:42 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id A824C106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  5 Aug 2010 05:53:42 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 96DC88FC1D
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  5 Aug 2010 05:53:42 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o755rftt097477
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 5 Aug 2010 05:53:41 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o755rfCL097467;
	Thu, 5 Aug 2010 05:53:41 GMT
	(envelope-from nobody)
Message-Id: <201008050553.o755rfCL097467@www.freebsd.org>
Date: Thu, 5 Aug 2010 05:53:41 GMT
From: Phil Kernick <phil.kernick@cqrconsulting.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: FreeBSD 8.1-RELEASE kernel panic on Windows 7 Virtual PC
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         149308
>Category:       kern
>Synopsis:       [ata] 8.1-RELEASE kernel panic on Windows 7 Virtual PC
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 05 06:00:17 UTC 2010
>Closed-Date:    
>Last-Modified:  Thu Sep 30 05:50:01 UTC 2010
>Originator:     Phil Kernick
>Release:        8.1-RELEASE
>Organization:
CQR Consulting
>Environment:
Not possible.  FreeBSD will not boot.
>Description:
FreeBSD 8.1-RELEASE will not run on Virtual PC on Windows 7 Ultimate x64.

It generates a kernel panic during boot.


ad0: 8095MB <Virtual HD 1. 1> at ata0-master WDMA2
acd0: DVDROM <Virual CD/> at ata1-master PIO4
ata1: WARNING - PREVENT_ALLOW read data overrun 18>0


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x1a4
fault code              = supervisor read, page not present
instruction pointer     = 0x20:0xc088ec3f
stack pointer           = 0x28:0xc2e8cbe4
frame pointer           = 0x28:0xc2e7cbfc
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 12 (swi6: task queue)
trap number             = 12
panic: page fault
cpuid = 0
Uptime: 1s

>How-To-Repeat:
Create a new Virtual Machine, leave all the defaults, install FreeBSD 8.1.

Installation goes fine.  Reboot.

panic: page fault
cpuid = 0
Uptime: 1s


I've tried safe boot, single user boot, ACPI disabled, and it makes no difference.  It can't run when booting from a virtual hard drive.

>Fix:
None known.

>Release-Note:
>Audit-Trail:

From: "Phil Kernick" <phil.kernick@cqrconsulting.com>
To: <bug-followup@FreeBSD.org>
Cc:  
Subject: Re: kern/149308: FreeBSD 8.1-RELEASE kernel panic on Windows 7 Virtual PC
Date: Thu, 5 Aug 2010 16:38:32 +0930

 Workaround:
 
 Enter the virtual BIOS (DEL during boot)
 Advanced / IDE Configuration / Primary IDE Channel
   Block (Multi-Sector Transfer) [Disabled]
   32Bit Data Transfer           [Disabled]
 
 After disabling these two settings, FreeBSD 8.1-RELEASE boots.
 
 --
 CQR Consulting                          Ph:  +61 8 8364 5881
 196 Fullarton Rd                        Mob: +61 416 176 835
 Dulwich SA 5065                         Fax: +61 8 8364 6889
 www.cqrconsulting.com
 
 Independent Information Security Specialists
 ISO/IEC 27001 Certified
 
 IMPORTANT:  This email and any file attachments is intended only the
 persons to whom it is addressed and its content is not intended for use
 by any other persons.  If you have received this email in error please
 notify us immediately and delete the message from your computer.  The
 sender cannot guarantee that this email or any attachment to it is free
 of malicious code.  It is your responsibility to ensure that appropriate
 measures are taken to protect against such code.
 

From: Phil Kernick <phil@kernick.org>
To: bug-followup@FreeBSD.org, phil.kernick@cqrconsulting.com
Cc:  
Subject: Re: kern/149308: [ata] 8.1-RELEASE kernel panic on Windows 7 Virtual
 PC
Date: Thu, 30 Sep 2010 14:59:24 +0930

 Changing the advanced BIOS settings as described still doesn't make it 
 boot reliably.  Sometimes it will, mostly it kernel panics.
>Unformatted:
