Hi everyone,
I'm stuck with a problem I'm having with qemu that google unfortunately does
not provide any satisfactory answers to.I've been trying for weeks to read
video discs under qemu (kvm) and was eventually following this guide to get
some sort of low-level access to my dvd/bd
drive:http://libburnia-project.org/wiki/QemuXorriso
I'm using the same parameters for the dvd drive that were suggested by Thomas
Schmitt on the wiki.When trying to read the video disc on the guest system with
e.g. mplayer, I get the following:
$ mplayer dvd:/// -dvd-device /dev/vda -novideoMPlayer2 UNKNOWN (C) 2000-2012
MPlayer TeamPlaying dvd:///.libdvdread: Using libdvdcss version 1.2.12 for DVD
accessThere are 7 titles on this DVD.There are 1 angles in this DVD title.
libdvdread: Attempting to retrieve all CSS keyslibdvdread: This can take a
_long_ time, please be patient
libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x0000012blibdvdread: Elapsed
time 0libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x0000b65alibdvdread:
Elapsed time 0libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at
0x00011b0dlibdvdread: Elapsed time 0libdvdread: Get key for
/VIDEO_TS/VTS_02_1.VOB at 0x0001a34elibdvdread: Error cracking CSS key for
/VIDEO_TS/VTS_02_1.VOB (0x0001304c)!!libdvdread: Elapsed time 3libdvdread: Get
key for /VIDEO_TS/VTS_03_1.VOB at 0x00213ee4libdvdread: Error cracking CSS key
for /VIDEO_TS/VTS_03_1.VOB (0x0024e61e)!!libdvdread: Elapsed time 0libdvdread:
Found 3 VTS'slibdvdread: Elapsed time 3audio stream: 0 format: ac3 (stereo)
language: unknown aid: 128.number of audio channels on disk: 1.number of
subtitles on disk: 0
MPEG: Missing video stream!? Contact the author, it may be a bug :(Failed to
recognize file format.
Exiting... (End of file)$
The drive is actually being accessed, but some of the low-level driver commands
seem to get messed up.On the guest, I get a whole bunch of dmesg errors of the
kind:[ 581.784723] end_request: I/O error, dev vda, sector 186744[
581.784786] Buffer I/O error on device vda, logical block 46686[ 581.784844]
Buffer I/O error on device vda, logical block 46687[ 581.784900] Buffer I/O
error on device vda, logical block 46688[ 581.784955] Buffer I/O error on
device vda, logical block 46689[ 581.785008] Buffer I/O error on device vda,
logical block 46690[ 581.785061] Buffer I/O error on device vda, logical block
46691[ 581.785114] Buffer I/O error on device vda, logical block 46692[
581.785168] Buffer I/O error on device vda, logical block 46693[ 581.785221]
Buffer I/O error on device vda, logical block 46694[ 583.236837] end_request:
I/O error, dev vda, sector 263928[ 583.266576] end_request: I/O error, dev
vda, sector 263928[ 583.286492] end_request: I/O error, dev vda, sector
263932[ 583.309800] end_request: I/O error, dev vda, sector 263928[
583.339721] end_request: I/O error, dev vda, sector 263928
And on the host, the dmesg log contains errors like:[1225926.808663] sr
9:0:0:0: [sr0] Result: hostbyte=0x00 driverbyte=0x08[1225926.808668] sr
9:0:0:0: [sr0] Sense Key : 0x5 [current] [1225926.808673] sr 9:0:0:0: [sr0]
ASC=0x6f ASCQ=0x3[1225926.808676] sr 9:0:0:0: [sr0] CDB: cdb[0]=0x28: 28 00 00
00 b6 5e 00 00 10 00[1225926.808685] end_request: I/O error, dev sr0, sector
186744[1225926.810071] Buffer I/O error on device sr0, logical block
46686[1225926.811469] Buffer I/O error on device sr0, logical block
46687[1225926.812837] Buffer I/O error on device sr0, logical block
46688[1225926.812839] Buffer I/O error on device sr0, logical block
46689[1225926.812841] Buffer I/O error on device sr0, logical block
46690[1225926.812844] Buffer I/O error on device sr0, logical block
46691[1225926.812846] Buffer I/O error on device sr0, logical block
46692[1225926.812848] Buffer I/O error on device sr0, logical block
46693[1225926.812850] Buffer I/O error on device sr0, logical block
46694[1225926.828589] sr 9:0:0:0: [sr0] Result: hostbyte=0x00
driverbyte=0x08[1225926.828594] sr 9:0:0:0: [sr0] Sense Key : 0x5 [current]
[1225926.828598] sr 9:0:0:0: [sr0] ASC=0x6f ASCQ=0x3[1225926.828602] sr
9:0:0:0: [sr0] CDB: cdb[0]=0x28: 28 00 00 00 b6 6e 00 00 20 00[1225926.828610]
end_request: I/O error, dev sr0, sector 186808[1225926.878777] sr 9:0:0:0:
[sr0] Result: hostbyte=0x00 driverbyte=0x08[1225926.878783] sr 9:0:0:0: [sr0]
Sense Key : 0x5 [current] [1225926.878787] sr 9:0:0:0: [sr0] ASC=0x6f
ASCQ=0x3[1225926.878790] sr 9:0:0:0: [sr0] CDB: cdb[0]=0x28: 28 00 00 00 b6 5e
00 00 02 00[1225926.878798] end_request: I/O error, dev sr0, sector
186744[1225928.317229] sr 9:0:0:0: [sr0] Result: hostbyte=0x00
driverbyte=0x08[1225928.317235] sr 9:0:0:0: [sr0] Sense Key : 0x5 [current]
[1225928.317239] sr 9:0:0:0: [sr0] ASC=0x6f ASCQ=0x3[1225928.317242] sr
9:0:0:0: [sr0] CDB: cdb[0]=0x28: 28 00 00 01 01 be 00 00 04 00[1225928.317251]
end_request: I/O error, dev sr0, sector 263928
So, does anyone have a clue why this doesn't work and how I can fix it?Thanks a
lot for your help!Cheers,Dalvik