You are not logged in.

#1 2017-06-22 21:52:02

nicholas
Member
Registered: 2012-07-22
Posts: 39

[SOLVED] Optical discs not showing in Nautilus, Rhythmbox, etc.

Hi all,

I did a quick search and couldn't see anyone else discussing this but I'm getting an odd new issue where Nautilus, Rhythmbox, and other desktop applications have trouble reading or accessing my CD's in my optical drive.
I've used this hardware and Arch system setup for about half a decade now with no issues. Mostly I'm just moving music from compact disc to my iPod, so it's all CD's I'm working with.

This first popped up a few months back for me when FLAC rips stopped working properly (verify hashes failing etc.), and CDs would only mount if I actually rebooted the machine.
As of now, CDs are just no longer mounting in Nautilus or Rhythmbox.

Now that being said, cdrdao and cdparanoia see the CDs just fine.

I'm not quite sure where to troubleshoot so please feel free to ask for whatever logs you like, but just for some evidence of what's going on, dmesg sees my drive fine

[    3.578187] ata5: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[    3.580888] ata5.00: ATAPI: HL-DT-ST DVDRAM GH20NS10, EL01, max UDMA/100
[    3.584863] ata5.00: configured for UDMA/100
[    3.695710] scsi 4:0:0:0: CD-ROM            HL-DT-ST DVDRAM GH20NS10  EL01 PQ: 0 ANSI: 5

But while I was ripping a CD with cdrdao, it looks like it's under some distress, as well

[  652.849684] sr 4:0:0:0: [sr0] tag#30 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08
[  652.849688] sr 4:0:0:0: [sr0] tag#30 Sense Key : 0x5 [current] 
[  652.849691] sr 4:0:0:0: [sr0] tag#30 ASC=0x64 ASCQ=0x0 
[  652.849695] sr 4:0:0:0: [sr0] tag#30 CDB: opcode=0x28 28 00 00 00 00 00 00 00 02 00
[  652.849697] blk_update_request: I/O error, dev sr0, sector 0
[  652.849702] Buffer I/O error on dev sr0, logical block 0, async page read
[  655.646577] sr 4:0:0:0: [sr0] tag#20 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08
[  655.646582] sr 4:0:0:0: [sr0] tag#20 Sense Key : 0x5 [current] 
[  655.646585] sr 4:0:0:0: [sr0] tag#20 ASC=0x64 ASCQ=0x0 
[  655.646589] sr 4:0:0:0: [sr0] tag#20 CDB: opcode=0x28 28 00 00 00 00 00 00 00 08 00
[  655.646592] blk_update_request: I/O error, dev sr0, sector 0
[  655.659907] sr 4:0:0:0: [sr0] tag#22 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08
[  655.659910] sr 4:0:0:0: [sr0] tag#22 Sense Key : 0x5 [current] 
[  655.659914] sr 4:0:0:0: [sr0] tag#22 ASC=0x64 ASCQ=0x0 
[  655.659917] sr 4:0:0:0: [sr0] tag#22 CDB: opcode=0x28 28 00 00 00 00 00 00 00 02 00
[  655.659919] blk_update_request: I/O error, dev sr0, sector 0
[  655.659924] Buffer I/O error on dev sr0, logical block 0, async page read

(note all the I/O errors. Seeing lots of those)

And i think it's that kind of error that seems to be killing Nautilus and Rhythmbox's hold on the CDs.

I've tried two different optical drives -- identical issues occur.
Just for final note, the issue has persisted across reboots and kernel updates with not much improvement (only incremental worsening?).

Any thoughts appreciated.

Last edited by nicholas (2017-07-12 00:57:22)

Offline

#2 2017-07-01 12:47:29

nicholas
Member
Registered: 2012-07-22
Posts: 39

Re: [SOLVED] Optical discs not showing in Nautilus, Rhythmbox, etc.

Still struggling to get things working, a couple more logs for interest's sake.

