You are not logged in.

#1 2019-08-20 06:07:33

Airon90
Member
From: Canegrate
Registered: 2012-12-11
Posts: 60
Website

CD-Rom not working

Hi,
I just found out that my CD Rom is not working properly.
I can eject it, both manually and via "eject" command, but it doesn't read CDs.
It is not neither an audio CD nor an empty CD, it is a CD containing a game for Windows.
I read that maybe I should have added user in "optical" group, although it has become deprecated after systemd.
I also read that maybe I should have loaded ahci module in the kernel.
Nothing works.
Could someone help me, please? I didn't find anything useful in the wiki.

Last edited by Airon90 (2019-08-20 06:09:43)

Offline

#2 2019-08-20 06:24:03

seth
Member
Registered: 2012-09-03
Posts: 33,540

Re: CD-Rom not working

but it doesn't read CDs

That's not a useful description.
Run "dmesg -w" and insert the disc, what kernel messages do you receive in return?

Because of reality:
If the disk is gritty and full of fingerprints, you use a fine microfiber cloth that looks like this: https://master.prosenio.de/out/pictures … ch3_z1.jpg (they're used to clean glasses) and clean it.
Move the cloth from the center straight outwards. NOT in circles!

Offline

#3 2019-08-20 07:12:37

Airon90
Member
From: Canegrate
Registered: 2012-12-11
Posts: 60
Website

Re: CD-Rom not working

If the disk is gritty and full of fingerprints [...]

CD is freshly bought.

Run "dmesg -w" and insert the disc, what kernel messages do you receive in return?

Nothing interesting

Offline

#4 2019-08-20 11:30:56

leiadair
Member
Registered: 2019-08-20
Posts: 13

Re: CD-Rom not working

If you insert the cd, what is the output of

ls /dev/s{r*,cd*,g*}

Offline

#5 2019-08-20 11:44:45

schard
Member
From: Hannover
Registered: 2016-05-06
Posts: 1,557
Website

Re: CD-Rom not working

According to your dmesg output, the device has been detected as sr0.
Please post the output of

mount /dev/sr0 /mnt/

when the CD is in the drive.


Солідарність з Україною

Online

#6 2019-08-21 09:26:39

Airon90
Member
From: Canegrate
Registered: 2012-12-11
Posts: 60
Website

Re: CD-Rom not working

schard wrote:

According to your dmesg output, the device has been detected as sr0.
Please post the output of

mount /dev/sr0 /mnt/

when the CD is in the drive.

I inserted the CD in the drive:

$ sudo mount /dev/sr0 /mnt/
mount: /mnt: no medium found on /dev/sr0.
leiadair wrote:

If you insert the cd, what is the output of

ls /dev/s{r*,cd*,g*}
$ LC_ALL=C ls /dev/s{r*,cd*,g*}
ls: cannot access '/dev/scd*': No such file or directory
 /dev/sg0   /dev/sg1   /dev/sr0

Offline

#7 2019-08-21 09:41:51

seth
Member
Registered: 2012-09-03
Posts: 33,540

Re: CD-Rom not working

ls -l /dev/sg* /dev/sr0

Assuming they're not all symlinks to each other: can you mount sg0 or sg1?

Also, just to be sure: this isn't a BluRay, is it?

Offline

#8 2019-08-21 16:40:32

Airon90
Member
From: Canegrate
Registered: 2012-12-11
Posts: 60
Website

Re: CD-Rom not working

seth wrote:
ls -l /dev/sg* /dev/sr0
$ ls -l /dev/sg* /dev/sr0
crw-rw----  1 root disk    21, 0 21 ago 18.04 /dev/sg0
crw-rw----+ 1 root optical 21, 1 21 ago 18.04 /dev/sg1
brw-rw----+ 1 root optical 11, 0 21 ago 18.04 /dev/sr0
seth wrote:

Assuming they're not all symlinks to each other: can you mount sg0 or sg1?

$ sudo mount /dev/sg0 /mnt/
mount: /mnt: /dev/sg0 is not a block device.

$ sudo mount /dev/sg1 /mnt/
mount: /mnt: /dev/sg1 is not a block device.
seth wrote:

Also, just to be sure: this isn't a BluRay, is it?

I don't think so

Offline

#9 2019-08-21 18:23:16

seth
Member
Registered: 2012-09-03
Posts: 33,540

Re: CD-Rom not working

I meant whether the disc is maybe a bluray.
Do you have other discs (cd-rom or dvd) to try?

Offline

#10 2019-08-21 19:12:53

Airon90
Member
From: Canegrate
Registered: 2012-12-11
Posts: 60
Website

Re: CD-Rom not working

> I meant whether the disc is maybe a bluray.

