LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Kubuntu Feisty x86-64 - CD/DVD drive Issues (https://www.linuxquestions.org/questions/linux-hardware-18/kubuntu-feisty-x86-64-cd-dvd-drive-issues-558673/)

Malibyte 06-02-2007 03:00 PM

Kubuntu Feisty x86-64 - CD/DVD drive Issues
 
I have installed Kubuntu Feisty x86-64 (actually, did the dist-upgrade from Dapper LTS -> Edgy -> Feisty).

I can't mount the CD/DVD drive (or access it with Xine):

The drive is a Plextor SATA unit, on /dev/scd0; there are symlinks /dev/sr0 and /dev/cdrom pointing to it.

Code:

[rcs@yoda: ~]$ mount /cdrom
mount: block device /dev/scd0 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/scd0,
      missing codepage or other error
      In some cases useful info is found in syslog - try
      dmesg | tail  or so

root@yoda:/home/rcs# dmesg | tail
[  753.942300] cdrom: This disc doesn't have any tracks I recognize!
[  753.962654] cdrom: This disc doesn't have any tracks I recognize!
[  758.526914] attempt to access beyond end of device
[  758.526919] sr0: rw=0, want=68, limit=4
[  758.526922] isofs_fill_super: bread failed, dev=sr0, iso_blknum=16, block=16
[ 1069.195321] attempt to access beyond end of device
[ 1069.195325] sr0: rw=0, want=68, limit=4
[ 1069.195329] isofs_fill_super: bread failed, dev=sr0, iso_blknum=16, block=16
[ 1069.215596] cdrom: This disc doesn't have any tracks I recognize!
[ 1069.245155] cdrom: This disc doesn't have any tracks I recognize!

This happens with multiple, known-good discs.

Trying to play a DVD with Xine:

Code:

[rcs@yoda: ~]$ xine
This is xine (X11 gui) - a free video player v0.99.5cvs.
(c) 2000-2006 The xine Team.
libdvdread: Using libdvdcss version 1.2.5 for DVD access
libdvdread: Can't seek to block 256
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread: Can't seek to block 256
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.

This drive works; I have another distro on the same machine which can use it without problems.

The above happen whether I try to access the drive as my regular user or as root; the regular user is in the "cdrom" group anyway.

What do I have misconfigured?

Thanks for any help!
Bob

J.W. 06-02-2007 04:00 PM

What kind of disk are you trying to mount? Audio CD's cannot be mounted because they lack a valid file system. Try mounting a data CD/DVD -- if it works, everything is OK

Malibyte 06-02-2007 04:03 PM

Quote:

Originally Posted by J.W.
What kind of disk are you trying to mount? Audio CD's cannot be mounted because they lack a valid file system. Try mounting a data CD/DVD -- if it works, everything is OK

All of the discs I've tried to mount are data CDs, with the exception of two movie DVDs which I tried to play under Xine (one commercial, one non-encrypted).

Thanks
Bob

mazinoz 06-11-2007 07:08 PM

CD/DVD drive issues
 
cd /dev
dev/ sudo ln -sf scd0 cdrom
|
ls -la|more
should show cdrom > scd0

I believe this may help, similarly
dev/ sudo touch dvd
dev/ ln -sf scd0 dvd


This creates and setups the correct symbolic links.

I believe this will help you.

Cheers

Malibyte 06-11-2007 10:31 PM

Quote:

Originally Posted by mazinoz
cd /dev
dev/ sudo ln -sf scd0 cdrom
|
ls -la|more
should show cdrom > scd0

I believe this may help, similarly
dev/ sudo touch dvd
dev/ ln -sf scd0 dvd


This creates and setups the correct symbolic links.

I believe this will help you.

Cheers

root@yoda:~# lsl /dev/*cd*
lrwxrwxrwx 1 root root 4 2007-06-11 13:15 /dev/cdrom -> scd0
crw-rw-rw- 1 root tty 2, 221 2007-06-11 13:15 /dev/ptycd
brw-rw---- 1 root cdrom 11, 0 2007-06-11 13:15 /dev/scd0
crw-rw-rw- 1 root tty 3, 221 2007-06-11 20:15 /dev/ttycd

root@yoda:~# lsl /dev/dv*
lrwxrwxrwx 1 root root 9 2007-06-11 20:27 /dev/dvd -> /dev/scd0

root@yoda:~# mount /dvd
mount: block device /dev/scd0 is write-protected, mounting read-only
mount: /dev/scd0: can't read superblock

This occurs with known-readable discs.

Thanks for the suggestion, anyway. ;-)

mazinoz 06-12-2007 12:23 AM

CD/DVD issues.
 
Sorry I thought I was making progress on this. Same problem re superblock. Maybe worth checking block devices etc in kernel.

Personally, I am so pissed off about this. Extremely disappointed about this release. 'Friend' gave me the CD and said he had tried it but after I installed this trash found out he was using another release. (Note to self - must kill 'Friend').

No fu*ng documentation I could find about it on kubuntu's site. I was well and truly sucked in this time. Reinstalling Edgy which was easy. Given up attempting to work out how to mount drives! I haven't had this amount of trouble since SuSE 7.1. All I have found out is that we are not alone with this problem. For the record use a Dell D505 laptop which is only a few years old.

Cheers and Best wishes.

accmariano 02-10-2008 10:52 PM

Solved!!!
 
Hi All

After several days of looking for, i've solved the issue

First I enter in bios Setup and set UDMA to UDMA4, and type of drive CDROM

Then, I do:

hdparm -p4 /dev/hdb (To set PIO in 4)
hdparm -c2 /dev/hdb ( to set IO to 32 bits and sync)


This fix my problem to play dvds in xine, mplayer and VLC


I don't know which of this actions solve the problem, but now its work!!!

Regards


All times are GMT -5. The time now is 08:55 AM.