LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 12-09-2010, 11:54 AM   #1
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,719

Rep: Reputation: 68
Problems reading /dev/dvd


F14/KDE

Trying to play Video DVD on Two different Netbooks with Two different external USB DVD drives.

Two different Video DVD's and I get the Same Error message;

Playback failure:
DVDRead could not open the disc "/dev/dvd".
Your input can't be opened:
VLC is unable to open the MRL 'dvd:///dev/dvd'. Check the log for details.

Tried the Mplayer and Xine and have the same problems.

Both Netbooks have played the same DVD's about a week ago ,but not now.

Both video DVD's will play without any Errors on standard Laptop with a CD/DVD drive internally, With Fedora 14.



/var/log/messages

Dec 8 15:54:38 kitty kernel: [23164.753224] sr 6:0:0:0: [sr0] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
Dec 8 15:54:38 kitty kernel: [23164.753236] sr 6:0:0:0: [sr0] Sense Key : Illegal Request [current]
Dec 8 15:54:38 kitty kernel: [23164.753246] sr 6:0:0:0: [sr0] Add. Sense: Read of scrambled sector without authentication
Dec 8 15:54:38 kitty kernel: [23164.753259] sr 6:0:0:0: [sr0] CDB: Read(10): 28 00 00 00 04 00 00 00 02 00 00 00
Dec 8 15:54:38 kitty kernel: [23164.753282] end_request: I/O error, dev sr0, sector 4096
Dec 8 15:54:38 kitty kernel: [23164.753293] Buffer I/O error on device sr0, logical block 512
Dec 8 15:54:38 kitty kernel: [23164.854491] sr 6:0:0:0: [sr0] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
Dec 8 15:54:38 kitty kernel: [23164.854512] sr 6:0:0:0: [sr0] Sense Key : Illegal Request [current]
Dec 8 15:54:38 kitty kernel: [23164.854532] sr 6:0:0:0: [sr0] Add. Sense: Read of scrambled sector without authentication
Dec 8 15:54:38 kitty kernel: [23164.854558] sr 6:0:0:0: [sr0] CDB: Read(10): 28 00 00 00 04 00 00 00 02 00 00 00
Dec 8 15:54:38 kitty kernel: [23164.854603] end_request: I/O error, dev sr0, sector 4096
Dec 8 15:54:38 kitty kernel: [23164.854622] Buffer I/O error on device sr0, logical block 512
Dec 8 15:54:38 kitty kernel: [23165.006120] sr 6:0:0:0: [sr0] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
Dec 8 15:54:38 kitty kernel: [23165.006140] sr 6:0:0:0: [sr0] Sense Key : Illegal Request [current]
Dec 8 15:54:38 kitty kernel: [23165.006160] sr 6:0:0:0: [sr0] Add. Sense: Read of scrambled sector without authentication
Dec 8 15:54:38 kitty kernel: [23165.006186] sr 6:0:0:0: [sr0] CDB: Read(10): 28 00 00 00 04 00 00 00 02 00 00 00
Dec 8 15:54:38 kitty kernel: [23165.006230] end_request: I/O error, dev sr0, sector 4096
Dec 8 15:54:38 kitty kernel: [23165.006247] Buffer I/O error on device sr0, logical block 512
 
Old 12-09-2010, 12:28 PM   #2
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
boot your system then plug in then plug in the usb dvd then open a console and type dmesg see where the sr0, sr1,etc is being loaded. your system should be mounting the device in the /media folder.
also after plugging it in type lsusb and you should see the hardware. for some reason it is not making the link /dev/srX /media/dvd or cdrom etc.
please make sure user has plugdev and and audio and video in there group
 
Old 12-09-2010, 02:43 PM   #3
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,719

Original Poster
Rep: Reputation: 68
What command would I do to check this ? :

"please make sure user has plugdev and and audio and video in there group"


lsusb

Bus 001 Device 005: ID 054c:036d Sony Corp.




dmesg

