Problems accessing cdrom drive

From ThinkWiki
Jump to: navigation, search


There are problems with DVD drive model "DVD-RAM UJ862A". It will have problems at random times. Either when mounting or it will allow you to mount but will fail when reading data. In dmesg you will get errors like:

ata2.00: exception Emask 0x2 SAct 0x0 SErr 0x1000400 action 0x6 frozen


ata2: hard resetting link

sr 1:0:0:0: [sr0] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE

sr 1:0:0:0: [sr0] Sense Key : Illegal Request [current]

sr 1:0:0:0: [sr0] Add. Sense: Media region code is mismatched to logical unit region

sr 1:0:0:0: [sr0] CDB: Read(10): 28 00 00 00 03 8e 00 00 10 00

end_request: I/O error, dev sr0, sector 3640

Buffer I/O error on device sr0, logical block 455

Buffer I/O error on device sr0, logical block 456

Buffer I/O error on device sr0, logical block 457


The way to fix this is to make sure that the region on the dvd drive is correct # command regionset /dev/sr0

regionset version 0.1 -- reads/sets region code on DVD drives

Current Region Code settings:

RPC Phase: II

type: NONE

vendor resets available: 4

user controlled changes resets available: 5

drive plays discs from region(s):, mask=0xFF

Would you like to change the region setting of your drive? [y/n]:y

Enter the new region number for your drive [1..8]:1

New mask: 0xFFFFFFFE, correct? [y/n]:y

Region code set successfully!

# command

Personal tools