$ sudo mount -o ro  -t iso9660 /dev/sr0 /mnt
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.
$ dmesg | tail
[ 7911.193968] sr 4:0:0:0: [sr0] tag#27 ASC=0x64 ASCQ=0x0 
[ 7911.193972] sr 4:0:0:0: [sr0] tag#27 CDB: opcode=0x28 28 00 00 00 00 10 00 00 01 00
[ 7911.193974] blk_update_request: I/O error, dev sr0, sector 64
[ 7911.193998] isofs_fill_super: bread failed, dev=sr0, iso_blknum=16, block=16
[ 7917.824360] sr 4:0:0:0: [sr0] tag#19 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08
[ 7917.824365] sr 4:0:0:0: [sr0] tag#19 Sense Key : 0x5 [current] 
[ 7917.824368] sr 4:0:0:0: [sr0] tag#19 ASC=0x64 ASCQ=0x0 
[ 7917.824372] sr 4:0:0:0: [sr0] tag#19 CDB: opcode=0x28 28 00 00 00 00 10 00 00 01 00
[ 7917.824375] blk_update_request: I/O error, dev sr0, sector 64
[ 7917.824388] isofs_fill_super: bread failed, dev=sr0, iso_blknum=16, block=16
[nicholas@Juniper ~]$ isoinfo -d -i /dev/sr0
Setting input-charset to 'UTF-8' from locale.
isoinfo: Input/output error. Read error on old image

Additionally, someone else has started having problems on Ubuntu around the same time: https://askubuntu.com/questions/925050/ … 65c7750e3b and is still struggling as of a few weeks back.

Offline

#3 2017-07-01 16:38:56

seth
Member
Registered: 2012-09-03
Posts: 51,045

Re: [SOLVED] Optical discs not showing in Nautilus, Rhythmbox, etc.

You cannot "mount" CDDAs, that's usually some virtual filesystems that convert the audiotracks on the fly or similar.
=> Do iso9660 or UDF disks (iow: actual data disks) show up, mount, read?
=> Does ripping with cdparanoia still work (w/o unresolvable errors)?

Online

#4 2017-07-01 20:36:16

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: [SOLVED] Optical discs not showing in Nautilus, Rhythmbox, etc.

That looks like a failing drive and/or bad media.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#5 2017-07-06 16:39:35

nicholas
Member
Registered: 2012-07-22
Posts: 39

Re: [SOLVED] Optical discs not showing in Nautilus, Rhythmbox, etc.

seth wrote:

You cannot "mount" CDDAs, that's usually some virtual filesystems that convert the audiotracks on the fly or similar.
=> Do iso9660 or UDF disks (iow: actual data disks) show up, mount, read?
=> Does ripping with cdparanoia still work (w/o unresolvable errors)?

Discs show up, mount, read, and appear to work if you boot the system with them in. Once you eject them though, the issue starts really kicking in.
Regardless of any of the errors, cdparanoia has a great time ripping the CD's. All smiley faces no errors. It's been the only thing that's able to get me my FLAC's for my iPod for the last few months.


R00KIE wrote:

That looks like a failing drive and/or bad media.

Shouldn't be. The drive works great with DVD's, and I've used another drive as well with the exact same issues. A drive that was working just fine in another system.
The CDs are all mint fresh out of the seal -- multiple of them. All of them failing in the same way across different hardware.
Maybe it's a bug in the kernel? There's a bug logged here: https://bugzilla.kernel.org/show_bug.cgi?id=195901

Offline

#6 2017-07-06 17:04:07

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: [SOLVED] Optical discs not showing in Nautilus, Rhythmbox, etc.

If this really is a kernel problem your best bet is to bisect and report upstream which commit breaks things. Try with the LTS kernel and see if it works fine there, that should at least help check if the problem could be somewhere else. If the problem really is in the kernel you'll know the range to bisect.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#7 2017-07-10 23:00:04

nicholas
Member
Registered: 2012-07-22
Posts: 39

Re: [SOLVED] Optical discs not showing in Nautilus, Rhythmbox, etc.