148.722070] fuse init (API version 7.14)
[ 148.827800] SELinux: initialized (dev fusectl, type fusectl), uses genfs_contexts
[ 149.920867] SELinux: initialized (dev fuse, type fuse), uses genfs_contexts
[ 237.341136] usb 1-3: new high speed USB device using ehci_hcd and address 5
[ 237.456764] usb 1-3: New USB device found, idVendor=054c, idProduct=036d
[ 237.456777] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 237.456788] usb 1-3: Product: DRX-S70U-R
[ 237.456796] usb 1-3: Manufacturer: Sony
[ 237.456803] usb 1-3: SerialNumber: DRXS70URMP200012F3A
[ 237.467978] scsi5 : usb-storage 1-3:1.0
[ 238.471508] scsi 5:0:0:0: CD-ROM SONY DVD RW DRX-S70U DJ07 PQ: 0 ANSI: 0
[ 238.479178] sr0: scsi3-mmc drive: 62x/62x writer dvd-ram cd/rw xa/form2 cdda tray
[ 238.479196] Uniform CD-ROM driver Revision: 3.20
[ 238.491641] sr 5:0:0:0: Attached scsi CD-ROM sr0
[ 238.493278] sr 5:0:0:0: Attached scsi generic sg2 type 5
[ 241.162199] sr 5:0:0:0: [sr0] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 241.162212] sr 5:0:0:0: [sr0] Sense Key : Illegal Request [current]
[ 241.162225] sr 5:0:0:0: [sr0] Add. Sense: Read of scrambled sector without authentication
[ 241.162243] sr 5:0:0:0: [sr0] CDB: Read(10): 28 00 00 00 04 00 00 00 02 00
[ 241.162300] end_request: I/O error, dev sr0, sector 4096
[ 241.162312] Buffer I/O error on device sr0, logical block 512
[ 241.264415] sr 5:0:0:0: [sr0] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 241.264430] sr 5:0:0:0: [sr0] Sense Key : Illegal Request [current]
[ 241.264445] sr 5:0:0:0: [sr0] Add. Sense: Read of scrambled sector without authentication
[ 241.264463] sr 5:0:0:0: [sr0] CDB: Read(10): 28 00 00 00 04 00 00 00 02 00
[ 241.264492] end_request: I/O error, dev sr0, sector 4096
[ 241.264506] Buffer I/O error on device sr0, logical block 512
[ 242.029342] sr 5:0:0:0: [sr0] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 242.029356] sr 5:0:0:0: [sr0] Sense Key : Illegal Request [current]
[ 242.029369] sr 5:0:0:0: [sr0] Add. Sense: Read of scrambled sector without authentication
[ 242.029386] sr 5:0:0:0: [sr0] CDB: Read(10): 28 00 00 00 04 00 00 00 02 00
[ 242.029412] end_request: I/O error, dev sr0, sector 4096
[ 242.029426] Buffer I/O error on device sr0, logical block 512
[ 242.156325] sr 5:0:0:0: [sr0] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 242.156339] sr 5:0:0:0: [sr0] Sense Key : Illegal Request [current]
[ 242.156353] sr 5:0:0:0: [sr0] Add. Sense: Read of scrambled sector without authentication
[ 242.156371] sr 5:0:0:0: [sr0] CDB: Read(10): 28 00 00 00 04 00 00 00 02 00
[ 242.156398] end_request: I/O error, dev sr0, sector 4096
[ 242.156411] Buffer I/O error on device sr0, logical block 512
[ 242.384980] sr 5:0:0:0: [sr0] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 242.384991] sr 5:0:0:0: [sr0] Sense Key : Illegal Request [current]
[ 242.385001] sr 5:0:0:0: [sr0] Add. Sense: Read of scrambled sector without authentication
[ 242.385014] sr 5:0:0:0: [sr0] CDB: Read(10): 28 00 00 00 04 00 00 00 02 00
[ 242.385034] end_request: I/O error, dev sr0, sector 4096
[ 242.385044] Buffer I/O error on device sr0, logical block 512

Last edited by mickeyboa; 12-09-2010 at 02:45 PM.
 
Old 12-10-2010, 10:37 AM   #4
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
Quote:
[ 241.162212] sr 5:0:0:0: [sr0] Sense Key : Illegal Request [current]
[ 241.162225] sr 5:0:0:0: [sr0] Add. Sense: Read of scrambled sector without authentication
what happens when you are logged in as root.
in kde it is in user manager I use only the old cento's and it is different from FC14.
But vanilla kde. it is in Kmenu settings or kmenu >applications > system > user-manger. select the user add the the privileges to there groups. needed.
and another thing you do know that FC14 default install does not have the programs to play video dvd. You will have to install other third party linux software gstreamer good, bad, and ugly ffmpeg make sure you have libdvdread. The read out is a HAL program that allows you to use hardware devices per permission.

Last edited by Drakeo; 12-10-2010 at 11:07 AM.
 
Old 12-10-2010, 11:29 AM   #5
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,719

Original Poster
Rep: Reputation: 68
VLC, xine won't play in root.

In User Manager in Properties > Group Users > Select the users to join this group:

The User Michael is checked

There is other users that are not checked :

dbus
ftp
games
haldaemon
ssh

and many more are not checked only user michael is.

Is this what you were referring to ?
 
Old 12-11-2010, 07:04 PM   #6
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
I guess you need to stop hal and try to mount the drive. you have tried cdroms and dvd. let me know.
 
Old 12-12-2010, 08:05 AM   #7
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,719

Original Poster
Rep: Reputation: 68
Solved !

The problem was that if you don't have a USB External CD/DVD drive connected to a Mini-Netbook when doing a Fedora install VLC will set by default a DVD to DVD=/dev/dvd instead of DVD=/dev/sr0 and just MAYBE it will play a Video DVD. But 90% of time it won't

By having a USB External connected to your Mini-Netbook during the Fedora install VLC will be auto detected as DVD=/dev/sr0 .

I check both my PC and full size Laptop that already had a CD/DVD connected and VLC was set to to DVD=/dev/sr0 .

On the Mini-Netbook, I had to make the below changes.

In ~.config/vlc/vlcrc the settings are;

In section: #DVD device (string)
#dvd=/dev/dvd

and I edited as follows:
# DVD device (string)
#dvd=/dev/dvd
dvd=/dev/sr0


Now I can play Videos first and every time.

I would imagine if I were to use Mplayer or Xine I would have to find and make settings to DVD=/dev/sr0 because I didn't have the External CD/DVD connected at time of Fedora install.
 
Old 12-13-2010, 03:34 PM   #8
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
cool I had that problem back in 2004 with Slackware 10.2 on the 2.4 kernel and the new 2.6 kernel that just came out. seems it is in the scripts.
mark it solved
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
My dvd drive is not mounting and reading. No udf based dvd is not reading. anjanatsuse Linux - Newbie 1 10-15-2010 12:54 PM
Problems reading and writing CD or DVD atkfossiili Slackware 4 08-03-2007 07:22 AM
suse 10.2 reading writing DVD problems edvdrmark SUSE / openSUSE 3 12-30-2006 06:24 AM
Newbie help needed: DVD Reading Problems dj_stkora Linux - Hardware 1 03-04-2006 12:48 AM
I'm having problems with reading DVD+R in Red Hat 8.0 terrybiggs Linux - Hardware 4 11-02-2003 09:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 02:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration