October 23, 2017, 03:28:51 pm
News:
Pages: [1] 2
Print
Author Topic: error on device sr0  (Read 8635 times)
gen_pete
Newbie
*
Posts: 19


View Profile
« on: April 09, 2009, 11:13:21 pm »

i just installed a slim dvd RW (liteon) drive and i cannot play back .. well anything

ubuntu recognizes the DVD and mounts just fine, but when it comes to play back all i get in syslog is

..... error on device sr0 .....

with a couple of quick google searches it looks like this is a problem isolated with ubuntu but no one has 100% solved it. anyone else run into this issue?

I am using the test repo's fyi ..


thanks
Logged
greyback
Administrator
Hero Member
*****
Posts: 1639


View Profile
« Reply #1 on: April 10, 2009, 07:26:39 am »

Can you try to playback the DVD using another video app like VLC?

Is /dev/sr0 the device node for the DVD drive? (look through dmesg to check). I've not heard of this error before anyway.
-G
Logged
gen_pete
Newbie
*
Posts: 19


View Profile
« Reply #2 on: April 10, 2009, 09:12:21 am »

I tried to use vlc, totem, and mplayer. all failed. I also loaded up live fedora on another thumb drive and it could not play it. these are factory DVD's that i've bought.

the DVD mounted fine to /media/cdrom. and sr0 is the device node.

ill dig up some more logs tonight and reply..

just to make sure the drive and cables worked fine, i attached them to my vista PC and everything worked perfectly. 

some people believe that the issue is related to a BIOS setting (BOIS sees it just fine), or the fact that the drive is RW.
Logged
greyback
Administrator
Hero Member
*****
Posts: 1639


View Profile
« Reply #3 on: April 10, 2009, 09:22:57 am »

Googling offered the following:
1. Have you installed libdvdcss?
2. Boot with "legacyide" kernel option, could be scsi stack problem.
3. Boot with "libata.dma=1" option. This only enables DMA for harddisks but not for ATAPI devices.
4. Update to latest kernel, as there were SATA changes.
5. Some claim you've to manually set the DVD drive to UDMA2 in the BIOS.

Hope you've some luck
-G
Logged
quagga
Jr. Member
**
Posts: 60


View Profile
« Reply #4 on: April 10, 2009, 09:23:20 am »

You have ******** installed right?

Open up a terminal and type *********************************

That of course assumes libdvdread4 is at least installed, but if you have VLC on there I believe that'll pull it in.  
« Last Edit: April 20, 2009, 07:47:19 pm by JoeBorn » Logged
gen_pete
Newbie
*
Posts: 19


View Profile
« Reply #5 on: April 11, 2009, 09:39:58 pm »

here's what i get from dmesg

Quote
[   46.479410] UDF-fs INFO UDF: Mounting volume 'HARRY_POTTER_5_ORDER_PHOENIX', timestamp 2007/08/02 10:55 (1e98)
[   47.376037] ath1: no IPv6 routers present
[  106.020332] ppdev0: registered pardevice
[  106.068183] ppdev0: unregistered pardevice
[  106.099792] ppdev0: registered pardevice
[  106.148204] ppdev0: unregistered pardevice
[  106.211238] ppdev0: registered pardevice
[  106.260028] ppdev0: unregistered pardevice
[  246.399653] RPC: Registered udp transport module.
[  246.399664] RPC: Registered tcp transport module.
[  277.759394] hda-intel: IRQ timing workaround is activated for card #1. Suggest a bigger bdl_pos_adj.
[77193.580671] end_request: I/O error, dev sr0, sector 341204
[77193.580687] Buffer I/O error on device sr0, logical block 85301
[77193.580700] Buffer I/O error on device sr0, logical block 85302
[77193.580706] Buffer I/O error on device sr0, logical block 85303
[77193.580712] Buffer I/O error on device sr0, logical block 85304
[77193.580718] Buffer I/O error on device sr0, logical block 85305
[77193.580724] Buffer I/O error on device sr0, logical block 85306
[77193.580729] Buffer I/O error on device sr0, logical block 85307
[77193.580735] Buffer I/O error on device sr0, logical block 85308
[77193.580741] Buffer I/O error on device sr0, logical block 85309
[77193.580747] Buffer I/O error on device sr0, logical block 85310
[77193.641155] end_request: I/O error, dev sr0, sector 341460
[77193.866101] end_request: I/O error, dev sr0, sector 15161508
[77194.349541] end_request: I/O error, dev sr0, sector 806456
[77194.396221] end_request: I/O error, dev sr0, sector 806456
[77194.442967] end_request: I/O error, dev sr0, sector 806460
[77194.501472] end_request: I/O error, dev sr0, sector 806464
[77194.547746] end_request: I/O error, dev sr0, sector 806468
[77194.594170] end_request: I/O error, dev sr0, sector 806464
[77194.640957] end_request: I/O error, dev sr0, sector 806472
[77194.687570] end_request: I/O error, dev sr0, sector 806476
[77194.734000] end_request: I/O error, dev sr0, sector 806472
[77194.780634] end_request: I/O error, dev sr0, sector 806476
[77194.827227] end_request: I/O error, dev sr0, sector 806480
[77194.873742] end_request: I/O error, dev sr0, sector 806480
[77194.923688] end_request: I/O error, dev sr0, sector 806484
[77194.966854] end_request: I/O error, dev sr0, sector 806488
[77195.013438] end_request: I/O error, dev sr0, sector 806492
[77195.059710] end_request: I/O error, dev sr0, sector 806488
[77195.106294] end_request: I/O error, dev sr0, sector 806492
[77195.152805] end_request: I/O error, dev sr0, sector 806496
[77195.199209] end_request: I/O error, dev sr0, sector 806496
[77195.246354] end_request: I/O error, dev sr0, sector 806504
[77195.292318] end_request: I/O error, dev sr0, sector 806504
[77195.338941] end_request: I/O error, dev sr0, sector 806512
[77195.385298] end_request: I/O error, dev sr0, sector 806512
[77195.431752] end_request: I/O error, dev sr0, sector 806516
[77195.478175] end_request: I/O error, dev sr0, sector 806520
[77195.524971] end_request: I/O error, dev sr0, sector 806524
[77195.570803] end_request: I/O error, dev sr0, sector 806520
[77195.626876] end_request: I/O error, dev sr0, sector 806528
[77195.673351] end_request: I/O error, dev sr0, sector 806532
[77195.719514] end_request: I/O error, dev sr0, sector 806528
[77195.766040] end_request: I/O error, dev sr0, sector 806536
[77195.861212] end_request: I/O error, dev sr0, sector 806536
[77195.974457] end_request: I/O error, dev sr0, sector 806536
[77196.078398] end_request: I/O error, dev sr0, sector 806628
[77196.124708] end_request: I/O error, dev sr0, sector 806628
[77196.171183] end_request: I/O error, dev sr0, sector 806632
[77196.217603] end_request: I/O error, dev sr0, sector 806636
[77196.263800] end_request: I/O error, dev sr0, sector 806632
[77196.310452] end_request: I/O error, dev sr0, sector 806640
[77196.356899] end_request: I/O error, dev sr0, sector 806644
[77196.403127] end_request: I/O error, dev sr0, sector 806640
[77196.449621] end_request: I/O error, dev sr0, sector 806644
[77196.496065] end_request: I/O error, dev sr0, sector 806648
[77196.542891] end_request: I/O error, dev sr0, sector 806648
[77196.588894] end_request: I/O error, dev sr0, sector 806652
[77196.646001] end_request: I/O error, dev sr0, sector 806656
[77196.692859] end_request: I/O error, dev sr0, sector 806660
[77196.738690] end_request: I/O error, dev sr0, sector 806656
[77196.785297] end_request: I/O error, dev sr0, sector 806664
[77196.831746] end_request: I/O error, dev sr0, sector 806668
[77196.877911] end_request: I/O error, dev sr0, sector 806664
[77196.928655] end_request: I/O error, dev sr0, sector 806668
[77196.970807] end_request: I/O error, dev sr0, sector 806672
[77197.017122] end_request: I/O error, dev sr0, sector 806672
[77197.063605] end_request: I/O error, dev sr0, sector 806676
[77197.110007] end_request: I/O error, dev sr0, sector 806680
[77197.156332] end_request: I/O error, dev sr0, sector 806680
[77197.203304] end_request: I/O error, dev sr0, sector 806688
[77197.249285] end_request: I/O error, dev sr0, sector 806688
[77197.295870] end_request: I/O error, dev sr0, sector 806696
[77197.342220] end_request: I/O error, dev sr0, sector 806696
[77197.388776] end_request: I/O error, dev sr0, sector 806704
[77197.435256] end_request: I/O error, dev sr0, sector 806708
[77197.481498] end_request: I/O error, dev sr0, sector 806704
[77197.527956] end_request: I/O error, dev sr0, sector 806708
[77197.642145] end_request: I/O error, dev sr0, sector 806800
[77197.689120] end_request: I/O error, dev sr0, sector 806804
[77197.735103] end_request: I/O error, dev sr0, sector 806800
[77197.781416] end_request: I/O error, dev sr0, sector 806808
[77197.827862] end_request: I/O error, dev sr0, sector 806812
[77197.874078] end_request: I/O error, dev sr0, sector 806808
[77197.920491] end_request: I/O error, dev sr0, sector 806812
[77197.972960] end_request: I/O error, dev sr0, sector 806816
[77198.013313] end_request: I/O error, dev sr0, sector 806816
[77198.059786] end_request: I/O error, dev sr0, sector 806820
[77198.106209] end_request: I/O error, dev sr0, sector 806824
[77198.152642] end_request: I/O error, dev sr0, sector 806828
[77198.198841] end_request: I/O error, dev sr0, sector 806824
[77198.245857] end_request: I/O error, dev sr0, sector 806832
[77198.291896] end_request: I/O error, dev sr0, sector 806836
[77198.338125] end_request: I/O error, dev sr0, sector 806832
[77198.384582] end_request: I/O error, dev sr0, sector 806836
[77198.430993] end_request: I/O error, dev sr0, sector 806840
[77198.477349] end_request: I/O error, dev sr0, sector 806840
[77198.523835] end_request: I/O error, dev sr0, sector 806844
[77198.580363] end_request: I/O error, dev sr0, sector 806848
[77198.627119] end_request: I/O error, dev sr0, sector 806852
[77198.627133] __ratelimit: 226 callbacks suppressed
[77198.627139] Buffer I/O error on device sr0, logical block 201713
[77198.673108] end_request: I/O error, dev sr0, sector 806848
[77198.673119] Buffer I/O error on device sr0, logical block 201712
[77198.673126] Buffer I/O error on device sr0, logical block 201713
[77198.719697] end_request: I/O error, dev sr0, sector 806856
[77198.719706] Buffer I/O error on device sr0, logical block 201714
[77198.766171] end_request: I/O error, dev sr0, sector 806860
[77198.766179] Buffer I/O error on device sr0, logical block 201715
[77198.812374] end_request: I/O error, dev sr0, sector 806856
[77198.812386] Buffer I/O error on device sr0, logical block 201714
[77198.858837] end_request: I/O error, dev sr0, sector 806860
[77198.858846] Buffer I/O error on device sr0, logical block 201715
root@neurostv:~#

