LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   mount CD audio don't working on DVDRW (https://www.linuxquestions.org/questions/linux-newbie-8/mount-cd-audio-dont-working-on-dvdrw-4175471978/)

mythcat 08-03-2013 07:41 AM

mount CD audio don't working on DVDRW
 
Sorry about this question but ...
My device working well when I read data...but when I try to play audio CD (or mount) I got this :
Code:

root@home:/dev# ls -al /dev/dvd1
lrwxrwxrwx. 1 root root 3 Aug  3 15:28 /dev/dvd1 -> sr0
root@home:/dev# ls -al /dev/dvdrw1
lrwxrwxrwx. 1 root root 3 Aug  3 15:28 /dev/dvdrw1 -> sr0
root@home:/dev# mount /dev/sr0 /media/cdrom0 -t iso9660
mount: block device /dev/sr0 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/sr0,
      missing codepage or helper program, or other error
      In some cases useful info is found in syslog - try
      dmesg | tail  or so

root@home:/dev# dmesg | tail
[25393.354636] sr 1:0:1:0: [sr0] 
[25393.354646] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[25393.354651] sr 1:0:1:0: [sr0] 
[25393.354655] Sense Key : Illegal Request [current]
[25393.354663] sr 1:0:1:0: [sr0] 
[25393.354675] Add. Sense: Illegal mode for this track
[25393.354680] sr 1:0:1:0: [sr0] CDB:
[25393.354683] Read(10): 28 00 00 00 00 10 00 00 01 00
[25393.354697] end_request: I/O error, dev sr0, sector 64
[25393.354812] isofs_fill_super: bread failed, dev=sr0, iso_blknum=16, block=16

Thank you . Regards .

konsolebox 08-03-2013 07:56 AM

Hi. If it's an Audio CD I don't think you could mount it for the tracks on it are not file systems. You could just access it directly e.g. mplayer -cdrom-device /dev/sr0 cdda://

mythcat 08-03-2013 08:02 AM

working with mplayer
 
Quote:

Originally Posted by konsolebox (Post 5002187)
Hi. If it's an Audio CD I don't think you could mount it for the tracks on it are not file systems. You could just access it directly e.g. mplayer -cdrom-device /dev/sr0 cdda://

your idea is working well.
I have a question ... why VLC give me that in log ?:
Code:

Your input can't be opened:
VLC is unable to open the MRL 'dvd:///dev/sr0'. Check the log for details.


konsolebox 08-03-2013 08:47 AM

Perhaps because you're trying to address a dvd which is in fact only an audio cd. I believe the program command for that should be:
Code:

vlc -vvv cdda:///dev/sr0
# Or
vlc -vvv cdda:///dev/sr0@<track_number>

Source: http://www.videolan.org/doc/vlc-user-guide/en/ch04.html

mythcat 08-03-2013 09:06 AM

Quote:

Originally Posted by konsolebox (Post 5002201)
Perhaps because you're trying to address a dvd which is in fact only an audio cd. I believe the program command for that should be:
Code:

vlc -vvv cdda:///dev/sr0
# Or
vlc -vvv cdda:///dev/sr0@<track_number>

Source: http://www.videolan.org/doc/vlc-user-guide/en/ch04.html

working well , I will try to change the vlc settings. Thank you.


All times are GMT -5. The time now is 11:12 AM.