VirtualBox 3.2.6 FreeBSD host/guest acd0: error issuing ATA PACKET command

Laktionov Stanislav plain.ssl at gmail.com
Sun Jul 25 12:59:02 UTC 2010


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 at 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 at vw-freebsd.homelan-d:/usr/obj/usr/src/sys/PLAIN_KERN_000  i386

plain at 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 at 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:  <none>

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 </boot/mfsroot> 4423680 bytes at 0xc0f6dfe0
ad0: 1536MB <VBOX HARDDISK 1.0> at ata0-master UDMA33
ad1: 4096MB <VBOX HARDDISK 1.0> at ata0-slave UDMA33
ad2: 1536MB <VBOX HARDDISK 1.0> at ata1-master UDMA33
acd0: timeout waiting to issue command
acd0: error issuing ATA PACKET command
... repeats last 2 lines few times ...
acd0: CDROM <VBOX CD-ROM/1.0> 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 <plain at plain.org.ua>


More information about the freebsd-emulation mailing list