You are not logged in.
Pages: 1
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
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!
Online
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?
Offline
If you insert the cd, what is the output of
ls /dev/s{r*,cd*,g*}
Offline
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.
Inofficial first vice president of the Rust Evangelism Strike Force
Offline
According to your dmesg output, the device has been detected as sr0.
Please post the output ofmount /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.
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
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?
Online
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
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.
Also, just to be sure: this isn't a BluRay, is it?
Offline
I meant whether the disc is maybe a bluray.
Do you have other discs (cd-rom or dvd) to try?
Online
> 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
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)
Online
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
Is this w/ a CDDA in the drive? Do you get more mode sense errors in dmesg for this approach?
Online
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
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.)
Online
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
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?
Online
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
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.
Online
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
What?
Online
Pages: 1