Logged
gen_pete
Newbie
*
Posts: 19


View Profile
« Reply #6 on: April 11, 2009, 09:58:55 pm »

Googling offered the following:
1. Have you installed libdvdcss?
2. Boot with "legacyide" kernel option, could be scsi stack problem.
3. Boot with "libata.dma=1" option. This only enables DMA for harddisks but not for ATAPI devices.
4. Update to latest kernel, as there were SATA changes.
5. Some claim you've to manually set the DVD drive to UDMA2 in the BIOS.

Hope you've some luck
-G

1. cant find it on the system .. best way to install it? its not in the package list
2. didnt work
3. didnt work
4. easiest way to do that ? <dumb question i know, im lazy right now Smiley>
5. didnt work

hopefully the log above will help with investigation
Logged
gen_pete
Newbie
*
Posts: 19


View Profile
« Reply #7 on: April 12, 2009, 12:10:42 am »

even more info ...

Quote
root@neurostv:~# lshw -class disk
  *-cdrom                 
       description: DVD-RAM writer
       product: DVD A  DS8A2S
       vendor: Slimtype
       physical id: 0.0.0
       bus info: scsi@0:0.0.0
       logical name: /dev/cdrom1
       logical name: /dev/cdrw1
       logical name: /dev/dvd1
       logical name: /dev/dvdrw1
       logical name: /dev/scd0
       logical name: /dev/sr0
       logical name: /media/cdrom0
       version: 6P5D
       capabilities: removable audio cd-r cd-rw dvd dvd-r dvd-ram
       configuration: ansiversion=5 mount.fstype=udf mount.options=ro,nosuid,nodev,utf8 state=mounted status=ready
     *-medium
          physical id: 0
          logical name: /dev/cdrom1
          logical name: /media/cdrom0
          configuration: mount.fstype=udf mount.options=ro,nosuid,nodev,utf8 state=mounted
