VirtualBox

Ticket #2795 (closed defect: fixed)

Opened 5 years ago

Last modified 4 years ago

Passthrough does not work anymore in 2.1.0 => Fixed in SVN

Reported by: oxmosys Owned by:
Priority: major Component: DVD
Version: VirtualBox 2.1.0 Keywords:
Cc: Guest type: other
Host type: Linux

Description

When I enable passthrough for one CD device, the guest operating system does not see any CD drive. If I type F12 at the VirtualBox "BIOS prompt" to tell it to boot CD instead of the Hard drive, it fails saying that no drive is detected. If I disable passthrough, everything start to work correctly again and the guest OS can read the content of the CD in my CD drive.

This feature worked perfectly yesterday with 2.0.4

Change History

comment:1 Changed 5 years ago by Harri

Metoo. If I disable passthrough and restart Virtualbox, then the CD drive is visible in the guest (WinXP), but I still cannot access it. /var/log/kern.log says

:
Dec 25 12:46:01 daffy kernel: [  503.688238] sr 3:0:0:0: [sr0] unaligned transfer
Dec 25 12:46:01 daffy kernel: [  503.688245] Buffer I/O error on device sr0, logical block 64
Dec 25 12:46:01 daffy kernel: [  503.688256] sr 3:0:0:0: [sr0] unaligned transfer
Dec 25 12:46:01 daffy kernel: [  503.688258] Buffer I/O error on device sr0, logical block 65
Dec 25 12:46:01 daffy kernel: [  503.688268] sr 3:0:0:0: [sr0] unaligned transfer
Dec 25 12:46:01 daffy kernel: [  503.688270] Buffer I/O error on device sr0, logical block 66
Dec 25 12:46:01 daffy kernel: [  503.688274] sr 3:0:0:0: [sr0] unaligned transfer
Dec 25 12:46:01 daffy kernel: [  503.688276] Buffer I/O error on device sr0, logical block 67
Dec 25 12:46:01 daffy kernel: [  503.688280] sr 3:0:0:0: [sr0] unaligned transfer
Dec 25 12:46:01 daffy kernel: [  503.688282] Buffer I/O error on device sr0, logical block 68
Dec 25 12:46:01 daffy kernel: [  503.688286] sr 3:0:0:0: [sr0] unaligned transfer
Dec 25 12:46:01 daffy kernel: [  503.688288] Buffer I/O error on device sr0, logical block 69
Dec 25 12:46:01 daffy kernel: [  503.688292] sr 3:0:0:0: [sr0] unaligned transfer
Dec 25 12:46:01 daffy kernel: [  503.688294] Buffer I/O error on device sr0, logical block 70
Dec 25 12:46:01 daffy kernel: [  503.688298] sr 3:0:0:0: [sr0] unaligned transfer
Dec 25 12:46:01 daffy kernel: [  503.688300] Buffer I/O error on device sr0, logical block 71
Dec 25 12:46:01 daffy kernel: [  503.688305] sr 3:0:0:0: [sr0] unaligned transfer
Dec 25 12:46:01 daffy kernel: [  503.688307] Buffer I/O error on device sr0, logical block 64
Dec 25 12:46:01 daffy kernel: [  503.688311] sr 3:0:0:0: [sr0] unaligned transfer
Dec 25 12:46:01 daffy kernel: [  503.688313] Buffer I/O error on device sr0, logical block 65
Dec 25 12:46:01 daffy kernel: [  503.688317] sr 3:0:0:0: [sr0] unaligned transfer
Dec 25 12:46:01 daffy kernel: [  503.688321] sr 3:0:0:0: [sr0] unaligned transfer
Dec 25 12:46:01 daffy kernel: [  503.688325] sr 3:0:0:0: [sr0] unaligned transfer
Dec 25 12:46:01 daffy kernel: [  503.688330] sr 3:0:0:0: [sr0] unaligned transfer
Dec 25 12:46:01 daffy kernel: [  503.688334] sr 3:0:0:0: [sr0] unaligned transfer
Dec 25 12:46:01 daffy kernel: [  503.688338] sr 3:0:0:0: [sr0] unaligned transfer
Dec 25 12:46:01 daffy kernel: [  503.703589] sr 3:0:0:0: [sr0] unaligned transfer
:

If I read the CD to create an iso using dd on Linux, and register the file as a CD drive, then it works, but of course this is just a workaround, and it doesn't match all needs.

Hardware is a Dell XPS M1330 with a Sata dvd drive. Kernel is 2.6.27.10 (amd64). Virtualbox 2.0.6 worked fine.

comment:2 Changed 5 years ago by woelfel

Same here on OpenSuSE 11.1 with VirtualBox 2.1.0. Previous version of VirtualBox worked fine for me (on OpenSuSE 11.0). Here is some info from VBox.log that might be relevant:

00:00:08.720 Display::handleDisplayResize(): uScreenId = 0, pvVRAM=00007f2760224000 w=640 h=480 bpp=0 cbLine=0x140
00:00:10.549 PIIX3 ATA: LUN#0: IDLE IMMEDIATE, CmdIf=0xef (-1 usec ago)
00:00:10.549 PIIX3 ATA: LUN#0: aborting current command
00:00:11.542 PIIX3 ATA: LUN#2: CD-ROM passthrough cmd=0x5a sense=0 ASC=0x0 ASCQ=0x0 VERR_INVALID_POINTER
00:00:11.545 PIIX3 ATA: LUN#2: CD-ROM passthrough cmd=0x5a sense=0 ASC=0x0 ASCQ=0x0 VERR_INVALID_POINTER
00:00:11.546 PIIX3 ATA: LUN#2: CD-ROM passthrough cmd=0x5a sense=0 ASC=0x0 ASCQ=0x0 VERR_INVALID_POINTER
00:00:11.547 PIIX3 ATA: LUN#2: CD-ROM passthrough cmd=0x5a sense=0 ASC=0x0 ASCQ=0x0 VERR_INVALID_POINTER
00:00:11.548 PIIX3 ATA: LUN#2: CD-ROM passthrough cmd=0x5a sense=0 ASC=0x0 ASCQ=0x0 VERR_INVALID_POINTER
00:00:11.550 PIIX3 ATA: LUN#2: CD-ROM passthrough cmd=0x5a sense=0 ASC=0x0 ASCQ=0x0 VERR_INVALID_POINTER
00:00:11.551 PIIX3 ATA: LUN#2: CD-ROM passthrough cmd=0x5a sense=0 ASC=0x0 ASCQ=0x0 VERR_INVALID_POINTER
00:00:11.552 PIIX3 ATA: LUN#2: CD-ROM passthrough cmd=0x5a sense=0 ASC=0x0 ASCQ=0x0 VERR_INVALID_POINTER
00:00:11.553 PIIX3 ATA: LUN#2: CD-ROM passthrough cmd=0x5a sense=0 ASC=0x0 ASCQ=0x0 VERR_INVALID_POINTER
00:00:11.554 PIIX3 ATA: LUN#2: CD-ROM passthrough cmd=0x5a sense=0 ASC=0x0 ASCQ=0x0 VERR_INVALID_POINTER
00:00:11.555 PIIX3 ATA: LUN#2: CD-ROM passthrough cmd=0x12 sense=0 ASC=0x0 ASCQ=0x0 VERR_INVALID_POINTER
00:00:11.556 PIIX3 ATA: LUN#2: CD-ROM passthrough cmd=0x12 sense=0 ASC=0x0 ASCQ=0x0 VERR_INVALID_POINTER
00:00:11.556 PIIX3 ATA: LUN#2: CD-ROM passthrough cmd=0x12 sense=0 ASC=0x0 ASCQ=0x0 VERR_INVALID_POINTER
00:00:11.557 PIIX3 ATA: LUN#2: CD-ROM passthrough cmd=0x12 sense=0 ASC=0x0 ASCQ=0x0 VERR_INVALID_POINTER
00:00:11.558 PIIX3 ATA: LUN#2: CD-ROM passthrough cmd=0x12 sense=0 ASC=0x0 ASCQ=0x0 VERR_INVALID_POINTER

comment:3 follow-up: ↓ 4 Changed 5 years ago by jjazz

I am having this issue on Ubuntu 8.10 AMD64. I did a fresh install, never had previous versions. Log is almost identical to woelfel's so I will only post a single line to illustrate the difference:

00:00:08.884 PIIX3 ATA: LUN#2: CD-ROM passthrough cmd=0x5a sense=12 ASC=0x80 ASCQ=0x7f VERR_INVALID_POINTER

comment:4 in reply to: ↑ 3 Changed 5 years ago by smiley

I have exactly the same problem with identical error messages on Ubuntu 8.10 AMD64.

comment:5 Changed 5 years ago by wulmer

Same here using:

  • Ubuntu 8.10 (i686)
  • Kernel: 2.6.27-9-generic
  • Sun xVM VirtualBox Version 2.1.0

Using a bootable CD-ROM, I get the message in VBox.log:

00:00:04.414 PIIX3 ATA: LUN#2: CD-ROM passthrough cmd=0x28 sense=9 ASC=0x0 ASCQ=0x0 VERR_INVALID_POINTER
00:00:04.414 Guest Log: BIOS: CDROM boot failure code : 0003

comment:6 Changed 5 years ago by frank

  • Summary changed from Passthrough does not work anymore in 2.1.0 to Passthrough does not work anymore in 2.1.0 => Fixed in SVN

Thanks for the report! Fixed in SVN.

comment:7 Changed 5 years ago by sandervl73

  • Status changed from new to closed
  • Resolution set to fixed

comment:8 Changed 5 years ago by oxmosys

I confirm that it is fixed, thank you very much!

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use