Forum › Forums › Official Releases › antiX-21/22 “Grup Yorum” › cd/dvd/bluray drive tray cannot be closed solved
Tagged: USB cd-drive zzzFM
- This topic has 33 replies, 5 voices, and was last updated Dec 7-12:36 pm by ModdIt.
-
AuthorPosts
-
December 3, 2021 at 10:56 am #72169Member
dirkd
When I open the tray of my ASUS cd/dvd/bluray drive, it becomes impossible to close it again (it automatically pops open again immediately). Whether or not a disc is present. At first I was afraid it was a hardware problem (the drive is almost brand new). But it’s not: on Antix17 it works just fine.
I thought maybe something had changed in zzzFM’s configuration, compared to SpaceFM’s. I perused the Devices>Settings menu, but at first sight, nothing seems changed there. On the other hand: there are a lot of settings there, and they are hard to remember when you can’t make sense of the majority of them. So maybe there has been.
I also noticed that in Antix17 the /media folder contains three folders /media/cdrom, /media/fd0 and /media/sr0 that always seem to be present (although, eg, I don’t even have a floppy drive) while in Antix21 only /media/sr0 exists. This may or may not be related with the stated problem.
(Runit Antix21 – 64bit – 5.10 kernel – dual boot system with Antix17.4 64 bit)
- This topic was modified 1 year, 5 months ago by dirkd. Reason: additional observations
- This topic was modified 1 year, 5 months ago by anticapitalista. Reason: solved
- This topic was modified 1 year, 5 months ago by ModdIt.
December 3, 2021 at 5:19 pm #72182Member
dirkd
::I am quite confident now that the problem is connected with zzzFM. I noticed that I could close the tray right after booting up. The problem seemed to appear only after some time had passed. Then I had a hunch that it came up after starting zzzFM. I can now confirm that, after firing up zzzFM, I can open and close the drive’s tray exactly once. Then, after opening it a second time, it won’t remain closed anymore. Maybe this observation points the way to what is actually going wrong. Has anybody else witnessed similar problems? And what about non-USB optical drives?
I have edited my original post, mentioning zzzFM in the title and tags.
December 3, 2021 at 5:36 pm #72183MemberModdIt
::Hi if you want help you must provide meaningful information, not just doesnt work.
Telling us it works on antix 17 is no help whatsoever.Which desktop are you using, which edition of runit antix 21.
Stop blaming zzfm as you have up to now no clear problem diagnosis or solution.
Just blind speculation.Exactly Which settings have you made in control center automount configuration.
or with any other tools.What else have you tried, in which order.
December 3, 2021 at 8:35 pm #72194Member
dirkd
::The edition of runit antix 21 was specified in full — I think?? I did forget to mention the desktop: plain fluxbox.
I didn’t change any setting in antixcc/automount (see attached screenshot). These are the same settings as in Antix17.
I don’t ‘blame’ zzzFM, just saying there’s a connection. And sorry if I’m not exactly aware of the whole chain of processes involved when mounting a DVD or CD. When it ‘works’, in Antix17, I can change CD’s, DVD’s, they are unmounted and mounted in /media/sr0. In Antix21, this folder is not created automatically as happens when mounting a USB stick. If the folder is absent, I get an error message from Mount (2nd attachment). When I make the folder /media/sr0 myself (as root), I can insert a CD, DVD, just once, and it is mounted there correctly. After opening the tray, it won’t stay closed afterwards, so no optical disk can be mounted anymore.
These are the lines in /etc/fstab pertaining to the CD drive (where ‘mount’ ignores the options from):
/dev/cdrom /media/cdrom iso9660 noauto,exec,user,ro 0 0 /dev/sr0 /media/sr0 iso9660 noauto,exec,user,ro 0 0The CD-rom drive remains in this state, even after logoff/login. To mount another CD/DVD I need to disconnect it from the USB ports, or reboot. No idea what I could try to remedy this.
- This reply was modified 1 year, 5 months ago by dirkd.
- This reply was modified 1 year, 5 months ago by dirkd.
Attachments:
December 4, 2021 at 12:27 pm #72239Member
dirkd
::Some further observations on the problem
I can confirm the problem is not tied to my specifc hardware or Antix21 configuration. I repeat my call that someone tries to duplicate this problem. I know that few people still use CD/DVD drives, but I can’t me the only one with a detachable USB unit that runs Antix21. Even if he/she fails to duplicate it, it would still be helpful information for me.
I have here lying around a very old laptop (2006, pentium-M centrino, 1.5M ram) that I installed Runit Antix21 32bit (full) on, out of curiosity to see how well it handled video. It is basically a complete fresh install: nothing new installed, no changes in configuration, nothing. I just changed the default session to plain fluxbox, and the default filemanager to zzzFM.
The unit has a fixed CD-rom built in, that — I presume — is connected through an IDE interface. It behaves totally normal: I can insert and eject CD’s as much as I want, and these get mounted in /media/sr0.
When I connect the plugable CD/DVD to the USB ports, five new devices are created: /dev/sr1 and (/dev)/cdrom,/cdrw,/dvd,/dvdrw. The latter 4 are just links to /dev/sr1. Nothing unusual so far. I can insert 1 (one!) CD or DVD and this gets mounted in /media/cdrom (even when it is a DVD). I can read and open files on it with zzzFM quite normally. However, when I eject the disc (either from the zzzFM Devices menu, or by pushing the eject button on the device) a new disc cannot be inserted normally, but is ejected immediately, just the same way as on my main computer.
The optical drive is a ASUS CD/DVD/BluRay writer, that, until now, has never shown any quirks.
December 4, 2021 at 12:54 pm #72242MemberModdIt
::Just to be clear you have a plugin external drive, that information is very important,
also that you do not create a permanent mount point for it.
will try later what happens when I use a sata to USB interface and a spare full DVD drive.You do not mention unmounting, are you doing that before before removing the disk.
Bullseye is very different to old versions so no real help referring to that
December 4, 2021 at 1:57 pm #72248Member
Xecure
::Disable automount in the first image shared in this post.
Then reboot and try again to see if this issue continues when you manually mount or unmount from zzzfm.This way we can figure out if this issue is related to antiX’s automounting conflicting with zzzfm or if zzzfm itself doesn’t unmount properly when you disconnect the CD and later tries to mount in a busy mount point and fails.
antiX Live system enthusiast.
General Live Boot Parameters for antiX.December 4, 2021 at 4:25 pm #72258Member
dirkd
::@Xecure:
I did what you asked and could see right away nothing had changed. I rebooted with disconnected drive, then plugged it in, inserted a CD and couldn’t close the tray, even when I expected from past experience to be able to do so once. I disconnected the drive, closed the tray with the CD already in it, reconnected and it immediately automounted in /media/dd (dd is my username here). This folder already existed from previous experiments. Automounting was initiated by zzzFM, I guess, since in zzzFM’s ‘Devices>Settings>Auto mount’ menu, both ‘Mount optical’ and ‘Mount removable’ are enabled. Ejecting the CD again prevents me from closing the tray.
@Moddit:
I tried both ejecting the disc immediately and first unmounting it (from the right-click context menu when clicking sr0 in zzzFM’s list of devices) and then ejecting it. Both procedures lead to the same results.
I have hypothesized that the ‘Eject’ action never properly finishes, so that when the tray is closed, a new ‘Eject’ command is sent to the drive. Or that the drive doesn’t communicate its tray has been opened and that zzzFM keeps trying over and over again to open it. But I have no idea how to test this hypothesis.
- This reply was modified 1 year, 5 months ago by dirkd.
December 4, 2021 at 7:10 pm #72274MemberModdIt
::I tried both ejecting the disc immediately and first unmounting it (from the right-click context menu when clicking sr0 in zzzFM’s list of devices)
When I connect the plugable CD/DVD to the USB ports, five new devices are created: /dev/sr1 and (/dev)/cdrom,/cdrw,/dvd,/dvdrw. The latter 4 are just links to /dev/sr1.
you write the device is sr1, that is the one you must unmount not the internal drive sr0. which is hardware device.
Regarding drive designation as a floppy, aeons ago thre were things called floptical drives. They did, flop that is, I never saw one in a laptop but that might
be what you have as internal drive. I assume some might have been able to at least read cd.- This reply was modified 1 year, 5 months ago by ModdIt.
December 4, 2021 at 8:11 pm #72276Member
dirkd
::I’m sorry but I don’t understand what you are hinting at, and I think you have misunderstood my report of the experiment with that old laptop. I never talked about anything floppy related.
To be precize: my main desktop computer has no built-in CD- or DVD-drive. The time has long gone that I used these on a daily basis, and this way I have one more free sata connection on the motherboard for an extra hard disk. But I still need one occasionally, e.g. to rip a CD or DVD. That’s why I bought this plugable drive that connects to two USB ports with A-connectors on a Y-cable, or – alternatively – to a single USB-C connector. That’s the drive that is giving me problems.
The old laptop I told about does have a built in CD-writer (it doesn’t accept DVD’s, which is to be expected from 2006 hardware). That’s the /dev/sr0 one. When I connect the plugable one to it, Antix sees two optical drives, the old /dev/sr0 and a new one that is created at plugin time, /dev/sr1. Of course I unmounted sr1 when experimenting with the plugable drive! But I did also unmount sr0 in a first experiment when sr1 whas as yet unconnected. I had to make sure after all that the problem only occurs with the plugable drive, and not with *every* optical drive.
- This reply was modified 1 year, 5 months ago by dirkd.
December 4, 2021 at 8:44 pm #72279Member
Xecure
::Disable automounting of external and optical drives in zzzfm (Devices > Settings > Automount).
Then re-enable automount in Control Centre.Don’t mount CD’s in zzzfm and let them be mounted by the automounting tool.
Tomorrow I will fetch for an USB external DVD reader and test out this on antiX 21 runit. Hopefully I can figure something out.
antiX Live system enthusiast.
General Live Boot Parameters for antiX.December 4, 2021 at 8:52 pm #72280Member
dirkd
::I don’t know if this can help to pinpoint the precise diagnosis, but it occurred to me that maybe I should test my portable optical drive on MX21. After all, this is somewhat of a sister distro to Antix, and from what I gathered on fora here and there, uses many of the same tools as Antix. My hope was that my drive would work on MX, and that perhaps there are people here with detailed knowledge of both systems. They could then concentrate on what is done differently. Then maybe it’s useless, but there’s no harm in trying.
I haven’t installed MX21 (yet) on a physical system, but I have a virtual machine all ready for the task. I didn’t think it could ever work, but lo and behold, it does. Virtualbox runs (of course) on my main desktop machine. The VM runs 64bit MX21, with the same kernel as Antix21 on my main machine. I have to select the ‘Passthrough’ option to connect my physical (USB connected) optical drive to the IDE controller of the virtual machine. Then the communication passes directly from the VM to the optical drive, bypassing Antix. In that situation, I don’t see any problem with the drive. I can eject discs, and insert another one, which is automatically mounten (by Thunar is this case) and ready for use.
Here are the specs for the virtual machine, as reported by the ‘About…’ tool of MX.
(Had to remove that, forum software considered it spam)December 4, 2021 at 9:13 pm #72281Member
dirkd
::@Xecure:
Thanks for investigating. I did what you asked for. In fact, I had thought of switching the mounting agent myself, but I was still busy with my MX experiment then.
It seems the problem persists. In zzzFM, the only thing selected for the moment in ‘Devices>Settings>Auto Mount’ is ‘Open Tab’. When I insert a disk for the first time after connecting the drive, it is mounted automatically, in the same folder /media/dd as before. I presume, because of the Automount setting in AntiCC that I enabled again, as you asked. Ejecting the disk by pushing the button on the drive leads to the same problem again 🙁
Added on sunday:
The test with MX21 on a virtual machine is in fact not very informative: although the optical drive is connected via USB on the physical host, it is handled as built-in drive connected through IDE in the guest MX-OS. Today I tested with MX21-32bit-5.10 kernel on real hardware, a Compaq laptop about 10 years old. Although the handling of the detachable USB drive was not perfect, the problem discussed here does not occur, and discs can be freely inserted and ejected.Maybe MX21 is so totally different in the way it mounts USB devices that this test is irrelevant, but I thought I could as well mention it here, for what it’s worth.
- This reply was modified 1 year, 5 months ago by dirkd.
December 5, 2021 at 11:22 am #72310Member
Xecure
::NOTE: All experiments were done with a DVD containing data only. No tests were performed using Audio CDs.
No problems mounting in sr0 on my laptop (internal CD reader), but this was not your problem (just anecdotal info)
$ cat /etc/fstab | grep sr0 /dev/sr0 /media/sr0 auto noauto,users,exec,ro 0 0When connecting the external USB CD reader, I try mounting in spacefm and get this error:
udevil: /dev/sr1 is known to mount - running mount as current user udevil: warning 45: options ignored for device in fstab (or specify mount point) mount: /media/cdrom: wrong fs type, bad option, bad superblock on /dev/sr1, missing codepage or helper program, or other error.So udevil doesn’t seem to be able to mount CDs, so zzzfm/spacefm have problems.
Trying again, this time with antiX automount: Never automounts.
I checked my fstab:
$ cat /etc/fstab | grep sr1
Nothing inside. I create a custom fstab entry for sr1
/dev/sr1 /media/sr1 auto noauto,users,exec,ro 0 0And then try again to mount using zzzfm.
udevil: /dev/sr1 is known to mount - running mount as current user udevil: warning 45: options ignored for device in fstab (or specify mount point) mount: /media/sr1: mount point does not exist.I decide to create /media/sr1
sudo mkdir /media/sr1
and try to mount again in zzzfm: Mounts perfectly.Now I try to unmount and eject from zzzfm: All works. And inserting the DVD again works and it doesn’t spit it out.
antiX Live system enthusiast.
General Live Boot Parameters for antiX.December 5, 2021 at 11:36 am #72311Member
Xecure
::NOTE: Experiment with a audio CD.
On sr0 (internal CD reader), trying to mount manually with zzzfm:
udevil: /dev/sr0 is known to mount - running mount as current user udevil: warning 45: options ignored for device in fstab (or specify mount point) mount: /media/sr0: can't read superblock on /dev/sr0.It seems to be the issue you reported before, so this only seems to happen for Audio CD media. I will investigate to see what this “can’t read superblock on /dev/sr0” means.
antiX Live system enthusiast.
General Live Boot Parameters for antiX. -
AuthorPosts
- The topic ‘cd/dvd/bluray drive tray cannot be closed solved’ is closed to new replies.