No, it is a CD Rom containing a Windows game

> Do you have other discs (cd-rom or dvd) to try?

I tried with an audio CD and the error changed:

$ sudo mount /dev/sr0 /mnt/
mount: /mnt: can't read superblock on /dev/sr0.

Here you can read about "dmesg -w"

I tried with a video DVD and nothing changed.

Offline

#11 2019-08-21 19:24:25

seth
Member
Registered: 2012-09-03
Posts: 33,540

Re: CD-Rom not working

You cannot mount a CDDA (it has no filesystem), but the disc seems recognized.
Can you play it with eg. "mpv cdda://"?

What error exactly did you get for the DVD?

Do you have other data CD-ROMs (yellow book discs)

Offline

#12 2019-08-22 08:43:26

Airon90
Member
From: Canegrate
Registered: 2012-12-11
Posts: 60
Website

Re: CD-Rom not working

seth wrote:

Can you play it with eg. "mpv cdda://"?

$ mpv cdda://
Playing: cdda://
[cdda] Can't open disc.
Failed to open cdda://.


Exiting... (Errors when loading file)

Offline

#13 2019-08-22 11:48:08

seth
Member
Registered: 2012-09-03
Posts: 33,540

Re: CD-Rom not working

Is this w/ a CDDA in the drive? Do you get more mode sense errors in dmesg for this approach?

Offline

#14 2019-08-22 12:21:10

Airon90
Member
From: Canegrate
Registered: 2012-12-11
Posts: 60
Website

Re: CD-Rom not working

Is this w/ a CDDA in the drive?

Yes, obviously.

Do you get more mode sense errors in dmesg for this approach?

I cannot read messages from dmesg. Here is the latest one: https://pastebin.com/5h2wT5vH

Offline

#15 2019-08-22 12:45:17

seth
Member
Registered: 2012-09-03
Posts: 33,540

Re: CD-Rom not working

This all frankly doesn't sound too good.
Run "udevadm monitor" and check whether there're *any* events when you juggle discs.

This *might* be a kernel issue, but it's more likely broken HW.
Try at least the LTS kernel but also maybe some (dated) live distro (old version of grml or ubuntu etc.)

Offline

#16 2019-09-09 09:50:42

Airon90
Member
From: Canegrate
Registered: 2012-12-11
Posts: 60
Website

Re: CD-Rom not working

Run "udevadm monitor" and check whether there're *any* events when you juggle discs.

Nothing is shown

This *might* be a kernel issue, but it's more likely broken HW.

I don't think so. My laptop is 3 years old and it was never hit or something like that. I suppose it is a kernel issue as I always had problems with that.

Try at least the LTS kernel but also maybe some (dated) live distro (old version of grml or ubuntu etc.)

I cannot test live distro as my wifi card had problems and now it is disabled by the kernel. Otherwise it would freeze my PC

Last edited by Airon90 (2019-09-09 09:54:09)

Offline

#17 2019-09-09 15:21:52

seth
Member
Registered: 2012-09-03
Posts: 33,540

Re: CD-Rom not working

I cannot test live distro as my wifi card had problems and now it is disabled by the kernel.

I kinda fail to see the logic in this… ie. HUHWUT?

Offline

#18 2019-09-10 15:35:34

Airon90
Member
From: Canegrate
Registered: 2012-12-11
Posts: 60
Website

Re: CD-Rom not working

seth wrote:

I cannot test live distro as my wifi card had problems and now it is disabled by the kernel.

I kinda fail to see the logic in this… ie. HUHWUT?

Suddenly (I don't know if after a kernel update or without any reason) my wifi card, which wasn't supported by the kernel, stopped working and it kept on freezing my laptop when trying to connect to wifi. I am using an external wifi USB dongle and everything is good.
If I try a distro, it will try to load my wifi card and it would break everything.

Last edited by Airon90 (2019-09-10 15:36:35)

Offline

#19 2019-09-10 15:40:33

seth
Member
Registered: 2012-09-03
Posts: 33,540

Re: CD-Rom not working

If you'd use an live distro w/ an older kernel (which most are, resp. are still available) and it's indeed a kernel regression, you'd not only sidestep that but also investigate on that matter.
Plus you can always blacklist the kernel module for your wifi chip a the bootloader.

Offline

#20 2021-11-18 14:36:56

mandog
Member
From: Peru
Registered: 2008-09-17
Posts: 218

Re: CD-Rom not working

no

Last edited by mandog (2021-11-18 14:38:03)


I'm dyslexic Please do not complain about puntuation or spelling and remember most dyslexic people have above average iq.

Offline

#21 2021-11-18 16:08:53

seth
Member
Registered: 2012-09-03
Posts: 33,540

Offline

Board footer

Powered by FluxBB