LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-29-2020, 06:33 AM   #1
Kealerator
LQ Newbie
 
Registered: Oct 2016
Posts: 11

Rep: Reputation: Disabled
Post Can't mount CD/DVD drive after Ubuntu installation


Hi!

I'm trying to make a "Media Center -server" kind of laptop out of my fiancés old Sony VAIO VGN-FW51MF. 500Gb's of storage with a blu-ray drive so why not?


Everything went smoothly with Ubuntu installation, no error's there.

But when I tried to rip an old DVD+R disc which has an old trip VHS digitalized to a mp4 Ubuntu couldn't mount it.

Here's the error from the terminal:

Code:
vaio@vaio-VGN-FW51MF-H:~$ sudo mount /dev/cdrom /mnt
mount: /mnt: wrong fs type, bad option, bad superblock on /dev/sr0, missing codepage or helper program, or other error.
This is my 3rd attempt for a "media center build", so I've tested to rip the disc before and with great success. I've managed to rip it with this very VAIO laptop yesterday in Win10 (before installing Ubuntu)
The cd/dvd drive seems to work with audio discs! Tried and tested with VLC.


Any thoughts?

EDIT: Did some troubleshooting, and this trip dvd seems to be the only dvd that can't be read. I tested if ubuntu can read some movies and band dvd's and they were succesfully read and played in VLC.

Last edited by Kealerator; 11-29-2020 at 06:59 AM.
 
Old 11-29-2020, 07:55 AM   #2
obobskivich
Member
 
Registered: Jun 2020
Posts: 609

Rep: Reputation: Disabled
Have you installed the 'RestrictedExtras' packages that improve Ubuntu's support of DVD formats? If I understand you right this is a home-authored disc, but without knowing more about what authored it, it may still need some library that would typically be used with commercial DVDs (e.g. if it was made on a DVD Recorder this could very much be the case, in order to deal with the TOC - if its just an mp4 file on a ROM then just copy/paste the file). Also it would probably help to know what version of Ubuntu you're using.

See here from the Ubuntu docs:
https://help.ubuntu.com/community/Re...ts/PlayingDVDs

My suspicion here is the disc itself is the problem, not Ubuntu, and not any of your other hardware/software - without know more about how it was created its hard to say though.
 
Old 11-29-2020, 08:35 AM   #3
Kealerator
LQ Newbie
 
Registered: Oct 2016
Posts: 11

Original Poster
Rep: Reputation: Disabled
Quote:
Have you installed the 'RestrictedExtras' packages that improve Ubuntu's support of DVD formats? If I understand you right this is a home-authored disc, but without knowing more about what authored it, it may still need some library that would typically be used with commercial DVDs
Actually no, I've completely forgotten!

Quote:
Ubuntu 15.10 and newer
From Ubuntu 15.10 onwards, libdvd-pkg is available to ease the installation of libdvdcss.

Install the libdvd-pkg package (no need to add third party repositories) via Synaptic or command line:

Code:
sudo apt install libdvd-pkg && sudo dpkg-reconfigure libdvd-pkg
The librarys got successfully installed etc, but didn't fix the problem..

Quote:
Also it would probably help to know what version of Ubuntu you're using.
My bad, I'm using Ubuntu 20.04.1 LTS.

I agree, the source material is a big dependancy on the solution..

I tried with another burned DVD disc which has a mp4 movie originally recorded by digibox, my other desktop Ubuntu system is able to mount it but the VAIO laptop isn't :/
My desktop Ubuntu (also 20.04.1 LTS) seems to also be able to read the trip data disc.
 
Old 11-29-2020, 08:45 AM   #4
obobskivich
Member
 
Registered: Jun 2020
Posts: 609

Rep: Reputation: Disabled
So it sounds more like its the specific disc (like it may be physically damaged) or compatibility with however you authored these in the past not lining up on this new install vs your desktop (which I'm assuming is not a brand new install), but it could be hardware on the laptop too - can you identify any other software/libraries/etc your desktop may have that aren't common to the laptop? If so, trying loading those and see if things improve (conversely if you're really feeling brave, can you remove the optical drive from the laptop and throw it an external enclosure and hook it up to the desktop? that'd be a really quick test of whether or not the issue is software or hardware - if it reads fine on the desktop you're just 'missing something' on the laptop, but if it fails to read there, its likely just the drive).

When you say 'data disc' that has me a bit curious though - how are/were these discs authored? Are they actual DVD-Video with standard video structure, or are they just DVD-ROM with an mp4 file sitting on them? If the later, that should be drag'n'drop on anything that supports the ROM file system (and that should be a total non-issue in 20.04).
 
Old 12-01-2020, 03:23 PM   #5
Kealerator
LQ Newbie
 
Registered: Oct 2016
Posts: 11

Original Poster
Rep: Reputation: Disabled
Sorry for the huge delay, the start of my week has been pretty rough and I haven't been much energetic on this problem until now.


Quote:
can you identify any other software/libraries/etc your desktop may have that aren't common to the laptop?
I tried my best and also now my desktop Ubuntu couldn't read the disc anymore so it seems like the CD got corrupted at some point. No idea since we own two cats and well.. Cats enjoy dropping things..

So I gave up with the trip DVD, and started ripping some old CD's on my laptop VAIO Ubuntu until the cd drive couldn't read this one specific audio disc. I tried the cd with a cd player and yes it works which got me thinking:

VAIO laptop is actually using a Bluray drive, could this be a lead to a solution?

The audio disc is not a copy/burned disc, a real deal audio disc that has been bought from a record store..

Code:
sudo mount /dev/cdrom /mnt
mount: /mnt: no medium found on /dev/sr0

wodim --devices
wodim: Overview of accessible drives (1 found) : 
0  dev='/dev/sg1'       rwrw-- : 'PIONEER' 'BD-ROM    BDC-TD01'
 
Old 12-01-2020, 05:24 PM   #6
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,344
Blog Entries: 6

Rep: Reputation: 1929Reputation: 1929Reputation: 1929Reputation: 1929Reputation: 1929Reputation: 1929Reputation: 1929Reputation: 1929Reputation: 1929Reputation: 1929Reputation: 1929
Quote:
VAIO laptop is actually using a Bluray drive, could this be a lead to a solution?
Look and see what the drive supports, and what the disk is.
Code:
dvd+rw-mediainfo /dev/sr0
lsblk -f
Quote:
The audio disc is not a copy/burned disc, a real deal audio disc that has been bought from a record store.
Audio CD's won't mount. They don't have a file system on them.
Code:
mplayer cdda://1

mplayer cdda://1 -demuxer rawaudio -vc dummy -vo null -ao pcm:file=track1.wav

mplayer cdda://1 -ao pcm:file=file1.wav

ffmpeg -f libcdio -i /dev/sr0 file1.wav

cdparanoia 1
 
Old 12-02-2020, 05:53 AM   #7
Kealerator
LQ Newbie
 
Registered: Oct 2016
Posts: 11

Original Poster
Rep: Reputation: Disabled
Quote:
Look and see what the drive supports, and what the disk is.
Code:
vaio@vaio-VGN-FW51MF-H:~$ dvd+rw-mediainfo /dev/sr0
INQUIRY:                [PIONEER ][BD-ROM  BDC-TD01][1.03]
GET [CURRENT] CONFIGURATION:
:-( no media mounted, exiting...
vaio@vaio-VGN-FW51MF-H:~$ lsblk -f
NAME FSTYPE LABEL UUID                                 FSAVAIL FSUSE% MOUNTPOINT
loop0
     squash                                                  0   100% /snap/gnom
loop1
     squash                                                  0   100% /snap/snap
loop2
     squash                                                  0   100% /snap/gtk-
loop3
     squash                                                  0   100% /snap/core
loop4
     squash                                                  0   100% /snap/snap
loop5
     squash                                                  0   100% /snap/gtk-
loop6
     squash                                                  0   100% /snap/core
loop7
     squash                                                  0   100% /snap/gnom
loop8
     squash                                                  0   100% /snap/snap
loop9
     squash                                                  0   100% /snap/snap
sda                                                                   
├─sda1
│    ntfs   Recovery
│                 9E925DF9925DD67D                                    
├─sda2
│    ext4         1c2e8004-22bf-4194-a8fa-58af1c2cdca4    406G     3% /
└─sda4
     ntfs         6294148E94146737                                    
sr0
Quote:
Code:
mplayer cdda://1

mplayer cdda://1 -demuxer rawaudio -vc dummy -vo null -ao pcm:file=track1.wav

mplayer cdda://1 -ao pcm:file=file1.wav

ffmpeg -f libcdio -i /dev/sr0 file1.wav

cdparanoia 1
I have no idea what those commands do so I put them in the terminal and I'll just paste the results here:

Code:
vaio@vaio-VGN-FW51MF-H:~$ mplayer cdda://1
MPlayer 1.3.0 (Debian), built with gcc-9 (C) 2000-2016 MPlayer Team
do_connect: could not connect to socket
connect: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing cdda://1.
++ WARN: error in ioctl CDROMREADTOCHDR: No medium found

++ WARN: error in ioctl CDROMREADTOCHDR: No medium found

++ WARN: error in ioctl CDROMREADTOCHDR: No medium found

++ WARN: error in ioctl CDROMREADTOCHDR: No medium found

++ WARN: error in ioctl CDROMREADTOCHDR: No medium found

Found audio CD with 255 tracks.
++ WARN: error in ioctl CDROMREADTOCHDR: No medium found

++ WARN: error in ioctl CDROMREADTOCHDR: No medium found

++ WARN: error in ioctl CDROMREADTOCHDR: No medium found

++ WARN: error in ioctl CDROMREADTOCHDR: No medium found

++ WARN: error in ioctl CDROMREADTOCHDR: No medium found

++ WARN: error in ioctl CDROMREADTOCHDR: No medium found

++ WARN: error in ioctl CDROMREADTOCHDR: No medium found

Invalid seek to negative position fffffffffff1a500!
rawaudio file format detected.
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 44100 Hz, 2 ch, s16le, 1411.2 kbit/100.00% (ratio: 176400->176400)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
AO: [pulse] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A:   5.3 (05.3) of 0.0 (00.0) ??,?% 


Exiting... (End of file)
vaio@vaio-VGN-FW51MF-H:~$ mplayer cdda://1 -demuxer rawaudio -vc dummy -vo null -ao pcm:file=track1.wav
MPlayer 1.3.0 (Debian), built with gcc-9 (C) 2000-2016 MPlayer Team
do_connect: could not connect to socket
connect: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing cdda://1.
++ WARN: error in ioctl CDROMREADTOCHDR: No medium found

++ WARN: error in ioctl CDROMREADTOCHDR: No medium found

++ WARN: error in ioctl CDROMREADTOCHDR: No medium found

++ WARN: error in ioctl CDROMREADTOCHDR: No medium found

++ WARN: error in ioctl CDROMREADTOCHDR: No medium found

Found audio CD with 255 tracks.
++ WARN: error in ioctl CDROMREADTOCHDR: No medium found

++ WARN: error in ioctl CDROMREADTOCHDR: No medium found

++ WARN: error in ioctl CDROMREADTOCHDR: No medium found

++ WARN: error in ioctl CDROMREADTOCHDR: No medium found

++ WARN: error in ioctl CDROMREADTOCHDR: No medium found

++ WARN: error in ioctl CDROMREADTOCHDR: No medium found

++ WARN: error in ioctl CDROMREADTOCHDR: No medium found

Invalid seek to negative position fffffffffff1a500!
rawaudio file format detected.
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 44100 Hz, 2 ch, s16le, 1411.2 kbit/100.00% (ratio: 176400->176400)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
[AO PCM] File: track1.wav (WAVE)
PCM: Samplerate: 44100Hz Channels: Stereo Format s16le
[AO PCM] Info: Faster dumping is achieved with -benchmark -vc null -vo null -ao pcm:fast
[AO PCM] Info: To write WAVE files use -ao pcm:waveheader (default).
AO: [pcm] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A:   5.3 (05.3) of 0.0 (00.0) ??,?% 


Exiting... (End of file)
vaio@vaio-VGN-FW51MF-H:~$ mplayer cdda://1 -ao pcm:file=file1.wav
MPlayer 1.3.0 (Debian), built with gcc-9 (C) 2000-2016 MPlayer Team
do_connect: could not connect to socket
connect: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing cdda://1.
++ WARN: error in ioctl CDROMREADTOCHDR: No medium found

++ WARN: error in ioctl CDROMREADTOCHDR: No medium found

++ WARN: error in ioctl CDROMREADTOCHDR: No medium found

++ WARN: error in ioctl CDROMREADTOCHDR: No medium found

++ WARN: error in ioctl CDROMREADTOCHDR: No medium found

Found audio CD with 255 tracks.
++ WARN: error in ioctl CDROMREADTOCHDR: No medium found

++ WARN: error in ioctl CDROMREADTOCHDR: No medium found

++ WARN: error in ioctl CDROMREADTOCHDR: No medium found

++ WARN: error in ioctl CDROMREADTOCHDR: No medium found

++ WARN: error in ioctl CDROMREADTOCHDR: No medium found

++ WARN: error in ioctl CDROMREADTOCHDR: No medium found

++ WARN: error in ioctl CDROMREADTOCHDR: No medium found

Invalid seek to negative position fffffffffff1a500!
rawaudio file format detected.
Seek failed
Seek failed
Seek failed
Seek failed
Seek failed
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 44100 Hz, 2 ch, s16le, 1411.2 kbit/100.00% (ratio: 176400->176400)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
[AO PCM] File: file1.wav (WAVE)
PCM: Samplerate: 44100Hz Channels: Stereo Format s16le
[AO PCM] Info: Faster dumping is achieved with -benchmark -vc null -vo null -ao pcm:fast
[AO PCM] Info: To write WAVE files use -ao pcm:waveheader (default).
AO: [pcm] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A:   5.3 (05.3) of 0.0 (00.0) ??,?% 


Exiting... (End of file)
vaio@vaio-VGN-FW51MF-H:~$ ffmpeg -f libcdio -i /dev/sr0 file1.wav
ffmpeg version 4.2.4-1ubuntu0.1 Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 9 (Ubuntu 9.3.0-10ubuntu2)
  configuration: --prefix=/usr --extra-version=1ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
  WARNING: library configuration mismatch
  avcodec     configuration: --prefix=/usr --extra-version=1ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared --enable-version3 --disable-doc --disable-programs --enable-libaribb24 --enable-liblensfun --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libtesseract --enable-libvo_amrwbenc
  libavutil      56. 31.100 / 56. 31.100
  libavcodec     58. 54.100 / 58. 54.100
  libavformat    58. 29.100 / 58. 29.100
  libavdevice    58.  8.100 / 58.  8.100
  libavfilter     7. 57.100 /  7. 57.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  5.100 /  5.  5.100
  libswresample   3.  5.100 /  3.  5.100
  libpostproc    55.  5.100 / 55.  5.100
++ WARN: error in ioctl CDROMREADTOCHDR: No medium found

++ WARN: error in ioctl CDROMREADTOCHDR: No medium found

++ WARN: error in ioctl CDROMREADTOCHDR: No medium found

++ WARN: error in ioctl CDROMREADTOCHDR: No medium found

++ WARN: error in ioctl CDROMREADTOCHDR: No medium found

[libcdio @ 0x5565833ad600] Could not open disk in drive /dev/sr0.
/dev/sr0: Invalid argument
vaio@vaio-VGN-FW51MF-H:~$ cdparanoia 1
cdparanoia III release 10.2 (September 11, 2008)

 
004: Unable to read table of contents header

Unable to open disc.  Is there an audio CD in the drive?
vaio@vaio-VGN-FW51MF-H:~$
 
Old 12-02-2020, 07:12 AM   #8
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,344
Blog Entries: 6

Rep: Reputation: 1929Reputation: 1929Reputation: 1929Reputation: 1929Reputation: 1929Reputation: 1929Reputation: 1929Reputation: 1929Reputation: 1929Reputation: 1929Reputation: 1929
Looks like that drive should read everything.
https://www.mydvddrives.com/sata-bd-...bdc-td01-46898

Quote:
Found audio CD with 255 tracks
Just like you said. mplayer won't read it. I wonder if it is some kind of hybrid disk. Someone made a iso9660/udf disk with tracks on it? You'll have to research it and find out what it is. That assumes that the disk is good and hasn't been damaged or is bad. Optical media can go bad. Ever get a disk from *flix that won't read no matter how well you clean it? And you can't see any defect in it.
 
Old 12-02-2020, 07:28 AM   #9
Kealerator
LQ Newbie
 
Registered: Oct 2016
Posts: 11

Original Poster
Rep: Reputation: Disabled
Quote:
Found audio CD with 255 tracks
This is the most interesting thing, since the disc has only 4 tracks in it. The disc is a bonus disc from the album with some unreleased material so it's not "ruining my collection of albums". I just find it really really weird how it can't read it.

The condition of the disc seems to be average normal, aged well but not absolutely obliterated.

Heres a link for the album info if you're interested:
https://www.discogs.com/Cradle-Of-Fi...elease/2519040
 
Old 12-05-2020, 04:59 PM   #10
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486
Quote:
Originally Posted by Kealerator View Post
This is the most interesting thing, since the disc has only 4 tracks in it. The disc is a bonus disc from the album with some unreleased material so it's not "ruining my collection of albums". I just find it really really weird how it can't read it.

The condition of the disc seems to be average normal, aged well but not absolutely obliterated.

Heres a link for the album info if you're interested:
https://www.discogs.com/Cradle-Of-Fi...elease/2519040
IIRC audio disks cannot be mounted, but can be read/ripped with the right software. Have you tried just ripping the tracks from it to see if it is actually readable in that drive. The fact that a player reads it tells me the disk is not bad, but that the software being used is not accessing it correctly.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
dvd rom drive won't mount under FC14 after installing from dvdrom drive bgovan Linux - Newbie 5 06-13-2011 05:48 PM
cd/dvd automounting problem after replacing dvd-drive (Ubuntu Hardy 8.04) ErV Ubuntu 2 09-22-2008 02:47 AM
which DVD player can play DVD from hard drive *and* support DVD Menu ? tho_x_tran Linux - Software 16 11-16-2006 03:00 PM
can't mount a dvd on a cd burner/dvd rom drive dr_zayus69 Linux - Hardware 7 12-09-2004 09:56 AM
DVD-R, DVD+RW, DVD-RW and DVD+R zetsui Linux - Hardware 5 09-12-2003 07:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:43 AM.

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