Good point. I'll give the LTS a shot!

Offline

#8 2017-07-11 05:40:07

seth
Member
Registered: 2012-09-03
Posts: 51,045

Re: [SOLVED] Optical discs not showing in Nautilus, Rhythmbox, etc.

you may also want to look at "dmesg -w" and "udevadm monitor" to check whether disk insertion is registered on lower levels.

Online

#9 2017-07-11 07:36:10

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,660

Re: [SOLVED] Optical discs not showing in Nautilus, Rhythmbox, etc.

I don't have any issues here on KDE, my money is on some interaction issue with gvfs and the big udisks 2.7 update.

Offline

#10 2017-07-12 00:22:41

nicholas
Member
Registered: 2012-07-22
Posts: 39

Re: [SOLVED] Optical discs not showing in Nautilus, Rhythmbox, etc.

R00KIE wrote:

If this really is a kernel problem your best bet is to bisect and report upstream which commit breaks things. Try with the LTS kernel and see if it works fine there, that should at least help check if the problem could be somewhere else. If the problem really is in the kernel you'll know the range to bisect.

So the LTS kernel still has the issue and is 4.9 which is December. I think things were fine in December but at this point I should want to try 4.8 or lower to be sure. I'm not quite sure how to build an older kernel like that or if I can do it via pacman. Any tips are appreciated but also I'll just google it and hope for the best, so no pressure (I know it's may be a big task).
Also curious, would it be smart to try 4.9 itself? I'm assuming an LTS gets some backports and I'd want to rule out some "security fix" that "fixes" this "security hole" where CDs can be played xD

seth wrote:

you may also want to look at "dmesg -w" and "udevadm monitor" to check whether disk insertion is registered on lower levels.

I've been watching dmesg but thanks for the tip on the udevadm! I'll check it too, going forward.
Here's an eject and an insert: https://pastebin.com/SpvJ1BZe
Something's definitely going right as it correctly identifies that System of a Down's - Toxicity has 13 tracks.

V1del wrote:

I don't have any issues here on KDE, my money is on some interaction issue with gvfs and the big udisks 2.7 update.

Oh, was there a big update? Good to know! And actually I'm really thinking it probably is a GVFS/udisks change, by now. It's the next place to start digging after I quickly check some other kernel versions

Last edited by nicholas (2017-07-12 00:32:30)

Offline

#11 2017-07-12 00:47:43

nicholas
Member
Registered: 2012-07-22
Posts: 39

Re: [SOLVED] Optical discs not showing in Nautilus, Rhythmbox, etc.

It's udisks.
Just downgraded packages from 2-2.7.1-2 to 2.6.4-1 and rebooted gdm -- instant fix.

Thanks, all, and V1del for the winning tip!

Offline

#12 2017-07-12 07:19:24

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,660

Re: [SOLVED] Optical discs not showing in Nautilus, Rhythmbox, etc.

You might want to follow https://bugs.archlinux.org/task/54644 and update again, verify that you get libblockdev 2.10 and see if you can reproduce and make a comment if you can.

Offline

#13 2017-07-12 21:04:30

nicholas
Member
Registered: 2012-07-22
Posts: 39

Re: [SOLVED] Optical discs not showing in Nautilus, Rhythmbox, etc.

Roger. I'll do some updating and comment when I can.

Offline

#14 2017-07-14 01:18:17

nicholas
Member
Registered: 2012-07-22
Posts: 39

Re: [SOLVED] Optical discs not showing in Nautilus, Rhythmbox, etc.

Yeah! It's working now for me with these ones:

$ uname -a
Linux Juniper 4.11.9-1-ARCH #1 SMP PREEMPT Wed Jul 5 18:23:08 CEST 2017 x86_64 GNU/Linux
$ pacaur -Qs libblockdev
local/libblockdev 2.10-1
    A library for manipulating block devices
$ pacaur -Qs udisks
local/udisks2 2.7.1-2
    Disk Management Service, version 2

Offline

Board footer

Powered by FluxBB