Logged
JoeBorn
Neuros Audio Team
Administrator
Hero Member
*****
Posts: 1376



View Profile WWW
« Reply #8 on: April 12, 2009, 12:43:53 pm »

have you tried updating the BIOS?  latest version is 1602, I haven't looked through the logs to see if there's any mention of this fix, but they are putting out nearly monthly releases it seems.
Logged

jborn (at) neurostechnology.com
#neuros on freenode.net
gen_pete
Newbie
*
Posts: 19


View Profile
« Reply #9 on: April 12, 2009, 02:54:06 pm »

have you tried updating the BIOS?  latest version is 1602, I haven't looked through the logs to see if there's any mention of this fix, but they are putting out nearly monthly releases it seems.

i forgot to mention that ... first thing i tried. ... im trying to compile 2.6.29.1 but i am running into some dependency issues. i am hoping that the new kernel will help, but still is a pain in the side.

any other ideas Huh?

 
Logged
quagga
Jr. Member
**
Posts: 60


View Profile
« Reply #10 on: April 12, 2009, 05:32:02 pm »

As I said in my last post, open up a terminal and run:

********************************

to install ***********.  You won't play Harry Potter without it.  It is not in the Ubuntu repos due to DMCA.  See the Ubuntu restricted formats page in the Ubuntu wiki for more info. 

If that doesn't work, its likely due to an issue with copy protection on that disk (it has some other stuff on it beyond CSS).  But without libdvdcss installed, you're not going anywhere regardless of kernel, bios, etc. 
« Last Edit: April 20, 2009, 07:48:24 pm by JoeBorn » Logged
gen_pete
Newbie
*
Posts: 19


View Profile
« Reply #11 on: April 12, 2009, 07:56:39 pm »



that was it ... dread3 was installed just the above command i guess isn't run by default? Thanks a ton for the help guys ..
« Last Edit: April 20, 2009, 07:48:50 pm by JoeBorn » Logged
JoeBorn
Neuros Audio Team
Administrator
Hero Member
*****
Posts: 1376



View Profile WWW
« Reply #12 on: April 20, 2009, 07:52:42 pm »

I edited out certain parts of this thread.  Believe me, no one feels this is more ridiculous than I do, but, from what I am told, if we even instruct people on how to break encryption we're violating the DMCA.  In other words, we don't have to encourage or help copyright infringement or anything like that, even if we instruct users on how to do something entirely legitimate (like playing back dvds) if that legitimate activity requires breaking encryption its a violation of the DMCA.

It's bad legislation, no doubt, but unfortunately, at this point, it's the law of the land.  I'm really sorry all, I don't agree with it in the least, but I don't feel I had any choice.
Logged

jborn (at) neurostechnology.com
#neuros on freenode.net
gen_pete
Newbie
*
Posts: 19


View Profile
« Reply #13 on: April 21, 2009, 08:24:12 pm »

i totally understand .. thanks for the response.
Logged
acarr
Jr. Member
**
Posts: 56


View Profile
« Reply #14 on: April 22, 2009, 08:15:39 am »

For what it is worth, here is the Ubuntu community documentation on all restricted formats, which include DVD playback.

Hopefully, linking to this is acceptable, given that it is hosted by the distribution.

If not, then google: ubuntu restricted format

https://help.ubuntu.com/community/RestrictedFormats

Cheers.
Logged
Pages: [1] 2
Print
Jump to: