Re: CD-drive blocked after successless mounting
On Thu, Oct 19, 2000 at 11:53:09PM +0200, Andreas Hetzmannseder wrote : Well, that's funny: CD remains in jail again :) I checked /proc/sys/dev/cdrom/lock: It did contain '0' (zero). I have kernel 2.2.17 (potato). Since you have a fairly new kernel and you are talking about IDE cdrom, try contacting Jens Axboe, current IDE cdrom driver maintainer; maybe he knows a quickfast solution. kind regards, Markus -- Markus Fischer, http://josefine.ben.tuwien.ac.at/~mfischer/ EMail: [EMAIL PROTECTED] PGP Public Key: http://josefine.ben.tuwien.ac.at/~mfischer/C2272BD0.asc PGP Fingerprint: D3B0 DD4F E12B F911 3CE1 C2B5 D674 B445 C227 2BD0 -Today's methinks: Combine easy of vb and strength of perl-
Re: CD-drive blocked after successless mounting
Chris Gray wrote: [...] Try # echo 0 /proc/sys/dev/cdrom/lock as root. Cheers, Chris P.S.: This works for me, but I have a 2.4.0-testX kernel, so YMMV. [...] Well, that's funny: CD remains in jail again :) I checked /proc/sys/dev/cdrom/lock: It did contain '0' (zero). I have kernel 2.2.17 (potato). Thanks very much, anyway. Cheers, Andreas.
Re: CD-drive blocked after successless mounting
Jason Lunz schrieb: [...] I've seen it happen where the gnome panel CD player somehow locked the tray when you put in a non-audio disc, and only its eject button would work. Try using it, or killing it and using something else. [...] I haven't got X installed yet. Regards, Andreas.
Re: CD-drive blocked after successless mounting
On Wed, Oct 18, 2000 at 09:22:14AM +0200, Andreas Hetzmannseder wrote: Jason Lunz schrieb: [...] I've seen it happen where the gnome panel CD player somehow locked the tray when you put in a non-audio disc, and only its eject button would work. Try using it, or killing it and using something else. [...] I haven't got X installed yet. Try # echo 0 /proc/sys/dev/cdrom/lock as root. Cheers, Chris P.S.: This works for me, but I have a 2.4.0-testX kernel, so YMMV. -- It is much easier to be critical than to be correct. -- Benjamin Disraeli
CD-drive blocked after successless mounting
Hello, debian-users! I have two CD-drives: one for regular use and one for additional writing. I have been experiencing problems, when I tried to read burned CDs in the regular drive - well, that wouldn't matter much to me, but I wanted to try it out anyway. Here is what happened: $ mount /cdrom [... lots of error messages ...] mount: I could not determine the filesystem type, and none was specified So I pressed the eject key but it was blocked. I typed 'umount /cdrom' but it told me that cdrom was not mounted. So I was left with the CD stuck in the wrong drive, which was neither mounted nor unmounted... Of course a reboot would always help me out, but is there another way to unlock a CD-drive? If anyone knows one, please let me know. Thanks in advance, Andreas.
Re: CD-drive blocked after successless mounting
Try /usr/bin/eject /cdrom or /dev/hd?. On Mon, 16 Oct 2000 18:47:23 +0200, Andreas Hetzmannseder said: Hello, debian-users! I have two CD-drives: one for regular use and one for additional writing. I have been experiencing problems, when I tried to read burned CDs in the regular drive - well, that wouldn't matter much to me, but I wanted to try it out anyway. Here is what happened: $ mount /cdrom [... lots of error messages ...] mount: I could not determine the filesystem type, and none was specified So I pressed the eject key but it was blocked. I typed 'umount /cdrom' but it told me that cdrom was not mounted. So I was left with the CD stuck in the wrong drive, which was neither mounted nor unmounted... Of course a reboot would always help me out, but is there another way to unlock a CD-drive? If anyone knows one, please let me know. Thanks in advance, Andreas. -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null -- gEEk||dOOd^Deb+ianXFce$everything goesPronto(-_-)
Re: CD-drive blocked after successless mounting
mike wrote: Try /usr/bin/eject /cdrom or /dev/hd?. I did so, but with no success :( I think the problem is, that the CD remains in a twilight status: neither mounted nor unmounted. Thank you very much anyway. Andreas. On Mon, 16 Oct 2000 18:47:23 +0200, Andreas Hetzmannseder said: Hello, debian-users! I have two CD-drives: one for regular use and one for additional writing. I have been experiencing problems, when I tried to read burned CDs in the regular drive - well, that wouldn't matter much to me, but I wanted to try it out anyway. Here is what happened: $ mount /cdrom [... lots of error messages ...] mount: I could not determine the filesystem type, and none was specified So I pressed the eject key but it was blocked. I typed 'umount /cdrom' but it told me that cdrom was not mounted. So I was left with the CD stuck in the wrong drive, which was neither mounted nor unmounted... Of course a reboot would always help me out, but is there another way to unlock a CD-drive? If anyone knows one, please let me know. Thanks in advance, Andreas. -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null -- gEEk||dOOd^Deb+ianXFce$everything goesProX-Mozilla-Status: 0009e Oct 17 01:23:47 2000 X-Mozilla-Status: 0801 X-Mozilla-Status2: FCC: /C|/Programme/Netscape/Users/mailempfang/mail/Sent Message-ID: [EMAIL PROTECTED] Date: Tue, 17 Oct 2000 01:23:47 +0200 From: Andreas Hetzmannseder [EMAIL PROTECTED] X-Mozilla-Draft-Info: internal/draft; vcard=0; receipt=0; uuencode=0; html=0; linewidth=0 X-Mailer: Mozilla 4.73 [de]C-CCK-MCD QXW0324c (Win95; U) X-Accept-Language: de,en MIME-Version: 1.0 To: Kasatenko Ivan Alex. [EMAIL PROTECTED] CC: debian-user@lists.debian.org Subject: Re: Problem with '/etc/shutdown.allow' References: [EMAIL PROTECTED] [EMAIL PROTECTED] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Kasatenko Ivan Alex. wrote: Hello Andreas, Monday, October 16, 2000, 8:26:20 PM, you wrote: AH There are two users on my debian system, who I want to be able to reboot AH and halt without being root. For this purpose I created AH /etc/shutdown.allow with the corresponding user names. Now when I press AH Ctrl-Alt-Del the system will reboot as expected - although I have to be AH logged in as a qualified user, according to shutdown.allow. When you press Ctrl+Alt+Del, init(1) gets it and executes reboot sequence, afaik. So, the only right way in this situation is to disable Ctrl+Alt+Del at all. Sorry, Ivan, I didn't make this very clear. I *do* want to use Ctrl-Alt-Del. I just wanted to point out that it is behaving differently, since I have '/etc/shutdown.allow'. Now I have to be logged in at least as a normal user - that wasn't the case before... AH [...] However when I attempt to type 'shutdown -a -r now' or AH 'shutdown -a -h now' by myself, it says 'shutdown: command not found'. AH I still have to be root in this case. Add /usr/sbin into your path with: export PATH=$PATH:/usr/sbin in BASH, if I'm not mistaken. :) Actually 'shutdown' is in /sbin - so I added /sbin to my path... Everything should work. Now when I type 'shutdown -a -h now' it still tells me, I have to be root. It looks like I have to set a SUID-flag. But I would prefer a better solution. Otherwise: What would 'shutdown.allow' bX-MoX-Mozilla-Status: 0009ery much, anyway. Best regards, Andreas.
Re: CD-drive blocked after successless mounting
In article [EMAIL PROTECTED], Andreas Hetzmannseder wrote: I think the problem is, that the CD remains in a twilight status: neither mounted nor unmounted. I've seen it happen where the gnome panel CD player somehow locked the tray when you put in a non-audio disc, and only its eject button would work. Try using it, or killing it and using something else. Jason