From owner-freebsd-emulation@FreeBSD.ORG Sun Jul 25 12:59:02 2010 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2A2BB1065689 for ; Sun, 25 Jul 2010 12:59:02 +0000 (UTC) (envelope-from plain.ssl@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id B2CCE8FC0C for ; Sun, 25 Jul 2010 12:59:01 +0000 (UTC) Received: by bwz12 with SMTP id 12so2749861bwz.13 for ; Sun, 25 Jul 2010 05:59:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:date:from:to:subject :message-id:x-mailer:mime-version:content-type :content-transfer-encoding; bh=BV5YthvHD1sCMuLku8wrIwikL9BFS/8hTTwsiMX6uoQ=; b=ZhmQLsSkyGYsdcomRQEU1aqPZOt6ki5ajV0Ot+ZV+31BszEJNLkuxH2fSkZwFlPeXC R/gGe2KIQskM23SMMv6IFvqHQta3qIquI+J0pWV12ebe2m07/+mVSxt5H9v+5ILTeWBY UkDZKTR2NtEdyv91CJwmXGTf4cywxwhG0bxbk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:x-mailer:mime-version:content-type :content-transfer-encoding; b=bY7Tq3jgbZ0XLB3neAfZpBj3K9DE16OKVomSDKE3sLAEh356WQB6q30y6ZJUUoimBX BQGVi0Ttja9bRMwnwAZeU6QejGoakniCinr8XMwpz1MqoMNLwsr3jdEB1iQ4cF/sk2/z TLzr4/fUvtiHc2SC/fQ5mJNzftC5Hb7VUhWoM= Received: by 10.204.77.212 with SMTP id h20mr4469793bkk.33.1280060995084; Sun, 25 Jul 2010 05:29:55 -0700 (PDT) Received: from plain.org.ua ([77.90.255.3]) by mx.google.com with ESMTPS id y27sm1947226bkw.2.2010.07.25.05.29.53 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 25 Jul 2010 05:29:54 -0700 (PDT) Received: from [85.198.151.58] (port=33524 helo=localhost) by plain.org.ua with smtp (Exim 4.72 (FreeBSD)) (envelope-from ) id 1Od0BS-000BvQ-Qj for freebsd-emulation@freebsd.org; Sun, 25 Jul 2010 15:19:58 +0300 Date: Sun, 25 Jul 2010 15:19:51 +0300 From: Laktionov Stanislav To: freebsd-emulation@freebsd.org Message-Id: <20100725151951.676c373d.plain@plain.org.ua> X-Mailer: Sylpheed 3.0.2 (GTK+ 2.20.1; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: VirtualBox 3.2.6 FreeBSD host/guest acd0: error issuing ATA PACKET command X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jul 2010 12:59:02 -0000 Hi! Trying to install i386 FreeBSD-8.0 as guest-OS, I've got some trouble, which nature is magical for me. My host operational environment: plain@vw-freebsd $ uname -a FreeBSD vw-freebsd.homelan-d 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Thu Jul 22 04:05:35 EEST 2010 root@vw-freebsd.homelan-d:/usr/obj/usr/src/sys/PLAIN_KERN_000 i386 plain@vw-freebsd $ pkg_info | grep virtual virtualbox-ose-3.2.6 A general-purpose full virtualizer for x86 hardware virtualbox-ose-kmod-3.2.6 VirtualBox kernel module for FreeBSD Virtual machine config: --- start of config --- plain@vw-freebsd $ VBoxManage showvminfo FBSD_test Oracle VM VirtualBox Command Line Management Interface Version 3.2.6_OSE (C) 2005-2010 Oracle Corporation All rights reserved. Name: FBSD_test Guest OS: FreeBSD UUID: f7f6e092-853e-4a0b-80fb-6d873794950d Config file: /home/plain/.VirtualBox/Machines/FBSD_test/FBSD_test.xml Hardware UUID: f7f6e092-853e-4a0b-80fb-6d873794950d Memory size: 128MB Page Fusion: off VRAM size: 2MB HPET: off Number of CPUs: 1 Synthetic Cpu: off CPUID overrides: None Boot menu mode: message and menu Boot Device (1): Floppy Boot Device (2): DVD Boot Device (3): HardDisk Boot Device (4): Not Assigned ACPI: on IOAPIC: off PAE: off Time offset: 0 ms RTC: UTC Hardw. virt.ext: on Hardw. virt.ext exclusive: on Nested Paging: on Large Pages: off VT-x VPID: on State: powered off (since 2010-07-25T10:48:25.000000000) Monitor count: 1 3D Acceleration: off Teleporter Enabled: off Teleporter Port: 0 Teleporter Address: Teleporter Password: Storage Controller Name (0): ata Storage Controller Type (0): PIIX4 Storage Controller Instance Number (0): 0 Storage Controller Max Port Count (0): 2 Storage Controller Port Count (0): 2 ata (0, 0): /home/plain/.VirtualBox/HardDisks/FBSD_test_sys_1536M.vdi (UUID: 78a2ea3b-377e-4da8-a36e-af30662c1f68) ata (0, 1): /home/plain/.VirtualBox/HardDisks/FBSD_test_local_4096M.vdi (UUID: d647707b-fabd-4d95-8ae2-dcdaf81c8213) ata (1, 0): /home/plain/.VirtualBox/HardDisks/FBSD_test_src_3072M.vdi (UUID: 24212a05-a602-4153-9a8d-4b869fb95c2a) ata (1, 1): /usr/local/stor/plain/!_0_install/OS Images/FreeBSD/8.0/8.0-RELEASE-i386-disc1.iso (UUID: a0abad38-4381-424f-b4f0-4711b362a396) NIC 1: MAC: 080027CF866B, Attachment: Bridged Interface 'rl0', Cable connected: on, Trace: off (file: none), Type: 82540EM, Reported speed: 0 Mbps, Boot priority: 0 NIC 2: disabled NIC 3: disabled NIC 4: disabled NIC 5: disabled NIC 6: disabled NIC 7: disabled NIC 8: disabled Pointing Device: PS/2 Mouse Keyboard Device: PS/2 Keyboard UART 1: disabled UART 2: disabled Audio: disabled Clipboard Mode: Bidirectional USB: disabled Shared folders: Guest: Configured memory balloon size: 0 MB --- end of config --- When I'm starting VirtualBox via `VBoxSDL --startvm FBSD_test`, booting from CD, everything seems to be ok, until initializing ATA-devices. Here is part of console output: md0: Preloaded image 4423680 bytes at 0xc0f6dfe0 ad0: 1536MB at ata0-master UDMA33 ad1: 4096MB at ata0-slave UDMA33 ad2: 1536MB at ata1-master UDMA33 acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command ... repeats last 2 lines few times ... acd0: CDROM at ata1-slave UDMA33 acd0: timeout waiting to issue command acd0: error issuing ATA PACKET command ... repeats last 2 lines few times ... Trying to mount root from ufs:/dev/md0 Then sysinstall is started, but after "Commit" and writing filesystems I got message: Error mounting /dev/acd0 on /dist: Input/output error (5) When changing CD-ROM device to another ata-channel (e.g. ata0-slave), disks after CD-ROM in sequence does not appear in dmesg at all (e.g. no ad2, ad3). Executing 'set hw.ata.atapi_dma=0' in loader prompt also have no effect except UDMA33 changes to PIO4 for CD-ROM. Can you please give any suggestions, why such a behavior can occur? Thanks for your attention! -- Laktionov Stanislav