VirtualBox

Opened 16 years ago

Last modified 9 years ago

#1570 closed defect

Errors using rawdisk access - Vista64 Host, Linux Guest — at Initial Version

Reported by: Scott Owned by:
Component: virtual disk Version: VirtualBox 1.6.0
Keywords: rawdisk, Cc:
Guest type: Linux Host type: Windows

Description

Summary:

  1. After creating a rawdisk image either full disk or per-partition, the guest system throws a continuing set of Buffer I/O errors, making the raw partition unusable.

Setup:

  1. Vista Ultimate 64 bit edition, w/ Virtualbox 1.6 amd64 installed. When installing, I installed as administrator (right click and run-as-admin on install file). I also have to run Virtualbox and any command line shells in Vista as administrator to get the rawdisk access at all. Guest is Ubuntu 8.04 server x86.
  2. Intel processor VIIV, 2GB RAM. Primary hard drive SATA, second hard drive IDE. Both were accessible directly from Vista with no problems, and both were also accessible normally from an Ubuntu Live CD (amd64) with no errors. Repartitioned the IDE drive and still got the same results.
  3. To enable rawdisk access, I opened up device manager, selected show devices by connection and show hidden devices, then found the appropriate 'Generic Volume' entries under Volume Manager and selected disable for each partition to unmount them from Vista. Successfully created rawdisk .vmdk file with the following (second partition on my primary SATA drive):
    VBoxManage.exe internalcommands createrawvmdk -filename C:\.VirtualBox\VDI\second.vmdk -rawdisk \.\PhysicalDrive0 -partitions 2 -register
    
    I also used the same command to create full disk access on the second (IDE) drive and received the same end results.

Results:

  1. The drives show up in /proc/partitions correctly. I can mount them and do some file operations, but each time, I get the following errors both on the console and in dmesg:
    [ 1232.134243] ata1.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
    [ 1232.134739] ata1.01: BMDMA stat 0x64
    [ 1232.135144] ata1.01: cmd 35/00:08:88:e2:39/00:00:21:00:00/f0 tag 0 dma 4096 out
    [ 1232.135157]          res 41/10:08:88:e2:39/10:00:21:00:00/f0 Emask 0x81 (invalid argument)
    [ 1232.135859] ata1.01: status: { DRDY ERR }
    [ 1232.136349] ata1.01: error: { IDNF }
    [ 1232.138546] ata1.00: configured for MWDMA2
    [ 1232.139200] ata1.01: configured for MWDMA2
    [ 1232.139229] sd 0:0:1:0: [sdb] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK
    [ 1232.139248] sd 0:0:1:0: [sdb] Sense Key : Aborted Command [current] [descriptor]
    [ 1232.139270] Descriptor sense data with sense descriptors (in hex):
    [ 1232.139284]         72 0b 14 00 00 00 00 0c 00 0a 80 00 00 00 00 00
    [ 1232.139325]         21 39 e2 88
    [ 1232.139344] sd 0:0:1:0: [sdb] Add. Sense: Recorded entity not found
    [ 1232.139364] end_request: I/O error, dev sdb, sector 557441672
    [ 1232.139429] ata1: EH complete
    [ 1232.139844] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
    
    
  1. The raw drives are unusable because of the continuing stream of error messages. Also sometimes after the drives are unmounted, any changes I made are not recorded. I've tried recreating the filesystems thinking that the IDE drive had been created a few years ago, but still got the same results.

I've attached several configuration and log files. Let me know if you need more information.

Thanks! Scott

Change History (3)

by Scott, 16 years ago

Attachment: VirtualBox.xml added

by Scott, 16 years ago

Attachment: test.xml added

Virutal Machine config test.xml

by Scott, 16 years ago

Attachment: VBox.log added

VBox.log

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use